/* ==========================================================================
   GLOBE – The Service Provider · Redesign 2026
   ========================================================================== */

:root {
  --topbar-h: 36px;   /* von site.js gemessen ueberschrieben */
  --blue-900: #0b2352;
  --blue-800: #123576;
  --blue-700: #1a44a0;
  --blue-600: #2456c8;
  --blue-100: #e8eefc;
  --blue-50:  #f4f7fd;
  --yellow:   #fbe113;
  --ink:      #16233f;
  --muted:    #5a6a85;
  --line:     #dfe6f2;
  --white:    #ffffff;
  --bg:       #ffffff;
  --surface:  #ffffff;
  --header-bg: rgba(255,255,255,.96);
  --green:    #1d9e58;
  --radius:   14px;
  --shadow:   0 6px 24px rgba(11, 35, 82, .08);
  --shadow-lg:0 16px 48px rgba(11, 35, 82, .16);
  --maxw:     1180px;
}

/* Dark Mode – überschreibt die Farb-Token */
:root[data-theme="dark"] {
  --blue-100: #1c2b4d;
  --blue-50:  #131d33;
  --ink:      #e7edf7;
  --muted:    #9fb1cd;
  --line:     #2a3a5a;
  --white:    #16213a;
  --bg:       #0d1524;
  --surface:  #16213a;
  --header-bg: rgba(13,21,36,.92);
  --shadow:   0 6px 24px rgba(0,0,0,.45);
  --shadow-lg:0 16px 48px rgba(0,0,0,.6);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--blue-700); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Topbar ---------- */
.topbar {
  /* Bleibt beim Scrollen stehen – hier haengt der Warenkorb-Zaehler dran, den soll
     man immer sehen. z-index UEBER dem Header, weil sie darueber liegt.
     --topbar-h wird von site.js gemessen und gesetzt: Auf schmalen Schirmen bricht
     die Leiste auf zwei Zeilen um (36px am Desktop, 67px am Handy) – eine feste Zahl
     wuerde den Header dort verdecken. Der Wert hier ist nur der Startwert, falls
     JavaScript aus ist. */
  position: sticky; top: 0; z-index: 101;
  background: var(--blue-900);
  color: #c9d6f2;
  font-size: .82rem;
}
.topbar .container {
  display: flex; justify-content: space-between; align-items: center;
  min-height: 36px; gap: 16px; flex-wrap: wrap;
}
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { color: var(--yellow); }
.topbar .tb-group { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.topbar .dot { color: var(--yellow); margin-right: 6px; }

/* ---------- Header ---------- */
.site-header {
  /* Klebt UNTER der Topbar – deren Hoehe steckt in --topbar-h (siehe .topbar). */
  position: sticky; top: var(--topbar-h, 36px); z-index: 100;
  background: var(--header-bg);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 74px; gap: 24px;
}
.brand img { height: 44px; width: auto; }

.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav a {
  color: var(--ink); font-weight: 600; font-size: .95rem;
  padding: 10px 14px; border-radius: 8px; text-decoration: none;
}
.main-nav a:hover, .main-nav a.active { background: var(--blue-100); color: var(--blue-800); }

.header-cta { display: flex; align-items: center; gap: 12px; }

.btn {
  display: inline-block; font-weight: 700; text-decoration: none;
  border-radius: 10px; padding: 12px 22px; font-size: .95rem;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  cursor: pointer; border: 0; text-align: center;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--blue-800); color: #fff; }
.btn-primary:hover { background: var(--blue-700); box-shadow: var(--shadow); }
.btn-accent { background: var(--yellow); color: var(--blue-900); }
.btn-accent:hover { box-shadow: 0 8px 24px rgba(251,225,19,.4); }
.btn-ghost { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.55); }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-outline { background: var(--surface); color: var(--blue-800); border: 2px solid var(--blue-800); }
.btn-outline:hover { background: var(--blue-100); }
.btn-sm { padding: 9px 16px; font-size: .88rem; }

