/* ============================================================
   Molvren – Modern, Precision Engineering Design System
   Entfernt jeglichen "AI-Slop"-Look zugunsten Schweizer/Deutscher
   Industrie-Ästhetik: Messerscharfe Typografie, technische Substanz,
   transparente Workflows und verlässliche Mittelstands-Architektur.
   ============================================================ */

:root {
  /* Primäre Basisfarben */
  --bg-main: #ffffff;
  --bg-subtle: #f8fafc;
  --bg-muted: #f1f5f9;
  --bg-dark: #090d14;
  --bg-dark-card: #111722;
  --bg-dark-border: rgba(255, 255, 255, 0.08);

  /* Marken-Akzente: Reifes Bronze-Gold & Graphit */
  --brand-gold: #b08d57;
  --brand-gold-hover: #9a7844;
  --brand-gold-light: #e5d3b3;
  --brand-gold-subtle: rgba(176, 141, 87, 0.08);

  /* Typografie & Text */
  --ink-950: #070a0e;
  --ink-900: #0f172a;
  --ink-800: #1e293b;
  --ink-700: #334155;
  --text-muted: #64748b;
  --text-subtle: #94a3b8;

  /* Rahmen & Schatten */
  --border-color: #e2e8f0;
  --border-subtle: #eaecf0;
  --border-focus: #b08d57;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-sm: 0 2px 6px -1px rgba(15, 23, 42, 0.05), 0 1px 4px -1px rgba(15, 23, 42, 0.03);
  --shadow-md: 0 10px 25px -4px rgba(15, 23, 42, 0.06), 0 4px 10px -2px rgba(15, 23, 42, 0.03);
  --shadow-lg: 0 20px 35px -8px rgba(15, 23, 42, 0.08), 0 8px 16px -4px rgba(15, 23, 42, 0.04);
}

/* ── Grundlegendes & Reset ─────────────────────────────────────────── */
[hidden] { display: none !important; }

body {
  background-color: var(--bg-main);
  color: var(--ink-800);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}

.container {
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: 32px;
}

/* ── Typografie ────────────────────────────────────────────────────── */
h1, h2, h3, h4 {
  color: var(--ink-900);
  letter-spacing: -0.03em;
  font-weight: 650;
  margin-top: 0;
}

h1 {
  font-size: clamp(2.4rem, 4.4vw, 3.8rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  margin-bottom: 20px;
}

h2 {
  font-size: clamp(1.85rem, 3.2vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.035em;
  margin-bottom: 16px;
}

h3 {
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 10px;
}

.lead {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--ink-700);
  max-width: 580px;
  margin-bottom: 28px;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-gold-hover);
  margin-bottom: 14px;
}

.eyebrow-light {
  color: var(--brand-gold-light);
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  display: inline-block;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
}

/* ── Buttons & Interaktives ────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 11px 20px;
  border-radius: var(--radius-sm);
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  line-height: 1.3;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--ink-900);
  color: #ffffff;
  border-color: var(--ink-900);
  box-shadow: 0 2px 5px rgba(15, 23, 42, 0.12);
}

.btn-primary:hover {
  background: #1e293b;
  border-color: #1e293b;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
  transform: translateY(-1px);
}

.btn-primary .btn-arrow {
  transition: transform 0.18s ease;
}

.btn-primary:hover .btn-arrow {
  transform: translate(2px, -2px);
}

.btn-secondary {
  background: #ffffff;
  color: var(--ink-800);
  border-color: var(--border-color);
  box-shadow: var(--shadow-xs);
}

.btn-secondary:hover {
  background: var(--bg-subtle);
  border-color: #cbd5e1;
  color: var(--ink-900);
}

.btn-gold {
  background: var(--brand-gold);
  color: #ffffff;
  border-color: var(--brand-gold);
}

.btn-gold:hover {
  background: var(--brand-gold-hover);
  border-color: var(--brand-gold-hover);
}

.btn-lg {
  padding: 14px 26px;
  font-size: 0.94rem;
}

.btn-sm {
  padding: 8px 14px;
  font-size: 0.8rem;
}

/* ── Navigation / Header ──────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  transition: border-color 0.2s ease;
}

.nav-row {
  display: flex;
  align-items: center;
  height: 74px;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--ink-950);
}

.brand-logo {
  width: 34px;
  height: 34px;
  transition: transform 0.2s ease;
}

.brand:hover .brand-logo {
  transform: scale(1.04);
}

.brand-name {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.035em;
  color: var(--ink-900);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
}

.nav-links a {
  font-size: 0.86rem;
  font-weight: 550;
  color: var(--ink-700);
  text-decoration: none;
  transition: color 0.15s ease;
}

.nav-links a:hover {
  color: var(--brand-gold);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-actions .btn {
  padding: 9px 18px;
  font-size: 0.84rem;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-color);
  padding: 8px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  margin-left: auto;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink-900);
  margin: 4px 0;
  border-radius: 2px;
  transition: 0.2s;
}

/* ── Hero Section ──────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 68px 0 76px;
  background: linear-gradient(180deg, #ffffff 0%, var(--bg-subtle) 100%);
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
}

/* Dezentes technisches Hintergrundgitter */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(15, 23, 42, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 23, 42, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 65% 55% at 50% 30%, #000 70%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 65% 55% at 50% 30%, #000 70%, transparent 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--ink-800);
  margin-bottom: 18px;
  box-shadow: var(--shadow-xs);
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 24px;
}

