/* Brinkhus Technologies — statischer Nachbau (T-1109)
   Design-Werte aus C:\bt-webseite\erfassung\SPEC.md und design_werte.json */

@font-face {
  font-family: "Roboto";
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url("../fonts/roboto-regular.woff2") format("woff2");
}
@font-face {
  font-family: "Roboto";
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  src: url("../fonts/roboto-medium.woff2") format("woff2");
}
@font-face {
  font-family: "Space Grotesk";
  font-weight: 500 700;
  font-style: normal;
  font-display: swap;
  src: url("../fonts/space-grotesk.woff2") format("woff2");
}

:root {
  --bg: #000000;
  --fg: #ffffff;
  --fg-muted: rgba(255, 255, 255, 0.72);
  --accent: #00ffff;
  --accent-strong: #00e6e6;
  --on-accent: #000000;
  --surface: #0a0a0a;
  --surface-border: rgba(0, 255, 255, 0.18);
  --header-bg: rgba(0, 0, 0, 0.95);
  --radius: 6px;
  --radius-lg: 16px;
  --max: 1200px;
  --gap-section: clamp(56px, 9vw, 128px);
  --gap-inline: clamp(20px, 5vw, 48px);
  --font-sans: "Roboto", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-display: "Space Grotesk", var(--font-sans);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

/* Ambiente Puls-Keyframe (T-1323, ANIMATIONEN.md Abschnitt 7 - Tailwind-Standard "pulse") */
@keyframes bt-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
@media (prefers-reduced-motion: reduce) {
  .cursor-blink, .hero-mark::before { animation: none !important; }
  .reveal { transition: none !important; opacity: 1 !important; transform: none !important; }
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.55;
  /* bewusst KEIN overflow-x:hidden auf html/body - das wuerde jede Ueberlauf-Messung
     unsichtbar machen (Lehre 22c095, T-001). Stattdessen: Wortumbruch absichern. */
  overflow-wrap: anywhere;
  word-break: normal;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  margin: 0 0 16px;
}
h1 { font-size: clamp(34px, 6.5vw, 72px); }
h2 { font-size: clamp(26px, 4.4vw, 36px); }
h3 { font-size: clamp(18px, 2.6vw, 20px); font-weight: 500; }

p { font-size: clamp(16px, 2vw, 20px); font-weight: 500; color: var(--fg-muted); margin: 0 0 16px; }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--gap-inline);
  padding-right: var(--gap-inline);
}

.section {
  padding: var(--gap-section) var(--gap-inline);
}
.section--tight { padding-top: calc(var(--gap-section) * 0.55); padding-bottom: calc(var(--gap-section) * 0.55); }
.section--surface { background: var(--surface); border-top: 1px solid var(--surface-border); border-bottom: 1px solid var(--surface-border); }

.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section-head p { font-size: 18px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header-bg);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
  gap: 24px;
}
/* T-2646 (26.09.2026): das Logo/Marken-Element war 43px (Desktop) bzw.
   36px (Mobil, nur Icon) hoch, unter der 44px-Mindestgroesse (Playwright-
   Messung). Tippflaeche per Padding + kompensierendem negativen Rand
   vergroessert - der Header hat 18px eigenen Innenabstand, die zusaetzliche
   Flaeche bleibt darin sichtbar, ohne die Kopfzeilenhoehe zu veraendern. */
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(18px, 2.1vw, 28px);
  color: var(--accent);
  white-space: normal;
  padding: 8px 6px;
  margin: -8px -6px;
}
.brand img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  /* ANIMATIONEN.md Abschnitt 2: Logo-Hover, Tailwind hover:scale-105, 150ms */
  transition: transform 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}