/* Mobile nav */
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span {
  display: block; width: 26px; height: 3px; background: var(--blue-800);
  margin: 5px 0; border-radius: 2px; transition: .2s;
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(1100px 500px at 85% -10%, rgba(36,86,200,.55), transparent 60%),
    radial-gradient(900px 600px at -10% 110%, rgba(26,68,160,.5), transparent 55%),
    linear-gradient(160deg, var(--blue-900) 0%, var(--blue-800) 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.13) 1.3px, transparent 1.3px);
  background-size: 26px 26px;
  mask-image: radial-gradient(720px 480px at 78% 42%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(720px 480px at 78% 42%, #000 0%, transparent 70%);
}
.hero .container { position: relative; padding-top: 88px; padding-bottom: 64px; }
.hero .kicker {
  display: inline-block; background: rgba(251,225,19,.14); color: var(--yellow);
  border: 1px solid rgba(251,225,19,.4); border-radius: 999px;
  font-size: .82rem; font-weight: 700; letter-spacing: .04em;
  padding: 6px 16px; margin-bottom: 22px; text-transform: uppercase;
}
.hero h1 {
  font-size: clamp(2rem, 4.6vw, 3.3rem); line-height: 1.12;
  max-width: 800px; letter-spacing: -.02em;
}
.hero h1 em { font-style: normal; color: var(--yellow); }
.hero .sub {
  margin-top: 20px; font-size: 1.15rem; color: #d7e1f7; max-width: 640px;
}
.hero .cta-row { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }

.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius); overflow: hidden; margin-top: 64px;
}
.hero-stats .stat { background: rgba(11,35,82,.55); padding: 20px 22px; }
.hero-stats .num { font-size: 1.55rem; font-weight: 800; color: var(--yellow); }
.hero-stats .lbl { font-size: .85rem; color: #c9d6f2; }

/* Hero mit Foto */
.hero.photo {
  background:
    linear-gradient(100deg, rgba(11,35,82,.96) 0%, rgba(18,53,118,.88) 48%, rgba(18,53,118,.38) 100%),
    url("../assets/img/header-1.jpg") center 30%/cover no-repeat;
}

/* Page-Hero mit Foto (Bild pro Seite via --ph-img) */
.page-hero.photo {
  background:
    linear-gradient(100deg, rgba(11,35,82,.95) 0%, rgba(18,53,118,.85) 55%, rgba(18,53,118,.45) 100%),
    var(--ph-img) center 35%/cover no-repeat;
}

/* ---------- Produkt-Unternavigation ---------- */
.subnav {
  position: sticky; top: calc(var(--topbar-h, 36px) + 74px); z-index: 90;
  background: var(--header-bg); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.subnav .container {
  display: flex; gap: 8px; flex-wrap: wrap; justify-content: center;
  padding-top: 12px; padding-bottom: 12px; scrollbar-width: none;
}
.subnav .container::-webkit-scrollbar { display: none; }
.subnav a {
  white-space: nowrap; padding: 8px 16px; border-radius: 999px;
  font-size: .88rem; font-weight: 700; color: var(--blue-800);
  background: var(--blue-100); text-decoration: none; flex: 0 0 auto;
}
.subnav a:hover { background: var(--blue-800); color: #fff; }

/* ---------- Bild-Figuren ---------- */
.figure {
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow-lg);
  background: var(--surface);
}
.figure img { width: 100%; display: block; }
.figure figcaption {
  padding: 12px 18px; font-size: .84rem; color: var(--muted);
  border-top: 1px solid var(--line); background: var(--blue-50);
}
.figure.plain { border: 0; box-shadow: none; background: transparent; }
.figure.plain img { border-radius: var(--radius); }

/* ---------- Teaser-Karten mit Foto ---------- */
.teaser-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.teaser-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease; text-decoration: none; color: var(--ink);
}
.teaser-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); text-decoration: none; }
.teaser-card img { width: 100%; height: 180px; object-fit: cover; }
.teaser-card .body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.teaser-card .kicker2 {
  color: var(--blue-600); font-weight: 800; text-transform: uppercase;
  letter-spacing: .08em; font-size: .74rem;
}
.teaser-card h3 { font-size: 1.1rem; margin-top: 4px; }
.teaser-card p { color: var(--muted); font-size: .92rem; margin-top: 8px; flex: 1; }
.teaser-card .link { margin-top: 14px; font-weight: 700; color: var(--blue-700); font-size: .92rem; }
.teaser-card .link::after { content: " →"; }

