/* =========================================================
   PiBau Mietpark – Design System v2
   Konzept: "Technisch-Editorial" – industrielle Grotesk,
   Monospace-Labels, feine Rasterlinien, Spec-Sheet-Karten.
   Marke: #029DD4 · CI angelehnt an pi-bau.net, neu interpretiert.
   ========================================================= */

:root {
  /* Marke */
  --blue:        #029DD4;
  --blue-700:    #0179A3;
  --blue-900:    #084A63;
  --blue-tint:   #E6F5FB;

  /* Tinte / Papier */
  --ink:         #0C1416;   /* fast-schwarz, leicht teal */
  --ink-2:       #1A2A30;
  --slate:       #5C6B70;
  --slate-2:     #8A969A;
  --paper:       #F4F3EE;   /* warmes Off-White (Haupt-BG) */
  --paper-2:     #ECEBE4;
  --white:       #FFFFFF;
  --line:        #DCDAD0;   /* Rasterlinie auf Papier */
  --line-ink:    rgba(255,255,255,.12);

  /* Hi-Vis Akzent (sparsam – Baustellen-Gelb) */
  --hivis:       #FFD21E;
  --hivis-ink:   #2A2300;

  --green:       #1FA463;
  --red:         #D24545;

  --r:           6px;
  --r-lg:        10px;
  --maxw:        1240px;
  --ease:        cubic-bezier(.22,.61,.36,1);
  --shadow:      0 1px 0 var(--line), 0 18px 40px -24px rgba(12,20,22,.35);
  --shadow-lg:   0 30px 70px -30px rgba(12,20,22,.5);

  --f-display: 'Space Grotesk', system-ui, sans-serif;
  --f-body:    'Inter', system-ui, sans-serif;
  --f-mono:    'JetBrains Mono', ui-monospace, 'Courier New', monospace;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--f-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img, video, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1,h2,h3,h4 { font-family: var(--f-display); font-weight: 600; line-height: 1.06; letter-spacing: -.02em; color: var(--ink); }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.section { padding: 110px 0; }
.section-sm { padding: 64px 0; }
.bg-paper2 { background: var(--paper-2); }
.bg-ink { background: var(--ink); color: #cfe9f2; }
.text-center { text-align: center; }
.muted { color: var(--slate); }

/* ---------- Mono-Label / Eyebrow ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--f-mono); font-weight: 500; font-size: .76rem;
  letter-spacing: .18em; text-transform: uppercase; color: var(--blue-700);
  margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; background: var(--blue); display: inline-block; }
.bg-ink .eyebrow { color: var(--blue); }

/* ---------- Headings ---------- */
.section-title { font-size: clamp(2rem, 4.4vw, 3.4rem); }
.bg-ink .section-title, .bg-ink h2, .bg-ink h3 { color: #fff; }
.section-lead { color: var(--slate); font-size: 1.1rem; max-width: 620px; margin-top: 18px; }
.section-head { margin-bottom: 64px; max-width: 760px; }
.index-tag { font-family: var(--f-mono); font-size: .8rem; color: var(--slate-2); letter-spacing: .1em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--f-mono); font-weight: 500; font-size: .82rem; letter-spacing: .08em;
  text-transform: uppercase; padding: 15px 24px; border-radius: var(--r);
  border: 1px solid transparent; transition: all .22s var(--ease); white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; transition: transform .22s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--ink); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--blue); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
.btn-hivis { background: var(--hivis); color: var(--hivis-ink); }
.btn-hivis:hover { background: #fff; }
.bg-ink .btn-ghost, .cta-block .btn-ghost { color: #fff; border-color: var(--line-ink); }
.bg-ink .btn-ghost:hover, .cta-block .btn-ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-block { width: 100%; }
.btn-sm { padding: 10px 16px; font-size: .74rem; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(244,243,238,.85); backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
/* Standort-/Kontaktleiste (Regionalität) */
.topbar { background: var(--ink); color: #cfe9f2; }
.topbar-inner { display: flex; align-items: center; gap: 14px; height: 38px;
  font-family: var(--f-mono); font-size: .72rem; letter-spacing: .05em; }
.tb-item { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.tb-loc { display: flex; flex: 1 1 auto; min-width: 0; }          /* darf schrumpfen */
.tb-loc svg { width: 14px; height: 14px; color: var(--blue); flex-shrink: 0; }
.tb-scope { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.tb-loc strong { color: #fff; font-weight: 500; }
.tb-right { display: flex; align-items: center; gap: 22px; flex: 0 0 auto; }  /* Telefon bleibt voll */
.tb-hide { color: #8a9aa0; }
.tb-phone { color: #fff; transition: color .15s; }
.tb-phone:hover { color: var(--blue); }
.tb-phone svg { width: 14px; height: 14px; color: var(--blue); flex-shrink: 0; }
@media (max-width: 760px) {
  .tb-full, .tb-hide { display: none; }
  .topbar-inner { font-size: .66rem; gap: 10px; }
  .tb-right { gap: 14px; }
}
@media (max-width: 520px) {
  .tb-loc svg { display: none; }       /* Icon weicht, damit Nummer Platz hat */
  .topbar-inner { font-size: .62rem; gap: 8px; }
}
@media (max-width: 560px) {
  .brand-tag { display: none; }
  .brand img { height: 30px; }
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 78px; }
.brand { display: flex; align-items: center; gap: 14px; }
.brand img { height: 34px; width: auto; }
.brand-tag {
  font-family: var(--f-mono); font-weight: 500; font-size: .66rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--ink); border: 1px solid var(--line);
  padding: 4px 9px; border-radius: 4px;
}
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-links a {
  font-family: var(--f-mono); font-weight: 500; font-size: .78rem; letter-spacing: .06em;
  text-transform: uppercase; color: var(--ink-2); padding: 9px 14px; border-radius: 5px;
  transition: color .15s, background .15s; position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--blue-700); }
.nav-links a.active::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px; background: var(--blue); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 5px; padding: 9px; color: var(--ink); }
.nav-toggle svg { width: 22px; height: 22px; }
.nav-menu-cta { display: none; }   /* CTA nur im mobilen Menü */

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .nav-cta > .btn { display: none; }              /* „Geräte mieten" wandert ins Menü */
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0;
    background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
    padding: 6px 20px 16px; align-items: stretch;
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: transform .22s var(--ease), opacity .22s var(--ease);
    box-shadow: var(--shadow-lg);
    max-height: calc(100vh - 117px); overflow-y: auto;
  }
  .nav-links.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 16px 6px; border-bottom: 1px solid var(--line); font-size: .9rem; }
  .nav-links a.active::after { display: none; }
  .nav-links a.active { color: var(--blue-700); }
  .nav-menu-cta { display: block; padding-top: 16px; }
  .nav-menu-cta a { border-bottom: none; }
  .nav-menu-cta .btn { width: 100%; font-size: .82rem; }
}

/* ---------- Hero (split editorial) ---------- */
.hero { border-bottom: 1px solid var(--line); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; padding: 90px 0 70px; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 5rem); letter-spacing: -.035em; }
.hero h1 .hl { color: var(--blue); }
.hero-kicker { font-family: var(--f-mono); font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--slate); margin-bottom: 26px; display: flex; gap: 10px; align-items: center; }
.hero-kicker .bar { width: 34px; height: 1px; background: var(--ink); }
.hero p { font-size: 1.18rem; color: var(--slate); margin-top: 26px; max-width: 460px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }

.hero-visual { position: relative; }
.hero-frame { position: relative; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4/4.4; background: var(--ink); }
.hero-frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-frame::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); border-radius: var(--r-lg); }
.hero-chip {
  position: absolute; left: -18px; bottom: 28px; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r); padding: 14px 18px; box-shadow: var(--shadow-lg); max-width: 230px;
}
.hero-chip .k { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--slate-2); }
.hero-chip .v { font-family: var(--f-display); font-weight: 600; font-size: 1.05rem; margin-top: 3px; }
.hero-tag {
  position: absolute; top: 20px; right: 20px; background: var(--hivis); color: var(--hivis-ink);
  font-family: var(--f-mono); font-size: .68rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  padding: 7px 12px; border-radius: 4px;
}

