/* ============================================================
   Achtung menschlich! – Stylesheet
   Farben (alle an einer Stelle, hier änderst du sie für die ganze Website):
   ============================================================ */
:root {
  --papier:     #FFFEF9;  /* Hintergrund */
  --himmel:     #87C0EB;  /* Kopfband, helle Flächen */
  --wasser:     #3D94DF;  /* Akzent, Linien */
  --wasser-dkl: #2B6FAE;  /* bisher Links – jetzt Reserve, ersetzt durch Petrol */
  --wiese:      #A3AD1A;  /* Wellenlinien, Akzente */
  --wiese-hell: #EEF0CF;  /* helle Kästen */
  --himmel-hell:#E6F2FB;  /* helle Kästen */
  --tinte:      #3C4326;  /* Schriftfarbe, Fußzeile */
  --tinte-hell: #5A6150;  /* Nebentext */
  --herz:       #B22222;  /* Rot aus dem Herz-Logo, sparsam einsetzen */
  --petrol:     #1F5F66;  /* NEU: Links, Navigation, kleine Überschriften */
  --achtung:    #F2C14E;  /* NEU: Maisgelb wie ein Warnschild – Hauptknöpfe, Markierungen */
  --achtung-hell:#FCEFC7; /* NEU: helle gelbe Kästen */
  --linie:      #D9DCC9;

  --schrift-hand: "Shantell Sans", "Segoe Print", cursive;
  --schrift-text: "Nunito", "Segoe UI", Arial, sans-serif;
  --breite: 64rem;
}

