/* ==========================================================================
   Bauhof-Manager – Produkt-Homepage Design-System
   Dunkles Design (#0b1120 / #131c2e) · Kommunalorange RAL 2011 (#ec6b15)
   Rein lokal, keine externen Schriftarten oder CDNs, CSP-konform
   ========================================================================== */

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

:root {
  --bg: #0b1120;
  --bg-alt: #0f172a;
  --bg-deep: #070b14;
  --surface: #131c2e;
  --surface-subtle: #182338;
  --surface-elevated: #1a263d;

  --text: #f8fafc;
  --text-body: #cbd5e1;
  --text-muted: #94a3b8;
  --text-on-dark: #f8fafc;

  --border: #233047;
  --border-strong: #334155;

  /* Kommunalorange RAL 2011 */
  --accent: #ec6b15;
  --accent-hover: #f97316;
  --accent-soft: rgba(236, 107, 21, 0.16);
  --accent-border: rgba(251, 146, 60, 0.42);
  --accent-text: #fdba74;

  --navy: #1e293b;
  --navy-soft: rgba(59, 130, 246, 0.14);

  --ok: #4ade80;
  --ok-soft: rgba(34, 197, 94, 0.16);
  --warn: #fbbf24;
  --warn-soft: rgba(245, 158, 11, 0.18);
  --danger: #f87171;
  --danger-soft: rgba(239, 68, 68, 0.18);
  --info: #38bdf8;
  --info-soft: rgba(14, 165, 233, 0.16);

  --header-bg: rgba(11, 17, 32, 0.88);
  --grid-dot: rgba(255, 255, 255, 0.055);
  --hero-glow: rgba(236, 107, 21, 0.15);
  --hero-glow-2: rgba(56, 189, 248, 0.07);

  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.35);
  --shadow-sm: 0 6px 16px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 14px 36px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 28px 64px rgba(0, 0, 0, 0.6);

  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  color-scheme: dark;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  font-size: 16px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

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

/* Kommunale Leitlinie ganz oben */
.top-stripe {
  height: 3px;
  background: linear-gradient(90deg, var(--accent) 0%, #f97316 50%, var(--accent) 100%);
}

a {
  color: var(--accent-text);
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover {
  color: var(--accent-hover);
}

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

.wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---- Kopfbereich & Navigation ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--header-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text);
  font-weight: 700;
  flex-shrink: 0;
}

.brand:hover {
  color: var(--text);
}

.brand-icon {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  box-shadow: var(--shadow-xs);
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}

.brand-name span {
  color: var(--accent);
}

.brand-tag {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.01em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.main-nav a {
  color: var(--text-body);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.45rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: background 0.15s ease, color 0.15s ease;
}

.main-nav a:hover,
.main-nav a.is-active {
  color: var(--accent-text);
  background: var(--accent-soft);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 0;
}

.icon-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-body);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.icon-btn:hover {
  border-color: var(--border-strong);
  color: var(--text);
  background: var(--surface-subtle);
}

.icon-btn svg {
  width: 18px;
  height: 18px;
}

.menu-toggle {
  display: none;
}

/* ---- Atmosphärische Praxis-Fotokarten ---- */
.photo-band {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.photo-card {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.photo-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent-border);
  box-shadow: var(--shadow-md);
}

.photo-media {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--bg-deep);
}

.photo-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.photo-card:hover .photo-media img {
  transform: scale(1.03);
}

.photo-tag {
  position: absolute;
  left: 0.85rem;
  bottom: 0.85rem;
  background: rgba(11, 17, 32, 0.86);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(251, 146, 60, 0.45);
  color: #fdba74;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.24rem 0.62rem;
  border-radius: 999px;
}

.photo-body {
  padding: 1.15rem 1.3rem 1.3rem;
}

.photo-body h3 {
  font-size: 1.05rem;
  margin-bottom: 0.38rem;
}

.photo-body p {
  font-size: 0.89rem;
  color: var(--text-body);
}

/* Großes Betriebshof-Foto in der Praxis-Sektion */
.praxis-top {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 2.25rem;
  align-items: center;
}

.praxis-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow-md);
  background: var(--bg-deep);
}

