/* =====================================================================
   takedachat.com - Stilvorlage. Fassung 1.1, 17.11.2026 (Auftrag A-23).

   Regeln (CSP der Seite: default-src 'none'; style-src 'self'):
   - keine externen Ressourcen: keine Web-Fonts, kein CDN;
   - kein Inline-CSS (weder <style> noch style=""), kein Skript;
   - Systemschriften; helle und dunkle Darstellung (prefers-color-scheme).
   ===================================================================== */

:root {
    --tinte:        #1b1512;
    --tinte-leise:  #5f5650;
    --papier:       #ffffff;
    --flaeche:      #f8f4f1;
    --linie:        #e8e0da;
    --akzent:       #b4472a;
    --akzent-tief:  #8d3520;
    --akzent-zwei:  #c25a3c;
    --knopf-grund:  #b4472a;
    --knopf-text:   #ffffff;
    --hero-von:     #1c1411;
    --hero-bis:     #3a1d14;
    --hero-text:    #fbf3ee;
    --hero-leise:   #d9bfb2;
    --offen-grund:  #fff3cd;
    --offen-text:   #6b4e00;
    --offen-rand:   #c9a227;
    --annahme-grund: #e3eefb;
    --annahme-text:  #1f4a7a;
    --annahme-rand:  #5b8fc9;
    --radius:       16px;
    --breite:       68rem;
    --schmal:       46rem;
    --schatten:     0 1px 2px rgba(15,23,42,.06), 0 12px 32px -14px rgba(15,23,42,.22);
}

@media (prefers-color-scheme: dark) {
    :root {
        --tinte:        #efe8e3;
        --tinte-leise:  #b3a8a0;
        --papier:       #14100e;
        --flaeche:      #1e1714;
        --linie:        #352a24;
        --akzent:       #e2795a;
        --akzent-tief:  #f0a189;
        --akzent-zwei:  #f0a189;
        --knopf-grund:  #e2795a;
        --knopf-text:   #1c1411;
        --hero-von:     #120c0a;
        --hero-bis:     #2a150e;
        --offen-grund:  #3a3212;
        --offen-text:   #f0d98a;
        --annahme-grund: #16283d;
        --annahme-text:  #a9c8ee;
        --schatten:     none;
    }
}

* { box-sizing: border-box; }
html { font-size: 17px; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5rem; }

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
                 "Helvetica Neue", Arial, sans-serif;
    line-height: 1.65;
    color: var(--tinte);
    background: var(--papier);
}

.huelle { max-width: var(--breite); margin: 0 auto; padding: 0 1.4rem; }
.schmal { max-width: var(--schmal); }

a { color: var(--akzent); text-underline-offset: 0.18em; }
a:hover { color: var(--akzent-tief); }
:focus-visible { outline: 3px solid var(--akzent-zwei); outline-offset: 3px; border-radius: 4px; }

.sprung { position: absolute; left: -999px; top: 0; background: var(--papier); color: var(--tinte);
          padding: 0.6rem 1rem; z-index: 10; }
.sprung:focus { left: 0.5rem; top: 0.5rem; }

/* ---------- Kopf ---------- */
header.kopf { background: var(--hero-von); color: var(--hero-text); position: sticky; top: 0; z-index: 5;
              border-bottom: 1px solid rgba(255,255,255,.08); }
.kopf .huelle { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 1.6rem;
                padding-top: 0.85rem; padding-bottom: 0.85rem; }
.logo { display: inline-flex; align-items: center; gap: 0.55rem; color: var(--hero-text);
        text-decoration: none; font-weight: 700; font-size: 1.2rem; letter-spacing: -0.02em; margin-right: auto; }