/* ---------- Schriften (lokal, ohne Google-Server) ---------- */
@font-face { font-family: "Nunito"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/nunito-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-weight: 400; font-style: italic; font-display: swap; src: url("../fonts/nunito-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/nunito-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-weight: 800; font-style: normal; font-display: swap; src: url("../fonts/nunito-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Shantell Sans"; font-weight: 500; font-display: swap; src: url("../fonts/shantell-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Shantell Sans"; font-weight: 700; font-display: swap; src: url("../fonts/shantell-sans-latin-700-normal.woff2") format("woff2"); }

/* ---------- Grundlagen ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--papier);
  color: var(--tinte);
  font-family: var(--schrift-text);
  font-size: 1.0625rem;
  line-height: 1.65;
}
img { max-width: 100%; height: auto; }
a { color: var(--petrol); text-underline-offset: 3px; }
a:hover { color: var(--tinte); }
:focus-visible { outline: 3px solid var(--wasser); outline-offset: 3px; }
.huelle { max-width: var(--breite); margin: 0 auto; padding-left: max(1.25rem, env(safe-area-inset-left)); padding-right: max(1.25rem, env(safe-area-inset-right)); }

h1, h2, h3 { font-family: var(--schrift-hand); font-weight: 700; line-height: 1.15; margin: 0 0 .5em; text-wrap: balance; hyphens: auto; overflow-wrap: break-word; }
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
.dachzeile { font-family: var(--schrift-text); font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--petrol); margin-bottom: .6rem; }
.welle { display: block; width: 180px; height: 14px; margin: .2rem 0 1.4rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 14'%3E%3Cpath d='M4 9 C30 2 55 13 85 7 C115 1 140 12 170 6 C182 4 190 6 196 5' stroke='%23A3AD1A' stroke-width='5' stroke-linecap='round' fill='none'/%3E%3C/svg%3E") no-repeat left center / contain; }

/* ---------- Kopf ---------- */
.kopf { background: var(--himmel); }
.kopf .huelle { display: flex; align-items: center; gap: 1rem; padding-top: .9rem; padding-bottom: .9rem; }
.logo { display: flex; align-items: center; gap: .6rem; text-decoration: none; }
.logo .herz { width: 64px; height: auto; }
.logo .schriftzug { font-family: var(--schrift-hand); font-weight: 700; font-size: 1.7rem; line-height: 1.05; color: var(--tinte); letter-spacing: .01em; }
.logo:hover .schriftzug { color: var(--papier); }

.navi { background: var(--papier); border-bottom: 2px solid var(--wasser); }
.navi ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem 1.6rem; }
.navi .huelle { padding-top: .7rem; padding-bottom: .7rem; }
.navi a { color: var(--petrol); font-weight: 800; text-decoration: none; padding: .3rem 0; border-bottom: 3px solid transparent; }
.navi a:hover { border-bottom-color: var(--wiese); color: var(--tinte); }
.navi a[aria-current="page"] { color: var(--tinte); border-bottom-color: var(--wasser); }

/* ---------- Bereiche ---------- */
main { display: block; }
.abschnitt { padding: 3.5rem 0; }
.abschnitt.hell { background: var(--himmel-hell); }
.abschnitt.wiese { background: var(--wiese-hell); }
.schmal { max-width: 42rem; }

/* Startbild */
.start { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 2.5rem; align-items: center; padding: 3.5rem 0 3rem; }
.start .bild img { width: 100%; display: block; }
.elfchen { font-family: var(--schrift-hand); font-weight: 500; font-size: 1.15rem; line-height: 1.5; }
.elfchen strong { font-weight: 700; font-size: 1.35em; display: block; margin-bottom: .2rem; }
.start .elfchen { font-size: 1.5rem; margin-bottom: 1.4rem; }
.einleitung { font-size: 1.15rem; color: var(--tinte); }
.haken { list-style: none; padding: 0; margin: 0 0 1.4rem; display: grid; gap: .45rem; }
.haken li { padding-left: 1.8rem; position: relative; }
.haken li::before { content: ""; position: absolute; left: 0; top: .45em; width: 1rem; height: .85rem;
  background: url("../bilder/herz-rot.png") no-repeat center / contain; }

/* Elfchen-Karten */
.drei { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; }
.karte { background: var(--papier); border: 2px solid var(--tinte); border-radius: 18px; padding: 1.4rem 1.5rem; }
.abschnitt:not(.hell):not(.wiese) .karte { background: var(--himmel-hell); border-color: transparent; }

/* Knöpfe */
.knopf { display: inline-block; background: var(--achtung); color: var(--tinte); font-weight: 800; text-decoration: none; padding: .75rem 1.3rem; border-radius: 999px; border: 2px solid var(--achtung); }
.knopf:hover { background: var(--petrol); border-color: var(--petrol); color: var(--papier); }
.knopf.zart { background: transparent; color: var(--petrol); border: 2px solid var(--petrol); }
.knopf.zart:hover { background: var(--petrol); color: var(--papier); }
.knoepfe { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.4rem; }

/* Blog */
.artikelliste { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.2rem; }
.artikelliste li { border-bottom: 1px solid var(--linie); padding-bottom: 1.2rem; }
.artikelliste h3 { margin-bottom: .2rem; }
.artikelliste h3 a { color: var(--tinte); text-decoration: none; }
.artikelliste h3 a:hover { color: var(--petrol); text-decoration: underline; }
.datum { font-size: .85rem; color: var(--tinte-hell); }
.leer { background: var(--wiese-hell); border-radius: 18px; padding: 1.4rem 1.6rem; }

.artikel { max-width: 42rem; margin: 0 auto; padding: 3rem 0 4rem; }
.artikel h2 { font-size: 1.6rem; margin-top: 2rem; }
.artikel blockquote { margin: 1.5rem 0; padding: 1rem 1.4rem; background: var(--himmel-hell); border-radius: 14px; font-family: var(--schrift-hand); font-size: 1.15rem; }
.uebung { background: var(--wiese-hell); border-radius: 18px; padding: 1.3rem 1.5rem; margin: 1.8rem 0; }
.uebung .dachzeile { color: var(--tinte); }

/* Porträt auf "Über mich" */
.portrait { float: right; width: 30%; max-width: 150px; margin: .3rem 0 .8rem 1.4rem; border-radius: 16px; box-shadow: 0 6px 18px rgba(60,67,38,.14); }
.artikel h2 { clear: both; }
@media (max-width: 520px) { .portrait { width: 34%; max-width: 120px; margin: .2rem 0 .6rem 1rem; } }

/* Teaser Workbook */
.teaser { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 2.5rem; align-items: center; }
.teaser img { width: 100%; }
.teaser .cover { max-width: 300px; display: block; margin: 0 auto; border-radius: 6px; box-shadow: 0 10px 30px rgba(60,67,38,.18); transform: rotate(2deg); }

/* Kontakt */
.kontaktkarte { background: var(--himmel-hell); border-radius: 18px; padding: 1.6rem 1.8rem; display: grid; gap: .3rem; max-width: 30rem; }
.hinweis { background: var(--wiese-hell); border-left: 0; border-radius: 14px; padding: 1rem 1.3rem; font-size: .95rem; }
.platzhalter { background: #FFF3C4; padding: 0 .25em; border-radius: 4px; }

/* ---------- NEU: Startseite ---------- */
.start h1 { font-size: clamp(2rem, 4.6vw, 3.1rem); }
.start .zeilen { font-size: 1.2rem; }
.markiert { background: linear-gradient(transparent 55%, var(--achtung-hell) 55%); padding: 0 .1em; }

/* Alltagsszenen "Kennst du das?" */
.szenen { list-style: none; padding: 0; margin: 0 0 1.6rem; display: grid; gap: 1rem; }
.szenen li { background: var(--papier); border-radius: 18px; padding: 1.1rem 1.4rem; }
.pointe { font-family: var(--schrift-hand); font-weight: 500; font-size: 1.3rem; }

/* Zwei Bedeutungen von "Achtung" */
.warnschild { width: 96px; height: auto; display: block; margin: 0 0 1rem; }
.zwei { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem; margin-bottom: 1.6rem; }
.abschnitt:not(.hell):not(.wiese) .zwei .karte { background: var(--achtung-hell); border-color: transparent; }
.abschnitt:not(.hell):not(.wiese) .zwei .karte:last-child { background: var(--himmel-hell); }
.zwei h3 { margin-bottom: .3rem; }

/* Kurz über mich */
.kurz { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 1.8rem; align-items: center; }
.kurz img { width: 140px; border-radius: 16px; box-shadow: 0 6px 18px rgba(60,67,38,.14); }

/* ---------- Fuß ---------- */
.fuss { background: var(--tinte); color: var(--papier); padding: 2.4rem 0 2rem; margin-top: 0; }
.fuss .huelle { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.5rem; }
.fuss a { color: var(--papier); }
.fuss .marke { font-family: var(--schrift-hand); font-weight: 700; font-size: 1.3rem; }
.fuss ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.2rem; flex-wrap: wrap; }
.fuss small { display: block; color: #D9DCC9; margin-top: .4rem; }

/* ---------- Handy ---------- */
@media (max-width: 760px) {
  .start, .teaser { grid-template-columns: 1fr; gap: 1.6rem; }
  .start .bild { order: -1; }
  .drei, .zwei { grid-template-columns: 1fr; }
  .kurz { grid-template-columns: 1fr; }
  .kurz img { width: 120px; }
  .abschnitt { padding: 2.5rem 0; }
  .logo .herz { width: 52px; }
  .logo .schriftzug { font-size: 1.4rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
