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

/* ===================================
   PAGE HERO (Image)
   =================================== */
.programm-main-hero {
    min-height: 58vh;
    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/Chor_HD.webp') center/cover no-repeat;
    color: #fff;
    padding: 0 28px;
}

.programm-main-hero .hero-content {
    max-width: 720px;
    animation: heroFadeUp 0.9s ease 0.2s both;
}

@keyframes heroFadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.hero-overline {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--accent-light);
    margin: 0 0 16px;
}

.programm-main-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 7vw, 4.5rem);
    margin: 0 0 20px;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.programm-main-hero p {
    font-size: 1.15rem;
    max-width: 580px;
    margin: 0 auto;
    line-height: 1.7;
    opacity: 0.92;
}

/* ===================================
   POPUP BUTTON
   =================================== */
.popup-btn {
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--white);
    background: var(--primary);
    border: none;
    border-radius: 6px;
    padding: 8px 18px;
    cursor: pointer;
    transition: background 0.2s, letter-spacing 0.2s;
    margin-bottom: 24px;
}

.popup-btn:hover {
    background: var(--primary-light);
    letter-spacing: 2.2px;
}

/* ===================================
   MODAL
   =================================== */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(28, 25, 23, 0.55);
    backdrop-filter: blur(4px);
    z-index: 500;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.modal-overlay.open {
    display: flex;
}

.modal {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 48px 40px 40px;
    max-width: 480px;
    width: 100%;
    position: relative;
    box-shadow: var(--shadow-lg);
    animation: modalIn 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: translateY(24px) scale(0.97);
    }

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

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 1.1rem;
    color: var(--stone-500);
    cursor: pointer;
    padding: 6px;
    line-height: 1;
    transition: color 0.2s;
}

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

.modal h2 {
    font-family: var(--font-display);
    font-size: clamp(1.3rem, 2.5vw, 1.7rem);
    font-weight: 600;
    color: var(--stone-900);
    margin: 0 0 12px;
    letter-spacing: -0.015em;
}

.modal>p {
    font-size: 0.97rem;
    color: var(--stone-700);
    margin: 0 0 28px;
    line-height: 1.7;
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.modal-form label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--stone-700);
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.modal-form input {
    padding: 11px 14px;
    border: 1.5px solid var(--stone-300);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.97rem;
    color: var(--stone-900);
    background: var(--white);
    transition: border-color 0.2s;
}

.modal-form input:focus {
    outline: none;
    border-color: var(--primary);
}

.modal-submit {
    margin-top: 8px;
    padding: 13px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.97rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
    letter-spacing: 0.5px;
}

.modal-submit:hover {
    background: var(--primary-light);
    transform: translateY(-1px);
}

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

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

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

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

@media (max-width: 520px) {
    .modal {
        padding: 40px 24px 32px;
    }
}

/* ===================================
   PROGRAMM HERO SECTIONS
   =================================== */
.programm_hero {
    padding: 72px 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--stone-100);
    color: var(--stone-900);
    position: relative;
    overflow: hidden;
}

.programm_hero::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    border-radius: 0 4px 4px 0;
}

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

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

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

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

.programm_hero p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.75;
    color: var(--stone-700);
}

@media (max-width: 768px) {
    .programm_hero p {
        text-align: left;
    }
}

/* ===================================
   SPLIT SECTIONS
   =================================== */
.split-section {
    padding: 70px 28px;
    max-width: 1200px;
    margin: 0 auto;
}

.content-container {
    display: flex;
    align-items: center;
    gap: 72px;
}

.text-column,
.image-column {
    flex: 1;
}

.text-column p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--stone-700);
    margin-bottom: 18px;
}

.image-column img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    display: block;
    box-shadow: var(--shadow-md);
}

@media (max-width: 768px) {
    .content-container {
        flex-direction: column;
        gap: 28px;
        text-align: center;
    }

    .image-column {
        order: 1;
        width: 100%;
    }

    .text-column {
        order: 2;
        width: 100%;
        text-align: start;
    }
}

/* 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: 8px;
}

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

/* ===================================
   ROYAL RANGERS SPENDEN
   =================================== */
.rangers-spenden-section {
    background: var(--accent-light);
    color: var(--stone-900);
    padding: 60px 28px;
    text-align: center;
}

.rangers-spenden-section h2 {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 500;
    margin: 0 0 12px;
    letter-spacing: -0.01em;
}

.rangers-spenden-section p {
    font-size: 1.05rem;
    opacity: 0.88;
    margin: 0 auto 28px;
    max-width: 480px;
}

.spenden-bank {
    background: var(--white);
    border-radius: var(--radius);
    padding: 24px 28px;
    margin: 0 auto;
    max-width: 380px;
}

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

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

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

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

/* ===================================
   VIDEO EMBED
   =================================== */
.video-wrapper {
    padding: 60px 28px;
    max-width: 820px;
    margin: 0 auto;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

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

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