/* ============================================================
   LEOPOLDSKRON-MOOS – CHRONIK WEBSITE
   Buchprojekt 2026 · Verein Stadtteilentwicklung
   Design: Warm · Historisch · Editorial · Elegant
   ============================================================ */

/* --- CUSTOM PROPERTIES ------------------------------------ */
:root {
    --creme:        #FAF7F2;
    --creme-alt:    #F2EBE0;       /* Dunklere Creme für Alternierung */
    --white:        #FFFFFF;
    --green:        #2F4A38;       /* Tief, gedeckt, moosgrün – Hauptfarbe */
    --green-mid:    #4A6B55;       /* Hover-States */
    --green-light:  #4A6B55;
    --green-hell:   #E5EDE8;
    --terra:        #7D4A28;       /* Wärmeres, edleres Sienna */
    --terra-light:  #9E6035;
    --gold:         #B8944C;       /* Antikgold – Editorial-Akzent */
    --gold-light:   #D4AD6E;
    --dark:         #181818;
    --text:         #282828;
    --text-muted:   #888888;
    --border:       rgba(47, 74, 56, 0.13);
    --border-warm:  rgba(125, 74, 40, 0.18);

    --font-head:    'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-body:    'Source Serif 4', Georgia, serif;

    --shadow-sm:    0 2px 12px rgba(0,0,0,0.06);
    --shadow-md:    0 6px 32px rgba(0,0,0,0.10);
    --shadow-lg:    0 18px 60px rgba(0,0,0,0.15);
    --shadow-book:  6px 10px 40px rgba(0,0,0,0.30), 1px 2px 8px rgba(0,0,0,0.12);

    --radius:       3px;
    --ease:         0.28s ease;
    --max-w:        1160px;
}

/* --- RESET ------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--creme);
    line-height: 1.78;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--terra); text-decoration: none; transition: color var(--ease); }
a:hover { color: var(--terra-light); }

ul, ol { list-style: none; }

/* --- TYPOGRAPHY ------------------------------------------- */
h1, h2, h3, h4 {
    font-family: var(--font-head);
    line-height: 1.18;
    color: var(--green);
}

h1 { font-size: clamp(2.6rem, 6vw, 5rem);    font-weight: 700; }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.8rem); font-weight: 600; margin-bottom: 1.4rem; }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.75rem); font-weight: 600; margin-bottom: 1rem; }

p { margin-bottom: 1.2rem; font-size: 1.05rem; }
p:last-child { margin-bottom: 0; }

strong { font-weight: 600; }

/* --- LAYOUT ----------------------------------------------- */
.container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 2rem;
}

.section { padding: 100px 0; }

.section-white  { background: var(--white); }
.section-creme  { background: var(--creme); }
.section-green  { background: var(--green); }
.section-green h2,
.section-green h3,
.section-green p { color: var(--white); }

/* Two-column grid */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
}
.grid-align-center { align-items: center; }
.grid-align-start  { align-items: start; }

/* Book grid: narrower cover column */
.grid-book {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 64px;
    align-items: start;
}

/* Content section grid: chapters wider */
.grid-content {
    grid-template-columns: 5fr 6fr;
    gap: 56px;
    align-items: start;
}

.section-title-centered {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--terra);
}

/* --- SCROLL FADE-IN --------------------------------------- */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- ORNAMENTAL DIVIDER ----------------------------------- */
.section-ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 2.8rem 0;
}
.section-ornament .orn-line {
    flex: 1;
    max-width: 100px;
    height: 1px;
    background: var(--border-warm);
}
.section-ornament .orn-symbol {
    font-family: var(--font-head);
    font-size: 0.65rem;
    color: var(--gold);
    letter-spacing: 0.3em;
}

/* --- NAVIGATION ------------------------------------------- */
#navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 900;
    padding: 22px 0;
    transition: background var(--ease), padding var(--ease), box-shadow var(--ease);
}

#navbar.scrolled {
    background: rgba(250, 247, 242, 0.97);
    padding: 13px 0;
    box-shadow: 0 1px 0 var(--border), 0 4px 24px rgba(0,0,0,0.06);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.nav-container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-family: var(--font-head);
    font-size: 1.2rem;
    font-weight: 600;
    color: white;
    letter-spacing: 0.01em;
    transition: color var(--ease);
}
#navbar.scrolled .nav-logo { color: var(--green); }

