/* ==========================================================================
   Setnetz GmbH – style.css
   CI-Tokens aus ci/tokens.json, Schriften selbst gehostet, mobile first.
   Breakpoints: 480 (Formular 2-spaltig), 768 (2 Spalten), 1100 (Desktop-Nav,
   12-Spalten-Raster, Topbar), 1280+ (volle Entwurfsmaße, 80px Seitenrand).
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  --logo-blue: #2A87B1;
  --brand-blue: #1F6F94;
  --brand-blue-hover: #185A79;
  --brand-navy: #0E3A52;
  --brand-sky: #8FCBE6;
  --tint: #DDEEF6;
  --surface: #FFFFFF;
  --surface-alt: #F3F8FB;
  --line: #D3E3EC;
  --line-strong: #7892A3;
  --ink: #0F2A3A;
  --ink-muted: #52677A;

  /* Zwischenwerte aus dem Entwurf (erlaubt) */
  --ink-soft: #3A5061;        /* Fließtext-Grau */
  --on-navy: #D2E6F0;         /* Text auf brand-navy */
  --on-navy-muted: #C3DCE8;   /* Topbar/Footer-Text auf brand-navy */
  --line-navy: #2F5D75;       /* Linien auf brand-navy */
  --stripe: #CFE5F0;          /* Streifen in Platzhaltern */

  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-sans: "IBM Plex Sans", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;

  --space-2: 8px;
  --space-3: 16px;
  --space-4: 24px;
  --space-6: 48px;
  --space-8: 96px;
  --page-margin: 80px;

  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-pill: 40px;

  /* Layout-Variablen (mobil → Desktop in den Media Queries) */
  --gutter: 20px;
  --header-h: 64px;
  --section-y: 48px;
  --section-y-compact: 40px;
  --section-y-tall: 56px;
  --grid-gap: var(--space-3);
}

/* --------------------------------------------------------------------------
   2. Schriften (selbst gehostet, Latin-Subset)
   -------------------------------------------------------------------------- */
@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/barlow-condensed-latin-600-normal.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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/barlow-condensed-latin-700-normal.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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/ibm-plex-sans-latin-400-normal.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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/ibm-plex-sans-latin-500-normal.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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/ibm-plex-sans-latin-600-normal.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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/ibm-plex-mono-latin-400-normal.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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/ibm-plex-mono-latin-500-normal.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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --------------------------------------------------------------------------
   3. Basis
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.55;
  overflow-wrap: break-word;
}

[id] {
  scroll-margin-top: calc(var(--header-h) + 16px);
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--brand-navy);
}

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

a {
  color: var(--brand-blue);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
}

a:hover {
  color: var(--brand-blue-hover);
}

:focus-visible {
  outline: 2px solid var(--brand-blue);
  outline-offset: 2px;
}

.section--navy :focus-visible,
.site-footer :focus-visible,
.topbar :focus-visible {
  outline-color: var(--brand-sky);
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------------
   4. Typografie
   -------------------------------------------------------------------------- */
.display-xl,
.display-l,
.display-m,
.display-s {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--brand-navy);
}

.display-xl {
  font-size: clamp(48px, 38.2px + 4.57vw, 104px);
  line-height: 0.92;
  letter-spacing: -0.01em;
}

.display-l {
  font-size: clamp(36px, 31.1px + 2.29vw, 64px);
  line-height: 1;
}

.display-m {
  font-size: clamp(28px, 23.5px + 1.14vw, 40px);
  line-height: 1.05;
}

.display-s {
  font-size: clamp(24px, 21px + 0.76vw, 32px);
  line-height: 1.05;
}

.label {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-blue);
}

.label--muted {
  color: var(--ink-muted);
}

/* Zeilenumbrüche: Überschriften gleichmäßig umbrechen (kein einzelnes Wort in der
   letzten Zeile), Absätze ohne einzelnes Wort am Ende; Einheiten wie Telefonnummern,
   Normen und Zeiten nie trennen (Klasse .nowrap im Text). */
h1,
h2,
h3,
.label,
.btn,
.tag,
.chips li,
.faq__question,
.card__title,
.reasons__title,
.steps__title,
.card__link {
  text-wrap: balance;
}

p,
li,
dd {
  text-wrap: pretty;
}

.nowrap,
a[href^="tel:"] {
  white-space: nowrap;
}

/* Kurze Texte nie mit Trennstrich umbrechen (weiche Trennstellen dort ignorieren) */
.label,
.card__link,
.hero__text,
.numbers__label,
.site-nav {
  -webkit-hyphens: none;
  hyphens: none;
}

/* Trennpunkt „ · “: am Desktop in der Zeile, auf dem Handy wird daraus ein Zeilenwechsel
   (.sep-m verschwindet, jede .line-m steht in einer eigenen Zeile). */
@media (max-width: 767px) {
  .sep-m {
    display: none;
  }

  .line-m {
    display: block;
  }

  .line-m + br {
    display: none;
  }
}

@media (min-width: 1100px) and (max-width: 1359px) {
  .hero__kicker .sep-m {
    display: none;
  }

  .hero__kicker .line-m {
    display: block;
  }
}

