/* ===================================
   FREIKIRCHE BÜRMOOS — style_erster_besuch.css
   Redesign 2026
   =================================== */


:root {
    --primary: #2C5F4A;
    --primary-light: #4A8C6E;
    --primary-pale: #EBF5EF;
    --primary-dark: #1E4535;
    --accent: #E8A04A;
    --accent-light: #F5C87A;
    --accent-pale: #FDF6EC;
    --accent-dark: #C47D2A;
    --stone-900: #1C1917;
    --stone-700: #44403C;
    --stone-500: #78716C;
    --stone-300: #D6D3D1;
    --stone-100: #F5F5F4;
    --white: #FAFAF9;
    --shadow-sm: 0 1px 3px rgba(44, 95, 74, 0.08);
    --shadow-md: 0 4px 16px rgba(44, 95, 74, 0.12);
    --shadow-lg: 0 8px 32px rgba(44, 95, 74, 0.16);
    --font-display: 'latienne-pro', Georgia, serif;
    --font-body: 'lato', system-ui, sans-serif;
    --font-accent: 'alex-brush', cursive;
    --radius: 10px;
    --radius-lg: 16px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    font-size: 17px;
}

body {
    margin: 0;
    overflow-x: hidden;
    background: var(--white);
    font-family: var(--font-body);
    color: var(--stone-700);
    -webkit-font-smoothing: antialiased;
    line-height: 1.75;
}

/* REVEAL */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1), transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1), transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1), transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible,
.reveal-left.visible,
.reveal-right.visible {
    opacity: 1;
    transform: translate(0);
}

.reveal-stagger>* {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-stagger>*.visible {
    opacity: 1;
    transform: translateY(0);
}

/* HEADER & NAV */
.logo {
    width: 150px;
    z-index: 11;
}

.logo-link {
    padding: 0 !important;
    display: flex;
    align-items: center;
}

header {
    padding: 0;
    background: var(--white);
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 100;
    transition: background 0.55s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
}

header.scrolled {
    box-shadow: var(--shadow-md);
}

header.nav-transparent {
    background: transparent;
    box-shadow: none;
}

header::before,
header::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

header::before {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.18) 65%, transparent 100%);
}

header::after {
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0.35) 65%, transparent 100%);
}

header.nav-transparent.nav-dark::before {
    opacity: 1;
}

header.nav-transparent.nav-light::after {
    opacity: 1;
}

header.nav-dark .nav-link {
    color: #fff;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
    transition: color 0.4s ease;
}

header.nav-dark .nav-link.active-link {
    color: var(--accent-light);
}

header.nav-dark .nav-cta {
    background: var(--accent) !important;
    color: var(--stone-900) !important;
}

header.nav-dark .menu-toggle span {
    background: #fff;
}

header.nav-dark .logo {
    filter: brightness(0) invert(1);
}

header.nav-dark .nav-links.active .nav-link {
    color: var(--stone-900) !important;
    text-shadow: none !important;
}

header.nav-dark .nav-links.active .nav-link.active-link {
    color: var(--primary) !important;
}

header.nav-dark .menu-toggle.open span {
    background: var(--stone-900) !important;
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 28px;
    width: 100%;
    box-sizing: border-box;
    height: 80px;
    position: relative;
    z-index: 1;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
}