.brand:hover img, .brand:focus-visible img { transform: scale(1.05); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
  flex-wrap: wrap;
}
.nav-links a {
  font-size: 15px;
  color: var(--fg-muted);
  /* ANIMATIONEN.md Abschnitt 5: Tailwind-transition-colors-Standard, 150ms */
  transition: color 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  /* T-2646 (26.09.2026): Desktop-Nav-Punkte waren nur 18px hoch (reine
     Textzeile), unter der 44px-Mindestgroesse (Playwright-Messung bei
     1440px). Tippflaeche per Padding + kompensierendem negativen Rand
     vergroessert, ohne die sichtbare Kopfzeilenhoehe zu veraendern - der
     20px-Abstand (.nav-links gap) laesst genug Luft, ohne Nachbarn zu
     ueberlappen. Auf Mobilbreite ueberschreibt die spezifischere Regel
     ".nav-links > li:not(.nav-links-cta) > a" weiter unten dies mit einer
     echten Block-Tippflaeche. */
  display: inline-flex;
  align-items: center;
  padding: 13px 4px;
  margin: -13px -4px;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] { color: var(--accent); }
/* T-1323 Review Runde 1: eigener CTA-Eintrag im mobilen Menue (siehe bauen.py
   header_html), auf Desktopbreite ausgeblendet, weil dort der Header-CTA in
   .nav-actions schon sichtbar ist. */
.nav-links-cta { display: none; }
.footer-grid ul a {
  transition: color 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-actions { display: flex; align-items: center; gap: 16px; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  color: var(--fg);
  /* T-2646: 42x38px lag unter der 44px-Mindestgroesse fuer Tippflaechen
     (Playwright-Messung bei 390px). */
  width: 44px;
  height: 44px;
  cursor: pointer;
  font-size: 18px;
}
/* Icon als CSS-Inhalt statt Text im Button, damit er nicht im sichtbaren
   Seitentext (innerText) auftaucht - siehe T-1322 Textvergleich. */
.nav-toggle::before { content: "☰"; }
/* T-1322 Review Runde 1 Befund b: Original-Text ist "Zurück zu allen Use Cases" ohne
   Pfeil-Zeichen im Text-Node; der Pfeil bleibt hier rein dekorativ per ::before erhalten. */
.back-link::before { content: "← "; }
.nav-toggle[aria-expanded="true"]::before { content: "✕"; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--radius);
  border: 0;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 15px;
  cursor: pointer;
  text-align: center;
  /* ANIMATIONEN.md Abschnitt 5: CTA-Buttons nutzen nur transition-colors (150ms),
     kein Scale/Glow im Original - fruehere translateY/box-shadow-Zusaetze entfernt (T-1323). */
  transition: background-color 0.15s cubic-bezier(0.4, 0, 0.2, 1), color 0.15s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn-primary {
  background: var(--accent);
  color: var(--on-accent);
  /* T-2646 (26.09.2026): 12px ergab 42px Hoehe, 2px unter der 44px-
     Mindestgroesse (Playwright-Messung, Kontaktformular "Nachricht
     senden"). .btn-small (weiter unten, gewinnt bei Kombination) bleibt
     davon unberuehrt. */
  padding: 13px 28px;
}
.btn-primary:hover { background: var(--accent-strong); }
.btn-ghost {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 12px 26px;
}
.btn-ghost:hover { background: var(--accent); color: var(--on-accent); }
.btn-small { padding: 12px 18px; font-size: 14px; }
.btn-block { width: 100%; }

/* Hero */
.hero {
  position: relative;
  padding: var(--gap-section) var(--gap-inline);
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  overflow: hidden;
}
/* Wix-Original: leise Hintergrund-Deko oben links, opacity 15%, kein sichtbarer
   Rahmen/Pill (Quelle: home_full_source.html, Klasse "opacity-15") */
.eyebrow {
  position: absolute;
  top: 28px;
  left: var(--gap-inline);
  font-family: "Roboto Mono", ui-monospace, monospace;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--accent);
  opacity: 0.15;
  pointer-events: none;
}
.hero-mark {
  position: relative;
  width: 220px;
  height: 220px;
  margin: 0 auto 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0, 255, 255, 0.16), rgba(0, 255, 255, 0.03) 70%, transparent);
}
/* ANIMATIONEN.md Abschnitt 7: leuchtender Schein-Effekt hinter der Hero-Grafik,
   blur-xl scale-150 animate-pulse (Tailwind-Standard, 2s, infinite) */