.nav-menu {
    display: flex;
    gap: 2.2rem;
    align-items: center;
}

.nav-menu a {
    font-family: var(--font-body);
    font-size: 0.88rem;
    color: rgba(255,255,255,0.85);
    letter-spacing: 0.05em;
    padding-bottom: 3px;
    border-bottom: 1px solid transparent;
    transition: color var(--ease), border-color var(--ease);
}
.nav-menu a:hover {
    color: white;
    border-bottom-color: rgba(255,255,255,0.55);
}

#navbar.scrolled .nav-menu a { color: var(--text); }
#navbar.scrolled .nav-menu a:hover {
    color: var(--terra);
    border-bottom-color: var(--gold);
}

/* Mobile hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}
.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: white;
    border-radius: 2px;
    transition: var(--ease);
}
#navbar.scrolled .nav-toggle span { background: var(--green); }

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --- HERO ------------------------------------------------- */
.hero {
    position: relative;
    height: 100vh;
    min-height: 620px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--green);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('../bilder/1_titelseite.webp');
    background-size: cover;
    background-position: top center;
    background-attachment: fixed;
    z-index: 0;
}

@media (max-width: 768px) {
    .hero-bg { background-attachment: scroll; }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.28) 0%,
        rgba(0,0,0,0.45) 60%,
        rgba(0,0,0,0.58) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 2rem;
    max-width: 860px;
    margin-top: 6vh;
}

.hero-label {
    font-family: var(--font-body);
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(250,247,242,0.82);
    margin-bottom: 1.4rem;
    opacity: 0;
}

.hero-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(184,148,76,0.7), transparent);
    margin: 0 auto 1.8rem;
    width: 0;
}

.hero-title {
    color: white;
    text-shadow: 0 2px 24px rgba(0,0,0,0.45);
    margin-bottom: 0.4rem;
    letter-spacing: 0.01em;
    position: relative;
    overflow: hidden;
    opacity: 0;
}

.hero-subtitle {
    font-family: var(--font-head);
    font-size: clamp(1.5rem, 3vw, 2.4rem);
    font-style: italic;
    color: rgba(255,255,255,0.93);
    margin-bottom: 0.75rem;
    opacity: 0;
}

.hero-tagline {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.68);
    letter-spacing: 0.07em;
    margin-bottom: 2.6rem;
    opacity: 0;
}

.hero-btn {
    display: inline-block;
    opacity: 0;
}

.hero-btn-img {
    max-width: 150px;
    margin: 0 auto;
    filter: drop-shadow(0 4px 18px rgba(0,0,0,0.35));
    transition: filter 0.3s ease;
}
.hero-btn-img:hover {
    filter: drop-shadow(0 6px 24px rgba(0,0,0,0.5));
}

.hero-btn-fallback {
    display: none;
    padding: 0.85rem 2.4rem;
    background: var(--terra);
    color: white;
    font-family: var(--font-head);
    font-size: 1.05rem;
    border-radius: var(--radius);
    letter-spacing: 0.04em;
    box-shadow: 0 4px 18px rgba(0,0,0,0.35);
}
.hero-btn:hover .hero-btn-fallback { background: var(--terra-light); }

.scroll-arrow {
    position: absolute;
    bottom: 38px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: white;
    opacity: 0;
}


/* ============================================================
   HERO – ANIMATIONEN
   ============================================================ */
