/* ============================================================
   RÖHRIG GMBH – MAIN STYLESHEET
   Design: Clean White B2B · Steel Blue Accent · System Fonts
   ============================================================ */

/* ── SELF-HOSTED FONTS (no Google Fonts, DSGVO-konform) ─────── */
@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/caveat-v23-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
                 U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
                 U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/caveat-v23-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
                 U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF,
                 U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ── RESET & BASE ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background: #fff;
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
ul, ol { list-style: none; }
address { font-style: normal; }
button { font: inherit; cursor: pointer; border: none; background: none; }

/* ── CSS VARIABLES ───────────────────────────────────────────── */
:root {
  --bg:           #ffffff;
  --bg-alt:       #f8fafc;
  --bg-card:      #ffffff;
  --bg-dark:      #0f172a;
  --bg-dark2:     #1e293b;
  --accent:       #1d4ed8;
  --accent-h:     #1e40af;
  --accent-dim:   rgba(29,78,216,.08);
  --accent-dim2:  rgba(29,78,216,.04);
  --text:         #0f172a;
  --text-muted:   #475569;
  --text-faint:   #94a3b8;
  --border:       #e2e8f0;
  --border-l:     #cbd5e1;
  --success:      #16a34a;
  --white:        #ffffff;
  --radius:       8px;
  --radius-lg:    12px;
  --shadow:       0 1px 3px rgba(0,0,0,.08), 0 4px 16px rgba(0,0,0,.06);
  --shadow-lg:    0 4px 6px rgba(0,0,0,.05), 0 10px 40px rgba(0,0,0,.10);
  --transition:   .18s ease;
  /* Einheitliche Bildrahmen (Fotos über die ganze Site) */
  --media-aspect:       16 / 10;
  --media-aspect-card:  16 / 9;
  --media-object-position: center;
}

/* ── LAYOUT ──────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}

main { flex: 1; }

/* ── TYPOGRAPHY ─────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.02em;
  color: var(--text);
}

h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.35rem); }
h4 { font-size: 1.05rem; }

p { color: var(--text-muted); line-height: 1.75; }

.lead {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: var(--text-muted);
  line-height: 1.7;
}

.text-accent  { color: var(--accent); }
.text-muted   { color: var(--text-muted); }
.text-center  { text-align: center; }
.text-white   { color: #fff; }
.text-strong  { color: var(--text); font-weight: 600; }

/* ── SECTION LABELS ─────────────────────────────────────────── */
.section-label {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .875rem;
}

.section-header { margin-bottom: 3rem; }
.section-header.centered { text-align: center; }
.section-header.centered .section-intro { margin-inline: auto; }

.section-title { margin-bottom: .6rem; }
.section-intro { max-width: 600px; font-size: 1.05rem; }

/* ── BUTTONS ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .8rem 1.6rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .9rem;
  letter-spacing: .01em;
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-h);
  border-color: var(--accent-h);
  box-shadow: 0 4px 16px rgba(29,78,216,.25);
}

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

.btn-outline-dark {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.4);
}
.btn-outline-dark:hover {
  border-color: #fff;
  background: rgba(255,255,255,.08);
}

.btn-sm  { padding: .5rem 1rem; font-size: .82rem; }
.btn-lg  { padding: .95rem 2rem; font-size: 1rem; }
.btn-xl  { padding: 1.1rem 2.4rem; font-size: 1.05rem; }

/* ── IMAGE PLACEHOLDERS ──────────────────────────────────────── */
.img-ph {
  background: var(--bg-alt);
  border: 2px dashed var(--border-l);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: 2rem;
  text-align: center;
  min-height: 200px;
}
.img-ph.img-ph--media {
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 0;
  width: 100%;
  position: relative;
  aspect-ratio: var(--media-aspect);
  background: var(--bg-alt);
}
.img-ph.img-ph--media .img-ph-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: var(--media-object-position);
  max-width: none;
}
.img-ph-num   { font-size: 1.5rem; font-weight: 800; color: var(--accent); }
.img-ph-label { font-size: .7rem; color: var(--text-faint); letter-spacing: .08em; text-transform: uppercase; }
.img-ph-desc  { font-size: .78rem; color: var(--text-muted); max-width: 220px; }

/* Platzhalter ohne echtes Bild: gleiches Seitenverhältnis wie Medien-Kacheln */
.img-ph:not(.img-ph--media) {
  min-height: 0;
  aspect-ratio: var(--media-aspect);
}

/* Hero-Video-Platzhalter = wie Video 16∶9 */
.hero-video-wrap > .img-ph:not(.img-ph--media) {
  aspect-ratio: var(--media-aspect-card);
  background: rgba(255,255,255,.04);
  border-color: rgba(255,255,255,.12);
}


/* ── CERT TAG ────────────────────────────────────────────────── */
.cert-tag {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: rgba(22,163,74,.08);
  border: 1px solid rgba(22,163,74,.2);
  color: var(--success);
  padding: .3rem .9rem;
  border-radius: 100px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.cert-tag svg { flex-shrink: 0; }

.cert-tags    { display: flex; flex-wrap: wrap; gap: .5rem; }

/* EN 1090 highlight */
.en1090-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: var(--accent);
  color: #fff;
  padding: .35rem 1rem;
  border-radius: 100px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .06em;
}

/* ── DIVIDER ─────────────────────────────────────────────────── */
.divider { border: none; border-top: 1px solid var(--border); margin: 0; }

/* ── SECTIONS ────────────────────────────────────────────────── */
.section     { padding: clamp(3.5rem,7vw,6rem) 0; }
.section-alt { background: var(--bg-alt); }
.section-dark {
  background: var(--bg-dark);
  color: #fff;
}
.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4 { color: #fff; }
.section-dark p   { color: rgba(255,255,255,.7); }
.section-dark .section-label { color: #93c5fd; }

/* ── TRUST BAR ───────────────────────────────────────────────── */
.trust-bar {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
}

.trust-bar-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: .45rem;
  font-size: .82rem;
  font-weight: 600;
  color: var(--text-muted);
}
.trust-item svg { color: var(--success); flex-shrink: 0; }
.trust-item.highlight { color: var(--accent); }
.trust-item.highlight svg { color: var(--accent); }

/* ── HERO ────────────────────────────────────────────────────── */
.hero {
  background: var(--bg-dark);
  padding: clamp(4rem,9vw,7rem) 0 clamp(3rem,7vw,5rem);
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
  pointer-events: none;
}

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

.hero-label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #93c5fd;
  margin-bottom: 1rem;
}

.hero-title {
  color: #fff;
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  margin-bottom: 1.25rem;
  line-height: 1.1;
}

.hero-desc {
  color: rgba(255,255,255,.72);
  font-size: clamp(1rem, 1.6vw, 1.12rem);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .875rem;
  margin-bottom: 2.5rem;
}

.hero-certs {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  align-items: center;
}

.hero-cert-item {
  display: flex;
  align-items: center;
  gap: .35rem;
  font-size: .75rem;
  color: rgba(255,255,255,.55);
  font-weight: 500;
}
.hero-cert-item svg { color: rgba(255,255,255,.4); }

.hero-visual { position: relative; }
.hero-visual .img-ph {
  background: rgba(255,255,255,.05);
  border-color: rgba(255,255,255,.12);
}
.hero-visual .img-ph-num  { color: #93c5fd; }
.hero-visual .img-ph-desc { color: rgba(255,255,255,.45); }

/* ── HERO VIDEO ──────────────────────────────────────────────── */
.hero-video-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: #000;
}
.hero-video-wrap iframe,
.hero-video-wrap video {
  width: 100%;
  aspect-ratio: 16/9;
  display: block;
  border: none;
  object-fit: cover;
}

/* ── STATS BAR ───────────────────────────────────────────────── */
.stats-bar {
  background: var(--bg-dark2);
  padding: 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 1px;
  background: rgba(255,255,255,.06);
  border-radius: var(--radius);
  overflow: hidden;
}
.stats-item {
  background: var(--bg-dark2);
  padding: 1.75rem 2rem;
  text-align: center;
}
.stats-num {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  color: #fff;
  line-height: 1;
  letter-spacing: -.03em;
  display: block;
}
.stats-num em { font-style: normal; color: #93c5fd; }
.stats-label {
  font-size: .75rem;
  color: rgba(255,255,255,.45);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-top: .3rem;
  display: block;
}

/* ── FEATURE STRIP ───────────────────────────────────────────── */
.feature-strip {
  background: var(--accent);
  padding: 1.25rem 0;
  color: #fff;
}
.feature-strip-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.5rem;
}
.feature-item {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .85rem;
  font-weight: 600;
}
.feature-item svg { opacity: .8; }

/* ── CARDS ───────────────────────────────────────────────────── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

/* ── SERVICE CARDS ───────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.service-card:hover {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(29,78,216,.08), var(--shadow);
}

.service-card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
  transition: transform .4s ease;
}
.service-card:hover .service-card-img {
  transform: scale(1.04);
}

.service-card-body {
  padding: 1.5rem 1.75rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1;
}

.service-icon {
  width: 48px;
  height: 48px;
  background: var(--accent-dim);
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: var(--accent);
}

.service-card h3 { font-size: 1.05rem; }
.service-card p  { font-size: .87rem; flex: 1; }

.service-specs {
  display: flex;
  flex-direction: column;
  gap: .3rem;
  font-size: .8rem;
  padding-top: .75rem;
  border-top: 1px solid var(--border);
}
.spec-row {
  display: flex;
  /* Align bullet with first line when text wraps */
  align-items: flex-start;
  gap: .5rem;
  color: var(--text-muted);
}
.spec-row::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  opacity: .6;
  /* Nudge dot down to match first line's optical center */
  margin-top: .6em;
}

