/* Abholprotokoll – Webseite. Keine externen Ressourcen, keine Schriften, keine Skripte nötig.
   Farben: Petrol #16464F, Signal-Orange #F28C28 (einziger Akzent), Creme #F3EFE6, Beige #C9C2B2. */

:root {
  --petrol: #16464f;
  --petrol-dunkel: #0b2a30;
  --orange: #f28c28;
  --creme: #f3efe6;
  --beige: #c9c2b2;

  /* Hell */
  --bg: var(--creme);
  --flaeche: #fbf9f4;
  --text: #0f3238;
  --text-leise: #4a6a70;
  --linie: var(--beige);
  --link: var(--petrol);
  --fokus: var(--petrol);
  --band-bg: var(--petrol);
  --band-text: var(--creme);

  --rand: 16px;
  --breite: 68rem;
  --text-breite: 42rem;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: var(--petrol-dunkel);
    --flaeche: var(--petrol);
    --text: var(--creme);
    --text-leise: var(--beige);
    --linie: #2d5961;
    --link: var(--creme);
    --fokus: var(--orange);
    --band-bg: var(--petrol);
    --band-text: var(--creme);
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
}

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

a {
  color: var(--link);
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
}

a:hover {
  text-decoration-color: var(--orange);
  text-decoration-thickness: 3px;
}

:focus-visible {
  outline: 3px solid var(--fokus);
  outline-offset: 3px;
  border-radius: 4px;
}

.ueberspringen {
  position: absolute;
  left: var(--rand);
  top: -4rem;
  background: var(--orange);
  color: var(--petrol-dunkel);
  padding: 0.6rem 1rem;
  font-weight: 700;
  border-radius: 8px;
  z-index: 10;
}

.ueberspringen:focus {
  top: var(--rand);
}

.huelle {
  width: 100%;
  max-width: var(--breite);
  margin-inline: auto;
  padding-inline: var(--rand);
}

/* Kopf */
.kopf {
  border-bottom: 1px solid var(--linie);
}

.kopf .huelle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4rem;
}

.marke {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text);
  font-weight: 700;
  font-size: 1.15rem;
  text-decoration: none;
  letter-spacing: -0.01em;
}

.marke:hover {
  text-decoration: none;
}

.app-icon {
  border-radius: 22.37%;
  background: var(--petrol);
}

.marke .app-icon {
  width: 2.25rem;
  height: 2.25rem;
}

.nav {
  display: flex;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.975rem;
}

.nav a {
  color: var(--text);
  text-decoration: none;
  padding: 0.5rem 0;
  display: inline-block;
}

.nav a:hover,
.nav a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-color: var(--orange);
  text-decoration-thickness: 3px;
}

.nav .nur-gross {
  display: none;
}

/* Typografie */
h1,
h2,
h3 {
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 0.6em;
}

h1 {
  font-size: clamp(2.25rem, 8vw, 3.9rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.65rem, 5vw, 2.4rem);
  font-weight: 750;
}

h3 {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 1em;
}

.leise {
  color: var(--text-leise);
}

.eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  padding-bottom: 0.35rem;
  border-bottom: 3px solid var(--orange);
}

/* Schaltflächen */
.knopf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 3.25rem;
  padding: 0.7rem 1.6rem;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
}

.knopf-primaer {
  background: var(--orange);
  color: var(--petrol-dunkel);
}

.knopf-primaer:hover {
  background: #ffa04a;
  text-decoration: none;
}

.knopf-sekundaer {
  border-color: currentColor;
  color: inherit;
  background: transparent;
}

.knopf-sekundaer:hover {
  text-decoration: none;
  background: rgb(255 255 255 / 0.1);
}

/* Hero (immer Petrol) */
.hero {
  background: var(--band-bg);
  color: var(--band-text);
  --fokus: var(--creme);
  --link: var(--creme);
  overflow: hidden;
}

.hero .huelle {
  display: grid;
  gap: 3rem;
  padding-block: 3.5rem 4rem;
}

.hero h1 .akzent {
  color: var(--orange);
}

.hero p.einleitung {
  font-size: 1.2rem;
  max-width: 36rem;
  color: var(--creme);
}

.hero .aktionen {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.75rem;
}

.hero .hinweis {
  margin: 1.25rem 0 0;
  font-size: 0.9rem;
  color: var(--beige);
}

.handy {
  width: min(15rem, 70vw);
  margin-inline: auto;
}

/* Abschnitte */
.abschnitt {
  padding-block: 4rem;
}

.abschnitt + .abschnitt {
  border-top: 1px solid var(--linie);
}

.abschnitt-kopf {
  max-width: var(--text-breite);
  margin-bottom: 2.5rem;
}

.schritte {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
  counter-reset: schritt;
}

.schritte li {
  counter-increment: schritt;
  background: var(--flaeche);
  border: 1px solid var(--linie);
  border-radius: 20px;
  padding: 1.5rem;
}