@keyframes gentleFade {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

.hero-bg {
    animation: bgReveal 3s ease-out 0s forwards;
}

@keyframes bgReveal {
    from { filter: blur(8px); transform: scale(1.05); }
    to   { filter: blur(0px); transform: scale(1.0); }
}

.hero-label {
    animation: gentleFade 1.4s ease-out 1.0s forwards;
}

.hero-divider {
    animation: lineGrow 1.2s ease-out 2.0s forwards;
}

@keyframes lineGrow {
    from { width: 0; }
    to   { width: min(40vw, 420px); }
}

.hero-title {
    animation: gentleFade 1.4s ease-out 2.8s forwards;
}

.hero-title::after {
    content: '';
    position: absolute;
    top: -20%;
    left: -120%;
    width: 50%;
    height: 140%;
    background: linear-gradient(
        100deg,
        transparent   25%,
        rgba(255,255,255,0.10) 50%,
        transparent   75%
    );
    transform: skewX(-20deg);
    pointer-events: none;
    animation: shimmer 2.5s linear 7.0s forwards;
    opacity: 0;
}

@keyframes shimmer {
    0%   { left: -120%; opacity: 1; }
    100% { left: 140%;  opacity: 1; }
}

.hero-subtitle {
    animation: gentleFade 1.4s ease-out 3.8s forwards;
}

.hero-tagline {
    animation: gentleFade 1.4s ease-out 4.4s forwards;
}

.hero-btn {
    animation: btnFade 1.4s ease-out 5.2s forwards;
}

@keyframes btnFade {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.scroll-arrow {
    animation:
        arrowFadeIn  1.0s ease-out  6.0s forwards,
        arrowBounce  2.0s ease-in-out 7.0s infinite;
}

@keyframes arrowFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes arrowBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%       { transform: translateX(-50%) translateY(6px); }
}


/* --- PREFERS-REDUCED-MOTION ------------------------------- */
@media (prefers-reduced-motion: reduce) {
    .hero-bg          { animation: none; filter: none; transform: none; }
    .hero-label       { animation: none; opacity: 1; transform: none; }
    .hero-divider     { animation: none; width: min(40vw, 420px); }
    .hero-title       { animation: none; opacity: 1; transform: none; }
    .hero-title::after { display: none; }
    .hero-subtitle    { animation: none; opacity: 1; transform: none; }
    .hero-tagline     { animation: none; opacity: 1; transform: none; }
    .hero-btn         { animation: none; opacity: 1; }
    .scroll-arrow     { animation: none; opacity: 1; }
}


/* --- SECTION 1: WILLKOMMEN ------------------------------- */
.welcome-text h2 { color: var(--terra); }

/* Editorial Drop Cap */
.welcome-text p:first-of-type::first-letter {
    font-family: var(--font-head);
    font-size: 4em;
    font-weight: 700;
    color: var(--terra);
    float: left;
    line-height: 0.78;
    padding-right: 0.1em;
    padding-top: 0.05em;
    margin-bottom: -0.1em;
}

.welcome-signature {
    margin-top: 1.8rem;
    padding-top: 1.2rem;
    border-top: 1px solid var(--border-warm);
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.65;
}

.welcome-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-25jahre {
    max-width: 300px;
    width: 100%;
    margin: 0 auto;
    transition: transform 0.3s ease, filter 0.3s ease;
}
.btn-25jahre:hover {
    transform: scale(1.04);
    filter: drop-shadow(0 8px 24px rgba(125,74,40,0.25));
}

/* Fallback circle badge */
.btn-25jahre-fallback {
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: var(--terra);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1.5rem;
    margin: 0 auto;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease;
}
a:hover .btn-25jahre-fallback { transform: scale(1.04); }

.fallback-years {
    font-family: var(--font-head);
    font-size: 4rem;
    font-weight: 700;
    color: white;
    line-height: 1;
}
.fallback-text {
    font-family: var(--font-head);
    font-size: 1.4rem;
    font-weight: 600;
    color: rgba(255,255,255,0.9);
    margin-bottom: 0.5rem;
}
.fallback-sub {
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    color: rgba(255,255,255,0.72);
    text-transform: uppercase;
    line-height: 1.5;
}


/* --- SECTION 2: DAS BUCH --------------------------------- */
.book-cover-wrapper {
    position: sticky;
    top: 100px;
}

.book-cover {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow-book);
    transition: transform 0.45s ease, box-shadow 0.45s ease;
}
.book-cover:hover {
    transform: translateY(-8px) rotate(0.6deg);
    box-shadow: 10px 20px 56px rgba(0,0,0,0.34), 1px 2px 10px rgba(0,0,0,0.14);
}

.book-cover-placeholder {
    width: 100%;
    aspect-ratio: 3/4;
    background: linear-gradient(135deg, #d4cdc4 0%, #c4bdb4 100%);
    border-radius: var(--radius);
    box-shadow: var(--shadow-book);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    gap: 0.5rem;
    text-align: center;
    padding: 1rem;
}

/* Editorial pull-quote subheading */
.book-subheading {
    font-family: var(--font-head);
    font-size: 1.12rem;
    font-style: italic;
    color: var(--terra);
    margin-bottom: 1.6rem;
    line-height: 1.6;
    padding-left: 1.2rem;
    border-left: 3px solid var(--gold);
}

/* Buchdetails-Box */
.book-details {
    margin-top: 2rem;
    background: var(--green);
    border-radius: var(--radius);
    padding: 1.6rem 1.8rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    border-left: 4px solid var(--gold);
}

.book-detail-row {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    color: rgba(255,255,255,0.88);
    font-size: 0.95rem;
}

.detail-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: var(--gold-light);
}