/* Abschnittsüberschrift: Überzeile mit dem Leistungsbegriff + kurzer Satz, beides in der h2 */
.section-heading__kicker,
.section-heading__claim {
  display: block;
}

.section-heading__claim {
  margin-top: 12px;
}

.section--navy .section-heading__claim {
  color: #FFFFFF;
}

.text-l {
  font-size: clamp(17px, 15.9px + 0.29vw, 20px);
  line-height: 1.55;
  color: var(--ink-soft);
}

.text-m {
  font-size: clamp(16px, 15.3px + 0.19vw, 18px);
  line-height: 1.55;
  color: var(--ink-soft);
}

.text-soft {
  color: var(--ink-soft);
}

.text-muted {
  color: var(--ink-muted);
}

.link {
  font-weight: 600;
  color: var(--brand-blue);
  text-decoration: none;
}

.link:hover,
.link:focus-visible {
  color: var(--brand-blue-hover);
  text-decoration: underline;
}

a[href^="tel:"] {
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   5. Layout
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: calc(1280px + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--narrow {
  max-width: calc(800px + 2 * var(--gutter));
}

.section {
  padding-block: var(--section-y);
  background: var(--surface);
}

.section--alt {
  background: var(--surface-alt);
}

.section--navy {
  background: var(--brand-navy);
  color: #FFFFFF;
}

.section--navy h1,
.section--navy h2,
.section--navy h3 {
  color: #FFFFFF;
}

.section--navy p {
  color: var(--on-navy);
}

.section--navy .label {
  color: var(--brand-sky);
}

.section--compact {
  padding-block: var(--section-y-compact);
}

.section--tall {
  padding-block: var(--section-y-tall);
}

.section--line {
  border-bottom: 1px solid var(--line);
}

.section__head {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.section__head p {
  max-width: 520px;
}

.section__title-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.grid {
  display: grid;
  gap: var(--grid-gap);
}

/* --------------------------------------------------------------------------
   6. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 48px;
  padding: 12px 24px;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn--primary {
  background: var(--brand-blue);
  border-color: var(--brand-blue);
  color: #FFFFFF;
}

.btn--primary:hover,
.btn--primary:focus-visible {
  background: var(--brand-blue-hover);
  border-color: var(--brand-blue-hover);
  color: #FFFFFF;
}

.btn--secondary {
  background: transparent;
  border-color: var(--brand-blue);
  color: var(--brand-blue);
}

.btn--secondary:hover,
.btn--secondary:focus-visible {
  border-color: var(--brand-blue-hover);
  color: var(--brand-blue-hover);
  background: var(--tint);
}

.btn--inverse {
  background: #FFFFFF;
  border-color: #FFFFFF;
  color: var(--brand-navy);
}

.btn--inverse:hover,
.btn--inverse:focus-visible {
  background: var(--tint);
  border-color: var(--tint);
  color: var(--brand-navy);
}

.btn--lg {
  padding: 14px 28px;
}

.btn:disabled,
.btn[aria-disabled="true"] {
  opacity: 0.65;
  cursor: default;
}

/* --------------------------------------------------------------------------
   7. Skip-Link, Topbar, Header, Navigation
   -------------------------------------------------------------------------- */
.skip-link {
  position: absolute;
  top: -100px;
  left: var(--space-3);
  z-index: 100;
  padding: 12px 16px;
  background: var(--brand-blue);
  color: #FFFFFF;
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  top: var(--space-3);
  color: #FFFFFF;
}

.topbar {
  display: none;
  background: var(--brand-navy);
  color: var(--on-navy-muted);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.02em;
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  min-height: 40px;
}

.topbar__contact {
  display: flex;
  gap: 32px;
}

.topbar a {
  color: #FFFFFF;
  text-decoration: none;
}

.topbar a:hover {
  color: var(--brand-sky);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.15s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 2px 8px rgba(14, 58, 82, 0.08);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  min-height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  margin-right: auto;
  padding: 8px 0;
}

.brand img {
  height: 40px;
  width: auto;
}

.site-header__phone,
.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--brand-blue);
  cursor: pointer;
}

.nav-toggle {
  color: var(--brand-navy);
}

.nav-toggle__close {
  display: none;
}

.site-header.is-open .nav-toggle__open {
  display: none;
}

.site-header.is-open .nav-toggle__close {
  display: block;
}

.site-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
  padding: 8px var(--gutter) var(--space-4);
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.site-header.is-open .site-nav {
  display: block;
}

.site-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
}

.site-nav li {
  border-top: 1px solid var(--line);
}

.site-nav li:first-child {
  border-top: 0;
}

.site-nav li:last-child {
  border-top: 0;
  padding-top: var(--space-3);
}

.site-nav a:not(.btn) {
  display: block;
  min-height: 48px;
  padding: 12px 0;
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
}

.site-nav a:not(.btn):hover,
.site-nav a:not(.btn):focus-visible {
  color: var(--brand-blue-hover);
}

.site-nav .btn {
  width: 100%;
}

/* --------------------------------------------------------------------------
   8. Hero
   -------------------------------------------------------------------------- */
.hero {
  padding-block: 40px 48px;
  background: var(--surface);
}

.hero__inner {
  display: grid;
  gap: var(--space-4);
}

