/* RandomSecurity24 – Hauptstylesheet
   Heller Corporate-Look, bewusst anders als Schergen Corp (dunkel/retro).
   Keine externen Schriften (DSGVO), nur System-Schriften. */

:root {
  --bg: #f6f7fb;
  --surface: #ffffff;
  --ink: #0b1220;
  --ink-soft: #4a5468;
  --ink-mute: #8a93a6;
  --line: #e4e7ef;
  --navy: #0a1430;
  --navy-2: #13204a;
  --accent: #ff3b55;       /* Alarmrot */
  --accent-2: #2f6bff;     /* Vertrauensblau */
  --ok: #12b76a;
  --warn: #f5a524;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(10, 20, 48, .06), 0 8px 24px rgba(10, 20, 48, .06);
  --shadow-lg: 0 20px 60px rgba(10, 20, 48, .18);
  --font: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--accent-2); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .5em; overflow-wrap: break-word; }
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 88px 0; }
.section--tight { padding: 56px 0; }
.section--white { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--dark { background: var(--navy); color: #e8ecf6; }
.section--dark h2, .section--dark h3 { color: #fff; }
.eyebrow {
  display: inline-block;
  font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 12px;
}
.lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 640px; }
.section--dark .lead { color: #aab4cc; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; gap: 28px; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 800; font-size: 1.15rem; letter-spacing: -0.02em; user-select: none; cursor: pointer; }
.logo:hover { text-decoration: none; }
.logo-mark {
  width: 34px; height: 34px; border-radius: 9px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  display: grid; place-items: center; color: #fff;
}
.logo-24 { color: var(--accent); }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav-oben, .nav-extra {
  display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; cursor: pointer; font: inherit;
  color: var(--ink-soft); font-weight: 600; font-size: .95rem;
  padding: 8px 14px; border-radius: 8px;
}
.nav-oben:hover, .nav-extra:hover, .nav-punkt.offen .nav-oben { background: var(--bg); color: var(--ink); text-decoration: none; }
.nav-oben.active { color: var(--ink); background: var(--bg); }
.nav-pfeil { transition: transform .25s var(--weich, ease); opacity: .6; }
.nav-punkt.offen .nav-pfeil { transform: rotate(180deg); }
.nav-extra { display: none; }
.nav-oben, .logo { white-space: nowrap; }
/* Knapp über dem Handy-Umbruch wird es eng: Abstände verkleinern */
@media (max-width: 1280px) and (min-width: 1101px) {
  .site-header .container { gap: 16px; }
  .nav { gap: 0; }
  .nav-oben { padding: 8px 10px; }
  .header-actions { gap: 8px; }
}

/* Aufklappmenü (Desktop): volle Kopfbreite, Spalten plus Kasten */
.mega {
  position: absolute; top: 100%; left: 20px; right: 20px; z-index: 55;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .18s, transform .18s var(--weich, ease), visibility 0s .18s;
}
.nav-punkt.offen .mega { opacity: 1; visibility: visible; transform: none; transition: opacity .18s, transform .18s var(--weich, ease); }
.mega-innen {
  display: grid; gap: 28px; margin-top: 8px; padding: 26px 28px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 0 0 var(--radius) var(--radius); box-shadow: var(--shadow-lg);
}
.mega-1 { grid-template-columns: minmax(0, 1fr) 300px; }
.mega-2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 300px; }
.mega-3 { grid-template-columns: repeat(3, minmax(0, 1fr)) 280px; }
.mega-spalte h4 { margin: 0 0 10px; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-mute); }
.mega-spalte ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.mega-1 .mega-spalte ul { grid-template-columns: 1fr 1fr; column-gap: 18px; }
.mega-spalte a { display: block; padding: 9px 12px; margin: 0 -12px; border-radius: 10px; color: var(--ink); }
.mega-spalte a:hover { background: var(--bg); text-decoration: none; }
.mega-spalte a b { display: block; font-size: .95rem; }
.mega-spalte a small { display: block; color: var(--ink-mute); font-size: .82rem; margin-top: 1px; }
.mega-kasten {
  display: flex; flex-direction: column; gap: 6px; padding: 20px; border-radius: 14px; color: #e8ecf6;
  background: radial-gradient(circle at 100% 0%, rgba(255,59,85,.35), transparent 60%), linear-gradient(135deg, var(--navy), var(--navy-2));
}
.mega-kasten:hover { text-decoration: none; color: #fff; }
.mega-kasten b { font-size: 1.05rem; line-height: 1.3; color: #fff; }
.mega-kasten small { color: #aab4cc; font-size: .85rem; line-height: 1.45; }
.mega-marke { align-self: flex-start; font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; background: var(--accent); color: #fff; padding: 3px 8px; border-radius: 999px; }
.mega-mehr { margin-top: auto; padding-top: 8px; font-weight: 700; font-size: .88rem; color: #ff8a9b; }

/* Kontakt als kleiner Link oben rechts, wie bei den Großen */
.kopf-kontakt { color: var(--ink-soft); font-weight: 600; font-size: .9rem; padding: 8px 6px; }
.kopf-kontakt:hover, .kopf-kontakt.aktiv { color: var(--ink); text-decoration: none; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.cart-btn {
  position: relative; display: grid; place-items: center;
  width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--surface); color: var(--ink);
}
.cart-btn:hover { border-color: var(--ink-mute); text-decoration: none; }
.cart-count {
  position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px;
  border-radius: 10px; background: var(--accent); color: #fff; font-size: .72rem; font-weight: 700;
  display: grid; place-items: center;
}
.cart-count[data-n="0"] { display: none; }
.menu-btn { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; width: 42px; height: 42px; cursor: pointer; color: var(--ink); }

/* Sirenen-Knopf für den Notfall-Assistenten */
.notfall-btn {
  position: relative; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  background: #fff1f3; color: var(--accent); border: 1px solid #ffc2cc;
}
.notfall-btn::after { content: ""; position: absolute; inset: -1px; border-radius: 50%; border: 2px solid var(--accent); opacity: 0; animation: notfall-ring 2.4s infinite; }
.notfall-btn:hover { background: var(--accent); color: #fff; text-decoration: none; }
.notfall-btn.aktiv { background: var(--accent); color: #fff; }
.nav .nav-notfall { color: var(--accent); }
@media (max-width: 520px) {
  .notfall-btn { display: none; }
  .nav .nav-notfall { display: flex; }
  /* Kopf auf dem Handy: Logo, Shop, Warenkorb und Menü müssen in eine Zeile passen */
  .site-header .container { gap: 10px; }
  .logo { font-size: 1rem; gap: 8px; white-space: nowrap; }
  .logo-mark { width: 30px; height: 30px; }
  .header-actions { gap: 8px; }
  .header-actions .shop-btn { padding: 8px 12px; }
  .shop-btn svg { display: none; }
  .cart-btn, .menu-btn { width: 40px; height: 40px; }
}
/* Sehr schmale Handys (z. B. altes iPhone SE): Shop steckt als „Lösungen“ im Menü */
@media (max-width: 360px) { .header-actions .shop-btn { display: none; } }
@keyframes notfall-ring { 0% { transform: scale(1); opacity: .7; } 70%, 100% { transform: scale(1.5); opacity: 0; } }

@media (max-width: 1100px) {
  .menu-btn { display: grid; place-items: center; }
  .nav {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; background: var(--surface); padding: 12px 20px 20px;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    max-height: calc(100vh - 68px); overflow-y: auto;
  }
  .nav.open { display: flex; }
  .header-actions { margin-left: auto; }
  .kopf-kontakt { display: none; }
  .nav .nav-kontakt-mobil { display: flex; }
  /* Am Handy: Akkordeon statt schwebender Kästen */
  .nav-oben { width: 100%; justify-content: space-between; padding: 12px 14px; font-size: 1rem; }
  .mega { position: static; display: none; opacity: 1; visibility: visible; transform: none; transition: none; }
  .nav-punkt.offen .mega { display: block; }
  .mega-innen { grid-template-columns: 1fr; gap: 14px; margin: 0 0 8px; padding: 6px 14px 12px; border: 0; border-radius: 0; box-shadow: none; }
  .mega-1 .mega-spalte ul { grid-template-columns: 1fr; }
  .mega-spalte a small { display: none; }
  .mega-kasten { padding: 14px 16px; }
}
.shop-btn.aktiv { box-shadow: 0 0 0 3px rgba(255, 59, 85, .25); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-weight: 700; font-size: .95rem;
  padding: 12px 22px; border-radius: 10px; border: 1px solid transparent;
  cursor: pointer; transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
  text-decoration: none !important; white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 6px 18px rgba(255, 59, 85, .3); }
.btn-primary:hover { background: #ea2b45; }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-2); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink-mute); }
/* Ghost-Buttons auf dunklem Grund: weiße Schrift */
.section--dark .btn-ghost, .hero .btn-ghost, .cta .btn-ghost, .page-head .btn-ghost { color: #fff; border-color: rgba(255,255,255,.3); }
.section--dark .btn-ghost:hover, .hero .btn-ghost:hover, .cta .btn-ghost:hover, .page-head .btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-sm { padding: 8px 14px; font-size: .85rem; }
.btn-block { width: 100%; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(1200px 600px at 80% -10%, #1f3a8a 0%, transparent 60%),
              radial-gradient(800px 500px at 0% 100%, #3b0d2a 0%, transparent 60%),
              var(--navy);
  color: #e8ecf6; padding: 96px 0 110px;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}
.hero .container { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero h1 { color: #fff; }
.hero h1 .grad {
  background: linear-gradient(90deg, #ff6b81, #ffb36b);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .lead { color: #b6c0d8; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hero-proof { display: flex; gap: 22px; margin-top: 36px; color: #8f9bb8; font-size: .88rem; flex-wrap: wrap; }
.hero-proof b { color: #fff; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px 6px 6px; border-radius: 999px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12);
  font-size: .85rem; color: #d6dcec; margin-bottom: 22px;
}
.pill .tag { background: var(--accent); color: #fff; font-weight: 700; font-size: .72rem; padding: 3px 8px; border-radius: 999px; }
.pill:hover { text-decoration: none; background: rgba(255,255,255,.12); }

/* Bedrohungs-Dashboard im Hero */
.console {
  background: rgba(8, 14, 34, .75); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden;
  font-family: var(--mono); font-size: .82rem;
}
.console-bar { display: flex; align-items: center; gap: 6px; padding: 12px 14px; border-bottom: 1px solid rgba(255,255,255,.08); color: #8f9bb8; }
.console-bar i { width: 10px; height: 10px; border-radius: 50%; background: #3a4566; display: inline-block; }
.console-bar i:nth-child(1) { background: #ff5f57; } .console-bar i:nth-child(2) { background: #febc2e; } .console-bar i:nth-child(3) { background: #28c840; }
.console-bar span { margin-left: 8px; }
.console-body { padding: 18px; }
.threat { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.threat-label { color: #8f9bb8; text-transform: uppercase; letter-spacing: .1em; font-size: .72rem; }
.threat-value { font-size: 1.6rem; font-weight: 800; color: #fff; font-family: var(--font); }
.meter { height: 10px; border-radius: 6px; background: rgba(255,255,255,.08); overflow: hidden; margin-bottom: 18px; }
.meter > div { height: 100%; width: 50%; background: linear-gradient(90deg, var(--ok), var(--warn), var(--accent)); background-size: 300% 100%; transition: width 1.2s cubic-bezier(.2,.8,.2,1); }
.log { list-style: none; margin: 0; padding: 0; color: #b6c0d8; min-height: 150px; }
.log li { padding: 4px 0; border-bottom: 1px dashed rgba(255,255,255,.06); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; animation: fadein .4s ease; }
.log .t { color: #5b688a; margin-right: 8px; }
.log .ok { color: #4ade80; } .log .warn { color: #fbbf24; } .log .bad { color: #ff6b81; }
@keyframes fadein { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

@media (max-width: 960px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero { padding: 64px 0 80px; }
}

/* ---------- Kundenlogos ---------- */
.logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 44px; align-items: center; margin-top: 28px; }
.logos span {
  font-weight: 800; color: #9aa3b5; font-size: 1.05rem; letter-spacing: -0.01em; white-space: nowrap;
  filter: grayscale(1); transition: color .2s;
}
.logos span:hover { color: var(--ink); }
.logos span small { font-weight: 500; font-size: .7em; margin-left: 2px; }
.logos .serif { font-family: Georgia, "Times New Roman", serif; font-style: italic; }
.logos .mono { font-family: var(--mono); font-weight: 700; }
.logos .wide { letter-spacing: .2em; text-transform: uppercase; font-size: .85rem; }

/* ---------- Grids & Karten ---------- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow);
}
.feature .ico {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: #fff0f2; color: var(--accent); margin-bottom: 16px;
}
.feature .ico > span { width: 24px; height: 24px; }
.feature .ico svg { width: 100%; height: 100%; }
.feature:nth-child(3n+2) .ico { background: #eef3ff; color: var(--accent-2); }
.feature:nth-child(3n+3) .ico { background: #e9fbf2; color: var(--ok); }
.feature p { color: var(--ink-soft); margin: 0; }
.feature .fine { display: block; margin-top: 10px; font-size: .78rem; color: var(--ink-mute); }

/* ---------- Produktkarten ---------- */
.product {
  display: flex; flex-direction: column; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: transform .18s ease, box-shadow .18s ease;
}
.product:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.product-media {
  position: relative; aspect-ratio: 4 / 3; display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, var(--c1, #13204a), var(--c2, #2f6bff));
}
.product-media svg { width: 38%; height: auto; filter: drop-shadow(0 8px 18px rgba(0,0,0,.25)); }
.product-media .badge { position: absolute; top: 14px; left: 14px; }
.badge {
  display: inline-block; font-size: .7rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  padding: 4px 9px; border-radius: 999px; background: #fff; color: var(--ink);
}
.badge-hot { background: var(--accent); color: #fff; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(255,59,85,.5); } 50% { box-shadow: 0 0 0 8px rgba(255,59,85,0); } }
.product-body { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.product-cat { font-size: .75rem; font-weight: 700; color: var(--ink-mute); text-transform: uppercase; letter-spacing: .08em; }
.product-body h3 { margin: 6px 0 6px; }
.product-body h3 a { color: var(--ink); }
.product-body p { color: var(--ink-soft); font-size: .93rem; flex: 1; }
.product-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; }
.price { font-weight: 800; font-size: 1.15rem; }
.price s { color: var(--ink-mute); font-weight: 500; font-size: .85rem; margin-right: 6px; }
.stars { color: #f5a524; letter-spacing: 1px; font-size: .9rem; }
.stars .n { color: var(--ink-mute); font-size: .8rem; letter-spacing: 0; margin-left: 4px; }

/* ---------- Shop-Filter ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 30px; }
.chip {
  font: inherit; font-size: .88rem; font-weight: 600; cursor: pointer;
  padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink-soft);
}
.chip:hover { border-color: var(--ink-mute); }
.chip.active { background: var(--navy); border-color: var(--navy); color: #fff; }

/* ---------- Produktdetail ---------- */
.pd { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.pd .product-media { border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.pd-price { font-size: 2rem; font-weight: 800; margin: 14px 0 4px; }
.pd-price s { font-size: 1rem; color: var(--ink-mute); font-weight: 500; margin-right: 8px; }
.pd-tax { color: var(--ink-mute); font-size: .82rem; margin-bottom: 22px; }
.pd ul.check { list-style: none; padding: 0; margin: 22px 0; }
.pd ul.check li { padding: 6px 0 6px 30px; position: relative; color: var(--ink-soft); }
.pd ul.check li::before {
  content: "✓"; position: absolute; left: 0; top: 6px; width: 20px; height: 20px; border-radius: 50%;
  background: #e9fbf2; color: var(--ok); font-weight: 800; font-size: .75rem; display: grid; place-items: center;
}
.qty { display: inline-flex; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--surface); }
.qty button { width: 38px; border: 0; background: transparent; font: inherit; font-size: 1.1rem; cursor: pointer; color: var(--ink); }
.qty button:hover { background: var(--bg); }
.qty input { width: 46px; border: 0; text-align: center; font: inherit; font-weight: 700; background: transparent; color: var(--ink); }
.buy-row { display: flex; gap: 12px; align-items: stretch; flex-wrap: wrap; }
.trust-row { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 22px; font-size: .82rem; color: var(--ink-mute); }
.partner-hint {
  margin-top: 26px; padding: 16px 18px; border-radius: var(--radius-sm);
  background: #f2f5ff; border: 1px dashed #b9c8ff; font-size: .9rem; color: var(--ink-soft);
}
.partner-hint b { color: var(--ink); }
@media (max-width: 860px) { .pd { grid-template-columns: 1fr; gap: 32px; } }

.breadcrumb { font-size: .85rem; color: var(--ink-mute); margin-bottom: 26px; }
.breadcrumb a { color: var(--ink-mute); }

/* ---------- Bewertungen ---------- */
.review { display: flex; flex-direction: column; gap: 14px; }
.review blockquote { margin: 0; color: var(--ink); font-size: 1rem; }
.review .who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.review .who b { display: block; font-size: .92rem; }
.review .who small { color: var(--ink-mute); font-size: .8rem; }
.avatar {
  width: 42px; height: 42px; border-radius: 50%; flex: none;
  display: grid; place-items: center; color: #fff; font-weight: 800; font-size: .9rem;
  background: linear-gradient(135deg, var(--c1, #2f6bff), var(--c2, #ff3b55));
}
.verified { color: var(--ok); font-size: .75rem; font-weight: 700; }

/* ---------- Kennzahlen ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.stat b { display: block; font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; color: #fff; letter-spacing: -0.03em; }
.stat span { color: #aab4cc; font-size: .92rem; }
.stat small { display: block; color: #5f6b88; font-size: .72rem; margin-top: 4px; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Team ---------- */
.member { text-align: center; }
.member .avatar { width: 96px; height: 96px; font-size: 1.8rem; margin: 0 auto 16px; }
.member .role { color: var(--accent); font-weight: 700; font-size: .85rem; }
.member p { color: var(--ink-soft); font-size: .92rem; margin: 10px 0 0; }

/* ---------- CTA ---------- */
.cta {
  border-radius: 24px; padding: 56px; color: #fff; position: relative; overflow: hidden;
  background: radial-gradient(600px 300px at 100% 0%, rgba(255,59,85,.45), transparent 60%), var(--navy);
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px; align-items: center;
}
.cta h2 { color: #fff; }
.cta p { color: #b6c0d8; margin: 0; }
.cta .actions { display: flex; gap: 12px; justify-content: flex-end; flex-wrap: wrap; }
@media (max-width: 860px) { .cta { grid-template-columns: 1fr; padding: 36px 26px; } .cta .actions { justify-content: flex-start; } }

/* ---------- Warenkorb ---------- */
.cart-layout { display: grid; grid-template-columns: 1fr 360px; gap: 30px; align-items: start; }
.cart-item { display: grid; grid-template-columns: 84px 1fr auto; gap: 18px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.cart-item:last-child { border-bottom: 0; }
.cart-item .product-media { aspect-ratio: 1; border-radius: 12px; }
.cart-item .product-media svg { width: 50%; }
.cart-item h3 { font-size: 1rem; margin: 0 0 4px; }
.cart-item h3 a { color: var(--ink); }
.cart-item .meta { color: var(--ink-mute); font-size: .82rem; }
.cart-item .right { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.link-btn { background: none; border: 0; color: var(--ink-mute); font: inherit; font-size: .8rem; cursor: pointer; padding: 0; text-decoration: underline; }
.link-btn:hover { color: var(--accent); }
.summary { position: sticky; top: 90px; }
.summary .row { display: flex; justify-content: space-between; padding: 7px 0; color: var(--ink-soft); font-size: .93rem; }
.summary .row.total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 14px; color: var(--ink); font-weight: 800; font-size: 1.15rem; }
.empty { text-align: center; padding: 60px 20px; color: var(--ink-soft); }
@media (max-width: 900px) { .cart-layout { grid-template-columns: 1fr; } .summary { position: static; } }
.cart-layout > * { min-width: 0; }
@media (max-width: 520px) {
  .cart-item { grid-template-columns: 64px 1fr; gap: 12px 14px; }
  .cart-item .right { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; }
}

/* ---------- Modal ---------- */
.modal-bg {
  position: fixed; inset: 0; z-index: 100; background: rgba(6, 10, 25, .6);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  display: none; justify-items: center; align-items: start; padding: 20px; overflow-y: auto;
}
.modal-bg.open { display: grid; animation: fadein .2s ease; }
.modal { background: var(--surface); border-radius: 20px; max-width: 520px; width: 100%; padding: 34px; box-shadow: var(--shadow-lg); margin: auto 0; /* mittig, aber scrollbar, wenn es höher als der Bildschirm ist */ }
@media (max-width: 520px) { .modal { padding: 24px; } }
.modal h3 { font-size: 1.4rem; }
.modal p { color: var(--ink-soft); }
.progress { height: 8px; background: var(--bg); border-radius: 6px; overflow: hidden; margin: 18px 0 10px; }
.progress div { height: 100%; width: 0; background: linear-gradient(90deg, var(--accent-2), var(--accent)); transition: width .4s ease; }
.progress-step { font-family: var(--mono); font-size: .82rem; color: var(--ink-mute); min-height: 1.4em; }

/* ---------- Toast ---------- */
.toasts { position: fixed; right: 20px; bottom: 20px; z-index: 120; display: flex; flex-direction: column; gap: 10px; max-width: calc(100vw - 40px); }
.toast {
  background: var(--navy); color: #fff; padding: 14px 18px; border-radius: 12px; box-shadow: var(--shadow-lg);
  font-size: .9rem; max-width: 360px; animation: slidein .25s ease; border-left: 4px solid var(--accent);
}
.toast.out { opacity: 0; transform: translateX(20px); transition: all .3s ease; }
@keyframes slidein { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: none; } }

.console-link { margin-left: auto; color: #8fb0ff; font-family: var(--font); font-size: .78rem; font-weight: 600; }
.console-link:hover { color: #fff; }
.console-terminal {
  margin-left: 10px; padding: 1px 7px; border: 1px solid rgba(255,255,255,.18); border-radius: 6px; background: none; cursor: pointer;
  color: #8fb0ff; font: 700 .78rem var(--mono);
}
.console-terminal:hover { color: #33ff66; border-color: #33ff66; }

/* ---------- News ---------- */
.news-karte {
  display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .18s ease, box-shadow .18s ease;
}
.news-karte:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.news-bild {
  display: grid; place-items: center; aspect-ratio: 16 / 9; color: #fff;
  background: radial-gradient(circle at 80% 20%, rgba(255,255,255,.18), transparent 50%), linear-gradient(135deg, var(--c1), var(--c2));
}
.news-bild svg { width: 26%; filter: drop-shadow(0 8px 18px rgba(0,0,0,.25)); }
.news-text { padding: 20px 22px 24px; }
.news-meta { font-size: .78rem; color: var(--ink-mute); margin-bottom: 8px; }
.news-rubrik { color: var(--accent); font-weight: 800; text-transform: uppercase; letter-spacing: .06em; margin-right: 8px; }
.news-text h3 { font-size: 1.15rem; margin-bottom: 8px; }
.news-text h3 a { color: var(--ink); }
.news-text p { color: var(--ink-soft); font-size: .93rem; margin: 0; }
.news-gross { display: grid; grid-template-columns: 1.1fr 1fr; }
.news-gross .news-bild { aspect-ratio: auto; min-height: 280px; }
.news-gross .news-text { padding: 36px; align-self: center; }
.news-gross h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.news-gross p { font-size: 1.05rem; }
@media (max-width: 760px) { .news-gross { grid-template-columns: 1fr; } .news-gross .news-bild { min-height: 180px; } .news-gross .news-text { padding: 22px; } }

/* Vorschau eines Entwurfs (nur für angemeldete Redaktion) */
.entwurf-hinweis { background: #ffd23f; color: #1a1400; font-weight: 700; text-align: center; padding: 10px 16px; font-size: .9rem; }
.entwurf-hinweis a { color: #1a1400; text-decoration: underline; }

/* Gastbeiträge aus SchergenBOFH: dunkler, „echter“ Look */
.news-gast { border-color: #3a1d2a; }
.news-gast .news-bild {
  position: relative;
  background: radial-gradient(circle at 75% 25%, rgba(255,59,85,.35), transparent 55%), linear-gradient(135deg, #0e1016, #3a1020);
}
.gast-stempel {
  position: absolute; top: 14px; left: 14px; font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  color: #ffd23f; border: 2px solid #ffd23f; border-radius: 6px; padding: 3px 8px; transform: rotate(-4deg);
}
.news-gast .news-rubrik { color: #c4162f; }
.gast-fuss { margin-top: 12px !important; padding-top: 10px; border-top: 1px dashed var(--line); font-size: .8rem !important; color: var(--ink-mute) !important; }

/* Artikel */
.artikel-kopf { background: var(--navy); color: #e8ecf6; padding: 56px 0 48px; }
.artikel-kopf h1 { color: #fff; font-size: clamp(2rem, 4.2vw, 3rem); }
.artikel-kopf .lead { color: #aab4cc; }
.artikel-schmal { max-width: 780px; }
.artikel-autor { display: flex; align-items: center; gap: 12px; margin-top: 24px; }
.artikel-autor b { display: block; color: #fff; font-size: .95rem; }
.artikel-autor small { color: #8f9bb8; font-size: .82rem; }
.artikel-text { padding-top: 44px; padding-bottom: 72px; font-size: 1.08rem; }
.artikel-text p, .artikel-text li { color: #283247; line-height: 1.75; }
.artikel-text h2 { font-size: 1.5rem; margin-top: 1.8em; }
.artikel-text blockquote { margin: 34px 0; padding: 6px 0 6px 24px; border-left: 4px solid var(--accent); }
.artikel-text blockquote p { font-size: 1.3rem; font-weight: 700; color: var(--ink); line-height: 1.45; margin-bottom: 8px; }
.artikel-text cite { font-style: normal; color: var(--ink-mute); font-size: .9rem; }
.fakten { margin: 44px 0 0; padding: 26px 28px; border-radius: var(--radius); background: #f2f5ff; border: 1px solid #c9d6ff; font-size: .97rem; }
.fakten h3 { margin-bottom: 2px; }
.fakten-hinweis { color: var(--ink-mute) !important; font-size: .85rem; margin-bottom: 12px; }
.fakten ul { margin: 0; padding-left: 20px; }
.fakten li { padding: 3px 0; line-height: 1.55 !important; }
.quellen-liste { margin-top: 16px; padding-top: 14px; border-top: 1px solid #c9d6ff; display: flex; flex-direction: column; gap: 4px; font-size: .88rem; }
.artikel-produkt { margin-top: 44px; max-width: 380px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #8f9bb8; padding: 64px 0 28px; font-size: .9rem; }
.site-footer .cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; gap: 30px; }
.site-footer h4 { color: #fff; font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { padding: 4px 0; }
.site-footer a { color: #b6c0d8; }
.site-footer a:hover { color: #fff; }
.site-footer .logo { color: #fff; margin-bottom: 14px; }
.site-footer .bottom {
  border-top: 1px solid rgba(255,255,255,.08); margin-top: 44px; padding-top: 22px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .8rem;
}
/* Dezenter Satire-Hinweis ganz unten */
.satire-note { margin: 14px 0 0; font-size: .72rem; color: #4f5a75; }
.satire-note a { color: #6b7899; text-decoration: underline; }
.satire-note a:hover { color: #b6c0d8; }
.certs { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.certs span { border: 1px solid rgba(255,255,255,.15); border-radius: 6px; padding: 4px 8px; font-size: .7rem; font-weight: 700; color: #b6c0d8; letter-spacing: .04em; }
@media (max-width: 960px) { .site-footer .cols { grid-template-columns: 1fr 1fr 1fr; } .site-footer .cols > div:first-child { grid-column: 1 / -1; } }
@media (max-width: 620px) { .site-footer .cols { grid-template-columns: 1fr 1fr; } }

/* ---------- Rechtliches / Fließtext ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.4rem; margin-top: 1.8em; }
.prose p, .prose li { color: var(--ink-soft); }
.todo { background: #fff7e0; border: 1px solid #ffd77a; border-radius: 10px; padding: 14px 16px; color: #6b4b00; font-size: .92rem; }

/* ---------- Seitenkopf (Unterseiten) ---------- */
.page-head { background: var(--navy); color: #e8ecf6; padding: 72px 0 64px; position: relative; overflow: hidden; }
.page-head::after {
  content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,59,85,.35), transparent 65%);
}
.page-head h1 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); }
.page-head .lead { color: #aab4cc; }

/* ---------- Easter Egg: Hacker-Modus ---------- */
body.hacker {
  --bg: #000; --surface: #050a05; --ink: #33ff66; --ink-soft: #22cc55; --ink-mute: #1a8a3a; --line: #0f3d1c;
  --navy: #000; --navy-2: #031a09; --accent: #33ff66; --accent-2: #33ff66;
  font-family: var(--mono);
}
body.hacker .product-media, body.hacker .hero, body.hacker .cta, body.hacker .page-head { background: #000 !important; border: 1px solid #0f3d1c; }
body.hacker .site-header { background: rgba(0,0,0,.9); }
body.hacker .btn-primary { color: #000; }
#matrix { position: fixed; inset: 0; z-index: -1; pointer-events: none; display: none; }
body.hacker #matrix { display: block; }

/* Terminal-Knopf im Fuß (Easter Egg, Terminal selbst in terminal.css) */
.terminal-knopf {
  background: none; border: 0; padding: 0 2px; margin-left: 4px; cursor: pointer;
  font: inherit; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: inherit; opacity: .55;
}
.terminal-knopf:hover { opacity: 1; color: #33ff66; }
.terminal-knopf::after { content: "▍"; animation: rt-blinken 1s steps(1) infinite; }
@keyframes rt-blinken { 50% { opacity: 0; } }

/* Logo-Wackeln (Easter Egg) */
.shake { animation: shake .5s; }
@keyframes shake { 0%,100% { transform: none; } 20% { transform: rotate(-8deg); } 40% { transform: rotate(8deg); } 60% { transform: rotate(-5deg); } 80% { transform: rotate(5deg); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Hover & Bewegung ----------
   Nur für Geräte mit Maus/Trackpad: Auf Touchgeräten bleiben Hover-Zustände
   sonst „kleben“ oder verlangen einen zweiten Tipp. */
:root { --weich: cubic-bezier(.2, .8, .2, 1); }

.product, .news-karte, .card, .kachel, .btn, .cart-btn, .chip, .avatar, .logos span,
.feature .ico, .product-media svg, .news-bild svg { transition: transform .35s var(--weich), box-shadow .35s var(--weich), border-color .35s, background-color .2s, color .2s; }

@media (hover: hover) and (pointer: fine) {
  /* Menü: rote Linie wächst unter dem Punkt */
  .nav-oben { position: relative; transition: color .2s, background-color .2s; }
  .nav-oben::after {
    content: ""; position: absolute; left: 14px; right: 14px; bottom: 3px; height: 2px; border-radius: 2px;
    background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--weich);
  }
  .nav-oben:hover::after, .nav-oben.active::after { transform: scaleX(1); }

  /* Karten schweben */
  .product:hover, .news-karte:hover {
    transform: translateY(-8px);
    box-shadow: 0 28px 60px rgba(10, 20, 48, .18), 0 8px 18px rgba(10, 20, 48, .08);
    border-color: #d3d9e6;
  }
  .product:hover .product-media svg, .news-karte:hover .news-bild svg { transform: scale(1.12) rotate(-4deg); }
  .news-karte h3 a, .product h3 a {
    background-image: linear-gradient(var(--accent), var(--accent)); background-repeat: no-repeat;
    background-size: 0 2px; background-position: 0 100%; transition: background-size .35s var(--weich);
  }
  .news-karte:hover h3 a, .product:hover h3 a { background-size: 100% 2px; text-decoration: none; }

  /* Buttons heben sich leicht */
  .btn:hover { transform: translateY(-2px); }
  .btn-primary:hover { box-shadow: 0 12px 26px rgba(255, 59, 85, .38); }
  .btn-dark:hover { box-shadow: 0 12px 26px rgba(10, 20, 48, .3); }
  .btn:active { transform: translateY(0); }
  .cart-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
  .chip:hover { transform: translateY(-1px); }

  /* Kacheln und Karten ohne Link: dezenter */
  .card.feature:hover, .card.review:hover, .card.member:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
  .feature:hover .ico { transform: scale(1.12) rotate(-6deg); }
  .member:hover .avatar { transform: scale(1.07); }
  .logos span:hover { transform: translateY(-2px); }
  .kachel:hover { box-shadow: var(--shadow-lg); border-color: #d3d9e6; }
  .charts-zeile, .ticker li { transition: background-color .2s; border-radius: 8px; }
  .charts-zeile:hover, .ticker li:hover { background: var(--bg); }
  .site-footer a { transition: color .2s, padding-left .2s; }
  .site-footer li a:hover { padding-left: 4px; }
}
@media (hover: hover) and (pointer: fine) {
  .news-karte h3 a:hover, .product h3 a:hover { text-decoration: none; }
}

/* ---------- Easter Egg: Sicherheitsstufe im Logo ---------- */
.site-header .container { position: relative; }
.logo-24 { display: inline-block; }
.logo-24.kippen { animation: kippen .6s var(--weich); }
@keyframes kippen {
  0% { transform: rotateX(0); }
  45% { transform: rotateX(90deg); opacity: .2; }
  100% { transform: rotateX(0); opacity: 1; }
}
.logo-blase {
  position: absolute; top: calc(100% + 10px); left: 20px; z-index: 60; max-width: 340px;
  background: #fff; color: var(--ink); font-size: .88rem; font-weight: 600; line-height: 1.4; border: 1px solid var(--line);
  padding: 12px 16px; border-radius: 12px; box-shadow: var(--shadow-lg); border-left: 4px solid var(--accent);
  animation: blase-rein .3s var(--weich);
}
.logo-blase::before {
  content: ""; position: absolute; top: -7px; left: 22px; width: 14px; height: 14px;
  background: #fff; border-left: 1px solid var(--line); border-top: 1px solid var(--line); transform: rotate(45deg); border-radius: 2px;
}
.logo-blase.weg { opacity: 0; transform: translateY(-6px); transition: opacity .35s, transform .35s; }
@keyframes blase-rein { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* ---------- Kundenlogos (Startseite) ---------- */
.kunden-logos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px 40px; align-items: center; justify-items: center; max-width: 1040px; margin-left: auto; margin-right: auto; }
.kunden-logos img { height: 46px; width: auto; max-width: 100%; filter: grayscale(1) contrast(.9); opacity: .55; transition: filter .3s, opacity .3s, transform .3s var(--weich); }
@media (hover: hover) and (pointer: fine) {
  .kunden-logos img:hover { filter: none; opacity: 1; transform: translateY(-2px) scale(1.04); }
}
@media (max-width: 760px) { .kunden-logos { grid-template-columns: repeat(2, 1fr); gap: 20px 24px; } .kunden-logos img { height: 38px; } }

/* ---------- Hinweis auf die PanicCon (Startseite, Unternehmen) ---------- */
.pc-teaser {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap; padding: 20px 26px; border-radius: var(--radius); color: #fff;
  background: radial-gradient(circle at 10% 50%, rgba(255,59,85,.6), transparent 45%), radial-gradient(circle at 90% 50%, rgba(47,107,255,.6), transparent 45%), var(--navy);
  box-shadow: var(--shadow-lg);
}
.pc-teaser:hover { text-decoration: none; }
.pc-teaser-tag { background: var(--accent); font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; padding: 4px 10px; border-radius: 999px; }
.pc-teaser-text { flex: 1; min-width: 240px; color: #d6dcec; }
.pc-teaser-text b { color: #fff; }
.pc-teaser-pfeil { font-weight: 700; white-space: nowrap; }
@media (hover: hover) and (pointer: fine) { .pc-teaser { transition: transform .35s var(--weich); } .pc-teaser:hover { transform: translateY(-3px); } }
.cart-item .badge { display: none; }
.cart-item .qty { flex: none; }

/* Übergänge zum Ausreden-Generator (Artikel, Team) */
.artikel-ausrede { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin: 26px 0; padding: 16px 18px; border-radius: 12px; background: #fffdf6; border: 1px solid #eee3c4; }
.artikel-ausrede span { font-weight: 700; color: var(--ink); }
.artikel-ausrede a { font-weight: 700; }
.member-link { display: inline-block; margin-top: 10px; font-size: .88rem; font-weight: 700; }

/* ---------- Ankündigungsleiste über dem Kopf (wie bei den Großen) ---------- */
.ankuendigung { background: var(--navy); color: #c9d2e6; font-size: .84rem; }
.ankuendigung .container { display: flex; align-items: center; gap: 14px; min-height: 38px; }
.ank-text { color: #e8ecf6; display: flex; align-items: center; gap: 10px; min-width: 0; }
.ank-text:hover { color: #fff; text-decoration: none; }
.ank-text:hover .ank-lang { text-decoration: underline; }
.ank-tag { flex: none; background: var(--accent); color: #fff; font-size: .66rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 2px 8px; border-radius: 999px; }
.ank-lang { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ank-kurz { display: none; white-space: nowrap; }
.ankuendigung--aktion { background: linear-gradient(90deg, #b3122b, var(--accent) 45%, #f5a524); color: #fff; }
.ankuendigung--aktion .ank-tag { background: #fff; color: var(--accent); }
.ankuendigung--aktion .ank-text { font-weight: 600; color: #fff; }
.ankuendigung--aktion .ank-notfall { color: #fff; }
.ankuendigung--ruhig .ank-tag { background: #fff; color: var(--navy); }
.ank-notfall { margin-left: auto; flex: none; color: #ff8a9b; font-weight: 700; white-space: nowrap; }
.ank-notfall:hover { color: #fff; }
@media (max-width: 760px) { .ank-lang { display: none; } .ank-kurz { display: inline; } }

/* ---------- Auszeichnungen (Startseite) ---------- */
.auszeichnungen { padding-top: 10px; }
.aw-leiste { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; margin-top: 22px; }
@media (max-width: 1000px) { .aw-leiste { grid-template-columns: repeat(3, 1fr); } }
.aw { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.aw-link { display: contents; color: inherit; }
.aw-link:hover { text-decoration: none; }
.aw figcaption { font-size: .72rem; color: var(--ink-mute); line-height: 1.3; }
.aw-marke { width: 100%; max-width: 160px; aspect-ratio: 1 / 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 10px; text-align: center; line-height: 1.15; }
.aw-marke i { font-style: normal; font-size: .72rem; font-weight: 700; letter-spacing: .02em; }
.aw-marke b { font-size: .95rem; }
.aw-marke span { font-size: .68rem; opacity: .85; }
.aw-gaertner { background: #134e4a; color: #fff; border-radius: 6px; font-family: Georgia, "Times New Roman", serif; }
.aw-gaertner i { font-size: 1.05rem; font-family: Georgia, "Times New Roman", serif; }
.aw-gaertner b { font-family: var(--font); font-size: .82rem; }
.aw-forrest { background: #fff; color: #4c1d95; border: 2px solid #6d28d9; border-radius: 50%; }
.aw-forrest svg { width: 52px; height: 12px; color: #8b5cf6; }
.aw-g24 { background: linear-gradient(160deg, var(--navy-2), var(--navy)); color: #fff; border-radius: 22px; box-shadow: inset 0 0 0 3px #c9a227; }
.aw-g24 b { color: #f5d87a; }
.aw-g24 i { font-size: 1.2rem; font-weight: 800; }
.aw-g24 b { font-size: 1.1rem; text-transform: uppercase; }
.aw-institut { background: #eff6ff; color: #1e3a8a; border: 2px dashed #60a5fa; border-radius: 50%; }
.aw-institut svg { width: 26px; height: 26px; color: #2563eb; margin-bottom: 2px; }
.aw-institut i { font-size: .6rem; text-transform: uppercase; letter-spacing: .04em; }
.aw-institut b { font-size: 1rem; letter-spacing: .06em; }
.aw-peer { background: #f5f8ff; color: #13204a; border: 1px solid #c9d6ff; border-radius: 14px; }
.aw-peer b { font-size: .9rem; }
.aw-peer em { font-style: normal; color: #f5a524; letter-spacing: 1px; }
.aw-sc { background: radial-gradient(circle at 30% 25%, #ffe9a8, #c9a227 70%); color: #3a2b00; border-radius: 50%; box-shadow: inset 0 0 0 4px rgba(255,255,255,.5); }
.aw-fein { font-size: .75rem; color: var(--ink-mute); margin-top: 18px; }
/* Handy: steht hinter den Grundregeln, damit es sie überschreibt */
@media (max-width: 520px) {
  .aw-leiste { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .aw-marke { max-width: 128px; }
  .aw-marke b { font-size: .82rem; }
  .aw-marke i, .aw-marke span { font-size: .62rem; }
}

/* ---------- Maskottchen Yukiko (app.js: maskottchen()) ----------
   Nur auf breiten Bildschirmen, damit sie nichts verdeckt. Ohne Schalter
   in der Verwaltung bleibt der Platzhalter leer und unsichtbar. */
.yukiko { display: none; position: absolute; z-index: 0; pointer-events: none; }
.yukiko img { display: block; height: 100%; width: auto; }
.yukiko--da { display: block; }
.yukiko-blase {
  position: absolute; pointer-events: none; width: max-content; max-width: 230px;
  background: #fff; color: var(--navy); font-weight: 600; font-size: .88rem; line-height: 1.35;
  padding: 9px 14px; border-radius: 14px; box-shadow: var(--shadow-lg);
}
.yukiko-blase::after { content: ""; position: absolute; width: 12px; height: 12px; background: #fff; transform: rotate(45deg); }
@media (prefers-reduced-motion: no-preference) {
  .yukiko--da { animation: yukiko-rein .6s ease-out both; }
  .yukiko--da .yukiko-blase { animation: yukiko-rein .4s .7s ease-out both; }
}
@keyframes yukiko-rein { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* Startseite: schaut rechts hinter der Lage-Konsole hervor und winkt */
.mit-yukiko .hero .console { position: relative; z-index: 1; background: rgb(10, 17, 40); }
.yukiko-start { right: -90px; bottom: -110px; height: 430px; }
.yukiko-start img { transform: scaleX(-1); }          /* Winkhand nach außen, nicht hinter die Konsole */
.yukiko-start .yukiko-blase { right: -10px; top: -164px; }
.yukiko-start .yukiko-blase::after { right: 60px; bottom: -6px; }  /* zeigt über die Konsole hinweg auf sie */

/* 404: steht mit verschränkten Armen rechts neben dem Text */
.yukiko-404 { left: calc(50% + 470px); bottom: -2px; height: 340px; }
.yukiko-404 .yukiko-blase { right: calc(100% + 12px); top: 96px; }
.yukiko-404 .yukiko-blase::after { right: -6px; top: 14px; }

@media (max-width: 1399px) { .yukiko-start { display: none; } }
@media (max-width: 1299px) { .yukiko-404 { display: none; } }

/* ---------- Türchenkalender (app.js, tuerchen) ---------- */
.tc-raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 8px; --tc1: #b3122b; --tc2: #0f6b3a; }
.tc-raster.tc-orange { --tc1: #c2410c; --tc2: #6b21a8; }
.tc-tuer { aspect-ratio: 1; border: 0; border-radius: 10px; cursor: pointer; font: inherit; font-weight: 800; font-size: 1.15rem; color: #fff;
  background: linear-gradient(135deg, var(--tc1), var(--tc2)); box-shadow: inset 0 0 0 2px rgba(255,255,255,.25); transition: transform .15s ease; }
.tc-tuer:nth-child(3n) { background: linear-gradient(135deg, var(--tc2), var(--tc1)); }
.tc-tuer:hover { transform: translateY(-2px) rotate(-2deg); }
.tc-tuer.zu { filter: grayscale(.6) brightness(.85); }
.tc-tuer.heute { box-shadow: inset 0 0 0 3px #ffd54a; }
.tc-tuer.offen { background: var(--surface); color: var(--ink-mute); box-shadow: inset 0 0 0 2px var(--line); }
.tc-tuer.aktiv { color: var(--ink); box-shadow: inset 0 0 0 3px var(--accent-2); }
.tc-tuer.wackeln { animation: tc-wackeln .45s; }
@keyframes tc-wackeln { 20%, 60% { transform: rotate(-6deg); } 40%, 80% { transform: rotate(6deg); } }
.tc-inhalt:not(:empty) { margin-top: 18px; }
.tc-karte { display: flex; gap: 18px; align-items: flex-start; }
.tc-nr { flex: none; width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; font-size: 1.3rem; color: #fff; background: var(--navy); }
.tc-karte p { margin: 0 0 8px; color: var(--ink-soft); }
.tc-karte p:last-child { margin-bottom: 0; }
.tc-karte h3 { margin: 0 0 6px; font-size: 1.1rem; }
@media (prefers-reduced-motion: reduce) { .tc-tuer.wackeln { animation: none; } }