.hero-trust-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
}

.hero-avatars {
  display: flex;
  align-items: center;
}

.hero-avatars img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
  object-fit: cover;
  object-position: 50% 20%;
}

.hero-avatars img + img {
  margin-left: -10px;
}

.hero-trust-text {
  font-size: 0.8rem;
  line-height: 1.35;
  color: var(--text-muted);
}

.hero-trust-text strong {
  display: block;
  color: var(--ink-900);
  font-weight: 600;
}

/* ── Hero Visual: Klares Industrie-Foto ohne überdeckende Boxen ────── */
.hero-visual {
  position: relative;
}

.hero-photo-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
  background: #ffffff;
}

.hero-photo-card img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  object-position: 50% 20%;
  display: block;
}

.hero-photo-footer {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 22px;
  background: #ffffff;
  border-top: 1px solid var(--border-color);
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.hero-photo-footer strong {
  color: var(--ink-900);
}



.console-tab.is-active {
  color: #ffffff;
  border-bottom-color: var(--brand-gold);
  background: rgba(176, 141, 87, 0.05);
}

.console-tab svg {
  width: 14px;
  height: 14px;
  opacity: 0.8;
}

.console-content {
  padding: 20px;
}

.console-panel {
  display: none;
}

.console-panel.is-active {
  display: block;
  animation: fadeIn 0.2s ease-out;
}

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

/* Panel 1: RAG System */
.query-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  margin-bottom: 14px;
}

.query-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-subtle);
  margin-bottom: 6px;
}

.query-text {
  font-size: 0.82rem;
  color: #f8fafc;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}

.response-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-left: 3px solid var(--brand-gold);
  border-radius: var(--radius-sm);
  padding: 14px;
}

.response-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.verification-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.66rem;
  font-weight: 600;
  color: #34d399;
  background: rgba(52, 211, 153, 0.1);
  padding: 2px 7px;
  border-radius: var(--radius-sm);
}

.response-latency {
  font-size: 0.65rem;
  color: var(--text-subtle);
  font-family: monospace;
}

.response-body {
  font-size: 0.8rem;
  line-height: 1.6;
  color: #cbd5e1;
  margin-bottom: 12px;
}

.response-body strong {
  color: #ffffff;
}

.source-strip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.source-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--brand-gold-light);
  background: rgba(176, 141, 87, 0.1);
  border: 1px solid rgba(176, 141, 87, 0.2);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
}

.access-item {
  font-size: 0.68rem;
  color: var(--text-subtle);
  margin-left: auto;
}

/* Panel 2: Beleg-Pipeline (ERP) */
.order-pipeline {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.order-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.72rem;
  color: var(--text-subtle);
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.order-items-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.74rem;
}