/* --- SECTION 3: AUS DEM INHALT --------------------------- */
.chapters { display: flex; flex-direction: column; }

.chapters li {
    display: flex;
    align-items: center;
    gap: 1.1rem;
    padding: 0.9rem 0.6rem;
    border-bottom: 1px solid var(--border);
    transition: background var(--ease), padding-left var(--ease), border-color var(--ease);
    cursor: default;
    position: relative;
}
.chapters li:first-child { border-top: 1px solid var(--border); }
.chapters li:hover {
    background: rgba(184, 148, 76, 0.06);
    padding-left: 1rem;
    border-bottom-color: rgba(184, 148, 76, 0.3);
}

/* Akzentlinie links beim Hover */
.chapters li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    bottom: 4px;
    width: 2px;
    background: var(--gold);
    transform: scaleY(0);
    transform-origin: center;
    transition: transform 0.22s ease;
    border-radius: 1px;
}
.chapters li:hover::before { transform: scaleY(1); }

.chapter-num {
    font-family: var(--font-head);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--terra);
    opacity: 0.4;
    min-width: 38px;
    line-height: 1;
    transition: opacity var(--ease), color var(--ease);
}
.chapters li:hover .chapter-num {
    opacity: 0.75;
    color: var(--gold);
}

.chapter-name {
    font-size: 1rem;
    color: var(--text);
    line-height: 1.4;
}

/* Gallery: 3-column grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
    border-radius: var(--radius);
    overflow: hidden;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4/3;
    background: #ddd6cc;
}

.gallery-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #e4ddd5 0%, #d0c8be 100%);
}

.gallery-item img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    z-index: 2;
    background: linear-gradient(transparent, rgba(0,0,0,0.78));
    padding: 2rem 0.8rem 0.8rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.gallery-overlay p {
    color: white;
    font-size: 0.72rem;
    margin: 0;
    line-height: 1.4;
    letter-spacing: 0.02em;
}

.gallery-item:hover img            { transform: scale(1.08); }
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-item:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 2px;
}


/* --- SECTION 4: BESTELLUNG ------------------------------- */

/* Hintergrund mit subtiler Struktur */
.section-green {
    background: var(--green);
    position: relative;
}
.section-green::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(
        -45deg,
        transparent,
        transparent 40px,
        rgba(255,255,255,0.012) 40px,
        rgba(255,255,255,0.012) 41px
    );
    pointer-events: none;
}

.order-centered {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.order-title {
    color: white;
    font-size: clamp(1.9rem, 3.5vw, 2.8rem);
    font-weight: 600;
    margin-bottom: 2.6rem;
}

.price-strip {
    border-top:    1px solid rgba(184,148,76,0.4);
    border-bottom: 1px solid rgba(184,148,76,0.4);
    padding: 2.2rem 0;
    margin-bottom: 2.6rem;
}

.price-strip-label {
    font-size: 0.76rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(250,247,242,0.60);
    margin-bottom: 0.6rem;
}

.price-strip-amount {
    font-family: var(--font-head);
    font-size: 5.5rem;
    font-weight: 700;
    color: #FAF7F2;
    line-height: 1;
    margin-bottom: 0.2rem;
    letter-spacing: -0.02em;
}

.price-strip-unit {
    font-size: 0.9rem;
    color: rgba(250,247,242,0.65);
    margin-bottom: 0.8rem;
    letter-spacing: 0.04em;
}

.price-strip-regular {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.38);
    margin: 0;
}

.order-ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2.6rem;
}

.ornament-line {
    flex: 1;
    max-width: 120px;
    height: 1px;
    background: rgba(184,148,76,0.35);
}

.ornament-symbol {
    color: var(--gold);
    font-size: 0.65rem;
    line-height: 1;
    letter-spacing: 0.2em;
}

