/* ==========================================================================
   dein-notfallkoffer.de – Übergangsseite (reines HTML/CSS, keine Skripte)
   ========================================================================== */

/* ---- Schrift: Lato, lokal eingebettet ---------------------------------- */
@font-face {
  font-family: "Lato";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/lato-400-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Lato";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/lato-400-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;
}
@font-face {
  font-family: "Lato";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/lato-700-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Lato";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/lato-700-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;
}
@font-face {
  font-family: "Lato";
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("../fonts/lato-900-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Lato";
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("../fonts/lato-900-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;
}

/* ---- Design-Tokens ------------------------------------------------------- */
:root {
  --rot: #6d010a;           /* Logo-Rot */
  --rot-dunkel: #4d0007;
  --rot-hell: #fbeeee;
  --blau: #425b76;          /* Blaugrau der Live-Seite */
  --blau-dunkel: #27384c;
  --blau-tief: #1b2838;
  --grau-100: #f4f5f7;
  --grau-200: #e6e8ec;
  --grau-500: #6b7280;
  --text: #22272e;
  --text-hell: #ffffff;
  --radius: 14px;
  --schatten: 0 18px 50px rgba(27, 40, 56, 0.18);
  --container: 1160px;
  --gutter: 20px;
}

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

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

body {
  margin: 0;
  font-family: "Lato", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: #ffffff;
}

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

h1, h2, h3 { margin: 0 0 0.5em; line-height: 1.15; font-weight: 900; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
a { color: var(--rot); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--rot-dunkel); }
address { font-style: normal; }

:focus-visible { outline: 3px solid #f6b73c; outline-offset: 3px; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--text);
  color: #fff;
  padding: 8px 14px;
  border-radius: 6px;
  z-index: 100;
}
.skip:focus { left: 8px; }

.eyebrow {
  margin: 0 0 0.6em;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rot);
}
.eyebrow--hell { color: rgba(255, 255, 255, 0.75); }

/* ---- Buttons ------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}
.btn svg { width: 20px; height: 20px; fill: currentColor; flex: none; }
.btn:hover { transform: translateY(-1px); }
.btn--rot { background: var(--rot); color: #fff; box-shadow: 0 8px 20px rgba(109, 1, 10, 0.28); }
.btn--rot:hover { background: var(--rot-dunkel); color: #fff; }
.btn--hell { background: var(--grau-100); color: var(--text); }
.btn--hell:hover { background: var(--grau-200); color: var(--text); }
.btn--weiss { background: #fff; color: var(--blau-dunkel); }
.btn--weiss:hover { background: var(--grau-100); color: var(--blau-dunkel); }

/* ---- Kopfzeile ----------------------------------------------------------- */
.kopf {
  background: var(--rot);
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.kopf__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.kopf__logo { flex: 0 1 auto; min-width: 0; }
.kopf__logo img { width: 100%; max-width: 416px; height: auto; }
.kopf__nav { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.kopf__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 8px;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
}
.kopf__link svg { width: 18px; height: 18px; fill: currentColor; opacity: 0.85; }
.kopf__link:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }
.kopf__link--extern { border: 1px solid rgba(255, 255, 255, 0.35); margin-left: 6px; }

/* ---- Hero ---------------------------------------------------------------- */
.hero {
  position: relative;
  background: var(--blau-dunkel);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero__bild {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--blau);
}
.hero__bild img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 28%;
  filter: grayscale(1) contrast(1.08) brightness(1.02);
  mix-blend-mode: luminosity;
  opacity: 0.95;
}
.hero__bild::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(27, 40, 56, 0.97) 0%, rgba(27, 40, 56, 0.9) 30%, rgba(27, 40, 56, 0.55) 52%, rgba(27, 40, 56, 0.12) 72%, rgba(27, 40, 56, 0.05) 100%),
    linear-gradient(180deg, rgba(27, 40, 56, 0.15) 0%, rgba(27, 40, 56, 0) 35%, rgba(27, 40, 56, 0.6) 100%);
}
.hero__inner {
  display: flex;
  align-items: center;
  padding-top: 80px;
  padding-bottom: 170px;
  min-height: 600px;
}
.hero__text { max-width: 600px; }

