/* Kf3tec warranty site, final, direction "Kohle und Karton" (charcoal and cardboard).
   The palette is the box and the printed card: kraft band with the black rule and the print blue #3790BC at the head
   and the foot, carbon black (the filter) for the guarantee band, white paper for reading, the listing's sky blue for
   the one highlighted surface (statutory rights, newsletter follow-up, privacy section 11). No illustrations: the
   hero is typographic, small inline marks only where they help scanning. One family, Archivo (OFL, four weights,
   self-hosted WOFF2 in /fonts/). No cookies, no storage, no requests beyond this file and the fonts. Everything works
   without JavaScript; motion is CSS only and off under prefers-reduced-motion. */
@font-face { font-family: "Archivo"; font-weight: 400; font-style: normal; font-display: swap; src: url("/fonts/archivo-400.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-weight: 600; font-style: normal; font-display: swap; src: url("/fonts/archivo-600.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-weight: 700; font-style: normal; font-display: swap; src: url("/fonts/archivo-700.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-weight: 800; font-style: normal; font-display: swap; src: url("/fonts/archivo-800.woff2") format("woff2"); }

:root {
  --papier: #FFFFFF;
  --flaeche: #F3F4F6;          /* tinted surface */
  --linie: #D9DDE2;
  --rand: #6B7177;             /* field borders, 4.7:1 on white */
  --tinte: #16191C;
  --tinte-2: #3A3F45;          /* secondary text, 9.6:1 on white, 8.9:1 on the surface */
  --kohle: #1B1E22;            /* the filter: the guarantee band */
  --kohle-linie: #363B42;
  --kohle-text: #F3F5F7;
  --kraft: #C99A71;            /* the box and the card */
  --blau: #3790BC;             /* the print blue: 3.6:1 on white, so only for marks, bands, rings; ink on it 5:1 */
  --blau-hell: #8FCBEA;        /* links and marks on carbon, 10:1 */
  --navy: #0F2D48;             /* text-size blue: links, buttons, 14:1 on white */
  --navy-hell: #1B4468;
  --himmel: #C3D7EF;           /* the listing's light blue: ink on it 12.9:1 */
  --fehler: #A3241A;
  --fehler-flaeche: #FBECE8;
  --schrift: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mass: 66ch;
  --rahmen: 48rem;             /* one reading column on every screen: the buyer reads top to bottom, never side to side */
  --radius: 12px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: light;
}

[hidden] { display: none !important; }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--papier);
  color: var(--tinte);
  font: 400 1rem/1.5 var(--schrift);
  font-kerning: normal;
}
main { flex: 1 0 auto; width: 100%; }

/* Frame and measure */
.innen { width: 100%; max-width: var(--rahmen); margin: 0 auto; padding: 0 16px; }
.text { padding-top: 36px; padding-bottom: 72px; }
.status { padding-top: 44px; padding-bottom: 88px; }

/* Type */
h1, h2, h3 { color: var(--tinte); text-wrap: balance; margin: 0; }
h1 { font-size: clamp(2rem, 3.2vw + 1.2rem, 2.75rem); font-weight: 800; line-height: 1.04; letter-spacing: -0.024em; margin-bottom: 16px; }
h2 { font-size: clamp(1.25rem, 4.6vw + 0.2rem, 1.75rem); font-weight: 700; line-height: 1.15; letter-spacing: -0.012em; margin: 40px 0 12px; }
h3 { font-size: 1.125rem; font-weight: 700; margin: 24px 0 6px; }
/* The two legal titles are single 19 and 20 letter words: they must fit between the gutters at 360 px without a break. */
.text h1 { font-size: clamp(1.625rem, 6.9vw, 3rem); }
.status h1 { font-size: clamp(1.75rem, 2.4vw + 1.2rem, 2.75rem); }
p { margin: 0 0 14px; }
p, li { text-wrap: pretty; }
/* German compounds (Filterwechselklappe, Amazon-Bewertung) dropped whole to the next line and left wide gaps on phones.
   Body text hyphenates at dictionary points, long words only; headings never do, they are sized so the longest words fit. */
p, li, .check > span { -webkit-hyphens: auto; hyphens: auto; hyphenate-limit-chars: 10 4 4; }
ul, ol { padding-left: 1.25em; margin: 0 0 14px; }
li + li { margin-top: 8px; }
li::marker { color: var(--blau); }
a { color: var(--navy); text-underline-offset: 3px; text-decoration-thickness: 1px; transition: text-decoration-thickness 0.15s; }
a:hover { color: var(--navy-hell); text-decoration-thickness: 2px; }
a[href^="mailto:"] { white-space: nowrap; }
.fest { white-space: nowrap; }                                   /* E-Mail, Kf3tec-Filter, the type codes: never "E- / Mail" */
@media (min-width: 22rem) { .pfad { white-space: nowrap; } }     /* the one long path in the privacy policy, held whole from 22 rem */
strong { font-weight: 700; }
.lead { font-size: 1.125rem; line-height: 1.5; text-wrap: pretty; }
.stand { color: var(--tinte-2); font-size: 0.9375rem; margin-top: -8px; }
.adresse { margin-bottom: 18px; }
:focus-visible { outline: 3px solid var(--blau); outline-offset: 3px; border-radius: 2px; }
.kopf :focus-visible, .fuss :focus-visible { outline-color: var(--tinte); outline-offset: 2px; box-shadow: 0 0 0 7px var(--blau); }

/* 3-month banner (Michael, 7 Oct): the head's blue band grows into one line under it. White on the blue is 3.6:1,
   so the type stays large and bold (WCAG AA large text, 3:1). Same words as the card's blue bar. */
.band { background: var(--blau); color: var(--papier); margin-top: -1px; position: relative; }   /* -1px: covers the gradient seam */
.band .innen { padding-top: 5px; padding-bottom: 14px; font-weight: 700; font-size: 1.25rem; line-height: 1.35; text-wrap: balance; }

/* Marks: one stroke weight, currentColor, 22 px, never a picture */
.ikon { width: 22px; height: 22px; flex: none; }

/* Head: the card, one to one. Kraft band, 3 px black rule, 10 px blue band, as hard stops of one background. */
.kopf { background: linear-gradient(to bottom, var(--kraft) 0 calc(100% - 13px), var(--tinte) 0 calc(100% - 10px), var(--blau) 0); padding-bottom: 13px; }
.kopf .innen { display: flex; align-items: center; min-height: 58px; }
.marke {
  display: inline-block;
  padding: 14px 0 12px;
  font-weight: 800;
  font-size: 1.75rem;
  line-height: 1;
  letter-spacing: -0.035em;
  color: var(--tinte);
  text-decoration: none;
}
a.marke:hover { color: var(--tinte); text-decoration: none; }

/* Hero: typographic. Title, lead, jump to the form, stacked. */
.held { background: var(--papier); }
.held-innen {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "title" "lead" "jump";
  gap: 20px;
  padding-top: 32px;
  padding-bottom: 28px;
}
.held-innen h1 { grid-area: title; margin-bottom: 0; }
.held-innen .lead { grid-area: lead; margin-bottom: 0; max-width: 36rem; }
.held-innen > .knopf { grid-area: jump; margin: 4px 0 0; }

/* Buttons and button-like links: the one filled element */
button, .knopf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 56px;
  margin: 0;
  padding: 14px 28px;
  font: inherit;
  font-weight: 700;
  color: #fff;
  text-align: center;
  text-decoration: none;
  background: var(--navy);
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.2s var(--ease-out), transform 0.12s var(--ease-out);
}
button:hover, .knopf:hover { color: #fff; background: var(--navy-hell); }
button:active, .knopf:active { transform: translateY(1px); }
button:disabled { opacity: 0.75; cursor: progress; transform: none; }
.knopf svg { width: 20px; height: 20px; flex: none; }
.sekundaer {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 10px 20px;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  border: 1.5px solid var(--navy);
  border-radius: 8px;
  transition: background-color 0.2s var(--ease-out);
}
.sekundaer:hover { color: var(--navy); background: var(--flaeche); text-decoration: none; }
.sekundaer svg { width: 18px; height: 18px; flex: none; }

/* Spec strip: the product line on the tinted surface, the four type codes held whole */
.produkt { background: var(--flaeche); border-top: 1px solid var(--linie); border-bottom: 1px solid var(--linie); }
.produkt .innen { padding-top: 18px; padding-bottom: 18px; }
.produkt p { margin: 0; max-width: 60rem; line-height: 1.55; }
.typ { font-weight: 600; white-space: nowrap; }

/* Form, in reading order: fields, the newsletter box under them, the privacy note, the button across the column */
.formular { padding: 36px 0 52px; scroll-margin-top: 12px; }
h2[id] { scroll-margin-top: 20px; }
.formular-kopf { max-width: var(--mass); margin-bottom: 22px; }
.formular-kopf h2 { margin-top: 0; }
.formular-kopf .klein { margin-top: 6px; }
.formular form { margin: 0; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: "felder" "einwilligung" "hinweis" "absenden"; }
.felder { grid-area: felder; }
.feld + .feld, .feld + .feld-reihe, .feld-reihe + .feld { margin-top: 18px; }
.feld > label { display: block; font-weight: 600; margin-bottom: 6px; }
.feld-reihe { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px 16px; }
.feld-reihe > .feld { margin-top: 0; }
input[type="email"], input[type="text"], input[type="date"], select {
  display: block;
  width: 100%;
  min-height: 52px;
  margin: 0;
  padding: 12px 14px;
  font: inherit;
  color: inherit;
  background: var(--papier);
  border: 1.5px solid var(--rand);
  border-radius: 8px;
  transition: border-color 0.15s;
}
/* iPhone Safari gives date fields a fixed width wider than the column and centres the date:
   that pushed the page sideways on phones (Alvi's iPhone test, 6 Oct). */
input[type="date"] { -webkit-appearance: none; appearance: none; min-width: 0; max-width: 100%; }
input[type="date"]::-webkit-date-and-time-value { text-align: left; }
input::placeholder { color: var(--tinte-2); opacity: 1; }
#bestellnummer { font-variant-numeric: tabular-nums; letter-spacing: 0.02em; }
select { padding-right: 8px; text-overflow: ellipsis; }
input:hover, select:hover { border-color: var(--tinte); }
input:focus-visible, select:focus-visible { outline: 3px solid var(--blau); outline-offset: 2px; border-color: var(--tinte); }
input[aria-invalid="true"], select[aria-invalid="true"] { border: 2px solid var(--fehler); outline-color: var(--fehler); }
.hilfe, .klein { margin: 8px 0 0; color: var(--tinte-2); font-size: 0.9375rem; }
.fehler { margin: 8px 0 0; color: var(--fehler); font-weight: 600; font-size: 0.9375rem; }
.fehler-summary {
  margin: 0 0 18px;
  padding: 12px 16px;
  color: var(--fehler);
  font-weight: 600;
  background: var(--fehler-flaeche);
  border-left: 4px solid var(--fehler);
  border-radius: 6px;
}

/* Honeypot: off-screen, not display:none, so password managers leave it alone */
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.einwilligung { grid-area: einwilligung; margin-top: 28px; }
.newsletter { margin: 0; padding: 18px 16px 16px; min-width: 0; background: var(--flaeche); border: 0; border-radius: var(--radius); }
.newsletter legend { float: left; width: 100%; padding: 0; margin: 0 0 12px; font-weight: 700; }
.newsletter p { margin: 12px 0 0; }
.newsletter .klein { font-weight: 600; }
.newsletter p:last-child { color: var(--tinte-2); font-size: 0.9375rem; }   /* the objection note (C): its own paragraph, quieter than the consent */
.check { display: flex; gap: 12px; align-items: flex-start; clear: both; cursor: pointer; min-height: 44px; }
.check input { flex: none; width: 24px; height: 24px; margin: 1px 0 0; accent-color: var(--navy); cursor: pointer; }
.check > span { text-wrap: pretty; }   /* direct child only: text-wrap is a shorthand and would reset the nowrap of .fest inside */
.datenschutz-hinweis { grid-area: hinweis; margin: 24px 0 0; font-size: 0.9375rem; color: var(--tinte-2); max-width: var(--mass); }
.absenden { grid-area: absenden; margin-top: 20px; }
.absenden button { width: 100%; }

/* The guarantee: the carbon band. Marks on the points, the statutory rights on the sky panel in full ink at the same size. */
.garantie { background: var(--kohle); color: var(--kohle-text); padding: 44px 0 52px; }
.garantie h2 { color: #fff; margin-top: 0; }
.garantie a { color: var(--blau-hell); }
.garantie a:hover { color: #fff; }
.garantie strong { color: #fff; }
.garantie-blick, .garantie-fall { min-width: 0; }
.garantie-innen { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; }
.haken, .weg { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--kohle-linie); }
.haken li, .weg li { display: flex; gap: 14px; align-items: flex-start; margin: 0; padding: 12px 0; border-bottom: 1px solid var(--kohle-linie); }
.haken .ikon, .weg .ikon { color: var(--blau-hell); margin-top: 1px; }
.haken span, .weg span { min-width: 0; }
.weg { margin-bottom: 16px; }
.weg strong { display: block; margin-bottom: 2px; }
.garantie-blick > p { margin: 20px 0 0; }
.recht { margin: 24px 0 0; padding: 18px 20px 16px; background: var(--himmel); color: var(--tinte); border-radius: var(--radius); }
.recht-label { display: block; font-weight: 700; margin-bottom: 6px; }
.recht p { margin: 0; }
.garantie-fall p:last-child { margin: 20px 0 0; }
.garantie .sekundaer { color: var(--kohle-text); border-color: #596069; }
.garantie .sekundaer:hover { color: #fff; background: #272b30; }

/* Fitting and care: native fold-outs, closed by default, the card's blue numerals and squares inside */
.tipps { background: var(--flaeche); padding: 36px 0 52px; }
.tipps-innen { display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px; }
.falten { border-bottom: 1px solid var(--linie); }
.falt { border-top: 1px solid var(--linie); }
.falt[id] { scroll-margin-top: 12px; }
.falt > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 56px;
  padding: 14px 0;
  cursor: pointer;
  list-style: none;
}
.falt > summary::-webkit-details-marker { display: none; }
.falt > summary::marker { content: none; }
.falt > summary::after {
  content: "";
  width: 10px;
  height: 10px;
  flex: none;
  margin: -5px 6px 0 0;
  border-right: 2px solid var(--navy);
  border-bottom: 2px solid var(--navy);
  transform: rotate(45deg);
  transition: transform 0.2s var(--ease-out);
}
.falt[open] > summary::after { transform: rotate(-135deg); margin-top: 5px; }
.falt > summary:hover h2 { color: var(--navy); }
.falt > summary:focus-visible { outline: 3px solid var(--blau); outline-offset: 3px; border-radius: 2px; }
.falt > summary h2 { margin: 0; font-size: clamp(1.125rem, 3vw + 0.5rem, 1.375rem); }
.falt > :not(summary) { margin: 0 0 22px; padding: 0; list-style: none; }
.falt > ol { counter-reset: schritt; }
.falt > ol > li, .falt > ul > li { display: flex; gap: 14px; align-items: flex-start; margin: 0 0 12px; }
.falt > ol > li::before {
  content: counter(schritt);
  counter-increment: schritt;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-top: -2px;
  border-radius: 50%;
  background: var(--blau);
  color: var(--tinte);
  font-weight: 700;
  font-size: 0.9375rem;
}
.falt > ul > li::before { content: ""; flex: none; width: 10px; height: 10px; margin: 7px 4px 0; background: var(--blau); }
.fragen h2 { margin-top: 0; }
.fragen p:last-child { margin-bottom: 0; }

/* Status pages: one mark, the message, the next step */
.zeichen { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; background: var(--himmel); color: var(--navy); margin: 0 0 20px; }
.zeichen svg { width: 26px; height: 26px; }
.zeichen.warnung { background: var(--fehler-flaeche); color: var(--fehler); }
.kasten { margin-top: 32px; padding: 20px 20px 16px; background: var(--himmel); border-radius: var(--radius); }
.kasten h2 { margin: 0 0 10px; font-size: 1.25rem; }
.kasten p:last-child { margin-bottom: 0; }
.weiter { margin-top: 32px; }
.status .knopf { margin-top: 8px; }

/* Legal pages: a section list, numbered sections with a rule above */
.inhalt { margin: 24px 0 8px; padding: 18px 18px 14px; background: var(--flaeche); border-radius: var(--radius); }
.inhalt ol { margin: 0; padding-left: 1.4em; columns: 1; }
.inhalt li { margin: 0; padding: 0; break-inside: avoid; }
.inhalt li + li { margin-top: 0; }
.inhalt a { display: inline-block; padding: 10px 0; }   /* 44 px targets */
.text h2 { padding-top: 22px; border-top: 1px solid var(--linie); }
.text .kasten h2 { padding-top: 0; border-top: 0; }
.text .kasten { margin: 40px 0 0; }
.text .kasten + h2 { margin-top: 40px; }
.text > p:last-child { margin-bottom: 0; }

/* Foot: the header mirrored. Blue band, black rule, kraft. */
.fuss { background: linear-gradient(to bottom, var(--blau) 0 10px, var(--tinte) 10px 13px, var(--kraft) 13px); padding-top: 13px; color: var(--tinte); font-size: 0.9375rem; }
.fuss .innen { padding-top: 22px; padding-bottom: 40px; }
.fuss ul { display: flex; flex-wrap: wrap; gap: 0 28px; margin: 0 0 14px; padding: 0; list-style: none; }
.fuss li { margin: 0; }
.fuss a { display: inline-block; padding: 10px 0; color: var(--tinte); font-weight: 600; }
.fuss a:hover { color: var(--tinte); }
.fuss a[aria-current="page"] { text-decoration-thickness: 3px; }
.fuss p { margin: 0 0 8px; max-width: 60rem; }

/* Motion: the status mark draws itself. Off under reduced motion; the page is complete without it. */
@media (prefers-reduced-motion: no-preference) {
  .zeichen .strich { stroke-dasharray: 40; animation: zeichnen 0.5s 0.15s var(--ease-out) both; }
  @keyframes zeichnen { from { stroke-dashoffset: 40; } to { stroke-dashoffset: 0; } }
}

/* Wider screens */
@media (min-width: 40rem) {
  body { font-size: 1.0625rem; }
  .innen { padding-left: 24px; padding-right: 24px; }
  .kopf .innen { min-height: 66px; }
  .marke { font-size: 2rem; padding: 17px 0 15px; }
  .lead { font-size: 1.1875rem; }
  button, .knopf { width: auto; min-width: 18rem; }
  .feld-reihe { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .newsletter { padding: 22px 22px 18px; }
  .inhalt ol { columns: 2; column-gap: 32px; }
  .text { padding-top: 48px; }
  .status { padding-top: 64px; }
  .held-innen { padding-top: 44px; padding-bottom: 40px; }
}

@media (min-width: 60rem) {
  .innen { padding-left: 32px; padding-right: 32px; }
  .held-innen { padding-top: 56px; padding-bottom: 44px; }
  .held-innen > .knopf { justify-self: start; }
  .formular { padding: 52px 0 64px; }
  .garantie { padding: 56px 0 64px; }
  .tipps { padding: 48px 0 60px; }
}

@media print {
  .kopf, .fuss { background: var(--kraft); }
  .garantie { background: none; color: var(--tinte); border: 1px solid var(--linie); }
  .garantie h2, .garantie strong { color: var(--tinte); }
  .knopf, button { display: none; }
  .falt > *:not(summary) { display: block !important; }
  .falt > ul, .falt > ol { display: block !important; }
}
@supports selector(::details-content) {
  @media print {
    .falt::details-content { display: block; }
  }
}