.order-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
    margin-bottom: 2rem;
    text-align: left;
}

.order-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(184,148,76,0.22);
    border-radius: var(--radius);
    padding: 1.8rem;
    transition: background var(--ease), border-color var(--ease);
}
.order-card:hover {
    background: rgba(255,255,255,0.09);
    border-color: rgba(184,148,76,0.4);
}

.card-icon {
    width: 22px;
    height: 22px;
    color: var(--gold-light);
    margin-bottom: 0.9rem;
    stroke: currentColor;
}

.card-label {
    font-size: 0.70rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 0.7rem;
    font-weight: 600;
}

.card-text {
    font-size: 0.97rem;
    color: rgba(255,255,255,0.88);
    line-height: 1.68;
    margin-bottom: 0.7rem;
}
.card-text strong { color: white; font-weight: 600; }

.card-iban {
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.96rem;
    color: white;
    letter-spacing: 0.08em;
    margin: 0;
}

.card-note {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.45);
    font-style: italic;
    margin: 0;
}

.order-footnote {
    font-size: 0.85rem;
    font-style: italic;
    color: rgba(255,255,255,0.42);
    margin: 0;
}

@media (max-width: 600px) {
    .order-cards { grid-template-columns: 1fr; }
    .price-strip-amount { font-size: 4rem; }
}


/* --- SECTION 5: KONTAKT ---------------------------------- */
.contact-info h2 { color: var(--terra); margin-bottom: 1.4rem; }

.contact-links { display: flex; flex-direction: column; gap: 0.65rem; margin-bottom: 2rem; }

.contact-link {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    color: var(--green);
    font-size: 1rem;
    transition: color var(--ease);
}
.contact-link:hover { color: var(--terra); }
.contact-link svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    stroke: currentColor;
}

.contact-block { margin-top: 1.8rem; }

.contact-label {
    font-family: var(--font-head);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--gold);
    margin-bottom: 0.28rem !important;
}

.contact-form-col h3 { color: var(--green); }

.contact-form { display: flex; flex-direction: column; gap: 1.1rem; }

.form-group { display: flex; flex-direction: column; gap: 0.35rem; }

.form-group label {
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--green);
}

.form-group input,
.form-group textarea {
    padding: 0.8rem 1rem;
    border: 1.5px solid rgba(47, 74, 56, 0.20);
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text);
    background: white;
    transition: border-color var(--ease), box-shadow var(--ease);
    resize: vertical;
    -webkit-appearance: none;
}
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(184, 148, 76, 0.15);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #bbb; font-style: italic; }

.btn-submit {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.88rem 2.1rem;
    background: var(--green);
    color: white;
    border: none;
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 1rem;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: background var(--ease), transform 0.2s ease, box-shadow var(--ease);
    align-self: flex-start;
}
.btn-submit svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    flex-shrink: 0;
}
.btn-submit:hover {
    background: var(--green-mid);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(47, 74, 56, 0.25);
}
.btn-submit:active { transform: translateY(0); }


/* --- LOGO-LEISTE ----------------------------------------- */
.logos-section {
    background: var(--white);
    padding: 60px 0;
    border-top: 1px solid var(--border);
}

.logos-title {
    font-family: var(--font-head);
    font-size: 0.76rem;
    font-weight: 600;
    color: var(--text-muted);
    text-align: center;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 2.8rem;
}

.logos-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: nowrap;
}

.logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--ease);
}

.logo-item img {
    height: 60px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.50);
    transition: filter 0.35s ease;
}
.logo-item:hover img {
    filter: grayscale(0%) opacity(1);
}

.logo-placeholder {
    display: none;
    align-items: center;
    justify-content: center;
    height: 60px;
    min-width: 100px;
    border: 1.5px dashed rgba(47,74,56,0.18);
    border-radius: var(--radius);
    color: var(--text-muted);
    font-size: 0.78rem;
    letter-spacing: 0.05em;
    text-align: center;
    padding: 0.4rem 0.8rem;
    transition: border-color var(--ease), color var(--ease);
    font-family: var(--font-body);
}
.logo-item:hover .logo-placeholder {
    border-color: var(--gold);
    color: var(--green);
}


/* --- FOOTER ---------------------------------------------- */
.footer {
    background: var(--dark);
    padding: 44px 0;
    border-top: 3px solid var(--green);
}