.service-link {
  color: var(--accent);
  font-size: .83rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  transition: gap var(--transition);
}
.service-link:hover { gap: .6rem; }

/* ── PROBLEMS ────────────────────────────────────────────────── */
.problems-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.25rem;
}

.problem-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}
.problem-card h3 { font-size: .95rem; margin-bottom: .5rem; }
.problem-card p  { font-size: .87rem; }

.problem-icon {
  width: 40px;
  height: 40px;
  background: var(--accent-dim);
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: var(--accent);
  margin-bottom: 1rem;
}

/* ── WHY CARDS ───────────────────────────────────────────────── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.25rem;
}

.why-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}
.why-num {
  font-size: 2rem;
  font-weight: 900;
  color: var(--border-l);
  line-height: 1;
  margin-bottom: .75rem;
}
.why-card h3 { font-size: 1rem; margin-bottom: .45rem; }
.why-card p  { font-size: .87rem; }

/* ── CASE STUDIES ────────────────────────────────────────────── */
.cs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
}

.cs-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition), transform var(--transition);
  text-decoration: none;
  color: inherit;
}
.cs-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

/* Projektkarten / Featured: einheitliche Bildhöhe in Grids; Detail: 16∶9 nach Breite */
.cs-img {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--bg-alt);
  aspect-ratio: var(--media-aspect-card);
}
/* Übersicht Start + /projekte: feste Höhe → alle Kacheln gleich hoch unabhängig von Spaltenbreite */
.cs-grid .cs-img {
  height: 14rem;
  aspect-ratio: unset;
  flex-shrink: 0;
}
.cs-img > .img-ph.img-ph--media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: unset;
  border: none;
  border-radius: 0;
}
.cs-img > .img-ph:not(.img-ph--media) {
  position: absolute;
  inset: 0;
  height: 100%;
  min-height: 0;
  aspect-ratio: unset;
  border-radius: 0;
}
.cs-body {
  padding: 1.35rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: .65rem;
}
.cs-meta { display: flex; gap: .4rem; flex-wrap: wrap; }
.cs-card h3 { font-size: 1rem; }
.cs-card p  { font-size: .85rem; flex: 1; }
.cs-arrow {
  color: var(--accent);
  font-size: .82rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin-top: auto;
  transition: gap var(--transition);
}
.cs-card:hover .cs-arrow { gap: .6rem; }

/* ── BADGE ───────────────────────────────────────────────────── */
.badge {
  display: inline-block;
  padding: .2rem .65rem;
  border-radius: 100px;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.badge-blue   { background: var(--accent-dim); color: var(--accent); }
.badge-gray   { background: var(--bg-alt); color: var(--text-muted); border: 1px solid var(--border); }
.badge-green  { background: rgba(22,163,74,.08); color: var(--success); }

/* ── TESTIMONIALS ────────────────────────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.stars { display: flex; gap: 2px; }
.star  { color: #f59e0b; font-size: .95rem; }

.testimonial-quote {
  font-size: .92rem;
  color: var(--text);
  line-height: 1.75;
  flex: 1;
}
.quote-mark { color: var(--accent); font-size: 1.8rem; line-height: .5; vertical-align: -.3rem; }

.testimonial-author { display: flex; align-items: center; gap: .75rem; }
.author-avatar {
  width: 40px;
  height: 40px;
  background: var(--accent-dim);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: .85rem;
  color: var(--accent);
  flex-shrink: 0;
}
.author-name { font-size: .88rem; font-weight: 700; color: var(--text); }
.author-role { font-size: .75rem; color: var(--text-faint); }

/* ── PROCESS STEPS ───────────────────────────────────────────── */
.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(16.66% + 28px);
  right: calc(16.66% + 28px);
  height: 1px;
  background: var(--border-l);
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  position: relative;
  z-index: 1;
}
.step-num {
  width: 44px;
  height: 44px;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: 1.1rem;
}
.step-card h3 { font-size: 1rem; margin-bottom: .5rem; }
.step-card p  { font-size: .87rem; }

/* ── TEAM ────────────────────────────────────────────────────── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
}
.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-align: center;
  transition: box-shadow var(--transition);
}
.team-card:hover { box-shadow: var(--shadow); }
.team-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--bg-alt);
}
.team-photo > .img-ph,
.team-photo > .img-ph.img-ph--media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: unset;
  border: none;
  border-radius: 0;
}
.team-info  { padding: 1.1rem; }
.team-info h3   { font-size: .95rem; margin-bottom: .2rem; }
.team-info span { font-size: .78rem; color: var(--accent); font-weight: 600; }
.team-grid--leadership .team-info h3 {
  min-height: 4.8em;
}

/* ── TEAM HERO (Gesamtteam-Foto) ──────────────────────────────── */
.team-hero-img {
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16 / 9;
}
.team-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── DEPT CARDS ───────────────────────────────────────────────── */
.dept-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-top: 2.5rem;
}
@media (max-width: 900px) {
  .dept-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .dept-grid { grid-template-columns: 1fr; }
}
.dept-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}
.dept-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}
.dept-card__img {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.dept-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transition: transform .4s ease;
}
.dept-card:hover .dept-card__img img { transform: scale(1.02); }
.dept-card__body {
  padding: 1.25rem 1.4rem 1.5rem;
}
.dept-card__tag {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(37,99,235,.08);
  border: 1px solid rgba(37,99,235,.18);
  border-radius: 100px;
  padding: .2rem .75rem;
  margin-bottom: .75rem;
}
.dept-card__body h3 {
  font-size: 1.05rem;
  margin-bottom: .5rem;
}
.dept-card__body p {
  font-size: .87rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── VLOG HERO PHOTO STACK ────────────────────────────────────── */
.vlog-photo-stack {
  position: relative;
  display: inline-block;
  width: 100%;
}
.vlog-photo-stack .vlog-photo-overlay {
  position: absolute;
  bottom: -1rem;
  right: -1rem;
  width: 42%;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(0,0,0,.45);
  border: 3px solid rgba(255,255,255,.15);
  transform: rotate(3deg);
  transition: transform .3s ease, box-shadow .3s ease;
  z-index: 2;
}
.vlog-photo-stack .vlog-photo-overlay:hover {
  transform: rotate(1deg) scale(1.03);
  box-shadow: 0 10px 32px rgba(0,0,0,.55);
}
.vlog-photo-stack .vlog-photo-overlay img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* ── TEAM CHIP (small inline team thumbnail in leistungen) ───── */
.team-chip {
  display: flex;
  align-items: center;
  gap: .875rem;
  padding: .65rem 1rem .65rem .65rem;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-top: 1.75rem;
  max-width: 340px;
  text-decoration: none;
}
.team-chip__img {
  width: 80px;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}
.team-chip__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.team-chip__text {}
.team-chip__label {
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--text-faint);
  display: block;
  margin-bottom: .15rem;
}
.team-chip__name {
  font-size: .88rem;
  font-weight: 700;
  color: var(--text);
  display: block;
}

/* ── AZUBI CARD ───────────────────────────────────────────────── */
.azubi-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  margin-top: 3rem;
}
.azubi-card__img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.azubi-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.azubi-card__body {
  padding: 2.5rem 2.5rem 2.5rem 0;
}
.azubi-card__body h3 {
  font-size: 1.4rem;
  margin-bottom: .75rem;
}
.azubi-card__body p {
  font-size: .92rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1rem;
}
@media (max-width: 700px) {
  .azubi-card { grid-template-columns: 1fr; }
  .azubi-card__body { padding: 1.5rem 1.5rem 2rem; }
  .dept-grid { grid-template-columns: 1fr; }
  .team-hero-img { border-radius: 12px; }
}

/* ── FAQ ─────────────────────────────────────────────────────── */
.faq-list { display: flex; flex-direction: column; gap: .5rem; }
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-item.open { border-color: var(--accent); }

.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.4rem;
  text-align: left;
  color: var(--text);
  font-size: .92rem;
  font-weight: 600;
  transition: color var(--transition);
}
.faq-q:hover { color: var(--accent); }
.faq-q svg {
  flex-shrink: 0;
  transition: transform .28s ease;
  color: var(--text-faint);
}
.faq-item.open .faq-q svg  { transform: rotate(180deg); color: var(--accent); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}
.faq-item.open .faq-a { max-height: 400px; }
.faq-a-inner {
  padding: 0 1.4rem 1.1rem;
  font-size: .88rem;
  line-height: 1.75;
  color: var(--text-muted);
}

/* ── VIDEO SECTION ───────────────────────────────────────────── */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
}

.video-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow var(--transition);
}
.video-card:hover { box-shadow: var(--shadow-lg); }

.video-embed {
  position: relative;
  aspect-ratio: 16/9;
  background: #000;
  border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden;
}
.video-embed iframe,
.video-embed video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  object-fit: cover;
}