/* ---------- Marquee-Strip ---------- */
.marquee { background: var(--ink); color: #fff; border-top: 1px solid var(--ink); overflow: hidden; }
.marquee-track { display: flex; gap: 0; white-space: nowrap; animation: marquee 34s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  display: inline-flex; align-items: center; gap: 18px; padding: 16px 0;
  font-family: var(--f-mono); font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: #cfe9f2;
}
.marquee-track span::after { content: "✶"; color: var(--blue); margin: 0 34px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Editorial 2-Spalten ---------- */
.split { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.split-sticky { position: sticky; top: 110px; }
.point-list { list-style: none; border-top: 1px solid var(--line); }
.point {
  display: grid; grid-template-columns: 56px 1fr; gap: 22px; padding: 30px 0; border-bottom: 1px solid var(--line);
  transition: padding-left .25s var(--ease);
}
.point:hover { padding-left: 10px; }
.point .num { font-family: var(--f-mono); font-size: .82rem; color: var(--blue); letter-spacing: .08em; padding-top: 4px; }
.point h3 { font-size: 1.35rem; margin-bottom: 8px; }
.point p { color: var(--slate); }

/* ---------- Kategorie-Showcase ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--white); }
.cat-cell {
  padding: 40px 34px; border-right: 1px solid var(--line); position: relative;
  transition: background .25s var(--ease); display: flex; flex-direction: column; min-height: 280px;
}
.cat-cell:last-child { border-right: none; }
.cat-cell:hover { background: var(--ink); color: #fff; }
.cat-cell:hover h3, .cat-cell:hover .cat-idx { color: #fff; }
.cat-cell:hover p { color: #aebfc5; }
.cat-idx { font-family: var(--f-mono); font-size: .82rem; color: var(--slate-2); letter-spacing: .1em; }
.cat-cell .ic { width: 46px; height: 46px; margin: 26px 0 18px; color: var(--blue); }
.cat-cell:hover .ic { color: var(--hivis); }
.cat-cell .ic svg { width: 100%; height: 100%; }
.cat-cell h3 { font-size: 1.5rem; margin-bottom: 8px; }
.cat-cell p { color: var(--slate); font-size: .96rem; flex: 1; }
.cat-cell .arrow { font-family: var(--f-mono); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; margin-top: 18px; display: inline-flex; gap: 8px; align-items: center; }
.cat-cell:hover .arrow { color: var(--hivis); }

/* ---------- Stats-Band ---------- */
.stats-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-ink); border: 1px solid var(--line-ink); border-radius: var(--r-lg); overflow: hidden; }
.stat-cell { background: var(--ink); padding: 40px 30px; }
.stat-cell strong { font-family: var(--f-display); font-weight: 600; font-size: 3rem; color: #fff; display: block; letter-spacing: -.02em; }
.stat-cell strong .u { color: var(--blue); }
.stat-cell span { font-family: var(--f-mono); font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--slate-2); }

/* ---------- Ablauf / Stepper ---------- */
.stepper { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.step { position: relative; padding-top: 28px; border-top: 2px solid var(--ink); }
.step .n { position: absolute; top: -16px; left: 0; background: var(--paper); padding-right: 14px; font-family: var(--f-mono); font-size: .8rem; color: var(--blue); letter-spacing: .1em; }
.step h3 { font-size: 1.4rem; margin-bottom: 10px; }
.step p { color: var(--slate); }

/* ---------- Catalog ---------- */
.catalog-toolbar { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; margin-bottom: 36px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font-family: var(--f-mono); font-weight: 500; font-size: .76rem; letter-spacing: .06em; text-transform: uppercase;
  padding: 9px 15px; border-radius: var(--r); border: 1px solid var(--line); background: transparent; color: var(--ink-2); transition: .15s;
}
.chip:hover { border-color: var(--ink); }
.chip.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.search-box { position: relative; }
.search-box input {
  font-family: var(--f-mono); font-size: .82rem; padding: 11px 16px 11px 40px; border: 1px solid var(--line);
  border-radius: var(--r); width: 250px; max-width: 100%; background: var(--white); transition: border-color .15s;
}
.search-box input:focus { outline: none; border-color: var(--blue); }
.search-box svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--slate-2); }

