/* Kraul-Check (/kraul-check). Eigene Datei, stile.css bleibt unberuehrt.
   Mobil zuerst, Aufbau wie beim Zone-2-Check: flacher Kopf bis 768 px, eine Spalte mit 640 px. */

:root {
    --kc-linie: #d9e3e8;
    --kc-flaeche: #f2f7f8;
    --kc-text-leise: #4a626f;
    --kc-akzent: #3f8f8f;
}

.kc-main {
    max-width: 640px;
    margin: 0 auto;
    padding: 0 18px;
    color: var(--color-navy);
}
.kc-main [hidden] { display: none !important; }
.kc-main button, .kc-main a, .kc-main label, .kc-main input { touch-action: manipulation; }
.kc-kachel { -webkit-tap-highlight-color: transparent; }

.kc-sr {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0);
    white-space: nowrap; border: 0;
}

/* ---------- Kopf ---------- */
.hero.kc-hero {
    background-color: var(--color-navy);
    background-image: url('../../bilder/STR_1200x630_kraultechnik-wasserlage.jpg');
    background-image: -webkit-image-set(url('../../bilder/STR_1200x630_kraultechnik-wasserlage.webp') type('image/webp'), url('../../bilder/STR_1200x630_kraultechnik-wasserlage.jpg') type('image/jpeg'));
    background-image: image-set(url('../../bilder/STR_1200x630_kraultechnik-wasserlage.webp') type('image/webp'), url('../../bilder/STR_1200x630_kraultechnik-wasserlage.jpg') type('image/jpeg'));
    background-position: center 45%;
}
/* Gleichmaessiger Navy-Schleier: die tuerkise Kennzeile braucht 4,5:1 (docs/WEBSITE-BAU.md) */
.hero.kc-hero::before { background: rgba(31, 46, 62, 0.8); }
.kc-hero-inhalt { width: 100%; }
.kc-hero .kc-h1 { color: #fff; text-transform: none; }

@media (max-width: 768px) {
    .hero.kc-hero { display: block; min-height: 0; padding: 16px 18px 14px; }
    .kc-hero-inhalt { max-width: 604px; }
    .kc-hero .kc-label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; margin: 0 0 4px; }
    .kc-hero .kc-h1 {
        font-size: clamp(1.5rem, 6.4vw, 2.4rem);
        line-height: 1.12; margin: 0 0 6px; letter-spacing: -0.01em; text-wrap: balance;
    }
    .kc-hero .kc-sub { font-size: 0.92rem; line-height: 1.4; color: rgba(255, 255, 255, 0.92); opacity: 1; margin: 0; }
}

/* ---------- Schritt 1: Ankreuzen ---------- */
.kc-tool { padding: 14px 0 20px; scroll-margin-top: 8px; }
.kc-kacheln { border: 0; margin: 0 0 14px; padding: 0; display: grid; gap: 8px; }
.kc-frage {
    font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; line-height: 1.35;
    margin: 0 0 10px; padding: 0; color: var(--color-navy);
}
.kc-kachel {
    position: relative; display: flex; align-items: flex-start; gap: 12px;
    border: 1.5px solid var(--kc-linie); border-radius: 12px; background: #fff;
    padding: 12px 14px; font-size: 0.93rem; line-height: 1.45; cursor: pointer;
}
.kc-kachel input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.kc-kachel::before {
    content: ''; flex: 0 0 auto; width: 20px; height: 20px; margin-top: 1px;
    border: 2px solid var(--color-blue-gray); border-radius: 5px; background: #fff;
}
.kc-kachel:has(input:checked) { border-color: var(--color-navy); background: var(--kc-flaeche); box-shadow: inset 0 0 0 1px var(--color-navy); }
.kc-kachel:has(input:checked)::before {
    border-color: var(--color-navy); background: var(--color-navy);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-size: 14px; background-position: center; background-repeat: no-repeat;
}
.kc-kachel:has(input:focus-visible) { outline: 3px solid var(--color-link); outline-offset: 2px; }
@media (hover: hover) { .kc-kachel:hover { border-color: var(--color-blue-gray); } }

