/* ============================================================
   Helmut Zerrle Schweißtechnik-Großhandel GmbH
   Zentrales Stylesheet – dunkles Industrie-Design
   ------------------------------------------------------------
   Die Akzentfarbe (Zerrle-Blau) wird hier EINMAL definiert.
   Zum Anpassen nur --accent / --accent-dark / --accent-2
   ändern – alle Buttons, Icons und Hervorhebungen folgen.
   ============================================================ */

:root {
  --accent:      #1e88e5;   /* Zerrle-Blau – ggf. exakten Logo-Ton eintragen */
  --accent-dark: #1668b5;
  --accent-2:    #55aaff;   /* helle Blau-Variante für Text und Icons auf Dunkel */
  --accent-glow: rgba(30, 136, 229, .35);

  --bg:      #0f1317;       /* Seitenhintergrund */
  --bg-alt:  #141a20;       /* alternierende Sektionen */
  --bg-deep: #0a0d10;       /* dunkelste Bänder + Footer */
  --bg-card: #171e25;       /* Karten */
  --line:    #262f39;

  --ink:      #edf1f5;      /* Haupttext auf Dunkel */
  --ink-soft: #98a4b0;

  --radius: 6px;
  --shadow: 0 14px 34px rgba(0, 0, 0, .45);
  --maxw:   1180px;

  --font: -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-head: "Bahnschrift", "Arial Narrow", "Segoe UI", Arial, sans-serif;
}

/* ---------- Basis ---------- */

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.12;
  margin: 0 0 .6em;
  font-weight: 800;
  letter-spacing: .015em;
  color: #fff;
  overflow-wrap: break-word;
  hyphens: auto;
}

h1, h2 { text-transform: uppercase; }

h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.2rem; text-transform: uppercase; letter-spacing: .04em; }

p { margin: 0 0 1em; }

a { color: var(--accent-2); text-decoration: none; }
a:hover { color: #8cc6ff; }

.accent { color: var(--accent-2); }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 22px;
}

section { padding: 80px 0; }

.section-soft { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-dark { background: var(--bg-deep); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: var(--ink-soft); }

.kicker {
  display: inline-block;
  position: relative;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent-2);
  padding-bottom: 10px;
  margin-bottom: .9em;
}

.kicker::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 46px;
  height: 3px;
  background: var(--accent);
}

.section-head.center .kicker::after {
  left: 50%;
  transform: translateX(-50%);
}

.lead {
  font-size: 1.13rem;
  color: var(--ink-soft);
  max-width: 720px;
}