.hero__content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero__text {
  max-width: 620px;
}

.hero__text-part {
  display: block;
  text-wrap: balance;
}

/* H1 = Überzeile mit den Leistungsbegriffen + Claim; sieht aus wie Label und Display-Zeile */
.hero__kicker,
.hero__claim {
  display: block;
}

.hero__claim {
  margin-top: 20px;
}

.hero__actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.hero__actions .btn {
  width: 100%;
}

/* --------------------------------------------------------------------------
   9. Bildrahmen (Platzhalter / Fotos)
   -------------------------------------------------------------------------- */
.photo {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--tint);
}

.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo--hero {
  aspect-ratio: 3 / 2;
}

.hero__visual img {
  object-position: 50% 72%;
}

.photo--wide {
  aspect-ratio: 16 / 9;
}

.photo--standard {
  aspect-ratio: 4 / 3;
}

.photo figcaption {
  padding: 8px 0 0;
  font-size: 15px;
  color: var(--ink-muted);
}

/* --------------------------------------------------------------------------
   10. Karten, Listen, Schrittfolgen, Tags
   -------------------------------------------------------------------------- */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.card--pillar {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.card--pillar .photo {
  border-radius: 0;
}

.card__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: var(--space-4);
}

.card__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-left: 20px;
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink-soft);
}

.card__link {
  margin-top: auto;
}

/* Karte mit 4px-Oberkante (Leistungen) – kein Rahmen, kein Radius */
.card--top {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  background: var(--surface-alt);
  border: 0;
  border-top: 4px solid var(--brand-blue);
  border-radius: 0;
}

.card--top .card__num {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--brand-blue);
}

.card--top p {
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-soft);
}

/* Weiche Karte ohne Rahmen (Eventstrom) */
.card--soft {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: var(--space-4);
  background: var(--surface-alt);
  border: 0;
}

.card--soft svg {
  width: 32px;
  height: 32px;
  color: var(--brand-blue);
}

.card--soft p {
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-soft);
}

.card__title {
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
  text-transform: none;
}

/* Schrittfolge 01–04 */
.steps {
  list-style: none;
  display: flex;
  flex-direction: column;
}

.steps__item {
  display: flex;
  gap: var(--space-3);
  padding: 14px 0;
  border-top: 1px solid var(--line-navy);
}

.steps__item:last-child {
  border-bottom: 1px solid var(--line-navy);
}

.steps__num {
  flex: 0 0 32px;
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--brand-sky);
}

.steps__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.steps__title {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  color: #FFFFFF;
}

.steps__body p {
  font-size: 16px;
  line-height: 1.5;
}

/* Fakten-Kacheln (Glasfaser) */
.facts {
  list-style: none;
  display: grid;
  gap: var(--space-3);
}

.facts__item {
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.facts__item strong {
  display: block;
  font-size: 17px;
  font-weight: 600;
}

.facts__item span {
  display: block;
  margin-top: 4px;
  font-size: 15px;
  color: var(--ink-muted);
}

/* Argumente (Warum Setnetz) */
.reasons {
  display: grid;
  gap: var(--space-3);
}

.reasons__item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 14px;
  border-top: 3px solid var(--brand-blue);
}

.reasons__title {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
}

.reasons__item p {
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-soft);
}

/* Häufige Fragen */
.faq {
  display: grid;
  gap: var(--space-3);
}

.faq__item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.faq__question {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
}

.faq__item p {
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-soft);
}

/* Zahlen (Warum Setnetz) */
.numbers {
  list-style: none;
  display: grid;
  gap: 12px;
  margin: 0 0 var(--space-6);
  padding: 0;
}

.numbers li {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.numbers__value {
  flex: none;
  min-width: 1.9em;
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--brand-navy);
}

.numbers__label {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

/* Zielgruppen-Tags */
.tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.tag {
  display: inline-block;
  padding: 8px 18px;
  background: var(--surface);
  border: 2px solid var(--logo-blue);
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: clamp(22px, 19px + 0.76vw, 30px);
  font-weight: 600;
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--brand-navy);
}

/* Mietpark-Kategorien */
.chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chips li {
  padding: 12px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-weight: 500;
}

/* Hinweiskasten (Unterseiten) */
.notice {
  padding: var(--space-4);
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-top: 4px solid var(--brand-blue);
  border-radius: var(--radius-md);
}

/* --------------------------------------------------------------------------
   11. Kontakt und Formular
   -------------------------------------------------------------------------- */
.contact {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-size: 17px;
  line-height: 1.5;
}

.contact dt {
  margin-bottom: 2px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.contact dd {
  margin: 0;
}

.contact a {
  color: var(--ink);
}

.contact a:hover {
  color: var(--brand-blue-hover);
}

.form-card {
  padding: var(--space-4);
}

.form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form__grid {
  display: grid;
  gap: var(--space-3);
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field label {
  font-size: 14px;
  font-weight: 600;
}

.field__hint {
  font-weight: 400;
  color: var(--ink-muted);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0 12px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  font-size: 16px;
  color: var(--ink);
}

.field textarea {
  min-height: 140px;
  padding: 12px;
  resize: vertical;
  line-height: 1.5;
}

.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  border-color: var(--brand-blue);
  outline-offset: 0;
}

.select {
  position: relative;
}

.select select {
  padding-right: 40px;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.select::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 16px;
  width: 9px;
  height: 9px;
  border-right: 1.8px solid var(--ink);
  border-bottom: 1.8px solid var(--ink);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}

.field--check {
  position: relative;
  display: grid;
  grid-template-columns: 24px 1fr;
  column-gap: 12px;
  align-items: start;
}

.field--check input {
  width: 20px;
  height: 20px;
  min-height: 0;
  margin: 3px 0 0 2px;
  padding: 0;
  accent-color: var(--brand-blue);
}

.field--check label {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--ink-soft);
}

