:root {
    /* Farben aus dem Logo */
    --ink: #1a2849;
    --ink-soft: #2d3e6b;
    --ink-light: #5a6a8e;
    --paper: #fdfcf8;
    --paper-warm: #f7f3ec;
    --paper-card: #ffffff;

    /* Logo-Akzentfarben – dezent eingesetzt */
    --accent-coral: #ec5e8d;
    --accent-orange: #f4a653;
    --accent-mint: #4dc5a5;
    --accent-blue: #4a9fd9;
    --accent-purple: #9b6dd4;

    /* Tints für Hintergründe */
    --tint-coral: #fde8ef;
    --tint-orange: #fdf0df;
    --tint-mint: #e2f5ee;
    --tint-blue: #e1eff9;
    --tint-purple: #efe5f7;

    --shadow-soft: 0 1px 2px rgba(26, 40, 73, 0.04), 0 8px 24px rgba(26, 40, 73, 0.06);
    --shadow-lift: 0 1px 2px rgba(26, 40, 73, 0.04), 0 12px 40px rgba(26, 40, 73, 0.08);

    /* Höhe der Ferien-Statusbar – die Navbar dockt exakt darunter an */
    --ferien-h: 46px;
}

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

html {
    scroll-behavior: smooth;
}

@font-face {
    font-family: 'Marykate'; /* Name, den Sie frei vergeben */
    src: url('marykate-regular.ttf') format('truetype'); /* Pfad zur .ttf-Datei */
    font-weight: normal;
    font-style: normal;
}

/* Fraunces (variable, lokal gehostet — keine Google-Verbindung) */
@font-face {
    font-family: 'Fraunces';
    src: url('fonts/fraunces-latin.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Fraunces';
    src: url('fonts/fraunces-latin-ext.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Manrope (variable, lokal gehostet) */
@font-face {
    font-family: 'Manrope';
    src: url('fonts/manrope-latin.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Manrope';
    src: url('fonts/manrope-latin-ext.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

body {
    font-family: 'Manrope', -apple-system, system-ui, sans-serif;
    background: var(--paper);
    color: var(--ink);
    line-height: 1.65;
    font-weight: 400;
    font-size: 17px;
    overflow-x: hidden;
}

/* Dezenter, organischer Hintergrund */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(circle at 12% 18%, var(--tint-orange) 0%, transparent 38%),
        radial-gradient(circle at 88% 12%, var(--tint-mint) 0%, transparent 36%),
        radial-gradient(circle at 78% 88%, var(--tint-purple) 0%, transparent 40%),
        radial-gradient(circle at 8% 82%, var(--tint-blue) 0%, transparent 38%);
    opacity: 0.45;
    z-index: -1;
    pointer-events: none;
}

h1, h2, h3 {
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 500;
    color: var(--ink);
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 32px);
}

/* ===== Kopf-Bereich: Ferien-Bar + Navbar sticken gemeinsam ===== */
.site-top {
    position: sticky;
    top: 0;
    z-index: 100;
}

/* ===== Ferien-Statusbar (Hingucker, permanent über der Navbar) ===== */
.ferien-bar {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: var(--ferien-h);
    padding: 0 clamp(14px, 4vw, 28px);
    text-decoration: none;
    overflow: hidden;
    color: #fff;
    /* Fließender Farbverlauf aus den Logo-Akzentfarben */
    background: linear-gradient(
        100deg,
        var(--accent-coral) 0%,
        var(--accent-orange) 25%,
        var(--accent-mint) 50%,
        var(--accent-blue) 75%,
        var(--accent-purple) 100%
    );
    background-size: 220% 100%;
    animation: ferien-flow 14s linear infinite;
    box-shadow: 0 2px 12px rgba(26, 40, 73, 0.14);
}

/* Dezenter, durchlaufender Glanz-Streifen als Blickfang */
.ferien-bar::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        100deg,
        transparent 0%,
        rgba(255, 255, 255, 0.28) 45%,
        rgba(255, 255, 255, 0.45) 50%,
        rgba(255, 255, 255, 0.28) 55%,
        transparent 100%
    );
    transform: translateX(-120%);
    animation: ferien-shimmer 6s ease-in-out infinite;
    pointer-events: none;
}

.ferien-bar-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 1080px;
    width: 100%;
    min-width: 0;
    justify-content: center;
    white-space: nowrap;
}

.ferien-bar-emoji {
    font-size: 17px;
    line-height: 1;
    animation: ferien-bob 2.8s ease-in-out infinite;
}

.ferien-bar-badge {
    flex: none;
    font-weight: 800;
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.22);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(2px);
}

