/* ===== Local Fonts ===== */
@font-face { font-family: 'Quicksand'; src: url('/assets/fonts/quicksand-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Quicksand'; src: url('/assets/fonts/quicksand-500.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Quicksand'; src: url('/assets/fonts/quicksand-600.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Quicksand'; src: url('/assets/fonts/quicksand-700.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Open Sans'; src: url('/assets/fonts/opensans-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Open Sans'; src: url('/assets/fonts/opensans-500.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Open Sans'; src: url('/assets/fonts/opensans-600.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }

/* ===== V2 Design — Frank Petzchen ===== */
:root {
    --green: #17A53C;
    --green-dark: #128a30;
    --green-light: #e8f7ec;
    --white: #ffffff;
    --off-white: #f8f9fa;
    --gray-100: #f1f3f5;
    --gray-200: #e9ecef;
    --gray-600: #6c757d;
    --gray-800: #343a40;
    --gray-900: #212529;
    --shadow-sm: 0 2px 8px rgba(0,0,0,.06);
    --shadow-md: 0 4px 20px rgba(0,0,0,.08);
    --shadow-lg: 0 8px 30px rgba(0,0,0,.12);
    --radius: 16px;
    --radius-sm: 10px;
    --transition: .3s ease;
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
    font-family: 'Open Sans', sans-serif;
    color: var(--gray-800);
    background: var(--white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}
a { color: var(--green); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--green-dark); }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-family: 'Quicksand', sans-serif; font-weight: 700; color: var(--gray-900); }

/* ===== Container ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ===== Navbar ===== */
#navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition);
}
#navbar.scrolled { box-shadow: var(--shadow-md); }
.nav-container {
    max-width: 1200px; margin: 0 auto; padding: 0 24px;
    display: flex; align-items: center; justify-content: space-between;
    height: 70px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; font-family: 'Quicksand', sans-serif; font-weight: 700; font-size: 1.15rem; color: var(--gray-900); }
.nav-logo img { border-radius: 8px; }
.nav-links { display: flex; list-style: none; gap: 4px; }
.nav-links a {
    display: block; padding: 8px 14px; border-radius: var(--radius-sm);
    font-size: .9rem; font-weight: 500; color: var(--gray-800);
    transition: background var(--transition), color var(--transition);
}
.nav-links a:hover { background: var(--green-light); color: var(--green); }

/* Dropdown */
.dropdown { position: relative; }
.dropdown-menu {
    position: absolute; top: 100%; left: 0; min-width: 220px;
    background: var(--white); border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg); padding: 8px 0;
    opacity: 0; visibility: hidden; transform: translateY(8px);
    transition: all var(--transition); list-style: none;
}
.dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu a { padding: 10px 20px; font-size: .88rem; border-radius: 0; }

/* Mobile toggle */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--gray-800); margin: 5px 0; border-radius: 2px; transition: var(--transition); }
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* Mobile menu */
.mobile-menu {
    display: none; position: fixed; top: 70px; left: 0; right: 0; bottom: 0;
    background: var(--white); z-index: 999; overflow-y: auto; padding: 24px;
}
.mobile-menu.open { display: block; }
.mobile-menu ul { list-style: none; }
.mobile-menu li a {
    display: block; padding: 14px 0; font-size: 1.05rem; color: var(--gray-800);
    border-bottom: 1px solid var(--gray-200);
}
.mobile-menu li.sub a { padding-left: 20px; font-size: .95rem; color: var(--gray-600); }

.nav-newsletter { margin-left: 8px; white-space: nowrap; }

@media (max-width: 900px) {
    .nav-links { display: none; }
    .nav-newsletter { display: none; }
    .nav-toggle { display: block; }
}
.mobile-newsletter { color: var(--green) !important; font-weight: 600; }

/* ===== Hero ===== */
.hero {
    position: relative; min-height: 90vh;
    background-size: cover; background-position: left top;
    display: flex; align-items: center; justify-content: center;
}
.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,.35), rgba(0,0,0,.55));
}
.hero-inner {
    position: relative; z-index: 1; text-align: center;
    padding: 120px 24px 80px; max-width: 800px;
}
.hero-logo { max-width: 350px; width: 90%; margin: 0 0 28px; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); color: #fff; margin-bottom: 16px; }
.hero-tagline, .hero-sub { font-size: clamp(1rem, 2.5vw, 1.25rem); color: #fff; margin-bottom: 36px; text-shadow: 0 1px 4px rgba(0,0,0,.7); }
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ===== Buttons ===== */
.btn {
    display: inline-block; padding: 14px 32px; border-radius: 50px;
    font-family: 'Quicksand', sans-serif; font-weight: 600; font-size: .95rem;
    cursor: pointer; transition: all var(--transition); border: 2px solid transparent;
}
.btn-primary { background: var(--green); color: #fff; border-color: var(--green); }
.btn-primary:hover { background: var(--green-dark); border-color: var(--green-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(23,165,60,.3); }
.btn-outline { background: transparent; color: #fff; border-color: #fff; }
.btn-outline:hover { background: #fff; color: var(--green); }
.btn-white { background: #fff; color: var(--green); border-color: #fff; }
.btn-white:hover { background: var(--green-light); transform: translateY(-2px); }
.btn-sm { padding: 10px 24px; font-size: .88rem; }

/* ===== Sections ===== */
.section { padding: 96px 0; }
.section-alt { background: var(--off-white); }
.text-center { text-align: center; }
.section-subtitle { font-size: 1.1rem; color: var(--gray-600); margin-bottom: 40px; }

/* ===== Cards Grid ===== */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.card {
    background: var(--white); border-radius: var(--radius); overflow: hidden;
    box-shadow: var(--shadow-md); transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card-img { height: 220px; background-size: cover; background-position: center; }
.card-body { padding: 28px; }
.card-body h3 { font-size: 1.3rem; margin-bottom: 12px; }
.card-body p { color: var(--gray-600); margin-bottom: 20px; font-size: .95rem; }

@media (max-width: 768px) { .cards-grid { grid-template-columns: 1fr; } }

/* ===== Split Sections ===== */
.split-section { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split-section.reverse .split-image { order: 2; }
.split-image {
    height: 480px; border-radius: var(--radius);
    background-size: cover; background-position: center;
    box-shadow: var(--shadow-md);
}
.split-content h2 { font-size: 2rem; margin-bottom: 16px; }
.split-content > p { color: var(--gray-600); margin-bottom: 28px; font-size: 1.02rem; }
.split-content .btn { margin-top: 8px; }

@media (max-width: 768px) {
    .split-section { grid-template-columns: 1fr; }
    .split-section.reverse .split-image { order: 0; }
    .split-image { height: 280px; }
}

/* ===== Features Row ===== */
.features-row { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 24px; }
.feature {
    display: flex; align-items: center; gap: 10px;
    background: var(--white); padding: 10px 16px; border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm); font-size: .88rem;
}
.section-alt .feature { background: var(--white); }
.section:not(.section-alt) .feature { background: var(--off-white); }
.feature img { width: 36px; height: 36px; flex-shrink: 0; }

/* ===== Newsletter (Green) ===== */
.section-green {
    background: linear-gradient(135deg, var(--green), #1ec44a);
    color: #fff;
}
.section-green h2 { color: #fff; font-size: 2rem; margin-bottom: 8px; }
.section-green .section-subtitle { color: rgba(255,255,255,.85); }
.newsletter-icons { display: flex; justify-content: center; gap: 48px; margin-bottom: 36px; flex-wrap: wrap; }
.nl-item { text-align: center; max-width: 180px; }
.nl-item img { width: 56px; height: 56px; margin: 0 auto 12px; filter: brightness(0) invert(1); }
.nl-item p { font-size: .95rem; color: rgba(255,255,255,.9); }
.newsletter-form {
    margin-top: 16px; max-width: 520px; margin-left: auto; margin-right: auto;
    background: rgba(255,255,255,.15); border-radius: var(--radius); padding: 32px 40px;
    backdrop-filter: blur(6px); box-sizing: border-box;
}
.newsletter-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 12px; }
.newsletter-fields input:last-child { grid-column: 1 / -1; }
.newsletter-fields input {
    padding: 12px 16px; border: 2px solid rgba(255,255,255,.4); border-radius: var(--radius-sm);
    background: rgba(255,255,255,.15); color: #fff; font-size: 1rem; font-family: 'Open Sans', sans-serif;
    box-sizing: border-box; width: 100%;
}
.newsletter-fields input::placeholder { color: rgba(255,255,255,.6); }
.newsletter-fields input:focus { outline: none; border-color: #fff; background: rgba(255,255,255,.25); }
.nl-consent { display: flex; gap: 8px; align-items: flex-start; text-align: left; font-size: .82rem; color: rgba(255,255,255,.85); cursor: pointer; margin-top: 8px; }
.nl-consent input { margin-top: 3px; flex-shrink: 0; accent-color: #fff; }
.nl-msg { margin-top: 12px; font-size: .9rem; }
.nl-success { color: #fff; }
.nl-error { color: #ffe0e0; }
.nl-legal { font-size: .75rem; color: rgba(255,255,255,.6); margin-top: 12px; }
.nl-legal a { color: rgba(255,255,255,.8); text-decoration: underline; }
@media (max-width: 480px) { .newsletter-fields { grid-template-columns: 1fr; } .newsletter-fields input:last-child { grid-column: auto; } }

/* ===== Contact Section ===== */
.section-contact { background: var(--off-white); }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.contact-card {
    background: var(--white); padding: 32px; border-radius: var(--radius);
    box-shadow: var(--shadow-sm); text-align: center;
}
.contact-card h3 { font-size: 1.15rem; margin-bottom: 12px; }
.contact-card p { color: var(--gray-600); font-size: .95rem; line-height: 1.8; }

@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; } }

/* ===== Partner ===== */
.partner-label { color: var(--gray-600); font-size: .9rem; margin-bottom: 16px; }
.partner-logo { max-width: 220px; margin: 0 auto; opacity: .7; transition: opacity var(--transition); }
.partner-logo:hover { opacity: 1; }

/* ===== Footer ===== */
.footer { background: var(--gray-900); color: rgba(255,255,255,.6); padding: 40px 0; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a { color: rgba(255,255,255,.6); transition: color var(--transition); }
.footer-social a:hover { color: var(--green); }
.footer-copy { font-size: .85rem; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { color: rgba(255,255,255,.5); font-size: .82rem; }
.footer-links a:hover { color: #fff; }

@media (max-width: 768px) {
    .footer-inner { flex-direction: column; text-align: center; }
}

/* ===== Animations ===== */
.fade-in {
    opacity: 0; transform: translateY(24px);
    transition: opacity .6s ease, transform .6s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ===== Kurse Page ===== */
.nav-links a.active { color: var(--green); background: var(--green-light); }

.kurse-header {
    padding: 140px 0 48px;
    text-align: center;
    background: var(--off-white);
}
.kurse-header h1 { font-size: 2.4rem; margin-bottom: 8px; }
.kurse-header .section-subtitle { margin-bottom: 0; }

/* Filters */
.kurse-main { padding: 40px 0; }
.kurse-filters { padding: 24px 0 0; }
.filter-bar { display: flex; gap: 20px; flex-wrap: wrap; }
.filter-group { display: flex; flex-direction: column; gap: 4px; }
.filter-group label { font-size: .8rem; font-weight: 600; color: var(--gray-600); text-transform: uppercase; letter-spacing: .5px; }
.filter-group select {
    padding: 10px 16px; border: 1px solid var(--gray-200); border-radius: var(--radius-sm);
    font-family: 'Open Sans', sans-serif; font-size: .9rem; background: var(--white);
    cursor: pointer; min-width: 180px;
}
.filter-group select:focus, .filter-group input:focus { outline: 2px solid var(--green); border-color: var(--green); }
.filter-group input[type="text"] {
    padding: 10px 16px; border: 1px solid var(--gray-200); border-radius: var(--radius-sm);
    font-family: 'Open Sans', sans-serif; font-size: .9rem; background: var(--white); min-width: 180px;
}
.filter-search { flex: 1; }
@media (max-width: 900px) {
    .filter-bar { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
    .filter-group select, .filter-group input[type="text"] { min-width: 0; width: 100%; }
}
@media (max-width: 480px) {
    .filter-bar { grid-template-columns: 1fr; }
}

/* Layout */
.kurse-layout { display: grid; grid-template-columns: 320px 1fr; gap: 40px; align-items: start; }
/* Calendar */
.kalender-wrap {
    background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-md);
    padding: 24px; position: sticky; top: 90px;
}
@media (max-width: 900px) { .kurse-layout { grid-template-columns: 1fr; gap: 20px; } .kalender-wrap { position: static; } .kurse-main { padding: 40px 0; } }
.kalender-nav { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.kalender-title { font-size: 1.15rem; }
.cal-btn {
    width: 36px; height: 36px; border: none; background: var(--green-light);
    border-radius: 50%; font-size: 1.4rem; cursor: pointer; color: var(--green);
    display: flex; align-items: center; justify-content: center;
    transition: background var(--transition);
}
.cal-btn:hover { background: var(--green); color: #fff; }

.kalender-grid {
    display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; text-align: center;
}
.kal-head { font-size: .75rem; font-weight: 600; color: var(--gray-600); padding: 6px 0; }
#cal-cells { display: contents; }
.kal-cell {
    aspect-ratio: 1; display: flex; align-items: center; justify-content: center;
    font-size: .85rem; border-radius: 8px; color: var(--gray-800);
}
.kal-cell.empty { visibility: hidden; }
.kal-cell.has-course { background: var(--green-light); color: var(--green); font-weight: 700; cursor: pointer; }
.kal-cell.kal-gelb { background: #fef3cd; color: #856404; }
.kal-cell.kal-rot { background: #f8d7da; color: #721c24; }
.kal-cell.kal-gelb:hover { background: #f0ad4e; color: #fff; }
.kal-cell.kal-rot:hover { background: #dc3545; color: #fff; }
.kal-cell.today { box-shadow: inset 0 0 0 2px var(--green); }

/* Course list */
.kurse-liste { display: flex; flex-direction: column; gap: 16px; }
.kurse-loading, .kurse-empty { color: var(--gray-600); font-size: .95rem; padding: 24px 0; }

.kurs-card {
    background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-sm);
    padding: 24px; cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition);
}
.kurs-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.kurs-title { font-size: 1.15rem; margin-bottom: 10px; }
.kurs-meta { display: flex; flex-wrap: wrap; gap: 12px; font-size: .88rem; color: var(--gray-600); margin-bottom: 12px; }
.kurs-ampel {
    display: inline-block; padding: 4px 12px; border-radius: 20px;
    font-size: .8rem; font-weight: 600; margin-bottom: 12px;
}
.ampel-gruen { background: #e8f7ec; color: #17A53C; }
.ampel-gelb { background: #fff8e1; color: #f59e0b; }
.ampel-rot { background: #fef2f2; color: #dc2626; }

.kurs-card-actions { display: flex; gap: 10px; align-items: center; }
.btn-disabled {
    display: inline-block; padding: 10px 24px; border-radius: 50px;
    font-family: 'Quicksand', sans-serif; font-weight: 600; font-size: .88rem;
    background: var(--gray-200); color: var(--gray-600); cursor: not-allowed;
}
.btn-outline-green {
    background: transparent; color: var(--green); border: 2px solid var(--green);
    border-radius: 50px; padding: 8px 20px; font-family: 'Quicksand', sans-serif;
    font-weight: 600; font-size: .88rem; cursor: pointer;
    transition: all var(--transition);
}
.btn-outline-green:hover { background: var(--green); color: #fff; }

/* Modal */
.kurs-modal-overlay {
    display: none; position: fixed; inset: 0; z-index: 2000;
    background: rgba(0,0,0,.5); align-items: center; justify-content: center;
    padding: 24px;
}
.kurs-modal-overlay.open { display: flex; }
.kurs-modal {
    background: var(--white); border-radius: var(--radius); max-width: 640px;
    width: 100%; max-height: 85vh; overflow-y: auto; padding: 36px; position: relative;
    box-shadow: var(--shadow-lg);
}
.modal-close {
    position: absolute; top: 12px; right: 16px; background: none; border: none;
    font-size: 1.8rem; cursor: pointer; color: var(--gray-600); line-height: 1;
}
.modal-close:hover { color: var(--gray-900); }
.kurs-modal h2 { font-size: 1.5rem; margin-bottom: 16px; padding-right: 32px; }
.modal-meta p { font-size: .92rem; color: var(--gray-600); margin-bottom: 4px; }
.modal-desc { margin: 20px 0; font-size: .95rem; line-height: 1.7; color: var(--gray-800); }
.modal-actions { margin-top: 20px; }

/* ===== Subpage Styles ===== */

/* Small Hero (subpages) */
.hero-small { min-height: 50vh; }

/* ===== Forms (V2) ===== */
.form-card {
    background: var(--white); border-radius: var(--radius);
    box-shadow: var(--shadow-md); padding: 40px; max-width: 720px; margin: 0 auto;
}
.section-alt .form-card { background: var(--white); }
.v2-form .form-field { margin-bottom: 18px; }
.form-info-box { background: var(--green-light); border-left: 4px solid var(--green); padding: 14px 18px; border-radius: var(--radius-sm); margin-bottom: 18px; font-size: .92rem; color: var(--gray-800); }
.v2-form input[type="text"],
.v2-form input[type="email"],
.v2-form input[type="tel"],
.v2-form textarea,
.v2-form select {
    width: 100%; padding: 14px 18px; border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm); font-family: 'Open Sans', sans-serif;
    font-size: .95rem; transition: border-color var(--transition);
    background: var(--white); color: var(--gray-800);
}
.v2-form input:focus, .v2-form textarea:focus, .v2-form select:focus {
    outline: none; border-color: var(--green);
}
.v2-select { appearance: auto; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form-row-2 { grid-template-columns: 1fr; } }
.form-label-v2 { display: block; font-weight: 600; margin-bottom: 8px; font-size: .92rem; color: var(--gray-800); }
.radio-label-v2 {
    display: flex; align-items: flex-start; gap: 10px; padding: 8px 0;
    font-size: .93rem; color: var(--gray-800); cursor: pointer;
}
.radio-label-v2 input { margin-top: 4px; accent-color: var(--green); }
.form-section-title {
    font-family: 'Quicksand', sans-serif; font-weight: 700;
    font-size: 1.1rem; color: var(--gray-900);
    margin: 28px 0 16px; padding-top: 20px;
    border-top: 1px solid var(--gray-200);
}
.form-section-title:first-child { border-top: none; margin-top: 0; padding-top: 0; }

/* ===== Gallery (V2) ===== */
.gallery-grid-v2 {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
}
.gallery-item-v2 {
    border-radius: var(--radius-sm); overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
}
.gallery-item-v2:hover { transform: scale(1.03); box-shadow: var(--shadow-md); }
.gallery-item-v2 img { width: 100%; height: 200px; object-fit: cover; display: block; }
@media (max-width: 900px) { .gallery-grid-v2 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .gallery-grid-v2 { grid-template-columns: repeat(2, 1fr); } .gallery-item-v2 img { height: 150px; } }

/* ===== Lightbox (V2) ===== */
.lightbox-v2 {
    position: fixed; inset: 0; z-index: 9999;
    background: rgba(0,0,0,.9); display: flex; align-items: center; justify-content: center;
    cursor: pointer;
}
.lightbox-v2 img { max-width: 90vw; max-height: 90vh; border-radius: 8px; cursor: default; }
.lb-close, .lb-prev, .lb-next {
    position: absolute; background: none; border: none; color: #fff;
    font-size: 2.5rem; cursor: pointer; z-index: 10000;
    width: 50px; height: 50px; display: flex; align-items: center; justify-content: center;
    transition: opacity var(--transition);
}
.lb-close { top: 20px; right: 20px; font-size: 2rem; }
.lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 20px; top: 50%; transform: translateY(-50%); }
.lb-close:hover, .lb-prev:hover, .lb-next:hover { opacity: .7; }

/* ===== Accordion (V2) ===== */
.accordion-v2 { max-width: 800px; margin: 0 auto; }
.accordion-item {
    background: var(--white); border-radius: var(--radius-sm);
    margin-bottom: 12px; box-shadow: var(--shadow-sm); overflow: hidden;
}
.section-alt .accordion-item { background: var(--white); }
.accordion-trigger {
    width: 100%; padding: 20px 24px; border: none; background: none;
    font-family: 'Quicksand', sans-serif; font-weight: 600; font-size: 1rem;
    color: var(--gray-900); text-align: left; cursor: pointer;
    display: flex; justify-content: space-between; align-items: center;
    transition: color var(--transition);
}
.accordion-trigger:hover { color: var(--green); }
.accordion-icon {
    width: 24px; height: 24px; flex-shrink: 0; position: relative;
}
.accordion-icon::before, .accordion-icon::after {
    content: ''; position: absolute; background: var(--gray-600);
    transition: transform var(--transition);
}
.accordion-icon::before { width: 14px; height: 2px; top: 11px; left: 5px; }
.accordion-icon::after { width: 2px; height: 14px; top: 5px; left: 11px; }
.accordion-item.open .accordion-icon::after { transform: rotate(90deg); }
.accordion-content {
    max-height: 0; overflow: hidden; transition: max-height .35s ease, padding .35s ease;
    padding: 0 24px;
}
.accordion-item.open .accordion-content {
    max-height: 500px; padding: 0 24px 20px;
}
.accordion-content p { color: var(--gray-600); font-size: .95rem; line-height: 1.7; }
.accordion-content a { color: var(--green); text-decoration: underline; }

/* ===== Daten Grid (V2 Location) ===== */
.daten-grid-v2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.daten-col-v2 { display: flex; flex-direction: column; gap: 16px; }
@media (max-width: 768px) { .daten-grid-v2 { grid-template-columns: 1fr; } }

/* ===== DSGVO Map (V2 Kontakt) ===== */
.map-section-v2 { padding-top: 70px; }
.map-dsgvo-v2 { position: relative; width: 100%; height: 400px; overflow: hidden; }
.map-bg-v2 { width: 100%; height: 100%; object-fit: cover; display: block; filter: blur(0); }
.map-overlay-v2 {
    position: absolute; inset: 0;
    background: rgba(255,255,255,.85);
    backdrop-filter: blur(6px);
    display: flex; align-items: center; justify-content: center;
}
.map-overlay-content { text-align: center; max-width: 480px; padding: 24px; }
.map-overlay-content p { color: var(--gray-600); font-size: .95rem; margin-bottom: 20px; }
.map-overlay-content a:not(.btn) { color: var(--green); text-decoration: underline; }

/* ===== Video Wrapper (V2) ===== */
.video-wrapper-v2 {
    position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden;
    border-radius: var(--radius); box-shadow: var(--shadow-md);
}
.video-wrapper-v2 iframe {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0;
}

/* ===== Eventtruck Logo ===== */
.eventtruck-logo-v2 { max-width: 280px; margin: 0 auto 24px; filter: drop-shadow(0 4px 12px rgba(0,0,0,.4)); }

/* ===== Upcoming Courses (Startseite) ===== */
.upcoming-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 32px;
}
.upcoming-card {
    background: #fff;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
    transition: transform .2s, box-shadow .2s;
    display: flex;
    flex-direction: column;
}
.upcoming-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,.1);
}
.upcoming-card .course-date {
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    font-size: .9rem;
    color: var(--green);
    margin-bottom: 8px;
}
.upcoming-card h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
    line-height: 1.3;
}
.upcoming-card .course-meta {
    font-size: .85rem;
    color: #666;
    margin-bottom: 6px;
}
.upcoming-card .course-footer {
    margin-top: auto;
    padding-top: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.upcoming-card .course-price {
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    color: #222;
}
.upcoming-card .badge-free {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: .8rem;
    font-weight: 600;
}
.badge-green { background: #e8f7ec; color: #17A53C; }
.badge-yellow { background: #fff8e1; color: #f59e0b; }
.badge-red { background: #fce8e8; color: #dc2626; }
.upcoming-card .btn-book {
    display: inline-block;
    padding: 8px 20px;
    background: var(--green);
    color: #fff;
    border-radius: 50px;
    text-decoration: none;
    font-size: .85rem;
    font-weight: 600;
    transition: background .2s, box-shadow .2s;
}
.upcoming-card .btn-book:hover {
    background: var(--green-dark);
    box-shadow: 0 4px 12px rgba(23,165,60,.3);
}
.upcoming-card .btn-book.disabled {
    background: #ccc;
    cursor: not-allowed;
    pointer-events: none;
}

/* ===== Alternativtermine ===== */
.kurs-alt-termine {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #eee;
    font-size: .85rem;
}
.alt-label {
    font-weight: 600;
    color: #555;
    margin-right: 6px;
}
.alt-date {
    display: inline-block;
    padding: 3px 10px;
    margin: 3px 4px;
    border-radius: 20px;
    background: var(--green-light);
    color: var(--green);
    text-decoration: none;
    font-size: .8rem;
    font-weight: 600;
    transition: background .2s;
}
.alt-date:hover { background: var(--green); color: #fff; }
.alt-more-btn {
    display: inline-block; padding: 3px 10px; margin: 3px 4px; border-radius: 20px;
    background: var(--gray-100); color: var(--gray-600); border: 1px solid var(--gray-200);
    font-size: .8rem; font-weight: 600; cursor: pointer; transition: background .2s;
}
.alt-more-btn:hover { background: var(--gray-200); }
.alt-date.alt-full {
    background: #f3f3f3;
    color: #999;
    text-decoration: line-through;
    pointer-events: none;
}
.modal-alt-termine { margin-top: 12px; }
.modal-alt-termine .alt-date {
    display: inline-block;
    text-decoration: none;
}

/* ===== Booking Modal ===== */
.booking-modal-overlay {
    display: none; position: fixed; inset: 0; z-index: 2100;
    background: rgba(0,0,0,.55); align-items: center; justify-content: center;
    padding: 24px;
}
.booking-modal-overlay.open { display: flex; }
.booking-modal {
    background: var(--white); border-radius: var(--radius); max-width: 640px;
    width: 100%; max-height: 85vh; overflow-y: auto; padding: 36px; position: relative;
    box-shadow: var(--shadow-lg);
}
.booking-kurs-info {
    background: var(--green-light); border-radius: var(--radius-sm);
    padding: 18px 22px; margin-bottom: 24px;
}
.booking-kurs-info h2 {
    font-size: 1.25rem; margin-bottom: 8px; padding-right: 32px;
}
.booking-kurs-info .bki-meta {
    display: flex; flex-wrap: wrap; gap: 10px 20px;
    font-size: .88rem; color: var(--gray-600);
}
.booking-kurs-info .bki-meta span { white-space: nowrap; }

#extra-participants .participant-block {
    background: var(--off-white); border-radius: var(--radius-sm);
    padding: 16px 18px; margin-bottom: 12px;
}
#extra-participants .participant-block h4 {
    font-size: .95rem; margin-bottom: 10px; color: var(--green);
}

.booking-submit {
    width: 100%; margin-top: 12px; text-align: center;
}
.booking-submit:disabled {
    opacity: .6; cursor: not-allowed; transform: none !important;
    box-shadow: none !important;
}

.booking-msg {
    padding: 0; margin: 0; border-radius: var(--radius-sm);
    font-size: .92rem; line-height: 1.5;
}
.booking-msg.msg-error {
    background: #fef2f2; color: #dc2626; padding: 14px 18px; margin-bottom: 12px;
}
.booking-msg.msg-success {
    background: #e8f7ec; color: #17A53C; padding: 14px 18px; margin-bottom: 12px;
}

.booking-modal .v2-form input.invalid,
.booking-modal .v2-form select.invalid {
    border-color: #dc2626;
}
.booking-modal .v2-form .form-field.invalid {
    color: #dc2626;
}

/* ===== Kalender Hover + Count ===== */
.kal-cell.has-course {
    position: relative;
}
.kal-cell.has-course.kal-active {
    background: var(--green);
    color: #fff;
    z-index: 2;
    box-shadow: 0 0 0 3px rgba(23, 165, 60, .4);
}
.kal-cell.has-course:hover {
    background: var(--green);
    color: #fff;
    transform: scale(1.15);
    z-index: 2;
    box-shadow: 0 4px 12px rgba(23,165,60,.3);
}
.kal-count {
    position: absolute;
    top: 2px;
    right: 4px;
    font-size: .6rem;
    background: var(--green-dark);
    color: #fff;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}
.kal-cell.has-course:hover .kal-count {
    background: #fff;
    color: var(--green);
}
.kal-day { position: relative; z-index: 1; }

/* Kalender Custom Tooltip */
.kal-tooltip {
    display: none;
    position: absolute;
    bottom: calc(100% + 2px);
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
    padding: 10px 14px;
    z-index: 100;
    min-width: 240px;
    max-width: 320px;
    font-size: .82rem;
    line-height: 1.5;
    pointer-events: auto;
    cursor: default;
    white-space: normal;
    word-wrap: break-word;
}
.kal-tooltip-mobile {
    position: absolute;
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
    padding: 10px 14px;
    z-index: 200;
    font-size: .88rem;
    line-height: 1.5;
    min-width: 220px;
    max-width: 300px;
}
.kal-tooltip.visible { display: block; }
@media (min-width: 901px) { .kal-cell.has-course.kal-hover .kal-tooltip { display: block; } }
.kal-tooltip-item { padding: 4px 0; border-bottom: 1px solid var(--gray-100); }
.kal-tooltip-item:last-child { border-bottom: none; }
.kal-tooltip-title { font-weight: 600; color: var(--gray-900); }
.kal-tooltip-meta { color: var(--gray-600); font-size: .75rem; }
.kal-tooltip-ampel { display: inline-block; padding: 1px 6px; border-radius: 4px; font-size: .7rem; font-weight: 600; }
.kal-tooltip-ampel.t-gruen { background: var(--green-light); color: var(--green); }
.kal-tooltip-ampel.t-gelb { background: #fef3cd; color: #856404; }
.kal-tooltip-ampel.t-rot { background: #f8d7da; color: #721c24; }

/* Detail-Modal: Termine-Liste */
.modal-termine { margin-top: 12px; }
.modal-termine h4 { font-size: .9rem; margin-bottom: 6px; color: var(--gray-600); }
.modal-termin-item { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 6px; cursor: pointer; font-size: .85rem; transition: background .2s; }
.modal-termin-item:hover { background: var(--gray-100); }
.modal-termin-item.current { background: var(--green-light); font-weight: 600; }
.modal-termin-ampel { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.modal-termin-ampel.mt-gruen { background: var(--green); }
.modal-termin-ampel.mt-gelb { background: #f0ad4e; }
.modal-termin-ampel.mt-rot { background: #dc3545; }

/* Legal Pages */
.legal-content { max-width: 800px; margin: 0 auto; }
.legal-content h1 { font-family: 'Quicksand', sans-serif; font-size: 2rem; margin-bottom: 24px; }
.legal-content h2 { font-family: 'Quicksand', sans-serif; font-size: 1.4rem; margin: 32px 0 12px; color: var(--green-dark); }
.legal-content h3 { font-size: 1.1rem; margin: 24px 0 8px; }
.legal-content p { margin-bottom: 14px; }
.legal-content a { color: var(--green); }

/* Floating Course Banner */
.course-banner {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    max-width: 420px;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: 0 8px 32px rgba(0,0,0,.18);
    border-left: 4px solid var(--green);
    animation: bannerSlideIn .5s ease;
    overflow: hidden;
}
.course-banner.hidden { display: none; }
@keyframes bannerSlideIn {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
.course-banner-inner {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
}
.course-banner-icon { font-size: 1.6rem; flex-shrink: 0; }
.course-banner-text { flex: 1; min-width: 0; }
.course-banner-text strong { display: block; font-size: .92rem; color: var(--gray-900); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.course-banner-text span { display: block; font-size: .8rem; color: var(--gray-600); margin-top: 2px; }
.course-banner .btn-sm { flex-shrink: 0; padding: 8px 16px; font-size: .82rem; }
.course-banner-close {
    position: absolute;
    top: 6px; right: 8px;
    background: none; border: none;
    font-size: 1.2rem; color: var(--gray-600);
    cursor: pointer; line-height: 1;
}
.course-banner-close:hover { color: var(--gray-900); }
@media (max-width: 480px) {
    .course-banner { left: 12px; right: 12px; max-width: none; bottom: 12px; }
}
body.consent-visible .course-banner { bottom: calc(var(--consent-height, 80px) + 24px); }

/* Upcoming Courses — Conversion */
.section-upcoming { background: linear-gradient(135deg, #f0faf3 0%, #e8f7ec 50%, #f0faf3 100%); padding: 80px 0; }
.upcoming-header { text-align: center; margin-bottom: 40px; }
.upcoming-header h2 { font-size: 2.2rem; color: var(--green-dark); }
.upcoming-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.upcoming-card {
    position: relative;
    background: #fff;
    border-radius: var(--radius);
    padding: 28px 24px 24px;
    box-shadow: var(--shadow-md);
    transition: transform .3s, box-shadow .3s;
    display: flex; flex-direction: column;
}
.upcoming-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.upcoming-card h3 { font-family: 'Quicksand', sans-serif; font-size: 1.15rem; margin: 8px 0 6px; color: var(--gray-900); }
.upcoming-card .course-date { font-weight: 600; color: var(--green); font-size: .9rem; }
.upcoming-card .course-time { color: var(--gray-600); font-size: .85rem; }
.upcoming-card .course-meta { color: var(--gray-600); font-size: .88rem; margin-bottom: 12px; }
.upcoming-card .course-footer { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 14px; border-top: 1px solid var(--gray-100); }
.upcoming-card .course-price { font-size: 1.2rem; font-weight: 700; color: var(--gray-900); }
.upcoming-card .btn-book { white-space: nowrap; padding: 10px 22px; font-size: .95rem; }
.badge-free { display: inline-block; padding: 2px 10px; border-radius: 20px; font-size: .78rem; font-weight: 600; }
.badge-green { background: var(--green-light); color: var(--green); }
.badge-yellow { background: #fef3cd; color: #856404; }
.badge-red { background: #f8d7da; color: #721c24; }
.urgency-badge {
    position: absolute;
    top: -10px; right: 16px;
    background: #dc3545;
    color: #fff;
    font-size: .78rem;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(220,53,69,.3);
    animation: urgencyPulse 2s infinite;
}
@keyframes urgencyPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}
.btn-lg { padding: 16px 36px; font-size: 1.1rem; }

/* Instagram Section */
.section-instagram { background: var(--off-white); }
.insta-embed-wrap { margin: 30px auto 0; max-width: 540px; width: 100%; }
.insta-btn {
    display: inline-flex;
    align-items: center;
    margin-top: 20px;
    padding: 14px 32px;
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    font-family: 'Quicksand', sans-serif;
    border-radius: 50px;
    text-decoration: none;
    transition: transform .3s, box-shadow .3s;
}
.insta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(225, 48, 108, .35);
}
.insta-btn svg { fill: #fff; }
.kurs-card.highlight {
    outline: 3px solid var(--green);
    outline-offset: 2px;
    transition: outline .3s;
}

/* ===== Consent Trigger Button ===== */
#consent-trigger {
    position: fixed; bottom: 16px; left: 16px; z-index: 9998;
    width: 40px; height: 40px; border-radius: 50%;
    background: #fff; border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-md); cursor: pointer;
    font-size: 1.2rem; align-items: center; justify-content: center;
    transition: transform .2s, box-shadow .2s;
}
#consent-trigger:hover { transform: scale(1.1); box-shadow: var(--shadow-lg); }

/* ===== Consent Banner ===== */
#consent-banner {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999;
    background: #fff; border-top: 1px solid var(--gray-200);
    box-shadow: 0 -2px 12px rgba(0,0,0,.08);
    padding: 12px 20px;
    display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
    font-size: .85rem; color: var(--gray-800);
}
.consent-text { flex: 1; min-width: 200px; }
.consent-toggle-link { color: var(--green); }
.consent-links a { color: var(--green); }
#consent-details { margin: 10px 0 4px; padding: 12px 16px; background: var(--gray-100); border-radius: var(--radius-sm); }
.consent-check-label { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; font-size: .88rem; }
.consent-check-label input { margin-top: 3px; flex-shrink: 0; width: 16px; height: 16px; cursor: pointer; accent-color: var(--green); }
.consent-actions { display: flex; gap: 8px; flex-shrink: 0; flex-wrap: wrap; align-items: center; }
.consent-btn-equal {
    background: none; color: var(--gray-800); border: 1px solid var(--gray-800); cursor: pointer;
    padding: 7px 16px; border-radius: var(--radius-sm); font-family: 'Quicksand', sans-serif;
    font-weight: 700; font-size: .82rem; transition: background .2s, color .2s; white-space: nowrap;
}
.consent-btn-equal:hover { background: var(--gray-800); color: #fff; }
.consent-btn-primary { background: var(--gray-800); color: #fff; }
.consent-btn-primary:hover { background: #000; border-color: #000; }

/* Instagram Consent Placeholder */
.insta-consent-placeholder {
    background: var(--gray-100); border-radius: var(--radius); padding: 32px 24px;
    text-align: center; max-width: 540px; margin: 30px auto 0;
}
.insta-consent-placeholder p { margin: 0 0 12px; font-size: .9rem; color: var(--gray-600); }
.insta-consent-placeholder button {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: #fff; border: none; cursor: pointer;
    padding: 10px 24px; border-radius: 50px; font-family: 'Quicksand', sans-serif;
    font-weight: 700; font-size: .9rem;
}