.field--check .field__error {
  grid-column: 1 / -1;
}

.field__error {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--brand-navy);
}

.field.is-invalid input,
.field.is-invalid select,
.field.is-invalid textarea {
  border: 2px solid var(--brand-navy);
}

.field.is-invalid .field--check input {
  border: 0;
}

.hp {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form__status {
  padding: var(--space-3);
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 15px;
  line-height: 1.5;
}

.form__status:empty {
  display: none;
}

.form__status--error {
  border-color: var(--brand-navy);
}

.form__success {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form__success h3 {
  font-size: 24px;
}

.form__success p {
  color: var(--ink-soft);
}

.form .btn {
  align-self: flex-start;
  width: 100%;
}

/* --------------------------------------------------------------------------
   12. Sektionen der Startseite (Raster-Platzierung)
   -------------------------------------------------------------------------- */
.pillars {
  display: grid;
  gap: var(--space-4);
}

.services {
  display: grid;
  gap: var(--space-3);
}

.doc__inner {
  display: grid;
  gap: var(--space-4);
}

.doc__intro {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.doc__intro .btn {
  align-self: flex-start;
}

.fibre__inner {
  display: grid;
  gap: var(--space-4);
}

.fibre__content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.fibre__content .btn {
  align-self: flex-start;
}

.power {
  display: grid;
  gap: var(--space-3);
}

.audience {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.rental__inner {
  display: grid;
  gap: var(--space-4);
}

.rental__intro {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-section__inner {
  display: grid;
  gap: var(--space-4);
}

.contact-section__intro {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-section__title {
  font-size: clamp(44px, 36.5px + 2.19vw, 72px);
  line-height: 0.95;
}

.rental__title {
  font-size: clamp(32px, 27.5px + 1.14vw, 44px);
  line-height: 1;
}

/* --------------------------------------------------------------------------
   13. Unterseiten
   -------------------------------------------------------------------------- */
.page {
  padding-block: var(--section-y) var(--section-y);
  background: var(--surface);
}

.page .container--narrow > * + * {
  margin-top: var(--space-3);
}

.page .label + h1 {
  margin-top: 12px;
}

.page h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 31.1px + 2.29vw, 64px);
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  color: var(--brand-navy);
}

.page h2 {
  margin-top: var(--space-6);
  font-family: var(--font-display);
  font-size: clamp(28px, 23.5px + 1.14vw, 40px);
  font-weight: 700;
  line-height: 1.05;
  text-transform: uppercase;
}

.page h3 {
  margin-top: var(--space-4);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
}

.page p,
.page li,
.page dd {
  color: var(--ink-soft);
}

.page ul,
.page ol {
  padding-left: 22px;
}

.page li + li {
  margin-top: 6px;
}

.page dl {
  margin: 0;
}

.page dt {
  font-weight: 600;
}

.page dd {
  margin: 0 0 12px;
}

.page .lead,
.page .text-l {
  font-size: clamp(17px, 15.9px + 0.29vw, 20px);
}

/* --------------------------------------------------------------------------
   14. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  padding-block: 32px;
  background: var(--brand-navy);
  color: var(--on-navy-muted);
  font-size: 14px;
}

.site-footer__inner {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.site-footer__brand {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
}

.site-footer__brand img {
  height: 36px;
  width: auto;
}

.site-footer p {
  color: var(--on-navy-muted);
}

.site-footer ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
}

.site-footer a {
  display: inline-block;
  min-height: 44px;
  padding: 11px 0;
  line-height: 22px;
  color: #FFFFFF;
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--brand-sky);
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   15. Breakpoints
   -------------------------------------------------------------------------- */
/* Sehr schmale Handys: Startseiten-Claim etwas kleiner, damit „Wir verbinden.“ in eine Zeile passt */
@media (max-width: 359px) {
  .display-xl {
    font-size: 44px;
  }

  .hero__kicker {
    font-size: 12px;
    letter-spacing: 0.08em;
  }

  .section-heading__claim {
    font-size: 35px;
  }

  .contact-section__title {
    font-size: 40px;
  }

  .rental__title {
    font-size: 28px;
  }

  .card--pillar .card__body {
    padding-inline: 16px;
  }

  .numbers li {
    flex-direction: column;
    gap: 4px;
  }

  .page .container--narrow h2 {
    font-size: 23px;
  }
}

/* Schmale Handys (bis 374 px): Card-Links und Rechtstext-Überschriften etwas kleiner */
@media (max-width: 374px) {
  .card__link {
    font-size: 16px;
  }

  .numbers__label {
    letter-spacing: 0.04em;
  }
}

@media (min-width: 360px) and (max-width: 374px) {
  .page .container--narrow h2 {
    font-size: 26px;
  }
}

@media (max-width: 479px) {
  .hero h1 br {
    display: none;
  }
}

@media (min-width: 480px) {
  .form__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero__actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .hero__actions .btn,
  .form .btn {
    width: auto;
  }
}

@media (min-width: 768px) {
  :root {
    --gutter: 40px;
    --grid-gap: var(--space-4);
  }

  .section__head {
    margin-bottom: var(--space-6);
  }

  .hero {
    padding-block: 64px 72px;
  }

  .hero__claim {
    margin-top: 24px;
  }

  .hero__content {
    gap: 24px;
  }

  .photo--hero {
    aspect-ratio: 2 / 1;
  }

  .pillars {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .card__body {
    gap: 20px;
    padding: 36px;
  }

  .services {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-4);
  }

  .card--top {
    gap: var(--space-3);
    padding: 32px 28px;
  }

  .card--top .card__num {
    font-size: 14px;
  }

  .steps__item {
    gap: var(--space-4);
    padding: 24px 0;
  }

  .steps__num {
    flex-basis: 40px;
  }

  .steps__title {
    font-size: 20px;
  }

  .power {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-4);
  }

  .card--soft {
    padding: 32px;
  }

  .reasons {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-4);
  }

  .reasons__item {
    gap: 12px;
    padding-top: 24px;
  }

  .reasons__title {
    font-size: 22px;
  }

  .reasons__item p {
    font-size: 17px;
    line-height: 1.55;
  }

  .faq {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-4);
  }

  .faq__item {
    gap: 12px;
    padding-top: 24px;
  }

  .faq__question {
    font-size: 20px;
  }

  .faq__item p {
    font-size: 17px;
    line-height: 1.55;
  }

  .numbers {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-4);
  }

  .numbers li {
    flex-direction: column;
    gap: 8px;
    padding-top: 20px;
  }

  .numbers__value {
    font-size: clamp(56px, 40px + 2vw, 80px);
  }

  .tag {
    padding: 10px 22px;
  }

  .rental__inner {
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
    align-items: center;
    gap: var(--space-6);
  }

  .contact {
    font-size: 18px;
  }

  .form-card {
    padding: 40px;
  }

  .site-footer {
    padding-block: 48px;
    font-size: 15px;
  }

  .site-footer__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
  }

  .site-footer__brand img {
    height: 40px;
  }

  .site-footer ul {
    gap: 4px 28px;
  }
}

