/* ===================================
   FREIKIRCHE BÜRMOOS — style_events_kontakt.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);
    }
}

/* ===================================
   SHARED HERO BANNER
   =================================== */
.programm_hero {
    height: 55vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background:
        linear-gradient(160deg, rgba(28, 69, 53, 0.65) 0%, rgba(28, 25, 23, 0.55) 100%),
        url('imgs/Gottesdienst.webp') center/cover no-repeat;
    color: #fff;
    padding: 0 28px;
}

.programm_hero .hero-content {
    max-width: 720px;
    animation: progFadeUp 0.9s ease 0.2s both;
}

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

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

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

.programm_hero p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.75;
    opacity: 0.92;
}

/* ===================================
   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: 500px;
    margin: 0 auto;
    line-height: 1.7;
}

/* BUTTON */
.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-accent {
    display: inline-block;
    padding: 14px 32px;
    background: var(--accent);
    color: var(--stone-900);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.95rem;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.btn-accent:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(232, 160, 74, 0.35);
}

/* ===================================
   EVENTS — Calendar section
   =================================== */
.events-section {
    padding: 72px 28px 90px;
    background: var(--white);
}

/* ===================================
   EVENTS — Kalender-Embed (iframe)
   =================================== */
.kalender-embed {
    padding: 56px 28px 80px;
    background: var(--white);
}

.kalender-embed__card {
    max-width: 1600px;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--stone-300);
    border-top: 3px solid var(--primary);
    box-shadow: var(--shadow-lg);
}

.kalender-embed__card iframe {
    display: block;
    width: 100%;
}

@media (max-width: 600px) {
    .kalender-embed {
        padding: 32px 16px 56px;
    }

    .kalender-embed__card iframe {
        height: 600px;
    }
}

.calendar {
    max-width: 1060px;
    margin: 0 auto;
}

.cal-nav {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 1;
}

.cal-nav-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid var(--stone-300);
    border-radius: 6px;
    background: var(--white);
    cursor: pointer;
    font-size: 18px;
    color: var(--stone-900);
    font-family: inherit;
    transition: background 0.15s, border-color 0.15s;
}

.cal-nav-btn:hover {
    background: var(--primary-pale);
    border-color: var(--primary);
}

.cal-today-btn {
    padding: 0 16px;
    height: 34px;
    border: 1px solid var(--stone-300);
    border-radius: 6px;
    background: var(--white);
    cursor: pointer;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--stone-900);
    font-family: inherit;
    transition: background 0.15s, border-color 0.15s;
}

.cal-today-btn:hover {
    background: var(--primary-pale);
    border-color: var(--primary);
}

.cal-title {
    flex: 1;
    text-align: center;
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--stone-900);
}

.nav-right {
    display: flex;
    justify-content: flex-end;
    flex: 1;
}

.cal-grid {
    border: 1px solid var(--stone-300);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.grid-header {
    display: grid;
    grid-template-columns: 52px repeat(7, 1fr);
    border-bottom: 1px solid var(--stone-300);
    background: var(--stone-100);
}

.gh-kw {
    border-right: 1px solid var(--stone-300);
}

.gh-day {
    padding: 10px 0;
    text-align: center;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: var(--stone-500);
}

.gh-day.we {
    color: var(--stone-300);
}

.week-row {
    display: flex;
    border-bottom: 1px solid var(--stone-300);
    min-height: 110px;
}

.week-row:last-child {
    border-bottom: none;
}

.week-kw {
    width: 52px;
    flex-shrink: 0;
    border-right: 1px solid var(--stone-300);
    padding: 8px 4px;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--stone-300);
    text-align: center;
}

.week-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.md-band {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    padding: 3px 0 2px;
    min-height: 0;
}

.md-band:empty {
    display: none;
}

.md-slot {
    height: 1px;
    pointer-events: none;
}

.md-evt {
    border-radius: 3px;
    padding: 1px 7px;
    font-size: 0.72rem;
    font-weight: 600;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    cursor: pointer;
    margin: 0 2px;
    line-height: 1.7;
}

.md-blue {
    background: var(--primary-pale);
    color: var(--primary-dark);
}

.md-teal {
    background: #cffafe;
    color: #155e75;
}

.md-green {
    background: #dcfce7;
    color: #166534;
}

.md-amber {
    background: var(--accent-pale);
    color: var(--accent-dark);
}

.day-cells {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    flex: 1;
}

