@font-face { font-family: "Bricolage"; src: url(/schriften/bricolage-grotesque-latin-600-normal.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Bricolage"; src: url(/schriften/bricolage-grotesque-latin-800-normal.woff2) format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url(/schriften/newsreader-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url(/schriften/newsreader-latin-400-italic.woff2) format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url(/schriften/newsreader-latin-600-normal.woff2) format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --tinte: #0c3b4c;      /* Mittelmeer bei Abend */
  --tinte-hell: #2f6273;
  --kalk: #f3f6f5;       /* gekalkte Wand */
  --stein: #d9e1df;
  --olive: #5e6b2e;
  --zitrone: #e8b931;
  --text: #13262d;
  --leise: #4f6168;
  --display: "Bricolage", ui-sans-serif, system-ui, sans-serif;
  --body: "Newsreader", Georgia, serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--kalk); color: var(--text); font: 400 1.1875rem/1.65 var(--body); }
a { color: var(--tinte); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--zitrone); outline-offset: 3px; border-radius: 2px; }
img { max-width: 100%; }

.huelle { max-width: 72rem; margin: 0 auto; padding: 0 1rem; }
@media (min-width: 48rem) { .huelle { padding: 0 2rem; } }

/* Kopf */
.kopf { padding: 1.25rem 0; }
.kopf .huelle { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; }
.marke { font: 800 1.15rem/1 var(--display); color: var(--tinte); text-decoration: none; letter-spacing: -.01em; }
.kopf nav { display: flex; gap: 1.25rem; font: 600 .95rem/1 var(--display); }
.kopf nav a { text-decoration: none; color: var(--leise); }
.kopf nav a:hover { color: var(--tinte); }