@media (min-width: 1100px) {
  :root {
    --header-h: 88px;
    --section-y: var(--space-8);
    --section-y-compact: 72px;
    --section-y-tall: 104px;
  }

  .faq {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .topbar {
    display: block;
  }

  .brand img {
    height: 48px;
  }

  .site-header__phone,
  .nav-toggle {
    display: none;
  }

  .site-nav {
    display: block;
    position: static;
    max-height: none;
    overflow: visible;
    padding: 0;
    border: 0;
  }

  .brand {
    flex: 0 0 auto;
  }

  .site-nav ul {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 18px;
  }

  .site-nav li,
  .site-nav li:last-child {
    border: 0;
    padding: 0;
  }

  .site-nav a:not(.btn) {
    min-height: 0;
    padding: 4px 0;
    font-size: 15px;
    white-space: nowrap;
  }

  .site-nav .btn {
    width: auto;
    padding: 10px 16px;
    font-size: 15px;
    white-space: nowrap;
  }

  .label {
    font-size: 14px;
  }

  .section__head {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: var(--space-6);
  }

  .section__head p {
    max-width: 480px;
  }

  .hero {
    padding-block: 88px 96px;
  }

  .hero__inner {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--space-4);
    align-items: center;
  }

  .hero__content {
    grid-column: span 7;
    gap: 28px;
  }

  .hero__visual {
    grid-column: span 5;
  }

  .photo--hero {
    aspect-ratio: 13 / 14;
  }

  .card--pillar .photo {
    aspect-ratio: 12 / 5;
  }

  .services {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .card--top {
    min-height: 320px;
  }

  .doc__inner {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--space-4);
  }

  .doc__intro {
    grid-column: span 5;
    gap: 24px;
  }

  .doc__steps {
    grid-column: 7 / span 6;
  }

  .fibre__inner {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--space-4);
    align-items: center;
  }

  .fibre__visual {
    grid-column: span 6;
  }

  .fibre__content {
    grid-column: 8 / span 5;
    gap: 24px;
  }

  .power {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .audience {
    gap: 28px;
  }

  .reasons {
    gap: var(--space-6);
  }

  .numbers {
    gap: var(--space-6);
  }

  .rental__inner {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--space-4);
    align-items: center;
  }

  .rental__intro {
    grid-column: span 4;
    gap: 14px;
  }

  .rental__list {
    grid-column: 6 / span 7;
  }

  .contact-section__inner {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--space-4);
    align-content: start;
  }

  .contact-section__intro {
    grid-column: span 5;
    gap: 28px;
  }

  .contact-section__form {
    grid-column: 7 / span 6;
  }

  .page {
    padding-block: 72px var(--space-8);
  }
}