/* Wartungs-Karte schwebt über der Hero-Unterkante */
.wartung-wrap {
  position: relative;
  z-index: 2;
  margin-top: -120px;
}
.hero__eyebrow {
  margin: 0 0 1em;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #f3c7c9;
}
.hero__text h1 { color: #fff; text-shadow: 0 2px 20px rgba(0, 0, 0, 0.25); }
.hero__lead { font-size: 1.15rem; max-width: 34em; color: rgba(255, 255, 255, 0.86); }

/* Wartungs-Karte */
.wartung {
  max-width: 920px;
  margin: 0 auto;
  background: #fff;
  color: var(--text);
  border-radius: var(--radius);
  padding: 32px 40px 26px;
  box-shadow: var(--schatten);
  border-top: 6px solid var(--rot);
}
.wartung h2 { font-size: 1.6rem; margin-bottom: 0.5em; }
.wartung p { margin-bottom: 1em; max-width: 60em; }
.wartung__status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  padding: 6px 14px 6px 10px;
  border-radius: 999px;
  background: var(--rot-hell);
  color: var(--rot);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.wartung__punkt {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--rot);
  box-shadow: 0 0 0 0 rgba(109, 1, 10, 0.5);
  animation: puls 2s infinite;
}
@keyframes puls {
  0%   { box-shadow: 0 0 0 0 rgba(109, 1, 10, 0.45); }
  70%  { box-shadow: 0 0 0 9px rgba(109, 1, 10, 0); }
  100% { box-shadow: 0 0 0 0 rgba(109, 1, 10, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .wartung__punkt { animation: none; }
  html { scroll-behavior: auto; }
}
.wartung__aktionen { display: flex; flex-wrap: wrap; gap: 12px; margin: 18px 0 16px; }
.wartung__hinweis {
  margin: 0;
  padding-top: 14px;
  border-top: 1px solid var(--grau-200);
  font-size: 0.9rem;
  color: var(--grau-500);
}

/* ---- Abschnitte allgemein ---------------------------------------------- */
.abschnitt-kopf { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.abschnitt-kopf__text { font-size: 1.1rem; color: var(--grau-500); margin: 0; }

/* ---- Geschäftsprinzip --------------------------------------------------- */
.prinzip { padding: 80px 0 88px; background: #fff; }
.schritte {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.schritt {
  position: relative;
  padding: 36px 30px 30px;
  background: var(--grau-100);
  border-radius: var(--radius);
  border: 1px solid var(--grau-200);
}
.schritt__icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--rot);
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  box-shadow: 0 10px 24px rgba(109, 1, 10, 0.25);
}
.schritt__icon img { width: 40px; height: 40px; filter: invert(1); }
.schritt__nr {
  position: absolute;
  top: 26px;
  right: 28px;
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--grau-200);
  line-height: 1;
}
.schritt h3 { margin-bottom: 0.5em; }
.schritt p { margin: 0; color: #3d4450; }

/* ---- Vorteile ----------------------------------------------------------- */
.vorteile { padding: 88px 0; background: var(--grau-100); }
.vorteile__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}
.vorteile__bild { margin: 0; padding: 0 0 0 22px; }
.vorteile__bild picture { position: relative; display: block; }
.vorteile__bild picture::before {
  content: "";
  position: absolute;
  left: -22px;
  top: 22px;
  width: 70%;
  height: 100%;
  border-radius: var(--radius);
  background: var(--rot);
  opacity: 0.9;
}
.vorteile__bild img {
  position: relative;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--schatten);
  filter: saturate(0.85);
}
.vorteile__bild figcaption {
  margin-top: 38px;
  font-size: 0.9rem;
  color: var(--grau-500);
}
.vorteile__text > p { font-size: 1.1rem; color: #3d4450; }

.checkliste { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 12px; }
.checkliste li {
  position: relative;
  padding: 14px 18px 14px 54px;
  background: #fff;
  border-radius: 10px;
  border: 1px solid var(--grau-200);
  font-weight: 700;
  color: var(--blau-dunkel);
}
.checkliste li::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 50%;
  width: 26px;
  height: 26px;
  margin-top: -13px;
  border-radius: 50%;
  background: var(--rot) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M9.5 16.2 5.3 12l-1.4 1.4 5.6 5.6 12-12-1.4-1.4z'/%3E%3C/svg%3E") center / 16px no-repeat;
}

/* ---- Training ----------------------------------------------------------- */
.training { background: var(--blau-dunkel); color: #fff; padding: 64px 0; }
.training__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.training h2 { color: #fff; }
.training p { max-width: 42em; color: rgba(255, 255, 255, 0.82); margin: 0; }

/* ---- Kontakt ------------------------------------------------------------ */
.kontakt { background: var(--rot); color: #fff; padding: 72px 0; }
.kontakt__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}
.kontakt h2 { color: #fff; }
.kontakt p { color: rgba(255, 255, 255, 0.85); margin: 0; font-size: 1.1rem; }
.kontakt__wege { display: grid; gap: 14px; }
.kontakt__weg {
  display: flex;
  flex-direction: column;
  padding: 18px 22px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 12px;
  color: #fff;
  text-decoration: none;
  transition: background-color 0.15s ease;
}
.kontakt__weg:hover { background: rgba(255, 255, 255, 0.18); color: #fff; }
.kontakt__label { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.8; }
.kontakt__wert { font-size: 1.35rem; font-weight: 900; word-break: break-word; }

/* ---- Fußzeile: Impressum & Datenschutz ---------------------------------- */
.fuss { background: var(--blau-tief); color: rgba(255, 255, 255, 0.82); font-size: 0.95rem; }
.fuss__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 56px;
  padding-top: 64px;
  padding-bottom: 48px;
}
.fuss h2 { color: #fff; font-size: 1.4rem; margin-bottom: 0.4em; }
.fuss h3 { color: #fff; font-size: 1rem; margin: 1.3em 0 0.3em; }
.fuss a { color: #fff; }
.fuss a:hover { color: #f3c7c9; }
.fuss__klein { font-size: 0.86rem; color: rgba(255, 255, 255, 0.6); }
.fuss__leiste {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 20px;
  padding-bottom: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.6);
}
.fuss__leiste p { margin: 0; }
.fuss__leiste a { color: rgba(255, 255, 255, 0.8); text-decoration: none; }
.fuss__leiste a:hover { color: #fff; text-decoration: underline; }

/* ---- Responsiv ----------------------------------------------------------- */
@media (max-width: 1000px) {
  .hero__inner { padding-top: 56px; padding-bottom: 140px; min-height: 0; }
  .hero__bild img { object-position: 78% 20%; }
  .hero__bild::after {
    background:
      linear-gradient(180deg, rgba(27, 40, 56, 0.35) 0%, rgba(27, 40, 56, 0.85) 45%, rgba(27, 40, 56, 0.97) 100%);
  }
  .wartung-wrap { margin-top: -96px; }
  .schritte { grid-template-columns: 1fr; }
  .vorteile__inner { grid-template-columns: 1fr; gap: 36px; }
  .kontakt__inner { grid-template-columns: 1fr; }
  .fuss__inner { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .kopf__inner { gap: 12px; padding-top: 12px; padding-bottom: 12px; }
  .kopf__logo img { max-width: 300px; }
  .kopf__nav { gap: 8px; flex-wrap: nowrap; flex: none; }
  /* Mobil: Telefon und Mail nur als Icon-Buttons, Trainings-Link steht weiter unten als eigener Abschnitt */
  .kopf__link { width: 42px; height: 42px; padding: 0; justify-content: center; border-radius: 50%; background: rgba(255, 255, 255, 0.14); }
  .kopf__link span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .kopf__link svg { width: 20px; height: 20px; opacity: 1; }
  .kopf__link--extern { display: none; }
  .prinzip { padding: 56px 0 64px; }
  .vorteile { padding: 64px 0; }
  .abschnitt-kopf { margin-bottom: 32px; text-align: left; }
  .wartung { padding: 24px 20px 18px; }
  .wartung h2 { font-size: 1.35rem; }
  .vorteile__bild { padding-left: 14px; }
  .vorteile__bild picture::before { left: -14px; top: 14px; }
  .vorteile__bild figcaption { margin-top: 28px; }
  .wartung__aktionen .btn { width: 100%; justify-content: center; }
  .training__inner { flex-direction: column; align-items: flex-start; }
  .schritt__nr { font-size: 2rem; top: 22px; right: 20px; }
}

@media (max-width: 420px) {
  .kopf__link span { font-size: 0.9rem; }
  .kontakt__wert { font-size: 1.15rem; }
}

/* ---- Druck -------------------------------------------------------------- */
@media print {
  .hero__bild, .training, .skip { display: none; }
  .hero, .kontakt, .fuss, .kopf { background: #fff !important; color: #000 !important; }
  .hero h1, .kontakt h2, .fuss h2, .fuss h3 { color: #000 !important; }
  .wartung { box-shadow: none; border: 1px solid #999; }
}