.order-items-table th {
  text-align: left;
  padding: 6px 8px;
  color: var(--text-subtle);
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.order-items-table td {
  padding: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  color: #e2e8f0;
}

.item-badge {
  display: inline-block;
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 0.65rem;
  font-weight: 600;
}

.item-badge.match { background: rgba(52, 211, 153, 0.15); color: #34d399; }
.item-badge.warning { background: rgba(251, 191, 36, 0.15); color: #fbbf24; }

.pipeline-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  padding-top: 8px;
}

.pipeline-status {
  font-size: 0.7rem;
  color: var(--brand-gold-light);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Panel 3: Architecture Flow */
.flow-diagram {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 4px 0;
}

.flow-step {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
}

.flow-step-icon {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-sm);
  background: rgba(176, 141, 87, 0.15);
  color: var(--brand-gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.flow-step-text strong {
  display: block;
  font-size: 0.78rem;
  color: #f8fafc;
}

.flow-step-text span {
  font-size: 0.68rem;
  color: var(--text-subtle);
}

/* ── Trust Fact Bar ────────────────────────────────────────────────── */
.fact-band {
  background: #ffffff;
  border-bottom: 1px solid var(--border-color);
  padding: 24px 0;
}

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

.fact-item {
  display: flex;
  flex-direction: column;
  padding-left: 18px;
  border-left: 2px solid var(--brand-gold);
}

.fact-title {
  font-size: 0.92rem;
  font-weight: 650;
  color: var(--ink-900);
  margin-bottom: 3px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.fact-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* ── Sektionen Generell ────────────────────────────────────────────── */
.section {
  padding-block: 84px;
  position: relative;
}

.section-alt {
  background-color: var(--bg-subtle);
  border-block: 1px solid var(--border-subtle);
}

.section-head {
  max-width: 680px;
  margin-bottom: 48px;
}

.section-sub {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink-700);
  margin-top: 12px;
}

/* ── Leistungen (Core Capabilities) ────────────────────────────────── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-xs);
  position: relative;
}

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

.feature-tag {
  align-self: flex-start;
  font-size: 0.65rem;
  font-weight: 650;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--brand-gold-hover);
  background: var(--brand-gold-subtle);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  margin-bottom: 18px;
}

.feature-icon-wrapper {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-900);
  margin-bottom: 20px;
}

.feature-card:hover .feature-icon-wrapper {
  background: var(--ink-900);
  color: #ffffff;
  border-color: var(--ink-900);
}

.feature-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: var(--ink-900);
}

.feature-card p {
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--ink-700);
  margin: 0;
  flex: 1;
}

/* ── Einsatzfelder (Blueprint Showcase Cards - KEIN AI-STOCK) ──────── */
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.showcase-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.showcase-card:hover {
  border-color: #cbd5e1;
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

/* ── Einsatzfelder (Shopfloor-Fotografie + Technisches HUD) ──────── */
.showcase-photo-wrap {
  width: 100%;
  height: 230px;
  overflow: hidden;
  background: var(--bg-muted);
  border-bottom: 1px solid var(--border-subtle);
}

.showcase-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

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

.showcase-content {
  padding: 26px 24px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.showcase-category {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-gold-hover);
  margin-bottom: 8px;
  display: block;
}

.showcase-content h3 {
  font-size: 1.18rem;
  font-weight: 650;
  color: var(--ink-900);
  margin: 0 0 10px;
  line-height: 1.35;
}

.showcase-content p {
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--ink-700);
  margin: 0 0 18px;
  flex: 1;
}

.showcase-example-box {
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  border-left: 3px solid var(--brand-gold);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  margin-bottom: 18px;
  font-size: 0.8rem;
  line-height: 1.5;
}

.showcase-example-title {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.showcase-example-query {
  color: var(--ink-900);
  font-weight: 500;
}

.showcase-example-result {
  color: var(--brand-gold-hover);
  margin-top: 4px;
  font-weight: 600;
}

.metric-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 600;
  align-self: flex-start;
}


/* ── Sicherheit & Mittelstands-Compliance ─────────────────────────── */
.section-dark {
  background-color: var(--ink-950);
  color: #f8fafc;
  border-block: 1px solid rgba(255, 255, 255, 0.06);
}

.section-dark h2 {
  color: #ffffff;
}

.section-dark .section-sub {
  color: #94a3b8;
}

.compliance-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.compliance-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.compliance-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: rgba(176, 141, 87, 0.12);
  color: var(--brand-gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.compliance-card h3 {
  font-size: 1.05rem;
  color: #ffffff;
  margin-bottom: 8px;
}

.compliance-card p {
  font-size: 0.82rem;
  line-height: 1.65;
  color: #94a3b8;
  margin: 0;
}

/* ── Ablauf / Roadmap ──────────────────────────────────────────────── */
.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  position: relative;
}

.roadmap-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  box-shadow: var(--shadow-xs);
  display: flex;
  flex-direction: column;
  position: relative;
}

.roadmap-step-badge {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.roadmap-num {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--brand-gold);
  font-family: monospace;
}

.roadmap-time {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
}

.roadmap-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.roadmap-card p {
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--ink-700);
  margin: 0 0 16px;
}

.roadmap-checkmarks {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid var(--border-color);
  padding-top: 16px;
}

.roadmap-checkmarks li {
  font-size: 0.78rem;
  color: var(--ink-800);
  display: flex;
  align-items: center;
  gap: 7px;
}

.roadmap-checkmarks svg {
  color: #10b981;
  flex-shrink: 0;
}

/* ── Über uns / Das Team ───────────────────────────────────────────── */
.team-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
}

.team-copy h2 {
  margin-bottom: 18px;
}

.team-copy p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--ink-700);
  margin-bottom: 18px;
}