@media (min-width: 1280px) {
  :root {
    --gutter: var(--page-margin);
  }
}

@media (min-width: 1360px) {
  .brand img {
    height: 56px;
  }

  .site-nav ul {
    gap: 36px;
  }

  .site-nav a:not(.btn) {
    font-size: 16px;
  }

  .site-nav .btn {
    padding: 12px 20px;
    font-size: 16px;
  }
}

/* --------------------------------------------------------------------------
   16. Bewegung reduzieren, Druck
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

@media print {
  .topbar,
  .site-nav,
  .nav-toggle,
  .site-header__phone,
  .skip-link,
  .form .btn,
  .hero__actions {
    display: none !important;
  }

  .site-header {
    position: static;
    box-shadow: none;
  }

  .section--navy {
    color: var(--ink);
    background: var(--surface);
  }

  .section--navy h2,
  .section--navy h3,
  .section--navy p,
  .steps__num,
  .steps__title {
    color: var(--ink);
  }

  .btn--inverse {
    border-color: var(--line);
  }

  .section--navy .label,
  .section--navy .steps__text,
  .section--navy li,
  .section--navy div {
    color: var(--ink);
  }

  .btn,
  .btn--primary {
    background: none !important;
    color: var(--brand-blue) !important;
    border: 1px solid var(--brand-blue);
  }

  .site-footer {
    background: var(--surface);
    color: var(--ink);
    border-top: 1px solid var(--line);
  }

  .site-footer a {
    color: var(--ink);
  }

  .site-footer img,
  .photo {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   17. Unterseiten – Ergänzungen (Impressum, Datenschutz, AGB, Danke, 404)
   Angehängter Block. Die Abstandsregel „.page .container--narrow > * + *“
   (16px) ist spezifischer als „.page h2/h3“; deshalb hier gezielt für direkte
   Kinder überschrieben. Außerdem: Adressblock, Definitionslisten (.kv),
   Inhaltsverzeichnis (.toc), Hinweiskasten-Innenabstand, Button-Zeile.
   -------------------------------------------------------------------------- */
.page .container--narrow > h2 {
  margin-top: var(--space-6);
}

.page .container--narrow > h3 {
  margin-top: var(--space-4);
}

.page address {
  font-style: normal;
  color: var(--ink-soft);
}

.page .kv dt {
  color: var(--ink);
}

.page .kv dd {
  margin: 0 0 10px;
}

.page .kv dd:last-child {
  margin-bottom: 0;
}

.page .toc {
  padding: var(--space-3) var(--space-4);
  background: var(--surface-alt);
  border-radius: var(--radius-md);
}

.page .toc > * + * {
  margin-top: var(--space-2);
}

.page .toc a {
  font-weight: 500;
}

.page .notice > * + * {
  margin-top: var(--space-2);
}

.page__actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-top: var(--space-4);
}

/* Kurze Seiten (Danke, 404): Footer nicht in der Bildschirmmitte.
   Ab Desktop füllt main den Viewport (100vh minus Topbar 40px, Header 88px,
   Footer ca. 140px), damit unter dem Footer kein weißer Streifen bleibt. */
.page--short {
  min-height: 60vh;
}

@media (min-width: 480px) {
  .page__actions {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

@media (min-width: 1100px) {
  .page--short {
    min-height: calc(100vh - 270px);
  }
}

@media (min-width: 768px) {
  .page .kv {
    display: grid;
    grid-template-columns: minmax(140px, max-content) 1fr;
    column-gap: var(--space-4);
    row-gap: 10px;
  }

  .page .kv dd {
    margin: 0;
  }
}

/* --------------------------------------------------------------------------
   18. Mietpark (Katalog, Artikeldetail, Anfrageliste – /mietpark/)
   Angehängter Block, nur CI-Tokens. Nutzt die vorhandenen Klassen container,
   section, label, display-*, btn, card, chips, photo, field, form, notice.
   Aufbau: Kopf und Suche, Kategorie-Chips, Katalog-Kacheln, Badges Miete/
   Verkauf, Preise (IBM Plex Mono), Detailseite, Anfrageliste (Tabelle als
   Karten), Mengensteuerung, Preis-Box, Header-Link, Breakpoints 480/768/1100.
   -------------------------------------------------------------------------- */
.mietpark-main {
  background: var(--surface);
}

/* hidden-Attribut gewinnt gegen display-Regeln der Klassen (.form__success u. a.) */
.mietpark-main [hidden] {
  display: none !important;
}

.mietpark-main .label + h1,
.mietpark-main .label + h2 {
  margin-top: 12px;
}

.mietpark-main h1 + p,
.mietpark-main h2 + p,
.mietpark-main .lead {
  margin-top: var(--space-3);
}

.mietpark-main .lead {
  font-size: clamp(17px, 15.9px + 0.29vw, 20px);
  line-height: 1.55;
  color: var(--ink-soft);
}

.mietpark-main .notice > * + * {
  margin-top: var(--space-2);
}

.mietpark-main .notice p {
  color: var(--ink-soft);
}

.mietpark-main p a:not(.btn):not(.link) {
  color: var(--brand-blue);
}

/* Kopf und Suche */
.mietpark-head {
  padding-block: var(--section-y-compact);
  border-bottom: 1px solid var(--line);
}

.mietpark-head__text {
  max-width: 640px;
}

.mietpark-head p + p {
  margin-top: var(--space-4);
}

.mietpark-katalog .display-m {
  margin-bottom: var(--space-4);
}

.suche {
  margin-bottom: var(--space-4);
}

.suche label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 600;
}

.suche__row {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.suche__row input {
  width: 100%;
  min-height: 48px;
  padding: 0 12px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  font-size: 16px;
  color: var(--ink);
}

.suche__row input:focus-visible {
  border-color: var(--brand-blue);
  outline-offset: 0;
}

.suche__ergebnis {
  margin: 0 0 var(--space-4);
}

/* Kategorie-Chips als Links */
.katalog-filter {
  margin-bottom: var(--space-4);
}

.chips--links li {
  padding: 0;
  border: 0;
  background: transparent;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
}

.chip:hover,
.chip:focus-visible {
  border-color: var(--brand-blue);
  color: var(--brand-blue-hover);
}

.chip--active {
  background: var(--brand-navy);
  border-color: var(--brand-navy);
  color: #FFFFFF;
}

.chip--active:hover,
.chip--active:focus-visible {
  border-color: var(--brand-navy);
  color: #FFFFFF;
}

.chip__count {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-muted);
}

.chip--active .chip__count {
  color: var(--on-navy);
}

/* Katalog-Kacheln */
.katalog {
  list-style: none;
  display: grid;
  gap: var(--grid-gap);
  margin: 0;
  padding: 0;
}

.katalog__item {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.katalog__media {
  display: block;
  color: inherit;
  text-decoration: none;
}

.katalog__media .photo {
  border-radius: 0;
}

.katalog__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--tint);
  background-image: repeating-linear-gradient(135deg, var(--stripe) 0 10px, transparent 10px 24px);
}

