@font-face { font-family: "Poppins"; font-style: normal; font-weight: 300; font-display: swap; src: url("assets/schriften/poppins-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/schriften/poppins-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("assets/schriften/poppins-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("assets/schriften/poppins-latin-600-normal.woff2") format("woff2"); }

:root {
  --navy: #344960;
  --navy-tief: #24344A;
  --tinte: #1F2E3F;
  --kupfer: #CC8561;
  --kupfer-text: #9C5636;
  --sand: #E3DAD0;
  --sand-hell: #F4F0EB;
  --grau: #56677A;
  --linie: #DCD4CB;
  --linie-fein: #EEE8E1;
  --rahmen: #6E7C8C;
  --weiss: #FFFFFF;

  --schrift: "Poppins", ui-sans-serif, system-ui, sans-serif;
  --radius: 6px;
  --breite: 74rem;
  --rand: clamp(1.25rem, 4vw, 2.5rem);
  --blatt-pad: clamp(1.5rem, 3vw, 2.25rem);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --schatten: 0 1px 2px rgba(36, 52, 74, 0.06), 0 18px 40px -22px rgba(36, 52, 74, 0.35);
  --haken: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.4l3 3 6-6.6' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 1.5rem; }
body { margin: 0; font-family: var(--schrift); font-size: 1.0625rem; line-height: 1.6; color: var(--tinte); background: var(--weiss); }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { margin: 0; line-height: 1.2; color: var(--navy); text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--kupfer-text); }
::selection { background: var(--sand); color: var(--tinte); }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; border-radius: 2px; }
[hidden] { display: none !important; }
.no-js .nur-js, .js .nur-ohne-js { display: none !important; }

