/* ════════════════════════════════════════════════════════════════
   Medizinische Fußpflege lernen – Design System
   Akademisch-seriös: tiefes Petrol + warmes Bernstein.
   Bewusst andere Marke als fusspflegehildesheim.de / diabetes-site.
   ════════════════════════════════════════════════════════════════ */

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

:root {
    --petrol: #1B3E55;
    --petrol-deep: #0F2A3D;
    --petrol-light: #E8EFF4;
    --petrol-glow: rgba(27, 62, 85, 0.12);
    --amber: #C8782A;
    --amber-warm: #E0903A;
    --amber-light: #FBF1E4;
    --amber-glow: rgba(200, 120, 42, 0.14);
    --cream: #FBF7F0;
    --text: #1A2530;
    --text-mid: #3E5161;
    --text-light: #708293;
    --bg: #FDFBF6;
    --white: #ffffff;
    --green: #2e8b66;
    --line: #E6DFD2;
    --shadow-sm: 0 2px 8px rgba(26, 37, 48, 0.06);
    --shadow-md: 0 8px 30px rgba(26, 37, 48, 0.08);
    --shadow-lg: 0 16px 50px rgba(26, 37, 48, 0.10);
    --radius: 12px;
    --radius-lg: 22px;
    --serif: 'DM Serif Display', Georgia, serif;
    --sans: 'Source Sans 3', 'Segoe UI', sans-serif;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    font-family: var(--sans);
    color: var(--text);
    background: var(--bg);
    line-height: 1.65;
    font-size: 17px;
    font-weight: 400;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ─── Utility ─── */
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 760px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ─── Grain Overlay (subtil) ─── */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.022;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 200px;
}

/* ─── Scroll Animations ─── */
.js .reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s cubic-bezier(0.23, 1, 0.32, 1), transform 0.7s cubic-bezier(0.23, 1, 0.32, 1);
}
.js .reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
@media (prefers-reduced-motion: reduce) {
    .reveal, .js .reveal { opacity: 1; transform: none; transition: none; }
    html { scroll-behavior: auto; }
}

/* ─── Nav ─── */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: rgba(253, 251, 246, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(27, 62, 85, 0.08);
    transition: box-shadow 0.3s ease;
}
.nav.scrolled { box-shadow: 0 2px 20px rgba(26, 37, 48, 0.07); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.nav-brand {
    font-family: var(--serif);
    font-size: 1.18rem;
    color: var(--text);
    text-decoration: none;
    letter-spacing: -0.01em;
    line-height: 1.1;
}
.nav-brand span { color: var(--petrol); }
.nav-brand small {
    display: block;
    font-family: var(--sans);
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-light);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-top: 2px;
}
.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 22px;
    background: var(--petrol);
    color: white;
    border: none;
    border-radius: 50px;
    font-family: var(--sans);
    font-size: 0.92rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
}
.nav-cta:hover { background: var(--petrol-deep); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(27, 62, 85, 0.3); }

/* ─── Primary Button (Amber Akzent) ─── */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 34px;
    background: var(--amber);
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-family: var(--sans);
    font-size: 1.05rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 4px 20px rgba(200, 120, 42, 0.28);
    letter-spacing: 0.01em;
}
.btn-primary:hover { background: var(--amber-warm); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(200, 120, 42, 0.36); }
.btn-primary svg { width: 18px; height: 18px; }
.btn-secondary {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 15px 30px;
    background: transparent;
    color: var(--petrol);
    border: 2px solid var(--petrol);
    border-radius: 50px;
    font-family: var(--sans);
    font-size: 1rem; font-weight: 700; text-decoration: none;
    transition: all 0.25s ease;
}
.btn-secondary:hover { background: var(--petrol); color: white; }
.btn-secondary svg { width: 16px; height: 16px; }