.day-cell {
    border-right: 1px solid var(--stone-300);
    padding: 3px 0 5px;
    min-width: 0;
    position: relative;
}

.day-cell:last-child {
    border-right: none;
}

.day-cell.we {
    background: var(--stone-100);
}

.day-num {
    text-align: right;
    padding: 3px 8px 3px;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--stone-700);
    line-height: 1.4;
    min-height: 26px;
}

.day-cell.other .day-num {
    color: var(--stone-300);
}

.today-ring {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-weight: 700;
    font-size: 0.78rem;
}

.evt-list {
    display: flex;
    flex-direction: column;
    gap: 1px;
    padding: 0 2px;
}

.evt {
    display: flex;
    align-items: center;
    gap: 3px;
    padding: 2px 3px;
    border-radius: 3px;
    font-size: 0.7rem;
    overflow: hidden;
    white-space: nowrap;
    cursor: pointer;
    min-width: 0;
    transition: background 0.1s;
}

.evt:hover {
    background: var(--primary-pale);
}

.evt-bar {
    width: 3px;
    min-width: 3px;
    height: 12px;
    border-radius: 1px;
    flex-shrink: 0;
}

.evt-time {
    font-weight: 600;
    color: var(--stone-500);
    flex-shrink: 0;
    font-size: 0.67rem;
}

.evt-title {
    color: var(--stone-700);
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
    min-width: 0;
}

.evt-rep {
    color: var(--stone-300);
    flex-shrink: 0;
    font-size: 0.6rem;
    margin-left: 1px;
}

.evt-more {
    padding: 1px 3px 1px 11px;
    font-size: 0.67rem;
    color: var(--stone-500);
    cursor: pointer;
}

.evt-more:hover {
    color: var(--primary);
    text-decoration: underline;
}

@media (max-width: 640px) {
    .cal-title {
        font-size: 1.2rem;
    }

    .week-kw {
        width: 32px;
        font-size: 0.55rem;
    }

    .gh-day {
        font-size: 0.65rem;
        padding: 8px 2px;
    }

    .day-num {
        font-size: 0.7rem;
        padding: 2px 5px 3px;
    }

    .evt {
        font-size: 0.6rem;
    }

    .evt-time {
        font-size: 0.6rem;
    }

    .md-evt {
        font-size: 0.65rem;
        padding: 1px 4px;
    }

    .cal-gcal-btn span {
        display: none;
    }
}

/* Google Kalender Link */
.cal-gcal-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 0 14px;
    height: 34px;
    border: 1px solid var(--stone-300);
    border-radius: 6px;
    background: var(--white);
    color: var(--stone-700);
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
    white-space: nowrap;
}

.cal-gcal-btn:hover {
    background: var(--primary-pale);
    border-color: var(--primary);
    color: var(--primary);
}

/* Loading / error / setup notice */
.cal-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 70px 28px;
    color: var(--stone-500);
    font-size: 0.95rem;
    min-height: 280px;
}

.cal-spinner {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    border: 2.5px solid var(--stone-300);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: calSpin 0.75s linear infinite;
}

@keyframes calSpin {
    to {
        transform: rotate(360deg);
    }
}

.cal-error {
    padding: 60px 28px;
    text-align: center;
    color: var(--stone-500);
    font-size: 0.95rem;
}

.cal-notice {
    padding: 48px 40px;
    color: var(--stone-700);
    line-height: 1.8;
    max-width: 640px;
}

.cal-notice strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.15rem;
    color: var(--stone-900);
    margin-bottom: 10px;
}

.cal-notice p {
    margin-bottom: 14px;
    font-size: 0.95rem;
}

.cal-notice ol {
    padding-left: 20px;
}

.cal-notice li {
    margin-bottom: 6px;
    font-size: 0.9rem;
}

.cal-notice code {
    background: var(--stone-100);
    padding: 1px 7px;
    border-radius: 4px;
    font-size: 0.85em;
    font-family: monospace;
}

.cal-notice a {
    color: var(--primary);
    text-decoration: underline;
}

/* Event detail popup */
#cal-evt-popup {
    position: fixed;
    z-index: 300;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 20px 22px;
    width: 280px;
    border-top: 3px solid var(--primary);
    display: none;
    animation: evtPopIn 0.18s ease;
}

#cal-evt-popup.visible {
    display: block;
}

@keyframes evtPopIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

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

.evtp-close {
    position: absolute;
    top: 10px;
    right: 12px;
    background: none;
    border: none;
    font-size: 1rem;
    color: var(--stone-500);
    cursor: pointer;
    padding: 4px;
    line-height: 1;
    transition: color 0.15s;
}

