/* ==========================================================
   GEDE Türenwerk – Globales Stylesheet
   CI: Türkis #3BBFB2, klar, hell, modern
   ========================================================== */

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

:root {
  /* Primärfarben (CI Türkis) */
  --teal:        #3BBFB2;
  --teal2:       #2a9e93;
  --teal-light:  #eaf7f6;
  --teal-mid:    rgba(59,191,178,.12);
  /* Logo-Akzentfarben (für dezente Verläufe und Highlights) */
  --logo-petrol: #1298AA;
  --logo-blue:   #67B3E3;
  --logo-indigo: #484695;
  --logo-purple: #9D5098;
  /* Logo-Verlauf für Highlights und dekorative Akzente */
  --logo-gradient: linear-gradient(135deg, #3BBFB2 0%, #1298AA 35%, #484695 75%, #9D5098 100%);
  --logo-gradient-soft: linear-gradient(135deg, rgba(59,191,178,.08) 0%, rgba(72,70,149,.08) 100%);
  --dark:        #1a1a1a;
  --dark2:       #2c2c2c;
  --border:      #e4e4e4;
  --border-mid:  #d0d0d0;
  --bg:          #ffffff;
  --bg2:         #f7f7f7;
  --bg3:         #f0f0f0;
  --text:        #1a1a1a;
  --text-mid:    #4a4a4a;
  --text-dim:    #888888;
  --gold:        #b8943e;
  --shadow-sm:   0 2px 8px rgba(0,0,0,.04);
  --shadow:      0 4px 20px rgba(0,0,0,.06);
  --shadow-lg:   0 12px 40px rgba(0,0,0,.08);
  --radius:      6px;
  --radius-lg:   12px;
  --container:   1180px;
  --transition:  .25s cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Satoshi', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.6;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a   { color: inherit; text-decoration: none; }

/* ── NAV ───────────────────────────────────────────────── */
.nav {
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 4px rgba(0,0,0,.04);
  position: sticky;
}
/* Dezente Akzentlinie unter Navigation – nimmt die Logo-Farbpalette auf */
.nav::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 2px;
  background: var(--logo-gradient);
  opacity: .55;
  pointer-events: none;
}
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
/* Header-Logo: zurückhaltend aber erkennbar */
.nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-logo .brand-logo {
  height: 48px;
  width: auto;
  display: block;
  transition: transform var(--transition), filter var(--transition);
}
.nav-logo:hover .brand-logo {
  transform: scale(1.03);
}
@media (max-width: 768px) {
  .nav-logo .brand-logo { height: 40px; }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-mid);
  letter-spacing: .02em;
  position: relative;
  transition: color .15s;
  padding: 6px 0;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--teal);
  transition: width .25s ease;
}
.nav-links a:hover { color: var(--teal); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--teal); }
.nav-links a.active::after { width: 100%; }

/* Dropdown */
.nav-links li.has-dropdown { position: relative; }
.nav-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: -20px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 0;
  min-width: 220px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: all .2s ease;
  list-style: none;
}
.nav-links li.has-dropdown:hover .nav-dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.nav-dropdown li { margin: 0; }
.nav-dropdown a {
  display: block;
  padding: 9px 22px;
  font-size: 13px;
  color: var(--text-mid);
}
.nav-dropdown a::after { display: none; }
.nav-dropdown a:hover { background: var(--teal-light); color: var(--teal); }

.nav-cta {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  background: var(--teal);
  border: none;
  padding: 9px 22px;
  border-radius: 4px;
  transition: background .15s, transform .15s;
  white-space: nowrap;
  letter-spacing: .02em;
}
.nav-cta:hover { background: var(--teal2); transform: translateY(-1px); }