.praxis-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.praxis-photo-cap {
  padding: 0.65rem 0.95rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  background: rgba(7, 11, 20, 0.75);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.praxis-cards-3 {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.72rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: 0.94rem;
  font-weight: 650;
  line-height: 1.2;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease, transform 0.12s ease, box-shadow 0.16s ease;
  text-decoration: none;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn-primary {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(226, 83, 3, 0.25);
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(226, 83, 3, 0.3);
}

.btn-secondary {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border-strong);
}

.btn-secondary:hover {
  background: var(--surface-subtle);
  color: var(--text);
  border-color: var(--text-muted);
}

.btn-sm {
  padding: 0.52rem 0.95rem;
  font-size: 0.86rem;
}

/* ---- Typografie & Sektionen ---- */
section {
  padding: 5.25rem 0;
  position: relative;
}

.section-alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-text);
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  margin-bottom: 0.95rem;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

h1, h2, h3, h4 {
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.25rem);
  font-weight: 800;
}

h3 {
  font-size: 1.16rem;
  font-weight: 700;
}

.section-head {
  max-width: 720px;
  margin-bottom: 2.75rem;
}

.section-head p {
  margin-top: 0.85rem;
  font-size: 1.06rem;
  color: var(--text-body);
}

/* ---- Hero-Bereich ---- */
.hero {
  padding: 4rem 0 4.5rem;
  background-image:
    radial-gradient(circle at 18% 12%, var(--hero-glow), transparent 45%),
    radial-gradient(circle at 85% 25%, var(--hero-glow-2), transparent 45%),
    radial-gradient(var(--grid-dot) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 24px 24px;
  border-bottom: 1px solid var(--border);
}

.hero-top {
  max-width: 820px;
  margin: 0 auto 2.6rem;
  text-align: center;
}

.hero-top h1 {
  margin-bottom: 1.1rem;
}

.hero-top h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero-lead {
  font-size: clamp(1.04rem, 1.6vw, 1.2rem);
  color: var(--text-body);
  max-width: 690px;
  margin: 0 auto 1.75rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin-bottom: 1.6rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem 1.4rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-muted);
}

.hero-badges span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.hero-badges svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
}

/* ---- Interaktiver 3-Oberflächen-Umschalter im Hero ---- */
.surface-switcher {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.surface-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.62rem 1.1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--text-body);
  font-size: 0.9rem;
  font-weight: 650;
  cursor: pointer;
  transition: all 0.16s ease;
  box-shadow: var(--shadow-xs);
}

.surface-tab svg {
  width: 17px;
  height: 17px;
  color: var(--text-muted);
}

.surface-tab:hover {
  border-color: var(--accent);
  color: var(--text);
}

.surface-tab.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(226, 83, 3, 0.28);
}

.surface-tab.is-active svg {
  color: #ffffff;
}

.surface-stage {
  max-width: 1080px;
  margin: 0 auto;
}

.surface-panel {
  display: none;
}

.surface-panel.is-active {
  display: block;
  animation: fadeUp 0.24s ease;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.surface-caption {
  margin-top: 0.95rem;
  text-align: center;
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* ---- Realistische App-Mockups (Bauhof Musterstadt) ---- */
.app-window {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.window-chrome {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  padding: 0.58rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.chrome-dots {
  display: flex;
  gap: 6px;
}

.chrome-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-strong);
}

.chrome-url {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.76rem;
  color: var(--text-muted);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 0.2rem 0.75rem;
  border-radius: 6px;
}

.chrome-badge {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--ok);
  background: var(--ok-soft);
  padding: 0.16rem 0.55rem;
  border-radius: 999px;
}

/* Mockup 1: Verwaltungs-Backend */
.mock-backend {
  display: grid;
  grid-template-columns: 215px 1fr;
  min-height: 460px;
  background: var(--bg);
}

.mock-sidebar {
  background: var(--surface);
  border-right: 1px solid var(--border);
  padding: 0.9rem 0.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.mock-sb-brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.2rem 0.35rem 0.8rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0.65rem;
}

.mock-sb-brand img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}

.mock-sb-title {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.15;
}

.mock-sb-sub {
  font-size: 0.68rem;
  color: var(--text-muted);
}