.demo-banner { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; background: var(--blue-tint); border: 1px solid #BfE6F4; border-radius: var(--r-lg); padding: 16px 20px; margin-bottom: 26px; }
.demo-banner .db-tag { font-family: var(--f-mono); font-size: .68rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; background: var(--blue); color: #fff; padding: 6px 11px; border-radius: 4px; white-space: nowrap; }
.demo-banner p { color: var(--blue-900); font-size: .92rem; margin: 0; flex: 1; min-width: 240px; }

.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

/* Spec-Sheet-Karte */
.product-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
  display: flex; flex-direction: column; transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
  position: relative;
}
.product-card:hover { transform: translateY(-4px); border-color: var(--ink); box-shadow: var(--shadow-lg); }
.product-thumb { position: relative; aspect-ratio: 4/3; background: var(--paper-2); overflow: hidden; border-bottom: 1px solid var(--line); }
.product-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.product-card:hover .product-thumb img { transform: scale(1.05); }
.product-thumb .ph { width: 100%; height: 100%; display: grid; place-items: center; color: var(--slate-2); }
.product-thumb .ph svg { width: 56px; height: 56px; opacity: .4; }
.badge {
  position: absolute; font-family: var(--f-mono); font-weight: 500; font-size: .64rem; letter-spacing: .1em;
  text-transform: uppercase; padding: 6px 10px; border-radius: 4px;
}
.badge.cat { top: 12px; left: 12px; background: rgba(12,20,22,.85); color: #fff; backdrop-filter: blur(4px); }
.badge.avail { top: 12px; right: 12px; background: var(--hivis); color: var(--hivis-ink); }
.badge.busy  { top: 12px; right: 12px; background: rgba(12,20,22,.7); color: #fff; }
.product-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.product-cat { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-700); margin-bottom: 8px; }
.product-body h3 { font-size: 1.28rem; margin-bottom: 8px; }
.product-desc { color: var(--slate); font-size: .94rem; margin-bottom: 18px; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line); }
.price { font-family: var(--f-display); }
.price strong { font-size: 1.5rem; }
.price span { font-family: var(--f-mono); color: var(--slate); font-size: .72rem; letter-spacing: .04em; }

/* ---------- Produkt-Detail ---------- */
.detail-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: start; }
.gallery-main { aspect-ratio: 4/3; border-radius: var(--r-lg); overflow: hidden; background: var(--paper-2); border: 1px solid var(--line); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: flex; gap: 12px; margin-top: 14px; flex-wrap: wrap; }
.gallery-thumbs button { width: 86px; height: 64px; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: var(--paper-2); padding: 0; transition: border-color .15s; }
.gallery-thumbs button.active { border-color: var(--blue); border-width: 2px; }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.detail-info h1 { font-size: clamp(2rem, 4vw, 3rem); }
.detail-price { font-family: var(--f-display); margin: 22px 0; display: flex; align-items: baseline; gap: 10px; }
.detail-price strong { font-size: 2.4rem; color: var(--blue); }
.detail-price span { font-family: var(--f-mono); color: var(--slate); font-size: .82rem; }
.spec-list { list-style: none; margin: 24px 0; border-top: 1px solid var(--line); }
.spec-list li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.spec-list li span:first-child { font-family: var(--f-mono); font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--slate); }
.spec-list li span:last-child { font-weight: 600; font-family: var(--f-display); }