.schritte li::before {
  content: counter(schritt);
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: var(--orange);
  color: var(--petrol-dunkel);
  font-weight: 800;
}

.schritte p {
  margin: 0;
  color: var(--text-leise);
}

.nutzen {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2rem 3rem;
}

.nutzen li {
  border-top: 3px solid var(--orange);
  padding-top: 1rem;
}

.nutzen p {
  margin: 0;
  color: var(--text-leise);
}

/* Zugang / App-Karte */
.zugang {
  background: var(--band-bg);
  color: var(--band-text);
  --link: var(--creme);
  --fokus: var(--creme);
  border-top: 0 !important;
}

.zugang .huelle {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.zugang p {
  max-width: 36rem;
}

.icon-karte {
  text-align: center;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--creme);
}

.icon-karte .app-icon {
  width: 7rem;
  height: 7rem;
  margin: 0 auto 0.6rem;
  border: 1px solid #2d5961;
}

/* Textseiten */
.seite {
  padding-block: 3rem 5rem;
}

.seite > .huelle > * {
  max-width: var(--text-breite);
}

.seite h1 {
  font-size: clamp(2rem, 7vw, 3rem);
}

.seite h2 {
  font-size: 1.45rem;
  margin-top: 2.5rem;
}

.seite h3 {
  margin-top: 1.5rem;
}

.seite ul,
.seite ol {
  padding-left: 1.3rem;
  margin: 0 0 1em;
}

.seite li {
  margin-bottom: 0.4em;
}

.seite li::marker {
  color: var(--text-leise);
}

.platzhalter {
  background: rgb(242 140 40 / 0.22);
  box-shadow: inset 0 -2px 0 var(--orange);
  padding: 0 0.25em;
  border-radius: 3px;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.stand {
  color: var(--text-leise);
  font-size: 0.95rem;
}

.inhalt-liste {
  background: var(--flaeche);
  border: 1px solid var(--linie);
  border-radius: 16px;
  padding: 1.25rem 1.5rem 1.25rem 2.5rem !important;
}

.inhalt-liste a {
  text-decoration: none;
}

.inhalt-liste a:hover {
  text-decoration: underline;
}

details {
  border-top: 1px solid var(--linie);
  padding: 0.25rem 0;
}

details:last-of-type {
  border-bottom: 1px solid var(--linie);
}

summary {
  cursor: pointer;
  font-weight: 700;
  padding: 0.85rem 0;
  list-style-position: outside;
}

details > :not(summary) {
  color: var(--text-leise);
}

details > p:last-child {
  margin-bottom: 1rem;
}

.karte {
  background: var(--flaeche);
  border: 1px solid var(--linie);
  border-radius: 20px;
  padding: 1.5rem;
}

.karte > h2:first-child {
  margin-top: 0;
}

.karte > p:last-child {
  margin-bottom: 0;
}

address {
  font-style: normal;
}

.tabelle {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 1.5em;
  font-size: 0.975rem;
}

.tabelle th,
.tabelle td {
  text-align: left;
  vertical-align: top;
  padding: 0.75rem 0.75rem 0.75rem 0;
  border-bottom: 1px solid var(--linie);
}

.tabelle th {
  border-bottom: 3px solid var(--orange);
}

/* Fuß */
.fuss {
  border-top: 1px solid var(--linie);
  padding-block: 2rem 2.5rem;
  font-size: 0.95rem;
  color: var(--text-leise);
}

.fuss .huelle {
  display: grid;
  gap: 1rem;
}

.fuss ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.fuss a {
  color: var(--text);
  display: inline-block;
  padding: 0.35rem 0;
}

.fuss p {
  margin: 0;
}

/* 404 */
.leer {
  min-height: 60vh;
  display: grid;
  align-content: center;
  padding-block: 4rem;
}

.leer .nummer {
  font-size: clamp(5rem, 28vw, 10rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  margin: 0 0 0.5rem;
  color: var(--text);
  border-bottom: 6px solid var(--orange);
  display: inline-block;
}

/* Größere Bildschirme */
@media (min-width: 48rem) {
  .nav .nur-gross {
    display: inline-block;
  }

  .hero .huelle {
    grid-template-columns: 1.3fr 1fr;
    align-items: center;
    padding-block: 5.5rem 6rem;
  }

  .handy {
    width: min(17rem, 100%);
  }

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

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

  .zugang .huelle {
    grid-template-columns: 1fr auto;
    gap: 4rem;
  }

  .fuss .huelle {
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .abschnitt {
    padding-block: 6rem;
  }
}

@media (min-width: 48rem) {
  :root {
    --rand: 32px;
  }
}

@media print {
  .kopf,
  .fuss,
  .ueberspringen {
    display: none;
  }

  body {
    background: #fff;
    color: #000;
  }
}