.section-head { max-width: 780px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 3px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .92rem;
  letter-spacing: .07em;
  text-transform: uppercase;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background .15s ease, color .15s ease, border-color .15s ease, box-shadow .15s ease;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover {
  background: var(--accent-dark);
  color: #fff;
  box-shadow: 0 8px 22px var(--accent-glow);
}

.btn-outline {
  background: transparent;
  color: var(--accent-2);
  border-color: var(--accent-2);
}
.btn-outline:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

.btn-light {
  background: #fff;
  color: #14181d;
}
.btn-light:hover { background: var(--accent-2); color: #0a0d10; }

.btn-group { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-group.center { justify-content: center; }

/* ---------- Platzhalter für Fotos ----------
   Jeder Platzhalter zeigt eine Beschriftung („Foto: …").
   Später im CMS/Baukasten einfach durch echte Bilder ersetzen. */

.ph {
  position: relative;
  width: 100%;
  border: 2px dashed #37424e;
  border-radius: var(--radius);
  background:
    repeating-linear-gradient(45deg, #1a2129 0 18px, #151b22 18px 36px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-height: 120px;
}

.ph-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(10, 13, 16, .82);
  color: var(--ink-soft);
  font-size: .85rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  max-width: 90%;
  text-align: center;
}

.ph-label::before {
  content: "";
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2398a4b0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M23 19a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h4l2-3h6l2 3h4a2 2 0 0 1 2 2z'/%3E%3Ccircle cx='12' cy='13' r='4'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

.ph-16x9 { aspect-ratio: 16 / 9; }
.ph-4x3  { aspect-ratio: 4 / 3; }
.ph-3x4  { aspect-ratio: 3 / 4; }
.ph-1x1  { aspect-ratio: 1 / 1; }

.ph-avatar {
  width: 64px;
  height: 64px;
  min-height: 64px;
  border-radius: 50%;
  flex: 0 0 64px;
}
.ph-avatar .ph-label { font-size: .55rem; padding: 3px 6px; gap: 3px; }
.ph-avatar .ph-label::before { width: 10px; height: 10px; }

/* ---------- Top-Leiste ---------- */

.top-bar {
  background: var(--bg-deep);
  border-bottom: 1px solid var(--line);
  font-size: .82rem;
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 42px;
  padding-top: 6px;
  padding-bottom: 6px;
}

.top-slogan {
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.top-slogan em {
  font-style: italic;
  color: var(--accent-2);
}

.top-links { display: flex; gap: 18px; align-items: center; }

.top-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-soft);
  font-weight: 600;
  white-space: nowrap;
}

a.top-item:hover { color: #fff; }

.top-item .chip {
  width: 26px;
  height: 24px;
  background: var(--accent);
  clip-path: polygon(7px 0, 100% 0, calc(100% - 7px) 100%, 0 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.top-item .chip svg {
  width: 13px;
  height: 13px;
  stroke: #fff;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Sprachumschalter */
.lang-switch { display: flex; gap: 2px; align-items: center; flex: 0 0 auto; }

.lang-switch a {
  padding: 3px 7px;
  font-family: var(--font-head);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink-soft);
  border-radius: 3px;
}

.lang-switch a:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.lang-switch a.active { color: #fff; background: var(--accent); }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 19, 23, .96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}

/* Zwei Zeilen wie beim Vorbild: oben Logo + Buttons,
   darunter eine eigene Navigationsleiste über die volle Breite. */

.header-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.logo {
  order: 1;
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 16px 0;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: #fff;
  white-space: nowrap;
}
.logo:hover { color: #fff; }
.logo .logo-mark { color: var(--accent-2); }
.logo .logo-sub {
  display: none;
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

@media (min-width: 1024px) {
  .logo .logo-sub { display: inline; }
}

.main-nav {
  order: 3;
  flex: 0 0 100%;
  border-top: 1px solid var(--line);
}

.main-nav ul {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav a {
  display: block;
  position: relative;
  padding: 13px 6px;
  font-family: var(--font-head);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: #c6cfd8;
  white-space: nowrap;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 6px;
  right: 6px;
  bottom: 6px;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .18s ease;
}

.main-nav a:hover { color: #fff; }
.main-nav a:hover::after { transform: scaleX(1); }
.main-nav a.active { color: var(--accent-2); }
.main-nav a.active::after { transform: scaleX(1); }

.header-cta { order: 2; margin-left: auto; display: flex; gap: 8px; }
.header-cta .btn { padding: 10px 16px; font-size: .76rem; white-space: nowrap; }

.nav-cta-mobile { display: none; }

.nav-toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: #fff;
  margin: 5px 0;
  border-radius: 2px;
}

/* ---------- Hero (Bild vollflächig, Text im Overlay) ---------- */

.hero,
.page-hero {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 0;
  background: var(--bg-deep);
  border-bottom: 1px solid var(--line);
}

.hero { min-height: 620px; }
.page-hero { min-height: 440px; }

.hero-bg {
  position: absolute;
  inset: 0;
  border: none;
  border-radius: 0;
  min-height: 0;
}

.hero-bg .ph-label {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 1;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 11, 14, .95) 0%, rgba(8, 11, 14, .78) 45%, rgba(8, 11, 14, .35) 100%),
    linear-gradient(0deg, rgba(8, 11, 14, .65) 0%, rgba(8, 11, 14, 0) 30%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: 84px;
  padding-bottom: 84px;
}

.page-hero .hero-content { padding-top: 64px; padding-bottom: 64px; }

.hero-content h1 { max-width: 850px; }
.hero-content .lead { max-width: 640px; }

.hero h1, .page-hero h1 { margin-bottom: .4em; }

.hero .lead, .page-hero .lead { margin-bottom: 1.7em; }

.hero-badge {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-head);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 7px 18px;
  clip-path: polygon(9px 0, 100% 0, calc(100% - 9px) 100%, 0 100%);
  margin-bottom: 22px;
}

/* ---------- Hero-Zahlen (direkt im Startbild) ---------- */
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 48px;
  margin-top: 42px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, .14);
}
.hero-stat { display: flex; flex-direction: column; }
.hero-stat-num {
  position: relative;
  font-family: var(--font-head);
  font-size: clamp(1.4rem, 2.3vw, 2.1rem);
  font-weight: 800;
  text-transform: uppercase;
  color: var(--accent-2);
  line-height: 1.1;
  white-space: nowrap;
  padding-bottom: 12px;
}
.hero-stat-num::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 34px;
  height: 3px;
  background: var(--accent);
}
.hero-stat-label {
  margin-top: 9px;
  color: var(--ink-soft);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
}

/* ---------- Zahlen-Leiste ---------- */

.stats {
  background: var(--bg-deep);
  border-bottom: 1px solid var(--line);
  padding: 46px 0;
}

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

.stat-number {
  position: relative;
  font-family: var(--font-head);
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
  font-weight: 800;
  text-transform: uppercase;
  color: var(--accent-2);
  line-height: 1.1;
  padding-bottom: 14px;
  margin-bottom: 10px;
}

.stat-number::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 38px;
  height: 3px;
  background: var(--accent);
}

.stat-label {
  color: var(--ink-soft);
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* ---------- Kachel-Grid ---------- */

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

.card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  transition: box-shadow .18s ease, transform .18s ease, border-color .18s ease;
}

a.card { color: var(--ink); }

.card:hover {
  box-shadow: var(--shadow), 0 0 0 1px var(--accent);
  transform: translateY(-4px);
  border-color: var(--accent);
}

.card .icon {
  width: 58px;
  height: 48px;
  background: var(--accent);
  clip-path: polygon(11px 0, 100% 0, calc(100% - 11px) 100%, 0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.card .icon svg {
  width: 26px;
  height: 26px;
  stroke: #fff;
}

.card h3 { margin-bottom: .5em; }

.card p { color: var(--ink-soft); font-size: .96rem; flex: 1; }

.card .card-link {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-top: 8px;
}
.card:hover .card-link { color: #8cc6ff; }

/* ---------- USP-Blöcke ---------- */

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

.usp {
  padding: 26px 24px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius);
}

.usp .icon {
  width: 52px;
  height: 44px;
  background: var(--accent);
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.usp .icon svg { width: 24px; height: 24px; stroke: #fff; }
.usp h3 { font-size: 1rem; margin: 14px 0 6px; }
.usp p { font-size: .92rem; color: var(--ink-soft); margin: 0; }

/* ---------- Split-Layout (Text + Bild) ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.split.reverse > :first-child { order: 2; }

.check-list { list-style: none; padding: 0; margin: 0 0 1.6em; }

.check-list li {
  position: relative;
  padding-left: 34px;
  margin-bottom: 12px;
  color: var(--ink-soft);
}

.check-list li strong { color: var(--ink); }

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 22px;
  height: 22px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2355aaff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10' fill='%2312314f' stroke='none'/%3E%3Cpath d='M8 12.5l2.5 2.5L16 9.5'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

/* ---------- Ablauf / Schritte ---------- */

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

.step {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
}

.step-number {
  min-width: 54px;
  height: 42px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: .04em;
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
  margin-bottom: 18px;
}

.step p { color: var(--ink-soft); font-size: .96rem; }

/* ---------- Lieferanten- / Logo-Leiste ---------- */

.logo-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.logo-strip .ph {
  min-height: 74px;
  aspect-ratio: auto;
}

.logo-strip .ph-label { font-size: .72rem; padding: 5px 10px; }

.logo-item {
  background: #fff;
  border-radius: var(--radius);
  min-height: 90px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-item img {
  max-height: 58px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.logo-item.logo-more {
  background: var(--bg-card);
  border: 1px dashed #37424e;
  color: var(--ink-soft);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* ---------- Echte Fotos ---------- */

img.photo {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Team-Karten mit Dreh-Effekt (Vorderseite Foto, Rückseite E-Mail) ---------- */

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

.flip-card {
  perspective: 1200px;
  cursor: pointer;
  outline: none;
}

.flip-card:focus-visible .flip-inner { box-shadow: 0 0 0 3px var(--accent); }

.flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform .6s cubic-bezier(.4, .1, .2, 1);
  border-radius: var(--radius);
}

.flip-card.flipped .flip-inner { transform: rotateY(180deg); }

.flip-front,
.flip-back {
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.flip-front {
  position: relative;
  background: var(--bg-card);
  padding: 20px 20px 24px;
}

.flip-card:hover .flip-front { border-color: var(--accent); }

.flip-front .ph,
.flip-front img.photo { margin-bottom: 18px; }

.flip-front h3, .flip-back h3 { margin-bottom: .25em; }

.flip-role {
  color: var(--accent-2);
  font-size: .88rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.flip-hint {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .78rem;
  color: var(--ink-soft);
}

.flip-hint::before {
  content: "";
  width: 12px;
  height: 12px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2398a4b0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='23 4 23 10 17 10'/%3E%3Cpath d='M20.49 15a9 9 0 1 1-2.12-9.36L23 10'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

/* Nicht gedrehte Rückseite auch aus der Tab-Reihenfolge nehmen;
   die Verzögerung hält sie während der halben Drehung sichtbar. */
.flip-card:not(.flipped) .flip-back {
  visibility: hidden;
  transition: visibility 0s .3s;
}
.flip-card.flipped .flip-back { visibility: visible; }

.flip-back {
  position: absolute;
  inset: 0;
  transform: rotateY(180deg);
  background: linear-gradient(160deg, var(--accent-dark) 0%, #0d2b4a 100%);
  border-color: var(--accent-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
}

.flip-back .flip-role { color: #9ec7ec; }

.flip-back p { color: #c9dcef; }

.flip-email {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: #fff;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 4px;
  padding: 10px 16px;
  margin: 14px 0 18px;
  word-break: break-all;
}

.flip-email:hover { background: rgba(255, 255, 255, .22); color: #fff; }

.flip-email svg {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  stroke: #fff;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.flip-back .flip-hint { color: #9db8d2; }

.flip-back .flip-hint::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239db8d2' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='23 4 23 10 17 10'/%3E%3Cpath d='M20.49 15a9 9 0 1 1-2.12-9.36L23 10'/%3E%3C/svg%3E");
}

/* ---------- Kundenstimmen ---------- */

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

.testimonial {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
}

.testimonial blockquote {
  margin: 0 0 20px;
  font-size: .97rem;
  color: var(--ink-soft);
  flex: 1;
}

.testimonial blockquote::before {
  content: "\201E";
  display: block;
  font-size: 2.6rem;
  line-height: .4;
  color: var(--accent-2);
  margin-bottom: 12px;
  font-family: Georgia, serif;
}

.testimonial-person {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-person strong { display: block; font-size: .95rem; color: #fff; }
.testimonial-person span { font-size: .85rem; color: var(--ink-soft); }

/* ---------- Bewertungs-Slider (Google) ---------- */
.reviews-summary {
  text-align: center;
  color: var(--ink-soft);
  margin: -18px 0 34px;
  font-size: .95rem;
}
.reviews-stars { color: #f5b301; letter-spacing: 2px; margin-right: 8px; }

.reviews-slider { position: relative; max-width: 760px; margin: 0 auto; }
.reviews-viewport { overflow: hidden; }
.reviews-track { display: flex; transition: transform .5s ease; }

.review-card {
  flex: 0 0 100%;
  box-sizing: border-box;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 36px;
  text-align: center;
}
.review-card .placeholder-note { margin-bottom: 14px; }
.review-stars { color: #f5b301; font-size: 1.15rem; letter-spacing: 3px; margin-bottom: 16px; }
.review-card blockquote {
  margin: 0 0 22px;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--ink);
}
.review-author { display: flex; align-items: center; justify-content: center; gap: 12px; }
.review-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head);
  font-weight: 700; font-size: .95rem;
  flex: 0 0 auto;
}
.review-author strong { display: block; color: #fff; font-size: .95rem; }
.review-source { font-size: .8rem; color: var(--ink-soft); }

.reviews-arrow {
  position: absolute;
  top: 42%;
  transform: translateY(-50%);
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--bg-deep);
  color: var(--ink);
  font-size: 1.6rem; line-height: 1;
  cursor: pointer; z-index: 2;
  transition: border-color .2s, color .2s;
}
.reviews-arrow:hover { border-color: var(--accent); color: var(--accent-2); }
.reviews-prev { left: -8px; }
.reviews-next { right: -8px; }

.reviews-dots { display: flex; justify-content: center; gap: 9px; margin-top: 22px; }
.reviews-dots button {
  width: 9px; height: 9px;
  border-radius: 50%;
  border: none;
  background: var(--line);
  cursor: pointer; padding: 0;
  transition: background .2s, transform .2s;
}
.reviews-dots button.active { background: var(--accent); transform: scale(1.25); }

.reviews-cta { text-align: center; margin-top: 30px; }

/* ---------- Standort-Karte (Google Maps, Consent) ---------- */
.map-embed {
  position: relative;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  overflow: hidden;
  background: var(--bg-card);
  aspect-ratio: 16 / 7;
  min-height: 300px;
}
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-open { text-align: center; margin: 18px 0 0; }
/* Kontakt: Karte sitzt in einer 2-Spalten-Zeile neben dem Anfahrtstext.
   Breite an die Spalte binden (sonst rechnet aspect-ratio die Breite aus der
   min-height und die Karte laeuft ueber den Text). Hoehe passt zur Textspalte. */
.split .map-embed { width: 100%; aspect-ratio: 4 / 3; min-height: 0; }
@media (max-width: 940px) {
  .split .map-embed { aspect-ratio: 3 / 2; min-height: 280px; }
}
@media (max-width: 620px) {
  .map-embed { aspect-ratio: 4 / 3; min-height: 280px; }
}
.map-consent {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 14px;
  padding: 30px;
}
.map-consent svg {
  width: 40px; height: 40px;
  fill: none;
  stroke: var(--accent-2);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.map-consent p { max-width: 460px; color: var(--ink-soft); font-size: .92rem; margin: 0; }

/* ---------- News- & Karriere-Seite (dynamisch) ---------- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.news-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 26px 28px;
  display: flex;
  flex-direction: column;
  transition: border-color .2s ease, transform .2s ease;
}
.news-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.news-cat {
  align-self: flex-start;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-head);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.news-card time { display: block; color: var(--ink-soft); font-size: .82rem; margin-bottom: 8px; }
.news-card h3 { margin: 0 0 10px; font-size: 1.2rem; line-height: 1.25; }
.news-card p { margin: 0; color: #c9dcef; font-size: .95rem; line-height: 1.6; }
.news-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--ink-soft);
  padding: 46px 0;
}
@media (max-width: 940px) { .news-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .news-grid { grid-template-columns: 1fr; } }

.career-loc {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--ink-soft);
  font-size: .88rem;
  margin: 0 0 12px;
}
.career-loc svg { width: 16px; height: 16px; fill: none; stroke: var(--accent-2); stroke-width: 1.8; flex: 0 0 auto; }
.career-desc { white-space: pre-line; }
.btn-sm { padding: 9px 18px; font-size: .82rem; }
.career-card .btn-sm { align-self: flex-start; margin-top: auto; }

/* ---------- Vor-/Nachteile (Pro-Contra) ---------- */
.procon-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.procon {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 30px 34px;
}
.procon h3 { margin: 0 0 18px; font-size: 1.3rem; }
.procon-pro { border-top: 3px solid var(--accent); }
.procon-con { border-top: 3px solid #e0803a; }
.cross-list { list-style: none; margin: 0; padding: 0; }
.cross-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 13px;
  color: #c9dcef;
  line-height: 1.5;
}
.cross-list li:last-child { margin-bottom: 0; }
.cross-list li::before {
  content: "✕";
  position: absolute;
  left: 4px;
  top: -1px;
  color: #e0803a;
  font-weight: 700;
}
@media (max-width: 760px) { .procon-grid { grid-template-columns: 1fr; } }

/* Foto-Platzhalter (bis echtes Bild vorhanden) */
.ph-photo {
  aspect-ratio: 3 / 2;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
}

@media (max-width: 560px) {
  .reviews-prev { left: -4px; }
  .reviews-next { right: -4px; }
  .reviews-arrow { width: 36px; height: 36px; font-size: 1.3rem; }
  .review-card { padding: 26px 20px; }
}

.placeholder-note {
  display: inline-block;
  font-size: .76rem;
  font-weight: 700;
  color: #eec36a;
  background: #33270e;
  border: 1px solid #5c4a1a;
  border-radius: 4px;
  padding: 2px 8px;
  margin-bottom: 14px;
}

/* ---------- FAQ ---------- */

.faq { max-width: 820px; margin: 0 auto; }

.faq details {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}

.faq details[open] { border-color: var(--accent); }

.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 52px 18px 22px;
  font-weight: 700;
  color: #fff;
  position: relative;
}

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

.faq summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--accent-2);
  transition: transform .2s ease;
}

.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }

.faq details p {
  padding: 0 22px 18px;
  margin: 0;
  color: var(--ink-soft);
}

/* ---------- Kontakt-CTA / Formular ---------- */

.contact-cta .split { align-items: start; }

.contact-phone {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 800;
  color: var(--accent-2);
  display: inline-block;
  margin: 6px 0 4px;
}
.contact-phone:hover { color: #8cc6ff; }

.contact-meta { color: var(--ink-soft); font-size: .95rem; }

.contact-person {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
  padding: 18px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.contact-person strong { color: #fff; }

.contact-portrait {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 22%;
  border: 2px solid var(--accent);
  flex: 0 0 auto;
}

form.contact-form {
  background: #fff;
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
  color: #252a30;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.form-field { margin-bottom: 14px; }

.form-field label {
  display: block;
  font-size: .85rem;
  font-weight: 700;
  margin-bottom: 5px;
  color: #252a30;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid #c6ccd2;
  border-radius: 4px;
  font: inherit;
  font-size: .95rem;
  color: #252a30;
  background: #fff;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 0;
  border-color: var(--accent);
}

.form-consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: .84rem;
  color: #5a6067;
  margin: 4px 0 18px;
}

.form-consent a { color: var(--accent-dark); }

.form-consent input { margin-top: 4px; flex: 0 0 auto; }

.form-note { font-size: .8rem; color: #5a6067; margin-top: 12px; }

/* Honeypot-Feld gegen Spam – für Menschen unsichtbar, für Bots ein Köder. */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Statusmeldung nach dem Absenden (per JS gesetzt). */
.form-status { margin-top: 14px; font-size: .95rem; font-weight: 600; line-height: 1.5; }
.form-status:empty { display: none; }
.form-status.is-sending { color: #5a6067; }
.form-status.is-ok { color: #1f8a4c; }
.form-status.is-error { color: #c23b22; }

/* ---------- Reparaturauftrag-Formular ---------- */

.repair-wrap { max-width: 940px; margin: 0 auto; }

.contact-form .form-heading {
  color: #14181d;
  font-size: 1rem;
  letter-spacing: .05em;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 8px;
  margin: 30px 0 16px;
}

.contact-form .form-heading:first-of-type { margin-top: 0; }

.attention-box {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: #fdecea;
  border-left: 4px solid #d93025;
  border-radius: 4px;
  padding: 14px 16px;
  margin: 6px 0 16px;
  font-size: .88rem;
  color: #7a1c14;
}

.attention-tag {
  flex: 0 0 auto;
  background: #d93025;
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 3px;
}

.check-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px 16px;
  margin-bottom: 12px;
}

.check-grid label {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: .92rem;
  color: #252a30;
}

.check-grid input { flex: 0 0 auto; }

.order-info {
  font-size: .86rem;
  color: #4a5158;
  background: #f4f6f8;
  border-radius: 6px;
  padding: 18px 20px;
  margin-bottom: 16px;
}

.order-info p:last-child { margin-bottom: 0; }

.baugruppen {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 14px 0;
}

.baugruppen h4 {
  color: #252a30;
  font-size: .8rem;
  letter-spacing: .04em;
  margin-bottom: 6px;
}

.baugruppen ul { list-style: none; margin: 0; padding: 0; }
.baugruppen li { margin-bottom: 3px; }

@media (max-width: 940px) {
  .check-grid { grid-template-columns: repeat(2, 1fr); }
  .baugruppen { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .check-grid { grid-template-columns: 1fr; }
  .baugruppen { grid-template-columns: 1fr; }
}

/* ---------- CTA-Band (Unterseiten) ---------- */

.cta-band { text-align: center; }
.cta-band .section-head { margin-bottom: 28px; }

/* ---------- Karte (Platzhalter) ---------- */

.map-placeholder { min-height: 380px; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  padding: 64px 0 0;
  font-size: .95rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}

.site-footer h4 {
  color: #fff;
  font-size: .92rem;
  letter-spacing: .08em;
  margin-bottom: 16px;
}

.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 9px; }

.site-footer a { color: var(--ink-soft); }
.site-footer a:hover { color: #fff; }

.footer-logo {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 14px;
}
.footer-logo .logo-mark { color: var(--accent-2); }

.social-icons { display: flex; gap: 12px; margin-top: 18px; }

.social-icons a {
  width: 38px;
  height: 34px;
  background: rgba(255, 255, 255, .08);
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.social-icons a:hover { background: var(--accent); }
.social-icons svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: #fff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 20px 0;
  font-size: .85rem;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---------- Cookie-Hinweis ---------- */

.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 560px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 44px rgba(0, 0, 0, .5);
  padding: 22px;
  z-index: 200;
  display: none;
}

.cookie-banner.visible { display: block; }

.cookie-banner p { font-size: .88rem; color: var(--ink-soft); margin-bottom: 14px; }
.cookie-banner strong { color: var(--ink); }

.cookie-banner .btn { padding: 10px 20px; font-size: .82rem; }

/* ---------- Textseiten (Impressum, Datenschutz) ---------- */

.legal-content { max-width: 820px; }
.legal-content h2 { font-size: 1.3rem; margin-top: 2em; }
.legal-content h3 { font-size: 1.05rem; margin-top: 1.6em; }
.legal-content p, .legal-content li { color: var(--ink-soft); }

.legal-hint {
  background: #33270e;
  border-left: 4px solid #b58324;
  border-radius: 4px;
  padding: 16px 20px;
  font-size: .92rem;
  color: #eec36a;
  margin-bottom: 32px;
}

/* ---------- Responsive ---------- */

@media (max-width: 1199px) {
  .nav-toggle { display: block; order: 2; }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    border-top: none;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 12px 22px 22px;
  }

  .main-nav.open { display: block; }

  .main-nav ul { flex-direction: column; gap: 0; margin-left: 0; }
  .main-nav a {
    padding: 13px 8px;
    font-size: .98rem;
    border-bottom: 1px solid var(--line);
    white-space: normal;
  }
  .main-nav a::after { display: none; }

  .main-nav .nav-cta-mobile { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
  .main-nav .nav-cta-mobile a { border-bottom: none; }

  .header-cta { display: none; }
}

@media (max-width: 940px) {
  .hero { min-height: 520px; }
  .page-hero { min-height: 380px; }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(8, 11, 14, .92) 0%, rgba(8, 11, 14, .82) 60%, rgba(8, 11, 14, .6) 100%),
      linear-gradient(0deg, rgba(8, 11, 14, .7) 0%, rgba(8, 11, 14, 0) 35%);
  }

  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 16px; }

  .card-grid, .card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }

  .team-grid { grid-template-columns: repeat(2, 1fr); }

  .usp-grid { grid-template-columns: repeat(2, 1fr); }

  .split, .split.reverse { grid-template-columns: 1fr; gap: 36px; }
  .split.reverse > :first-child { order: 0; }

  .steps { grid-template-columns: 1fr; }

  .logo-strip { grid-template-columns: repeat(2, 1fr); }

  .testimonial-grid { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .top-slogan, .top-links { display: none; }
  .top-bar-inner { justify-content: flex-end; min-height: 36px; }
}

@media (max-width: 560px) {
  section { padding: 52px 0; }

  .card-grid, .card-grid.cols-2 { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .usp-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .logo-strip { grid-template-columns: repeat(2, 1fr); }

  .logo { font-size: 1.15rem; }
  .hero-bg .ph-label { right: 10px; bottom: 10px; font-size: .72rem; }
}

/* ---------- Footer-Credit (Ersteller) ---------- */
.footer-credit {
  flex-basis: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 2px 0 20px;
  font-size: .82rem;
  color: var(--ink-soft);
}
.footer-credit .credit-mark {
  font-family: Consolas, "SFMono-Regular", ui-monospace, monospace;
  font-weight: 700;
  color: var(--accent-2);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 2px 7px;
  background: rgba(30, 136, 229, .08);
  transition: box-shadow .3s ease, border-color .3s ease;
}
.footer-credit:hover .credit-mark {
  border-color: var(--accent);
  box-shadow: 0 0 16px var(--accent-glow, rgba(30, 136, 229, .35));
}
.footer-credit .credit-studio {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-head);
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent-2);
}
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .footer-credit .credit-studio {
    background: linear-gradient(90deg, #8cc6ff, #1e88e5 55%, #8cc6ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}
.footer-credit .credit-pong {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 10px var(--accent-glow, rgba(30, 136, 229, .5));
  animation: creditPong 1.6s ease-in-out infinite;
}
@keyframes creditPong {
  0%, 100% { transform: translateY(-3px); }
  50% { transform: translateY(3px); }
}
@media (prefers-reduced-motion: reduce) {
  .footer-credit .credit-pong { animation: none; }
}
.footer-credit a.credit-studio { text-decoration: none; cursor: pointer; transition: filter .2s ease; }
.footer-credit a.credit-studio:hover { filter: brightness(1.18); }
/* ---------- Team-Portraits (Flip-Karten) ---------- */
.flip-front { display: flex; flex-direction: column; height: 100%; }
.flip-front .portrait,
.flip-front .portrait-anon {
  width: 100%;
  height: 340px;
  object-fit: cover;
  object-position: center 24%;
  border-radius: 8px;
  border: 1px solid var(--line);
  margin: 0 0 16px;
  display: block;
  background: #12181e;
  flex: 0 0 auto;
}
.flip-front .flip-hint { margin-top: auto; padding-top: 10px; }
.flip-qual {
  font-size: .8rem;
  color: var(--ink-soft);
  margin: -4px 0 10px;
}
.flip-back .flip-blurb {
  font-size: .9rem;
  line-height: 1.5;
  color: #c9dcef;
  margin: 0 0 14px;
}