.team-quote {
  background: var(--bg-subtle);
  border-left: 3px solid var(--brand-gold);
  padding: 16px 20px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 24px 0 28px;
  font-size: 0.94rem;
  font-style: italic;
  color: var(--ink-800);
}

.team-portraits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

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

.team-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.team-card img {
  width: 100%;
  aspect-ratio: 4 / 4.8;
  object-fit: cover;
  object-position: 50% 20%;
  background: var(--bg-muted);
}

.team-card-info {
  padding: 18px 20px;
  border-top: 1px solid var(--border-subtle);
}

.team-card-info h3 {
  font-size: 1.05rem;
  margin: 0 0 3px;
  color: var(--ink-900);
}

.team-role {
  font-size: 0.78rem;
  color: var(--brand-gold-hover);
  font-weight: 600;
  margin-bottom: 10px;
  display: block;
}

.team-focus {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin: 0;
}

/* ── Kontakt & Formular ────────────────────────────────────────────── */
.section-contact {
  background: linear-gradient(180deg, var(--bg-subtle) 0%, #ffffff 100%);
  border-top: 1px solid var(--border-color);
  padding-block: 84px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 64px;
  align-items: start;
  background: none;
  border-radius: 0;
  padding: 0;
}

.contact-intro {
  padding-top: 10px;
}

.contact-intro h2 {
  color: var(--ink-900);
}

.contact-lead {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink-700);
  margin: 16px 0 28px;
}

.contact-details {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-details li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1rem;
  color: var(--ink-900);
}

.contact-details svg {
  color: var(--brand-gold);
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.contact-details a {
  color: var(--ink-900);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.15s ease;
}

.contact-details a:hover {
  color: var(--brand-gold);
}

.direct-booking-banner {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: var(--shadow-xs);
}

.direct-booking-banner strong {
  display: block;
  font-size: 0.92rem;
  color: var(--ink-900);
  margin-bottom: 4px;
}

.direct-booking-banner p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0 0 14px;
}

/* Kontaktformular Container */
.contact-form {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 36px 32px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-heading {
  margin-bottom: 6px;
}

.form-heading h3 {
  font-size: 1.25rem;
  margin-bottom: 4px;
}

.form-heading p {
  font-size: 0.84rem;
  color: var(--text-muted);
  margin: 0;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-800);
}

.field input,
.field textarea {
  font-family: inherit;
  font-size: 0.9rem;
  padding: 11px 14px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: var(--bg-subtle);
  color: var(--ink-900);
  transition: all 0.15s ease;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand-gold);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(176, 141, 87, 0.15);
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.45;
  cursor: pointer;
  margin-top: 4px;
}

.consent input {
  margin-top: 2px;
  accent-color: var(--brand-gold);
}

.consent a {
  color: var(--ink-800);
  text-decoration: underline;
}

.form-reassure {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.76rem;
  color: var(--text-muted);
  margin: 0;
}

.form-reassure svg {
  color: #10b981;
}

