/*
  Kalle-Website: Farben, Schrift und Bausteine der Startseite für die Unterseiten
  (bestellen.html, vertragstexte.html). Die Startseite trägt ihre Regeln selbst (eine Datei, kein
  Build) — wer dort Farben oder Knöpfe ändert, zieht sie hier nach.
*/
@font-face {
  font-family: 'Host Grotesk';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url(../fonts/host-grotesk-2.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Host Grotesk';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url(../fonts/host-grotesk-1.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --color-1: #0a1f3d;
  --color-2: #f6f8fb;
  --color-3: #e6edf5;
  --color-4: #00bbae;
  --color-5: #4a586c;
  --color-6: #17457d;
  --color-7: #c6d8ee;
  --color-8: #12305a;
  --color-9: #a3b3c9;
  --color-10: #3a82d0;
  --color-fehler: #a4262c;
  --font-1: "Host Grotesk", Arial, sans-serif;
  --radius-2: 1.75rem;
  --radius-3: 62.5rem;
  --radius-4: 1.25rem;
  --shadow-2: 0 0.75rem 1.75rem -0.75rem color-mix(in srgb, var(--color-4) 85%, transparent);
  --space-1: clamp(1.125rem, 4.2vw, 3.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--color-1); }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: var(--color-3); color: var(--color-1); font-family: var(--font-1); font-size: 1.0625rem; line-height: 1.55; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 0.1875rem solid var(--color-1); outline-offset: 0.1875rem; }
.on-dark :focus-visible { outline-color: var(--color-2); }
::selection { background: var(--color-4); color: var(--color-1); }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
[hidden] { display: none !important; }

.l-wrap { width: 100%; max-width: 72rem; margin-inline: auto; padding-inline: var(--space-1); }

/* Schrift */
.t-titel { font-size: clamp(2.25rem, 5vw, 4rem); font-weight: 600; line-height: 1; letter-spacing: -0.04em; }
.t-vorspann { font-size: clamp(1.125rem, 1.35vw, 1.3125rem); line-height: 1.45; letter-spacing: -0.01em; }
.t-zwischen { font-size: clamp(1.1875rem, 1.6vw, 1.4375rem); font-weight: 600; line-height: 1.2; letter-spacing: -0.02em; }
.t-klein { font-size: 0.9375rem; line-height: 1.5; color: var(--color-5); }
.t-marke { font-size: 0.9375rem; font-weight: 600; line-height: 1.25; }

/* Knöpfe und Verweise — wie .m-btn, .m-btn-2 und .m-link der Startseite */
.knopf { display: inline-flex; align-items: center; justify-content: center; min-height: 3.25rem; padding: 0.875rem 1.625rem; border: 0; border-radius: var(--radius-3); background: var(--color-4); color: var(--color-1); font-size: 1rem; font-weight: 600; line-height: 1.2; text-decoration: none; box-shadow: var(--shadow-2); cursor: pointer; }
.knopf--dunkel { background: var(--color-1); color: var(--color-2); box-shadow: none; }
.knopf[disabled] { opacity: 0.6; cursor: progress; }
.verweis { font-weight: 600; text-decoration: none; background-image: linear-gradient(currentColor, currentColor), linear-gradient(color-mix(in srgb, currentColor 34%, transparent), color-mix(in srgb, currentColor 34%, transparent)); background-repeat: no-repeat; background-position: 0 100%, 0 100%; background-size: 0% 0.125rem, 100% 0.0625rem; padding-bottom: 0.125rem; transition: background-size 0.5s cubic-bezier(0.2, 0.7, 0.2, 1); }
@media (hover: hover) { .verweis:hover { background-size: 100% 0.125rem, 100% 0.0625rem; } }

/* Kopf und Fuß */
.kopf { background: var(--color-1); color: var(--color-2); }
.kopf__leiste { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: 1.125rem; }
.kopf__logo { display: block; height: 1.75rem; width: auto; }
.fuss { margin-top: auto; background: var(--color-1); color: var(--color-9); }
.fuss__leiste { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem 2rem; padding-block: 1.5rem 2rem; font-size: 0.8125rem; }
.fuss__leiste ul { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; color: var(--color-2); }

/* Seite „Testen“ */
.testen { padding-block: clamp(2.5rem, 6vw, 5rem); }
.testen__raster { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 3rem 5rem; align-items: start; }
.testen__text { display: grid; gap: 1.5rem; }
.testen__text .t-vorspann { color: var(--color-5); max-width: 30rem; }
.testen__punkte { display: grid; gap: 0.75rem; }
.testen__punkte li { position: relative; padding-left: 1.3rem; }
.testen__punkte li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 0.55rem; height: 0.55rem; border-radius: 50%; background: var(--color-4); }
.karte { display: grid; gap: 1.25rem; padding: clamp(1.5rem, 3.5vw, 2.75rem); border-radius: var(--radius-2); background: var(--color-2); }
@media (max-width: 63.99rem) { .testen__raster { grid-template-columns: 1fr; } }