.logo:hover { color: #fff; }
.logo svg { width: 1.9rem; height: 1.9rem; }
.logo .ring { fill: none; stroke: currentColor; stroke-width: 2.6; }
.logo .punkt { fill: var(--akzent-zwei); }
.logo .sys { font-weight: 500; color: var(--hero-leise); }
nav.haupt { display: flex; flex-wrap: wrap; gap: 0.3rem 1.3rem; }
nav.haupt a { color: var(--hero-leise); text-decoration: none; font-size: 0.95rem; padding: 0.2rem 0; }
nav.haupt a:hover, nav.haupt a:focus-visible { color: #fff; }
nav.haupt a[aria-current="page"] { color: #fff; font-weight: 600; }

/* ---------- Hero ---------- */
.hero { background: linear-gradient(140deg, var(--hero-von) 0%, var(--hero-bis) 100%);
        color: var(--hero-text); position: relative; overflow: hidden; }
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.hero::before { width: 34rem; height: 34rem; right: -9rem; top: -12rem;
                background: radial-gradient(circle, rgba(226,121,90,.40) 0%, rgba(226,121,90,0) 68%); }
.hero::after  { width: 26rem; height: 26rem; left: -8rem; bottom: -14rem;
                background: radial-gradient(circle, rgba(255,190,120,.22) 0%, rgba(255,190,120,0) 70%); }
.hero .huelle { position: relative; z-index: 1; padding-top: clamp(3.2rem, 9vw, 6.5rem);
                padding-bottom: clamp(3.2rem, 9vw, 6.5rem); }
.zeile { font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--akzent-zwei);
         font-weight: 700; margin: 0 0 1rem; }
.hero h1 { font-size: clamp(2.1rem, 6vw, 3.6rem); line-height: 1.08; letter-spacing: -0.03em;
           margin: 0 0 1.3rem; max-width: 18ch; }
.hero .vorspann { font-size: clamp(1.05rem, 2.2vw, 1.25rem); color: var(--hero-leise); max-width: 38rem; margin: 0 0 2.2rem; }
.knopfreihe { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.knopf { display: inline-block; padding: 0.8rem 1.5rem; border-radius: 999px; font-weight: 600;
         text-decoration: none; background: var(--knopf-grund); color: var(--knopf-text);
         border: 2px solid var(--knopf-grund); transition: transform .15s ease, box-shadow .15s ease; }
.knopf:hover { color: var(--knopf-text); transform: translateY(-1px); box-shadow: 0 8px 22px -8px rgba(180,71,42,.7); }
.knopf.leise { background: transparent; color: var(--hero-text); border-color: rgba(255,255,255,.35); }
.knopf.leise:hover { color: #fff; border-color: #fff; box-shadow: none; }

/* ---------- Abschnitte ---------- */
section.teil { padding: clamp(3rem, 7vw, 5rem) 0; }
section.teil.flaeche { background: var(--flaeche); }
.teil h2 { font-size: clamp(1.6rem, 3.6vw, 2.2rem); letter-spacing: -0.02em; line-height: 1.15; margin: 0 0 0.8rem; }
.teil .einleitung { color: var(--tinte-leise); max-width: 40rem; margin: 0 0 2.4rem; font-size: 1.07rem; }

.karten { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1.3rem; }
.karte { background: var(--papier); border: 1px solid var(--linie); border-radius: var(--radius);
         padding: 1.7rem; box-shadow: var(--schatten); }
.flaeche .karte { background: var(--papier); }
.karte h3 { margin: 1rem 0 0.5rem; font-size: 1.2rem; letter-spacing: -0.01em; }
.karte p { margin: 0 0 0.8rem; color: var(--tinte-leise); }
.karte ul { margin: 0; padding-left: 1.15rem; color: var(--tinte-leise); }
.karte li { margin-bottom: 0.3rem; }
.symbol { width: 3rem; height: 3rem; border-radius: 14px; display: grid; place-items: center;
          background: linear-gradient(135deg, rgba(180,71,42,.12), rgba(226,121,90,.18)); color: var(--akzent); }
.symbol svg { width: 1.6rem; height: 1.6rem; fill: none; stroke: currentColor; stroke-width: 1.8;
              stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Referenz ---------- */
.referenz { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(1.6rem, 5vw, 4rem); align-items: center; }
.referenz ul { padding-left: 1.2rem; }
.referenz li { margin-bottom: 0.45rem; }
.telefon { width: min(17rem, 100%); margin: 0 auto; border: 7px solid var(--tinte); border-radius: 34px;
           background: var(--papier); padding: 0 0 1rem; box-shadow: var(--schatten); overflow: hidden; }
.telefon .leiste { background: var(--hero-von); color: var(--hero-text); padding: 0.9rem 1rem; font-weight: 700;
                   letter-spacing: -0.01em; }
.telefon .leiste .da { color: #e2795a; }
.telefon .verlauf { padding: 1rem 0.9rem 0.4rem; display: flex; flex-direction: column; gap: 0.55rem; }
.blase { max-width: 82%; padding: 0.55rem 0.8rem; border-radius: 16px; font-size: 0.88rem; line-height: 1.4; }
.blase.ein { background: var(--flaeche); border: 1px solid var(--linie); border-bottom-left-radius: 4px; }
.blase.aus { background: var(--knopf-grund); color: var(--knopf-text); align-self: flex-end; border-bottom-right-radius: 4px; }
.telefon .siegel { text-align: center; font-size: 0.74rem; color: var(--tinte-leise); margin: 0.5rem 0 0; }

/* ---------- Ablauf, Vertragsgrundlage ---------- */
.schritte { counter-reset: schritt; display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
            gap: 1.3rem; list-style: none; padding: 0; margin: 0; }
.schritte li { counter-increment: schritt; padding-top: 3.1rem; position: relative; }
.schritte li::before { content: counter(schritt); position: absolute; top: 0; left: 0; width: 2.3rem; height: 2.3rem;
                       border-radius: 50%; display: grid; place-items: center; font-weight: 700;
                       background: var(--knopf-grund); color: var(--knopf-text); }
.schritte strong { display: block; font-size: 1.1rem; margin-bottom: 0.25rem; }
.schritte span { color: var(--tinte-leise); }
.hinweis { background: var(--flaeche); border-left: 4px solid var(--akzent-zwei); padding: 1.1rem 1.3rem;
           border-radius: 0 12px 12px 0; max-width: 46rem; }
.hinweis p { margin: 0; }
.hinweis p + p { margin-top: 0.6rem; }
.kontaktkarte { background: linear-gradient(140deg, var(--hero-von), var(--hero-bis)); color: var(--hero-text);
                border-radius: calc(var(--radius) + 6px); padding: clamp(1.8rem, 5vw, 3rem); }
.kontaktkarte h2 { margin-top: 0; }
.kontaktkarte p { color: var(--hero-leise); max-width: 36rem; }
.kontaktkarte a.mail { font-size: clamp(1.2rem, 3vw, 1.6rem); font-weight: 700; color: #fff; text-decoration: none;
                       border-bottom: 2px solid var(--akzent-zwei); }

/* ---------- Textseiten (Impressum, Datenschutz) ---------- */
main.text { padding: 2.6rem 0 3rem; }
main.text h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); letter-spacing: -0.02em; line-height: 1.15; margin: 0 0 0.4rem; }
main.text h2 { font-size: 1.3rem; letter-spacing: -0.01em; margin: 2.3rem 0 0.7rem; padding-top: 1.2rem;
               border-top: 1px solid var(--linie); }
main.text p, main.text li { max-width: 42rem; overflow-wrap: break-word; }
main.text ul { padding-left: 1.3rem; }
.stand { color: var(--tinte-leise); font-size: 0.92rem; margin: 0 0 1.6rem; }

mark { font-weight: 600; border-radius: 4px; padding: 0.05em 0.35em;
       -webkit-box-decoration-break: clone; box-decoration-break: clone; }
mark.offen { background: var(--offen-grund); color: var(--offen-text); border: 1px dashed var(--offen-rand); }
mark.annahme { background: var(--annahme-grund); color: var(--annahme-text); border: 1px dashed var(--annahme-rand); }

/* ---------- Fuss ---------- */
footer.fuss { background: var(--hero-von); color: var(--hero-leise); padding: 2.2rem 0 2.6rem; font-size: 0.9rem; }
footer.fuss .huelle { display: grid; gap: 0.9rem; }
footer.fuss nav { display: flex; flex-wrap: wrap; gap: 0.4rem 1.3rem; }
footer.fuss a { color: var(--hero-text); }
footer.fuss p { margin: 0; max-width: 52rem; }
footer.fuss .klein { font-size: 0.82rem; opacity: 0.85; }

@media (max-width: 52rem) {
    .referenz { grid-template-columns: 1fr; }
}
@media (max-width: 34rem) {
    html { font-size: 16px; }
    .kopf .huelle { gap: 0.2rem 1rem; }
    nav.haupt { gap: 0.2rem 1rem; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .knopf { transition: none; }
}
@media print {
    header.kopf, footer.fuss nav, .hero::before, .hero::after { display: none; }
    body { color: #000; background: #fff; }
}
/* ---------- Ergaenzungen takedachat.com ---------- */
.logo .glyph { fill: currentColor; }
.logo .da { color: #e2795a; }
.zeile { color: #f0a189; }
.sprachwahl { margin-left: 0.4rem; }
.gut { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.9rem 2.4rem;
       list-style: none; padding: 0; margin: 0; }
.gut li { padding-left: 1.6rem; position: relative; color: var(--tinte-leise); }
.gut li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 0.7rem; height: 0.7rem;
                  border-radius: 50%; background: var(--akzent); }
.gut strong { color: var(--tinte); }
/* Vier Karten = 2x2 (Symmetrie), auf schmalen Schirmen eine Spalte */
.karten.vier { grid-template-columns: repeat(2, 1fr); }
.hero h1 { max-width: 22ch; }
.nobr { white-space: nowrap; }
@media (max-width: 40rem) {
    .karten.vier { grid-template-columns: 1fr; }
    .gut { grid-template-columns: 1fr; }
}