/* ---------- Artikel-Text ---------- */
.prose p { color: var(--ink); margin-bottom: 16px; font-size: 1.02rem; }
.prose h3 { font-size: 1.15rem; margin: 26px 0 8px; color: var(--blue-800); }
.prose .btn { margin-top: 10px; }
.prose .btn:hover { color: #fff; }

/* ---------- Partner-/Trust-Leiste ---------- */
.trustbar { background: var(--bg); border-bottom: 1px solid var(--line); padding: 26px 0; }
.trustbar .lead {
  text-align: center; color: var(--muted); font-size: .8rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em; margin-bottom: 16px;
}
.trustbar .logos {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 14px; align-items: center;
}
.trustbar .chip {
  font-weight: 800; color: var(--blue-800); font-size: .92rem;
  padding: 8px 18px; border: 1.5px solid var(--line); border-radius: 999px;
  background: var(--blue-50); white-space: nowrap;
}

/* ---------- Status-Seite ---------- */
.status-hero { text-align: center; }
.status-banner {
  display: inline-flex; align-items: center; gap: 12px;
  background: rgba(61,220,132,.14); border: 1px solid rgba(61,220,132,.5);
  color: #d9f7e6; border-radius: 999px; padding: 10px 24px; font-weight: 700; margin-top: 10px;
}
.status-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.status-row {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
  padding: 16px 20px; box-shadow: var(--shadow);
}
.status-row .name { font-weight: 700; }
.status-row .name small { display: block; font-weight: 500; color: var(--muted); font-size: .84rem; }
.status-badge { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .9rem; }
.status-badge .dot2 { width: 10px; height: 10px; border-radius: 50%; }
.status-badge.ok { color: var(--green); }
.status-badge.ok .dot2 { background: var(--green); box-shadow: 0 0 0 3px rgba(29,158,88,.18); }
.status-badge.maint { color: #b8860b; }
.status-badge.maint .dot2 { background: #e0a600; box-shadow: 0 0 0 3px rgba(224,166,0,.18); }
.uptime-bars { display: flex; gap: 2px; margin-top: 10px; }
.uptime-bars i { flex: 1; height: 26px; border-radius: 2px; background: var(--green); opacity: .85; }
.uptime-bars i.d { background: #e0a600; }
.status-meta { max-width: 820px; margin: 26px auto 0; color: var(--muted); font-size: .86rem; text-align: center; }

/* ---------- Preisrechner / Konfigurator ---------- */
.configurator { display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px; align-items: start; }
.config-panel {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 28px;
}
.config-row { padding: 16px 0; border-bottom: 1px dashed var(--line); }
.config-row:last-child { border-bottom: 0; }
.config-row .top {
  display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px;
}
.config-row .lbl { font-weight: 700; }
.config-row .val { font-weight: 800; color: var(--blue-700); }
.config-row input[type="range"] {
  width: 100%; accent-color: var(--blue-700); height: 6px; cursor: pointer;
}
.config-toggle { display: flex; align-items: center; gap: 12px; padding: 16px 0; }
.config-toggle input { width: 20px; height: 20px; accent-color: var(--blue-700); cursor: pointer; }
.config-toggle label { font-weight: 700; cursor: pointer; }
.config-toggle small { display: block; color: var(--muted); font-weight: 500; font-size: .85rem; }
.config-result {
  background: linear-gradient(150deg, var(--blue-900), var(--blue-700));
  color: #fff; border-radius: var(--radius); padding: 30px 28px; box-shadow: var(--shadow-lg);
  position: sticky; top: calc(var(--topbar-h, 36px) + 96px);
}
.config-result .rlabel { font-size: .82rem; color: #c9d6f2; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
.config-result .rprice { font-size: 2.6rem; font-weight: 800; letter-spacing: -.02em; margin: 6px 0; }
.config-result .rprice small { font-size: 1rem; color: #c9d6f2; font-weight: 600; }
.config-result ul { list-style: none; margin: 18px 0; border-top: 1px solid rgba(255,255,255,.18); }
.config-result li { display: flex; justify-content: space-between; padding: 8px 0; font-size: .92rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.config-result li span:last-child { font-weight: 700; }
.config-result .btn { width: 100%; }
.config-result .hint { font-size: .78rem; color: #9fb4e2; margin-top: 12px; text-align: center; }

/* ---------- FAQ-Akkordeon ---------- */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item { border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; background: var(--surface); box-shadow: var(--shadow); overflow: hidden; }
.faq-item summary {
  cursor: pointer; padding: 18px 22px; font-weight: 700; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 16px; color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-size: 1.5rem; color: var(--blue-700); font-weight: 400;
  transition: transform .2s ease; flex: 0 0 auto; line-height: 1;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { color: var(--blue-700); }
.faq-item .answer { padding: 0 22px 20px; color: var(--muted); }
.faq-item .answer p { margin-bottom: 10px; }

/* ---------- Newsletter (Footer) ---------- */
.newsletter { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.newsletter input {
  flex: 1; min-width: 0; border: 1.5px solid rgba(255,255,255,.2); background: rgba(255,255,255,.08);
  color: #fff; border-radius: 9px; padding: 10px 12px; font: inherit; font-size: .9rem;
}
.newsletter input::placeholder { color: #9fb4e2; }
.newsletter input:focus { outline: none; border-color: var(--yellow); }
.newsletter button { flex: 0 0 auto; padding: 10px 16px; font-size: .9rem; }
.newsletter-note { font-size: .76rem; color: #8ea4d0; margin-top: 8px; }

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section.alt { background: var(--blue-50); }
.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section-head .eyebrow {
  color: var(--blue-600); font-weight: 800; text-transform: uppercase;
  letter-spacing: .09em; font-size: .8rem;
}
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); letter-spacing: -.02em; margin-top: 8px; }
.section-head p { color: var(--muted); margin-top: 12px; font-size: 1.05rem; }

.section-head.left { text-align: left; margin-left: 0; }

/* ---------- USP grid ---------- */
.usp-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.usp {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow); display: flex; gap: 16px; align-items: flex-start;
}
.usp .ico {
  flex: 0 0 46px; height: 46px; border-radius: 12px;
  background: var(--blue-100); color: var(--blue-800);
  display: grid; place-items: center; font-size: 22px;
}
.usp h3 { font-size: 1.02rem; margin-bottom: 4px; }
.usp p { color: var(--muted); font-size: .92rem; }

/* ---------- Product cards ---------- */
.prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.prod-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; box-shadow: var(--shadow); display: flex; flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease;
}
.prod-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.prod-card .ico {
  width: 52px; height: 52px; border-radius: 14px; margin-bottom: 18px;
  background: linear-gradient(140deg, var(--blue-800), var(--blue-600));
  color: #fff; display: grid; place-items: center; font-size: 26px;
}
.prod-card h3 { font-size: 1.15rem; }
.prod-card .from { color: var(--blue-700); font-weight: 800; margin-top: 4px; font-size: .92rem; }
.prod-card p { color: var(--muted); font-size: .94rem; margin-top: 10px; flex: 1; }
.prod-card .link {
  margin-top: 18px; font-weight: 700; color: var(--blue-700); font-size: .94rem;
}
.prod-card .link::after { content: " →"; }

/* ---------- Pricing ---------- */
/* Flex mit max-width-Deckel: volle 4er-Reihen füllen wie bisher die Breite (Karten
   wachsen bis ~268px), Reihen mit weniger Karten (3 × Managed VM, 3 × DDoS, 2 × Managed
   Server …) deckeln bei 300px und werden MITTIG gesetzt statt linksbündig mit leerer
   Spalte rechts. Kartenzahl-unabhängig – aktiviert/entfernt die Faktura ein Produkt,
   bleibt es automatisch zentriert. (grid mit auto-fit dehnt die Spalten und lässt keinen
   Freiraum zum Zentrieren – deshalb Flexbox.) */
.price-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; align-items: stretch; }
.price-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; box-shadow: var(--shadow); display: flex; flex-direction: column;
  position: relative;
  /* als Flex-Element im .price-grid: bis 300px wachsen, dann zentriert die Reihe */
  flex: 1 1 240px; max-width: 300px;
}
.price-card.featured { border: 2px solid var(--blue-700); box-shadow: var(--shadow-lg); }
.price-card .flag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--yellow); color: var(--blue-900); font-size: .74rem; font-weight: 800;
  padding: 4px 14px; border-radius: 999px; letter-spacing: .04em; white-space: nowrap;
}
.price-card h3 { font-size: 1.05rem; color: var(--blue-800); }
.price-card .price { margin: 14px 0 2px; font-size: 2rem; font-weight: 800; letter-spacing: -.02em; }
.price-card .price small { font-size: .85rem; color: var(--muted); font-weight: 600; }
.price-card .note { font-size: .78rem; color: var(--muted); margin-bottom: 16px; }
.price-card ul { list-style: none; margin: 0 0 22px; flex: 1; }
.price-card li {
  padding: 7px 0 7px 26px; font-size: .9rem; border-bottom: 1px dashed var(--line);
  position: relative; color: var(--ink);
}
.price-card li:last-child { border-bottom: 0; }
.price-card li::before {
  content: "✓"; position: absolute; left: 2px; color: var(--green); font-weight: 800;
}
.price-card li.minus::before { content: "–"; color: #b0bacd; }
.price-card .btn { width: 100%; }

.pricing-note { text-align: center; color: var(--muted); font-size: .85rem; margin-top: 22px; }

/* ---------- Feature split ---------- */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.split h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); letter-spacing: -.02em; }
.split .eyebrow {
  color: var(--blue-600); font-weight: 800; text-transform: uppercase;
  letter-spacing: .09em; font-size: .8rem; display: block; margin-bottom: 8px;
}
.split p { color: var(--muted); margin-top: 14px; }
.split ul.checks { list-style: none; margin-top: 18px; }
.split ul.checks li { padding: 6px 0 6px 30px; position: relative; }
.split ul.checks li::before {
  content: "✓"; position: absolute; left: 0; top: 6px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--blue-100); color: var(--blue-800);
  font-size: .72rem; font-weight: 800; display: grid; place-items: center;
}
.split .btn { margin-top: 24px; }

/* ---------- Dark stats band ---------- */
.band {
  background:
    radial-gradient(800px 400px at 15% 0%, rgba(36,86,200,.5), transparent 60%),
    linear-gradient(160deg, var(--blue-900), var(--blue-800));
  color: #fff; padding: 74px 0;
}
.band .section-head h2 { color: #fff; }
.band .section-head p { color: #c9d6f2; }
.band-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.band-card {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius); padding: 24px;
}
.band-card .num { font-size: 1.9rem; font-weight: 800; color: var(--yellow); letter-spacing: -.02em; }
.band-card .lbl { font-weight: 700; margin-top: 2px; }
.band-card p { color: #c9d6f2; font-size: .9rem; margin-top: 8px; }

/* ---------- Testimonials / references ---------- */
.ref-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.ref {
  background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--yellow);
  border-radius: 12px; padding: 22px 24px; box-shadow: var(--shadow);
}
.ref .who { font-weight: 800; color: var(--blue-800); font-size: .92rem; }
.ref p { color: var(--muted); font-size: .95rem; margin-top: 6px; }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(120deg, var(--blue-800), var(--blue-600));
  border-radius: 20px; color: #fff; padding: 52px 48px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  box-shadow: var(--shadow-lg); flex-wrap: wrap;
}
.cta-banner h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); letter-spacing: -.02em; }
.cta-banner p { color: #d7e1f7; margin-top: 8px; max-width: 560px; }
.cta-banner .actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); background: var(--surface); }
table.pricing { width: 100%; border-collapse: collapse; min-width: 520px; }
table.pricing th, table.pricing td { padding: 13px 18px; text-align: left; font-size: .93rem; }
table.pricing thead th {
  background: var(--blue-800); color: #fff; font-size: .82rem;
  text-transform: uppercase; letter-spacing: .05em;
}
table.pricing tbody tr:nth-child(even) { background: var(--blue-50); }
table.pricing td.price { font-weight: 800; color: var(--blue-800); white-space: nowrap; }