/* Felder — wie .m-field der Startseite */
.feld { display: grid; gap: 0.5rem; }
.feld__zeile { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.9375rem; font-weight: 600; line-height: 1.25; }
.feld__eingabe { width: 100%; min-height: 3.25rem; padding: 0.875rem 1rem; border: 0.0625rem solid color-mix(in srgb, var(--color-1) 55%, transparent); border-radius: 0.875rem; background: #fff; color: var(--color-1); font-size: 1rem; line-height: 1.4; }
.feld__eingabe:focus-visible { border-color: var(--color-1); }
.feld--falsch .feld__eingabe, .feld--falsch .adresse { border-color: var(--color-fehler); }
.feld__hinweis { font-size: 0.875rem; line-height: 1.45; color: var(--color-5); }
.feld__fehler { font-size: 0.875rem; line-height: 1.45; color: var(--color-fehler); font-weight: 600; }
.feld__frei { font-size: 0.875rem; line-height: 1.45; color: #0b6b63; font-weight: 600; }
.felder-zwei { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
@media (max-width: 35.99rem) { .felder-zwei { grid-template-columns: 1fr; } }

/* Wunschadresse: Eingabe und feste Endung in einem Rahmen */
.adresse { display: flex; align-items: center; min-height: 3.25rem; border: 0.0625rem solid color-mix(in srgb, var(--color-1) 55%, transparent); border-radius: 0.875rem; background: #fff; overflow: hidden; }
.adresse:focus-within { outline: 0.1875rem solid var(--color-1); outline-offset: 0.1875rem; }
.adresse input { flex: 1 1 6rem; min-width: 0; min-height: 3.125rem; padding: 0.875rem 0 0.875rem 1rem; border: 0; background: transparent; font-size: 1rem; outline: none; }
.adresse__endung { flex: none; max-width: 62%; padding: 0.875rem 1rem 0.875rem 0.125rem; color: var(--color-5); font-size: 0.9375rem; overflow-wrap: anywhere; }

.haken { display: flex; gap: 0.75rem; align-items: flex-start; font-size: 0.9375rem; line-height: 1.45; }
.haken input { flex: none; width: 1.25rem; height: 1.25rem; margin: 0.1rem 0 0; accent-color: var(--color-1); }
.aufklappen summary { cursor: pointer; font-size: 0.9375rem; font-weight: 600; }
.aufklappen[open] summary { margin-bottom: 0.75rem; }
.falle { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.meldung { padding: 0.875rem 1rem; border-radius: 0.875rem; font-size: 0.9375rem; line-height: 1.45; }
.meldung--fehler { background: #fbe9ea; color: var(--color-fehler); }
.meldung--ruhig { background: var(--color-3); color: var(--color-1); }
.meldung ul { display: grid; gap: 0.25rem; padding-left: 1.125rem; list-style: disc; }

/* Seite „Vertragstexte“ */
.texte { padding-block: clamp(2.5rem, 6vw, 5rem); }
.texte__kopf { display: grid; gap: 1.25rem; max-width: 44rem; }
.texte__kopf .t-vorspann { color: var(--color-5); }
.texte__liste { display: grid; gap: 1rem; margin-top: clamp(2rem, 4vw, 3rem); }
.texte__eintrag { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.5rem 2rem; align-items: center; padding: 1.5rem clamp(1.25rem, 3vw, 2rem); border-radius: var(--radius-2); background: var(--color-2); }
.texte__eintrag p { color: var(--color-5); font-size: 0.9375rem; }
.texte__eintrag .knopf { min-height: 2.75rem; padding: 0.625rem 1.25rem; font-size: 0.9375rem; }
.texte__eintrag:target { outline: 0.1875rem solid var(--color-4); outline-offset: 0.25rem; }
.texte__hinweis { margin-top: 2rem; max-width: 44rem; }
.texte__eigen { display: grid; gap: 0.75rem; margin-top: clamp(3rem, 6vw, 4.5rem); padding-top: clamp(2rem, 4vw, 3rem); border-top: 0.0625rem solid var(--color-7); }
.texte__eigen > p { max-width: 44rem; color: var(--color-5); }
.texte__eigen .texte__liste { margin-top: 0.75rem; }
@media (max-width: 47.99rem) { .texte__eintrag { grid-template-columns: 1fr; justify-items: start; } }