.ferien-bar-text {
    min-width: 0;
    font-weight: 600;
    font-size: 14.5px;
    letter-spacing: 0.005em;
    overflow: hidden;
    text-overflow: ellipsis;
    text-shadow: 0 1px 2px rgba(26, 40, 73, 0.18);
}

/* Zweigeteilter CTA: links "Weitere Infos", rechts "Termin anfragen" */
.ferien-bar-cta {
    flex: none;
    display: inline-flex;
    align-items: stretch;
    background: #fff;
    border-radius: 999px;
    box-shadow: 0 2px 8px rgba(26, 40, 73, 0.18);
    overflow: hidden;
    font-weight: 700;
    font-size: 13px;
    line-height: 1;
    transition: box-shadow 0.2s ease;
}

.ferien-bar-cta:hover {
    box-shadow: 0 4px 14px rgba(26, 40, 73, 0.28);
}

.ferien-bar-cta a {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.18s ease, color 0.18s ease;
}

/* Linke Hälfte – heller Hintergrund, mit nach rechts zeigender Pfeilspitze */
.ferien-cta-info {
    position: relative;
    z-index: 1;
    /* extra rechts, damit der Text nicht in die Spitze läuft */
    padding: 7px 24px 7px 17px;
    margin-right: -12px;
    background: #fff;
    color: var(--ink);
    clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 50%, calc(100% - 12px) 100%, 0 100%);
}

.ferien-cta-info:hover {
    background: var(--tint-orange);
}

/* Rechte Hälfte – kräftiger Akzent-Hintergrund, Text hinter der Spitze */
.ferien-cta-termin {
    padding: 7px 17px 7px 24px;
    background: var(--accent-coral);
    color: #fff;
}

.ferien-cta-termin:hover {
    background: var(--ink);
}

@keyframes ferien-flow {
    0%   { background-position: 0% 50%; }
    100% { background-position: 220% 50%; }
}

@keyframes ferien-shimmer {
    0%   { transform: translateX(-120%); }
    55%  { transform: translateX(120%); }
    100% { transform: translateX(120%); }
}

@keyframes ferien-bob {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-2px); }
}

/* Auf schmalen Screens: Bar darf umbrechen, nichts wird abgeschnitten */
@media (max-width: 560px) {
    .ferien-bar {
        min-height: 0;
        padding: 8px 16px;
    }
    .ferien-bar-inner {
        flex-wrap: wrap;
        gap: 4px 9px;
        white-space: normal;
    }
    .ferien-bar-badge,
    .ferien-bar-emoji {
        display: none;
    }
    .ferien-bar-text {
        flex: 1 1 100%;
        min-width: 0;
        font-size: 12.5px;
        line-height: 1.3;
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
        text-align: center;
    }
    /* Sonne direkt vor dem Text – bricht sauber mit ihm um */
    .ferien-bar-text::before {
        content: '☀️ ';
    }
    .ferien-bar-cta {
        flex: 0 0 auto;
        max-width: 100%;
        margin-top: 3px;
        font-size: 12.5px;
    }
    .ferien-cta-info {
        padding: 6px 21px 6px 14px;
    }
    .ferien-cta-termin {
        padding: 6px 14px 6px 21px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ferien-bar { animation: none; background-position: 0% 50%; }
    .ferien-bar::after { display: none; }
    .ferien-bar-emoji { animation: none; }
}

/* ===== Navigation ===== */
nav {
    padding: 20px 0;
    position: relative;
    z-index: 100;
    background: rgba(253, 252, 248, 0.85);
    backdrop-filter: saturate(180%) blur(12px);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid rgba(26, 40, 73, 0.06);
}

.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    font-family: 'Fraunces', serif;
    font-weight: 600;
    font-size: 19px;
    color: var(--ink);
    text-decoration: none;
    letter-spacing: -0.01em;
}

.nav-brand span {
    color: var(--accent-coral);
}