.hero-mark::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 255, 255, 0.2);
  filter: blur(24px);
  border-radius: 50%;
  transform: scale(1.5);
  animation: bt-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
  z-index: -1;
}
/* ANIMATIONEN.md Abschnitt 7: blinkender Cursor hinter dem Terminal-Text */
.cursor-blink {
  color: var(--accent);
  animation: bt-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
.hero-mark img { width: 96px; height: 96px; object-fit: contain; filter: drop-shadow(0 0 18px rgba(0, 255, 255, 0.35)); }
/* T-2646: Sub-Header (Ueber uns, Leistungen, Use Cases, Warum Automatisierung) waren
   reiner Text ohne jedes visuelle Element - eine kleinere hero-mark-Variante mit
   Icon aus assets/icons (Phosphor, fill=currentColor) gibt jedem Hero einen Blickfang,
   ohne die kuerzeren Sub-Header-Texte zu erschlagen. */
.hero-mark--sm { width: 96px; height: 96px; margin-bottom: 20px; color: var(--accent); }
.hero-mark--sm svg { width: 44px; height: 44px; filter: drop-shadow(0 0 14px rgba(0, 255, 255, 0.35)); }
.hero-photo img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; filter: none; }
.hero-photo-platzhalter {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 44px;
  font-weight: 700;
  color: var(--accent);
  border: 2px dashed var(--surface-border);
}
.hero h1 { margin-bottom: 20px; }
.accent-text { color: var(--accent); }
.hero p.lead { font-size: clamp(17px, 2.4vw, 20px); max-width: 640px; margin-left: auto; margin-right: auto; }
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 32px; }

/* Grids */
.grid {
  display: grid;
  gap: 24px;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  height: 100%;
  /* ANIMATIONEN.md Abschnitt 3: Karten-Hover, Tailwind transition-all duration-300 */
  transition: border-color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.card:hover { border-color: rgba(0, 255, 255, 0.5); }
.card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background: rgba(0, 255, 255, 0.1);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 16px;
}
/* T-1322 Review Runde 1: Original benutzt an dieser Stelle Lucide-SVG-Icons statt Text/Emoji */
.card-icon svg { width: 22px; height: 22px; }
.card h3 { color: var(--fg); margin-bottom: 8px; }
.card p { font-size: 15px; margin-bottom: 0; }

/* ANIMATIONEN.md Abschnitt 4: Use-Case-Kachel mit Scale-Hover (Original: hover:scale-105
   transition-transform duration-300 auf einer Icon-Kachel; unser case-card zeigt statt
   Icon+Farbverlauf ein echtes Foto (T-1322-Entscheidung) - der Scale-Hover auf der ganzen
   Kachel bleibt trotzdem 1:1 uebertragbar und wird hier umgesetzt, die zusaetzliche
   group-hover:bg-primary/30-Icon-Einfaerbung entfaellt mangels Icon-Element in dieser Karte. */