.evtp-close:hover {
    color: var(--stone-900);
}

.evtp-title {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--stone-900);
    margin-bottom: 8px;
    line-height: 1.3;
    padding-right: 22px;
}

.evtp-meta {
    font-size: 0.82rem;
    color: var(--stone-500);
    margin-bottom: 4px;
}

.evtp-desc {
    font-size: 0.82rem;
    color: var(--stone-700);
    margin-top: 10px;
    line-height: 1.65;
    max-height: 80px;
    overflow-y: auto;
}

.evtp-link {
    display: inline-block;
    margin-top: 14px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--primary);
    text-decoration: none;
    transition: color 0.15s;
}

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

@media (max-width: 640px) {
    #cal-evt-popup {
        width: calc(100vw - 32px);
        left: 16px !important;
    }
}

/* ===================================
   KONTAKT PAGE
   =================================== */
.kontakt-hero {
    padding: 80px 28px;
    background:
        linear-gradient(160deg, rgba(28, 69, 53, 0.7) 0%, rgba(28, 25, 23, 0.6) 100%),
        url('imgs/Haus Vorderansicht.webp') center/cover no-repeat;
    color: #fff;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.kontakt-hero .hero-content {
    max-width: 680px;
    animation: progFadeUp 0.7s ease both;
}

.kontakt-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;
}

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

/* ===================================
   PERSÖNLICHE BEGRÜSSUNG
   =================================== */
.kontakt-welcome {
    max-width: 900px;
    margin: 0 auto;
    padding: 64px 28px 0;
    display: flex;
    align-items: center;
    gap: 32px;
}

.kontakt-welcome__photos {
    display: flex;
    flex-shrink: 0;
}

.kontakt-welcome__photos img {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--white);
    box-shadow: var(--shadow-md);
}

.kontakt-welcome__photos img+img {
    margin-left: -24px;
}

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

.kontakt-welcome__text h2 {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
    color: var(--stone-900);
    margin: 0 0 10px;
    letter-spacing: -0.015em;
}

.kontakt-welcome__text p {
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.75;
    color: var(--stone-700);
}

@media (max-width: 700px) {
    .kontakt-welcome {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        padding-top: 48px;
    }

    .kontakt-welcome__photos img+img {
        margin-left: -20px;
    }
}

.kontakt-main {
    padding: 80px 28px;
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 64px;
    align-items: start;
}

@media (max-width: 800px) {
    .kontakt-main {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}

/* Info column */
.kontakt-info h2 {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 600;
    color: var(--stone-900);
    margin: 0 0 24px;
    letter-spacing: -0.015em;
}

.kontakt-block {
    display: flex;
    gap: 16px;
    margin-bottom: 28px;
}

.kontakt-block-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--primary-pale);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.kontakt-block-text h3 {
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--stone-500);
    margin: 0 0 4px;
}

.kontakt-block-text p {
    margin: 0;
    font-size: 0.97rem;
    color: var(--stone-700);
    line-height: 1.65;
}

.kontakt-block-text a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.kontakt-block-text a:hover {
    color: var(--primary-light);
}

.social-btns {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 4px;
}

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

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

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

.social-btns .social-btn--spotify {
    color: var(--accent);
}

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

.kontakt-divider {
    border: none;
    border-top: 1px solid var(--stone-300);
    margin: 32px 0;
}

.gottesdienst-box {
    background: var(--primary-pale);
    border-radius: var(--radius-lg);
    padding: 24px 28px;
    border-left: 4px solid var(--primary);
}

.gottesdienst-box h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin: 0 0 8px;
}

.gottesdienst-box p {
    font-size: 0.95rem;
    color: var(--stone-700);
    margin: 0;
    line-height: 1.65;
}

/* Form column */
.kontakt-form-wrapper {
    background: var(--white);
    border: 1px solid var(--stone-300);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-sm);
}

.kontakt-form-wrapper h2 {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 2.5vw, 1.9rem);
    font-weight: 600;
    color: var(--stone-900);
    margin: 0 0 16px;
    letter-spacing: -0.015em;
}

.form-intro {
    font-size: 0.98rem;
    color: var(--stone-500);
    line-height: 1.7;
    margin: 0 0 28px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (max-width: 500px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}


.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 18px;
}

.form-group label {
    font-size: 0.83rem;
    font-weight: 600;
    color: var(--stone-700);
    letter-spacing: 0.3px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid var(--stone-300);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--stone-900);
    background: var(--white);
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(44, 95, 74, 0.12);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--stone-300);
}