.nav-links {
    display: flex;
    gap: 36px;
    list-style: none;
}

.nav-links a {
    color: var(--ink-soft);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.2s ease;
    position: relative;
}

.nav-links a:hover {
    color: var(--accent-coral);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-coral);
    transition: width 0.25s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a.active {
    color: var(--accent-coral);
}

/* „auch online!"-Badge am Lerntherapie-Nav-Punkt – „Live-Online"-Tag:
   knallig (Coral→Orange), aber sachlich – mit pulsierendem Status-Punkt. */
.nav-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-left: 8px;
    padding: 3px 9px 3px 8px;
    border-radius: 999px;
    background: linear-gradient(120deg, var(--accent-coral) 0%, var(--accent-orange) 100%);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;
    line-height: 1.5;
    text-transform: uppercase;
    vertical-align: middle;
    box-shadow: 0 3px 10px rgba(236, 94, 141, 0.32);
    animation: nav-badge-glow 2.8s ease-in-out infinite;
}

/* Status-Punkt mit „Radar-Ping" – signalisiert online/live */
.nav-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.85);
    animation: nav-badge-ping 2s ease-out infinite;
}

/* Badge hat einen eigenen Hintergrund – der Nav-Underline soll ihn nicht unterstreichen */
.nav-links a .nav-badge {
    position: static;
}

@keyframes nav-badge-glow {
    0%, 100% { box-shadow: 0 3px 10px rgba(236, 94, 141, 0.32); }
    50%      { box-shadow: 0 3px 16px rgba(236, 94, 141, 0.55); }
}

@keyframes nav-badge-ping {
    0%   { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.85); }
    70%  { box-shadow: 0 0 0 5px rgba(255, 255, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

@media (prefers-reduced-motion: reduce) {
    .nav-badge,
    .nav-badge::before { animation: none; }
}

.nav-toggle {
    display: none;
    width: 40px;
    height: 40px;
    padding: 0;
    background: transparent;
    border: 0;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.nav-toggle-bar {
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background: var(--ink);
    transition: transform 0.25s ease, opacity 0.2s ease;
    transform-origin: center;
}

nav.is-open .nav-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

nav.is-open .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}

nav.is-open .nav-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ===== Hero ===== */
.hero {
    padding: 60px 0 100px;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 80px;
    align-items: center;
}

.hero-text {
    animation: fadeUp 0.8s ease-out;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Manrope', -apple-system, system-ui, sans-serif;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--ink-light);
    margin-bottom: 28px;
}

.hero-eyebrow::before {
    content: '';
    width: 32px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-coral), var(--accent-orange));
    border-radius: 2px;
}

.hero-headline {
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 500;
    color: var(--ink);
    letter-spacing: -0.02em;
    line-height: 1.15;
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    margin-bottom: 24px;
}

.hero-headline em {
    font-style: italic;
    color: var(--accent-coral);
    font-weight: 400;
}

.hero-lead {
    font-size: 18px;
    color: var(--ink-soft);
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 480px;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--ink);
    color: var(--paper);
    padding: 15px 28px;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.25s ease;
    box-shadow: var(--shadow-soft);
}

.hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lift);
    background: var(--accent-coral);
}

.hero-cta svg {
    transition: transform 0.25s ease;
}

.hero-cta:hover svg {
    transform: translateX(3px);
}

.hero-logo {
    position: relative;
    animation: fadeUp 0.8s ease-out 0.15s backwards;
}

.hero-logo img {
    width: 100%;
    max-width: 440px;
    height: auto;
    display: block;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Verspielter Hintergrundkreis hinter dem Logo */
.hero-logo::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    aspect-ratio: 1;
    background: radial-gradient(circle, var(--paper-card) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
}

/* ===== Schwerpunkte ===== */
.section {
    padding: 90px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-eyebrow {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--accent-coral);
    margin-bottom: 16px;
}

.section h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    margin-bottom: 16px;
}

.section-sub {
    font-size: 17px;
    color: var(--ink-soft);
    max-width: 560px;
    margin: 0 auto;
}

.focus-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(5, auto);
    gap: 24px;
}

.lt-prose + .focus-grid {
    margin-top: 48px;
}

.focus-card {
    background: var(--paper-card);
    padding: 36px 30px;
    border-radius: 24px;
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 5;
    row-gap: 0;
}