.video-body { padding: 1.1rem 1.25rem; }
.video-body h3 { font-size: .95rem; margin-bottom: .35rem; }
.video-body p  { font-size: .82rem; }

/* ── HERO VIDEO PROMINENT ────────────────────────────────────── */
.hero-video-section {
  background: var(--bg-dark);
  padding: 4rem 0;
}

.hero-video-section h2 { color: #fff; }
.hero-video-section p  { color: rgba(255,255,255,.65); }

.main-video-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
  background: #000;
  position: relative;
}
.main-video-wrap iframe,
.main-video-wrap video {
  width: 100%;
  aspect-ratio: 16/9;
  display: block;
  border: none;
  object-fit: cover;
}

/* ── CTA SECTION ─────────────────────────────────────────────── */
.cta-section {
  background: var(--bg-dark);
  border-radius: var(--radius-lg);
  padding: clamp(3rem, 6vw, 5rem) clamp(2rem, 5vw, 4rem);
  text-align: center;
  margin: clamp(3rem, 6vw, 5rem) 0;
}
.cta-section h2 { color: #fff; margin-bottom: 1rem; }
.cta-section p  { color: rgba(255,255,255,.65); max-width: 520px; margin: 0 auto 2rem; font-size: 1.05rem; }

.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── PAGE HEADER ─────────────────────────────────────────────── */
.page-header {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  padding: 3rem 0;
}
.page-header .section-label { margin-bottom: .5rem; }
.page-header h1 { margin-bottom: .5rem; }
.page-header p  { font-size: 1.05rem; max-width: 580px; }

/* ── LOCATION ────────────────────────────────────────────────── */
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.location-detail {
  display: flex;
  gap: .875rem;
  align-items: flex-start;
  margin-bottom: 1.25rem;
}
.location-detail-icon {
  width: 38px;
  height: 38px;
  background: var(--accent-dim);
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: .15rem;
}
.location-detail h4 { font-size: .88rem; margin-bottom: .2rem; }
.location-detail p  { font-size: .87rem; }
.location-detail a  { color: var(--accent); font-weight: 600; }

/* ── CONTACT FORM ────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 4rem;
  align-items: start;
}

.contact-method {
  display: flex;
  gap: .875rem;
  align-items: flex-start;
  margin-bottom: 1.75rem;
}
.contact-method-icon {
  width: 44px;
  height: 44px;
  background: var(--accent-dim);
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: var(--accent);
  flex-shrink: 0;
}
.contact-method-icon--ai {
  background: rgba(124,58,237,.1);
  color: #7c3aed;
}
.contact-method h3  { font-size: .82rem; color: var(--text-muted); margin-bottom: .25rem; font-weight: 500; }
.contact-method a,
.contact-method p   { font-size: 1rem; color: var(--text); font-weight: 600; transition: color var(--transition); }
.contact-method a:hover { color: var(--accent); }

.form-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}
.form-grid .col-span-2 { grid-column: 1 / -1; }

.form-group { display: flex; flex-direction: column; gap: .35rem; }
.form-group label {
  font-size: .75rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: .05em;
  text-transform: uppercase;
}

.form-group label.privacy-ack-label{
  font-size: .85rem;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--text-muted);
  text-transform: none;
  line-height: 1.5;
}

.privacy-link{
  font-weight: 700;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-field-error{
  color:#ef4444;
  font-size:.8rem;
  margin-top:.35rem;
}
.is-hidden{ display:none !important; }

.form-control {
  width: 100%;
  background: var(--bg-alt);
  border: 1px solid var(--border-l);
  border-radius: var(--radius);
  padding: .7rem .95rem;
  color: var(--text);
  font: inherit;
  font-size: .92rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-control:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(29,78,216,.1);
}
.form-control::placeholder { color: var(--text-faint); }
textarea.form-control { resize: vertical; min-height: 120px; }

.form-note { font-size: .75rem; color: var(--text-faint); margin-top: .875rem; }
.form-note a { color: var(--text-muted); text-decoration: underline; }

/* ── LEISTUNGEN PAGE ─────────────────────────────────────────── */
.leistung-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 4rem 0;
  border-bottom: 1px solid var(--border);
}
.leistung-section:last-child { border-bottom: none; }
.leistung-section.reverse { direction: rtl; }
.leistung-section.reverse > * { direction: ltr; }

.leistung-specs-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.5rem;
  font-size: .85rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}
.leistung-specs-table th {
  background: var(--bg-alt);
  color: var(--text-faint);
  font-weight: 700;
  font-size: .7rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .6rem .875rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.leistung-specs-table td {
  padding: .6rem .875rem;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}
.leistung-specs-table tr:last-child td { border-bottom: none; }
.leistung-specs-table td strong { color: var(--text); }

/* ── EN 1090 PROMINENT BANNER ────────────────────────────────── */
.en1090-banner {
  background: var(--bg-dark);
  padding: 1.5rem 0;
  border-top: 3px solid var(--accent);
}
.en1090-banner-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.en1090-highlight {
  display: flex;
  align-items: center;
  gap: .75rem;
}
.en1090-highlight-num {
  font-size: 1.4rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: -.02em;
}
.en1090-highlight-sub {
  font-size: .72rem;
  color: rgba(255,255,255,.5);
  text-transform: uppercase;
  letter-spacing: .08em;
}

/* ── ABOUT TIMELINE ──────────────────────────────────────────── */
.img-ph.img-ph--media.img-ph--history {
  max-width: 720px;
  margin: 1.25rem 0 1.75rem;
  aspect-ratio: 16 / 7;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border-color: rgba(226, 232, 240, .9);
}
.img-ph.img-ph--media.img-ph--history .img-ph-media {
  object-position: center 35%;
}

.history-timeline {
  position: relative;
  padding-left: 2.5rem;
}
.history-timeline::before {
  content: '';
  position: absolute;
  left: 9px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--border-l);
}
.history-item { position: relative; padding-bottom: 2rem; }
.history-item:last-child { padding-bottom: 0; }
.history-item::before {
  content: '';
  position: absolute;
  left: -2.15rem;
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid #fff;
  outline: 2px solid var(--accent);
}
.history-year { font-size: .72rem; font-weight: 700; color: var(--accent); letter-spacing: .1em; text-transform: uppercase; margin-bottom: .25rem; }
.history-item h3 { font-size: .95rem; margin-bottom: .35rem; }
.history-item p  { font-size: .85rem; }

/* ── MACHINE CARDS ───────────────────────────────────────────── */
.machine-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1rem; margin-top: 2rem; }
.machine-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem;
  text-align: center;
}
.machine-num { font-size: 1.75rem; font-weight: 900; color: var(--accent); letter-spacing: -.02em; line-height: 1; }
.machine-label { font-size: .78rem; color: var(--text-muted); margin-top: .3rem; }

/* ── CS SINGLE ───────────────────────────────────────────────── */
.cs-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
  margin-bottom: 3rem;
}
.cs-meta-panel {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}
.cs-meta-row {
  padding: .75rem 0;
  border-bottom: 1px solid var(--border);
}
.cs-meta-row:last-child { border-bottom: none; padding-bottom: 0; }
.cs-meta-row span   { font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text-faint); display: block; margin-bottom: .15rem; }
.cs-meta-row strong { font-size: .9rem; color: var(--text); }

.cs-content-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 2rem; }
.cs-block {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}
.cs-block h2 { font-size: 1.05rem; margin-bottom: .875rem; }
.cs-block p  { font-size: .9rem; }

.cs-results {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-top: 3px solid var(--success);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  margin-top: 1.5rem;
}
.cs-results h2 { font-size: 1.05rem; margin-bottom: 1rem; }
.results-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: .875rem; }
.result-item { display: flex; align-items: center; gap: .5rem; font-size: .88rem; color: var(--text); }
.result-item svg { color: var(--success); flex-shrink: 0; }

/* ── VLOG ────────────────────────────────────────────────────── */
.vlog-hero { background: var(--bg-dark); padding: 4rem 0; }
.vlog-hero h1 { color: #fff; }
.vlog-hero p  { color: rgba(255,255,255,.65); }

.vlog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.vlog-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow var(--transition);
}
.vlog-card:hover { box-shadow: var(--shadow-lg); }

.vlog-thumb {
  aspect-ratio: 16/9;
  position: relative;
  background: #000;
  border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden;
}
.vlog-thumb iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.vlog-body { padding: 1.1rem 1.25rem; }
.vlog-meta { display: flex; align-items: center; gap: .5rem; font-size: .72rem; color: var(--text-faint); margin-bottom: .4rem; }
.vlog-card h3 { font-size: .95rem; margin-bottom: .35rem; }
.vlog-card p  { font-size: .83rem; }