.sprung { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--navy); color: #fff; padding: 0.6rem 1rem; border-radius: var(--radius); }
.sprung:focus { top: 1rem; color: #fff; }
.vorschau { background: var(--sand); color: var(--tinte); font-size: 0.8125rem; padding: 0.4rem var(--rand); text-align: center; }

.knopf { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0.7rem 1.4rem; border-radius: var(--radius); background: var(--navy); color: #fff; font: inherit; font-weight: 500; font-size: 1rem; text-decoration: none; border: 1px solid var(--navy); cursor: pointer; transition: transform 160ms var(--ease-out), background-color 200ms ease; }
.knopf:hover { background: var(--navy-tief); color: #fff; }
.knopf:active { transform: scale(0.97); }
.knopf-klein { min-height: 44px; padding: 0.5rem 1rem; font-size: 0.95rem; }
.knopf-hell { background: var(--sand); color: var(--navy-tief); border-color: var(--sand); min-height: 44px; padding: 0.5rem 1.1rem; font-size: 0.95rem; white-space: nowrap; }
.knopf-hell:hover { background: #fff; color: var(--navy-tief); }
.knopf-text { font: inherit; font-size: 0.95rem; font-weight: 500; color: var(--navy); background: none; border: 0; padding: 0.5rem 0.25rem; min-height: 44px; cursor: pointer; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.25em; }
.knopf-text:hover { color: var(--kupfer-text); }
.knopf-text[aria-pressed="true"] { color: var(--kupfer-text); text-decoration-thickness: 2px; }
.knopf-leise { color: var(--grau); font-weight: 400; margin-left: auto; }

.kopf { background: var(--navy-tief); }
.kopf-innen { max-width: var(--breite); margin: 0 auto; padding: 0.9rem var(--rand); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.marke img { width: clamp(132px, 32vw, 170px); }
.kopf .knopf-hell:focus-visible { outline-color: var(--sand); }

.werkbank { background: var(--sand-hell); padding: clamp(2.25rem, 5vw, 4rem) var(--rand) clamp(3rem, 6vw, 5rem); display: grid; gap: clamp(2.5rem, 4vw, 3.5rem); }
.werkbank > * { min-width: 0; }
@media (min-width: 1024px) {
  .werkbank { grid-template-columns: minmax(0, 1fr) minmax(0, 30rem); padding-left: max(var(--rand), calc((100vw - var(--breite)) / 2 + var(--rand))); padding-right: max(var(--rand), calc((100vw - var(--breite)) / 2 + var(--rand))); align-items: start; }
  .js .blatt { position: sticky; top: 1.5rem; max-height: calc(100dvh - 3rem); overflow: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--linie) transparent; }
  .js .blatt-leiste { position: sticky; top: calc(-1 * var(--blatt-pad)); z-index: 2; margin-inline: calc(-1 * var(--blatt-pad)); padding: 0.75rem var(--blatt-pad); background: var(--weiss); border-bottom: 1px solid var(--linie-fein); }
  .no-js .werkbank { grid-template-columns: minmax(0, 46rem); justify-content: center; }
}

.einstieg { padding-bottom: clamp(1.75rem, 3vw, 2.5rem); margin-bottom: clamp(1.75rem, 3vw, 2.5rem); border-bottom: 1px solid var(--linie); }
.no-js .einstieg { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.einstieg h1 { font-size: clamp(1.85rem, 4vw, 2.9rem); font-weight: 600; letter-spacing: -0.02em; max-width: 20ch; }
.lead { margin-top: 1rem; font-size: clamp(1.05rem, 1.6vw, 1.2rem); max-width: 54ch; }
.privat { margin-top: 0.9rem; font-size: 0.925rem; color: var(--grau); max-width: 58ch; }

.lagen h2 { font-size: clamp(1.35rem, 2.2vw, 1.6rem); font-weight: 600; }
.lagen-hinweis { margin-top: 0.4rem; color: var(--grau); font-size: 0.95rem; }
.lage-gruppe { border: 0; margin: 1.75rem 0 0; padding: 0; min-width: 0; }
.lage-gruppe legend { padding: 0; margin-bottom: 0.75rem; font-weight: 600; font-size: 1rem; color: var(--navy); }
.lage-gruppe ul { display: grid; gap: 0.5rem; }
.lage-box { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.lage { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 0.9rem; min-height: 60px; padding: 0.8rem 1rem; background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--radius); cursor: pointer; transition: border-color 160ms ease, box-shadow 160ms ease; -webkit-tap-highlight-color: transparent; }
.lage-text { display: grid; gap: 0.1rem; }
.lage-frage { font-weight: 500; color: var(--tinte); line-height: 1.4; }
.lage-hinweis { font-size: 0.9rem; color: var(--grau); line-height: 1.45; }
@media (hover: hover) and (pointer: fine) { .lage:hover { border-color: var(--rahmen); } }
.lage-box:focus-visible + .lage { outline: 2px solid var(--navy); outline-offset: 2px; }
.lage-box:checked + .lage { border-color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); }

.haken, .u-box { flex: none; width: 1.375rem; height: 1.375rem; border: 1.5px solid var(--rahmen); border-radius: 4px; background: var(--weiss) center / 80% no-repeat; transition: background-color 160ms ease, border-color 160ms ease, transform 160ms var(--ease-out); }
.lage:active .haken, .u-box:active { transform: scale(0.92); }
.lage-box:checked + .lage .haken, .u-box:checked { background-color: var(--navy); border-color: var(--navy); background-image: var(--haken); }
.u-box { -webkit-appearance: none; appearance: none; margin: 0.1rem 0 0; cursor: pointer; }
.u-box:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }

.gut-zu-wissen { margin-top: 2.25rem; padding-top: 1.25rem; border-top: 1px solid var(--linie); max-width: 60ch; }
.gut-zu-wissen h3 { font-size: 1rem; font-weight: 600; }
.gut-zu-wissen p { margin-top: 0.4rem; font-size: 0.95rem; }

.blatt { background: var(--weiss); border-radius: var(--radius); box-shadow: var(--schatten); padding: var(--blatt-pad); outline: none; }
.blatt-kopf { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; padding-bottom: 1.1rem; border-bottom: 3px solid var(--sand); }
.blatt-kopf img { width: 150px; }
.blatt-adresse { font-size: 0.75rem; line-height: 1.5; color: var(--grau); text-align: right; }
.blatt h2 { margin-top: 1.4rem; font-size: 1.4rem; font-weight: 600; }
.blatt-leiste { margin-top: 0.35rem; }
.stand { color: var(--grau); font-size: 0.95rem; }
.zahl { color: var(--kupfer-text); font-weight: 600; font-variant-numeric: tabular-nums; }
.werkzeuge { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 1rem; margin-top: 0.75rem; }
.werkzeuge .knopf { flex: 1 1 100%; }
@media (min-width: 480px) { .werkzeuge .knopf { flex: 0 1 auto; } }
.abhaken { margin-top: 1rem; font-size: 0.9rem; color: var(--grau); }
.druck-zeile { display: none; }

.u-gruppe { margin-top: 1.5rem; border-radius: var(--radius); }
.u-gruppe h3 { font-size: 0.95rem; font-weight: 600; padding-bottom: 0.45rem; border-bottom: 1px solid var(--linie); }
.u { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.75rem; align-items: start; padding: 0.6rem 0; }
.u + .u { border-top: 1px solid var(--linie-fein); }
.u label { cursor: pointer; display: grid; gap: 0.1rem; }
.u-name { font-weight: 500; font-size: 0.98rem; line-height: 1.4; text-decoration-line: underline; text-decoration-color: transparent; text-decoration-thickness: 1.5px; transition: color 160ms ease, text-decoration-color 160ms ease; }
.u-hinweis { font-size: 0.9rem; color: var(--grau); line-height: 1.45; }
.u-box:checked + label .u-name { color: var(--grau); text-decoration-line: line-through; text-decoration-color: var(--kupfer); }
.u-gruppe.neu { animation: rein 280ms var(--ease-out), leuchten 1600ms ease-out; }
@keyframes rein { from { opacity: 0; transform: translateY(-6px); } }
@keyframes leuchten { from { background-color: var(--sand-hell); box-shadow: 0 0 0 0.6rem var(--sand-hell); } to { background-color: rgba(244, 240, 235, 0); box-shadow: 0 0 0 0.6rem rgba(244, 240, 235, 0); } }

.blatt-fuss { margin-top: 1.75rem; padding-top: 1.1rem; border-top: 1px solid var(--linie); font-size: 0.875rem; color: var(--grau); display: grid; gap: 0.5rem; }
.blatt-kontakt a { font-weight: 500; }

.leiste { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.65rem var(--rand) calc(0.65rem + env(safe-area-inset-bottom)); background: var(--navy-tief); color: #fff; font-size: 0.95rem; box-shadow: 0 -8px 24px -12px rgba(36, 52, 74, 0.5); transition: transform 240ms var(--ease-out); }
.leiste .zahl { color: var(--sand); }
.leiste .knopf { background: var(--sand); border-color: var(--sand); color: var(--navy-tief); white-space: nowrap; }
.leiste.weg { transform: translateY(110%); visibility: hidden; transition: transform 240ms var(--ease-out), visibility 0s linear 240ms; }
.leiste a:focus-visible { outline-color: var(--sand); }
@media (min-width: 1024px) { .leiste { display: none; } }
@media (max-width: 1023.98px) { .js body { padding-bottom: 4.5rem; } }

.fuss { background: var(--navy-tief); color: #E9EEF3; font-size: 0.9rem; }
.fuss-innen { max-width: var(--breite); margin: 0 auto; padding: 2.5rem var(--rand); display: grid; gap: 1.25rem; }
@media (min-width: 768px) { .fuss-innen { grid-template-columns: auto 1fr 1fr auto; align-items: start; gap: 2.5rem; } }
.fuss-logo { width: 150px; }
.fuss a { color: #fff; }
.fuss a:hover { color: var(--sand); }
.fuss a:focus-visible { outline-color: var(--sand); }
.fuss nav { display: flex; gap: 1.25rem; }
.fuss nav a { display: inline-block; padding: 0.6rem 0; }

@media (max-width: 479.98px) {
  .kopf .knopf-hell { padding: 0.45rem 0.8rem; font-size: 0.875rem; }
  .blatt-kopf { flex-direction: column; }
  .blatt-adresse { text-align: left; }
  .lage { gap: 0.75rem; padding: 0.75rem 0.85rem; }
  .knopf-leise { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .u-gruppe.neu { animation: none; }
  .leiste, .haken, .u-box, .knopf { transition: none; }
}

@page { size: A4; margin: 14mm 15mm 16mm; }
@media print {
  html, body { background: #fff; font-size: 10pt; }
  body { padding: 0 !important; }
  .sprung, .vorschau, .kopf, .links, .blatt-leiste, .abhaken, .leiste, .fuss { display: none !important; }
  .werkbank { display: block; padding: 0; background: none; }
  .blatt { position: static !important; max-height: none !important; overflow: visible !important; box-shadow: none; padding: 0; border-radius: 0; }
  .blatt-kopf img { width: 46mm; }
  .blatt-adresse { font-size: 8pt; }
  .blatt h2 { font-size: 15pt; margin-top: 6mm; }
  .druck-zeile { display: flex; align-items: flex-end; gap: 2mm; margin-top: 4mm; font-size: 10pt; }
  .druck-zeile .linie { flex: 0 1 80mm; border-bottom: 0.6pt solid var(--tinte); height: 1em; margin-right: 6mm; }
  .u-gruppe { margin-top: 5mm; }
  .u-gruppe.neu { animation: none; }
  .u-gruppe h3 { font-size: 10.5pt; break-after: avoid; }
  .u { padding: 1.6mm 0; break-inside: avoid; }
  .u-box { width: 4mm; height: 4mm; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .u-name { font-size: 10pt; }
  .u-hinweis { font-size: 9.5pt; }
  .blatt-fuss { font-size: 9pt; break-inside: avoid; }
  a { color: var(--tinte); text-decoration: none; }
}