/* Belegte Zeiträume (Verfügbarkeitssperren) */
.block-note { border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; margin: 0 0 22px; background: var(--paper); }
.block-note-head { display: flex; align-items: center; gap: 9px; font-family: var(--f-display); font-weight: 600; font-size: 1rem; margin-bottom: 10px; }
.block-note-head svg { width: 18px; height: 18px; color: #9A6B0E; flex-shrink: 0; }
.block-note ul { list-style: none; margin: 0 0 8px; }
.block-note li { display: flex; justify-content: space-between; gap: 14px; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: .94rem; }
.block-note li:last-child { border-bottom: none; }
.block-note li span:first-child { font-family: var(--f-mono); font-weight: 500; }
.block-note p { font-size: .85rem; margin: 6px 0 0; }

/* ---------- Formulare ---------- */
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 34px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-family: var(--f-mono); font-weight: 500; font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 8px; color: var(--ink-2); }
.field .req { color: var(--blue); }
.input, .textarea, .select {
  width: 100%; font-family: var(--f-body); font-size: .98rem; color: var(--ink); padding: 13px 15px;
  border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); transition: border-color .15s, background .15s;
}
.input:focus, .textarea:focus, .select:focus { outline: none; border-color: var(--blue); background: #fff; }
.textarea { min-height: 130px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { font-size: .85rem; color: var(--slate); }
.alert { padding: 13px 16px; border-radius: var(--r); font-size: .94rem; margin-bottom: 18px; display: none; font-family: var(--f-body); }
.alert.show { display: block; }
.alert.ok  { background: #E6F6EC; color: #157A41; border: 1px solid #BCE3C9; }
.alert.err { background: #FBEAEA; color: #B23B37; border: 1px solid #F1C9C7; }

/* ---------- CTA-Block ---------- */
.cta-block { background: var(--ink); border-radius: var(--r-lg); padding: 70px; position: relative; overflow: hidden; border: 1px solid var(--ink); }
.cta-block::before {
  content: ""; position: absolute; inset: 0; opacity: .5;
  background-image: linear-gradient(var(--line-ink) 1px, transparent 1px), linear-gradient(90deg, var(--line-ink) 1px, transparent 1px);
  background-size: 48px 48px;
}
.cta-block > * { position: relative; }
.cta-block h2 { color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.8rem); }
.cta-block p { color: #aebfc5; margin-top: 14px; max-width: 520px; }

/* ---------- Kontakt-Info ---------- */
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--white); }
.info-card { padding: 30px; border-right: 1px solid var(--line); }
.info-card:last-child { border-right: none; }
.info-card .ic { width: 40px; height: 40px; color: var(--blue); margin-bottom: 16px; }
.info-card .ic svg { width: 100%; height: 100%; }
.info-card h4 { font-family: var(--f-mono); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--slate); margin-bottom: 8px; font-weight: 500; }
.info-card a, .info-card p { color: var(--ink); font-size: 1.02rem; font-family: var(--f-display); }
.info-card a:hover { color: var(--blue); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #9fb1b7; padding: 80px 0 32px; border-top: 1px solid var(--ink); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 44px; }
.site-footer .brand img { height: 32px; }
.footer-about { margin-top: 18px; font-size: .94rem; color: #8a9aa0; max-width: 280px; }
.footer-col h5 { font-family: var(--f-mono); color: #fff; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; font-weight: 500; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 11px; }
.footer-col a, .footer-col li { color: #9fb1b7; font-size: .94rem; }
.footer-col a:hover { color: var(--blue); }
.footer-bottom { border-top: 1px solid var(--line-ink); margin-top: 56px; padding-top: 26px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-family: var(--f-mono); font-size: .74rem; letter-spacing: .04em; color: #6b7d83; }
.footer-login { color: #5a6b71; transition: color .15s; }
.footer-login:hover { color: var(--blue); }
.footer-cookiebtn { background: none; border: none; padding: 0; cursor: pointer; color: #6b7d83; font-family: var(--f-mono); font-size: .74rem; letter-spacing: .04em; transition: color .15s; }
.footer-cookiebtn:hover { color: var(--blue); }

/* Consent-Banner */
.cc-banner { position: fixed; left: 0; right: 0; bottom: 0; z-index: 300; padding: 0 16px 16px; transform: translateY(130%); transition: transform .35s var(--ease); }
.cc-banner.show { transform: none; }
.cc-inner { max-width: var(--maxw); margin: 0 auto; background: var(--ink); color: #cfe9f2; border: 1px solid var(--line-ink); border-radius: var(--r-lg); padding: 20px 24px; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; box-shadow: var(--shadow-lg); }
.cc-text { flex: 1; min-width: 240px; }
.cc-text strong { font-family: var(--f-display); color: #fff; font-size: 1.02rem; display: block; margin-bottom: 6px; }
.cc-text p { font-size: .9rem; color: #aebfc5; margin: 0; }
.cc-text a { color: var(--blue); }
.cc-actions { display: flex; gap: 10px; flex-shrink: 0; }
@media (max-width: 600px) { .cc-actions { width: 100%; } .cc-actions .btn { flex: 1; } }

/* ---------- Auth / Admin ---------- */
.auth-wrap { min-height: calc(100vh - 78px); display: grid; place-items: center; padding: 48px 24px; }
.auth-wrap::before { content: ""; position: fixed; inset: 0; z-index: -1; opacity: .5;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 44px 44px; }
.auth-card { width: 100%; max-width: 440px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 44px; box-shadow: var(--shadow-lg); }
.auth-card .brand { justify-content: center; margin-bottom: 8px; }
.auth-card h1 { text-align: center; font-size: 1.5rem; margin-bottom: 8px; }
.auth-card .sub { text-align: center; color: var(--slate); font-size: .94rem; margin-bottom: 28px; font-family: var(--f-mono); letter-spacing: .04em; }

.admin-shell { display: grid; grid-template-columns: 264px 1fr; min-height: calc(100vh - 78px); }
.admin-side { background: var(--ink); padding: 30px 20px; color: #c3d0d8; }
.admin-side .au { display: flex; align-items: center; gap: 11px; padding: 13px; background: rgba(255,255,255,.05); border: 1px solid var(--line-ink); border-radius: var(--r); margin-bottom: 24px; }
.admin-side .au .av { width: 38px; height: 38px; border-radius: 6px; background: var(--blue); color: #fff; display: grid; place-items: center; font-family: var(--f-display); font-weight: 600; }
.admin-side .au small { color: #8a9aa0; display: block; font-family: var(--f-mono); font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; }
.admin-side .au strong { font-size: .88rem; color: #fff; word-break: break-all; font-family: var(--f-body); font-weight: 500; }
.admin-nav { list-style: none; }
.admin-nav button { width: 100%; text-align: left; background: none; border: none; color: #c3d0d8; font-family: var(--f-mono); font-weight: 500; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; padding: 13px 14px; border-radius: var(--r); display: flex; gap: 12px; align-items: center; transition: .15s; }
.admin-nav button:hover { background: rgba(255,255,255,.05); color: #fff; }
.admin-nav button.active { background: var(--blue); color: #fff; }
.admin-nav svg { width: 18px; height: 18px; }
.admin-main { padding: 40px; background: var(--paper); }
.admin-head { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.admin-head h1 { font-size: 1.7rem; }

.stat-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-bottom: 30px; }
.stat-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; }
.stat-card strong { font-family: var(--f-display); font-size: 2.2rem; display: block; letter-spacing: -.02em; }
.stat-card span { font-family: var(--f-mono); color: var(--slate); font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; }

.data-table { width: 100%; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; border-collapse: collapse; }
.data-table th { text-align: left; font-family: var(--f-mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--slate); padding: 15px 18px; background: var(--paper-2); border-bottom: 1px solid var(--line); font-weight: 500; }
.data-table td { padding: 15px 18px; border-bottom: 1px solid var(--line); font-size: .94rem; vertical-align: middle; }
.data-table tr:last-child td { border-bottom: none; }
.data-table .tn { display: flex; align-items: center; gap: 12px; }
.data-table .tn img, .data-table .tn .ph2 { width: 46px; height: 46px; border-radius: var(--r); object-fit: cover; background: var(--paper-2); flex-shrink: 0; border: 1px solid var(--line); }
.row-actions { display: flex; gap: 6px; }
.icon-btn { width: 34px; height: 34px; border-radius: var(--r); border: 1px solid var(--line); background: var(--white); display: grid; place-items: center; color: var(--slate); transition: .15s; }
.icon-btn:hover { border-color: var(--ink); color: var(--ink); }
.icon-btn.danger:hover { border-color: var(--red); color: var(--red); }
.icon-btn svg { width: 16px; height: 16px; }

.tag { display: inline-flex; font-family: var(--f-mono); font-weight: 500; font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; padding: 5px 10px; border-radius: 4px; }
.tag.green { background: #E6F6EC; color: #157A41; }
.tag.gray  { background: var(--paper-2); color: var(--slate); }
.tag.blue  { background: var(--blue-tint); color: var(--blue-900); }
.tag.amber { background: #FDF3D6; color: #8A6A0B; }

/* ---------- Modal ---------- */
.modal-backdrop { position: fixed; inset: 0; background: rgba(12,20,22,.6); backdrop-filter: blur(3px); z-index: 200; display: none; place-items: center; padding: 24px; overflow-y: auto; }
.modal-backdrop.open { display: grid; }
.modal { background: var(--white); width: 100%; max-width: 660px; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); margin: auto; }
.modal-head { display: flex; justify-content: space-between; align-items: center; padding: 22px 26px; border-bottom: 1px solid var(--line); }
.modal-head h3 { font-size: 1.25rem; }
.modal-body { padding: 26px; max-height: 70vh; overflow-y: auto; }
.modal-foot { padding: 18px 26px; border-top: 1px solid var(--line); display: flex; justify-content: flex-end; gap: 10px; }

.block-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: .94rem; }
.block-row:last-child { border-bottom: none; }
.block-row.is-past { opacity: .5; }
.block-row strong { font-family: var(--f-mono); font-weight: 500; }

.dropzone { border: 1px dashed var(--slate-2); border-radius: var(--r); padding: 28px; text-align: center; color: var(--slate); transition: .15s; cursor: pointer; font-family: var(--f-mono); font-size: .82rem; }
.dropzone:hover, .dropzone.drag { border-color: var(--blue); background: var(--blue-tint); color: var(--blue-900); }
.dropzone strong { font-family: var(--f-body); }
.thumb-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(94px, 1fr)); gap: 10px; margin-top: 14px; }
.thumb-grid .tw { position: relative; aspect-ratio: 1; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); }
.thumb-grid .tw img { width: 100%; height: 100%; object-fit: cover; }
.thumb-grid .tw button { position: absolute; top: 4px; right: 4px; width: 24px; height: 24px; border-radius: 4px; border: none; background: rgba(12,20,22,.8); color: #fff; display: grid; place-items: center; font-size: 14px; line-height: 1; }

/* ---------- States ---------- */
.empty-state { text-align: center; padding: 80px 20px; color: var(--slate); }
.empty-state svg { width: 56px; height: 56px; opacity: .3; margin: 0 auto 16px; }
.empty-state h3 { margin-bottom: 6px; }
.spinner { width: 36px; height: 36px; border: 2px solid var(--line); border-top-color: var(--blue); border-radius: 50%; animation: spin .7s linear infinite; margin: 70px auto; }
@keyframes spin { to { transform: rotate(360deg); } }
.skeleton { background: linear-gradient(90deg, var(--paper-2) 25%, var(--paper) 37%, var(--paper-2) 63%); background-size: 400% 100%; animation: sk 1.4s ease infinite; border-radius: var(--r-lg); border: 1px solid var(--line); }
@keyframes sk { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } }
.hidden { display: none !important; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* FAQ (Startseite) */
.faq { border-top: 1px solid var(--line); max-width: 860px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; padding: 22px 4px; display: flex; justify-content: space-between; align-items: center; gap: 18px; font-family: var(--f-display); font-weight: 600; font-size: 1.15rem; color: var(--ink); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-family: var(--f-mono); font-size: 1.5rem; color: var(--blue); flex-shrink: 0; }
.faq-item[open] summary::after { content: "\2013"; }
.faq-a { padding: 0 4px 24px; color: var(--slate); max-width: 760px; }
.faq-a p { margin: 0; }

/* Rechtstexte (Datenschutz/Impressum) */
.legal { margin-top: 28px; color: var(--slate); line-height: 1.8; }
.legal h2 { font-size: 1.45rem; color: var(--ink); margin: 44px 0 14px; padding-top: 26px; border-top: 1px solid var(--line); }
.legal h2:first-child { border-top: none; padding-top: 0; margin-top: 0; }
.legal h3 { font-size: 1.12rem; color: var(--ink); margin: 26px 0 8px; }
.legal h4 { font-size: .98rem; color: var(--ink-2); margin: 18px 0 6px; }
.legal p { margin: 0 0 12px; }
.legal ul { margin: 0 0 14px; padding-left: 20px; }
.legal li { margin-bottom: 8px; }
.legal a { color: var(--blue); word-break: break-word; }
.legal strong { color: var(--ink); }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; padding: 64px 0 50px; }
  .hero-visual { max-width: 460px; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split-sticky { position: static; }
  .cat-grid { grid-template-columns: 1fr; }
  .cat-cell { border-right: none; border-bottom: 1px solid var(--line); }
  .cat-cell:last-child { border-bottom: none; }
  .stats-band { grid-template-columns: repeat(2, 1fr); }
  .product-grid, .info-grid { grid-template-columns: repeat(2, 1fr); }
  .info-card { border-right: none; border-bottom: 1px solid var(--line); }
  .detail-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
  .admin-shell { grid-template-columns: 1fr; }
  .admin-side { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
  .admin-side .au { margin: 0; }
  .admin-nav { display: flex; gap: 6px; }
}
@media (max-width: 620px) {
  .section { padding: 70px 0; }
  .container { padding: 0 20px; }
  .product-grid, .info-grid, .stat-cards, .field-row, .footer-grid, .stepper, .stats-band { grid-template-columns: 1fr; }
  .cta-block { padding: 40px 28px; }
  .info-card { border-bottom: 1px solid var(--line); }
  .admin-main { padding: 24px 18px; }
  .data-table .hide-sm { display: none; }
  .hero-chip { left: 12px; }
}