/* ── SITE HEADER ─────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: 64px;
}

.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo-img { height: 38px; width: auto; display: block; }
.logo-img-invert { filter: brightness(0) invert(1); }

.main-nav { margin-inline: auto; }
.main-nav ul { display: flex; align-items: center; gap: .15rem; }
.nav-link {
  padding: .35rem .75rem;
  border-radius: 6px;
  font-size: .84rem;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
  transition: color var(--transition), background var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--text); background: var(--bg-alt); }
.nav-link.active { color: var(--accent); font-weight: 600; }

.nav-link-laserlog {
  font-family: 'Caveat', cursive;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.15;
  text-align: center;
  padding-top: .25rem;
  padding-bottom: .25rem;
}

.header-actions { display: flex; align-items: center; gap: .75rem; flex-shrink: 0; }
.header-phones {
  display: flex;
  flex-direction: column;
  gap: .15rem;
}
.header-phone-line {
  display: flex;
  align-items: center;
  gap: .35rem;
  font-size: .78rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color var(--transition);
  white-space: nowrap;
}
.header-phone-line:hover { color: var(--accent); }
.header-phone-line--ai { color: var(--text-faint); font-weight: 500; }
.header-phone-line--ai:hover { color: var(--accent); }
.header-phone-line--ai em {
  font-style: normal;
  font-size: .65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--accent);
  background: var(--accent-dim);
  padding: .05rem .3rem;
  border-radius: 3px;
  margin-left: .15rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px;
  height: 34px;
  padding: 5px;
  border-radius: 6px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--text-muted);
  border-radius: 2px;
  transition: var(--transition);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── BREADCRUMBS ─────────────────────────────────────────────── */
.breadcrumbs { background: var(--bg-alt); border-bottom: 1px solid var(--border); padding: .5rem 0; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .3rem; align-items: center; font-size: .78rem; color: var(--text-faint); }
.breadcrumbs a { color: var(--text-muted); transition: color var(--transition); }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs [aria-current] { color: var(--text); }

/* ── FOOTER ──────────────────────────────────────────────────── */
.site-footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,.65);
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding: 4rem 0 3rem;
}

.footer-brand p { font-size: .84rem; margin: 1rem 0 1.25rem; color: rgba(255,255,255,.5); max-width: 280px; }
.footer-brand .cert-tags { gap: .4rem; }
.footer-brand .cert-tag  { border-color: rgba(22,163,74,.3); background: rgba(22,163,74,.1); }

.footer-col h3 {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  margin-bottom: .875rem;
}
.footer-col ul li + li { margin-top: .4rem; }
.footer-col a { font-size: .85rem; color: rgba(255,255,255,.55); transition: color var(--transition); }
.footer-col a:hover { color: #fff; }
.footer-col address p { font-size: .84rem; color: rgba(255,255,255,.5); margin-bottom: .35rem; }
.footer-col address a { color: rgba(255,255,255,.7); font-weight: 600; }
.footer-col address a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 1.4rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: .78rem;
  color: rgba(255,255,255,.3);
}
.footer-bottom nav { display: flex; gap: 1.5rem; }
.footer-bottom nav a { color: rgba(255,255,255,.35); transition: color var(--transition); }
.footer-bottom nav a:hover { color: rgba(255,255,255,.65); }

/* ── 404 ─────────────────────────────────────────────────────── */
.not-found {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 2rem;
}
.not-found-num {
  font-size: clamp(5rem, 15vw, 9rem);
  font-weight: 900;
  color: var(--border-l);
  line-height: 1;
  letter-spacing: -.04em;
}

/* ── LEGAL ───────────────────────────────────────────────────── */
.prose { max-width: 720px; font-size: .92rem; line-height: 1.8; }
.prose h2 { margin: 2.25rem 0 .75rem; font-size: 1.2rem; }
.prose h3 { margin: 1.6rem 0 .5rem; font-size: 1rem; }
.prose p  { margin-bottom: .875rem; }
.prose a  { color: var(--accent); text-decoration: underline; }
.prose ul { padding-left: 1.4rem; margin-bottom: .875rem; }
.prose ul li { list-style: disc; margin-bottom: .25rem; }

/* ── HELPERS ─────────────────────────────────────────────────── */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.mt-0  { margin-top: 0; }
.mt-1  { margin-top: 1rem; }
.mt-2  { margin-top: 2rem; }
.gap-1 { gap: 1rem; }

/* ── SECTION TAG (small label above headings) ────────────────── */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .875rem;
}

/* ── LEISTUNG TAG ────────────────────────────────────────────── */
.leistung-tag {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .75rem;
}

/* ── CARD ACCENT ─────────────────────────────────────────────── */
.card-accent {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
}

/* ── CERT BADGES ─────────────────────────────────────────────── */
.cert-badges,
.cert-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.cert-badge,
.cert-tag {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .3rem .75rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--success);
  background: rgba(22,163,74,.08);
  border: 1px solid rgba(22,163,74,.25);
  border-radius: 20px;
}

.footer-brand .cert-badges,
.footer-brand .cert-tags { gap: .4rem; }
.footer-brand .cert-badge,
.footer-brand .cert-tag {
  border-color: rgba(22,163,74,.3);
  background: rgba(22,163,74,.1);
}

/* ── SPEC LINE (list items with dot) ─────────────────────────── */
.spec-line {
  display: flex;
  /* Align bullet with first line when text wraps */
  align-items: flex-start;
  gap: .6rem;
  padding: .4rem 0;
  font-size: .88rem;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}
.spec-line::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  /* Nudge dot down to match first line's optical center */
  margin-top: .6em;
}

/* ── VLOG BADGE ──────────────────────────────────────────────── */
.vlog-badge {
  display: inline-block;
  padding: .3rem .875rem;
  background: rgba(29,78,216,.25);
  border: 1px solid rgba(29,78,216,.4);
  border-radius: 20px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
  margin-bottom: 1.25rem;
}

/* ── VLOG HERO INNER ─────────────────────────────────────────── */
.vlog-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

/* ── VLOG PLAY OVERLAY ───────────────────────────────────────── */
.vlog-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.35);
  transition: background var(--transition);
}
.vlog-card:hover .vlog-play { background: rgba(0,0,0,.55); }
.vlog-play-btn {
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,.95);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-dark);
}

/* ── INSTAGRAM FEED GRID ─────────────────────────────────────── */
.insta-feed-heading {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 1.5rem;
}
.insta-feed-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
  align-items: start;
}
.insta-feed-item { display: flex; flex-direction: column; }

/* ── Reel-Card (dynamisch) ───────────────────────────────────── */
.insta-reel-link {
  display: block;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 9/16;
  background: var(--surface-2);
  text-decoration: none;
  color: inherit;
}
.insta-reel-link:hover .insta-reel-play { opacity: 1; }
.insta-reel-link:hover img.insta-reel-thumb { transform: scale(1.04); }
.insta-reel-thumb {
  width: 100%;
  height: 100%;
  display: block;
  transition: transform .35s ease;
}
img.insta-reel-thumb {
  object-fit: cover;
}
video.insta-reel-thumb {
  object-fit: contain;
}
.insta-reel-nothumb { background: var(--surface-3); }
.insta-reel-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.35);
  opacity: .7;
  transition: opacity .2s;
}
.insta-reel-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: .6rem .75rem;
  font-size: .72rem;
  color: rgba(255,255,255,.9);
  background: linear-gradient(to top, rgba(0,0,0,.65) 0%, transparent 100%);
  line-height: 1.4;
}

/* ── REEL BLOG POSTS ─────────────────────────────────────────── */
.reel-posts {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 900px;
  margin: 0 auto;
}
.reel-post {
  display: grid;
  grid-template-columns: 1fr 52px 190px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: box-shadow .25s, border-color .25s;
}
.reel-post:hover {
  box-shadow: 0 8px 32px rgba(15,23,42,.08);
  border-color: var(--border-l);
}

/* Caption */
.reel-post-body {
  padding: 1.75rem 1.5rem 1.75rem 2rem;
  display: flex;
  flex-direction: column;
  gap: .7rem;
  position: relative;
  overflow: hidden;
  border-left: 3px solid var(--accent);
}
.reel-post-body::after {
  content: attr(data-num);
  position: absolute;
  bottom: -.5rem;
  right: .5rem;
  font-size: 6rem;
  font-weight: 900;
  line-height: 1;
  color: rgba(15,23,42,.035);
  pointer-events: none;
  user-select: none;
}
.reel-post-meta {
  display: flex;
  align-items: center;
  gap: .6rem;
}
.reel-post-num {
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .12em;
  color: var(--accent);
  background: var(--accent-dim);
  padding: .18rem .45rem;
  border-radius: 4px;
}
.reel-post-date {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.reel-post-headline {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.45;
  margin: 0;
}
.reel-post-text {
  font-size: .875rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin: 0;
  flex: 1;
}
.reel-post-tags {
  font-size: .75rem;
  line-height: 1.7;
  margin: 0;
}
.reel-hashtag { color: var(--accent); font-weight: 500; }
.reel-post-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .75rem;
  font-weight: 600;
  color: var(--text-faint);
  text-decoration: none;
  margin-top: auto;
  padding-top: .75rem;
  transition: color .15s;
}
.reel-post-link:hover { color: var(--accent); }

/* Connector */
.reel-post-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem 0;
}
.reel-connector-line {
  flex: 1;
  width: 1px;
  background: var(--border);
}
.reel-connector-icon {
  width: 32px;
  height: 32px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 10px rgba(29,78,216,.4);
}

/* Video */
.reel-post-video {
  background: #000;
  aspect-ratio: 9/16;
}
.reel-post-video video,
.reel-post-video img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}
.reel-video-fallback { display: block; height: 100%; position: relative; }
.reel-post-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.3);
}

/* Mobile */
@media (max-width: 680px) {
  .reel-post { grid-template-columns: 1fr; }
  .reel-post-body { border-left: 3px solid var(--accent); border-bottom: 1px solid var(--border); }
  .reel-post-connector { display: none; }
  .reel-post-video { aspect-ratio: 9/16; max-height: 340px; }
}