.focus-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    opacity: 0.85;
    border-radius: 24px 24px 0 0;
}

.focus-card:nth-child(1)::before { background: var(--accent-coral); }
.focus-card:nth-child(2)::before { background: var(--accent-mint); }
.focus-card:nth-child(3)::before { background: var(--accent-purple); }

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

.focus-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
}

.focus-card:nth-child(1) .focus-icon { background: var(--tint-coral); color: var(--accent-coral); }
.focus-card:nth-child(2) .focus-icon { background: var(--tint-mint); color: var(--accent-mint); }

.focus-icon--logo img {
    object-fit: contain;
}
.focus-card:nth-child(3) .focus-icon { background: var(--tint-purple); color: var(--accent-purple); }

.focus-card h3 {
    font-size: 1.35rem;
    margin-bottom: 12px;
}

.focus-subtitle {
    display: block;
    font-family: 'Manrope', -apple-system, system-ui, sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--ink-light);
    letter-spacing: 0;
    margin-top: 2px;
}

.focus-card > p {
    color: var(--ink-soft);
    font-size: 15.5px;
    line-height: 1.65;
}

.focus-price {
    margin-top: 20px;
    display: flex;
    align-items: baseline;
    gap: 10px;
    flex-wrap: wrap;
}

.focus-price-amount {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 1.7rem;
    font-weight: 500;
    color: var(--ink);
    letter-spacing: -0.01em;
    line-height: 1;
}

.focus-price-note {
    font-size: 13px;
    font-weight: 500;
    color: var(--ink-light);
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.focus-features {
    margin-top: 22px;
    padding-top: 22px;
    border-top: 1px solid rgba(26, 40, 73, 0.08);
}

.focus-features-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--ink-light);
    margin-bottom: 14px;
}

.focus-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.focus-features li {
    position: relative;
    padding-left: 22px;
    font-size: 14.5px;
    line-height: 1.55;
    color: var(--ink-soft);
    margin-bottom: 10px;
}

.focus-features li:last-child {
    margin-bottom: 0;
}

.focus-features li::before {
    content: '';
    position: absolute;
    left: 4px;
    top: 0.6em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    opacity: 0.5;
}

.focus-card:nth-child(1) .focus-features li::before { background: var(--accent-coral); opacity: 0.85; }
.focus-card:nth-child(2) .focus-features li::before { background: var(--accent-mint); opacity: 0.85; }
.focus-card:nth-child(3) .focus-features li::before { background: var(--accent-purple); opacity: 0.85; }

/* ===== Über mich ===== */
.about {
    background: var(--paper-warm);
    border-radius: 32px;
    padding: 72px 56px;
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 240px;
    height: 240px;
    background: radial-gradient(circle, var(--tint-orange), transparent 70%);
    border-radius: 50%;
}

.about-inner {
    max-width: 680px;
    position: relative;
    z-index: 2;
}

.about h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.4rem);
    margin-bottom: 24px;
}

.about p {
    font-size: 17px;
    color: var(--ink-soft);
    line-height: 1.75;
    margin-bottom: 18px;
}

.about p:last-child {
    margin-bottom: 0;
}

.about strong {
    color: var(--ink);
    font-weight: 600;
}

/* ===== Lerntherapie ===== */
.lt-prose {
    max-width: 720px;
    margin: 0 auto;
}

/* Online-Hinweis unter dem Abschnitts-H2 */
.lt-online-note {
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 720px;
    margin: 0 auto 40px;
    padding: 22px 28px;
    background: linear-gradient(120deg, var(--tint-mint) 0%, #eef9f4 100%);
    border: 1px solid rgba(77, 197, 165, 0.28);
    border-left: 4px solid var(--accent-mint);
    border-radius: 16px;
    box-shadow: 0 6px 22px rgba(77, 197, 165, 0.12);
}

/* Icon im Kreis mit pulsierendem „Live"-Ring */
.lt-online-note__icon {
    position: relative;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--paper-card);
    font-size: 26px;
    line-height: 1;
    box-shadow: 0 4px 12px rgba(26, 40, 73, 0.1);
}

.lt-online-note__icon::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(77, 197, 165, 0.55);
    animation: lt-online-ping 2.4s ease-out infinite;
}