/* Mobile-Toggle */
.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  width: 40px;
  height: 40px;
  cursor: pointer;
  position: relative;
}
.nav-toggle span {
  position: absolute;
  left: 8px;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: all .25s;
}
.nav-toggle span:nth-child(1) { top: 14px; }
.nav-toggle span:nth-child(2) { top: 20px; }
.nav-toggle span:nth-child(3) { top: 26px; }
.nav-toggle.is-open span:nth-child(1) { top: 20px; transform: rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { top: 20px; transform: rotate(-45deg); }

/* ── BUTTONS ───────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Satoshi', sans-serif;
  font-size: 14px;
  font-weight: 600;
  padding: 13px 28px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: all .15s ease;
  letter-spacing: .01em;
  text-decoration: none;
}
.btn-primary {
  background: var(--teal);
  color: #fff;
  box-shadow: 0 2px 12px rgba(59,191,178,.22);
}
.btn-primary:hover {
  background: var(--teal2);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(59,191,178,.32);
}
.btn-ghost {
  background: transparent;
  color: var(--text-mid);
  border: 1px solid var(--border-mid);
}
.btn-ghost:hover {
  border-color: var(--teal);
  color: var(--teal);
  background: var(--teal-light);
}
.btn-white {
  background: #fff;
  color: var(--teal);
  font-weight: 700;
}
.btn-white:hover { background: var(--teal-light); transform: translateY(-1px); }
.btn-dark {
  background: var(--dark);
  color: #fff;
}
.btn-dark:hover { background: var(--dark2); }

/* ── HERO ──────────────────────────────────────────────── */
.hero {
  background: linear-gradient(160deg, #edf8f7 0%, #ffffff 55%);
  border-bottom: 1px solid var(--border);
  padding: 96px 40px 88px;
  position: relative;
  overflow: hidden;
}
.hero-photo {
  width: 100%;
  max-width: 540px;
  height: 460px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 24px 60px -12px rgba(0,0,0,.18), 0 0 0 1px rgba(255,255,255,.6);
  animation: fadeIn 1s ease .4s both;
}
.hero-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, transparent 60%, rgba(0,0,0,.05));
  pointer-events: none;
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 8s ease-out;
}
.hero:hover .hero-photo img { transform: scale(1.04); }

.hero-photo-badge {
  position: absolute;
  top: 24px;
  left: 24px;
  z-index: 2;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 10px 18px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal);
  box-shadow: 0 4px 14px rgba(0,0,0,.08);
}

/* Tür-Programm Visual aus echten mtwerk-Bildern */
.tueren-showcase {
  width: 100%;
  height: auto;
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg2);
}
.tueren-showcase img { width: 100%; height: auto; display: block; }
.hero::before {
  content: '';
  position: absolute;
  top: -120px; right: -80px;
  width: 540px; height: 540px;
  background: radial-gradient(ellipse, rgba(59,191,178,.14) 0%, transparent 65%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -200px; left: -150px;
  width: 480px; height: 480px;
  background: radial-gradient(ellipse, rgba(59,191,178,.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 64px;
  position: relative;
  z-index: 2;
}
.hero-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 18px;
  animation: fadeUp .8s ease both;
}
.hero h1 {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -.025em;
  margin-bottom: 20px;
  animation: fadeUp .8s ease .1s both;
}
.hero h1 .accent { color: var(--teal); }
.hero-sub {
  font-size: 17px;
  color: var(--text-mid);
  line-height: 1.65;
  max-width: 520px;
  margin-bottom: 40px;
  animation: fadeUp .8s ease .2s both;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  animation: fadeUp .8s ease .3s both;
}

/* Hero-Visual: SVG-Türen-Komposition */
.hero-visual {
  width: 360px;
  height: 440px;
  position: relative;
  animation: fadeIn 1s ease .4s both;
}

/* ── PAGE-HEADER (für Unterseiten) ─────────────────────── */
.page-header {
  background: linear-gradient(160deg, #edf8f7 0%, #ffffff 60%);
  border-bottom: 1px solid var(--border);
  padding: 72px 40px 64px;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  top: -80px; right: -40px;
  width: 400px; height: 400px;
  background: radial-gradient(ellipse, rgba(59,191,178,.12) 0%, transparent 65%);
  pointer-events: none;
}
.page-header-inner {
  max-width: var(--container);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.breadcrumb {
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 16px;
}
.breadcrumb a { color: var(--text-mid); transition: color .15s; }
.breadcrumb a:hover { color: var(--teal); }
.breadcrumb span { margin: 0 8px; color: var(--text-dim); }
.page-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 14px;
}
.page-header h1 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.02em;
  margin-bottom: 14px;
}
.page-header-sub {
  font-size: 16px;
  color: var(--text-mid);
  line-height: 1.65;
  max-width: 640px;
}

/* ── SECTIONS ──────────────────────────────────────────── */
.section {
  max-width: var(--container);
  margin: 0 auto;
  padding: 80px 40px;
}
.section-rule {
  border: none;
  border-top: 1px solid var(--border);
  max-width: var(--container);
  margin: 0 auto;
}
.section-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 700;
  letter-spacing: -.018em;
  line-height: 1.15;
  margin-bottom: 12px;
}
.section-sub {
  font-size: 16px;
  color: var(--text-mid);
  line-height: 1.65;
  max-width: 620px;
  margin-bottom: 44px;
}
.section-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}
.section-head-row .section-sub { margin-bottom: 0; }