/* ── INSTAGRAM CTA ───────────────────────────────────────────── */
.insta-cta {
  background: linear-gradient(135deg, #833ab4 0%, #fd1d1d 50%, #fcb045 100%);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  text-align: center;
  margin: 3rem 0;
}
.insta-cta h2 { color: #fff; margin-bottom: .75rem; }
.insta-cta p  { color: rgba(255,255,255,.8); max-width: 500px; margin: 0 auto 1.75rem; }

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-inner         { grid-template-columns: 1fr; gap: 3rem; }
  .footer-grid        { grid-template-columns: 1fr 1fr; }
  .contact-grid       { grid-template-columns: 1fr; }
  .cs-hero-grid       { grid-template-columns: 1fr; }
  .cs-content-grid    { grid-template-columns: 1fr; }
  .leistung-section   { grid-template-columns: 1fr; }
  .leistung-section.reverse { direction: ltr; }
  .location-grid      { grid-template-columns: 1fr; }
  .vlog-hero-inner    { grid-template-columns: 1fr; gap: 2.5rem; }
}

@media (max-width: 768px) {
  .main-nav {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: .75rem;
    transform: translateY(-110%);
    transition: transform .28s ease;
    z-index: 99;
    box-shadow: var(--shadow-lg);
    /* Prevent "white bar" when closed: fully hide off-canvas nav */
    visibility: hidden;
    pointer-events: none;
  }
  .main-nav.open {
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
  }
  .main-nav ul { flex-direction: column; gap: .15rem; }
  .nav-link { display: block; padding: .7rem 1rem; }
  .nav-toggle   { display: flex; }
  .header-phones { display: none; }

  .process-steps      { grid-template-columns: 1fr; }
  .process-steps::before { display: none; }
  .stats-grid         { grid-template-columns: repeat(2,1fr); }
  .footer-grid        { grid-template-columns: 1fr; gap: 2rem; padding: 2.5rem 0 2rem; }
  .form-grid          { grid-template-columns: 1fr; }
  .form-grid .col-span-2 { grid-column: 1; }
  .trust-bar-inner    { gap: 1rem; }
  .feature-strip-inner{ gap: 1.25rem; }
  .en1090-banner-inner{ gap: 1.25rem; }
}

@media (max-width: 480px) {
  .stats-grid     { grid-template-columns: 1fr 1fr; }
  .cta-section    { padding: 2.5rem 1.5rem; }
  .hero-actions   { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}

/* ── PROCESS FLOW DIAGRAM ────────────────────────────────────── */
.flow-dual {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  align-items: stretch;
  margin-bottom: 0;
}

.flow-path {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
}
.flow-path-a { border-top: 3px solid var(--accent); }
.flow-path-b { border-top: 3px solid var(--text-faint); }

.flow-path-hd { margin-bottom: 1.25rem; }

.flow-path-badge {
  display: inline-block;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  background: var(--accent);
  color: #fff;
  padding: .2rem .65rem;
  border-radius: 5px;
  margin-bottom: .75rem;
}
.flow-path-badge-b { background: var(--text-muted); }

.flow-path-hd h3 { font-size: 1.05rem; margin-bottom: .2rem; }
.flow-path-sub { font-size: .78rem; color: var(--text-faint); margin: 0; }

/* Step list with connecting line */
.flow-steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.flow-step {
  display: flex;
  gap: .875rem;
  align-items: flex-start;
}
.flow-step-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  padding-top: .15rem;
}
.flow-step-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--bg-alt);
  border: 2px solid var(--border-l);
  flex-shrink: 0;
}
.flow-step-dot-accent { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-dim); }
.flow-step-dot-green  { background: var(--success); border-color: var(--success); box-shadow: 0 0 0 3px rgba(22,163,74,.15); }

.flow-step-vline {
  width: 2px;
  flex: 1;
  min-height: 14px;
  background: var(--border);
  margin: 3px 0;
}
.flow-step:last-child .flow-step-vline { display: none; }

.flow-step-body { padding-bottom: 1rem; }
.flow-step:last-child .flow-step-body { padding-bottom: 0; }
.flow-step-body strong { display: block; font-size: .86rem; color: var(--text); margin-bottom: .2rem; font-weight: 600; }
.flow-step-body span   { display: block; font-size: .77rem; color: var(--text-muted); line-height: 1.45; }

.flow-step-ai-tag {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  padding: .15rem .45rem;
  border-radius: 4px;
  margin-top: .3rem;
}

.flow-path-foot {
  text-align: center;
  padding-top: 1.25rem;
  margin-top: auto;
  border-top: 1px solid var(--border);
  color: var(--text-faint);
  font-size: .8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
}
.flow-path-foot svg { color: var(--accent); }

/* Or divider */
.flow-oder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 1.5rem;
  gap: .4rem;
}
.flow-oder-line { width: 1px; flex: 1; background: var(--border); }
.flow-oder-text {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--text-faint);
  writing-mode: horizontal-tb;
  white-space: nowrap;
}

/* Bridge / merge connector */
.flow-bridge {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin: 1.5rem 0 2rem;
}
.flow-bridge-rail {
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, rgba(29,78,216,.25) 100%);
  border-radius: 2px;
}
.flow-bridge-rail-r {
  background: linear-gradient(270deg, transparent 0%, rgba(29,78,216,.25) 100%);
}
.flow-bridge-badge {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--accent);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: .55rem 1.25rem;
  border-radius: 20px;
  white-space: nowrap;
  box-shadow: 0 2px 12px rgba(29,78,216,.25);
}

/* Shared chain */
.flow-chain {
  display: flex;
  align-items: stretch;
  gap: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: .5rem;
}
.flow-chain-node {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: .25rem;
  min-width: 120px;
  flex: 1;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.flow-chain-node:hover { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-dim); }
.flow-chain-node-end   { border-color: var(--success); background: rgba(22,163,74,.05); }
.flow-chain-num {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--accent-dim);
  color: var(--accent);
  font-size: .78rem;
  font-weight: 800;
  display: grid;
  place-items: center;
  margin-bottom: .2rem;
}
.flow-chain-num-end { background: rgba(22,163,74,.15); color: var(--success); }
.flow-chain-node strong { font-size: .8rem; color: var(--text); font-weight: 600; line-height: 1.3; }
.flow-chain-node span   { font-size: .7rem; color: var(--text-faint); line-height: 1.35; }

.flow-chain-arrow {
  display: flex;
  align-items: center;
  padding: 0 .3rem;
  color: var(--accent);
  opacity: .4;
  font-size: 1rem;
  flex-shrink: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .flow-dual { grid-template-columns: 1fr; }
  .flow-oder { flex-direction: row; padding: 1rem 0; }
  .flow-oder-line { flex: 1; width: auto; height: 1px; }
  .flow-chain { flex-wrap: wrap; justify-content: center; }
  .flow-chain-node { min-width: 110px; }
  .flow-chain-arrow { display: none; }
}
@media (max-width: 480px) {
  .flow-chain-node { min-width: 90px; flex: 0 0 calc(50% - .5rem); }
}

/* ── SIMPLIFIED FLOWCHART (flow2) ───────────────────────────── */
.flow2 {
  display: grid;
  grid-template-columns: 1fr 56px 1fr;
  align-items: start;
  margin-bottom: 0;
}
.flow2-path {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.flow2-label {
  display: inline-block;
  align-self: flex-start;
  font-size: .68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: #fff;
  padding: .2rem .65rem;
  border-radius: 5px;
  margin-bottom: .875rem;
}
.flow2-label--a { background: var(--accent); }
.flow2-label--b { background: var(--text-muted); }
.flow2-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: .7rem 1rem;
  font-size: .88rem;
  font-weight: 600;
  color: var(--text);
  text-align: center;
}
.flow2-box--accent {
  border-color: var(--accent);
  background: var(--accent-dim);
  color: var(--accent);
}
.flow2-box--out {
  border-color: var(--success);
  background: rgba(22,163,74,.06);
  color: var(--success);
}
.flow2-vline {
  width: 2px;
  height: 26px;
  background: var(--border);
  align-self: center;
  position: relative;
  flex-shrink: 0;
}
.flow2-vline::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid var(--border);
}
.flow2-oder {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 2.35rem;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--text-faint);
}
@media (max-width: 640px) {
  .flow2 { grid-template-columns: 1fr; gap: 0; }
  .flow2-oder { padding: .75rem 0; }
}

/* ── LASERBOT CHAT WIDGET ────────────────────────────────────── */
.lb-btn {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: .5rem;
  background: var(--accent);
  color: #fff;
  border-radius: 999px;
  padding: .75rem 1.25rem .75rem 1rem;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(29,78,216,.35);
  transition: background var(--transition), box-shadow var(--transition), transform var(--transition);
  user-select: none;
  border: none;
  font-family: inherit;
  font-size: .88rem;
  font-weight: 600;
}
.lb-btn:hover { background: var(--accent-h); box-shadow: 0 6px 28px rgba(29,78,216,.45); transform: translateY(-1px); }
.lb-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.lb-btn-label { white-space: nowrap; }
.lb-btn-icon  { flex-shrink: 0; }