.case-card { overflow: hidden; padding: 0; display: flex; flex-direction: column; cursor: pointer; transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
.case-card:hover { transform: scale(1.05); border-color: rgba(0, 255, 255, 0.5); }
.case-card img { width: 100%; height: 180px; object-fit: cover; }
.case-card .case-body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.case-tag { color: var(--accent); font-size: 13px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.04em; }
/* T-1613 Runde 5, Review-Befund 07.09.2026: sichtbares Label gegen die Existenzbehauptung
   eines realen, nie stattgefundenen Kundenprojekts (UWG Sec.5 Abs.1 Nr.3) - kein Wix-Original,
   bewusst zurueckhaltend (gestrichelter Rahmen, gedaempfte Farbe) statt eines auffaelligen Warnhinweises. */
.case-badge { display: inline-block; font-size: 12px; font-weight: 500; letter-spacing: 0.02em; color: var(--fg-muted); border: 1px dashed var(--surface-border); border-radius: 999px; padding: 5px 14px; margin-bottom: 18px; }
.case-tag-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.case-tag-row .case-badge { margin-bottom: 0; }
.case-card h3 { font-size: 20px; }
.case-card p { font-size: 15px; }
.case-card .btn { margin-top: auto; align-self: flex-start; }

.service-card { display: flex; flex-direction: column; gap: 12px; }
.service-card .label { color: var(--accent); font-size: 13px; font-weight: 500; }
.service-card ul { list-style: none; display: flex; flex-direction: column; gap: 4px; margin: 4px 0; }
.service-card ul li { font-size: 14px; color: var(--fg-muted); }
.service-card .btn { margin-top: 8px; align-self: flex-start; }

.stat { text-align: center; }
.stat .num { font-family: var(--font-display); font-size: clamp(30px, 4vw, 44px); font-weight: 700; color: var(--accent); }
.stat .label { color: var(--fg-muted); font-size: 14px; margin-top: 6px; }

.step { position: relative; padding-left: 8px; }
.step .step-num { font-family: var(--font-display); font-size: 34px; font-weight: 700; color: var(--accent); opacity: 0.5; }

.faq-item { border-bottom: 1px solid var(--surface-border); padding: 20px 0; }
.faq-item summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 18px;
  color: var(--fg);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  /* T-2646 (26.09.2026): die FAQ-Fragen (contact/) waren reiner Text ohne
     jedes visuelle Element (Kriterium 2) - ein Fragezeichen-Icon-Abzeichen
     als Hintergrundbild im Innenabstand, damit der bestehende Flex-Aufbau
     (Text links, "+"-Umschalter rechts per ::after) unangetastet bleibt. */
  padding-left: 34px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300ffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cpath d='M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3'%3E%3C/path%3E%3Cline x1='12' y1='17' x2='12.01' y2='17'%3E%3C/line%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left center;
  background-size: 22px 22px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--accent); font-size: 22px; transition: transform 0.15s ease; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin-top: 12px; margin-bottom: 0; font-size: 15px; }

.value-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.value-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 16px; color: var(--fg-muted); }
/* T-2646 (26.09.2026): der reine Text-Bullet-Punkt "•" machte Abschnitte wie
   "Wichtige Erkenntnisse" (about/, contact/, alle 5 Use-Case-Detailseiten -
   sieben Seiten insgesamt, grep auf value-list) zur Textwand ohne jedes
   visuelle Element (Kriterium 2). Ersetzt durch ein kleines Haken-Icon-
   Abzeichen im Cyan-Ton der Seite, ohne den bestehenden HTML-Aufbau der
   generierten Use-Case-Seiten anzufassen - eine einzige CSS-Aenderung wirkt
   auf allen sieben Fundstellen gleichzeitig. */
.value-list li::before {
  content: "";
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border-radius: 50%;
  background-color: rgba(0, 255, 255, 0.12);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300ffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px 12px;
}
.value-list strong { color: var(--fg); }

.contact-card { display: flex; align-items: flex-start; gap: 16px; }
.contact-card .card-icon { flex-shrink: 0; margin-bottom: 0; }
.contact-card h3 { margin-bottom: 4px; }
.contact-card p { margin-bottom: 2px; font-size: 15px; }
.contact-card .muted { font-size: 13px; color: var(--fg-muted); opacity: 0.75; }
/* T-2646 (26.09.2026): Mail-/Telefon-Links auf der Kontaktseite waren nur
   17-18px hoch, unter der 44px-Mindestgroesse (Playwright-Messung).
   Tippflaeche per Padding + kompensierendem negativen Rand vergroessert;
   die ueberlappende Flaeche reicht nur in reinen Fliesstext hinein (keine
   weiteren Links direkt daneben), also keine Verwechslungsgefahr. */
.contact-card p a,
.card p a[href^="mailto:"],
.card p a[href^="tel:"] {
  display: inline-flex;
  align-items: center;
  padding: 13px 4px;
  margin: -13px -4px;
}