.bg-alt {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.bg-dark {
  background: var(--dark);
  color: rgba(255,255,255,.85);
}
.bg-dark .section-title { color: #fff; }
.bg-dark .section-tag { color: var(--teal); }
.bg-dark .section-sub { color: rgba(255,255,255,.65); }

/* ── CARD-GRID (3-Säulen) ──────────────────────────────── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.card-grid-2 { grid-template-columns: repeat(2, 1fr); }
.card-grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  display: flex;
  flex-direction: column;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--teal);
}
.card-visual {
  height: 220px;
  background: var(--bg2);
  position: relative;
  overflow: hidden;
}
.card-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,.05) 100%);
  pointer-events: none;
}
.card-body {
  padding: 28px 28px 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.card-body h3 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -.01em;
  margin-bottom: 10px;
}
.card-body p {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.65;
  margin-bottom: 18px;
  flex: 1;
}
.card-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--teal);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  letter-spacing: .02em;
  transition: gap .2s ease;
}
.card-link:hover { gap: 10px; }

/* ── FEATURE-LISTE ─────────────────────────────────────── */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.feature {
  padding: 8px 0;
}
.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--teal-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--teal);
  transition: transform .25s ease;
}
.feature:hover .feature-icon { transform: scale(1.08) rotate(-3deg); }
.feature h4 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -.01em;
}
.feature p {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.65;
}

/* ── STATS ─────────────────────────────────────────────── */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: #fff;
  overflow: hidden;
}
.stat {
  padding: 36px 28px;
  text-align: center;
  border-right: 1px solid var(--border);
}
.stat:last-child { border-right: none; }
.stat-num {
  font-size: 42px;
  font-weight: 700;
  color: var(--teal);
  line-height: 1;
  letter-spacing: -.03em;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-mid);
}

/* ── TIMELINE ──────────────────────────────────────────── */
.timeline {
  position: relative;
  padding-left: 32px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 9px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(to bottom, var(--teal), var(--teal-light));
}
.timeline-item {
  position: relative;
  padding-bottom: 36px;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -32px;
  top: 6px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--teal);
}
.timeline-year {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--teal);
  margin-bottom: 4px;
}
.timeline-item h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 6px;
  letter-spacing: -.01em;
}
.timeline-item p {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.65;
  max-width: 580px;
}

/* ── CONTACT-STRIP ────────────────────────────────────── */
.contact-strip {
  background: var(--teal);
  padding: 60px 40px;
  position: relative;
  overflow: hidden;
}
.contact-strip::before {
  content: '';
  position: absolute;
  top: -100px; right: -50px;
  width: 360px; height: 360px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
}
.contact-strip::after {
  content: '';
  position: absolute;
  bottom: -120px; left: 30%;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: rgba(255,255,255,.04);
}
.contact-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}
.contact-text strong {
  display: block;
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
  letter-spacing: -.015em;
}
.contact-text p {
  font-size: 15px;
  color: rgba(255,255,255,.85);
  line-height: 1.5;
}
.contact-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ── FORMULAR ──────────────────────────────────────────── */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.form-grid .full { grid-column: 1 / -1; }
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.field label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-mid);
}
.field input,
.field textarea,
.field select {
  font-family: 'Satoshi', sans-serif;
  font-size: 14px;
  padding: 13px 16px;
  border: 1px solid var(--border-mid);
  border-radius: var(--radius);
  background: #fff;
  color: var(--text);
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(59,191,178,.15);
}
.field textarea { resize: vertical; min-height: 140px; }
.field-note {
  font-size: 12px;
  color: var(--text-dim);
}
.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.5;
}
.checkbox-row input { margin-top: 3px; }