/* ---------- Page hero (subpages) ---------- */
.page-hero {
  background:
    radial-gradient(700px 320px at 80% -20%, rgba(36,86,200,.5), transparent 60%),
    linear-gradient(160deg, var(--blue-900), var(--blue-800));
  color: #fff; padding: 64px 0 56px;
}
.page-hero .crumbs { font-size: .84rem; color: #9fb4e2; margin-bottom: 14px; }
.page-hero .crumbs a { color: #c9d6f2; }
.page-hero h1 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); letter-spacing: -.02em; max-width: 760px; }
.page-hero p { color: #d7e1f7; margin-top: 12px; max-width: 640px; font-size: 1.08rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: flex-start; }
.contact-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 28px;
}
.contact-card h3 { color: var(--blue-800); margin-bottom: 10px; font-size: 1.05rem; }
.contact-card + .contact-card { margin-top: 20px; }
.contact-card .row { display: flex; gap: 12px; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: .95rem; }
.contact-card .row:last-child { border-bottom: 0; }
.contact-card .row .k { flex: 0 0 150px; color: var(--muted); }

form.contact-form {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 32px;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .85rem; font-weight: 700; color: var(--blue-900); }
.field input, .field textarea, .field select {
  border: 1.5px solid var(--line); border-radius: 10px; padding: 12px 14px;
  font: inherit; font-size: .95rem; background: var(--blue-50); color: var(--ink);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--blue-600); background: var(--surface);
}
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .82rem; color: var(--muted); margin: 18px 0; }
.consent input { margin-top: 3px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--blue-900); color: #b9c8ea; margin-top: 0; }
.site-footer .top {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px;
  padding: 60px 0 44px;
}
.site-footer h4 { color: #fff; font-size: .95rem; margin-bottom: 14px; }
.site-footer ul { list-style: none; }
.site-footer li { margin: 8px 0; font-size: .92rem; }
.site-footer a { color: #b9c8ea; }
.site-footer a:hover { color: var(--yellow); }
.site-footer .brandcol img { height: 40px; width: auto; background: #fff; padding: 6px 10px; border-radius: 8px; }
.site-footer .brandcol p { font-size: .9rem; margin-top: 16px; max-width: 280px; }
.site-footer .badges { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.site-footer .badge {
  border: 1px solid rgba(255,255,255,.25); border-radius: 999px;
  font-size: .74rem; padding: 4px 12px; color: #d7e1f7;
}
.site-footer .bottom {
  border-top: 1px solid rgba(255,255,255,.14); padding: 20px 0;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .84rem;
}
.site-footer .bottom a { margin-left: 18px; }

/* ---------- Utility ---------- */
.mt-0 { margin-top: 0; }
.center { text-align: center; }
.uptime-dot {
  display: inline-block; width: 9px; height: 9px; border-radius: 50%;
  background: #3ddc84; margin-right: 7px;
  box-shadow: 0 0 0 3px rgba(61,220,132,.25);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(61,220,132,.25); }
  50% { box-shadow: 0 0 0 6px rgba(61,220,132,.12); }
}

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .price-grid { grid-template-columns: repeat(2, 1fr); }
  .usp-grid, .prod-grid, .band-grid, .teaser-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .site-footer .top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  .main-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--surface); flex-direction: column; align-items: stretch;
    border-bottom: 1px solid var(--line); padding: 12px 20px 20px;
    box-shadow: var(--shadow-lg); gap: 2px;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 13px 14px; }
  .nav-toggle { display: block; }
  .header-cta .btn-outline { display: none; }
  .split, .contact-grid, .configurator { grid-template-columns: 1fr; gap: 36px; }
  .config-result { position: static; }
  .cta-banner { padding: 36px 28px; }
}