.mock-sb-group {
  font-size: 0.64rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  padding: 0.5rem 0.5rem 0.25rem;
}

.mock-sb-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.38rem 0.55rem;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-body);
  margin-bottom: 2px;
}

.mock-sb-item.is-active {
  background: var(--accent-soft);
  color: var(--accent-text);
  font-weight: 700;
}

.mock-sb-pill {
  font-size: 0.66rem;
  font-weight: 700;
  padding: 0.06rem 0.42rem;
  border-radius: 999px;
  background: var(--warn-soft);
  color: var(--warn);
}

.mock-sb-user {
  margin-top: 0.75rem;
  padding-top: 0.65rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.74rem;
}

.mock-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-text);
  font-weight: 800;
  font-size: 0.68rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mock-main {
  padding: 1.1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}

.mock-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.mock-topbar-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text);
}

.mock-topbar-meta {
  font-size: 0.76rem;
  color: var(--text-muted);
}

.mock-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

.mock-kpi {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.85rem;
}

.mock-kpi-label {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
}

.mock-kpi-val {
  font-size: 1.22rem;
  font-weight: 800;
  color: var(--text);
  margin: 0.15rem 0;
}

.mock-kpi-sub {
  font-size: 0.69rem;
  font-weight: 600;
}

.txt-ok { color: var(--ok); }
.txt-warn { color: var(--warn); }
.txt-accent { color: var(--accent-text); }
.txt-info { color: var(--info); }
.txt-strong { color: var(--text); }
.txt-muted { color: var(--text-muted); }
.user-name-sm { color: var(--text); display: block; line-height: 1.1; }
.user-role-sm { color: var(--text-muted); font-size: 0.68rem; }
.bar-diesel { width: 68%; background: var(--accent); }
.bar-adblue { width: 74%; background: #0284c7; }
.kiosk-icon { border-radius: 7px; }
.kiosk-val-orange { color: #fdba74; }
.kiosk-val-blue { color: #38bdf8; }
.kiosk-val-green { color: #4ade80; }
.kiosk-val-amber { color: #fbbf24; }
.phone-title { font-size: 0.86rem; display: block; line-height: 1.1; }
.phone-sub { font-size: 0.7rem; color: #64748b; }
.tank-h3 { font-size: 1.45rem; margin-bottom: 0.5rem; }
.eyebrow-dark {
  background: rgba(236, 107, 21, 0.2);
  border-color: rgba(251, 146, 60, 0.45);
  color: #fdba74;
}
.contact-lead { margin-top: 0.85rem; margin-bottom: 1.35rem; font-size: 1.02rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.contact-note { color: var(--text-muted); font-size: 0.84rem; }
.todo-hint {
  background: var(--warn-soft);
  border: 1px solid var(--accent-border);
  color: var(--text);
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  margin-bottom: 1.25rem;
}

.mock-grid-2 {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 0.85rem;
}

.mock-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.85rem 0.95rem;
}

.mock-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.65rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text);
}

.mock-badge {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.14rem 0.48rem;
  border-radius: 999px;
}

.badge-ok { background: var(--ok-soft); color: var(--ok); }
.badge-warn { background: var(--warn-soft); color: var(--warn); }
.badge-accent { background: var(--accent-soft); color: var(--accent-text); }
.badge-info { background: var(--info-soft); color: var(--info); }

.mock-list-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.42rem 0;
  border-top: 1px solid var(--border);
  font-size: 0.76rem;
}

.mock-list-row:first-of-type {
  border-top: 0;
  padding-top: 0.1rem;
}

.mock-bar-wrap {
  margin-top: 0.45rem;
}

.mock-bar-head {
  display: flex;
  justify-content: space-between;
  font-size: 0.73rem;
  margin-bottom: 0.25rem;
}

.mock-bar {
  height: 8px;
  border-radius: 999px;
  background: var(--bg-alt);
  overflow: hidden;
  margin-bottom: 0.6rem;
}

.mock-bar > span {
  display: block;
  height: 100%;
  border-radius: 999px;
}

/* Mockup 2: Infoscreen im Aufenthaltsraum (Kiosk 16:9 Dunkel-Optik) */
.mock-kiosk {
  background: #0b1220;
  color: #f1f5f9;
  padding: 1.15rem 1.3rem;
  min-height: 440px;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.kiosk-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #1e293b;
}

.kiosk-title {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 800;
  font-size: 1rem;
  color: #ffffff;
}

.kiosk-live {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  font-size: 0.72rem;
  font-weight: 700;
  background: rgba(34, 197, 94, 0.18);
  color: #4ade80;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
}

.kiosk-clock {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 1.05rem;
  font-weight: 800;
  color: #f8fafc;
}

.kiosk-alert {
  background: rgba(236, 107, 21, 0.18);
  border: 1px solid rgba(251, 146, 60, 0.45);
  color: #fed7aa;
  border-radius: 8px;
  padding: 0.55rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.kiosk-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 0.95fr;
  gap: 0.85rem;
  flex: 1;
}

.kiosk-box {
  background: #131c2e;
  border: 1px solid #233047;
  border-radius: 10px;
  padding: 0.85rem;
}

.kiosk-box h4 {
  color: #fdba74;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.6rem;
}

.kiosk-task {
  background: #1a263d;
  border-left: 3px solid #ec6b15;
  border-radius: 6px;
  padding: 0.48rem 0.6rem;
  margin-bottom: 0.45rem;
  font-size: 0.76rem;
}

.kiosk-task strong {
  display: block;
  color: #ffffff;
  font-size: 0.8rem;
}

.kiosk-task span {
  color: #94a3b8;
  font-size: 0.71rem;
}

.kiosk-kv {
  display: flex;
  justify-content: space-between;
  padding: 0.36rem 0;
  border-bottom: 1px solid #1e293b;
  font-size: 0.76rem;
  color: #cbd5e1;
}

.kiosk-kv:last-child {
  border-bottom: 0;
}

/* Mockup 3: Mobile Tankseite an der Zapfsäule (immer bewusst hell!) */
.tank-stage-wrap {
  display: grid;
  grid-template-columns: 330px 1fr;
  gap: 2rem;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2rem;
  box-shadow: var(--shadow-lg);
}

.phone-frame {
  background: #0f172a;
  border-radius: 30px;
  padding: 10px;
  box-shadow: var(--shadow-md);
  max-width: 320px;
  margin: 0 auto;
  width: 100%;
}

.phone-screen {
  background: #f8fafc;
  color: #0f172a;
  border-radius: 22px;
  padding: 1rem;
}

.phone-head {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.85rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid #e2e8f0;
}

.phone-head img {
  width: 28px;
  height: 28px;
  border-radius: 7px;
}

.phone-fuel-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
  margin-bottom: 0.75rem;
}

.fuel-pill {
  text-align: center;
  padding: 0.55rem;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 800;
  border: 2px solid #cbd5e1;
  color: #334155;
  background: #ffffff;
}

.fuel-pill.is-diesel {
  border-color: #e25303;
  background: #fff3eb;
  color: #c2410c;
}

.phone-field {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 0.5rem 0.65rem;
  margin-bottom: 0.6rem;
}

.phone-field label {
  display: block;
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #64748b;
}

.phone-field div {
  font-size: 0.86rem;
  font-weight: 700;
  color: #0f172a;
}

.phone-submit {
  background: #e25303;
  color: #ffffff;
  text-align: center;
  font-weight: 800;
  font-size: 0.88rem;
  padding: 0.68rem;
  border-radius: 8px;
  margin-top: 0.35rem;
}

.tank-points {
  display: grid;
  gap: 1rem;
}

.tank-point {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}

.point-icon {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: var(--accent-soft);
  color: var(--accent-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.point-icon svg {
  width: 20px;
  height: 20px;
}

/* ---- Faktenleiste unter dem Hero ---- */
.stats-strip {
  padding: 2.1rem 0;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.stat-item {
  border-left: 3px solid var(--accent);
  padding-left: 1rem;
}

.stat-num {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
}

.stat-label {
  font-size: 0.86rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

/* ---- Problem / Lösung: Warum eine zentrale Bauhof-App? ---- */
.bento-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-xs);
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-sm);
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent-text);
  border: 1px solid var(--accent-border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.card-icon svg {
  width: 22px;
  height: 22px;
}

.card h3 {
  margin-bottom: 0.55rem;
}

.card p {
  font-size: 0.94rem;
  color: var(--text-body);
}

.check-list {
  list-style: none;
  margin-top: 0.9rem;
  display: grid;
  gap: 0.45rem;
}

.check-list li {
  position: relative;
  padding-left: 1.45rem;
  font-size: 0.9rem;
  color: var(--text-body);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42rem;
  width: 14px;
  height: 8px;
  border-left: 2.2px solid var(--accent);
  border-bottom: 2.2px solid var(--accent);
  transform: rotate(-45deg);
}

/* ---- Interaktives Modul-Studio ---- */
.studio-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 1.5rem;
  align-items: start;
}

.studio-tabs {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.6rem;
}

.studio-tab {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  width: 100%;
  text-align: left;
  padding: 0.78rem 0.9rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-body);
  font-size: 0.92rem;
  font-weight: 650;
  cursor: pointer;
  transition: all 0.15s ease;
}

.studio-tab svg {
  width: 19px;
  height: 19px;
  color: var(--text-muted);
  flex-shrink: 0;
}

.studio-tab:hover {
  background: var(--surface-subtle);
  color: var(--text);
}

.studio-tab.is-active {
  background: var(--accent-soft);
  border-color: var(--accent-border);
  color: var(--accent-text);
}

.studio-tab.is-active svg {
  color: var(--accent);
}

.studio-content {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.studio-pane {
  display: none;
}

.studio-pane.is-active {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 1.75rem;
  align-items: start;
  animation: fadeUp 0.22s ease;
}

.studio-pane h3 {
  font-size: 1.38rem;
  margin-bottom: 0.65rem;
}

.studio-pane > div > p {
  font-size: 0.96rem;
  margin-bottom: 1rem;
}

.studio-preview {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.15rem;
}

.preview-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mini-row {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.6rem 0.75rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  font-size: 0.82rem;
}

.mini-row:last-child {
  margin-bottom: 0;
}

.mini-row strong {
  color: var(--text);
  display: block;
  font-size: 0.84rem;
}

.mini-row small {
  color: var(--text-muted);
  font-size: 0.74rem;
}

.day-bubbles {
  display: inline-flex;
  gap: 4px;
}

.day-bubble {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  font-size: 0.66rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-alt);
  color: var(--text-muted);
  border: 1px solid var(--border);
}

.day-bubble.is-on {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
}

/* ---- Praxis-Sektion („Aus der kommunalen Praxis“) ---- */
.praxis-box {
  background: linear-gradient(135deg, #131f35 0%, #0e1628 100%);
  border: 1px solid var(--border-strong);
  color: #f8fafc;
  border-radius: var(--radius-xl);
  padding: 2.75rem;
  display: block;
  box-shadow: var(--shadow-md);
}

.praxis-box h2 {
  color: #ffffff;
  margin-bottom: 0.9rem;
}

.praxis-box p {
  color: #cbd5e1;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.praxis-cards {
  display: grid;
  gap: 0.85rem;
}

.praxis-item {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 1rem 1.15rem;
}

.praxis-item strong {
  display: block;
  color: #fdba74;
  font-size: 0.92rem;
  margin-bottom: 0.2rem;
}

.praxis-item span {
  font-size: 0.85rem;
  color: #cbd5e1;
}

/* ---- Sicherheit, Rechte & Betrieb ---- */
.sec-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.perm-matrix {
  margin-top: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  font-size: 0.8rem;
}

.perm-row {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  padding: 0.48rem 0.75rem;
  border-top: 1px solid var(--border);
  background: var(--surface);
  align-items: center;
}

.perm-row.perm-head {
  border-top: 0;
  background: var(--bg-alt);
  font-weight: 700;
  color: var(--text);
}

/* ---- Ablauf in 4 Schritten ---- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.15rem;
}

.step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem;
  position: relative;
}

.step-num {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--accent);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.9rem;
}

.step-card h3 {
  font-size: 1.04rem;
  margin-bottom: 0.45rem;
}

.step-card p {
  font-size: 0.89rem;
}

/* ---- FAQ ---- */
.faq-list {
  max-width: 860px;
  display: grid;
  gap: 0.75rem;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.05rem 1.3rem;
  font-weight: 700;
  color: var(--text);
  font-size: 0.98rem;
  position: relative;
  padding-right: 2.8rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent);
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-body {
  padding: 0 1.3rem 1.15rem;
  font-size: 0.93rem;
  color: var(--text-body);
  border-top: 1px solid var(--border);
  padding-top: 0.9rem;
}

/* ---- Kontakt / Vorführung anfragen ---- */
.contact-card {
  background: var(--surface);
  border: 2px solid var(--accent-border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 2rem;
  align-items: center;
  box-shadow: var(--shadow-md);
}

.contact-details {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem;
  display: grid;
  gap: 0.9rem;
}

.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.92rem;
}

.contact-row svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-row strong {
  display: block;
  color: var(--text);
  font-size: 0.84rem;
}

/* ---- Rechtliche Unterseiten (Impressum / Datenschutz / 404) ---- */
.legal-page {
  padding: 3.5rem 0 4.5rem;
}

.legal-box {
  max-width: 820px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-xs);
}

.legal-box h1 {
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  margin-bottom: 1.5rem;
}

.legal-box h2 {
  font-size: 1.18rem;
  margin-top: 1.75rem;
  margin-bottom: 0.55rem;
}

.legal-box p,
.legal-box ul {
  font-size: 0.95rem;
  margin-bottom: 0.8rem;
}

.legal-box ul {
  padding-left: 1.3rem;
}

.legal-box li {
  margin-bottom: 0.35rem;
}

/* ---- Fußbereich ---- */
.site-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 2.75rem 0 2.25rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-brand img {
  width: 32px;
  height: 32px;
  border-radius: 7px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-weight: 600;
}

.footer-links a {
  color: var(--text-body);
}

.footer-links a:hover {
  color: var(--accent-text);
}

/* ---- Responsive Breakpoints (320px bis Desktop, garantiert ohne Überbreite) ---- */
@media (max-width: 1024px) {
  .mock-backend {
    grid-template-columns: 185px 1fr;
  }
  .mock-kpis {
    grid-template-columns: repeat(2, 1fr);
  }
  .kiosk-grid {
    grid-template-columns: 1fr 1fr;
  }
  .studio-layout {
    grid-template-columns: 1fr;
  }
  .studio-tabs {
    flex-direction: row;
    overflow-x: auto;
    padding: 0.45rem;
  }
  .studio-tab {
    width: auto;
    white-space: nowrap;
    padding: 0.6rem 0.85rem;
  }
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 860px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 0.85rem 1.25rem;
    flex-direction: column;
    align-items: stretch;
    box-shadow: var(--shadow-md);
  }
  .main-nav.is-open {
    display: flex;
  }
  .menu-toggle {
    display: inline-flex;
  }
  .header-cta-desktop {
    display: none;
  }
  .mock-backend {
    grid-template-columns: 1fr;
  }
  .mock-sidebar {
    display: none;
  }
  .mock-grid-2,
  .kiosk-grid,
  .tank-stage-wrap,
  .bento-3,
  .photo-band,
  .studio-pane.is-active,
  .praxis-box,
  .praxis-top,
  .praxis-cards-3,
  .sec-grid,
  .contact-card {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  section {
    padding: 3.75rem 0;
  }
  .praxis-box,
  .contact-card,
  .studio-content,
  .legal-box {
    padding: 1.5rem;
  }
}

@media (max-width: 520px) {
  .wrap {
    padding: 0 1rem;
  }
  .hero {
    padding: 2.6rem 0 3rem;
  }
  .hero-cta .btn {
    width: 100%;
  }
  .surface-switcher {
    flex-direction: column;
  }
  .surface-tab {
    width: 100%;
    justify-content: center;
  }
  .mock-kpis,
  .stats-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }
  .chrome-url {
    font-size: 0.68rem;
    padding: 0.15rem 0.45rem;
  }
  .perm-row {
    grid-template-columns: 1.4fr repeat(3, 0.8fr);
    font-size: 0.72rem;
    padding: 0.42rem 0.5rem;
  }
}

@media print {
  .site-header, .surface-switcher, .hero-cta, .icon-btn { display: none !important; }
  body { background: #ffffff; color: #000000; }
  section { padding: 1.5rem 0; break-inside: avoid; }
}
