/* ==========================================================================
   Monika Solution – Stilvorlage (hell, weich, Bento-Raster)
   1 Grundwerte · 2 Grundgeruest · 3 Typografie und Schaltflaechen · 4 Kopfzeile
   5 Hero · 6 Abschnitte und Bento · 7 Fuer wen, Ablauf, Fragen · 8 Kontakt
   9 Fusszeile · 10 Rechtsseiten · 11 Bewegung
   ========================================================================== */

/* 1 Grundwerte ----------------------------------------------------------- */
:root {
  --grund: #fbf8f4;
  --weiss: #ffffff;
  --text: #2a1f2d;
  --gedaempft: #6b5f6e;
  --linie: #ece5dc;
  --feldlinie: #d9d2c8;
  --pfirsich: #ffe3d3;  --pfirsich-tief: #ffdac6;
  --sand: #f3ead9;      --sand-tief: #eee3ce;
  --nebel: #e2ecdf;     --nebel-tief: #d9e6d5;
  --flieder: #ebe4f3;   --flieder-tief: #e3daee;
  --koralle: #e8553d;        /* Unterstreichung, Ziffern, Favicon */
  --koralle-knopf: #d2432b;  /* gefuellte Flaechen mit weissem Text, Fokus (AA) */
  --koralle-tief: #b93822;
  --breite: 1040px;
  --rand: 20px;
  --luft: clamp(64px, 9vw, 112px);
  --schrift: ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* 2 Grundgeruest --------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--grund); color: var(--text);
  font-family: var(--schrift); font-size: 1.0625rem; line-height: 1.65;
  overflow-wrap: break-word;
}
main { padding-bottom: var(--luft); }
.wrap { max-width: calc(var(--breite) + 2 * var(--rand)); margin: 0 auto; padding: 0 var(--rand); }
svg { max-width: 100%; }
.icon { flex: none; margin-top: 2px; }

a {
  color: inherit;
  text-decoration: underline 2px var(--koralle); text-underline-offset: 3px;
  transition: text-decoration-color 150ms;
}
a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--koralle-knopf); outline-offset: 2px; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 9; background: var(--weiss); padding: 8px 14px; border-radius: 12px; }

/* 3 Typografie und Schaltflaechen ---------------------------------------- */
h1, h2, h3 { margin: 0; font-weight: 700; }
h1 { font-size: clamp(2.2rem, 5.2vw, 4rem); line-height: 1.06; letter-spacing: -0.015em; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.25rem); line-height: 1.15; letter-spacing: -0.01em; }
h3 { font-size: 1.125rem; line-height: 1.3; }
p { margin: 0 0 16px; }
p:last-child { margin-bottom: 0; }
.anriss { font-size: 1.1875rem; max-width: 34em; }
.gedaempft { color: var(--gedaempft); }
.klein { font-size: 0.9375rem; }

.knopf {
  display: inline-block;
  background: var(--koralle-knopf); color: var(--weiss);
  font: inherit; font-weight: 600; line-height: 1.3; text-decoration: none;
  padding: 13px 26px; border: 0; border-radius: 999px; cursor: pointer;
  transition: background-color 150ms;
}
.knopf:hover { background: var(--koralle-tief); }
.knopf--klein { padding: 8px 16px; font-size: 0.9375rem; white-space: nowrap; }
.aktion { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 30px; }