@media (max-width: 560px) {
  .usp-grid, .prod-grid, .band-grid, .price-grid, .ref-grid, .form-grid, .teaser-grid { grid-template-columns: 1fr; }
  /* .price-grid ist Flex: auf dem Handy jede Karte über die volle Breite (1 pro Reihe),
     statt zwei schmale nebeneinander. Der 300px-Deckel (fürs Zentrieren am Desktop) weg. */
  .price-card { flex: 1 1 100%; max-width: none; }
  .hero .container { padding-top: 52px; padding-bottom: 44px; }
  .hero h1 { font-size: 1.95rem; }
  .hero .sub { font-size: 1.02rem; margin-top: 16px; }
  .hero .cta-row { flex-direction: column; gap: 10px; margin-top: 26px; }
  .hero .cta-row .btn { width: 100%; }
  .hero-stats { grid-template-columns: 1fr 1fr; margin-top: 40px; }
  .hero-stats .num { font-size: 1.3rem; }
  .hero-stats .stat { padding: 16px 16px; }
  .section { padding: 56px 0; }
  .section-head h2 { font-size: 1.55rem; }
  .topbar .tb-group.contactline { display: none; }
  /* Header aufräumen: großen CTA-Button ausblenden, Hamburger + Rückruf-Button reichen */
  .header-cta .btn-primary { display: none; }
  .site-header .container { min-height: 64px; gap: 12px; }
  .brand img { height: 38px; }
  /* CTA-Banner-Buttons volle Breite */
  .cta-banner .actions { width: 100%; }
  .cta-banner .actions .btn { flex: 1 1 100%; }
}

