/* Übergangsseite bommes-ing.de, Fox Medien, Oktober 2026
   Statisch, ohne JavaScript, ohne externe Quellen. Mobil zuerst. */

/* ---------- Schrift (selbst gehostet, Pfad relativ zu dieser Datei) ---------- */
@font-face {
  font-family: "Schibsted Grotesk";
  src: url(fonts/schibsted-grotesk-latin.woff2) format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
/* Metrik-angepasster Ersatz gegen Layoutsprünge beim Schriftwechsel (gegen Arial gerechnet) */
@font-face {
  font-family: "Schibsted Fallback";
  src: local("Arial");
  size-adjust: 104.5%;
  ascent-override: 93.4%;
  descent-override: 24.7%;
  line-gap-override: 0%;
}

/* ---------- Farben und Maße ---------- */
:root {
  --gruen: #285131;
  --gruen-hover: #1f4227;
  --gruen-fuss: #172d1e;
  --papier: #f5f3ee;
  --weiss: #ffffff;
  --text: #1b231e;
  --text-2: #535e57;
  --linie: #dfdcd3;
  --band-text-2: #cbd8ce;
  --fuss-text: #d3ddd6;
  --schrift: "Schibsted Grotesk", "Schibsted Fallback", "Segoe UI", system-ui, sans-serif;
  --breite: 1120px;
  --rand: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--schrift);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--weiss);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
address { font-style: normal; }
a { color: var(--gruen); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--gruen-hover); text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--gruen); outline-offset: 3px; }
h1, h2, h3, p, figure, dl, dd, ul { margin: 0; }
ul { padding: 0; }

