/*
 * Richtung A – offen und persönlich.
 * Weiß mit hellem Aqua-Grau, Petrol als einzige Aktionsfarbe, weiche Flächen statt Rahmen.
 * Die Auswahl liest sich wie ein Gespräch in einer Spalte; der persönliche Kontakt ist ein Vertrauenssignal,
 * aber nie Voraussetzung. Petrol ist aus dem Logo-Globus (Grün) und dem Einmal-Blau abgeleitet, ohne
 * mit den Tarifmarken Grün/Rot/Blau zu verwechseln.
 */
:root {
  --c-bg: #ffffff;
  --c-surface: #edf4f5;
  --c-surface-2: #f6fafa;
  --c-ink: #1d2a31;
  --c-text: #33434b;
  --c-muted: #52626a;
  --c-line: #d6e3e6;
  --c-line-strong: #a9bcc2;
  --c-accent: #0a6371;
  --c-on-accent: #ffffff;
  --c-accent-hover: #084d58;
  --c-accent-soft: #d6ebee;
  --c-structure: #0a6371;
  /* Focus is dark ink with a white gap, selection is the petrol ring: never the same signal. */
  --c-focus: #1d2a31;
  --fw-head: 600;
  --lh-head: 1.15;
  --r-lg: 0.75rem;
  --r-md: 0.5rem;
  --r-btn: 0.375rem;
}

.hero { padding: var(--s-7) 0 var(--s-6); }
.section { padding: var(--s-7) 0; }
.section__head { margin-bottom: var(--s-5); }
:focus-visible { outline: 3px solid var(--c-focus); outline-offset: 3px; box-shadow: 0 0 0 3px #ffffff; }
.hero__title { letter-spacing: -0.02em; }
.hero__product { color: var(--c-accent); }
.hero__roles { display: grid; grid-template-columns: repeat(4, minmax(0, max-content)); justify-content: space-between; gap: var(--s-3) var(--s-7); padding-top: var(--s-4); border-top: 1px solid var(--c-line); }

/* Personal contact: a warm, quiet card; the photo is optional and the card works without it */
.partner--card, .service-card { padding: var(--s-6); background: var(--c-surface); border-radius: var(--r-lg); }
.partner--card .partner__photo { width: 6rem; height: 6rem; box-shadow: 0 0 0 4px var(--c-bg); }
.partner--card .partner__channels .button:first-child { border-color: var(--c-accent); color: var(--c-accent); }
.service-card__name { font-size: 1.5rem; }
.award--intro { padding: var(--s-4) var(--s-5); background: var(--c-surface-2); border-radius: var(--r-md); }

/* Coverage: three short statements, marked by a short petrol rule rather than boxes */
.coverage__item::before { content: ""; width: 2.5rem; height: 3px; margin-bottom: var(--s-2); border-radius: 2px; background: var(--c-accent); }
.coverage__item--optional::before { background: repeating-linear-gradient(90deg, var(--c-accent) 0 6px, transparent 6px 10px); }

/* Finder: questions and result one below the other on every screen (changes appear where people work, also
   with screen magnification); "Zum Ergebnis" and "Angaben ändern" lead between both. */
.finder { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-5); }
.finder-example { margin: 0 0 var(--s-4); padding: var(--s-2) var(--s-4); border-left: 4px solid var(--c-accent); border-radius: var(--r-md); background: var(--c-accent-soft); color: var(--c-ink); }
.finder__inputs { display: grid; gap: var(--s-4); min-width: 0; }
.result .adjust { gap: var(--s-2) var(--s-6); padding: var(--s-2) var(--s-5) var(--s-3); border-radius: var(--r-md); background: var(--c-bg); box-shadow: 0 1px 0 var(--c-line); }
.steps { gap: var(--s-4); }
.choices--grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-2); }
.choices--grid .choice__name, .choices--grid .choice__hint { overflow-wrap: anywhere; hyphens: manual; }
.finder .choice__body { min-height: 3.25rem; padding: var(--s-2) var(--s-3) var(--s-2) 2.75rem; }
.finder .choice__body::before { left: var(--s-3); }
.finder .step__field { gap: var(--s-2); }
.finder .choice__hint { font-size: var(--fs-small); }
.finder-section .section__head { margin-bottom: var(--s-4); }
@media (min-width: 64rem) {
  .finder { gap: var(--s-6); }
  /* Wide screens: all answers of a question in one row (e.g. the four "Wer soll versichert sein?" answers). */
  .choices--grid { grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); }
}
.choice__body { background: var(--c-surface); }
.choice:hover .choice__body { background: var(--c-accent-soft); }
.choice input:checked + .choice__body { background: var(--c-accent-soft); box-shadow: inset 0 0 0 2px var(--c-accent); }
.choice input:focus-visible + .choice__body { outline: 3px solid var(--c-focus); outline-offset: 3px; }
.price-field__input { border-radius: var(--r-md); }
.result { gap: var(--s-3); padding: var(--s-4) var(--s-6) var(--s-5); background: var(--c-surface); border-radius: var(--r-lg); }
.offer { border-radius: var(--r-md); box-shadow: 0 1px 0 var(--c-line); }
.offer::before { content: ""; position: absolute; left: var(--s-5); right: var(--s-5); top: 0; height: 4px; border-radius: 0 0 4px 4px; background: var(--c-ink); }
.offer--standard::before, .offer--premium::before, .offer--single::before { background: var(--c-line); } /* 29.11.2026: no large green/red areas; colour stays in dot and tariff badge */
.offer.is-selected { box-shadow: inset 0 0 0 2px var(--c-accent); }
.next { border-radius: var(--r-md); box-shadow: inset 0 0 0 2px var(--c-accent); }
.segmented { background: var(--c-bg); }

.service__item { box-shadow: 0 1px 0 var(--c-line); }
.section--surface .service__item, .section--surface .ref-card { box-shadow: none; }

@media (max-width: 60rem) {
  .hero { padding: var(--s-6) 0; }
  .result { padding: var(--s-4); }
  .partner--card, .service-card { padding: var(--s-5); }
}

@media (max-width: 40rem) {
  .hero__roles { grid-template-columns: repeat(2, minmax(0, max-content)); justify-content: start; gap: var(--s-3) var(--s-6); }
}

@media (max-width: 24rem) {
  .hero__roles { grid-template-columns: minmax(0, 1fr); }
}