/* ==========================================================================
   Bomben-Paket: Dark-Feinschliff, Animationen, Vergleich, Karte
   ========================================================================== */

/* ---- Dark-Mode Feinschliff (Kontrast) ---- */
:root[data-theme="dark"] .subnav a,
:root[data-theme="dark"] .trustbar .chip { color: #d5e0f7; }
:root[data-theme="dark"] .main-nav a { color: var(--ink); }
:root[data-theme="dark"] .main-nav a:hover,
:root[data-theme="dark"] .main-nav a.active { color: #fff; }
:root[data-theme="dark"] .btn-outline { color: #cdd9f5; border-color: #45598a; }
:root[data-theme="dark"] .btn-outline:hover { background: var(--blue-100); }
:root[data-theme="dark"] .section-head .eyebrow,
:root[data-theme="dark"] .split .eyebrow,
:root[data-theme="dark"] .teaser-card .kicker2,
:root[data-theme="dark"] .prod-card .from { color: #6f98ee; }

/* ---- Theme-Umschalter (Topbar) ---- */
.theme-toggle {
  background: none; border: 1px solid rgba(255,255,255,.28); color: #fff;
  border-radius: 999px; padding: 3px 12px; cursor: pointer; font: inherit; font-size: .8rem;
  line-height: 1.6; white-space: nowrap;
}
.theme-toggle:hover { border-color: var(--yellow); color: var(--yellow); }

/* ---- Scroll-Reveal ---- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }

/* ---- Animierter Hero ---- */
.hero::before, .hero::after { z-index: 1; }
.hero .container { z-index: 2; }
.hero::before { animation: heroDrift 42s linear infinite; }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(620px 320px at 22% 32%, rgba(36,86,200,.38), transparent 70%);
  animation: heroGlow 13s ease-in-out infinite alternate;
}
@keyframes heroDrift { from { background-position: 0 0; } to { background-position: 260px 130px; } }
@keyframes heroGlow { from { opacity: .35; transform: translate(0,0); } to { opacity: .8; transform: translate(46px,-22px); } }

/* ---- Schwebender Rückruf-Button ---- */
.floating-cta {
  position: fixed; right: 20px; bottom: 20px; z-index: 200;
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--yellow); color: var(--blue-900); font-weight: 800;
  padding: 13px 20px; border-radius: 999px; text-decoration: none;
  box-shadow: 0 10px 30px rgba(11,35,82,.28); font-size: .95rem;
  transition: transform .18s ease, box-shadow .18s ease;
}
.floating-cta:hover { transform: translateY(-2px); text-decoration: none; box-shadow: 0 14px 38px rgba(251,225,19,.5); }
.floating-cta .fc-ico { font-size: 1.1rem; }
@media (max-width: 560px) { .floating-cta span.fc-txt { display: none; } .floating-cta { padding: 14px; } }

/* ---- Vergleichstabelle GLOBE vs. Hyperscaler ---- */
.vs-wrap { max-width: 940px; margin: 0 auto; overflow-x: auto; }
table.vs { width: 100%; border-collapse: separate; border-spacing: 0; min-width: 640px; }
table.vs th, table.vs td { padding: 15px 18px; text-align: left; font-size: .94rem; border-bottom: 1px solid var(--line); }
table.vs thead th { font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); background: transparent; }
table.vs thead th.globe {
  color: #fff; background: linear-gradient(135deg, var(--blue-800), var(--blue-600));
  border-radius: 12px 12px 0 0; font-size: 1rem; letter-spacing: 0; text-transform: none;
}
table.vs td.globe { background: var(--blue-50); font-weight: 700; color: var(--ink); }
table.vs td.crit { font-weight: 700; }
table.vs .yes { color: var(--green); font-weight: 800; }
/* Das Häkchen der GLOBE-Spalte kommt aus dem CSS, nicht als <span> im Text. Grund: Ein
   <span> in der Zelle macht sie im Website-Editor unpflegbar (die Verlustfrei-Pruefung
   laesst nur einfache Auszeichnungen zu). So ist der ganze Zelltext bearbeitbar und das
   Haekchen bleibt trotzdem stehen. Nur <td>, nicht <th> – der Spaltenkopf "GLOBE"
   traegt dieselbe Klasse und soll KEIN Haekchen bekommen. */
table.vs td.globe::before { content: "✓"; color: var(--green); font-weight: 800; margin-right: .4em; }
table.vs .no { color: #b23b3b; font-weight: 800; }
:root[data-theme="dark"] table.vs .no { color: #ff8a8a; }
table.vs tbody tr:last-child td { border-bottom: 0; }
table.vs td.globe:last-child { border-radius: 0 0 12px 12px; }

/* ---- Interaktive Funknetz-Karte ---- */
.covermap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: center; }
.covermap .map-box {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 18px;
}
.covermap svg { width: 100%; height: auto; display: block; }
.covermap .district { cursor: pointer; transition: fill .15s ease, opacity .15s ease; }
.covermap .district:hover { opacity: .85; }
.covermap .tower { pointer-events: none; }
.map-info { min-height: 96px; }
.map-info .mi-name { font-size: 1.25rem; font-weight: 800; color: var(--blue-800); }
:root[data-theme="dark"] .map-info .mi-name { color: #8fb0f5; }
.map-info .mi-badge {
  display: inline-flex; align-items: center; gap: 8px; margin: 8px 0 10px;
  font-weight: 700; font-size: .9rem; padding: 5px 14px; border-radius: 999px;
}
.map-info .mi-badge.ok { background: rgba(29,158,88,.14); color: var(--green); }
.map-info .mi-badge.check { background: rgba(224,166,0,.16); color: #a97b00; }
:root[data-theme="dark"] .map-info .mi-badge.check { color: #e0b64a; }
.map-legend { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 14px; font-size: .84rem; color: var(--muted); }
.map-legend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }

@media (max-width: 820px) {
  .covermap { grid-template-columns: 1fr; }
}

/* ---------- Accessibility ---------- */
.skip-link {
  position: absolute; left: 8px; top: -60px; z-index: 500;
  background: var(--blue-800); color: #fff; padding: 10px 18px; border-radius: 8px;
  font-weight: 700; text-decoration: none; transition: top .15s ease;
}
.skip-link:focus { top: 8px; text-decoration: none; color: #fff; outline: 3px solid var(--yellow); }

:focus-visible {
  outline: 3px solid var(--blue-600);
  outline-offset: 2px;
  border-radius: 4px;
}
.btn-accent:focus-visible, .floating-cta:focus-visible { outline-color: var(--blue-900); }
.hero :focus-visible, .page-hero :focus-visible, .band :focus-visible,
.site-footer :focus-visible, .topbar :focus-visible, .cta-banner :focus-visible { outline-color: var(--yellow); }
#inhalt { scroll-margin-top: 90px; }

/* ---------- SLA-/Vergleichstabelle (Häkchen) ---------- */
table.pricing .tick { color: var(--green); font-weight: 800; }
table.pricing .cross { color: #b0bacd; }
:root[data-theme="dark"] table.pricing .cross { color: #5a6a85; }
table.pricing td.hl { background: var(--blue-50); font-weight: 700; }

/* ---------- Datenschutz-/Consent-Banner ---------- */
.consent-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 300;
  max-width: 720px; margin: 0 auto;
  background: var(--surface); color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 20px 22px;
  display: flex; gap: 18px; align-items: center; flex-wrap: wrap;
  animation: consentIn .35s ease both;
}
@keyframes consentIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.consent-banner .ct { flex: 1 1 320px; min-width: 240px; }
.consent-banner h4 { font-size: 1rem; margin-bottom: 4px; color: var(--ink); }
.consent-banner p { font-size: .88rem; color: var(--muted); margin: 0; }
.consent-banner p a { font-weight: 700; }
.consent-banner .ca { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
@media (prefers-reduced-motion: reduce) { .consent-banner { animation: none; } }
@media (max-width: 560px) { .consent-banner .ca .btn { flex: 1; } }

/* Rückruf-Button ausblenden, solange Consent-Banner offen ist */
.consent-open .floating-cta { display: none; }

/* Produkt-Unternavigation: auf schmalen Screens eine scrollbare Zeile */
@media (max-width: 640px) {
  .subnav .container { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; }
}

/* Produktseiten-Raster mit Inline-Spalten auf dem Handy erzwingen */
@media (max-width: 560px) {
  .price-grid { grid-template-columns: 1fr !important; }
  .dc-figure svg { aspect-ratio: 3 / 2; }
}

/* ---------- Rechenzentrum-Animation ---------- */
.dc-figure { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-lg); background: #0a1428; }
.dc-figure svg { display: block; width: 100%; aspect-ratio: 1200 / 470; }
.dc-figure figcaption { padding: 12px 18px; font-size: .84rem; color: var(--muted); border-top: 1px solid var(--line); background: var(--blue-50); }
.dc-led { animation: dcLed 1.8s ease-in-out infinite; }
@keyframes dcLed { 0%,100% { opacity: .22 } 50% { opacity: 1 } }
.dc-bar { transform-box: fill-box; transform-origin: bottom; animation: dcBar 1.1s ease-in-out infinite alternate; }
@keyframes dcBar { from { transform: scaleY(.25) } to { transform: scaleY(1) } }
.dc-packet { transform-box: fill-box; animation: dcPacket 2.6s linear infinite; opacity: 0; }
@keyframes dcPacket { 0% { transform: translateY(0); opacity: 0 } 12% { opacity: 1 } 88% { opacity: 1 } 100% { transform: translateY(-130px); opacity: 0 } }
.dc-uplink { transform-box: fill-box; transform-origin: center; animation: dcPulse 3s ease-in-out infinite; }
@keyframes dcPulse { 0%,100% { opacity: .85 } 50% { opacity: 1; filter: drop-shadow(0 0 7px rgba(251,225,19,.55)) } }
.dc-scan { animation: dcScan 8s linear infinite; }
@keyframes dcScan { 0% { transform: translateX(-260px) } 100% { transform: translateX(1260px) } }
@media (prefers-reduced-motion: reduce) {
  .dc-led, .dc-bar, .dc-packet, .dc-uplink, .dc-scan { animation: none; }
  .dc-led { opacity: .85; } .dc-packet { opacity: .8; }
}
