/*
 * ServiceHome GBS – Landingpage.
 * Alle Werte 1:1 aus dem Design-Handoff „design_handoff_servicehome_landingpage“
 * (ServiceHome Website.dc.html). Der Prototyp setzt KEIN globales
 * box-sizing:border-box — die Container (max-width + padding-inline) sind deshalb
 * bewusst content-box, sonst wären Header und Sections 48px schmaler als im Design.
 * Hover-/Fokus-Zustände sind im Prototyp !important (importantify); deshalb
 * gewinnt z. B. der Petrol-Fokusrahmen auch über den roten Fehlerrahmen.
 */

@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/manrope-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/manrope-latin.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 {
  --petrol: #0f7c80;
  --petrol-dunkel: #0b5b5e;
  --petrol-sehr-dunkel: #0a3a3d;
  --petrol-hell: #8fd0cf;
  --flaeche-hell: #f3f7f7;
  --flaeche-illustration: #e2efef;
  --text: #1d1f20;
  --text-sekundaer: #3d4246;
  --text-tertiaer: #4a4f53;
  --text-leise: #5a5f63;
  --platzhalter-dunkel: #a9bfbf;
  --rahmen: #e6e8e9;
  --rahmen-karte: #e1e5e6;
  --rahmen-feld: #d3d8da;
  --fehler: #b3261e;
  color-scheme: light;
}

body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font-family: 'Manrope', sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--petrol-dunkel); }
a:hover { color: var(--petrol-sehr-dunkel); }
input, textarea, button { font-family: inherit; }
*:focus-visible { outline: 2px solid var(--petrol); outline-offset: 2px; }

.seite { display: flex; flex-direction: column; min-height: 100vh; }
.inhalt { flex: 1; display: flex; flex-direction: column; }

/* Header */
.kopf { border-bottom: 1px solid var(--rahmen); }
.kopf__innen { max-width: 1080px; margin: 0 auto; padding: 20px 24px; display: flex; align-items: center; }
.logo { display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; }
.logo:hover { color: inherit; }
.logo__marke { flex-shrink: 0; }
.logo__text { display: flex; flex-direction: column; gap: 1px; }
.logo__name { font-weight: 800; font-size: 22px; letter-spacing: -.03em; line-height: 1; }
.logo__name-akzent { font-weight: 700; color: var(--petrol); }
.logo__zusatz { font-weight: 700; font-size: 8px; letter-spacing: .28em; text-transform: uppercase; color: var(--text-leise); }

/* Hero */
.hero { background: var(--flaeche-hell); overflow: hidden; }
.hero__innen {
  max-width: 1160px; margin: 0 auto; padding: clamp(48px, 7vw, 88px) 24px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: 48px; align-items: center;
}
.hero__text { display: flex; flex-direction: column; gap: 22px; }
.kicker { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--petrol-dunkel); }
.hero__titel {
  margin: 0; font-weight: 800; font-size: clamp(38px, 5.5vw, 60px); line-height: 1.05;
  letter-spacing: -.035em; text-wrap: balance;
}
.hero__lead { margin: 0; font-size: 18px; line-height: 1.6; color: var(--text-sekundaer); max-width: 440px; text-wrap: pretty; }
.hero__aktion { display: flex; padding-top: 6px; }