.legal p, .legal li { color: var(--fg-muted); font-size: 16px; }
.legal h2 { margin-top: 40px; }
.legal h3 { color: var(--fg); margin-top: 24px; }

.cta-band {
  text-align: center;
  padding: var(--gap-section) var(--gap-inline);
  background: radial-gradient(60% 140% at 50% 0%, rgba(0, 255, 255, 0.08), transparent);
}
.cta-band h2 { margin-bottom: 12px; }
.cta-band p { max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-band .hero-actions { margin-top: 28px; }
/* T-2646 (26.09.2026): der Mail-Link im Abschluss-Block war nur 17px hoch,
   unter der 44px-Mindestgroesse (Playwright-Messung). Ausserhalb der Karten-
   und Kontakt-Regeln (eigener Absatz mit Inline-Style), deshalb ein eigener
   Selektor mit demselben Negativ-Rand-Trick. */
.cta-band p a[href^="mailto:"] {
  display: inline-flex;
  align-items: center;
  padding: 13px 4px;
  margin: -13px -4px;
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 64px var(--gap-inline) 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  max-width: var(--max);
  margin: 0 auto;
}
.footer-grid h4 { font-family: var(--font-display); font-size: 15px; margin: 0 0 16px; color: var(--fg); }
/* T-2646 (26.09.2026): gap von 10px auf 0 reduziert, weil die Links jetzt
   selbst 14px vertikales Padding tragen (44px-Tippflaeche) - sonst waere
   die Liste unnoetig lang geworden, wie schon beim mobilen Hauptmenue. */
.footer-grid ul { list-style: none; display: flex; flex-direction: column; gap: 0; }
.footer-grid ul a, .footer-grid ul span { color: var(--fg-muted); font-size: 14px; }
.footer-grid ul a:hover { color: var(--accent); }
/* Footer-Quicklinks (Home/Ueber uns/Leistungen/Use Cases) waren nur 17-20px
   hoch, unter der 44px-Mindestgroesse (Playwright-Messung). Echte Block-
   Tippflaeche statt Negativ-Rand-Trick, weil der urspruengliche 10px-Abstand
   fuer den Trick zu knapp gewesen waere (Ueberlappung mit dem Nachbarlink). */
.footer-grid ul a { display: block; padding: 14px 4px; margin: 0 -4px; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 18px; margin-bottom: 14px; }
.footer-brand img { width: 28px; height: 28px; }
.footer-grid p { font-size: 14px; margin-bottom: 8px; }
.footer-bottom {
  max-width: var(--max);
  margin: 40px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: var(--fg-muted);
}
.footer-bottom .legal-links { display: flex; gap: 20px; }
.footer-bottom .legal-links a:hover { color: var(--accent); }
/* T-2646 (26.09.2026): Datenschutz/Impressum waren nur 20px hoch, unter der
   44px-Mindestgroesse (Playwright-Messung). Der 20px-Zeilenabstand
   (.legal-links gap) laesst genug Luft fuer den Negativ-Rand-Trick, ohne
   Nachbarn zu ueberlappen. */
.footer-bottom .legal-links a {
  display: inline-flex;
  align-items: center;
  padding: 13px 4px;
  margin: -13px -4px;
}

/* Mythen / Kosten (why-automation) */
.myth-item { border-bottom: 1px solid var(--surface-border); padding: 20px 0; }
/* T-2646 (26.09.2026): die zitierten Einwaende (why-automation/) waren
   reiner Text ohne jedes visuelle Element (Kriterium 2) - ein Anfuehrungs-
   zeichen-Icon-Abzeichen als Hintergrundbild im Innenabstand. */
.myth-item .q {
  font-family: var(--font-display);
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 8px;
  padding-left: 34px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300ffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 21c3 0 7-1 7-8V5c0-1.25-.756-2.017-2-2H4c-1.25 0-2 .75-2 1.972V11c0 1.25.75 2 2 2 1 0 1 0 1 1v1c0 1-1 2-2 2s-1 .008-1 1.031V21z'%3E%3C/path%3E%3Cpath d='M15 21c3 0 7-1 7-8V5c0-1.25-.757-2.017-2-2h-4c-1.25 0-2 .75-2 1.972V11c0 1.25.75 2 2 2h.75c0 2.25.25 4-2.75 4v4z'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left top;
  background-size: 22px 22px;
}
.myth-item p { font-size: 15px; margin-bottom: 0; }

.cost-table { width: 100%; border-collapse: collapse; margin-top: 16px; }
.cost-table td { padding: 10px 0; border-bottom: 1px solid var(--surface-border); font-size: 15px; color: var(--fg-muted); }
.cost-table td:last-child { text-align: right; color: var(--fg); font-weight: 500; }
.cost-table tr.total td { color: var(--accent); font-weight: 700; font-size: 18px; border-bottom: none; padding-top: 16px; }

/* Chatwidget-Einbindungspunkt (Platzhalter, wird in T-1114 befuellt) */
#n8n-chat {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 60;
}

