/* ============================================================
   KeT Boxsysteme — zentrales Stylesheet
   Farbsystem: Blau / Hell. Alle Farben als CSS-Variablen,
   an einer Stelle steuerbar.
   ============================================================ */

/* ------------------------------------------------------------
   Schriftart "Inter" – selbst gehostet (DSGVO: keine externen
   Server, keine IP-Übertragung an Dritte). Nur latin + latin-ext
   (deckt Deutsch/Englisch inkl. europäischer Sonderzeichen ab).
   ------------------------------------------------------------ */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../assets/fonts/inter-latin-400-normal.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: "Inter"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../assets/fonts/inter-latin-ext-400-normal.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: "Inter"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../assets/fonts/inter-latin-500-normal.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: "Inter"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../assets/fonts/inter-latin-ext-500-normal.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: "Inter"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../assets/fonts/inter-latin-600-normal.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: "Inter"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../assets/fonts/inter-latin-ext-600-normal.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: "Inter"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("../assets/fonts/inter-latin-700-normal.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: "Inter"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("../assets/fonts/inter-latin-ext-700-normal.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: "Inter"; font-style: normal; font-weight: 800; font-display: swap;
  src: url("../assets/fonts/inter-latin-800-normal.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: "Inter"; font-style: normal; font-weight: 800; font-display: swap;
  src: url("../assets/fonts/inter-latin-ext-800-normal.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; }

:root {
  /* Farben */
  --color-primary: #1d4ed8;       /* Blau (Akzent, CTAs, Links) */
  --color-primary-dark: #1e3a8a;  /* Hover / Tiefe */
  --color-primary-soft: #eff4ff;  /* helle blaue Flächen / Badges */
  --color-primary-tint: #dbe6ff;  /* Rahmen blau */
  --color-bg: #ffffff;            /* helles Grunddesign */
  --color-surface: #f6f8fc;       /* leichte Sektions-Abgrenzung */
  --color-surface-2: #eef2f9;
  --color-text: #0f172a;          /* dunkler Text auf hell */
  --color-heading: #0b1b3b;
  --color-muted: #5b6b85;         /* Sekundärtext */
  --color-border: #e2e8f0;
  --color-white: #ffffff;
  --color-footer: #0b1b3b;         /* dunkler Footer-Ton (folgt der Akzentfarbe) */

  /* Typografie */
  --font-base: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;

  /* Layout */
  --container: 1140px;
  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 50px rgba(29, 78, 216, 0.12);
  --header-h: 74px;
  --transition: 180ms ease;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px); }
body {
  margin: 0;
  font-family: var(--font-base);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-primary-dark); }
h1, h2, h3, h4 { color: var(--color-heading); line-height: 1.2; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2rem, 4vw, 3.1rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); letter-spacing: -0.01em; }
h3 { font-size: 1.22rem; }
p { margin: 0 0 1rem; }
ul { margin: 0 0 1rem; padding-left: 1.2rem; }

