:root {
  --bg-page: #020617;
  --bg-section: #020b23;
  --bg-section-soft: #030e2a;

  --accent: #f97316;
  --accent-soft: rgba(249, 115, 22, 0.14);
  --accent-strong: #ea580c;

  --text-main: #e5e7eb;
  --text-muted: #9ca3af;

  --border-soft: rgba(148, 163, 184, 0.45);
  --border-strong: rgba(148, 163, 184, 0.7);

  --radius-lg: 20px;
  --radius-md: 14px;

  --shadow-soft: 0 28px 60px rgba(15, 23, 42, 0.8);
  --shadow-card: 0 18px 42px rgba(15, 23, 42, 0.78);

  --container-width: 1120px;

  --transition-fast: 0.18s ease-out;
  --transition-normal: 0.25s ease;

  --header-h: 72px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; height: auto; }

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #020b23 0, #020617 55%, #000 100%);
  color: var(--text-main);

  min-height: 100vh;

  /* WICHTIG: KEIN FLEX */
  display: block;

  overflow-x: hidden;
  overflow-y: auto;
}

/* Links NICHT blau/rot */
a { color: inherit; text-decoration: none; }
a:visited { color: inherit; }

/* Anker nicht unter sticky Header verstecken */
section[id] { scroll-margin-top: calc(var(--header-h) + 16px); }

/* ===== Header & Navigation ===== */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(2, 6, 23, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.8);
}

.header-inner {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: var(--header-h);
}

/* Logo */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-badge {
  width: 96px;
  height: 56px;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(2, 6, 23, 0.55);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.75);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.brand-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  padding: 8px 10px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  min-width: 0;
}

.brand-title {
  font-family: "Playfair Display", serif;
  font-size: 1.05rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-sub {
  margin-top: 4px;
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 18px;
  font-size: 0.88rem;
}

.nav-link {
  padding: 7px 6px;
  color: var(--text-muted);
  border-bottom: 2px solid transparent;
  transition: color var(--transition-fast), border-color var(--transition-fast);
}

.nav-link:hover {
  color: #ffffff;
  border-color: var(--accent);
}

.nav-cta {
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--accent);
  color: #111827;
  font-weight: 650;
  box-shadow: 0 12px 30px rgba(249, 115, 22, 0.7);
  border: none;
  cursor: pointer;
  transition: transform var(--transition-fast), background var(--transition-fast), box-shadow var(--transition-fast);
}

.nav-cta:hover {
  background: var(--accent-strong);
  box-shadow: 0 16px 36px rgba(249, 115, 22, 0.85);
  transform: translateY(-1px);
}

.burger {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: rgba(15, 23, 42, 0.92);
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.85);
}

.burger-lines {
  width: 20px;
  height: 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.burger-line {
  height: 2px;
  border-radius: 999px;
  background: #e5e7eb;
}

@media (min-width: 900px) {
  .nav-desktop { display: flex; }
  .burger { display: none; }
}

/* Mobile-Menü */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 23, 0.98);
  backdrop-filter: blur(14px);
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  transition: transform var(--transition-normal), opacity var(--transition-normal);
  z-index: 40;
}

.mobile-menu.is-open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu-inner {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 84px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 1.05rem;
}

.mobile-menu a {
  padding: 10px 0;
  color: var(--text-main);
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

/* ===== Layout allgemein ===== */
/* FIX: kein flex:1 */
main { display: block; }

.page {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 18px 18px 40px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* ===== Hero ===== */
.hero {
  background: radial-gradient(circle at top left, #0b1120 0, #020617 55%, #000 100%);
  border-radius: 28px;
  padding: 26px 20px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(15, 23, 42, 0.9);
  position: relative;
  overflow: hidden;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.hero-kicker {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}

.hero-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.75rem, 4.2vw, 2.45rem);
  line-height: 1.12;
  margin-bottom: 10px;
}

.hero-highlight { color: var(--accent); }

.hero-text {
  font-size: 0.97rem;
  color: var(--text-muted);
  max-width: 36rem;
}

/* ===== Slider ===== */
.hero-impressions { margin-top: 14px; }

.hero-impressions-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.hero-slider {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  height: 420px;
  background: #020617;
  border: 1px solid var(--border-strong);
}

@media (min-width: 900px) {
  .hero-slider { height: 430px; }
}

.hero-slider-track {
  display: flex;
  height: 100%;
  transition: transform 0.5s ease-in-out;
  will-change: transform;
}

.hero-slide { flex: 0 0 100%; height: 100%; }

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-slider-dots {
  position: absolute;
  bottom: 10px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 7px;
}

.hero-slider-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(148, 163, 184, 0.55);
  border: none;
  cursor: pointer;
}

.hero-slider-dot.is-active { background: var(--accent); }

/* ===== Sektionen allgemein ===== */
.section {
  background: var(--bg-section);
  border-radius: var(--radius-lg);
  padding: 22px 18px 20px;
  border: 1px solid rgba(15, 23, 42, 0.9);
  box-shadow: var(--shadow-card);
}

@media (min-width: 900px) {
  .section { padding: 26px 22px 22px; }
}

.section-header { margin-bottom: 16px; }

.section-kicker {
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}

.section-title {
  font-family: "Playfair Display", serif;
  font-size: 1.45rem;
  margin-bottom: 6px;
}

.section-text {
  font-size: 0.92rem;
  color: var(--text-muted);
  max-width: 52rem;
}

/* Leistungen */
.grid-3 {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  margin-top: 14px;
}

@media (min-width: 880px) {
  .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.service-card {
  background: var(--bg-section-soft);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-soft);
  padding: 14px 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.service-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}

.service-icon {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: #fed7aa;
}

.service-title { font-weight: 650; font-size: 0.97rem; }
.service-text { font-size: 0.88rem; color: var(--text-muted); }

.pill-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }

.pill {
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 0.75rem;
  background: rgba(15, 23, 42, 0.92);
  border: 1px solid rgba(148, 163, 184, 0.45);
  color: var(--text-muted);
}

/* Referenzen */
.logo-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; }
.logo-pill {
  padding: 10px 14px;
  border-radius: 999px;
  background: #020617;
  border: 1px solid rgba(30, 64, 175, 0.65);
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Zahlen & Fakten */
.stats-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  margin-top: 10px;
}

@media (min-width: 740px) {
  .stats-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.stat {
  text-align: center;
  padding: 16px 12px;
  border-radius: 16px;
  background: #020617;
  border: 1px solid rgba(30, 64, 175, 0.65);
}

.stat-number { font-size: 1.65rem; font-weight: 650; margin-bottom: 3px; }
.stat-label { font-size: 0.86rem; color: var(--text-muted); }

/* Wie können wir helfen? */
.grid-2 {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  margin-top: 14px;
}

@media (min-width: 860px) {
  .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.help-card {
  background: var(--bg-section-soft);
  border-radius: var(--radius-md);
  border: 1px solid rgba(30, 64, 175, 0.85);
  padding: 16px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.help-label { font-size: 0.82rem; color: var(--text-muted); }
.help-title { font-size: 1.02rem; font-weight: 650; margin-top: 2px; }
.help-text { font-size: 0.88rem; color: var(--text-muted); }

.help-link {
  margin-top: 8px;
  font-size: 0.87rem;
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.testimonial {
  margin-top: 14px;
  padding: 16px 14px;
  border-radius: 16px;
  background: #020617;
  border: 1px solid rgba(148, 163, 184, 0.45);
  font-size: 0.92rem;
  color: var(--text-muted);
}

.testimonial strong { color: var(--text-main); }

/* ===== Kontakt ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 14px;
}

@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: 0.95fr 1.05fr;
    align-items: stretch;
  }
}

.contact-box {
  padding: 16px 14px;
  border-radius: 16px;
  background: #020617;
  border: 1px solid rgba(148, 163, 184, 0.65);
  font-size: 0.9rem;
  color: var(--text-muted);
}

.contact-box strong { color: var(--text-main); }

.contact-row {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-row a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.contact-hours { margin-top: 12px; }

.contact-actions {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(2, 6, 23, 0.55);
  color: var(--text-main);
  font-size: 0.88rem;
  transition: transform var(--transition-fast), border-color var(--transition-fast), background var(--transition-fast);
  cursor: pointer;
}

.btn-pill:hover {
  transform: translateY(-1px);
  border-color: rgba(249, 115, 22, 0.55);
  background: rgba(249, 115, 22, 0.10);
}

.btn-facebook {
  border-color: rgba(249, 115, 22, 0.45);
  color: var(--text-main); /* bleibt lesbar */
  background: rgba(249, 115, 22, 0.10);
}

.btn-facebook:hover {
  border-color: rgba(249, 115, 22, 0.7);
  background: rgba(249, 115, 22, 0.16);
}

/* Map */
.map-box {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.45);
  background: rgba(2, 6, 23, 0.6);
  box-shadow: var(--shadow-card);
  min-height: 320px;
}

.map-box iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  display: block;
  border: 0;
}

/* Mobile: Scroll nicht von Map „gefangen“ */
@media (max-width: 900px) {
  .map-box iframe { pointer-events: none; }
}

/* ===== Footer ===== */
footer {
  border-top: 1px solid rgba(15, 23, 42, 0.9);
  background: #020617;

  padding: 14px 18px calc(18px + env(safe-area-inset-bottom));
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-inner {
  max-width: var(--container-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

/* Footer-Links IMMER weiß, keine Farben */
.footer-links { display: flex; gap: 12px; flex-wrap: wrap; }
.footer-links a,
.footer-links a:visited,
.footer-links a:hover,
.footer-links a:active {
  color: var(--text-main);
}