.wrap { width: 100%; max-width: calc(var(--breite) + 2 * var(--rand)); margin: 0 auto; padding: 0 var(--rand); }
.springen {
  position: absolute; left: 12px; top: -60px; z-index: 10;
  padding: 10px 14px; background: var(--gruen); color: #fff; text-decoration: none;
}
.springen:focus { top: 12px; color: #fff; }

/* ---------- Knöpfe ---------- */
.knopf {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 12px 24px;
  border: 1.5px solid var(--gruen);
  font-size: 16px; font-weight: 600; line-height: 1.2;
  color: var(--gruen); text-decoration: none;
  background: transparent;
}
.knopf:hover { color: var(--gruen-hover); border-color: var(--gruen-hover); background: var(--weiss); text-decoration: none; }
.knopf--voll { background: var(--gruen); color: #fff; }
.knopf--voll:hover { background: var(--gruen-hover); color: #fff; }

/* ---------- Kopf ---------- */
.kopf { background: var(--papier); border-bottom: 1px solid var(--linie); }
.kopf .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; padding-top: 12px; padding-bottom: 12px; }
.marke { display: inline-flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none; }
.marke:hover { color: var(--text); }
.marke img { width: auto; height: 40px; }
.marke__name { display: block; font-size: 16px; font-weight: 650; line-height: 1.2; }
.marke__zusatz { display: block; font-size: 14px; color: var(--text-2); line-height: 1.3; }
.kopf__telefon { flex: none; min-height: 42px; padding: 8px 14px; gap: 8px; font-size: 15px; white-space: nowrap; background: var(--weiss); }
.kopf__icon { flex: none; width: 16px; height: 16px; }

/* ---------- Einstieg ---------- */
.einstieg { background: var(--papier); padding: 40px 0 56px; }
.einstieg__raster { display: grid; gap: 40px; }
.einstieg h1 {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.02em;
  color: var(--gruen);
  text-wrap: balance;
}
.einstieg__unterzeile { margin-top: 16px; font-size: 21px; font-weight: 500; line-height: 1.35; text-wrap: balance; }
.einstieg__satz { margin-top: 12px; color: var(--text-2); max-width: 32em; }
.knoepfe { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.knoepfe .knopf { flex: 1 1 100%; }
.einstieg__hinweis {
  margin-top: 28px; padding-top: 16px; max-width: 30em;
  border-top: 1px solid var(--linie);
  font-size: 15px; color: var(--text-2);
}
.einstieg__foto img { display: block; width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
.einstieg__foto figcaption { margin-top: 10px; font-size: 14px; color: var(--text-2); }
/* KI-Kennzeichnung nach Art. 50 AI Act, Fox-Standard: klein unten rechts im Bild, Wortlaut im title */
.einstieg__bild { position: relative; }
.ki-marke {
  position: absolute; right: 8px; bottom: 8px; padding: 2px 6px; border-radius: 3px;
  font-size: 11px; font-weight: 700; line-height: 1.3; color: rgba(255, 255, 255, .9); background: rgba(30, 34, 36, .38);
}

/* ---------- Grünes Band ---------- */
.band { background: var(--gruen); color: #fff; }
.band__fakten { list-style: none; display: grid; }
.band__fakten li { padding: 20px 0; border-top: 1px solid rgba(255, 255, 255, .18); }
.band__fakten li:first-child { border-top: 0; }
.band__fakten strong { display: block; font-size: 18px; font-weight: 650; line-height: 1.3; }
.band__fakten span { display: block; margin-top: 2px; font-size: 15px; line-height: 1.45; color: var(--band-text-2); }

/* ---------- Abschnitte ---------- */
.abschnitt { padding: 64px 0 72px; }
.abschnitt h2 { font-size: 30px; font-weight: 700; line-height: 1.15; letter-spacing: -.015em; text-wrap: balance; }

/* ---------- Leistungen ---------- */
.leistungen { background: var(--papier); }
.karten { list-style: none; display: grid; gap: 16px; margin-top: 28px; }
.karte { background: var(--weiss); border: 1px solid var(--linie); }
.karte img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.karte__text { padding: 20px 22px 24px; }
.karte h3 { font-size: 20px; font-weight: 650; line-height: 1.25; color: var(--gruen); }
.karte p { margin-top: 8px; color: var(--text-2); font-size: 16px; line-height: 1.55; }

/* ---------- Kontakt ---------- */
.kontakt { background: var(--weiss); border-top: 1px solid var(--linie); }
.kontakt__raster { display: grid; gap: 28px; }
.kontakt__einleitung { margin-top: 12px; color: var(--text-2); max-width: 26em; }
.kontakt__kasten { border: 1.5px solid var(--gruen); display: grid; }
.kontakt__feld { padding: 18px 20px; border-top: 1px solid var(--linie); min-width: 0; }
.kontakt__feld:first-child { border-top: 0; }
.kontakt__kasten dt { font-size: 14px; font-weight: 500; color: var(--text-2); }
.kontakt__kasten dd { margin-top: 4px; overflow-wrap: anywhere; }
.kontakt__gross { font-size: 21px; font-weight: 650; line-height: 1.3; text-decoration: none; display: inline-block; padding: 2px 0; }
.kontakt__gross:hover { text-decoration: underline; }

/* ---------- Rechtstexte ---------- */
.text-seite { padding: 40px 0 64px; }
.text-seite .wrap > * { max-width: 760px; }
.text-seite h1 { font-size: 32px; font-weight: 700; line-height: 1.15; letter-spacing: -.015em; color: var(--gruen); }
.text-seite .stand { margin-top: 6px; color: var(--text-2); font-size: 15px; }
.text-seite section { padding: 24px 0; border-bottom: 1px solid var(--linie); }
.text-seite section:last-child { border-bottom: 0; }
.text-seite h2 { font-size: 19px; font-weight: 650; line-height: 1.3; margin-bottom: 8px; }
.text-seite p + p, .text-seite p + ul, .text-seite ul + p { margin-top: 12px; }
.text-seite ul { padding-left: 1.2em; }
.text-seite li + li { margin-top: 4px; }
.angaben dt { color: var(--text-2); font-size: 15px; }
.angaben dd { margin-bottom: 10px; }
.angaben dd:last-child { margin-bottom: 0; }
.kasten { margin-top: 16px; padding: 18px 20px; background: var(--papier); border-left: 3px solid var(--gruen); }
.kasten h2 { margin-bottom: 8px; }
.fox-logo { display: inline-block; margin: 4px 0 10px; }
.fox-logo img { width: 97px; height: 86px; }

/* ---------- Fuß ---------- */
.fuss { background: var(--gruen-fuss); color: var(--fuss-text); font-size: 15px; }
.fuss a { color: var(--fuss-text); text-decoration: none; padding: 4px 0; }
.fuss a:hover, .fuss a[aria-current="page"] { color: #fff; text-decoration: underline; }
.fuss__oben { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding: 36px 0 28px; }
.fuss__marke { display: flex; align-items: center; gap: 14px; }
.fuss__marke picture { flex: none; }
.fuss__marke img { width: auto; height: 38px; }
.fuss__name { display: block; font-size: 16px; font-weight: 650; line-height: 1.3; color: #fff; }
.fuss__zusatz { display: block; font-size: 14px; line-height: 1.4; }
.fuss__adresse { line-height: 1.5; }
.fuss__unten {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px;
  padding: 20px 0 28px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: 14px;
}
.fuss__unten nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 20px; }
.fuss__fox { display: inline-flex; align-items: center; gap: 6px; }
.fuss__fox img { width: 21px; height: 15px; }

/* ---------- Handy: Kopf-Knopf nur mit Telefon-Icon, die Nummer steht im großen Anruf-Knopf darunter ---------- */
@media (max-width: 599px) {
  .kopf__telefon { width: 44px; min-height: 44px; padding: 0; }
  .kopf__icon { width: 18px; height: 18px; }
  .kopf__nummer { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* ---------- Ab Tablet ---------- */
@media (min-width: 600px) {
  :root { --rand: 24px; }
  .einstieg h1 { font-size: 46px; }
  .einstieg__unterzeile { font-size: 23px; }
  .knoepfe .knopf { flex: 0 0 auto; }
  /* Band bleibt bis 1119 px gestapelt wie am Handy, drei Spalten wären hier zu schmal */
  .band__fakten li { padding: 24px 0; }
  .abschnitt h2 { font-size: 34px; }
  .karte { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }
  .karte img { height: 100%; aspect-ratio: auto; min-height: 200px; }
  .karte__text { padding: 24px 26px; align-self: center; }
  .kontakt__feld { padding: 20px 24px; }
  .angaben { display: grid; grid-template-columns: 14em minmax(0, 1fr); gap: 0 24px; align-items: baseline; }
  .angaben dd { margin-bottom: 8px; }
  .angaben dt { margin-bottom: 8px; }
  .angaben dd:last-child, .angaben dt:nth-last-child(2) { margin-bottom: 0; }
  .text-seite h1 { font-size: 40px; }
}

/* Kontaktkasten erst ab 720 px als 2 x 2, darunter wäre jede Spalte zu schmal für die E-Mail-Adresse */
@media (min-width: 720px) {
  .kontakt__kasten { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kontakt__feld:nth-child(2) { border-top: 0; border-left: 1px solid var(--linie); }
  .kontakt__feld:nth-child(4) { border-left: 1px solid var(--linie); }
}

/* ---------- Ab Desktop ---------- */
@media (min-width: 900px) {
  :root { --rand: 32px; }
  .kopf .wrap { min-height: 84px; }
  .marke img { height: 44px; }
  .marke__name { font-size: 18px; }
  .einstieg { padding: 72px 0 88px; }
  .einstieg__raster { grid-template-columns: minmax(0, 11fr) minmax(0, 10fr); column-gap: 64px; align-items: center; }
  .einstieg h1 { font-size: 54px; line-height: 1.08; }
  .einstieg__unterzeile { margin-top: 20px; font-size: 24px; }
  .einstieg__satz { font-size: 18px; }
  .knoepfe { margin-top: 32px; }
  .abschnitt { padding: 88px 0 96px; }
  .abschnitt h2 { font-size: 38px; }
  .karten { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 36px; }
  .karte { display: block; }
  .karte img { height: auto; aspect-ratio: 3 / 2; min-height: 0; }
  .karte__text { padding: 22px 24px 28px; }
  .kontakt__feld { padding: 22px 26px; }
  .text-seite { padding: 64px 0 88px; }
  .text-seite h1 { font-size: 44px; }
}

/* ---------- Ab breitem Desktop ---------- */
/* Band dreispaltig und Kontakt neben dem Kasten erst hier: darunter brechen die Fakten im Band
   und die E-Mail-Adresse im Kasten um */
@media (min-width: 1120px) {
  /* gleiche Spalten wie die Leistungskarten darunter: jede Linie auf einer Kartenkante,
     jeder Fakt auf der Textflucht der Karte darunter (1px Rand + 24px Innenabstand) */
  .band__fakten { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 24px; }
  .band__fakten li { padding: 36px 0 36px 25px; border-top: 0; border-left: 1px solid rgba(255, 255, 255, .18); }
  /* Kasten fest 640 px breit: jede Kastenspalte bleibt breit genug für E-Mail-Adresse und Namen */
  .kontakt__raster { grid-template-columns: minmax(0, 1fr) minmax(0, 640px); column-gap: 64px; align-items: start; }
}