/* Mobile */
@media (max-width: 480px) {
  /* Wix-Original: Markenname neben dem Icon ist "hidden sm:block", auf sehr
     schmalen Handys bleibt nur das BT-Icon (Quelle: home_full_source.html) */
  .brand { font-size: 0; gap: 0; }
  .brand img { width: 36px; height: 36px; }
}

@media (max-width: 860px) {
  .nav-actions .btn { display: none; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  /* ANIMATIONEN.md Abschnitt 6: Mobil-Menue bleibt IM DOM (kein display:none), blendet
     ueber opacity ein/aus (kein Slide/Transform), gemessen ca. 300-330ms auf der Live-Seite. */
  .nav-links {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    background: var(--header-bg);
    padding: 20px var(--gap-inline) 28px;
    border-bottom: 1px solid var(--surface-border);
    /* T-2646: von 18px auf 4px reduziert, weil die Links jetzt selbst 13px
       vertikales Padding tragen (44px-Tippflaeche) - sonst waere die Liste
       unnoetig lang geworden. */
    gap: 4px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .site-header.is-open .nav-links {
    opacity: 1;
    pointer-events: auto;
  }
  .nav-links-cta { display: flex; margin-top: 4px; }
  /* T-2646: der btn-small im aufgeklappten Mobilmenue lag bei rund 39px Hoehe,
     unter der 44px-Mindestgroesse (Playwright-Messung bei 390px). */
  .nav-links-cta .btn { padding: 12px 24px; font-size: 15px; }
  /* T-2646: die Menue-Punkte selbst (Home, Ueber uns, ...) waren nur 18px hoch
     (reine Textzeile ohne Tippflaeche), unter der 44px-Mindestgroesse
     (Playwright-Messung bei 390px). Jeder Punkt bekommt eine volle, block-
     hafte Tippflaeche statt nur die Schriftzeile. */
  .nav-links > li:not(.nav-links-cta) { width: 100%; }
  .nav-links > li:not(.nav-links-cta) > a { display: block; padding: 13px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ANIMATIONEN.md Abschnitt 1: Scroll-Reveal (Framer-Motion whileInView-Aequivalent).
   Ausgangs-/Zielzustand und Timing 1:1 aus dem Katalog (opacity 0->1, translateY(30px)->none,
   ~0.6s ease-out, once:true -> Klasse wird nach dem ersten Sichtbarwerden dauerhaft gesetzt). */
.reveal { opacity: 1; transform: none; }
.js .reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(0, 0, 0.2, 1), transform 0.6s cubic-bezier(0, 0, 0.2, 1);
}
.js .reveal.is-visible { opacity: 1; transform: none; }
/* .case-card traegt gleichzeitig .reveal (ist ein .card) UND einen eigenen
   Hover-Scale (Abschnitt 4). Ohne !important gewinnt die hoehere Selektor-
   Spezifitaet von .js .reveal.is-visible (3 Klassen) gegen .case-card:hover
   (2 Klassen) und friert transform:none dauerhaft ein, sobald die Karte einmal
   eingeblendet wurde - gefunden per Playwright-Beleglauf t1323_pruefen.py (T-1323). */
.case-card:hover { transform: scale(1.05) !important; }
/* Gestaffelte Verzoegerung je Kartenposition in einer Reihe (Bundle-Fund delay:v*.1) */
.grid > .reveal:nth-child(1) { transition-delay: 0s; }
.grid > .reveal:nth-child(2) { transition-delay: 0.1s; }
.grid > .reveal:nth-child(3) { transition-delay: 0.2s; }
.grid > .reveal:nth-child(4) { transition-delay: 0.3s; }
.grid > .reveal:nth-child(5) { transition-delay: 0.4s; }
.grid > .reveal:nth-child(6) { transition-delay: 0.5s; }
@media (max-width: 640px) {
  .hero-actions .btn { width: 100%; }
  .hero-actions { flex-direction: column; }
}
/* T-2646 (26.09.2026, Review-Nachbesserung): auf Contact und den 5
   Use-Case-Detailseiten steht das erste .hero-actions direkt im .hero, ohne
   lange Seite davor - auf 390px landet der primaere CTA-Knopf dadurch im
   unteren Drittel des Viewports, exakt dort, wo die fest positionierte
   Chat-Blase unten rechts sitzt (Platzhalter #bt-chat-toggle-placeholder,
   rund 64px breit plus 12-88px Bodenabstand je nach Sticky-Leisten-Zustand,
   siehe n8n-chat-theme.css). Playwright-Live-Beleg (Review 26.09.2026):
   Kreismittelpunkt der Chat-Blase lag direkt auf dem Knopf-Rechteck
   (dist=0) auf allen 5 Use-Case-Seiten, 17px daneben auf /contact/. Diese
   Regel schmaelert NUR die Knoepfe im allerersten .hero-actions eines
   .hero (genau diese 6 Seiten betroffen, siehe Grep-Beleg im Task-Verlauf)
   und laesst sie am linken Rand stehen statt sie ueber die volle Breite zu
   ziehen - der rechte Rand bleibt damit klar vor der Chat-Reserve. Alle
   anderen .hero-actions (Homepage-Hero, cta-band-Abschluss auf allen
   anderen Seiten) sind unveraendert volle Breite. */
@media (max-width: 640px) {
  .hero .hero-actions .btn {
    width: calc(100% - 84px);
  }
}

/* T-2159: neue Startseite, Video-Hero und Bewegung beim Scrollen */
.hero-v2 {
  position: relative;
  min-height: min(92vh, 760px);
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}
.hero-v2-media {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--bg);
}
.hero-v2-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-v2-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.72) 55%, rgba(0, 0, 0, 0.92) 100%),
    radial-gradient(60% 60% at 50% 35%, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.75) 100%);
}
.hero-v2-inner {
  position: relative;
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
  padding: 96px 0 64px;
}
.hero-v2-inner h1 { margin-bottom: 20px; }
.hero-v2-proof {
  margin-top: 28px;
  font-size: 15px;
  color: var(--fg-muted);
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}
/* T-2646 (26.09.2026): war nur 21px hoch, unter der 44px-Mindestgroesse
   (Playwright-Messung). Tippflaeche per Padding + kompensierendem
   negativen Rand vergroessert, margin-top gleich mitverrechnet. */