.lb-window {
  position: fixed;
  bottom: 5.25rem;
  right: 1.5rem;
  z-index: 9998;
  width: 360px;
  max-width: calc(100vw - 2rem);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 40px rgba(0,0,0,.14);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(12px) scale(.97);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}
.lb-window.lb-open {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: auto;
}

.lb-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-dark);
  padding: .85rem 1rem;
  color: #fff;
  flex-shrink: 0;
}
.lb-header-info { display: flex; align-items: center; gap: .7rem; }
.lb-avatar {
  width: 34px; height: 34px;
  background: var(--accent);
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.lb-header-info strong { display: block; font-size: .9rem; }
.lb-header-info span   { display: block; font-size: .7rem; color: rgba(255,255,255,.5); margin-top: .05rem; }
.lb-close {
  background: none;
  border: none;
  color: rgba(255,255,255,.55);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  padding: .2rem .4rem;
  border-radius: 4px;
  transition: color var(--transition);
}
.lb-close:hover { color: #fff; }

.lb-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: .6rem;
  max-height: 340px;
  scroll-behavior: smooth;
}
.lb-msg { max-width: 85%; }
.lb-msg p {
  font-size: .84rem;
  line-height: 1.55;
  padding: .6rem .875rem;
  border-radius: 12px;
  margin: 0;
  color: var(--text);
}
.lb-msg-bot  { align-self: flex-start; }
.lb-msg-bot  p { background: var(--bg-alt); border-bottom-left-radius: 4px; }
.lb-msg-user { align-self: flex-end; }
.lb-msg-user p { background: var(--accent); color: #fff; border-bottom-right-radius: 4px; }

.lb-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  padding: .25rem 0 .25rem .1rem;
}
.lb-privacy-note {
  font-size: .68rem;
  color: var(--text-faint);
  margin: .35rem 0 0 .1rem;
  line-height: 1.4;
}
.lb-privacy-note a {
  color: var(--text-faint);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.lb-suggest {
  background: none;
  border: 1px solid var(--border-l);
  border-radius: 20px;
  padding: .3rem .75rem;
  font-size: .75rem;
  color: var(--accent);
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition);
}
.lb-suggest:hover { background: var(--accent-dim); border-color: var(--accent); }

/* Typing indicator */
.lb-typing {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: .6rem .875rem;
  background: var(--bg-alt);
  border-radius: 12px;
  border-bottom-left-radius: 4px;
  align-self: flex-start;
}
.lb-typing span {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--text-faint);
  animation: lb-bounce .9s ease infinite;
}
.lb-typing span:nth-child(2) { animation-delay: .15s; }
.lb-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes lb-bounce {
  0%, 60%, 100% { transform: translateY(0); }
  30%           { transform: translateY(-5px); }
}

.lb-input-row {
  display: flex;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
}
.lb-input {
  flex: 1;
  border: none;
  outline: none;
  padding: .75rem 1rem;
  font: inherit;
  font-size: .85rem;
  color: var(--text);
  background: #fff;
}
.lb-input::placeholder { color: var(--text-faint); }
.lb-send {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: .75rem 1rem;
  cursor: pointer;
  transition: background var(--transition);
}
.lb-send:hover { background: var(--accent-h); }
.lb-send:disabled { opacity: .4; cursor: not-allowed; }

@media (max-width: 480px) {
  .lb-window { bottom: 5rem; right: .75rem; left: .75rem; width: auto; }
  .lb-btn    { right: .75rem; bottom: .75rem; }
}

/* ============================================================
   BOOKING LANDINGPAGE (Calendly-inspired)
   Scoped via .booking-page
   ============================================================ */
.booking-page h1 {
  font-size: clamp(2.05rem, 4.2vw, 3.05rem);
  letter-spacing: -.03em;
}
.booking-page h2 { letter-spacing: -.025em; }
.booking-page .bk-section { padding-top: clamp(2.2rem, 4.5vw, 4.2rem); padding-bottom: clamp(2.2rem, 4.5vw, 4.2rem); }

.booking-page .bk-hero {
  padding: clamp(2.5rem, 5vw, 4.5rem) 0;
  background:
    radial-gradient(900px 320px at 20% 10%, rgba(29,78,216,.10), transparent 60%),
    radial-gradient(900px 320px at 70% 40%, rgba(15,23,42,.06), transparent 60%),
    linear-gradient(180deg, #fff, var(--bg-alt));
  border-bottom: 1px solid var(--border);
}

.booking-page .bk-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

.booking-page .bk-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem .75rem;
  border-radius: 999px;
  background: rgba(29,78,216,.08);
  border: 1px solid rgba(29,78,216,.18);
  color: var(--accent-h);
  font-weight: 700;
  letter-spacing: .02em;
  font-size: .78rem;
  margin-bottom: 1rem;
}

.booking-page .bk-hero-copy h1 { margin-bottom: .85rem; }
.booking-page .bk-hero-copy .lead { margin-bottom: 1.5rem; max-width: 56ch; }

.booking-page .bk-hero-ctas { display: flex; gap: .75rem; flex-wrap: wrap; margin-bottom: 1.25rem; }

.booking-page .bk-trustrow { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .25rem; }
.booking-page .bk-trustpill {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem .65rem;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.75);
  border-radius: 999px;
  color: var(--text-muted);
  font-size: .82rem;
}

.booking-page .bk-panel-wrap { position: relative; }
.booking-page .bk-panel {
  background: rgba(255,255,255,.75);
  border: 1px solid rgba(226,232,240,.9);
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(2,6,23,.10);
  overflow: hidden;
  backdrop-filter: blur(8px);
  max-width: 820px;
  margin-inline: auto;
}

.booking-page .bk-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.25rem;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255,255,255,.95), rgba(255,255,255,.72));
}
.booking-page .bk-panel-title { font-weight: 900; color: var(--text); letter-spacing: -.02em; }
.booking-page .bk-panel-sub { font-size: .9rem; color: var(--text-muted); margin-top: .1rem; }
.booking-page .bk-chip {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .45rem .7rem;
  border-radius: 999px;
  border: 1px solid rgba(22,163,74,.25);
  background: rgba(22,163,74,.08);
  color: #166534;
  font-weight: 800;
  font-size: .78rem;
}
.booking-page .bk-chip-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 4px rgba(22,163,74,.14); }

.booking-page .bk-panel-body { padding: 1.1rem 1.15rem 1.2rem; }
.booking-page .bk-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 1.05rem; }

.booking-page .bk-cal {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
  padding: .95rem;
  box-shadow: 0 8px 22px rgba(2,6,23,.06);
}
.booking-page .bk-cal-head { display:flex; align-items:center; justify-content:space-between; gap:.5rem; margin-bottom:.75rem; }
.booking-page .bk-cal-month { font-weight: 900; color: var(--text); text-transform: capitalize; }
.booking-page .bk-iconbtn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  display: grid;
  place-items: center;
  transition: transform var(--transition), background var(--transition), border-color var(--transition);
}
.booking-page .bk-iconbtn:hover { transform: translateY(-1px); background: var(--bg-alt); border-color: var(--border-l); }