nav a {
    font-family: var(--font-body);
    font-weight: 500;
    color: var(--stone-900);
    text-decoration: none;
    padding: 8px 14px;
    font-size: 0.95rem;
    display: inline-block;
    white-space: nowrap;
    transition: color 0.4s ease;
    border-radius: 6px;
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link.active-link {
    color: var(--primary);
    font-weight: 600;
}

/* NAV DROPDOWN */
.nav-item {
    position: relative;
    display: inline-flex;
    align-items: center;
    align-self: stretch;
}

.nav-item .nav-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.dropdown-caret {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    touch-action: manipulation;
    transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.dropdown-caret svg {
    display: block;
}

.nav-item:hover .dropdown-caret,
.nav-item:focus-within .dropdown-caret {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 260px;
    margin-top: 0;
    padding: 10px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
    z-index: 50;
}

.nav-item:hover .nav-dropdown-menu,
.nav-item:focus-within .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu a {
    padding: 10px 14px;
    font-weight: 500;
    font-size: 0.92rem;
    color: var(--stone-700);
    border-radius: 6px;
}

.nav-dropdown-menu a:hover {
    background: var(--primary-pale);
    color: var(--primary);
}

.nav-item.open .dropdown-caret {
    transform: rotate(180deg);
}

.nav-cta {
    background: var(--accent) !important;
    color: var(--stone-900) !important;
    font-weight: 700 !important;
    border-radius: 8px !important;
    padding: 9px 20px !important;
    font-size: 0.88rem !important;
    margin-left: 10px;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s !important;
}

.nav-cta:hover {
    background: var(--accent-dark) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 14px rgba(232, 160, 74, 0.4) !important;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10;
}

.menu-toggle span {
    width: 30px;
    height: 3px;
    background: var(--stone-900);
    border-radius: 10px;
    transition: all 0.3s linear;
}

@media (max-width: 900px) {
    .menu-toggle {
        display: flex;
        margin-right: 0.5rem;
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        align-items: center;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        overflow-y: auto;
        background: var(--white);
        padding: 100px 20px 40px;
        z-index: 9;
        transform: translateY(-110%);
        transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
        gap: 4px;
    }

    .nav-links.active {
        transform: translateY(0);
    }

    .nav-link {
        font-size: 1.15rem;
        width: 100%;
        text-align: center;
        padding: 14px 0;
    }

    .nav-cta {
        margin-left: 0 !important;
        margin-top: 12px;
        font-size: 1rem !important;
        padding: 14px 32px !important;
    }

    .menu-toggle.open span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .menu-toggle.open span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.open span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .nav-item {
        flex-direction: column;
        width: 100%;
        align-self: auto;
    }

    .dropdown-caret {
        padding: 14px;
        margin: -14px;
        cursor: pointer;
        border-radius: 50%;
    }

    .dropdown-caret:active {
        background: var(--stone-100);
    }

    .dropdown-caret svg {
        width: 18px;
        height: 18px;
    }

    .nav-item:hover:not(.open) .dropdown-caret,
    .nav-item:focus-within:not(.open) .dropdown-caret {
        transform: none;
    }

    .nav-dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: none;
        box-shadow: none;
        background: transparent;
        margin-top: 0;
        padding: 0;
        min-width: 0;
        align-items: center;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .nav-item.open .nav-dropdown-menu {
        max-height: 400px;
    }

    .nav-item:hover .nav-dropdown-menu,
    .nav-item:focus-within .nav-dropdown-menu {
        transform: none;
    }

    .nav-dropdown-menu a {
        padding: 8px 0;
        font-size: 0.95rem;
        color: var(--stone-500);
    }
}

/* ===================================
   HERO
   =================================== */
.besuch-hero {
    height: 70vh;
    padding: 96px 28px;
    background:
        linear-gradient(160deg, rgba(28, 69, 53, 0.72) 0%, rgba(28, 25, 23, 0.62) 100%),
        url('imgs/Gruppenfoto_neu.webp') center 28%/cover no-repeat;
    color: #fff;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.besuch-hero .hero-content {
    max-width: 700px;
    animation: besuchFadeUp 0.7s ease both;
}

@keyframes besuchFadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.besuch-hero .hero-overline {
    display: inline-block;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.8rem;
    color: var(--accent-light);
    margin-bottom: 16px;
}

.besuch-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 6vw, 4rem);
    margin: 0 0 20px;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.besuch-hero p {
    font-size: 1.15rem;
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.75;
    opacity: 0.9;
}

.besuch-hero__sign {
    display: block;
    margin-top: 22px;
    font-family: var(--font-body);
    font-size: 1.6rem;
    color: var(--accent-light);
}

.h2-pop {
    font-family: var(--font-accent);
    font-size: clamp(4rem, 6vw, 5rem);
    display: inline;
    padding-right: 15px;
    padding-bottom: 10px;
    color: var(--accent);
}

/* ===================================
   SECTION HEADING
   =================================== */
.section-heading {
    text-align: center;
    margin-bottom: 52px;
}

.section-heading h2 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 600;
    color: var(--stone-900);
    margin: 0 0 12px;
    letter-spacing: -0.015em;
}