@keyframes lt-online-ping {
    0%   { box-shadow: 0 0 0 0 rgba(77, 197, 165, 0.55); }
    70%  { box-shadow: 0 0 0 14px rgba(77, 197, 165, 0); }
    100% { box-shadow: 0 0 0 0 rgba(77, 197, 165, 0); }
}

.lt-online-note__body {
    min-width: 0;
}

/* Kleine „Online-Lerntherapie"-Zeile mit pulsierendem Punkt */
.lt-online-note__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: #2f9e82;
}

.lt-online-note__dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent-mint);
    box-shadow: 0 0 0 0 rgba(77, 197, 165, 0.7);
    animation: lt-online-dot 2s ease-out infinite;
}

@keyframes lt-online-dot {
    0%   { box-shadow: 0 0 0 0 rgba(77, 197, 165, 0.7); }
    70%  { box-shadow: 0 0 0 6px rgba(77, 197, 165, 0); }
    100% { box-shadow: 0 0 0 0 rgba(77, 197, 165, 0); }
}

.lt-online-note__text {
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
    color: var(--ink-soft);
}

.lt-online-note__text strong {
    color: var(--ink);
    font-weight: 700;
}

@media (prefers-reduced-motion: reduce) {
    .lt-online-note__icon::after,
    .lt-online-note__dot { animation: none; }
}

@media (max-width: 520px) {
    .lt-online-note {
        gap: 14px;
        padding: 18px 20px;
    }
    .lt-online-note__icon {
        width: 46px;
        height: 46px;
        font-size: 22px;
    }
    .lt-online-note__text { font-size: 15px; }
}

.lt-prose p {
    font-size: 17px;
    color: var(--ink-soft);
    line-height: 1.8;
    margin-bottom: 22px;
}

.lt-prose p:last-child {
    margin-bottom: 0;
}

.lt-prose strong {
    color: var(--ink);
    font-weight: 600;
}

.lt-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 720px;
    margin: 48px auto;
}

.lt-stat {
    background: var(--paper-card);
    padding: 32px 28px;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
}

.lt-stat::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    opacity: 0.85;
}

.lt-stat:nth-child(1)::before { background: var(--accent-blue); }
.lt-stat:nth-child(2)::before { background: var(--accent-orange); }

.lt-stat-num {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 3rem;
    font-weight: 600;
    line-height: 1;
    margin-bottom: 14px;
    letter-spacing: -0.02em;
}

.lt-stat:nth-child(1) .lt-stat-num { color: var(--accent-blue); }
.lt-stat:nth-child(2) .lt-stat-num { color: var(--accent-orange); }

.lt-stat-label {
    font-size: 15.5px;
    color: var(--ink-soft);
    line-height: 1.55;
    margin: 0;
}

.lt-stat-source {
    display: inline-block;
    margin-top: 14px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--ink-light);
}

.lt-stat-source a {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid rgba(90, 106, 142, 0.35);
    transition: color 0.2s ease, border-color 0.2s ease;
}

.lt-stat-source a:hover {
    color: var(--accent-coral);
    border-bottom-color: var(--accent-coral);
}

.lt-stat-source a[target="_blank"]::after {
    content: '';
    display: inline-block;
    width: 0.85em;
    height: 0.85em;
    margin-left: 0.3em;
    vertical-align: -0.05em;
    background-color: currentColor;
    -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><path d='M7 17L17 7M9 7h8v8'/></svg>") no-repeat center / contain;
    mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><path d='M7 17L17 7M9 7h8v8'/></svg>") no-repeat center / contain;
}

/* ===== Legal Pages (Impressum / Datenschutz) ===== */
.legal-page .section-header {
    text-align: left;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 48px;
}

.legal-page .section-header h1 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    margin-bottom: 16px;
}

.legal-page .lt-prose h2 {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--ink);
    letter-spacing: -0.01em;
    line-height: 1.3;
    margin-top: 40px;
    margin-bottom: 14px;
}

.legal-page .lt-prose h2:first-child {
    margin-top: 0;
}

.lt-prose a {
    color: var(--accent-coral);
    text-decoration: none;
    border-bottom: 1px solid rgba(236, 94, 141, 0.35);
    transition: border-color 0.2s ease;
    word-break: break-word;
}