/* ---------- Layout-Helfer ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 84px 0; }
.section--surface { background: var(--color-surface); }
.section--tight { padding: 60px 0; }
.center { text-align: center; }
.eyebrow {
  display: inline-block;
  font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--color-primary);
  background: var(--color-primary-soft);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 16px;
}
.section__head { max-width: 720px; margin: 0 auto 52px; }
.section__head.center { text-align: center; }
.lead { font-size: 1.12rem; color: var(--color-muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: .98rem; line-height: 1;
  padding: 14px 24px; border-radius: 999px; cursor: pointer;
  border: 1.5px solid transparent; transition: all var(--transition);
  white-space: nowrap;
}
.btn--primary { background: var(--color-primary); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--color-primary-dark); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow); }
.btn--ghost { background: #fff; color: var(--color-primary); border-color: var(--color-primary-tint); }
.btn--ghost:hover { background: var(--color-primary-soft); color: var(--color-primary-dark); }
.btn--light { background: rgba(255,255,255,.15); color: #fff; border-color: rgba(255,255,255,.4); }
.btn--light:hover { background: rgba(255,255,255,.25); color: #fff; }
.btn--lg { padding: 16px 30px; font-size: 1.02rem; }
.arrow-link { font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.arrow-link::after { content: "→"; transition: transform var(--transition); }
.arrow-link:hover::after { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--color-border);
}
.site-header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.18rem; color: var(--color-heading); letter-spacing: -0.01em; }
.brand:hover { color: var(--color-heading); }
.brand img { height: 34px; width: auto; display: block; }
.brand .brand__mark {
  width: 34px; height: 34px; border-radius: 9px; flex: 0 0 auto;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: #fff; display: grid; place-items: center; font-weight: 800; font-size: .95rem;
}
.brand small { display: block; font-size: .68rem; font-weight: 600; color: var(--color-muted); letter-spacing: .04em; }
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  color: var(--color-text); font-weight: 500; font-size: .96rem;
  padding: 9px 12px; border-radius: 8px; white-space: nowrap;
}
.main-nav a:hover { color: var(--color-primary); background: var(--color-primary-soft); }
.header-actions { display: flex; align-items: center; gap: 14px; }
.lang-switch { display: flex; align-items: center; gap: 2px; font-size: .85rem; font-weight: 600; }
.lang-switch a { color: var(--color-muted); padding: 4px 7px; border-radius: 6px; }
.lang-switch a.is-active { color: var(--color-primary); background: var(--color-primary-soft); }
.lang-switch span { color: var(--color-border); }

/* Dropdown im Nav (Leistungen) */
.has-dropdown { position: relative; }
.dropdown {
  position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%) translateY(6px);
  min-width: 260px; background: #fff; border: 1px solid var(--color-border);
  border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 8px;
  opacity: 0; visibility: hidden; transition: all var(--transition);
}
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown a { display: block; padding: 10px 14px; border-radius: 8px; font-size: .93rem; color: var(--color-text); font-weight: 500; }
.dropdown a:hover { background: var(--color-primary-soft); color: var(--color-primary); }

/* Burger */
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--color-heading); border-radius: 2px; transition: all var(--transition); }
.nav-toggle span + span { margin-top: 5px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--color-primary-soft), #fff 70%); }
.hero .container { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; padding-top: 72px; padding-bottom: 72px; }
.hero__content h1 { margin-bottom: 20px; }
.hero__content .lead { font-size: 1.18rem; margin-bottom: 28px; max-width: 560px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 22px; font-size: .92rem; color: var(--color-muted); }
.hero__meta strong { color: var(--color-heading); display: block; font-size: 1.35rem; }
.hero__media { position: relative; }
.hero__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; }
.hero__badge {
  position: absolute; bottom: 22px; left: -18px; background: #fff; border: 1px solid var(--color-border);
  border-radius: var(--radius); padding: 14px 18px; box-shadow: var(--shadow); font-size: .9rem; font-weight: 600;
  display: flex; align-items: center; gap: 10px;
}
.hero__badge .dot { width: 10px; height: 10px; border-radius: 50%; background: #16a34a; box-shadow: 0 0 0 4px rgba(22,163,74,.15); }

/* ---------- Trust badges ---------- */
.trust { border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); background: #fff; }
.trust .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 32px 24px; }
.trust__item { text-align: center; }
.trust__item strong { display: block; font-size: 1.5rem; color: var(--color-heading); }
.trust__item span { font-size: .9rem; color: var(--color-muted); }

/* ---------- Cards / Leistungen ---------- */
.grid { display: grid; gap: 26px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.service-card {
  background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; transition: all var(--transition);
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--color-primary-tint); }
.service-card__media { aspect-ratio: 4 / 3; background: var(--color-surface-2); overflow: hidden; }
.service-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 400ms ease; }
.service-card:hover .service-card__media img { transform: scale(1.05); }
.service-card__body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.service-card__body h3 { margin-bottom: 8px; }
.service-card__body p { color: var(--color-muted); font-size: .96rem; flex: 1; }
.service-card__body .arrow-link { margin-top: 14px; }

/* Icon badge */
.icon-badge {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: var(--color-primary-soft); color: var(--color-primary); margin-bottom: 14px;
}
.icon-badge svg { width: 24px; height: 24px; }