.katalog__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
}

.katalog__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.katalog__cat {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--ink-muted);
}

.katalog__title {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
}

.katalog__title a {
  color: inherit;
  text-decoration: none;
}

.katalog__title a:hover,
.katalog__title a:focus-visible {
  color: var(--brand-blue-hover);
  text-decoration: underline;
}

.katalog__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3);
  margin-top: auto;
  padding-top: 6px;
}

.katalog__actions .btn {
  width: 100%;
}

.katalog__status {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-soft);
}

.katalog__status .link {
  white-space: nowrap;
}

/* Badges Miete/Verkauf */
.badge {
  display: inline-block;
  padding: 3px 10px;
  border: 2px solid var(--brand-blue);
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-blue);
}

/* Preise */
.preis {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 500;
  color: var(--brand-navy);
}

.preis--l {
  font-size: 20px;
}

.preis--anfrage {
  font-weight: 400;
  color: var(--ink-muted);
}

/* Breadcrumb und Detailseite */
.breadcrumb {
  margin-bottom: var(--space-4);
  font-size: 15px;
}

.breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  color: var(--ink-muted);
}

.breadcrumb li + li::before {
  content: "›";
  margin-right: 6px;
}

.breadcrumb a {
  color: var(--brand-blue);
  text-decoration: none;
}

.breadcrumb a:hover,
.breadcrumb a:focus-visible {
  text-decoration: underline;
}

.artikel {
  display: grid;
  gap: var(--space-4);
}

.artikel__gallery {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.artikel__gallery .katalog__placeholder {
  aspect-ratio: 4 / 3;
}

.artikel__thumbs {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
}

.artikel__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.artikel__body .display-m {
  margin-top: 0;
}

.artikel__text {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-soft);
}

.artikel__text ul,
.artikel__text ol {
  padding-left: 22px;
}

.artikel__add {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
  padding: var(--space-3);
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.field--menge {
  max-width: 160px;
}

.artikel__hinweis {
  font-size: 15px;
}

/* Anfrageliste */
.anfrage > * + * {
  margin-top: var(--space-3);
}

.anfrage .display-m,
.anfrage .display-s {
  margin-top: var(--space-6);
}

.anfrage .form .display-s {
  margin-top: var(--space-3);
}

.anfrage .form {
  margin-top: var(--space-4);
}

.anfrage-liste {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin: 0;
  padding: 0;
}

.anfrage-liste__item {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: var(--space-3);
  padding: var(--space-3);
}

.anfrage-liste__media {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--tint);
  border-radius: var(--radius-sm);
}

.anfrage-liste__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.anfrage-liste__media .label {
  font-size: 11px;
  text-align: center;
}