/* 4 Kopfzeile ------------------------------------------------------------ */
.kopf {
  position: sticky; top: 16px; z-index: 5;
  width: calc(100% - 32px); max-width: var(--breite); margin: 16px auto 0;
  background: var(--weiss); border: 1px solid var(--linie); border-radius: 999px;
}
.kopf__innen {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px 20px; padding: 7px 8px 7px 24px;
}
.marke { font-size: 1.125rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.nav__liste {
  display: flex; align-items: center; gap: 6px 20px;
  list-style: none; margin: 0; padding: 0; font-size: 0.9375rem;
}
.nav__liste a:not(.knopf) { text-decoration-color: transparent; }
.nav__liste a:not(.knopf):hover { text-decoration-color: var(--koralle); }

@media (min-width: 700px) and (max-width: 859px) {
  .kopf__innen { padding-left: 18px; }
  .nav__liste { gap: 6px 12px; font-size: 0.875rem; }
}
@media (max-width: 699px) {
  .kopf { position: static; width: auto; max-width: none; margin: 0; border-width: 0 0 1px; border-radius: 0; }
  .kopf__innen { flex-direction: column; align-items: flex-start; padding: 14px var(--rand); }
  .nav__liste { flex-wrap: wrap; }
}

/* 5 Hero ----------------------------------------------------------------- */
.hero { padding-top: clamp(40px, 7vw, 88px); }
.hero__raster { display: grid; gap: 36px; }
.hero h1 { margin-bottom: 22px; }
.wort {
  display: flex; flex-direction: column; justify-content: flex-end;
  margin: 0; padding: clamp(26px, 4vw, 40px);
  background: var(--pfirsich); border-radius: 28px;
}
.wort blockquote { margin: 0 0 22px; font-size: 1.125rem; }
.wort figcaption { font-size: 0.9375rem; line-height: 1.5; }

@media (min-width: 900px) {
  .hero__raster { grid-template-columns: 1.2fr 0.8fr; gap: 56px; align-items: stretch; }
  .hero__text { align-self: center; }
  .wort { min-height: 380px; }
}

/* 6 Abschnitte und Bento ------------------------------------------------- */
.abschnitt { padding-top: var(--luft); }
.kopfzeile { max-width: 680px; }
.kopfzeile h2 { margin-bottom: 14px; }
@media (min-width: 700px) { section[id] { scroll-margin-top: 28px; } }

.bento { display: grid; gap: 16px; margin-top: 36px; }
.kachel { border-radius: 24px; padding: 28px; transition: background-color 150ms; }
.kachel h3 { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 10px; }
.kachel ul { margin: 14px 0 0; padding-left: 20px; }
.kachel li { margin-bottom: 4px; break-inside: avoid; }
.kachel ul + p { margin-top: 16px; }
.kachel--pfirsich { background: var(--pfirsich); }
.kachel--sand { background: var(--sand); }
.kachel--nebel { background: var(--nebel); }
.kachel--flieder { background: var(--flieder); }
.kachel--pfirsich:hover { background: var(--pfirsich-tief); }
.kachel--sand:hover { background: var(--sand-tief); }
.kachel--nebel:hover { background: var(--nebel-tief); }
.kachel--flieder:hover { background: var(--flieder-tief); }

.hinweis {
  display: flex; align-items: flex-start; gap: 12px;
  margin: 16px 0 0; padding: 18px 28px;
  background: var(--sand); border-radius: 24px; font-weight: 600;
}

@media (min-width: 600px) {
  .kachel--s4 ul { columns: 2; column-gap: 36px; }
}
@media (min-width: 600px) and (max-width: 899px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .kachel--s4, .kachel--mvoll { grid-column: span 2; }
}
@media (min-width: 900px) {
  .bento { grid-template-columns: repeat(6, 1fr); }
  .kachel--s2 { grid-column: span 2; }
  .kachel--s3 { grid-column: span 3; }
  .kachel--s4 { grid-column: span 4; }
}

/* 7 Fuer wen, Ablauf, Fragen --------------------------------------------- */
.reihe { display: grid; gap: 28px; margin-top: 36px; }
.reihe__block { border-top: 1px solid var(--feldlinie); padding-top: 16px; }
.reihe__block h3 { margin-bottom: 6px; }
.reihe__block p { font-size: 0.9375rem; }

.schritte { display: grid; gap: 32px; list-style: none; margin: 36px 0 0; padding: 0; }
.schritte__nr { display: block; margin-bottom: 12px; font-size: 3.25rem; font-weight: 700; line-height: 1; color: var(--koralle); }
.schritte h3 { margin-bottom: 6px; }

.fragen { display: grid; gap: 32px 48px; margin-top: 32px; }
.frage h3 { margin-bottom: 8px; }

@media (min-width: 600px) { .reihe { grid-template-columns: 1fr 1fr; } }
@media (min-width: 760px) { .fragen { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) {
  .reihe { grid-template-columns: repeat(5, 1fr); }
  .schritte { grid-template-columns: repeat(4, 1fr); }
}

/* 8 Kontakt -------------------------------------------------------------- */
.kontakt {
  display: grid; gap: 36px;
  background: var(--nebel); border-radius: 28px; padding: clamp(24px, 5vw, 56px);
}
.kontakt h2 { margin-bottom: 14px; }
.kontaktliste { list-style: none; margin: 24px 0 0; padding: 0; }
.kontaktliste li { display: flex; gap: 12px; margin-bottom: 12px; }
.form { min-width: 0; }
.form .feld { margin: 0 0 16px; }
.feld label { display: block; margin-bottom: 5px; font-size: 0.9375rem; font-weight: 600; }
.feld input, .feld select, .feld textarea {
  display: block; width: 100%; min-height: 52px; padding: 11px 14px;
  border: 1px solid var(--feldlinie); border-radius: 12px;
  background: var(--weiss); color: var(--text); font: inherit;
}
.feld input:focus-visible, .feld select:focus-visible, .feld textarea:focus-visible {
  outline-offset: 0; border-color: var(--koralle-knopf);
}
.feld ::placeholder { color: var(--gedaempft); opacity: 1; }
.feld textarea { resize: vertical; }
.form .feld--haken { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 22px; }
.feld--haken input { flex: none; width: 20px; height: 20px; min-height: 0; margin: 3px 0 0; padding: 0; accent-color: var(--koralle-knopf); }
.feld--haken label { margin: 0; font-weight: 400; }

@media (min-width: 640px) { .form__paar { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; } }
@media (min-width: 900px) { .kontakt { grid-template-columns: 0.8fr 1.2fr; gap: 56px; } }

/* 9 Fusszeile ------------------------------------------------------------ */
.fuss {
  background: var(--text); color: var(--grund);
  border-radius: 28px 28px 0 0; padding: 56px 0 44px; font-size: 0.9375rem;
}
.fuss__innen { display: grid; gap: 28px; }
.fuss__firma { margin-bottom: 6px; font-size: 1.25rem; font-weight: 700; }
.fuss .kontaktliste { margin-top: 0; }
.fuss__links { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; margin: 0; padding: 0; }

@media (min-width: 760px) {
  .fuss__innen { grid-template-columns: 1.3fr 1fr auto; }
  .fuss__links { flex-direction: column; }
}

/* 10 Rechtsseiten und 404 ------------------------------------------------ */
.recht { max-width: 680px; }
.recht h1 { margin-bottom: 20px; font-size: clamp(1.9rem, 4.2vw, 2.75rem); line-height: 1.12; hyphens: auto; }
.recht h2 { margin: 40px 0 10px; font-size: 1.3rem; letter-spacing: 0; }
.liste { margin: 0 0 16px; padding-left: 20px; }
.liste li { margin-bottom: 4px; }
.zurueck { margin-top: 40px; }

/* 11 Bewegung ------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