.hero-v2-scroll {
  display: inline-flex;
  align-items: center;
  margin-top: 8px;
  padding: 12px 4px;
  font-size: 13px;
  color: var(--fg-muted);
  border-bottom: 1px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.hero-v2-scroll:hover { color: var(--accent); border-color: var(--accent); }

/* Video komplett anhalten statt nur die CSS-Uebergaenge, wenn der Nutzer
   reduzierte Bewegung eingestellt hat (siehe hero-video.js) - der erste
   Frame bleibt stehen, keine Endlosschleife mehr. */
@media (prefers-reduced-motion: reduce) {
  .hero-v2-media video { animation: none; }
}

.trust-bar {
  border-bottom: 1px solid var(--surface-border);
  background: var(--surface);
}
.trust-bar-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 32px;
  padding: 18px var(--gap-inline);
  font-size: 13px;
  color: var(--fg-muted);
}
.trust-item { white-space: nowrap; }

.fw-card { display: flex; flex-direction: column; }
.fw-card p { font-size: 15px; flex: 1; }
/* T-2646 (26.09.2026): "Mehr dazu ->"-Kartenlinks waren nur 21-22px hoch,
   unter der 44px-Mindestgroesse (Playwright-Messung). Tippflaeche per
   Padding + kompensierendem negativen Rand vergroessert - die Karte hat
   darunter genug eigenen Innenabstand, keine Ueberlappung mit Nachbarn. */