/* ── Footer ────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--ink-950);
  color: #cbd5e1;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 48px 0 36px;
}

.footer-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 28px;
}

.brand-footer .brand-name {
  color: #ffffff;
}

.footer-links {
  display: flex;
  gap: 24px;
  margin-left: auto;
}

.footer-links a {
  font-size: 0.84rem;
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #94a3b8;
  font-size: 0.8rem;
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-social-link:hover {
  color: #ffffff;
}

.footer-copy {
  flex-basis: 100%;
  margin: 18px 0 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.74rem;
  color: #64748b;
}

/* ── Responsive Anpassungen ────────────────────────────────────────── */
@media (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .system-console {
    max-width: 640px;
  }
  .fact-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .feature-grid,
  .showcase-grid,
  .compliance-grid,
  .roadmap-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .team-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .container {
    padding-inline: 20px;
  }
  .nav-actions {
    display: none;
  }
  .nav-toggle {
    display: block;
  }
  .nav-links {
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    background: #ffffff;
    border-bottom: 1px solid var(--border-color);
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
    gap: 18px;
    box-shadow: var(--shadow-md);
    display: none;
  }
  .nav-links.open {
    display: flex;
  }
  .hero {
    padding-block: 44px 54px;
  }
  .feature-grid,
  .showcase-grid,
  .compliance-grid,
  .roadmap-grid {
    grid-template-columns: 1fr;
  }
  .field-row {
    grid-template-columns: 1fr;
  }
  .team-portraits {
    grid-template-columns: 1fr;
  }
  .footer-links {
    margin-left: 0;
    width: 100%;
    flex-wrap: wrap;
    gap: 16px;
  }
}

/* ── Formular-Validierung & Status-Meldungen ─────────────────────── */
.field-error {
  display: block;
  font-size: 0.76rem;
  color: #ef4444;
  margin-top: 4px;
  font-weight: 500;
}
input.has-error,
textarea.has-error {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12) !important;
}
.consent input.has-error {
  outline: 2px solid #ef4444;
  outline-offset: 2px;
}
.form-note {
  font-size: 0.84rem;
  min-height: 1.2em;
  margin-top: 8px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  display: none;
}
.form-note.is-ok {
  display: block;
  background: rgba(16, 185, 129, 0.1);
  color: #065f46;
  border: 1px solid rgba(16, 185, 129, 0.25);
}
.form-note.is-error {
  display: block;
  background: rgba(239, 68, 68, 0.08);
  color: #991b1b;
  border: 1px solid rgba(239, 68, 68, 0.2);
}
.contact-form .consent {
  color: var(--text-muted) !important;
  font-size: 0.8rem !important;
}
.contact-form .consent a {
  color: var(--ink-900) !important;
  text-decoration: underline;
}

/* ── Modernes Booking-Modal Design ───────────────────────────────── */
.booking-backdrop {
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
}
.booking-dialog {
  border: 1px solid var(--border-color);
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.35);
  border-radius: var(--radius-lg);
}
.booking-head {
  background: #ffffff;
}
.booking-title {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--ink-900);
  margin: 4px 0 6px;
  letter-spacing: -0.025em;
}
.booking-close {
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  color: var(--ink-700);
}
.booking-close:hover {
  background: var(--bg-muted);
  color: var(--ink-900);
}
.bk-progress-step.is-current span {
  background: var(--ink-900);
  border-color: var(--ink-900);
  color: #ffffff;
}
.bk-progress-step.is-done span {
  background: var(--brand-gold-subtle);
  color: var(--brand-gold-hover);
  border-color: var(--brand-gold);
}
.bk-day {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  transition: all 0.15s ease;
}
.bk-day:hover {
  border-color: var(--brand-gold);
  background: var(--brand-gold-subtle);
}
.slot-button {
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  background: #ffffff;
  color: var(--ink-900);
  transition: all 0.15s ease;
}
.slot-button:hover {
  border-color: var(--brand-gold);
  background: var(--brand-gold-subtle);
}
.slot-button.active {
  background: var(--ink-900);
  color: #ffffff;
  border-color: var(--ink-900);
}
.booking-dialog .btn-primary {
  background: var(--ink-900);
}
.booking-dialog .btn-primary:hover {
  background: #1e293b;
}