.lt-prose a:hover {
    border-bottom-color: var(--accent-coral);
}

.legal-page .lt-prose ul {
    list-style: none;
    padding: 0;
    margin: 0 0 22px;
}

.legal-page .lt-prose ul li {
    position: relative;
    padding-left: 22px;
    color: var(--ink-soft);
    line-height: 1.7;
    margin-bottom: 8px;
}

.legal-page .lt-prose ul li::before {
    content: '';
    position: absolute;
    left: 4px;
    top: 0.7em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-coral);
    opacity: 0.7;
}

#matomo-opt-out {
    max-width: 720px;
    margin: 24px auto 22px;
    padding: 22px 24px;
    background: var(--paper-warm);
    border-radius: 16px;
    border: 1px solid rgba(26, 40, 73, 0.06);
    font-size: 15px;
    color: var(--ink-soft);
    line-height: 1.65;
}

#matomo-opt-out p {
    margin-bottom: 12px;
}

#matomo-opt-out p:last-child {
    margin-bottom: 0;
}

#matomo-opt-out input[type="checkbox"] {
    margin-right: 8px;
    accent-color: var(--accent-coral);
    cursor: pointer;
    transform: translateY(2px);
}

#matomo-opt-out label {
    cursor: pointer;
    color: var(--ink);
    font-weight: 500;
}

/* ===== Kontakt ===== */
.contact {
    text-align: center;
    padding: 100px 0;
}

.contact h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    margin-bottom: 20px;
}

.contact h2 em {
    font-style: italic;
    color: var(--accent-mint);
    font-weight: 400;
}

.contact-sub {
    font-size: 17px;
    color: var(--ink-soft);
    max-width: 520px;
    margin: 0 auto 44px;
    line-height: 1.7;
}

.contact-card {
    display: block;
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
    text-align: left;
    background: var(--paper-card);
    padding: clamp(28px, 5vw, 44px);
    border-radius: 24px;
    box-shadow: var(--shadow-lift);
}

.contact-label {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--ink-light);
}

.contact-email {
    font-family: 'Fraunces', serif;
    font-size: clamp(1.4rem, 3vw, 1.9rem);
    font-weight: 500;
    color: var(--ink);
    text-decoration: none;
    transition: color 0.25s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 100%;
    gap: 14px;
}

.contact-email:hover {
    color: var(--accent-coral);
}

.contact-email-icon {
    display: inline-flex;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--tint-coral);
    color: var(--accent-coral);
    align-items: center;
    justify-content: center;
    transition: transform 0.25s ease;
}

.contact-email:hover .contact-email-icon {
    transform: scale(1.08);
}

.contact-note {
    font-size: 14px;
    color: var(--ink-light);
    margin-top: 8px;
}

.contact-divider {
    display: block;
    width: 64px;
    height: 1px;
    margin: 12px auto;
    background: linear-gradient(90deg, transparent, rgba(26, 40, 73, 0.18), transparent);
}

/* ===== Kontaktformular ===== */
.kontakt-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

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

.kf-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.kf-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--ink-soft);
}

.kf-req {
    color: var(--accent-coral);
    font-weight: 700;
}

.kf-note {
    font-size: 13px;
    color: var(--ink-light);
    margin: 0;
}