.anfrage-liste__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.anfrage-liste__title {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.anfrage-liste__title a {
  color: var(--ink);
  text-decoration: none;
}

.anfrage-liste__title a:hover,
.anfrage-liste__title a:focus-visible {
  color: var(--brand-blue-hover);
  text-decoration: underline;
}

.anfrage-liste__nr {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 13px;
}

.anfrage-liste__preis {
  margin: 0;
  font-size: 15px;
  color: var(--ink-soft);
}

.anfrage-liste__actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.anfrage-liste__entfernen {
  padding: 8px 0;
  border: 0;
  background: transparent;
  font-family: var(--font-sans);
  font-size: 15px;
  cursor: pointer;
}

/* Mengensteuerung */
.menge {
  display: inline-flex;
  align-items: stretch;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.menge__btn {
  width: 44px;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: var(--surface-alt);
  font-size: 20px;
  line-height: 1;
  color: var(--brand-navy);
  cursor: pointer;
}

.menge__btn:hover,
.menge__btn:focus-visible {
  background: var(--tint);
}

.menge__input {
  width: 64px;
  min-height: 44px;
  padding: 0 6px;
  border: 0;
  border-inline: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 16px;
  text-align: center;
  color: var(--ink);
  -moz-appearance: textfield;
}

.menge__input::-webkit-outer-spin-button,
.menge__input::-webkit-inner-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

/* Mietzeitraum und Preis-Box */
.anfrage-zeitraum {
  margin: 0;
  padding: var(--space-3);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.anfrage-zeitraum legend {
  padding: 0 6px;
}

.anfrage-zeitraum .form__grid {
  margin-top: var(--space-3);
}

.anfrage-zeitraum .field__hint {
  margin: 12px 0 0;
  font-size: 14px;
}

/* Abholung oder Lieferung, abweichende Lieferadresse */
.anfrage-uebergabe {
  margin: 0;
  padding: var(--space-3);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.anfrage-uebergabe legend {
  padding: 0 6px;
}

.anfrage-uebergabe__wahl {
  display: grid;
  gap: 12px;
  margin-top: var(--space-3);
}

.anfrage-uebergabe > .field__hint,
.anfrage-uebergabe > .field__error {
  margin: 12px 0 0;
  font-size: 14px;
}

.anfrage-uebergabe .field--check label strong {
  font-weight: 600;
  color: var(--ink);
}

.anfrage-lieferung {
  margin-top: var(--space-3);
  padding-top: var(--space-3);
  border-top: 1px solid var(--line);
}

.anfrage-lieferadresse h3 {
  margin: var(--space-3) 0 0;
}

.anfrage-lieferadresse .form__grid {
  margin-top: 12px;
}

.field--wide {
  grid-column: 1 / -1;
}

.anfrage-preise .field__hint {
  margin: 10px 0 0;
  font-size: 14px;
}

.anfrage-preise__box {
  margin-top: var(--space-3);
  padding: var(--space-3);
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-top: 4px solid var(--brand-blue);
  border-radius: var(--radius-md);
}

.anfrage-preise__box[aria-busy="true"] {
  opacity: 0.6;
}

.anfrage-preise__box p {
  margin: 0;
}

.preis-box {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.preis-box__row {
  display: flex;
  justify-content: space-between;
  gap: var(--space-3);
  font-size: 16px;
  color: var(--ink-soft);
}

.preis-box__row--summe {
  padding-top: 8px;
  border-top: 1px solid var(--line);
  font-weight: 600;
  color: var(--ink);
}

.preis-box__row--summe .preis {
  font-size: 20px;
}

.preis-box__hinweis {
  margin: 4px 0 0;
  font-size: 14px;
  color: var(--ink-muted);
}

.anfrage .field--check {
  margin-top: 4px;
}

.anfrage-agb {
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-soft);
}

.anfrage-erfolg {
  padding: var(--space-4);
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-top: 4px solid var(--brand-blue);
  border-radius: var(--radius-md);
}

.anfrage-erfolg .display-m {
  margin-top: 0;
}

.anfrage-erfolg p {
  color: var(--ink-soft);
}

.anfrage-erfolg .preis {
  font-size: 18px;
}

/* Header-Link „Anfrageliste (n)“ auf Mietpark-Seiten */
.site-nav__basket {
  font-weight: 600;
}

@media (min-width: 480px) {
  .suche__row {
    flex-direction: row;
  }

  .suche__row input {
    flex: 1 1 auto;
  }

  .katalog__actions .btn {
    width: auto;
  }

  .artikel__add {
    flex-direction: row;
    align-items: flex-end;
  }

  .artikel__add .katalog__status {
    flex-basis: 100%;
  }

  .anfrage-liste__item {
    grid-template-columns: 120px 1fr auto;
  }

  .anfrage-liste__actions {
    grid-column: auto;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-start;
  }
}

@media (min-width: 768px) {
  .katalog {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .katalog__body {
    padding: 24px;
  }

  .artikel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }

  .anfrage-liste__item {
    grid-template-columns: 140px 1fr auto;
    padding: var(--space-4);
  }
}

@media (min-width: 1100px) {
  .katalog {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .artikel {
    grid-template-columns: 7fr 5fr;
    column-gap: var(--space-6);
  }

  .mietpark-main .section {
    padding-block: 64px;
  }

  .mietpark-head {
    padding-block: var(--space-6);
  }

  .site-nav a.site-nav__basket {
    padding: 4px 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
  }
}

/* Rechtstexte: Abstand zwischen § -Überschrift und Liste innerhalb von <section>;
   404-Linkliste ohne „pretty“, damit Link und Gedankenstrich nicht allein stehen */
.page section > * + * {
  margin-top: var(--space-3);
}

.page--short li {
  text-wrap: wrap;
}