.footer-container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 2rem;
}

.footer-copy {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.45);
    margin: 0;
}

.footer-imprint { text-align: center; margin: 0; }
.footer-imprint a {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.4);
    border-bottom: 1px solid transparent;
    transition: color var(--ease), border-color var(--ease);
}
.footer-imprint a:hover {
    color: var(--gold-light);
    border-bottom-color: rgba(184,148,76,0.5);
}

.footer-sponsor {
    text-align: right;
    font-size: 0.76rem;
    color: rgba(255,255,255,0.38);
    line-height: 1.75;
    margin: 0;
}
.footer-sponsor a {
    color: rgba(255,255,255,0.38);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: color var(--ease), border-color var(--ease);
}
.footer-sponsor a:hover {
    color: var(--gold-light);
    border-bottom-color: rgba(184,148,76,0.5);
}


/* --- LIGHTBOX -------------------------------------------- */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.95);
    align-items: center;
    justify-content: center;
    padding: 2rem;
}
.lightbox.active { display: flex; }

.lightbox-inner {
    max-width: 880px;
    width: 100%;
    text-align: center;
    animation: lbIn 0.26s ease both;
}
@keyframes lbIn {
    from { opacity: 0; transform: scale(0.96); }
    to   { opacity: 1; transform: scale(1); }
}

.lightbox-img {
    max-height: 76vh;
    max-width: 100%;
    width: auto;
    margin: 0 auto;
    border-radius: var(--radius);
    box-shadow: 0 24px 80px rgba(0,0,0,0.65);
    display: block;
}

.lightbox-caption {
    color: rgba(255,255,255,0.62);
    font-size: 0.88rem;
    font-style: italic;
    margin-top: 1.2rem;
    padding: 0 3rem;
    line-height: 1.55;
}

.lightbox-close {
    position: absolute;
    top: 1.6rem;
    right: 2rem;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 50%;
    color: white;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0.7;
    transition: background var(--ease), opacity var(--ease);
}
.lightbox-close svg { width: 18px; height: 18px; stroke: currentColor; }
.lightbox-close:hover { background: rgba(255,255,255,0.18); opacity: 1; }

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.16);
    color: white;
    font-size: 2.6rem;
    line-height: 1;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    cursor: pointer;
    opacity: 0.6;
    transition: background var(--ease), opacity var(--ease);
    user-select: none;
}
.lightbox-prev { left: 1.5rem; }
.lightbox-next { right: 1.5rem; }
.lightbox-prev:hover,
.lightbox-next:hover { background: rgba(255,255,255,0.16); opacity: 1; }


/* --- RESPONSIVE ------------------------------------------ */
@media (max-width: 960px) {
    .grid-2,
    .grid-book,
    .grid-content { grid-template-columns: 1fr; gap: 44px; }

    .book-cover-wrapper { position: static; max-width: 280px; margin: 0 auto; }

    .gallery-grid { grid-template-columns: repeat(2, 1fr); }

    .footer-container { grid-template-columns: 1fr; text-align: center; gap: 1rem; }
    .footer-sponsor { text-align: center; }
}

@media (max-width: 720px) {
    .section { padding: 68px 0; }
    .container { padding: 0 1.25rem; }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0; right: 0;
        background: rgba(250,247,242,0.98);
        flex-direction: column;
        padding: 1.4rem 1.5rem;
        gap: 1rem;
        box-shadow: var(--shadow-md);
        backdrop-filter: blur(10px);
        border-top: 1px solid var(--border);
    }
    .nav-menu.open { display: flex; }
    .nav-menu a { color: var(--text) !important; font-size: 1rem; }
    .nav-toggle { display: flex; }

    .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 4px; }
    .logos-grid { gap: 1.5rem; justify-content: center; flex-wrap: wrap; }
    .logo-item img { height: 48px; }

    .lightbox-prev,
    .lightbox-next { display: none; }

    .price-strip-amount { font-size: 3.8rem; }

    /* Drop cap etwas kleiner auf Mobil */
    .welcome-text p:first-of-type::first-letter {
        font-size: 3.2em;
    }
}

@media (max-width: 420px) {
    .gallery-grid { grid-template-columns: 1fr 1fr; gap: 3px; }
    .hero-btn-img { max-width: 170px; }
    .logos-grid { gap: 1.2rem; }
}