.fw-link {
  color: var(--accent);
  font-size: 14px;
  font-weight: 500;
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  padding: 12px 4px;
  margin-left: -4px;
  margin-right: -4px;
  margin-bottom: -12px;
}

.fallbeispiel { margin-bottom: 24px; }
.fallbeispiel:last-of-type { margin-bottom: 0; }
/* T-2800: echtes Kundenlogo (Vektor, dunkle Fuellfarben) auf dunklem Karten-
   hintergrund, deshalb weisse Chip-Flaeche dahinter - sonst unsichtbar. */
.fallbeispiel-logo {
  display: block;
  height: 28px;
  width: auto;
  max-width: 194px;
  background: #ffffff;
  padding: 6px 10px;
  border-radius: 6px;
  margin-bottom: 12px;
}
.fallbeispiel-tag {
  display: inline-block;
  color: var(--accent);
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}
.fallbeispiel h3 { color: var(--fg); margin-bottom: 14px; }
.fallbeispiel p { font-size: 16px; }
.fallbeispiel-hinweis { font-size: 14px; opacity: 0.8; margin-bottom: 0; }

@media (max-width: 640px) {
  .hero-v2 { min-height: auto; padding-top: 24px; padding-bottom: 24px; }
  /* Unten mehr Luft als auf Desktop, damit der scroll-Hinweis nicht unter dem
     fest positionierten Chat-Knopf (#n8n-chat, rechts unten) verschwindet. */
  .hero-v2-inner { padding: 56px 0 88px; }
  /* Lange Vertrauensleiste-Eintraege duerfen auf schmalen Handys umbrechen statt
     ueber den Viewport hinauszulaufen (T-2159, gefunden bei 390px: 3px Ueberlauf
     durch "Sitz in Oldenburg, Kundenprojekte ..." mit white-space:nowrap). */
  .trust-item { white-space: normal; text-align: center; max-width: 100%; }
}

/* T-1324: Kontaktformular */
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.form-feld { display: flex; flex-direction: column; gap: 6px; }
.form-feld label { font-size: 14px; font-weight: 500; color: var(--fg-muted); }
.form-feld input, .form-feld textarea {
  background: var(--bg);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: 15px;
  padding: 12px 14px;
  resize: vertical;
  transition: border-color 0.15s ease;
}
.form-feld input:focus-visible, .form-feld textarea:focus-visible {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 255, 255, 0.25);
}
.form-status { min-height: 20px; font-size: 14px; margin: 0; }
.form-status--fehler { color: #ff6b6b; }
.form-status--erfolg { color: var(--accent); }
.form-status--info { color: var(--fg-muted); }
.contact-form button[type="submit"] { align-self: flex-start; }
.contact-form button[type="submit"]:disabled { opacity: 0.6; cursor: not-allowed; }

/* T-2161: Skip-Link fuer Tastaturnutzer (WCAG 2.4.1) */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1000;
  background: var(--accent);
  color: var(--on-accent);
  padding: 10px 18px;
  border-radius: 0 0 var(--radius) 0;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus-visible {
  left: 0;
}