/* ── FOOTER ────────────────────────────────────────────── */
footer.site-footer {
  background: var(--dark);
  color: rgba(240,237,232,.65);
  padding: 64px 40px 32px;
}
.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  margin-bottom: 28px;
}
.footer-col h4 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(240,237,232,.4);
  margin-bottom: 18px;
}
.footer-col p,
.footer-col address {
  font-size: 13px;
  color: rgba(240,237,232,.6);
  line-height: 1.85;
  font-style: normal;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a {
  font-size: 13px;
  color: rgba(240,237,232,.6);
  transition: color .15s;
}
.footer-col ul a:hover { color: var(--teal); }
.footer-brand-desc {
  font-size: 13px;
  color: rgba(240,237,232,.55);
  line-height: 1.7;
  margin-top: 16px;
  max-width: 280px;
}
.footer-group {
  display: flex;
  gap: 14px;
  margin-top: 18px;
  flex-wrap: wrap;
}
.footer-group a {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(240,237,232,.5);
  padding: 6px 12px;
  border: 1px solid rgba(240,237,232,.15);
  border-radius: 3px;
  transition: all .15s;
}
.footer-group a:hover {
  color: var(--teal);
  border-color: var(--teal);
}
.footer-bottom {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12px;
  color: rgba(240,237,232,.35);
}
.footer-bottom a { color: rgba(240,237,232,.4); }
.footer-bottom a:hover { color: var(--teal); }
/* Logo im Footer-Bottom – dezent zentriert, weiße Variante für dunklen Footer */
.footer-logo {
  height: 40px;
  width: auto;
  display: block;
  opacity: .75;
  transition: opacity var(--transition);
}
.footer-logo:hover { opacity: 1; }
@media (max-width: 640px) {
  .footer-bottom { justify-content: center; text-align: center; }
  .footer-logo { order: -1; height: 48px; margin-bottom: 8px; }
}

/* ── ANIMATIONEN ───────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes blink {
  0%,100% { opacity: 1; }
  50%     { opacity: .3; }
}
@keyframes float {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-10px); }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── LIGHTBOX ──────────────────────────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 40px;
  cursor: zoom-out;
}
.lightbox.is-open { display: flex; animation: fadeIn .25s ease; }
.lightbox-content {
  max-width: 90vw;
  max-height: 85vh;
  position: relative;
}
.lightbox-content > * {
  max-width: 100%;
  max-height: 85vh;
  border-radius: 8px;
  display: block;
}
.lightbox-close {
  position: absolute;
  top: 30px;
  right: 40px;
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,.1);
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  transition: background .15s;
}
.lightbox-close:hover { background: rgba(255,255,255,.2); }
.lightbox-caption {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.85);
  font-size: 14px;
  background: rgba(0,0,0,.5);
  padding: 8px 16px;
  border-radius: 4px;
}

/* ── HELPER ────────────────────────────────────────────── */
.text-center { text-align: center; }
.mb-0  { margin-bottom: 0 !important; }
.mb-16 { margin-bottom: 16px; }
.mb-32 { margin-bottom: 32px; }

/* ══════════════════════════════════════════════════════════
   RESPONSIVE – TABLET
   ══════════════════════════════════════════════════════════ */
@media (max-width: 960px) {
  .nav-inner { padding: 0 20px; height: 64px; }
  .nav-links {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all .25s ease;
  }
  .nav-links.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .nav-links li {
    border-bottom: 1px solid var(--border);
  }
  .nav-links li:last-child { border-bottom: none; }
  .nav-links a { padding: 14px 24px; display: block; }
  .nav-links a::after { display: none; }
  .nav-dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    border-radius: 0;
    padding: 0 0 8px;
    background: var(--bg2);
  }
  .nav-toggle { display: block; }
  .nav-logo img { height: 42px; }

  .hero { padding: 56px 20px 64px; }
  .hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .hero-visual { width: 100%; max-width: 320px; height: 380px; margin: 0 auto; }
  .hero-photo { max-width: 100%; height: 320px; margin: 0 auto; }
  .hero-actions .btn { width: 100%; }

  .page-header { padding: 56px 20px 48px; }

  .section { padding: 56px 20px; }
  .section-head-row { flex-direction: column; align-items: flex-start; gap: 16px; }

  .card-grid,
  .card-grid-4 { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .features { grid-template-columns: 1fr 1fr; gap: 28px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { border-right: none; border-bottom: 1px solid var(--border); }
  .stat:nth-child(2n) { border-right: none; }
  .stat:nth-last-child(-n+2) { border-bottom: none; }

  .form-grid { grid-template-columns: 1fr; gap: 18px; }

  .contact-strip { padding: 48px 20px; }
  .contact-inner { flex-direction: column; align-items: flex-start; }

  footer.site-footer { padding: 48px 20px 28px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 600px) {
  .nav-cta { font-size: 12px; padding: 8px 16px; }
  .nav-logo img { height: 36px; }

  .hero { padding: 44px 16px 52px; }
  .section { padding: 44px 16px; }
  .page-header { padding: 44px 16px 40px; }

  .card-grid,
  .card-grid-2,
  .card-grid-4 { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .stat { border-bottom: 1px solid var(--border) !important; }
  .stat:last-child { border-bottom: none !important; }

  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

  .contact-strip { padding: 40px 16px; }
  .contact-text strong { font-size: 20px; }

  .lightbox { padding: 20px; }
  .lightbox-close { top: 16px; right: 20px; }
}

/* === Honeypot: Anti-Spam-Bot-Feld === */
/* Wirklich unsichtbar für Menschen, aber NICHT via display:none */
/* (sonst erkennen schlaue Bots das und überspringen es) */
.hp-field {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