/* Held */
.held { background: var(--tinte); color: var(--kalk); padding: 3.5rem 0 3rem; }
.held__raster { display: grid; gap: 2.5rem; }
@media (min-width: 60rem) { .held__raster { grid-template-columns: 1.05fr 1fr; align-items: center; gap: 4rem; } }
.held h1 { font: 800 clamp(2.6rem, 7vw, 5rem)/.98 var(--display); letter-spacing: -.03em; margin: 0 0 1.5rem; }
.held p { max-width: 34rem; margin: 0 0 1rem; color: #d6e3e6; }
.held p.klein { font-size: 1rem; color: #a9c1c7; font-style: italic; }

.jahr { display: grid; grid-template-columns: repeat(21, 1fr); gap: 4px; max-width: 30rem; }
@media (min-width: 30rem) { .jahr { gap: 5px; } }
.jahr i { display: block; aspect-ratio: 1; border-radius: 50%; background: rgba(243,246,245,.14); }
.jahr i.an { background: var(--zitrone); }
.jahr-legende { display: flex; gap: .5rem 1.5rem; margin-top: 1rem; font: 600 .9rem/1.3 var(--display); color: #c4d6da; flex-wrap: wrap; }
.jahr-legende span::before { content: ""; display: inline-block; width: .7em; height: .7em; border-radius: 50%; margin-right: .45em; vertical-align: .02em; background: rgba(243,246,245,.25); }
.jahr-legende span.an::before { background: var(--zitrone); }
@media (prefers-reduced-motion: no-preference) {
  .jahr i.an { animation: auf .35s ease-out backwards; animation-delay: calc(var(--n) * 14ms + 250ms); }
  @keyframes auf { from { transform: scale(0); } }
}

/* Inhalt */
.inhalt { display: grid; gap: 2rem; padding-top: 3.5rem; padding-bottom: 2rem; }
@media (min-width: 60rem) { .inhalt { grid-template-columns: 13rem minmax(0, 44rem); gap: 4rem; } }
.toc { font: 600 .95rem/1.4 var(--display); }
@media (min-width: 60rem) { .toc { position: sticky; top: 1.5rem; align-self: start; } }
.toc p { margin: 0 0 .6rem; color: var(--leise); }
.toc ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .4rem 1rem; }
@media (min-width: 60rem) { .toc ol { display: block; } .toc li { margin: 0 0 .55rem; } }
.toc a { text-decoration: none; color: var(--tinte-hell); }
.toc a:hover { color: var(--tinte); text-decoration: underline; }

section { padding-bottom: 2.5rem; margin-bottom: 2.5rem; border-bottom: 1px solid var(--stein); scroll-margin-top: 1rem; }
section:last-of-type { border-bottom: 0; }
h2 { font: 800 clamp(1.75rem, 3.6vw, 2.35rem)/1.1 var(--display); letter-spacing: -.02em; color: var(--tinte); margin: 0 0 1rem; }
h3 { font: 600 1.2rem/1.3 var(--display); color: var(--tinte); margin: 1.75rem 0 .4rem; }
p, ul, ol, dl { margin: 0 0 1rem; }
ul { padding-left: 1.2rem; }
li { margin-bottom: .35rem; }

.fakten { display: grid; grid-template-columns: max-content 1fr; gap: .5rem 1.5rem; }
.fakten dt { font: 600 1rem/1.65 var(--display); color: var(--olive); }
.fakten dd { margin: 0; }
@media (max-width: 30rem) { .fakten { grid-template-columns: 1fr; gap: 0; } .fakten dd { margin-bottom: .75rem; } }

.orte { display: grid; gap: 1.25rem; }
@media (min-width: 40rem) { .orte { grid-template-columns: 1fr 1fr; } }
.orte h3 { margin-top: 0; }
.orte p { margin: 0; font-size: 1.05rem; }

.schritte { counter-reset: s; list-style: none; padding: 0; }
.schritte > li { counter-increment: s; position: relative; padding-left: 3rem; margin-bottom: 1.25rem; }
.schritte > li::before { content: counter(s); position: absolute; left: 0; top: .05rem; width: 2rem; height: 2rem; border-radius: 50%; background: var(--tinte); color: var(--kalk); font: 800 1rem/2rem var(--display); text-align: center; }
.schritte strong { font-family: var(--display); font-weight: 600; color: var(--tinte); }

.bedingungen { background: #fbf3d6; border-radius: 6px; padding: 1.25rem 1.5rem; margin: 1.25rem 0; }
.bedingungen p { margin-bottom: .5rem; font-family: var(--display); font-weight: 600; color: var(--tinte); }
.bedingungen ol { margin: 0; padding-left: 1.3rem; }

.check { list-style: none; padding: 0; }
.check li { padding-left: 2rem; position: relative; }
.check li::before { content: ""; position: absolute; left: 0; top: .35em; width: 1.05rem; height: 1.05rem; border: 2px solid var(--olive); border-radius: 3px; }

details { border-top: 1px solid var(--stein); padding: .9rem 0; }
details:last-of-type { border-bottom: 1px solid var(--stein); }
summary { cursor: pointer; font: 600 1.08rem/1.4 var(--display); color: var(--tinte); list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-weight: 800; color: var(--olive); transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { margin: .6rem 0 0; }

.hinweis { font-size: 1rem; color: var(--leise); font-style: italic; }

/* Fuss */
.fuss { background: var(--tinte); color: #c4d6da; padding: 2.5rem 0; font-size: 1rem; }
.fuss a { color: var(--kalk); }
.fuss .huelle { display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; }
.fuss p { margin: 0; max-width: 40rem; }

/* Rechtstexte */
.recht { max-width: 44rem; padding: 3rem 0 4rem; }
.recht h1 { font: 800 clamp(2rem, 5vw, 3rem)/1.05 var(--display); color: var(--tinte); letter-spacing: -.02em; margin: 0 0 1.5rem; }
.recht h2 { font-size: 1.35rem; margin-top: 2rem; }

/* Beratungsformular */
.beratung { background: var(--tinte); color: var(--kalk); padding: 2rem 1.25rem; border-radius: 6px; margin: 0 0 2.5rem; }
@media (min-width: 40rem) { .beratung { padding: 2.5rem; } }
.beratung h2 { color: var(--kalk); }
.beratung > p { color: #d6e3e6; max-width: 36rem; }
.formular { display: grid; gap: 1rem; margin-top: 1.5rem; }
@media (min-width: 40rem) { .formular { grid-template-columns: 1fr 1fr; } .formular .breit { grid-column: 1 / -1; } }
.formular label { display: grid; gap: .35rem; font: 600 .95rem/1.3 var(--display); color: #e3ecee; }
.formular input, .formular select, .formular textarea { font: 400 1.05rem/1.4 var(--body); color: var(--text); background: var(--kalk); border: 2px solid transparent; border-radius: 4px; padding: .65rem .75rem; width: 100%; }
.formular input:focus, .formular select:focus, .formular textarea:focus { outline: none; border-color: var(--zitrone); }
.formular textarea { min-height: 6rem; resize: vertical; }
.formular .einwilligung { display: flex; gap: .7rem; align-items: flex-start; font: 400 .95rem/1.45 var(--body); color: #c4d6da; }
.formular .einwilligung input { width: 1.15rem; height: 1.15rem; margin-top: .2rem; flex: none; accent-color: var(--zitrone); }
.formular .einwilligung a { color: var(--kalk); }
.formular button { justify-self: start; font: 800 1.05rem/1 var(--display); background: var(--zitrone); color: var(--tinte); border: 0; border-radius: 4px; padding: 1rem 1.5rem; cursor: pointer; }
.formular button:hover { background: #f2c94c; }
.formular button:disabled { opacity: .6; cursor: wait; }
.formular__status { margin: 0; font: 600 1rem/1.4 var(--display); min-height: 1.4em; }
.formular__status--ok { color: var(--zitrone); }
.formular__status--fehler { color: #ffb4a8; }
.versteckt { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Ratgeber */
.artikel { max-width: 44rem; padding-top: 3rem; padding-bottom: 1rem; }
.artikel h1 { font: 800 clamp(2.1rem, 5.5vw, 3.4rem)/1.04 var(--display); letter-spacing: -.025em; color: var(--tinte); margin: 0 0 1rem; }
.artikel .stand { font: 600 .95rem/1.3 var(--display); color: var(--leise); margin-bottom: 2rem; }
.artikel .einstieg { font-size: 1.3rem; line-height: 1.55; }
.artikel h2 { margin-top: 2.5rem; }
.artikel table { border-collapse: collapse; width: 100%; margin: 0 0 1.25rem; font-size: 1.02rem; }
.artikel th, .artikel td { text-align: left; padding: .5rem .75rem .5rem 0; border-bottom: 1px solid var(--stein); vertical-align: top; }
.artikel th { font: 600 .95rem/1.3 var(--display); color: var(--tinte); }
.tabelle { overflow-x: auto; }
.liste { list-style: none; padding: 0; margin: 0 0 1rem; }
.liste li { padding: 1rem 0; border-top: 1px solid var(--stein); margin: 0; }
.liste a { font: 600 1.15rem/1.3 var(--display); text-decoration: none; color: var(--tinte); }
.liste a:hover { text-decoration: underline; }
.liste p { margin: .3rem 0 0; font-size: 1.02rem; color: var(--leise); }
.ratgeber-kopf { max-width: 44rem; padding-top: 3rem; }
.ratgeber-kopf h1 { font: 800 clamp(2.4rem, 6vw, 3.8rem)/1 var(--display); letter-spacing: -.03em; color: var(--tinte); margin: 0 0 1rem; }