.booking-page .bk-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: .4rem;
}
.booking-page .bk-dow {
  font-size: .72rem;
  color: var(--text-faint);
  text-align: center;
  padding: .25rem 0 .35rem;
  font-weight: 800;
}
.booking-page .bk-empty { height: 40px; }
.booking-page .bk-day {
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #fff;
  display: grid;
  place-items: center;
  position: relative;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition), background var(--transition);
}
.booking-page .bk-day:hover { transform: translateY(-1px); border-color: rgba(29,78,216,.30); box-shadow: 0 10px 18px rgba(2,6,23,.06); }
.booking-page .bk-day:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.booking-page .bk-daynum { font-weight: 900; color: var(--text); font-size: .88rem; }
.booking-page .bk-day.is-av::after {
  content: "";
  position: absolute;
  bottom: 6px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  opacity: .8;
}
.booking-page .bk-day.is-sel {
  background: rgba(29,78,216,.10);
  border-color: rgba(29,78,216,.35);
  box-shadow: 0 12px 22px rgba(29,78,216,.12);
}
.booking-page .bk-cal-foot { display:flex; gap: .9rem; margin-top: .85rem; color: var(--text-faint); font-size: .76rem; }
.booking-page .bk-legend { display:inline-flex; align-items:center; gap:.45rem; }
.booking-page .bk-dot { width: 8px; height: 8px; border-radius: 999px; display:inline-block; }
.booking-page .bk-dot-av { background: var(--accent); }
.booking-page .bk-dot-na { background: #cbd5e1; }

.booking-page .bk-times {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
  padding: .95rem;
  box-shadow: 0 8px 22px rgba(2,6,23,.06);
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.booking-page .bk-times-head { margin-bottom: .75rem; }
.booking-page .bk-times-title { font-weight: 900; color: var(--text); }
.booking-page .bk-times-date { font-size: .85rem; color: var(--text-muted); margin-top: .15rem; }
.booking-page .bk-times-list {
  display: grid;
  gap: .55rem;
  align-content: start;
  flex: 1;
}
.booking-page .bk-times-empty {
  border: 1px dashed var(--border-l);
  border-radius: 12px;
  padding: 1rem;
  color: var(--text-muted);
  background: rgba(248,250,252,.6);
}
.booking-page .bk-slot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .75rem;
  width: 100%;
  padding: .8rem .9rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #fff;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition), background var(--transition);
  text-align: left;
}
.booking-page .bk-slot-meta { line-height: 1.2; }
.booking-page .bk-slot:hover {
  transform: translateY(-1px);
  border-color: rgba(29,78,216,.30);
  box-shadow: 0 12px 22px rgba(2,6,23,.07);
}
.booking-page .bk-slot.is-sel {
  background: rgba(29,78,216,.10);
  border-color: rgba(29,78,216,.35);
}
.booking-page .bk-slot span:first-child { font-weight: 900; color: var(--text); }
.booking-page .bk-slot-meta { font-size: .78rem; color: var(--text-muted); }

.booking-page .bk-confirm {
  margin-top: .85rem;
  padding-top: .85rem;
  border-top: 1px solid var(--border);
  display: grid;
  gap: .6rem;
}
.booking-page .bk-confirm-title { font-weight: 900; color: var(--text); font-size: .9rem; }
.booking-page .bk-confirm-row { color: var(--text-muted); font-size: .88rem; }
.booking-page .bk-micro { font-size: .78rem; color: var(--text-faint); }

/* ── Contact fields ───────────────────────────────────── */
.booking-page .bk-contact {
  display: grid;
  gap: .65rem;
  padding-top: .85rem;
  border-top: 1px solid var(--border);
}
.booking-page .bk-field       { display: grid; gap: .3rem; }
.booking-page .bk-required    { color: var(--accent); margin-left: .15em; }
.booking-page .bk-optional    { font-weight: 400; color: var(--text-faint); font-size: .85em; }
.booking-page textarea.bk-input { resize: vertical; min-height: 56px; font-family: inherit; }

/* ── Success state ────────────────────────────────────── */
.booking-page .bk-success {
  display: grid;
  gap: .5rem;
  text-align: center;
  padding: 1.5rem 1rem;
  background: rgba(22,163,74,.07);
  border: 1px solid rgba(22,163,74,.25);
  border-radius: var(--radius-lg);
}
.booking-page .bk-success-icon  { color: var(--success); }
.booking-page .bk-success-title { font-weight: 900; color: var(--success); font-size: 1.05rem; }
.booking-page .bk-success-msg   { font-size: .88rem; color: var(--text-muted); }
.booking-page .bk-success-detail{ font-size: .82rem; color: var(--text-faint); }

/* ── Admin table ──────────────────────────────────────── */
.bk-admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .87rem;
}
.bk-admin-table th {
  text-align: left;
  padding: .5rem .75rem;
  border-bottom: 2px solid var(--border);
  font-size: .74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-muted);
  white-space: nowrap;
}
.bk-admin-table td {
  padding: .6rem .75rem;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  color: var(--text);
}
.bk-admin-table tbody tr:hover { background: var(--bg-alt); }

/* ── Cookie banner ──────────────────────────────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10001;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  box-shadow: 0 -6px 32px rgba(2,6,23,.13);
  padding: 1rem 1.75rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  transform: translateY(110%);
  transition: transform .45s cubic-bezier(.16,1,.3,1);
}
.cookie-banner.is-visible {
  transform: translateY(0);
}
.cookie-banner-icon {
  flex-shrink: 0;
  color: var(--accent);
  opacity: .8;
}
.cookie-banner-text {
  flex: 1;
  font-size: .83rem;
  color: var(--text-muted);
  min-width: 220px;
  line-height: 1.55;
}
.cookie-banner-text strong { color: var(--text); }
.cookie-banner-text a      { color: var(--accent); text-decoration: underline; }
.cookie-banner-actions {
  display: flex;
  align-items: center;
  gap: .65rem;
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .cookie-banner {
    bottom: 58px; /* above mobile sticky CTA bar */
    padding: .9rem 1rem;
    gap: .65rem;
  }
  .cookie-banner-actions { width: 100%; }
  .cookie-banner-actions .btn { flex: 1; justify-content: center; }
}

.booking-page .bk-meeting { display: grid; gap: .55rem; }
.booking-page .bk-meeting-title { font-weight: 900; color: var(--text); font-size: .9rem; }
.booking-page .bk-meeting-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .5rem;
}
.booking-page .bk-meeting-opt {
  padding: .7rem .75rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  font-weight: 900;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition), background var(--transition);
}
.booking-page .bk-meeting-opt:hover {
  transform: translateY(-1px);
  border-color: rgba(29,78,216,.30);
  box-shadow: 0 12px 22px rgba(2,6,23,.07);
}
.booking-page .bk-meeting-opt.is-active {
  background: rgba(29,78,216,.10);
  border-color: rgba(29,78,216,.35);
}
.booking-page .bk-meeting-note { font-size: .82rem; color: var(--text-muted); }
.booking-page .bk-label { font-size: .78rem; color: var(--text-muted); font-weight: 800; }
.booking-page .bk-input {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: .75rem .85rem;
  outline: none;
  background: #fff;
  color: var(--text);
  box-shadow: 0 8px 22px rgba(2,6,23,.05);
}
.booking-page .bk-input.is-invalid {
  border-color: rgba(239,68,68,.55);
  box-shadow: 0 0 0 4px rgba(239,68,68,.14), 0 8px 22px rgba(2,6,23,.05);
}
.booking-page .bk-field-error {
  margin-top: .45rem;
  font-size: .8rem;
  font-weight: 800;
  color: #ef4444;
}
.booking-page .bk-input:focus {
  border-color: rgba(29,78,216,.35);
  box-shadow: 0 0 0 4px rgba(29,78,216,.12), 0 8px 22px rgba(2,6,23,.05);
}
.booking-page .bk-panel-foot { border-top: 1px solid var(--border); padding: .9rem 1.25rem; background: rgba(248,250,252,.6); }
.booking-page .bk-footline { display:flex; align-items:center; gap:.55rem; color: var(--text-muted); font-size: .82rem; }

.booking-page .bk-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.booking-page .bk-feature {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.15rem 1.15rem;
  box-shadow: 0 10px 28px rgba(2,6,23,.05);
}
.booking-page .bk-feature-ic {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(29,78,216,.10);
  border: 1px solid rgba(29,78,216,.18);
  color: var(--accent);
  display: grid;
  place-items: center;
  margin-bottom: .85rem;
}
.booking-page .bk-feature h3 { font-size: 1.05rem; margin-bottom: .35rem; }
.booking-page .bk-feature p { font-size: .9rem; }

.booking-page .bk-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.booking-page .bk-step {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.15rem;
  box-shadow: 0 10px 28px rgba(2,6,23,.05);
  display: flex;
  gap: .9rem;
}
.booking-page .bk-step-num {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(15,23,42,.06);
  border: 1px solid rgba(15,23,42,.12);
  color: var(--text);
  display: grid;
  place-items: center;
  font-weight: 900;
  flex-shrink: 0;
}
.booking-page .bk-step h3 { font-size: 1.02rem; margin-bottom: .25rem; }
.booking-page .bk-step p { font-size: .9rem; }

