/* ki-fuer-vermittler.de — Online-Begleiter zum Buch
   Farbwelt: Marineblau (Sakko), Papier, Einstecktuch-Rot, Beton (Fotohintergrund) */

:root{
  --tinte:#1b2a4a;
  --tinte-dunkel:#12203c;
  --papier:#fafaf7;
  --karte:#ffffff;
  --rot:#a61e2e;
  --beton:#6b7280;
  --linie:#dcdfe4;
  --hell:#eef0f3;
}

*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
@media (prefers-reduced-motion: reduce){html{scroll-behavior:auto}}

body{
  min-height:100vh;min-height:100svh;display:flex;flex-direction:column;
  font-family:"Source Serif 4", Georgia, serif;
  font-size:1.125rem;line-height:1.65;
  color:var(--tinte);background:var(--papier);
}
h1,h2,h3,nav,.knopf,.stempel,.eyebrow,footer,.prompt-titel{
  font-family:"Archivo","Segoe UI",Arial,sans-serif;
}

/* ---------- Kopf ---------- */
header{background:var(--tinte);color:#fff}
.kopf-innen{max-width:1060px;margin:0 auto;padding:.9rem 1.2rem;
  display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:.6rem}
.wortmarke{font-family:"Archivo";font-weight:800;font-size:1.05rem;letter-spacing:.02em;
  color:#fff;text-decoration:none}
.wortmarke span{color:#e8b7bd}
nav{display:flex;gap:1.1rem;flex-wrap:wrap}
nav a{color:#d7dce6;text-decoration:none;font-size:.95rem;font-weight:600;padding:.2rem 0;
  border-bottom:2px solid transparent}
nav a:hover,nav a:focus-visible{color:#fff;border-bottom-color:var(--rot)}
nav a[aria-current="page"]{color:#fff;border-bottom-color:#fff}
a:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid var(--rot);outline-offset:2px}

/* ---------- Held ---------- */
.held{background:linear-gradient(180deg,var(--tinte) 0%,var(--tinte-dunkel) 100%);color:#fff;
  padding:4.2rem 1.2rem 4.6rem}
.held-innen{max-width:1060px;margin:0 auto;display:grid;grid-template-columns:1.4fr 1fr;gap:3rem;align-items:center}
.eyebrow{font-size:.85rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:#e8b7bd;margin-bottom:1rem}
.held h1{font-size:clamp(2rem,4.6vw,3.3rem);line-height:1.12;font-weight:800;letter-spacing:-.01em}
.held h1 em{font-style:normal;color:#e8b7bd}
.held p.unterzeile{font-size:1.2rem;color:#c9d0dd;margin-top:1.2rem;max-width:34rem}
.held .knopfleiste{margin-top:2rem;display:flex;gap:.9rem;flex-wrap:wrap}
.buchdeckel{background:var(--karte);color:var(--tinte);border-radius:6px;padding:1.6rem 1.5rem;
  box-shadow:0 18px 40px rgba(0,0,0,.35);border-top:6px solid var(--rot)}
.buchdeckel .b-titel{font-family:"Archivo";font-weight:800;font-size:1.35rem;line-height:1.2}
.buchdeckel .b-unter{font-size:.98rem;color:var(--beton);margin-top:.6rem;line-height:1.45}
.buchdeckel .b-autor{margin-top:1rem;font-family:"Archivo";font-weight:600;font-size:.95rem}
.buchdeckel .b-erscheint{margin-top:.9rem;font-size:.88rem;font-family:"Archivo";
  color:var(--rot);font-weight:700;letter-spacing:.04em}

/* ---------- Knöpfe ---------- */
.knopf{display:inline-block;font-weight:700;font-size:1rem;text-decoration:none;cursor:pointer;
  padding:.75rem 1.4rem;border-radius:4px;border:2px solid transparent}
.knopf-voll{background:var(--rot);color:#fff}
.knopf-voll:hover{background:#8c1826}
.knopf-hohl{border-color:#c9d0dd;color:#fff;background:transparent}
.knopf-hohl:hover{border-color:#fff}
.knopf-blau{background:var(--tinte);color:#fff}
.knopf-blau:hover{background:var(--tinte-dunkel)}

/* ---------- Inhalt ---------- */
main{width:100%;max-width:1060px;margin:0 auto;padding:0 1.2rem;flex:1 0 auto}
.abschnitt{padding:3.6rem 0;border-bottom:1px solid var(--linie)}
.abschnitt:last-of-type{border-bottom:none}
.abschnitt h2{font-size:1.7rem;font-weight:800;margin-bottom:1.2rem;letter-spacing:-.01em}
.abschnitt .lesetext{max-width:44rem}
.lesetext p+p{margin-top:1rem}

/* Stand-Stempel — das Erkennungszeichen der Seite */
.stempel{display:inline-block;font-size:.78rem;font-weight:700;letter-spacing:.05em;
  color:var(--rot);border:1.5px solid var(--rot);border-radius:3px;padding:.1rem .5rem;
  vertical-align:middle;white-space:nowrap;background:#fff}

/* Zahlen-Karten */
.zahlen{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:1.2rem;margin-top:1.6rem}
.zahl-karte{background:var(--karte);border:1px solid var(--linie);border-left:5px solid var(--tinte);
  border-radius:5px;padding:1.3rem 1.4rem}
.zahl-karte .wert{font-family:"Archivo";font-weight:800;font-size:2.1rem;line-height:1}
.zahl-karte .was{margin-top:.5rem;font-size:1rem;line-height:1.45}
.zahl-karte .quelle{margin-top:.8rem;font-size:.85rem;color:var(--beton);font-family:"Archivo"}

/* Prompt-Karten */
.prompt-karte{background:var(--karte);border:1px solid var(--linie);border-radius:5px;
  padding:1.4rem 1.5rem;margin-top:1.4rem}
.prompt-titel{font-weight:800;font-size:1.12rem}
.prompt-wozu{color:var(--beton);font-size:.98rem;margin-top:.3rem}
.prompt-text{background:var(--hell);border-radius:4px;padding:1rem 1.1rem;margin-top:1rem;
  font-size:1rem;line-height:1.55;white-space:pre-wrap}
.prompt-fuss{display:flex;justify-content:space-between;align-items:center;gap:1rem;margin-top:.9rem;flex-wrap:wrap}
.prompt-tipp{font-size:.92rem;color:var(--beton);max-width:34rem}
.kopieren{font-family:"Archivo";font-weight:700;font-size:.92rem;background:var(--tinte);color:#fff;
  border:none;border-radius:4px;padding:.55rem 1rem;cursor:pointer}
.kopieren:hover{background:var(--tinte-dunkel)}
.kopieren.ok{background:#1e6b3a}

/* Merksatz-Kasten wie im Buch */
.merksatz{border-left:5px solid var(--rot);background:var(--karte);border-radius:0 5px 5px 0;
  padding:1.1rem 1.3rem;margin:1.6rem 0;font-size:1.15rem;font-style:italic}

/* Newsletter */
.newsletter{background:var(--tinte);color:#fff;border-radius:8px;padding:2.4rem 2rem;margin:1rem 0}
.newsletter h2{color:#fff}
.newsletter p{color:#c9d0dd;max-width:38rem}
.nl-form{display:flex;gap:.8rem;margin-top:1.4rem;flex-wrap:wrap}
.nl-form input{flex:1 1 260px;padding:.75rem 1rem;font-size:1rem;border-radius:4px;border:none;
  font-family:"Archivo"}
.nl-hinweis{font-size:.85rem;color:#9aa5b8;margin-top:.9rem}

/* Autor */
.autor-raster{display:grid;grid-template-columns:280px 1fr;gap:2.4rem;align-items:start}
.autor-raster img{display:block;width:100%;height:auto;border-radius:6px;border:1px solid var(--linie)}

/* Fuß */
footer{background:var(--tinte-dunkel);color:#9aa5b8;margin-top:auto}
.fuss-innen{max-width:1060px;margin:0 auto;padding:1.6rem 1.2rem;display:flex;
  justify-content:space-between;flex-wrap:wrap;gap:1rem;font-size:.9rem}
footer a{color:#c9d0dd;text-decoration:none;margin-left:1.2rem}
footer a:hover{text-decoration:underline}

@media (max-width:820px){
  nav a{display:flex;align-items:center;min-height:44px}
  .held-innen{grid-template-columns:1fr}
  .buchdeckel{max-width:26rem}
  .autor-raster{grid-template-columns:1fr}
  .autor-raster img{max-width:320px;justify-self:center}
}

@media (max-width:640px){
  body{font-size:1.05rem}
  .kopf-innen{display:block;padding:.8rem 1rem}
  .wortmarke{display:inline-block;margin-bottom:.75rem}
  nav{width:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem}
  nav a{display:flex;align-items:center;justify-content:center;width:100%;min-width:0;min-height:48px;
    padding:.5rem .35rem;border:1px solid rgba(255,255,255,.22);border-radius:4px;
    background:rgba(255,255,255,.04);font-size:.84rem;line-height:1.25;text-align:center;
    overflow-wrap:anywhere}
  nav a:hover,nav a:focus-visible{border-color:#e8b7bd;background:rgba(255,255,255,.09)}
  nav a[aria-current="page"]{border-color:#fff;background:rgba(255,255,255,.12)}
  nav a:last-child{grid-column:1/-1;justify-self:stretch}

  .held{padding:2.7rem 1rem 3.2rem}
  .held-innen{gap:2.2rem}
  .held p.unterzeile{font-size:1.08rem}
  .held .knopfleiste{display:grid;grid-template-columns:1fr}
  .held .knopf{text-align:center}

  main{padding:0 1rem}
  .abschnitt{padding:2.7rem 0}
  .abschnitt h2{font-size:clamp(1.55rem,7vw,1.8rem);line-height:1.25}
  .abschnitt > p .knopf{width:100%;margin-left:0!important;text-align:center}
  .abschnitt > p .knopf + .knopf{margin-top:.65rem}
  .zahlen{grid-template-columns:minmax(0,1fr)}
  .zahl-karte{padding:1.15rem}

  .prompt-karte{padding:1.1rem}
  .prompt-text{font-size:.95rem;overflow-wrap:anywhere}
  .prompt-fuss .kopieren{width:100%;min-height:44px}

  .newsletter{padding:1.8rem 1.15rem}
  .nl-form{display:grid;grid-template-columns:minmax(0,1fr)}
  .nl-form input,.nl-form button{width:100%;min-height:48px}

  .fuss-innen{display:grid;justify-items:start;padding:1.1rem 1rem;gap:.45rem}
  footer a{display:inline-flex;align-items:center;min-height:44px;margin-left:0;margin-right:1rem}
}
