/****************************************************
 * HOLYFLOW GÄSTEBUCH – WALL OF LIGHT 2025
 * Warm • Sakral • Timeline mit Lichtspur
 ****************************************************/

/* ---------------------------
   Grundhintergrund & Wrapper
---------------------------- */

.gb-shell {
    --bg-top: #faf6ef;
    --bg-bottom: #f1e3d3;
    --card: #ffffff;
    --line: #e2d3c0;
    --accent: #c89b55;
    --accent-soft: #fff3dd;
    --text: #2c2620;
    --muted: #8c8177;

    padding: 80px 0 120px;
    background:
        radial-gradient(circle at 0 0, rgba(255,255,255,0.9), transparent 55%),
        radial-gradient(circle at 100% 0, rgba(255,255,255,0.8), transparent 55%),
        linear-gradient(var(--bg-top), var(--bg-bottom));
    font-family: inherit;
}

/* Karten-Grundlayout (Hero + Formular) */

.gb-hero-card,
.gb-card,
.gb-wall-card {
    max-width: 1050px;
    margin: 0 auto 40px;
    background: var(--card);
    border-radius: 28px;
    border: 1px solid rgba(226,213,195,0.9);
    box-shadow: 0 18px 40px rgba(0,0,0,0.06);
}

.gb-hero-inner,
.gb-card-inner,
.gb-wall-inner {
    padding: 52px 60px 56px;
}

/* ---------------------------
   HERO: Titel & Vers
---------------------------- */

.gb-hero-title-wrap {
    text-align: center;
    margin-bottom: 24px;
    position: relative;
}

.gb-hero-title-wrap::before,
.gb-hero-title-wrap::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 28%;
    height: 1px;
    background: #d7c6b2;
    opacity: 0.6;
}

.gb-hero-title-wrap::before { left: 0; }
.gb-hero-title-wrap::after  { right: 0; }

.gb-hero-title-wrap h1 {
    display: inline-block;
    padding: 0 30px;
    background: var(--card);
    font-size: clamp(32px, 4vw, 46px);
    margin: 0;
    font-weight: 750;
    color: var(--text);
}

.gb-hero-verse {
    text-align: center;
    font-style: italic;
    color: #6d5f4a;
    margin: 10px auto 6px;
}

.gb-hero-verse-ref {
    display: block;
    font-size: 13px;
    margin-top: 4px;
    color: #9b8f7d;
}

.gb-hero-intro {
    max-width: 720px;
    margin: 20px auto 4px;
    text-align: center;
    font-size: 16px;
    line-height: 1.7;
    color: #4d4740;
}

.gb-hero-sub {
    text-align: center;
    margin-top: 10px;
    font-weight: 600;
    color: #5a5141;
}

/* Icon-Reihe */

.gb-icon-row {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin: 20px 0 6px;
    flex-wrap: wrap;
}

.gb-icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 13px;
    color: #6c6253;
}

.gb-icon {
    font-size: 22px;
    margin-bottom: 4px;
}

.gb-icon-label {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 11px;
}

/* ---------------------------
   Formular
---------------------------- */

.gb-section-title {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 4px;
    color: var(--text);
}

.gb-section-sub {
    margin: 0 0 22px;
    color: var(--muted);
    font-size: 14px;
}

.gb-field-row {
    margin-bottom: 16px;
}

.gb-field-row label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    color: #4b433b;
}

.gb-field-row input,
.gb-field-row textarea {
    width: 100%;
    border-radius: 10px;
    border: 1px solid #e3d9c9;
    padding: 10px 12px;
    font-size: 15px;
    background: #faf6ef;
}

.gb-field-row textarea {
    min-height: 120px;
}

.gb-field-row input:focus,
.gb-field-row textarea:focus {
    outline: none;
    border-color: #d7b682;
    box-shadow: 0 0 0 1px rgba(215,182,130,0.4);
    background: #fff;
}

/* Formular-Submit */

.gb-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    padding: 10px 24px;
    border-radius: 999px;
    background: linear-gradient(135deg, #f5b557, #f0a53b);
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(240,165,59,0.45);
    transition: transform 0.1s ease-out, box-shadow 0.1s ease-out;
}

.gb-submit-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 9px 24px rgba(240,165,59,0.6);
}

.gb-feedback {
    margin-top: 10px;
    font-size: 13px;
    color: #8a5a2e;
}

/* ---------------------------
   WALL OF LIGHT – Timeline
---------------------------- */

.gb-wall-card {
    background: transparent;
    box-shadow: none;
}

.gb-wall-inner {
    max-width: 1050px;
    margin: 0 auto;
    background: linear-gradient(
        to bottom,
        rgba(255,255,255,0.96),
        rgba(255,255,255,0.92)
    );
    border-radius: 28px;
    border: 1px solid rgba(230,217,199,0.9);
    box-shadow: 0 18px 40px rgba(0,0,0,0.08);
    padding: 40px 60px 46px;
    position: relative;
    overflow: hidden;
}

/* sanfter Lichtschimmer im Hintergrund */
.gb-wall-inner::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 10% 0, rgba(255,240,210,0.45), transparent 55%),
        radial-gradient(circle at 90% 20%, rgba(217,235,255,0.35), transparent 55%);
    opacity: 0.95;
    pointer-events: none;
}

/* Inhalt über dem Glow platzieren */
.gb-wall-inner > * {
    position: relative;
    z-index: 1;
}

/* Header über Timeline */