/* ---------- Prozess / Timeline ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.step { position: relative; padding: 28px 22px; background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); }
.step__num {
  counter-increment: step; width: 42px; height: 42px; border-radius: 12px;
  background: var(--color-primary); color: #fff; font-weight: 800; font-size: 1.1rem;
  display: grid; place-items: center; margin-bottom: 16px;
}
.step__num::before { content: counter(step); }
.step h3 { font-size: 1.08rem; }
.step p { color: var(--color-muted); font-size: .93rem; margin: 0; }

/* ---------- Über uns / Split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.checklist { list-style: none; padding: 0; margin: 18px 0 0; }
.checklist li { position: relative; padding-left: 32px; margin-bottom: 12px; color: var(--color-text); }
.checklist li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  width: 22px; height: 22px; border-radius: 50%; background: var(--color-primary-soft);
  color: var(--color-primary); font-size: .8rem; font-weight: 800; display: grid; place-items: center;
}

/* ---------- Galerie ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery a { display: block; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--color-border); background: var(--color-surface-2); aspect-ratio: 1; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 400ms ease; }
.gallery a:hover img { transform: scale(1.07); }
.gallery__item { cursor: zoom-in; }

/* ---------- Produkt-Galerien (Zubehör: großes Hauptbild + Thumbnails) ---------- */
.products { display: grid; gap: 46px; }
.product { display: grid; grid-template-columns: minmax(0, 1.05fr) 1fr; gap: 36px; align-items: center; }
.pgallery { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.pgallery__main { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-sm);
  border: 1px solid var(--color-border); background: var(--color-surface-2); cursor: zoom-in; display: block;
  transition: filter var(--transition); }
.pgallery__main:hover { filter: brightness(1.03); }
.pgallery__thumbs { display: flex; flex-wrap: wrap; gap: 10px; }
.pgallery__thumb { width: 74px; height: 74px; padding: 0; border-radius: 9px; overflow: hidden; cursor: pointer;
  border: 2px solid var(--color-border); background: var(--color-surface-2); transition: border-color var(--transition); }
.pgallery__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pgallery__thumb:hover { border-color: var(--color-primary); }
.pgallery__thumb.is-active { border-color: var(--color-primary); }
.product__body h3 { margin: 0 0 10px; font-size: 1.35rem; color: var(--color-heading); }
.product__body > p { color: var(--color-muted); margin: 0 0 14px; }
.product__body .checklist { margin: 0; }
@media (max-width: 860px) {
  .product { grid-template-columns: 1fr; gap: 20px; }
}

/* ---------- Lightbox (Bildvorschau) ---------- */
body.lightbox-open { overflow: hidden; }
.lightbox { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center;
  background: rgba(6, 12, 28, .92); padding: 24px; animation: lb-fade 160ms ease; }
.lightbox[hidden] { display: none; }
@keyframes lb-fade { from { opacity: 0; } to { opacity: 1; } }
.lightbox__stage { margin: 0; max-width: 92vw; max-height: 88vh; display: flex; flex-direction: column;
  align-items: center; gap: 14px; }