.booking-page .bk-proof {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 1.25rem;
  align-items: start;
}
.booking-page .bk-proof-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.4rem 1.35rem;
  box-shadow: 0 12px 40px rgba(2,6,23,.06);
}
.booking-page .bk-stars { color: #f59e0b; letter-spacing: .14em; font-weight: 900; margin-bottom: .85rem; }
.booking-page .bk-quote { font-size: 1.05rem; color: var(--text); line-height: 1.7; margin-bottom: 1.1rem; }
.booking-page .bk-proof-byline { display:flex; align-items:center; gap:.75rem; }
.booking-page .bk-avatar {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: rgba(29,78,216,.10);
  border: 1px solid rgba(29,78,216,.18);
  display: grid;
  place-items: center;
  font-weight: 900;
  color: var(--accent-h);
}
.booking-page .bk-name { font-weight: 900; color: var(--text); }
.booking-page .bk-role { font-size: .82rem; color: var(--text-muted); margin-top: .1rem; }
.booking-page .bk-proof-aside {
  background: rgba(248,250,252,.55);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.35rem 1.25rem;
}
.booking-page .bk-proof-aside h3 { margin-bottom: .5rem; }
.booking-page .bk-proof-list { display:grid; gap:.55rem; margin: .85rem 0 1.1rem; }
.booking-page .bk-proof-list li { color: var(--text-muted); }
.booking-page .bk-proof-list strong { color: var(--text); }

@media (max-width: 980px) {
  .booking-page .bk-cols { grid-template-columns: 1fr; }
  .booking-page .bk-features { grid-template-columns: repeat(2, 1fr); }
  .booking-page .bk-steps { grid-template-columns: 1fr; }
  .booking-page .bk-proof { grid-template-columns: 1fr; }
  .booking-page .bk-panel { max-width: 100%; }
}

@media (max-width: 520px) {
  .booking-page .bk-feature { padding: 1.05rem; }
  .booking-page .bk-panel-head { padding: 1rem 1rem; }
  .booking-page .bk-panel-body { padding: 1rem 1rem 1.1rem; }
  .booking-page .bk-panel-foot { padding: .85rem 1rem; }
  .booking-page .bk-cal, .booking-page .bk-times { padding: .85rem; }
  .booking-page .bk-features { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════════════════════
   MOBILE OPTIMISATION — Lean · Modern · Built to Convert
   ══════════════════════════════════════════════════════════════ */

/* ── 3-col responsive image grid ───────────────────────────────── */
.img-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

/* ── 2-col responsive grid ──────────────────────────────────────── */
.grid-2-col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

/* ── leistung-section flush variant (no border / no padding) ───── */
.leistung-section--flush {
  border-bottom: none;
  padding: 0;
}

/* ── EN1090 divider (vertical bar between cert badges) ─────────── */
.en1090-divider {
  width: 1px;
  height: 36px;
  background: rgba(255, 255, 255, .12);
  flex-shrink: 0;
}

/* ── Sticky mobile CTA bar (hidden on desktop) ─────────────────── */
.mobile-cta-bar  { display: none; }
.mobile-cta-phone { display: none; }

/* ─────────────────────────────────────────────────────────────────
   TABLET ≤ 768 px
───────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {

  /* Header: hide secondary actions, keep Jetzt anfragen + hamburger */
  .header-btn-hide { display: none !important; }

  /* ── Sticky bottom CTA bar ─────────────────────────────────────── */
  .mobile-cta-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    background: rgba(15, 23, 42, .97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, .1);
    padding: .7rem 1rem;
    padding-bottom: max(.7rem, calc(.7rem + env(safe-area-inset-bottom, 0px)));
    gap: .65rem;
    align-items: center;
    box-shadow: 0 -4px 32px rgba(0, 0, 0, .3);
  }

  .mobile-cta-phone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    color: rgba(255, 255, 255, .85);
    font-size: .8rem;
    font-weight: 600;
    padding: 0 .875rem;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: var(--radius);
    white-space: nowrap;
    transition: background var(--transition), border-color var(--transition);
    flex-shrink: 0;
    text-decoration: none;
  }
  .mobile-cta-phone:hover,
  .mobile-cta-phone:active { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .35); }

  .mobile-cta-anfrage {
    flex: 1;
    justify-content: center;
    min-height: 44px;
    font-size: .88rem;
  }

  /* Prevent content hiding behind sticky bar */
  body { padding-bottom: max(72px, calc(68px + env(safe-area-inset-bottom, 0px))); }

  /* Lift Laserbot button above sticky bar */
  .lb-btn    { bottom: 5.5rem !important; }
  .lb-window { bottom: 9.5rem !important; }

  /* ── Hero ──────────────────────────────────────────────────────── */
  .hero { padding-top: clamp(2.5rem, 7vw, 4rem); padding-bottom: clamp(2rem, 5vw, 3.5rem); }
  .hero-title  { font-size: clamp(1.9rem, 6vw, 2.6rem); line-height: 1.12; }
  .hero-desc   { margin-bottom: 1.5rem; font-size: clamp(.92rem, 2.2vw, 1rem); }
  .hero-actions { margin-bottom: 1.75rem; gap: .75rem; }

  /* ── Trust bar: vertical stack ─────────────────────────────────── */
  .trust-bar-inner { flex-direction: column; align-items: flex-start; gap: .5rem; }
  .trust-item  { font-size: .8rem; }

  /* ── Feature strip: compact ────────────────────────────────────── */
  .feature-strip-inner { gap: 1rem; }
  .feature-item { font-size: .78rem; gap: .35rem; }

  /* ── EN1090 banner: stack & center ────────────────────────────── */
  .en1090-banner-inner { flex-direction: column; gap: .875rem; text-align: center; }
  .en1090-highlight    { justify-content: center; }
  .en1090-divider      { display: none; }

  /* ── Image grid: 2 cols on tablet ──────────────────────────────── */
  .img-grid-3 { grid-template-columns: repeat(2, 1fr); }

  /* ── CTA actions: stack & full-width ───────────────────────────── */
  .cta-actions { flex-direction: column; align-items: stretch; }
  .cta-actions .btn { justify-content: center; width: 100%; }

  /* ── Cards: reduce padding ─────────────────────────────────────── */
  .card         { padding: 1.35rem; }
  .service-card-body { padding: 1.25rem; }
  .form-card    { padding: 1.5rem; }

  /* ── Section spacing ───────────────────────────────────────────── */
  .section      { padding: clamp(2.25rem, 6vw, 4rem) 0; }
  .page-header  { padding: 1.75rem 0; }
  .section-header { margin-bottom: 2.25rem; }

  /* ── Footer bottom ─────────────────────────────────────────────── */
  .footer-bottom { flex-direction: column; text-align: center; gap: .6rem; }
  .footer-bottom nav { justify-content: center; }
}

/* ─────────────────────────────────────────────────────────────────
   PHONE ≤ 480 px
───────────────────────────────────────────────────────────────── */
@media (max-width: 480px) {

  /* ── Image grids: single column ────────────────────────────────── */
  .img-grid-3  { grid-template-columns: 1fr; }
  .grid-2-col  { grid-template-columns: 1fr; }

  /* ── Hero ──────────────────────────────────────────────────────── */
  .hero-title { font-size: clamp(1.75rem, 7.5vw, 2.2rem); }
  .hero-cert-item { font-size: .7rem; }
  .hero-certs { gap: .35rem; }

  /* ── Prevent iOS auto-zoom on inputs (must be ≥ 16px) ─────────── */
  .form-control { font-size: 16px; }
  .lb-input     { font-size: 16px; }
  input, textarea, select { font-size: max(16px, 1em); }

  /* ── Nav links in mobile drawer: bigger tap targets ────────────── */
  .main-nav .nav-link { padding: .9rem 1rem; font-size: .92rem; }

  /* ── Laserbot: above sticky bar ────────────────────────────────── */
  .lb-btn    { right: .75rem !important; bottom: 5.5rem !important; }
  .lb-window { right: .75rem !important; left: .75rem !important; width: auto !important; bottom: 9.5rem !important; }

  /* ── Stats ─────────────────────────────────────────────────────── */
  .stats-item { padding: 1.1rem .875rem; }
  .stats-num  { font-size: clamp(1.6rem, 6vw, 2.1rem); }

  /* ── Trust bar ─────────────────────────────────────────────────── */
  .trust-bar { padding: .875rem 0; }

  /* ── Section header ────────────────────────────────────────────── */
  .section-header { margin-bottom: 1.75rem; }

  /* ── CTA section ───────────────────────────────────────────────── */
  .cta-section h2 { font-size: clamp(1.4rem, 5.5vw, 1.85rem); }

  /* ── Footer ────────────────────────────────────────────────────── */
  .footer-grid { padding: 2.25rem 0 1.75rem; gap: 1.75rem; }

  /* ── Process flow ──────────────────────────────────────────────── */
  .flow-path { padding: 1.25rem; }

  /* ── Booking page: single-col features on tiny screens ────────── */
  .booking-page .bk-meeting-switch { grid-template-columns: 1fr; }
}

/* ─────────────────────────────────────────────────────────────────
   LANDING PAGE AD OPTIMIZATIONS (Instagram / Meta slide-up)
   Applied via body class .page-landing, .page-metallbauer, .page-stahlhochbau
───────────────────────────────────────────────────────────────── */

/* Sticky mobile CTA bar — hidden by default, activated on mobile */
.lp-sticky-cta { display: none; }

@media (max-width: 768px) {

  /* Hero: hide video → keeps first fold compact and load-fast on mobile */
  .page-landing .hero-visual,
  .page-metallbauer .hero-visual,
  .page-stahlhochbau .hero-visual,
  .page-maschinenbau .hero-visual {
    display: none;
  }

  /* Reduce hero gap since video is gone */
  .page-landing .hero-inner,
  .page-metallbauer .hero-inner,
  .page-stahlhochbau .hero-inner,
  .page-maschinenbau .hero-inner {
    gap: 1.25rem;
  }

  /* Tighter hero padding on mobile */
  .page-landing .hero,
  .page-metallbauer .hero,
  .page-stahlhochbau .hero,
  .page-maschinenbau .hero {
    padding-top: clamp(2.5rem, 6vw, 4rem);
    padding-bottom: clamp(2rem, 5vw, 3rem);
  }

  /* Sticky bottom CTA bar */
  .page-landing .lp-sticky-cta,
  .page-metallbauer .lp-sticky-cta,
  .page-stahlhochbau .lp-sticky-cta,
  .page-maschinenbau .lp-sticky-cta {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 200;
    background: var(--bg-dark);
    border-top: 2px solid var(--accent);
    padding: .875rem 1rem max(.875rem, env(safe-area-inset-bottom));
    gap: .625rem;
    box-shadow: 0 -4px 24px rgba(0,0,0,.45);
  }
  .lp-sticky-cta .btn {
    flex: 1;
    justify-content: center;
    font-size: .88rem;
    padding: .9rem .75rem;
  }

  /* Push main content up above sticky bar */
  .page-landing main,
  .page-metallbauer main,
  .page-stahlhochbau main,
  .page-maschinenbau main {
    padding-bottom: 74px;
  }
}

/* Very small screens (iPhone SE 375px, older Android) */
@media (max-width: 390px) {
  .page-landing .hero-title,
  .page-metallbauer .hero-title,
  .page-stahlhochbau .hero-title,
  .page-maschinenbau .hero-title {
    font-size: clamp(1.7rem, 7.5vw, 2.15rem);
  }
  .lp-sticky-cta .btn { font-size: .82rem; }
}