.kontakt-form input[type="text"],
.kontakt-form textarea {
    width: 100%;
    font: inherit;
    font-size: 16px; /* >=16px verhindert das Auto-Zoom auf iOS */
    color: var(--ink);
    background: var(--paper);
    border: 1.5px solid rgba(26, 40, 73, 0.14);
    border-radius: 12px;
    padding: 12px 14px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.kontakt-form textarea {
    resize: vertical;
    min-height: 108px;
    line-height: 1.6;
}

.kontakt-form input::placeholder,
.kontakt-form textarea::placeholder {
    color: var(--ink-light);
    opacity: 0.75;
}

.kontakt-form input:focus,
.kontakt-form textarea:focus {
    outline: none;
    border-color: var(--accent-coral);
    box-shadow: 0 0 0 3px var(--tint-coral);
}

.kf-submit {
    align-self: flex-start;
    border: 0;
    cursor: pointer;
    margin-top: 4px;
}

.kf-submit:disabled {
    opacity: 0.7;
    cursor: default;
}

/* Lade-Spinner im Button während des Sendens */
.kf-spinner {
    display: inline-block;
    width: 15px;
    height: 15px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: kf-spin 0.7s linear infinite;
}

@keyframes kf-spin {
    to { transform: rotate(360deg); }
}

.kf-privacy {
    font-size: 13px;
    color: var(--ink-light);
    line-height: 1.5;
    margin: 0;
}

.kf-privacy a {
    color: var(--accent-coral);
}

/* Honeypot – für Menschen unsichtbar, Bots füllen es aus */
.kf-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Status-Meldungen (Erfolg/Fehler) */
.kf-status {
    margin: 0;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.5;
    border-radius: 12px;
}

.kf-status:empty {
    display: none;
}

.kf-status.is-ok {
    padding: 14px 16px;
    color: #1f7a5c;
    background: var(--tint-mint);
}

.kf-status.is-error {
    padding: 14px 16px;
    color: #b3364f;
    background: var(--tint-coral);
}

/* Nach erfolgreichem Versand nur die Dankesmeldung zeigen */
.kontakt-form.is-sent > *:not(.kf-status) {
    display: none;
}

/* Telefon-Alternative unter dem Formular */
.kf-alt {
    text-align: center;
    margin-top: 26px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.kf-alt .contact-email {
    font-size: clamp(1.2rem, 2.6vw, 1.5rem);
    margin-top: 2px;
}

@media (max-width: 520px) {
    .kf-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== Footer ===== */
footer {
    border-top: 1px solid rgba(26, 40, 73, 0.08);
    padding: 36px 0;
    text-align: center;
    color: var(--ink-light);
    font-size: 14px;
}

footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

footer a {
    color: var(--ink-light);
    text-decoration: none;
    transition: color 0.2s;
}

footer a:hover {
    color: var(--accent-coral);
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.sprung-text {

}

.sprung-text span {
  display: inline-block;
  transition: transform 0.2s ease;
}

/* Die Animation bei Mausberührung */
.sprung-text span {
  animation: jump 0.4s ease infinite alternate;
}

/* Definition der Sprungbewegung */
@keyframes jump {
  to {
    transform: translateY(-20px);
  }
}

.sprung-text span:nth-child(1) { animation-delay: 0.0s; }
.sprung-text span:nth-child(2) { animation-delay: 0.1s; }
.sprung-text span:nth-child(3) { animation-delay: 0.2s; }
.sprung-text span:nth-child(4) { animation-delay: 0.3s; }




/* ===== Responsive ===== */
@media (max-width: 860px) {
    .hero {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 30px 0 60px;
        text-align: center;
    }

    .hero-eyebrow {
        justify-content: center;
    }

    .hero-eyebrow::before {
        display: none;
    }

    .hero-lead {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-logo {
        order: -1;
    }

    .hero-logo img {
        max-width: 280px;
    }

    .focus-grid {
        grid-template-columns: 1fr;
    }

    .lt-stats {
        grid-template-columns: 1fr;
        margin: 36px auto;
    }

    .lt-stat-num {
        font-size: 2.5rem;
    }

    .nav-links {
        gap: 22px;
    }

    .about {
        padding: 48px 28px;
        border-radius: 24px;
    }

    .section {
        padding: 60px 0;
    }

    .contact-card {
        padding: 32px 28px;
    }
}

@media (max-width: 640px) {
    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 0;
        padding: 8px 0 16px;
        background: rgba(253, 252, 248, 0.96);
        backdrop-filter: saturate(180%) blur(12px);
        -webkit-backdrop-filter: saturate(180%) blur(12px);
        border-bottom: 1px solid rgba(26, 40, 73, 0.06);
        box-shadow: 0 12px 24px rgba(26, 40, 73, 0.06);
        transform: translateY(-8px);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.2s ease, transform 0.25s ease, visibility 0.2s;
    }

    nav.is-open .nav-links {
        opacity: 1;
        transform: translateY(0);
        visibility: visible;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;
        padding: 14px clamp(20px, 4vw, 32px);
        font-size: 16px;
    }

    .nav-links a::after {
        display: none;
    }

    .nav-links a.active,
    .nav-links a:hover {
        background: rgba(236, 94, 141, 0.06);
    }
}