.lightbox__img { max-width: 92vw; max-height: 80vh; width: auto; height: auto; object-fit: contain;
  border-radius: 8px; box-shadow: 0 24px 70px rgba(0, 0, 0, .55); background: #fff; }
.lightbox__caption { color: #e8eef9; font-size: .92rem; text-align: center; max-width: 720px; line-height: 1.5; }
.lightbox__close, .lightbox__nav { position: absolute; background: rgba(255, 255, 255, .12); color: #fff; border: 0;
  cursor: pointer; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  transition: background var(--transition); -webkit-tap-highlight-color: transparent; }
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(255, 255, 255, .28); }
.lightbox__close { top: 18px; right: 18px; width: 46px; height: 46px; font-size: 30px; line-height: 1; }
.lightbox__nav { top: 50%; transform: translateY(-50%); width: 54px; height: 54px; font-size: 34px; line-height: 1; }
.lightbox__prev { left: 18px; }
.lightbox__next { right: 18px; }
.lightbox__counter { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%);
  color: #cdd8ea; font-size: .85rem; letter-spacing: .04em; }
@media (max-width: 600px) {
  .lightbox { padding: 12px; }
  .lightbox__nav { width: 42px; height: 42px; font-size: 28px; }
  .lightbox__prev { left: 8px; }
  .lightbox__next { right: 8px; }
  .lightbox__close { top: 10px; right: 10px; }
}

/* ---------- Branchen ---------- */
.tags { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.tag { background: #fff; border: 1px solid var(--color-border); border-radius: 999px; padding: 10px 20px; font-weight: 500; color: var(--color-heading); font-size: .96rem; }

/* ---------- Wartungsvertrag-Highlight (USP) ---------- */
.contract {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: #fff; border-radius: var(--radius-lg); padding: 48px;
  box-shadow: var(--shadow-lg);
}
.contract::after {
  content: ""; position: absolute; top: -60px; right: -60px; width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(255,255,255,.14), transparent 70%); pointer-events: none;
}
.contract .eyebrow { background: rgba(255,255,255,.18); color: #fff; }
.contract h2 { color: #fff; font-size: clamp(2rem, 3.5vw, 2.9rem); margin-bottom: 6px; }
.contract__tagline { font-size: 1.28rem; font-weight: 600; color: rgba(255,255,255,.92); margin-bottom: 12px; }
.contract__intro { color: rgba(255,255,255,.82); max-width: 640px; margin-bottom: 32px; }
.contract__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; position: relative; z-index: 1; }
.contract__lead .eyebrow { margin-bottom: 14px; }
.contract__lead h2 { margin-top: 0; }
.contract__benefits { list-style: none; padding: 0; margin: 0; }
.contract__benefits li { position: relative; padding-left: 36px; margin-bottom: 16px; }
.contract__benefits li::before {
  content: "✓"; position: absolute; left: 0; top: 1px; width: 24px; height: 24px; border-radius: 50%;
  background: rgba(255,255,255,.22); display: grid; place-items: center; font-weight: 800; font-size: .82rem;
}
.contract__benefits strong { display: block; }
.contract__benefits span { color: rgba(255,255,255,.8); font-size: .93rem; }
.plans { display: grid; gap: 16px; }
.plan { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.28); border-radius: var(--radius); padding: 22px 24px; }
.plan.is-featured { background: #fff; color: var(--color-heading); border-color: #fff; box-shadow: var(--shadow); }
.plan__term { font-size: .76rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; opacity: .85; }
.plan h3 { color: inherit; margin: 4px 0 8px; font-size: 1.35rem; }
.plan.is-featured h3 { color: var(--color-heading); }
.plan p { font-size: .93rem; margin: 0; opacity: .92; }
.plan__tag { display: inline-block; background: #fff; color: var(--color-primary); font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 4px 11px; border-radius: 999px; margin-bottom: 10px; }
.plan.is-featured .plan__tag { background: var(--color-primary); color: #fff; }
.contract__foot { margin: 30px 0 0; font-size: 1.05rem; font-weight: 600; color: #fff; position: relative; z-index: 1; }
.plan__dl { display: inline-flex; align-items: center; justify-content: center; gap: 9px; width: 100%; margin-top: 18px;
  padding: 11px 18px; border-radius: 10px; font-weight: 700; font-size: .88rem; text-decoration: none;
  border: 1.5px solid rgba(255,255,255,.45); color: #fff; background: rgba(255,255,255,.12);
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition); }
.plan__dl svg { flex: 0 0 auto; }
.plan__dl:hover { background: #fff; color: var(--color-primary); border-color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.plan.is-featured .plan__dl { background: var(--color-primary); border-color: var(--color-primary); color: #fff; }
.plan.is-featured .plan__dl:hover { background: var(--color-primary-dark); border-color: var(--color-primary-dark); color: #fff; box-shadow: var(--shadow); }

/* ---------- FAQ (Akkordeon, ohne JS) ---------- */
.faq { max-width: 840px; margin: 0 auto; }
.faq-item { border: 1px solid var(--color-border); border-radius: var(--radius); background: #fff; margin-bottom: 12px; overflow: hidden; transition: box-shadow var(--transition); }
.faq-item[open] { box-shadow: var(--shadow-sm); border-color: var(--color-primary-tint); }
.faq-item summary {
  cursor: pointer; list-style: none; padding: 18px 22px; font-weight: 600; color: var(--color-heading);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--color-primary); flex: 0 0 auto; }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item summary:hover { color: var(--color-primary); }
.faq-item__body { padding: 0 22px 20px; color: var(--color-muted); }
.faq-item__body p { margin: 0; }

@media (max-width: 760px) {
  .contract { padding: 32px 26px; }
  .contract__grid { grid-template-columns: 1fr; gap: 30px; }
  .dl-card { width: 100%; }
}

/* ---------- Partner-Block ---------- */
.partner-card {
  display: grid; grid-template-columns: 280px 1fr; gap: 40px; align-items: center;
  background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg);
  padding: 40px; box-shadow: var(--shadow-sm);
}
.partner-card__logo { display: grid; place-items: center; padding: 28px; background: var(--color-surface); border-radius: var(--radius); border: 1px solid var(--color-border); }
.partner-card__logo img { max-width: 100%; width: 220px; height: auto; transition: transform var(--transition); }
.partner-card__logo:hover img { transform: scale(1.03); }
.partner-card h3 { margin-top: 0; }
.partner-card p { color: var(--color-muted); }
.partner-card .btn { margin-top: 6px; }
@media (max-width: 760px) {
  .partner-card { grid-template-columns: 1fr; padding: 28px; gap: 26px; text-align: center; }
  .partner-card__logo { justify-self: center; }
}

/* ---------- CTA-Band ---------- */
.cta-band { background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark)); color: #fff; border-radius: var(--radius-lg); padding: 52px; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.85); max-width: 560px; margin: 0 auto 26px; }
.cta-band .btn--primary { background: #fff; color: var(--color-primary); }
.cta-band .btn--primary:hover { background: #f1f5ff; color: var(--color-primary-dark); }
.cta-contacts { display: flex; gap: 26px; justify-content: center; flex-wrap: wrap; margin-top: 22px; font-weight: 600; }
.cta-contacts a { color: #fff; }
.cta-contacts a:hover { color: #fff; text-decoration: underline; }

/* ---------- Sub-Hero (Detailseiten) ---------- */
.subhero { background: linear-gradient(180deg, var(--color-primary-soft), #fff); padding: 48px 0 56px; border-bottom: 1px solid var(--color-border); }
.subhero .container { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.subhero__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.breadcrumb { font-size: .88rem; color: var(--color-muted); margin-bottom: 16px; }
.breadcrumb a { color: var(--color-muted); }
.breadcrumb a:hover { color: var(--color-primary); }
.breadcrumb span { margin: 0 6px; }

/* Feature list (Detailseiten) */
.feature-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 30px; }
.feature-list li { position: relative; padding-left: 30px; color: var(--color-text); }
.feature-list li::before {
  content: ""; position: absolute; left: 0; top: 8px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--color-primary-soft);
}
.feature-list li::after {
  content: ""; position: absolute; left: 0; top: 8px; width: 18px; height: 18px;
  background: var(--color-primary);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/12px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/12px no-repeat;
}
.info-box { background: var(--color-surface); border: 1px solid var(--color-border); border-left: 4px solid var(--color-primary); border-radius: var(--radius); padding: 24px 26px; }
.info-box h3 { margin-top: 0; }
.prose { max-width: 760px; }
.prose h3 { margin-top: 28px; }
.prose table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: .93rem; }
.prose th, .prose td { border: 1px solid var(--color-border); padding: 9px 12px; text-align: left; vertical-align: top; }
.prose thead th { background: var(--color-surface); font-weight: 600; color: var(--color-heading); }
.prose table a { word-break: break-word; }

/* ---------- Formular ---------- */
.form-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-form { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-sm); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; color: var(--color-heading); }
.field label .req { color: var(--color-primary); }
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--color-border); border-radius: var(--radius-sm);
  font-family: inherit; font-size: .96rem; color: var(--color-text); background: #fff; transition: border-color var(--transition);
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 3px var(--color-primary-soft); }
.field textarea { resize: vertical; min-height: 130px; }
.checkbox { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--color-muted); }
.checkbox input { width: auto; margin-top: 3px; flex: 0 0 auto; }
.form-note { font-size: .84rem; color: var(--color-muted); margin-top: 8px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-alert { border-radius: var(--radius); padding: 14px 18px; margin: 0 0 22px; font-size: .95rem; }
.form-alert--ok { background: #ecfdf5; border: 1px solid #a7f3d0; color: #065f46; }
.form-alert--err { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; }
.contact-info-card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 32px; }
.contact-info-card ul { list-style: none; padding: 0; margin: 0; }
.contact-info-card li { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--color-border); }
.contact-info-card li:last-child { border-bottom: 0; }
.contact-info-card .ci-icon { width: 42px; height: 42px; flex: 0 0 auto; border-radius: 11px; background: var(--color-primary-soft); color: var(--color-primary); display: grid; place-items: center; }
.contact-info-card .ci-icon svg { width: 20px; height: 20px; }
.contact-info-card small { color: var(--color-muted); display: block; font-size: .82rem; }
.contact-info-card strong { color: var(--color-heading); }

/* ---------- Footer ---------- */
.site-footer { background: var(--color-footer); color: #c7d2e6; padding: 60px 0 28px; }
.site-footer h4 { color: #fff; font-size: .95rem; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 16px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 36px; }
.site-footer a { color: #c7d2e6; }
.site-footer a:hover { color: #fff; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.2rem; color: #fff; margin-bottom: 14px; }
.footer-brand .brand__mark { background: linear-gradient(135deg, #3b82f6, #1d4ed8); }
.footer-logo { height: 40px; width: auto; display: block; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; font-size: .94rem; }
.footer-contact { font-size: .94rem; }
.footer-contact p { margin-bottom: 8px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 44px; padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .86rem; color: #94a3c4; }
.footer-bottom a { color: #94a3c4; }

/* ---------- Mitlaufende Werbe-Karte (schwebend, unten rechts) ---------- */
.promo-banner { position: fixed; right: 20px; bottom: 20px; z-index: 90;
  width: clamp(280px, 36vw, 480px); border-radius: 16px; overflow: hidden; line-height: 0;
  background: #f2e9d6;
  box-shadow: 0 14px 38px rgba(11, 27, 59, .30), 0 3px 10px rgba(0, 0, 0, .12);
  animation: promo-in .6s cubic-bezier(.16, .84, .44, 1) .45s both;
  transition: transform .25s ease, box-shadow .25s ease; }
.promo-banner__link { display: block; position: relative; }
.promo-banner__link img { display: block; width: 100%; height: auto; }
/* dezenter Glanz-Effekt (Lichtstreif) beim Hover */
.promo-banner__link::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.35) 48%, transparent 66%);
  transform: translateX(-120%); transition: transform .8s ease; pointer-events: none; }
.promo-banner:hover { transform: translateY(-4px) scale(1.02);
  box-shadow: 0 20px 48px rgba(11, 27, 59, .38), 0 4px 12px rgba(0, 0, 0, .16); }
.promo-banner:hover .promo-banner__link::after { transform: translateX(120%); }
.promo-banner__close { position: absolute; top: 8px; right: 8px; width: 26px; height: 26px; padding: 0;
  border: 0; border-radius: 50%; background: rgba(11, 27, 59, .6); color: #fff; font-size: 18px; z-index: 2;
  line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background var(--transition); }
.promo-banner__close:hover { background: rgba(11, 27, 59, .85); }
@keyframes promo-in { from { opacity: 0; transform: translateY(26px) scale(.94); } to { opacity: 1; transform: none; } }
@media (max-width: 560px) {
  .promo-banner { right: 12px; left: 12px; bottom: 12px; width: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .promo-banner { animation: none; }
  .promo-banner:hover { transform: none; }
  .promo-banner__link::after { display: none; }
}

/* ---------- Cookie-Consent ---------- */
.consent { position: fixed; inset: auto 0 0 0; z-index: 300; display: flex; justify-content: center; padding: 16px; }
.consent[hidden] { display: none; }
.consent__box { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 22px 24px; width: min(720px, 100%); }
.consent__title { margin: 0 0 6px; font-size: 1.12rem; }
.consent__text { margin: 0 0 14px; font-size: .9rem; color: var(--color-muted); }
.consent__cats { display: grid; gap: 10px; margin: 0 0 16px; }
.consent__cats[hidden] { display: none; }
.consent__cat { display: flex; gap: 10px; align-items: flex-start; font-size: .86rem; color: var(--color-text); background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-sm); padding: 12px 14px; }
.consent__cat input { margin-top: 2px; flex: 0 0 auto; width: 18px; height: 18px; accent-color: var(--color-primary); }
.consent__cat strong { color: var(--color-heading); }
.consent__actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.consent__actions .btn { font-size: .9rem; padding: 11px 18px; }
.consent__actions [hidden] { display: none; }
@media (max-width: 560px) {
  .consent__actions { justify-content: stretch; }
  .consent__actions .btn { flex: 1 1 auto; }
}

/* Schwebender Cookie-Button unten links: Einstellungen jederzeit erneut aufrufbar */
.cookie-fab { position: fixed; left: 18px; bottom: 18px; z-index: 80;
  width: 46px; height: 46px; padding: 0; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--color-border); border-radius: 50%; cursor: pointer;
  color: var(--color-primary); background: #fff; box-shadow: var(--shadow-md);
  transition: transform .18s ease, box-shadow .18s ease, color .18s ease; }
.cookie-fab:hover { transform: translateY(-3px) rotate(-8deg); box-shadow: var(--shadow-lg); color: var(--color-primary-dark); }
.cookie-fab:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 2px; }
.cookie-fab svg { display: block; }
/* Solange der Banner offen ist, den kleinen Button ausblenden */
.consent:not([hidden]) ~ .cookie-fab { display: none; }
@media (max-width: 560px) { .cookie-fab { left: 12px; bottom: 12px; width: 42px; height: 42px; } }
@media (prefers-reduced-motion: reduce) { .cookie-fab { transition: none; } .cookie-fab:hover { transform: none; } }

/* Breadcrumb-Navigation auf Unterseiten */
.breadcrumb { background: var(--color-bg); border-bottom: 1px solid var(--color-border); }
.breadcrumb__list { display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  list-style: none; margin: 0; padding-top: 11px; padding-bottom: 11px; font-size: .82rem; color: var(--color-muted); }
.breadcrumb__item { display: inline-flex; align-items: center; gap: 8px; }
.breadcrumb__item + .breadcrumb__item::before { content: "›"; color: var(--color-muted); opacity: .6; }
.breadcrumb__item a { color: var(--color-muted); text-decoration: none; }
.breadcrumb__item a:hover { color: var(--color-primary); text-decoration: underline; }
.breadcrumb__item [aria-current] { color: var(--color-text); font-weight: 600; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero .container, .split, .subhero .container, .form-wrap { grid-template-columns: 1fr; }
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero__media { order: -1; }
  .feature-list { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch;
    background: #fff; border-bottom: 1px solid var(--color-border); padding: 12px; gap: 2px;
    box-shadow: var(--shadow); transform: translateY(-8px); opacity: 0; visibility: hidden;
    pointer-events: none; transition: all var(--transition);
  }
  .main-nav.is-open { transform: translateY(0); opacity: 1; visibility: visible; pointer-events: auto; }
  .main-nav a { padding: 12px 14px; }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 12px; min-width: auto; }
  .has-dropdown > a::after { content: " ▾"; color: var(--color-muted); }
  .nav-toggle { display: block; }
  .brand img { height: 30px; }
  .header-actions { gap: 10px; }
  .header-actions .btn--primary { display: none; }
  .trust .container { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .grid--3, .grid--4, .grid--2 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .cta-band { padding: 36px 24px; }
  .hero__badge { left: 10px; }
}