.kc-fehler { color: #a4472f; font-size: 0.9rem; margin: 0 0 10px; }

.kc-btn {
    display: block; width: 100%; text-align: center; border: 0; cursor: pointer;
    background: var(--color-turquoise-light); color: var(--color-navy);
    font-family: var(--font-display); font-weight: 700; font-size: 1rem;
    padding: 14px 18px; border-radius: 40px; text-decoration: none; min-height: 48px;
    transition: background 0.2s ease, transform 0.15s ease;
}
.kc-btn:hover { background: var(--color-gray-blue-light); color: var(--color-navy); }
.kc-btn:active { transform: scale(0.98); }
.kc-btn:focus-visible { outline: 3px solid var(--color-link); outline-offset: 2px; }
.kc-btn-dark { background: var(--color-navy); color: #fff; }
.kc-btn-dark:hover { background: #2a3d52; color: #fff; }

.kc-textlink, .kc-mini-link {
    background: none; border: 0; padding: 10px 0; color: var(--color-link); text-decoration: underline;
    text-underline-offset: 3px; font: inherit; font-size: 0.92rem; cursor: pointer; min-height: 44px;
}
.kc-textlink { display: block; margin: 6px auto 0; }
.kc-textlink-hell { color: #fff; }
.kc-privacy { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 0.8rem; color: var(--kc-text-leise); margin: 4px 0 0; }

/* ---------- Schritt 2: Ergebnis ---------- */
.kc-panel {
    border: 1.5px solid var(--kc-linie); border-radius: 16px; background: #fff;
    padding: 18px; margin: 0 0 22px; scroll-margin-top: 12px;
}
.kc-res-label {
    font-size: 0.74rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--kc-akzent); margin: 0 0 4px;
}
.kc-res-titel {
    font-family: var(--font-display); font-size: clamp(1.35rem, 5.4vw, 1.7rem); line-height: 1.2;
    margin: 0 0 10px; color: var(--color-navy); text-transform: none; letter-spacing: 0; text-wrap: balance;
}
.kc-res-titel:focus { outline: none; }
.kc-warum { font-size: 0.95rem; line-height: 1.55; margin: 0 0 12px; }
.kc-hinweise { margin: 0 0 12px; padding-left: 18px; font-size: 0.9rem; line-height: 1.5; color: var(--kc-text-leise); }
.kc-hinweise:empty { display: none; }
.kc-box { background: var(--kc-flaeche); border-left: 4px solid var(--color-turquoise-light); border-radius: 10px; padding: 12px 14px; margin: 0 0 16px; }
.kc-box p { margin: 0; font-size: 0.93rem; line-height: 1.5; }
.kc-box-titel { font-weight: 700; font-size: 0.86rem !important; letter-spacing: 0.02em; margin: 0 0 4px !important; color: var(--color-navy); }
.kc-ueb-kopf { margin: 0 0 8px; }
.kc-uebungen { display: grid; gap: 10px; margin: 0 0 14px; }
@media (min-width: 560px) { .kc-uebungen { grid-template-columns: 1fr 1fr; } }
.kc-uebung { border: 1.5px solid var(--kc-linie); border-radius: 12px; padding: 12px 14px; }
.kc-uebung p { margin: 0 0 6px; font-size: 0.9rem; line-height: 1.5; }
.kc-uebung-name { font-weight: 700; font-size: 0.98rem !important; color: var(--color-navy); }
.kc-uebung-ziel { color: var(--kc-text-leise); font-size: 0.82rem !important; margin: 0 !important; }
.kc-besser, .kc-plan, .kc-artikel { font-size: 0.92rem; line-height: 1.5; margin: 0 0 10px; }
.kc-plan { color: var(--kc-text-leise); }
.kc-danach { border-top: 1px solid var(--kc-linie); padding-top: 12px; margin-top: 4px; }
.kc-danach ol { margin: 4px 0 0; padding-left: 20px; font-size: 0.9rem; line-height: 1.5; }
.kc-danach li { margin-bottom: 4px; }

/* ---------- Schritt 3: Uebungskarte ---------- */
.kc-karte {
    display: grid; gap: 12px; background: var(--kc-flaeche); border-radius: 16px;
    padding: 18px; margin: 0 0 22px;
}
.kc-h2 { font-family: var(--font-display); font-size: 1.12rem; margin: 0 0 6px; color: var(--color-navy); text-transform: none; letter-spacing: 0; }
.kc-karte p { margin: 0; font-size: 0.92rem; line-height: 1.5; }

/* ---------- Schritt 4: Coaching ---------- */
.kc-coaching { background: var(--color-navy); color: #fff; border-radius: 16px; padding: 18px; margin: 0 0 22px; }
.kc-co-titel { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; margin: 0 0 6px; color: #fff; text-transform: none; letter-spacing: 0; text-wrap: balance; }
.kc-coaching p { font-size: 0.9rem; line-height: 1.5; margin: 0 0 10px; opacity: 0.94; }
.kc-co-vertrauen { font-size: 0.78rem !important; opacity: 0.8 !important; }

.kc-newsletter { margin: 0 0 8px; }

/* ---------- Wissensteil ---------- */
.kc-wissen { padding-left: 0; padding-right: 0; }
.kc-tabelle-wrap { overflow-x: auto; margin: 0 0 18px; -webkit-overflow-scrolling: touch; }
.kc-tabelle { width: 100%; border-collapse: collapse; font-size: 0.88rem; line-height: 1.45; }
.kc-tabelle th, .kc-tabelle td { text-align: left; vertical-align: top; padding: 9px 10px; border-bottom: 1px solid var(--kc-linie); }
.kc-tabelle thead th { background: var(--color-navy); color: #fff; font-size: 0.76rem; letter-spacing: 0.06em; text-transform: uppercase; }
.kc-tabelle tbody th { font-weight: 700; background: var(--kc-flaeche); min-width: 96px; }
.kc-tabelle td:nth-child(2) { font-weight: 600; min-width: 110px; }
.kc-glossar-titel { font-weight: 700; margin: 0 0 4px; }

@media (prefers-reduced-motion: reduce) {
    .kc-btn:active { transform: none; }
}