/* ─── Hero ─── */
.hero {
    padding: 160px 0 110px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(168deg, var(--cream) 0%, var(--petrol-light) 55%, var(--cream) 100%);
}
.hero::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0; right: 0;
    height: 80px;
    background: var(--bg);
    clip-path: ellipse(58% 100% at 50% 100%);
}
.hero-deco {
    position: absolute; width: 540px; height: 540px; border-radius: 50%;
    background: radial-gradient(circle, var(--petrol-glow), transparent 70%);
    top: -130px; right: -160px; pointer-events: none;
}
.hero-deco-2 {
    position: absolute; width: 320px; height: 320px; border-radius: 50%;
    background: radial-gradient(circle, var(--amber-glow), transparent 70%);
    bottom: 40px; left: -90px; pointer-events: none;
}
.hero-content { position: relative; z-index: 2; max-width: 840px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 14px;
    background: var(--white);
    border: 1px solid rgba(27, 62, 85, 0.18);
    border-radius: 50px;
    font-size: 0.82rem; font-weight: 600; color: var(--petrol-deep);
    letter-spacing: 0.01em;
}
.hero-badge svg { width: 14px; height: 14px; flex-shrink: 0; color: var(--amber); }
.hero h1 {
    font-family: var(--serif);
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    line-height: 1.12; color: var(--text);
    margin-bottom: 18px; letter-spacing: -0.02em;
}
.hero h1 em { font-style: italic; color: var(--petrol); }
.hero-sub {
    font-size: 1.22rem; color: var(--text-mid);
    margin-bottom: 36px; font-weight: 400; line-height: 1.55; max-width: 660px;
}
.hero-cta-row { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.hero-cta-note { font-size: 0.92rem; color: var(--text-light); }
.hero-trust { margin-top: 44px; display: flex; gap: 28px; flex-wrap: wrap; }
.hero-trust-item { display: flex; align-items: center; gap: 8px; font-size: 0.92rem; color: var(--text-mid); }
.hero-trust-item svg { width: 20px; height: 20px; color: var(--petrol); flex-shrink: 0; }

/* ─── Sections ─── */
section { padding: 96px 0; }
.section-head { max-width: 700px; }
.section-head.center { margin: 0 auto; text-align: center; }
.section-label {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 16px;
    background: var(--amber-light); color: var(--amber);
    border-radius: 50px;
    font-size: 0.78rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.10em; margin-bottom: 18px;
}
.section-title {
    font-family: var(--serif);
    font-size: clamp(1.85rem, 3.6vw, 2.6rem);
    line-height: 1.2; color: var(--text);
    margin-bottom: 18px; letter-spacing: -0.01em;
}
.section-desc { font-size: 1.08rem; color: var(--text-mid); line-height: 1.7; }

/* ─── Why-Now Block ─── */
.why { background: var(--white); position: relative; }
.why-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 60px; align-items: center; }
.why-visual {
    position: relative; padding: 48px;
    background: linear-gradient(135deg, var(--petrol-light), var(--amber-light));
    border-radius: var(--radius-lg); text-align: center;
}
.why-visual-icon {
    width: 84px; height: 84px; margin: 0 auto 24px;
    background: var(--white); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: var(--shadow-md);
}
.why-visual-icon svg { width: 40px; height: 40px; color: var(--petrol); }
.why-visual blockquote {
    font-family: var(--serif); font-size: 1.48rem; font-style: italic;
    color: var(--text); line-height: 1.4;
}
.why-visual cite { display: block; margin-top: 16px; font-size: 0.95rem; font-style: normal; color: var(--text-light); }

/* ─── Was macht uns besonders – Checkliste ─── */
.special { background: linear-gradient(170deg, var(--bg) 0%, var(--petrol-light) 100%); position: relative; }
.special::before {
    content: ''; position: absolute; top: -2px; left: 0; right: 0; height: 60px;
    background: var(--white); clip-path: ellipse(58% 100% at 50% 0%);
}
.check-list { list-style: none; margin-top: 42px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.check-list li {
    display: flex; align-items: flex-start; gap: 14px;
    background: var(--white); padding: 22px 24px;
    border-radius: var(--radius);
    border: 1px solid rgba(27, 62, 85, 0.08);
    font-size: 1.02rem; color: var(--text-mid);
    transition: all 0.25s ease;
}
.check-list li:hover { box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.check-list .check-ic {
    width: 28px; height: 28px; flex-shrink: 0;
    background: var(--petrol-light); color: var(--petrol);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    margin-top: 2px;
}
.check-list .check-ic svg { width: 15px; height: 15px; }

/* ─── Audience (Für wen?) ─── */
.audience { background: var(--white); }
.audience-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px; margin-top: 42px;
}
.audience-card {
    background: var(--bg); padding: 30px 26px; border-radius: var(--radius);
    text-align: left; transition: all 0.3s ease; border: 1px solid rgba(27, 62, 85, 0.07);
    display: flex; gap: 14px; align-items: flex-start;
}
.audience-card:hover { border-color: var(--petrol); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.audience-card .ac-num {
    width: 36px; height: 36px; flex-shrink: 0;
    background: var(--petrol); color: white;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-family: var(--serif); font-size: 1.05rem; font-weight: 700;
}
.audience-card h3 { font-family: var(--serif); font-size: 1.1rem; margin-bottom: 4px; font-weight: 400; line-height: 1.3; }
.audience-card p { font-size: 0.92rem; color: var(--text-light); line-height: 1.5; margin: 0; }

/* ─── Kurs-Details (2- oder 3-Tage) ─── */
.course { background: linear-gradient(170deg, var(--petrol-light) 0%, var(--white) 100%); }
.course-card {
    max-width: 880px; margin: 44px auto 0;
    background: var(--white); border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg); border: 1px solid rgba(27, 62, 85, 0.12);
    overflow: hidden;
}
.course-top {
    padding: 38px 40px 28px;
    background: linear-gradient(135deg, var(--petrol-deep), var(--petrol));
    color: white;
    display: flex; gap: 32px; align-items: center; flex-wrap: wrap;
}
.course-top-text { flex: 1; min-width: 260px; }
.course-top-text h3 {
    font-family: var(--serif); font-size: 1.8rem; font-weight: 400;
    margin-bottom: 8px; line-height: 1.2;
}
.course-top-text p { color: rgba(255,255,255,0.85); font-size: 1.02rem; }
.course-top-stats { display: flex; gap: 28px; flex-wrap: wrap; }
.course-stat { text-align: center; }
.course-stat-num { font-family: var(--serif); font-size: 2.3rem; line-height: 1; color: var(--amber-warm); }
.course-stat-label { font-size: 0.82rem; color: rgba(255,255,255,0.75); margin-top: 4px; letter-spacing: 0.04em; text-transform: uppercase; }
.course-body {
    padding: 34px 40px 38px;
    display: grid; grid-template-columns: 1fr 1fr; gap: 36px;
}
.course-body h4 {
    font-family: var(--sans); font-size: 0.82rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.10em;
    color: var(--amber); margin-bottom: 14px;
}
.course-list { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.course-list li { display: flex; align-items: flex-start; gap: 11px; font-size: 0.98rem; color: var(--text-mid); line-height: 1.55; }
.course-list li svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--green); margin-top: 4px; }
.course-foot {
    padding: 22px 40px;
    background: var(--cream);
    border-top: 1px solid var(--line);
    display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
}
.course-foot-note { font-size: 0.92rem; color: var(--text-mid); }
.course-foot-note strong { color: var(--text); }