.gb-wall-header {
    margin-bottom: 18px;
}

/* Timeline-Container */

.gb-timeline {
    position: relative;
    max-width: 850px;
    margin: 24px auto 0;
    padding: 10px 0 10px 56px;
}

/* Vertikale Lichtspur */

.gb-timeline::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 24px;
    width: 2px;
    background: linear-gradient(
        to bottom,
        rgba(199,164,108,0.55),
        rgba(199,164,108,0.05)
    );
    box-shadow: 0 0 14px rgba(255,220,162,0.6);
}

/* ---------------------------
   Einzelner Eintrag (Node)
---------------------------- */

.gb-entry {
    position: relative;
    margin-bottom: 34px;
    padding-bottom: 8px;
}

/* Goldener Pin */

.gb-entry::before {
    content: "";
    position: absolute;
    left: 16px;
    top: 32px;
    width: 16px;
    height: 16px;
    border-radius: 999px;
    background: radial-gradient(circle, #ffffff 40%, #f7e1ba 100%);
    border: 2px solid #c7a46c;
    box-shadow:
        0 0 4px rgba(199,164,108,0.45),
        0 0 8px rgba(199,164,108,0.3),
        0 2px 6px rgba(0,0,0,0.16);
}

/* Schwebende Karte */

.gb-entry-main {
    margin-left: 32px;
    background: rgba(255,255,255,0.96);
    border-radius: 22px;
    padding: 20px 22px;
    box-shadow:
        0 12px 28px rgba(0,0,0,0.08),
        0 1px 2px rgba(0,0,0,0.05);
    border: 1px solid rgba(240,226,208,0.9);
    display: flex;
    align-items: flex-start;
    gap: 18px;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.gb-entry-main:hover {
    transform: translateY(-2px);
    box-shadow:
        0 18px 38px rgba(0,0,0,0.12),
        0 3px 6px rgba(0,0,0,0.06);
}

/* Avatar */

.gb-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    color: #fff;
    flex-shrink: 0;
    box-shadow:
        0 6px 16px rgba(0,0,0,0.18),
        inset 0 0 0 1px rgba(255,255,255,0.7);
}

.gb-avatar-color-0 { background: #7bb7ce; }
.gb-avatar-color-1 { background: #c58bb0; }
.gb-avatar-color-2 { background: #88b77a; }
.gb-avatar-color-3 { background: #d6a15b; }
.gb-avatar-color-4 { background: #b488df; }

/* Textblock */

.gb-entry-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

/* Header mit Name + Datum */

.gb-entry-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.gb-entry-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.gb-name {
    font-size: 16px;
    font-weight: 700;
    color: #2a2825;
}

.gb-date {
    font-size: 13px;
    color: #8c877e;
}

/* Nachrichtentext */

.gb-message {
    font-size: 15px;
    line-height: 1.6;
    color: #3b3732;
}

/* ---------------------------
   Kerzen-Like Button
---------------------------- */

.gb-entry-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.gb-like {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f9f4eb;
    border: 1px solid rgba(199,164,108,0.55);
    padding: 4px 12px;
    border-radius: 999px;
    color: #7c694d;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background .15s ease, border-color .15s ease, transform .1s ease;
}

.gb-like:hover {
    background: #f3ecde;
    transform: translateY(-1px);
}

.gb-like.gb-liked {
    background: #e9d8b9;
    border-color: #c7a46c;
    color: #5c472e;
}

.gb-like .gb-heart {
    font-size: 15px;
    filter: drop-shadow(0 0 2px rgba(240,170,80,0.6));
}

.gb-like-count {
    min-width: 16px;
    text-align: center;
}

/* kein blaues Fokus-Highlight */

.gb-like,
.gb-like:focus,
.gb-like:active {
    outline: none !important;
    box-shadow: none !important;
}

/* ---------------------------
   „Keine Einträge“-Text
---------------------------- */

.gb-no-entries {
    margin-top: 10px;
    font-size: 14px;
    color: var(--muted);
    font-style: italic;
}

/* ---------------------------
   Responsive
---------------------------- */

@media (max-width: 900px) {
    .gb-hero-inner,
    .gb-card-inner,
    .gb-wall-inner {
        padding: 32px 22px 34px;
    }
}

@media (max-width: 640px) {
    .gb-timeline {
        padding-left: 40px;
    }

    .gb-timeline::before {
        left: 20px;
    }

    .gb-entry::before {
        left: 12px;
    }

    .gb-entry-main {
        margin-left: 24px;
        padding: 18px 16px;
        gap: 14px;
    }

    .gb-entry-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .gb-entry-actions {
        align-self: flex-start;
    }
}
/* ICON-ROW – perfekte horizontale Ausrichtung */
.gb-icon-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;                 /* gleicher Abstand zwischen Icons */
    margin: 30px auto 20px;
    flex-wrap: wrap;           /* responsive für Handy */
}

/* ICON-ITEM */
.gb-icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* ICON selbst */
.gb-ico {
    font-size: 32px;
    line-height: 1;
    margin-bottom: 6px;
}

/* Label unter dem Icon */
.gb-ico-label {
    font-size: 13px;
    font-weight: 650;
    letter-spacing: 0.05em;
    color: #6b5842;
    text-transform: uppercase;
}

/* RESPONSIVE – bei schmalen Displays */
@media (max-width: 640px) {
    .gb-icon-row {
        gap: 30px;
    }
    .gb-ico {
        font-size: 28px;
    }
}