.section-heading p {
    color: var(--stone-500);
    font-size: 1rem;
    max-width: 540px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ===================================
   IMPRESSIONEN (BENTO GALLERY)
   =================================== */
.impressions-section {
    padding: 90px 28px;
    background: var(--white);
}

.impressions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 215px;
    grid-auto-flow: dense;
    gap: 14px;
    max-width: 1800px;
    margin: 0 auto;
}

.impression-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--stone-300);
    box-shadow: var(--shadow-sm);
}

.impression-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Platzhalter – entfernen, sobald alle Bilder eingefügt sind */
.impression-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    background: repeating-linear-gradient(45deg, var(--stone-100), var(--stone-100) 12px, var(--stone-300) 12px, var(--stone-300) 13px);
    border: 2px dashed var(--stone-500);
    border-radius: var(--radius-lg);
    color: var(--stone-700);
    font-weight: 700;
    font-size: 0.95rem;
    text-align: center;
}

.impression-placeholder small {
    font-weight: 400;
    font-size: 0.78rem;
    color: var(--stone-500);
}

.impression-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(28, 25, 23, 0.72) 0%, rgba(28, 25, 23, 0.05) 55%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.impression-item:hover img {
    transform: scale(1.07);
}

.impression-item:hover::after {
    opacity: 1;
}

.impression-caption {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 16px;
    color: #fff;
    font-family: var(--font-display);
    font-size: 1.02rem;
    font-weight: 500;
    letter-spacing: -0.01em;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 1;
}

.impression-item:hover .impression-caption {
    opacity: 1;
    transform: translateY(0);
}

.impression-item--large {
    grid-column: span 2;
    grid-row: span 2;
}

.impression-item--wide {
    grid-column: span 2;
    grid-row: span 1;
}

.impression-item--tall {
    grid-column: span 1;
    grid-row: span 2;
}

.impression-item--small {
    grid-column: span 1;
    grid-row: span 1;
}

@media (max-width: 900px) {
    .impressions-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 235px;
    }

    .impression-item--large {
        grid-column: span 2;
        grid-row: span 2;
    }

    .impression-item--wide {
        grid-column: span 2;
        grid-row: span 1;
    }

    .impression-item--tall {
        grid-column: span 1;
        grid-row: span 2;
    }
}

/* Punkte-Indikatoren – nur im Mobile-Carousel sichtbar */
.impressions-dots {
    display: none;
}

/* Mobile: Galerie als Carousel */
@media (max-width: 560px) {
    .impressions-section {
        padding-left: 0;
        padding-right: 0;
    }

    .impressions-section .section-heading {
        padding: 0 28px;
    }

    .impressions-grid {
        display: flex;
        gap: 12px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-x: contain;
        scrollbar-width: none;
        padding: 0 6%;
        scroll-padding: 0 6%;
    }

    .impressions-grid::-webkit-scrollbar {
        display: none;
    }

    .impression-item,
    .impression-item--large,
    .impression-item--wide,
    .impression-item--tall,
    .impression-item--small {
        flex: 0 0 88%;
        aspect-ratio: 4 / 5;
        max-height: 70vh;
        scroll-snap-align: center;
        grid-column: auto;
        grid-row: auto;
    }

    /* Reveal-Animation darf Slides außerhalb des Viewports nicht verstecken */
    .impressions-grid.reveal-stagger>* {
        opacity: 1;
        transform: none;
    }

    .impression-item::after {
        opacity: 1;
    }

    .impression-item:hover img {
        transform: none;
    }

    .impression-caption {
        opacity: 1;
        transform: translateY(0);
    }

    .impressions-dots {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 8px;
        margin-top: 20px;
        padding: 0 28px;
    }

    .impressions-dot {
        width: 8px;
        height: 8px;
        padding: 0;
        border: none;
        border-radius: 999px;
        background: var(--stone-300);
        cursor: pointer;
        transition: width 0.3s ease, background 0.3s ease;
    }

    .impressions-dot.active {
        width: 24px;
        background: var(--accent);
    }
}