/* ─── Termine ─── */
.termine { background: var(--cream); position: relative; }
.termine-legend {
    margin-top: 26px;
    display: flex; justify-content: center; gap: 18px 26px; flex-wrap: wrap;
    font-size: 0.85rem; color: var(--text-mid);
}
.termine-legend-item { display: inline-flex; align-items: center; gap: 8px; }
.termine-legend-dot {
    width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0;
    border: 1px solid rgba(0,0,0,0.06);
}
.termine-legend-dot.is-frei         { background: #2e8b66; }
.termine-legend-dot.is-wenige       { background: #d49e1f; }
.termine-legend-dot.is-voll         { background: #b94545; }
.termine-legend-dot.is-sonderpreis  { background: #1B6B8E; }

.termine-grid {
    margin-top: 32px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
}
.termin-card {
    position: relative;
    background: var(--white);
    border: 1.5px solid var(--line);
    border-radius: var(--radius);
    padding: 20px 20px 18px;
    display: flex; flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    overflow: hidden;
}
.termin-card::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 5px;
    background: var(--line);
}
.termin-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

/* Status-Varianten */
.termin-card.is-frei         { border-color: rgba(46, 139, 102, 0.35); background: #F2FBF6; }
.termin-card.is-frei::before { background: #2e8b66; }
.termin-card.is-wenige       { border-color: rgba(212, 158, 31, 0.45); background: #FEF8E8; }
.termin-card.is-wenige::before { background: #d49e1f; }
.termin-card.is-voll         { border-color: rgba(185, 69, 69, 0.35); background: #FBEFEF; opacity: 0.72; }
.termin-card.is-voll::before { background: #b94545; }
.termin-card.is-voll:hover   { transform: none; opacity: 0.78; }
.termin-card.is-sonderpreis  { border-color: rgba(27, 107, 142, 0.45); background: linear-gradient(170deg, #EAF4F9, #F4FAFE); }
.termin-card.is-sonderpreis::before { background: linear-gradient(90deg, #1B6B8E, #2E94BC); }

.termin-card .termin-status-badge {
    align-self: flex-start;
    display: inline-flex; align-items: center; gap: 6px;
    padding: 3px 10px;
    border-radius: 50px;
    font-size: 0.72rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.05em;
    margin-bottom: 14px;
}
.termin-card.is-frei         .termin-status-badge { background: rgba(46, 139, 102, 0.14); color: #1F6B4B; }
.termin-card.is-wenige       .termin-status-badge { background: rgba(212, 158, 31, 0.18); color: #8C6712; }
.termin-card.is-voll         .termin-status-badge { background: rgba(185, 69, 69, 0.16); color: #8C2828; }
.termin-card.is-sonderpreis  .termin-status-badge { background: rgba(27, 107, 142, 0.16); color: #0F4D69; }

.termin-card-date {
    font-family: var(--serif);
    font-size: 1.6rem; line-height: 1.1;
    color: var(--text);
}
.termin-card-day {
    font-size: 0.88rem; color: var(--text-mid); margin-top: 2px;
}
.termin-card-meta {
    margin-top: 14px; padding-top: 14px;
    border-top: 1px dashed var(--line);
    display: flex; flex-direction: column; gap: 4px;
    font-size: 0.92rem; color: var(--text-mid);
}
.termin-card-meta strong { color: var(--text); }
.termin-card-price-row {
    margin-top: 14px;
    display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap;
}
.termin-card-price {
    font-family: var(--serif); font-size: 1.55rem; line-height: 1; color: var(--text);
}
.termin-card-price .cur { font-size: 1rem; margin-left: 2px; }
.termin-card-price-old {
    font-size: 0.95rem; color: var(--text-light); text-decoration: line-through;
}
.termin-card-foot {
    margin-top: 16px;
}
.termin-card .termin-card-cta {
    display: block; text-align: center;
    padding: 10px 16px;
    border-radius: 50px;
    font-size: 0.92rem; font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
}
.termin-card.is-frei         .termin-card-cta { background: #2e8b66; color: #fff; }
.termin-card.is-frei         .termin-card-cta:hover { background: #267557; }
.termin-card.is-wenige       .termin-card-cta { background: #d49e1f; color: #fff; }
.termin-card.is-wenige       .termin-card-cta:hover { background: #b78717; }
.termin-card.is-sonderpreis  .termin-card-cta { background: #1B6B8E; color: #fff; }
.termin-card.is-sonderpreis  .termin-card-cta:hover { background: #155570; }
.termin-card.is-voll         .termin-card-cta { background: transparent; color: #8C2828; border: 1.5px dashed rgba(185, 69, 69, 0.35); cursor: default; pointer-events: none; }

.termine-state {
    margin-top: 32px;
    text-align: center;
    padding: 24px;
    color: var(--text-mid);
    background: var(--white);
    border: 1px dashed var(--line);
    border-radius: var(--radius);
}
.termine-state a { color: var(--petrol); font-weight: 600; }
.termine-skel {
    background: linear-gradient(90deg, var(--white) 0%, #f4eedd 50%, var(--white) 100%);
    background-size: 200% 100%;
    animation: termineSkel 1.4s infinite;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    min-height: 230px;
}
@keyframes termineSkel { to { background-position: -200% 0; } }
.termine-foot-note {
    margin-top: 30px;
    text-align: center;
    font-size: 0.92rem;
    color: var(--text-light);
}
.termine-foot-note a { color: var(--petrol); font-weight: 600; }

/* ─── Anmelde-Modal (öffnet bei Klick auf Termin-Karte) ─── */
.anm-modal {
    position: fixed; inset: 0; z-index: 300;
    background: rgba(15, 42, 61, 0.74);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex; align-items: center; justify-content: center;
    padding: 16px;
    opacity: 0; pointer-events: none;
    transition: opacity 0.25s ease;
}
.anm-modal[aria-hidden="false"] { opacity: 1; pointer-events: auto; }
.anm-modal-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: 0 30px 80px rgba(0,0,0,0.4);
    max-width: 540px; width: 100%;
    max-height: 92vh; overflow-y: auto;
    transform: translateY(20px) scale(0.96);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
}
.anm-modal[aria-hidden="false"] .anm-modal-card { transform: translateY(0) scale(1); }
.anm-modal-close {
    position: absolute; top: 14px; right: 14px;
    width: 36px; height: 36px;
    background: var(--cream); border: 1px solid var(--line);
    border-radius: 50%; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; color: var(--text-mid);
    transition: all 0.2s ease;
}
.anm-modal-close:hover { background: var(--line); color: var(--text); }

.anm-modal-head {
    padding: 30px 32px 22px;
    background: linear-gradient(135deg, var(--petrol-deep), var(--petrol));
    color: white;
    border-top-left-radius: var(--radius-lg);
    border-top-right-radius: var(--radius-lg);
}
.anm-modal-eyebrow {
    font-size: 0.78rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.10em;
    color: var(--amber-warm); margin-bottom: 8px;
}
.anm-modal-head h2 {
    font-family: var(--serif); font-size: 1.7rem; font-weight: 400;
    line-height: 1.2; color: white;
}

.anm-modal-body { padding: 28px 32px 18px; }
.anm-modal-info {
    display: grid; grid-template-columns: auto 1fr; gap: 10px 18px;
    margin-bottom: 22px;
    font-size: 0.98rem;
}
.anm-modal-info dt { color: var(--text-light); font-weight: 500; }
.anm-modal-info dd { color: var(--text); font-weight: 600; }
.anm-modal-info .anm-price { font-family: var(--serif); font-size: 1.25rem; color: var(--petrol); }
.anm-modal-info .anm-price-old {
    color: var(--text-light); text-decoration: line-through; font-weight: 400;
    margin-left: 6px; font-size: 1rem;
}

.anm-modal-steps {
    background: var(--cream); border: 1px solid var(--line);
    border-radius: var(--radius); padding: 18px 20px;
    margin-bottom: 24px;
}
.anm-modal-steps h3 {
    font-family: var(--sans); font-size: 0.82rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.10em;
    color: var(--amber); margin-bottom: 10px;
}
.anm-modal-steps ol {
    margin: 0; padding-left: 20px;
    font-size: 0.95rem; color: var(--text-mid); line-height: 1.6;
}
.anm-modal-steps ol li { margin-bottom: 4px; }
.anm-modal-steps ol li strong { color: var(--text); }

.anm-modal-actions {
    padding: 0 32px 28px;
    display: flex; flex-direction: column; gap: 12px;
}
.anm-modal-actions .btn-primary { justify-content: center; }
.anm-modal-actions .btn-secondary { justify-content: center; }
.anm-modal-hint {
    font-size: 0.85rem; color: var(--text-light); text-align: center;
    margin-top: 4px;
}
.anm-modal-hint a { color: var(--petrol); font-weight: 600; }

@media (max-width: 540px) {
    .anm-modal-head { padding: 24px 22px 18px; }
    .anm-modal-body { padding: 22px 22px 12px; }
    .anm-modal-actions { padding: 0 22px 24px; }
    .anm-modal-info { grid-template-columns: 1fr; gap: 4px; margin-bottom: 18px; }
    .anm-modal-info dt { margin-top: 8px; font-size: 0.85rem; }
}

/* ─── Über uns / 30 Jahre Erfahrung ─── */
.about { background: var(--white); }
.about-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 56px; align-items: center; }
.about-stats {
    display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
    margin-top: 30px;
}
.about-stat {
    background: var(--cream);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 22px 20px;
    text-align: center;
}
.about-stat-num { font-family: var(--serif); font-size: 2rem; color: var(--petrol); line-height: 1; }
.about-stat-label { font-size: 0.88rem; color: var(--text-mid); margin-top: 6px; }
.about-visual {
    position: relative;
    padding: 50px 44px;
    background: linear-gradient(155deg, var(--amber-light), var(--petrol-light));
    border-radius: var(--radius-lg);
    text-align: center;
}
.about-visual-emoji { font-size: 3rem; line-height: 1; margin-bottom: 18px; }
.about-visual h3 { font-family: var(--serif); font-size: 1.65rem; font-weight: 400; line-height: 1.3; color: var(--text); margin-bottom: 12px; }
.about-visual p { font-size: 1rem; color: var(--text-mid); line-height: 1.6; }

/* Foto-Variante (statt Emoji-Karte) */
.about-visual.with-photo { padding: 0; overflow: hidden; text-align: left; background: var(--petrol-deep); }
.about-visual.with-photo .about-photo { display: block; width: 100%; height: 100%; min-height: 380px; object-fit: cover; }
.about-visual.with-photo .about-photo-caption {
    position: absolute; left: 0; right: 0; bottom: 0;
    padding: 26px 28px 24px;
    background: linear-gradient(to top, rgba(15, 42, 61, 0.92) 0%, rgba(15, 42, 61, 0.7) 60%, transparent 100%);
    color: var(--white);
}
.about-visual.with-photo .about-photo-caption blockquote {
    font-family: var(--serif); font-size: 1.25rem; font-style: italic;
    color: var(--white); line-height: 1.4; margin-bottom: 6px;
}
.about-visual.with-photo .about-photo-caption cite {
    font-style: normal; font-size: 0.88rem; color: var(--amber-warm);
    letter-spacing: 0.02em;
}

/* ─── Praxis-Galerie ─── */
.gallery { background: var(--cream); }
.gallery-grid {
    margin-top: 44px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 230px;
    gap: 14px;
}
.gallery-item {
    position: relative; overflow: hidden;
    border-radius: var(--radius);
    background: var(--petrol-light);
    box-shadow: var(--shadow-sm);
}
.gallery-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item-caption {
    position: absolute; left: 0; right: 0; bottom: 0;
    padding: 16px 18px 14px;
    background: linear-gradient(to top, rgba(15, 42, 61, 0.85), transparent);
    color: var(--white);
    font-size: 0.92rem; font-weight: 600;
    letter-spacing: 0.01em;
}
.gallery-item.is-wide { grid-column: span 2; }
.gallery-item.is-tall { grid-row: span 2; }
/* .is-std: 1×1, default */
.gallery-note {
    margin-top: 22px;
    text-align: center;
    font-size: 0.92rem; color: var(--text-light);
}

/* ─── Stimmen / Testimonials ─── */
.voices { background: var(--white); }
.voices-trust {
    margin-top: 28px;
    display: flex; align-items: center; justify-content: center;
    gap: 14px; flex-wrap: wrap;
    padding: 18px 26px;
    background: var(--cream);
    border: 1px solid var(--line);
    border-radius: 50px;
    max-width: 540px; margin-left: auto; margin-right: auto;
}
.voices-trust-score {
    font-family: var(--serif); font-size: 1.8rem; line-height: 1; color: var(--text);
}
.voices-trust-stars { color: var(--amber); font-size: 1.1rem; letter-spacing: 0.12em; }
.voices-trust-meta { font-size: 0.92rem; color: var(--text-mid); }
.voices-trust-meta strong { color: var(--text); }
.voices-trust-meta a { color: var(--petrol); text-decoration: none; font-weight: 600; }
.voices-trust-meta a:hover { text-decoration: underline; }
.voices-grid {
    margin-top: 44px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.voice-card {
    background: var(--cream);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px 26px;
    display: flex; flex-direction: column;
    position: relative;
}
.voice-card::before {
    content: '"';
    position: absolute; top: 10px; right: 22px;
    font-family: var(--serif); font-size: 5rem; line-height: 1;
    color: var(--amber-light);
    pointer-events: none;
}
.voice-stars {
    color: var(--amber);
    font-size: 0.95rem;
    letter-spacing: 0.15em;
    margin-bottom: 14px;
}
.voice-text {
    font-size: 1rem; color: var(--text-mid);
    line-height: 1.65; flex: 1;
    position: relative; z-index: 1;
}
.voice-meta {
    margin-top: 18px; padding-top: 14px;
    border-top: 1px solid var(--line);
    display: flex; align-items: center; gap: 10px;
    flex-wrap: wrap;
}
.voice-author { font-weight: 700; color: var(--text); font-size: 0.95rem; }
.voice-date   { font-size: 0.82rem; color: var(--text-light); }
.voice-badge {
    margin-left: auto;
    display: inline-flex; align-items: center; gap: 4px;
    font-size: 0.74rem; font-weight: 700;
    color: var(--petrol);
    background: var(--petrol-light);
    padding: 4px 10px; border-radius: 50px;
    letter-spacing: 0.02em; text-transform: uppercase;
}
.voices-source {
    margin-top: 30px; text-align: center;
    font-size: 0.9rem; color: var(--text-light);
}
.voices-source a { color: var(--petrol); }

/* ─── Emotional CTA-Band (zwischen Sections) ─── */
.cta-band {
    background: linear-gradient(135deg, var(--petrol-deep) 0%, var(--petrol) 100%);
    color: var(--white); text-align: center; position: relative; overflow: hidden;
}
.cta-band::after {
    content: ''; position: absolute; width: 520px; height: 520px; border-radius: 50%;
    background: radial-gradient(circle, rgba(224, 144, 58, 0.18), transparent 70%);
    top: -180px; right: -120px; pointer-events: none;
}
.cta-band::before {
    content: ''; position: absolute; width: 360px; height: 360px; border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.08), transparent 70%);
    bottom: -120px; left: -80px; pointer-events: none;
}
.cta-band .cta-inner { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; }
.cta-band .cta-quote {
    font-family: var(--serif); font-style: italic; font-size: 1.55rem;
    color: var(--amber-warm); margin-bottom: 18px; line-height: 1.4;
}
.cta-band h2 {
    font-family: var(--serif); font-size: clamp(1.8rem, 4vw, 2.6rem);
    line-height: 1.2; margin-bottom: 16px;
}
.cta-band p { font-size: 1.12rem; color: rgba(255,255,255,0.88); margin-bottom: 32px; line-height: 1.65; }
.cta-band .btn-primary { box-shadow: 0 8px 30px rgba(0,0,0,0.25); }
.cta-band .cta-sub { margin-top: 18px; font-size: 0.92rem; color: rgba(255,255,255,0.78); }

/* ─── Kontaktformular (Infogespräch) ─── */
.contact { background: linear-gradient(170deg, var(--white) 0%, var(--cream) 100%); }
.contact-card {
    max-width: 720px; margin: 44px auto 0;
    background: var(--white); border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg); border: 1px solid rgba(27, 62, 85, 0.10);
    padding: 44px 48px;
}
.contact-card .lead-intro {
    font-size: 1.05rem; color: var(--text-mid);
    margin-bottom: 28px; line-height: 1.7;
}
.lead-form { display: flex; flex-direction: column; gap: 18px; }
.lead-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.lead-field { display: flex; flex-direction: column; gap: 6px; }
.lead-field label {
    font-size: 0.88rem; font-weight: 600; color: var(--text);
    letter-spacing: 0.01em;
}
.lead-field label .req { color: var(--amber); margin-left: 3px; }
.lead-field input, .lead-field textarea, .lead-field select {
    font-family: var(--sans);
    font-size: 1rem;
    padding: 13px 16px;
    border: 1.5px solid var(--line);
    border-radius: 10px;
    background: var(--cream);
    color: var(--text);
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
    width: 100%;
}
.lead-field input:focus, .lead-field textarea:focus, .lead-field select:focus {
    outline: none;
    border-color: var(--petrol);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(27, 62, 85, 0.10);
}
.lead-field textarea { resize: vertical; min-height: 108px; }
.lead-hp { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }
.lead-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 0.9rem; color: var(--text-mid); line-height: 1.55; }
.lead-consent input { margin-top: 4px; flex-shrink: 0; width: 18px; height: 18px; accent-color: var(--petrol); }
.lead-consent a { color: var(--petrol); }
.lead-submit-row { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 8px; }
.lead-submit-row .btn-primary { padding: 15px 32px; }
.lead-submit-row .lead-submit-note { font-size: 0.88rem; color: var(--text-light); }
.lead-status { font-size: 0.95rem; line-height: 1.55; padding: 14px 18px; border-radius: 10px; display: none; }
.lead-status.ok { display: block; background: #E8F5EF; color: #1F6B4B; border: 1px solid #BFE0CF; }
.lead-status.err { display: block; background: #FBE9E9; color: #8C2828; border: 1px solid #E6BABA; }
.lead-form.is-busy .btn-primary { opacity: 0.6; pointer-events: none; }

/* ─── FAQ ─── */
.faq { background: var(--white); }
.faq-list { max-width: 760px; margin: 42px auto 0; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-question {
    width: 100%; display: flex; align-items: center; justify-content: space-between;
    padding: 22px 0; background: none; border: none;
    font-family: var(--sans); font-size: 1.08rem; font-weight: 600; color: var(--text);
    cursor: pointer; text-align: left; gap: 16px;
}
.faq-question:hover { color: var(--petrol); }
.faq-icon {
    width: 32px; height: 32px; flex-shrink: 0; border-radius: 50%;
    background: var(--petrol-light); display: flex; align-items: center; justify-content: center;
    transition: transform 0.3s ease;
}
.faq-icon svg { width: 16px; height: 16px; color: var(--petrol); }
.faq-item.open .faq-icon { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s cubic-bezier(0.23, 1, 0.32, 1); }
.faq-answer-inner { padding: 0 0 22px; font-size: 1rem; color: var(--text-mid); line-height: 1.7; }

/* ─── Footer ─── */
.footer { background: var(--text); color: rgba(255, 255, 255, 0.62); padding: 52px 0 34px; }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 36px; }
.footer-brand { font-family: var(--serif); font-size: 1.2rem; color: var(--white); margin-bottom: 8px; line-height: 1.2; }
.footer-brand span { color: var(--amber-warm); }
.footer-info p { font-size: 0.92rem; line-height: 1.7; }
.footer-info a { color: var(--amber-warm); text-decoration: none; }
.footer-info a:hover { text-decoration: underline; }
.footer-links { display: flex; gap: 26px; align-items: flex-start; flex-wrap: wrap; }
.footer-links a { color: rgba(255, 255, 255, 0.62); text-decoration: none; font-size: 0.92rem; transition: color 0.2s ease; }
.footer-links a:hover { color: var(--white); }
.footer-copy {
    margin-top: 34px; padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.82rem; text-align: center; line-height: 1.6;
}

/* ─── Sticky Mobile CTA ─── */
.mobile-cta {
    display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 95;
    padding: 12px 16px; padding-bottom: max(12px, env(safe-area-inset-bottom));
    background: var(--white); border-top: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
}
.mobile-cta a {
    display: block; padding: 14px; text-align: center;
    background: var(--amber); color: white; border-radius: 50px;
    text-decoration: none; font-weight: 700; font-size: 1rem;
}

/* ─── Cookie Consent ─── */
.consent {
    position: fixed; bottom: 16px; left: 16px; right: 16px; z-index: 200;
    max-width: 960px; margin: 0 auto;
    background: var(--white); border: 1px solid rgba(27, 62, 85, 0.22);
    border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
    padding: 22px 26px;
}
.consent[hidden] { display: none; }
.consent-inner { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.consent-text { flex: 1; min-width: 260px; }
.consent-text strong { display: block; font-size: 1.02rem; margin-bottom: 4px; color: var(--text); }
.consent-text p { font-size: 0.9rem; color: var(--text-light); line-height: 1.55; }
.consent-text a { color: var(--petrol); text-decoration: underline; }
.consent-actions { display: flex; gap: 12px; flex-shrink: 0; }
.consent-btn {
    padding: 12px 26px; border-radius: 50px; font-family: var(--sans);
    font-size: 0.95rem; font-weight: 700; cursor: pointer; border: none; transition: all 0.2s ease;
}
.consent-decline { background: var(--cream); color: var(--text-mid); border: 1px solid var(--line); }
.consent-decline:hover { background: #F2EBDC; }
.consent-accept { background: var(--petrol); color: #fff; }
.consent-accept:hover { background: var(--petrol-deep); }

/* ─── Danke-Seite ─── */
.danke { padding: 140px 0 80px; background: linear-gradient(170deg, var(--cream) 0%, var(--petrol-light) 100%); min-height: 70vh; }
.danke .container-narrow { text-align: center; }
.danke-icon {
    width: 92px; height: 92px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, #2e8b66, #3FA77E);
    color: white;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 10px 28px rgba(46, 139, 102, 0.32);
    animation: dankePop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.danke-icon svg { width: 44px; height: 44px; }
@keyframes dankePop {
    0%   { transform: scale(0); opacity: 0; }
    60%  { transform: scale(1.1); }
    100% { transform: scale(1); opacity: 1; }
}
.danke-title {
    font-family: var(--serif);
    font-size: clamp(2rem, 4.5vw, 3rem);
    line-height: 1.15; color: var(--text);
    margin-bottom: 14px;
    letter-spacing: -0.02em;
}
.danke-lead {
    font-size: 1.18rem; color: var(--text-mid); line-height: 1.55;
    max-width: 580px; margin: 0 auto 44px;
}

.danke-steps {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 38px 40px;
    margin-bottom: 32px;
    text-align: left;
    box-shadow: var(--shadow-sm);
}
.danke-steps h2 {
    font-family: var(--serif); font-size: 1.55rem; font-weight: 400;
    color: var(--text); margin-bottom: 22px;
}
.danke-steps ol {
    list-style: none; padding: 0; counter-reset: step;
    display: flex; flex-direction: column; gap: 18px;
}
.danke-steps ol li {
    counter-increment: step;
    padding-left: 56px;
    position: relative;
    color: var(--text-mid); line-height: 1.65;
}
.danke-steps ol li::before {
    content: counter(step);
    position: absolute; left: 0; top: -4px;
    width: 40px; height: 40px;
    background: var(--petrol);
    color: white;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--serif); font-size: 1.15rem; font-weight: 700;
}
.danke-steps ol li strong { color: var(--text); display: block; margin-bottom: 2px; }

.danke-contact {
    background: linear-gradient(135deg, var(--petrol-light), var(--cream));
    border-radius: var(--radius);
    padding: 22px 28px;
    margin-bottom: 32px;
    text-align: left;
}
.danke-contact-row { display: flex; align-items: center; gap: 16px; }
.danke-contact-row svg { width: 36px; height: 36px; flex-shrink: 0; color: var(--petrol); }
.danke-contact-row strong { display: block; color: var(--text); }
.danke-contact-row a {
    font-family: var(--serif); font-size: 1.55rem;
    color: var(--petrol); text-decoration: none;
    line-height: 1.2; letter-spacing: 0.01em;
}
.danke-contact-row a:hover { text-decoration: underline; }
.danke-hours { margin-top: 12px; font-size: 0.9rem; color: var(--text-light); padding-left: 52px; }

.danke-followup {
    text-align: left;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 32px 40px;
}
.danke-followup h3 {
    font-family: var(--serif); font-size: 1.35rem; font-weight: 400;
    color: var(--text); margin-bottom: 18px;
}
.danke-recap {
    list-style: none; padding: 0; display: flex; flex-direction: column; gap: 11px;
    margin-bottom: 28px;
}
.danke-recap li {
    display: flex; align-items: flex-start; gap: 12px;
    font-size: 1rem; color: var(--text-mid); line-height: 1.55;
}
.danke-recap li svg {
    width: 22px; height: 22px; flex-shrink: 0; color: var(--green);
    margin-top: 2px;
}

@media (max-width: 720px) {
    .danke { padding: 110px 0 60px; }
    .danke-steps { padding: 28px 24px; }
    .danke-steps ol li { padding-left: 48px; }
    .danke-steps ol li::before { width: 34px; height: 34px; font-size: 1rem; }
    .danke-contact-row a { font-size: 1.3rem; }
    .danke-hours { padding-left: 0; }
    .danke-followup { padding: 24px 22px; }
}

/* ─── Legal pages (Impressum / Datenschutz) ─── */
.legal { padding: 130px 0 90px; }
.legal h1 { font-family: var(--serif); font-size: clamp(2rem, 4vw, 2.6rem); margin-bottom: 8px; }
.legal .legal-lead { color: var(--text-light); margin-bottom: 36px; }
.legal h2 {
    font-family: var(--serif); font-size: 1.35rem; font-weight: 400;
    margin: 34px 0 10px; color: var(--text);
}
.legal h3 { font-size: 1.05rem; font-weight: 700; margin: 22px 0 6px; }
.legal p, .legal li { color: var(--text-mid); margin-bottom: 12px; line-height: 1.75; }
.legal ul { margin: 0 0 12px 22px; }
.legal a { color: var(--petrol); }
.legal .placeholder {
    background: var(--amber-light); border-left: 4px solid var(--amber);
    padding: 12px 16px; border-radius: 8px; font-size: 0.92rem; color: var(--text-mid);
}
.legal .back-link { display: inline-block; margin-top: 40px; color: var(--petrol); text-decoration: none; font-weight: 600; }
.legal .back-link:hover { text-decoration: underline; }

/* ─── Responsive ─── */
@media (max-width: 960px) {
    .why-grid { grid-template-columns: 1fr; gap: 36px; }
    .about-grid { grid-template-columns: 1fr; gap: 36px; }
    .course-body { grid-template-columns: 1fr; gap: 28px; }
    .course-top { padding: 30px 28px 24px; }
    .course-body { padding: 28px 28px 32px; }
    .course-foot { padding: 18px 28px; }
    .voices-grid { grid-template-columns: 1fr 1fr; }
    .about-visual.with-photo .about-photo { min-height: 320px; }
}

@media (max-width: 720px) {
    body { font-size: 16px; }
    section { padding: 64px 0; }
    .hero { padding: 130px 0 80px; }
    .hero h1 { font-size: 2.1rem; }
    .hero-sub { font-size: 1.08rem; }
    .check-list { grid-template-columns: 1fr; }
    .audience-grid { grid-template-columns: 1fr; }
    .nav-cta { padding: 9px 16px; font-size: 0.82rem; }
    .nav-brand { font-size: 1rem; }
    .nav-brand small { font-size: 0.62rem; }
    .footer-inner { flex-direction: column; }
    .mobile-cta { display: block; }
    .consent { left: 10px; right: 10px; bottom: 10px; padding: 18px 18px 86px; }
    .consent-actions { width: 100%; }
    .consent-btn { flex: 1; }
    .contact-card { padding: 28px 22px; }
    .lead-row { grid-template-columns: 1fr; }
    .course-top-stats { gap: 18px; }
    .course-top-stats .course-stat { flex: 1; min-width: 90px; }
    .voices-grid { grid-template-columns: 1fr; gap: 14px; }
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: repeat(6, 160px);
        gap: 10px;
    }
    .gallery-item.is-wide,
    .gallery-item.is-tall,
    .gallery-item.is-std { grid-column: span 1; grid-row: span 1; }
}

@media (max-width: 420px) {
    .hero-cta-row { flex-direction: column; align-items: stretch; }
    .hero .btn-primary { justify-content: center; }
    .hero .btn-secondary { justify-content: center; }
}