.knopf {
  background: var(--petrol); color: #fff; border: 0; text-decoration: none;
  font-weight: 700; font-size: 16px; padding: 14px 26px; border-radius: 6px; cursor: pointer;
}
.knopf:hover { background: var(--petrol-dunkel); color: #fff; }
.knopf:disabled { cursor: progress; background: var(--petrol-dunkel); }

.hero__bild { position: relative; }
.hero__versatz {
  position: absolute; right: -28px; bottom: -28px; width: 62%; height: 62%;
  background: var(--petrol); border-radius: 14px;
}
.hero__flaeche { position: relative; aspect-ratio: 5 / 4; width: 100%; }
.hero__flaeche-innen {
  width: 100%; height: 100%; border-radius: 14px; background: var(--flaeche-illustration);
  display: flex; align-items: center; justify-content: center;
}
.hero__marke { width: 42%; height: auto; }

/* Leistungen */
.leistungen { background: #fff; }
.leistungen__innen {
  max-width: 1160px; margin: 0 auto; padding: clamp(56px, 8vw, 96px) 24px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 24px;
  list-style: none;
}
.kachel { display: flex; flex-direction: column; gap: 12px; }
.kachel__bild { position: relative; aspect-ratio: 4 / 3; width: 100%; }
.kachel__bild svg { display: block; width: 100%; height: 100%; border-radius: 10px; }
.kachel__titel { margin: 0; font-weight: 700; font-size: 17px; letter-spacing: -.01em; }

/* Kontakt */
.kontakt { background: var(--petrol-sehr-dunkel); }
.kontakt__innen {
  max-width: 1160px; margin: 0 auto; padding: clamp(56px, 8vw, 96px) 24px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: 56px; align-items: start;
}
.kontakt__text { display: flex; flex-direction: column; gap: 20px; color: #fff; }
.kontakt__kicker { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--petrol-hell); }
.kontakt__titel { margin: 0; font-weight: 800; font-size: clamp(30px, 4vw, 42px); line-height: 1.1; letter-spacing: -.03em; }
.kontakt__wege { display: flex; flex-direction: column; gap: 14px; padding-top: 8px; }
.kontakt__weg { display: flex; flex-direction: column; gap: 2px; }
.kontakt__wert { font-size: 18px; font-weight: 700; }
.kontakt__wert--offen { color: var(--platzhalter-dunkel); }
a.kontakt__wert { text-decoration: none; color: #fff; }
a.kontakt__wert:hover { color: var(--petrol-hell); }

.karte { background: #fff; border: 1px solid var(--rahmen-karte); border-radius: 12px; padding: clamp(24px, 4vw, 36px); }

/* Formular */
.formular { display: flex; flex-direction: column; gap: 16px; }
.feldgruppe { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.feldreihe { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 16px; }
.feld {
  font-size: 16px; padding: 12px 14px; border: 1.5px solid var(--rahmen-feld); border-radius: 6px;
  background: #fff; color: var(--text); outline: none;
}
.feld:focus-visible { outline: none; }
.feld--text { line-height: 1.5; resize: vertical; }
.feld[aria-invalid='true'] { border-color: var(--fehler); }
.feld:focus { border-color: var(--petrol); }
.zustimmung {
  display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.5;
  color: var(--text-sekundaer); cursor: pointer;
}
.zustimmung input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--petrol); flex-shrink: 0; }
.fehlertext { font-size: 13px; font-weight: 500; color: var(--fehler); }
.fehlertext--zustimmung { margin-top: -8px; }
.formular__aktion { display: flex; padding-top: 4px; }
.sendefehler { margin: 0; font-size: 14px; line-height: 1.5; font-weight: 500; color: var(--fehler); }
.hinweis { margin: 0; font-size: 14px; line-height: 1.5; color: var(--text-sekundaer); }

/* Honeypot: für Menschen unsichtbar, für Screenreader ausgeblendet (aria-hidden am Wrapper). */
.falle { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.danke { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; padding: 16px 0; }
.danke__titel { margin: 0; font-weight: 800; font-size: 24px; letter-spacing: -.02em; }
.danke__titel:focus { outline: none; }
.danke__text { margin: 0; font-size: 16px; line-height: 1.6; color: var(--text-tertiaer); }
.textknopf {
  margin-top: 6px; background: none; border: 0; padding: 0; color: var(--petrol-dunkel);
  font-weight: 700; font-size: 15px; cursor: pointer; text-decoration: underline;
}

[hidden] { display: none !important; }

/* Footer */
.fuss { background: #fff; border-top: 1px solid var(--rahmen); }
.fuss__innen {
  max-width: 1080px; margin: 0 auto; padding: 28px 24px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  font-size: 14px; color: var(--text-leise);
}
.fuss__links { display: flex; gap: 24px; }
.fuss__links a { color: var(--text-leise); text-decoration: none; }
.fuss__links a:hover { color: var(--petrol); }

/* Rechtstexte (Impressum, Datenschutz) — kein eigenes Design im Handoff;
   gleiche Tokens, Lesebreite statt Section-Raster. */
.rechtstext { max-width: 720px; margin: 0 auto; padding: clamp(48px, 7vw, 88px) 24px; line-height: 1.6; color: var(--text-sekundaer); }
.rechtstext h1 { margin: 0 0 32px; font-weight: 800; font-size: clamp(32px, 4.5vw, 44px); line-height: 1.1; letter-spacing: -.03em; color: var(--text); }
.rechtstext h2 { margin: 40px 0 12px; font-weight: 800; font-size: 20px; letter-spacing: -.01em; line-height: 1.3; color: var(--text); }
.rechtstext h3 { margin: 24px 0 8px; font-weight: 700; font-size: 16px; color: var(--text); }
.rechtstext p, .rechtstext ul, .rechtstext address { margin: 0 0 12px; font-style: normal; }
.rechtstext ul { padding-left: 22px; }
.rechtstext .offen { background: #fff4d6; color: #6b4e00; padding: 0 4px; border-radius: 3px; }
.rechtstext .stand { margin-top: 40px; font-size: 14px; color: var(--text-leise); }