@media (max-width: 560px) and (prefers-reduced-motion: reduce) {
    .impressions-grid {
        scroll-behavior: auto;
    }
}

/* ===================================
   FAQ SECTION
   =================================== */
.faq-section {
    padding: 90px 28px;
    background: var(--stone-100);
}


/* Category groups */
.faq-group {
    max-width: 1100px;
    margin: 0 auto;
}

.faq-group+.faq-group {
    margin-top: 56px;
}

.faq-kicker {
    font-size: 0.73rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--primary);
    margin: 0 0 20px;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 22px;
}

/* Q&A card */
.faq-card {
    background: var(--white);
    border: 1px solid var(--stone-300);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s, box-shadow 0.25s;
}

.faq-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.faq-card h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--stone-900);
    margin: 0 0 12px;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.faq-card p {
    font-size: 0.97rem;
    line-height: 1.75;
    color: var(--stone-700);
    margin: 0 0 18px;
}

.faq-quote {
    margin: 0 0 22px;
    padding: 12px 16px;
    border-left: 3px solid var(--accent);
    background: var(--accent-pale);
    border-radius: 0 var(--radius) var(--radius) 0;
    font-family: var(--font-display);
    font-style: italic;
    font-size: 0.92rem;
    color: var(--stone-700);
}

.faq-byline {
    display: flex;
    align-items: center;
    gap: 12px;
}

.faq-portrait {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-pale);
    flex-shrink: 0;
}

.faq-name {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--primary);
}

/* ===================================
   CTA BAND
   =================================== */
.besuch-cta {
    background: var(--primary-dark);
    color: #fff;
    padding: 80px 28px;
    text-align: center;
}

.besuch-cta__team {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 26px;
}

.besuch-cta__team img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.besuch-cta h2 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 600;
    margin: 0 0 18px;
    letter-spacing: -0.015em;
}

.besuch-cta p {
    max-width: 560px;
    margin: 0 auto 36px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.72);
    font-size: 1.05rem;
}

/* BUTTONS */
.btn {
    display: inline-block;
    padding: 13px 30px;
    background: var(--primary);
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
    margin-top: 6px;
}

.btn:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-light {
    display: inline-block;
    padding: 13px 30px;
    background: var(--white);
    color: var(--primary);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.9rem;
    transition: transform 0.2s, box-shadow 0.2s;
    margin-top: 6px;
}

.btn-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* ===================================
   FOOTER
   =================================== */
.site-footer {
    background: var(--stone-900);
    color: var(--white);
    padding: 70px 28px 24px;
    font-family: var(--font-body);
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 48px;
}

.footer-logo {
    margin-bottom: 16px;
    width: 140px;
}

.footer-column p {
    font-size: 0.88rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.52);
}

.footer-column h4 {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0 0 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
    color: rgba(255, 255, 255, 0.55);
    font-weight: 600;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.52);
    text-decoration: none;
    font-size: 0.88rem;
    transition: color 0.2s;
}

.footer-column ul li a:hover {
    color: var(--accent-light);
}

.footer-bottom {
    text-align: center;
    margin-top: 56px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.76rem;
    color: rgba(255, 255, 255, 0.28);
}

.footer-social {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 4px;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    transition: transform 0.15s, box-shadow 0.15s, filter 0.15s;
    white-space: nowrap;
}

.social-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    filter: brightness(1.08);
}

.social-btn--spotify {
    background: var(--primary);
    color: var(--white);
}

.social-btn--youtube {
    background: var(--accent);
    color: var(--stone-900);
}

.footer-spenden-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    padding: 9px 20px;
    background: var(--accent);
    color: var(--stone-900);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.82rem;
    transition: background 0.2s, transform 0.15s;
}

.footer-spenden-btn:hover {
    background: var(--accent-dark);
    transform: translateY(-1px);
}