.form-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px 28px;
    background: var(--primary);
    color: #fff;
    text-decoration: none;
    border: none;
    cursor: pointer;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.2px;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
    margin-bottom: 8px;
}

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

.form-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.form-status {
    margin: 0 0 8px;
    font-size: 0.9rem;
    line-height: 1.6;
    text-align: center;
    display: none;
}

.form-status.form-status--success {
    display: block;
    color: var(--primary);
}

.form-status.form-status--error {
    display: block;
    color: #b3261e;
}

.form-note {
    font-size: 0.78rem;
    color: var(--stone-500);
    margin-top: 12px;
    text-align: center;
}

/* Alternative Kontaktwege */
.kontakt-alt {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--stone-300);
    text-align: center;
}

.kontakt-alt__label {
    display: block;
    font-size: 0.76rem;
    color: var(--stone-500);
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.kontakt-alt__buttons {
    display: flex;
    gap: 12px;
}

.alt-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 18px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.92rem;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s, border-color 0.2s, color 0.2s;
}

.alt-btn--whatsapp {
    background: #25D366;
    color: #fff;
}

.alt-btn--whatsapp:hover {
    background: #1DA851;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.35);
}

.alt-btn--mail {
    background: var(--stone-100);
    color: var(--stone-900);
    border: 1.5px solid var(--stone-300);
}

.alt-btn--mail:hover {
    background: var(--white);
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

@media (max-width: 480px) {
    .kontakt-alt__buttons {
        flex-direction: column;
    }
}

/* ===================================
   SPENDEN SECTION
   =================================== */
.spenden-section {
    padding: 0 28px 80px;
}

.spenden-card {
    max-width: 680px;
    margin: 0 auto;
    background: var(--white);
    border: 1px solid var(--stone-300);
    border-top: 4px solid var(--accent);
    border-radius: var(--radius-lg);
    padding: 48px 52px;
    box-shadow: var(--shadow-md);
}

.spenden-header {
    text-align: center;
    margin-bottom: 36px;
}

.spenden-icon {
    font-size: 2.2rem;
    display: block;
    margin-bottom: 14px;
}

.spenden-card h2 {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3vw, 2rem);
    font-weight: 600;
    color: var(--stone-900);
    margin: 0 0 12px;
    letter-spacing: -0.015em;
}

.spenden-lead {
    font-size: 0.97rem;
    color: var(--stone-500);
    line-height: 1.75;
    margin: 0;
    max-width: 520px;
    margin: 0 auto;
}

.spenden-bank {
    background: var(--stone-100);
    border-radius: var(--radius);
    padding: 24px 28px;
    margin: 0 0 24px;
}

.spenden-bank h3 {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--stone-500);
    margin: 0 0 16px;
}

.bank-details {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 8px 20px;
    margin: 0;
    font-size: 0.93rem;
}

.bank-details dt {
    color: var(--stone-500);
    font-weight: 600;
    white-space: nowrap;
}

.bank-details dd {
    color: var(--stone-900);
    margin: 0;
    font-family: var(--font-body);
}

.placeholder-text {
    color: var(--stone-500);
    font-style: italic;
}

.spenden-note {
    font-size: 0.88rem;
    color: var(--stone-500);
    margin: 0 0 20px;
    line-height: 1.6;
}

.newsletter-card {
    border-top-color: var(--primary);
}

.newsletter-card .spenden-icon {
    color: var(--primary);
}

@media (max-width: 640px) {
    .spenden-section {
        padding: 0 12px 60px;
    }

    .spenden-card {
        padding: 32px 18px;
    }

    .spenden-header {
        margin-bottom: 28px;
    }

    .spenden-icon {
        font-size: 1.9rem;
        margin-bottom: 10px;
    }

    .spenden-bank {
        padding: 16px;
    }

    .bank-details {
        grid-template-columns: 1fr;
        gap: 2px 0;
        font-size: 0.88rem;
    }

    .bank-details dt {
        white-space: normal;
        margin-top: 12px;
    }

    .bank-details dt:first-child {
        margin-top: 0;
    }
}

@media (max-width: 400px) {
    .spenden-card {
        padding: 24px 14px;
    }

    .spenden-bank {
        padding: 14px;
    }
}

/* FOOTER */
.footer-spenden-btn {
    display: inline-block;
    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);
}

/* ===================================
   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);
}

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