/* ==========================================
   FRABA.at – Stylesheet
   Dark, edel, premium.
   ========================================== */

/* --- FONTS (self-hosted, DSGVO-konform) --- */
@font-face {
  font-family: 'Inter';
  src: url('../assets/fonts/Inter-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../assets/fonts/Inter-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../assets/fonts/Inter-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../assets/fonts/Inter-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../assets/fonts/Inter-Black.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Bebas Neue';
  src: url('../assets/fonts/BebasNeue-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

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

:root {
  /* Colors — surface */
  --color-bg: #000000;
  --color-bg-elevated: #0A0A0A;
  --color-bg-card: #111111;
  --color-bg-card-hover: #1A1A1A;

  /* Colors — text */
  --color-text: #FFFFFF;
  --color-text-secondary: #AAAAAA;
  --color-text-muted: #666666;
  --color-text-claim: #999999;

  /* Colors — accent + borders */
  --color-accent: #C8A04A;
  --color-accent-hover: #D4B05E;
  --color-border: #222222;
  --color-border-light: #333333;

  /* Type */
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Bebas Neue', 'Impact', sans-serif;
  --font-logo: 'Blackout Midnight', 'Bebas Neue', Impact, sans-serif;

  /* Spacing — 4px base scale */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 128px;

  /* Radii */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-pill: 999px;

  /* Shadows */
  --shadow-card: 0 8px 24px rgba(0, 0, 0, 0.45);
  --shadow-raise: 0 16px 48px rgba(0, 0, 0, 0.6);
  --shadow-accent: 0 8px 24px rgba(200, 160, 74, 0.22);

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-inout: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast: 150ms;
  --dur-med: 300ms;
  --dur-slow: 600ms;

  /* Layout */
  --container: 1200px;
  --nav-h: 72px;

  /* Legacy aliases — do not remove, referenced throughout */
  --font-family: var(--font-body);
  --container-max: var(--container);
  --transition: var(--dur-med) var(--ease-out);
  --transition-slow: var(--dur-slow) var(--ease-out);
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
  overflow-x: hidden;
}

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

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--color-accent-hover);
}

/* --- SKIP LINK --- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--color-accent);
  color: var(--color-bg);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-sm);
  z-index: 9999;
  font-weight: 700;
  font-size: 14px;
}
.skip-link:focus {
  top: 16px;
}

/* --- CONTAINER --- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-5);
}

/* --- NAVBAR --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: var(--space-4) 0;
  transition: background var(--transition), backdrop-filter var(--transition);
}

.navbar.scrolled {
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-5);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-logo img {
  height: 32px;
  width: auto;
  transition: opacity var(--transition);
  opacity: 0;
}
.navbar.scrolled .navbar-logo img {
  opacity: 1;
}
.navbar.scrolled .navbar-logo:hover img {
  opacity: 0.8;
}

.navbar-links {
  display: flex;
  gap: var(--space-6);
}

.navbar-links a {
  color: var(--color-text-secondary);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  transition: color var(--transition);
}

.navbar-links a:hover {
  color: var(--color-text);
}

/* Language switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-left: 8px;
  padding-left: 24px;
  border-left: 1px solid var(--color-border);
}
.lang-switcher a {
  color: var(--color-text-muted);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color var(--transition);
}
.lang-switcher a:hover {
  color: var(--color-text);
}
.lang-switcher a.active {
  color: var(--color-accent);
  pointer-events: none;
}
.lang-switcher span {
  color: var(--color-border-light);
  font-size: 13px;
  user-select: none;
}

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  position: relative;
  z-index: 1001;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-text);
  transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* --- HERO --- */
.hero {
  position: relative;
  height: 115vh;
  height: 115svh;
  text-align: center;
}

.hero-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.6s ease, visibility 0s;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 40%, rgba(200, 160, 74, 0.06) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 0 var(--space-5);
}

.hero-logo-3d {
  margin-bottom: 0;
}

.hero-bottom {
  position: absolute;
  bottom: 40px;
  left: 0;
  right: 0;
  text-align: center;
  z-index: 1;
}

.hero-3d-img {
  width: 80vw;
  max-width: 1200px;
  height: auto;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 0 30px rgba(200, 160, 74, 0.2)) drop-shadow(0 0 60px rgba(200, 160, 74, 0.1));
  transition: filter 400ms ease;
}

.hero.lights-off .hero-3d-img {
  filter: none;
}

.light-toggle {
  position: absolute;
  top: 96px;
  right: 32px;
  z-index: 10;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  color: var(--color-accent);
  cursor: pointer;
  transition: color 250ms ease, border-color 250ms ease, background 250ms ease, box-shadow 250ms ease, opacity 250ms ease;
}

.light-toggle.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.light-toggle:hover {
  background: rgba(200, 160, 74, 0.08);
  border-color: var(--color-accent);
}

.light-toggle:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

.hero:not(.lights-off) .light-toggle {
  box-shadow: 0 0 18px rgba(200, 160, 74, 0.25);
}

.hero.lights-off .light-toggle {
  color: var(--color-text-muted);
  border-color: var(--color-border-light);
}

@media (max-width: 768px) {
  .light-toggle {
    top: 80px;
    right: 16px;
    width: 40px;
    height: 40px;
  }
}

.hero-est {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.3em;
  color: var(--color-text-muted);
  text-transform: uppercase;
  margin-bottom: 40px;
}

.hero-claim {
  font-family: var(--font-heading);
  font-size: clamp(32px, 3.8vw, 44px);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--color-text);
  margin: 0 0 14px;
}

.hero-subline {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--color-text-secondary);
  font-weight: 300;
  max-width: 500px;
  margin: 0 auto 60px;
}

/* Scroll indicator */
.scroll-indicator {
  display: inline-block;
  margin-top: 20px;
}

.scroll-arrow {
  display: block;
  width: 24px;
  height: 24px;
  border-right: 2px solid var(--color-text-muted);
  border-bottom: 2px solid var(--color-text-muted);
  transform: rotate(45deg);
  animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {
  0%, 20%, 50%, 80%, 100% { transform: rotate(45deg) translateY(0); }
  40% { transform: rotate(45deg) translateY(8px); }
  60% { transform: rotate(45deg) translateY(4px); }
}

/* --- SECTIONS (general) --- */
.section {
  padding: 140px 0;
  position: relative;
}

.section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  max-width: 600px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-border-light), transparent);
}

.section-label {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--color-accent);
  margin-bottom: var(--space-4);
  text-transform: uppercase;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: var(--space-3);
}

.section-subtitle {
  font-size: clamp(18px, 2.5vw, 22px);
  color: var(--color-text-secondary);
  font-weight: 300;
  margin-bottom: 60px;
}

/* --- REVEAL ANIMATIONS --- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- LEISTUNGEN --- */
.leistung-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 100px;
}

.leistung-block:last-child {
  margin-bottom: 0;
}

.leistung-block.reverse {
  direction: rtl;
}
.leistung-block.reverse > * {
  direction: ltr;
}

.leistung-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

/* --- LEISTUNG PRODUCT PHOTO --- */
.leistung-photo {
  display: block;
  width: 100%;
  max-width: min(calc(269px * var(--img-aspect, 1.5)), 519px);
  max-height: 269px;
  margin-left: auto;
  margin-right: auto;
  aspect-ratio: 3 / 2;
  background:
    radial-gradient(ellipse at 50% 45%, rgba(200, 160, 74, 0.08) 0%, transparent 65%),
    var(--color-bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: border-color var(--transition);
}

.leistung-photo:hover {
  border-color: var(--color-border-light);
}

.leistung-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  padding: 8%;
  box-sizing: border-box;
}

/* Variant for photos that carry their own background.
   Inherits the shared card frame (border, radius, gold glow) from .leistung-photo.
   Frame aspect follows the image itself so there's no letterbox transition on
   either axis. Set --img-aspect on the picture to the image's width/height ratio. */
.leistung-photo--bleed {
  aspect-ratio: var(--img-aspect, 3 / 2);
}

.leistung-photo--bleed img {
  object-fit: contain;
  padding: 0;
}

.leistung-text h4 {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 400;
  margin-bottom: var(--space-3);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.leistung-num {
  font-family: var(--font-heading);
  font-size: 13px;
  letter-spacing: 0.3em;
  color: var(--color-accent);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.leistung-claim {
  font-size: 11px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--color-text-claim);
  font-weight: 300;
  margin-bottom: var(--space-4);
}

.leistung-text p:last-child {
  color: var(--color-text-secondary);
  font-size: 16px;
  line-height: 1.7;
}

/* --- SERVICE --- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: var(--space-6);
}

.service-card {
  padding: 32px;
  border-radius: var(--radius-lg);
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  transition: border-color var(--transition), background var(--transition);
}

.service-card:hover {
  border-color: var(--color-border-light);
  background: var(--color-bg-card-hover);
}

.svc-num {
  font-family: var(--font-heading);
  font-size: 28px;
  color: var(--color-accent);
  letter-spacing: 0.02em;
  line-height: 1;
  margin-bottom: 24px;
}

.service-card h4 {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.05;
  margin-bottom: 14px;
}

.service-card .svc-claim {
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--color-accent);
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: 14px;
}

.service-card p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text-secondary);
}

/* --- BESTELLCENTER --- */
.bestellcenter-layout {
  display: flex;
  flex-direction: column;
  gap: 60px;
  align-items: center;
}

/* iPad Mockup */
.laptop-mockup {
  position: relative;
  width: 100%;
  max-width: 900px;
}

.bestellcenter-hero-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-md);
}

.bestellcenter-features {
  width: 100%;
  display: grid;
  gap: 0;
}

.feature-item {
  display: grid;
  grid-template-columns: 32px 1fr auto;
  gap: 18px;
  padding: 18px 0;
  border-top: 1px solid var(--color-border);
  align-items: center;
}

.feature-item:first-child {
  border-top: none;
}

.feature-item .fi-num {
  font-family: var(--font-heading);
  font-size: 16px;
  color: var(--color-accent);
  letter-spacing: 0.04em;
}

.feature-item h5 {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: 4px;
}

.feature-item p {
  font-size: 16px;
  color: var(--color-text-muted);
  letter-spacing: 0.01em;
}

.feature-item .fi-meta {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--color-text-muted);
  text-transform: uppercase;
}

.bestellcenter-cta {
  text-align: center;
  margin-top: 60px;
}

.btn {
  display: inline-block;
  padding: var(--space-4) 40px;
  background: var(--color-accent);
  color: var(--color-bg);
  font-family: var(--font-family);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}

.btn:hover {
  background: var(--color-accent-hover);
  color: var(--color-bg);
  transform: translateY(-2px);
}

.powered-by {
  font-size: 13px;
  color: var(--color-text-muted);
  margin-top: var(--space-4);
}

/* --- ÜBER UNS --- */
.ueber-uns .section-title {
  max-width: 600px;
}

.ueber-text {
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-text-secondary);
  max-width: 700px;
  margin-bottom: 80px;
}

.key-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.fact {
  padding: 28px 24px;
  border-top: 1px solid var(--color-border-light);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.fact-label {
  font-size: 11px;
  color: var(--color-text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.22em;
}

.fact-number {
  font-family: var(--font-heading);
  font-size: clamp(56px, 7vw, 88px);
  font-weight: 400;
  color: var(--color-text);
  line-height: 0.9;
  letter-spacing: 0.01em;
  display: block;
}

.fact-number .unit {
  color: var(--color-accent);
}

.fact-suffix {
  font-size: 13px;
  color: var(--color-text-claim);
  font-weight: 300;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* --- KONTAKT --- */
.kontakt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.kontakt-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.kontakt-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.kontakt-item svg {
  flex-shrink: 0;
  color: var(--color-accent);
  margin-top: 4px;
}

.kontakt-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 4px;
}

.kontakt-value {
  font-size: 18px;
  font-weight: 400;
  color: var(--color-text);
  line-height: 1.5;
}

.kontakt-link {
  color: var(--color-accent);
}
.kontakt-link:hover {
  color: var(--color-accent-hover);
}

.kontakt-map {
  height: 400px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: var(--color-bg-card);
}

/* Map activation placeholder (DSGVO: 2-Klick-Lösung) */
.map-activate {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  padding: var(--space-5);
  background: transparent;
  border: none;
  color: var(--color-text-secondary);
  cursor: pointer;
  font-family: var(--font-body);
  text-align: center;
  transition: background var(--transition), color var(--transition);
}

.map-activate:hover,
.map-activate:focus-visible {
  background: var(--color-bg-card-hover);
  color: var(--color-text);
  outline: none;
}

.map-activate-icon {
  color: var(--color-accent);
  margin-bottom: var(--space-2);
}

.map-activate-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: 0.02em;
}

.map-activate-note {
  font-size: 13px;
  color: var(--color-text-muted);
  max-width: 340px;
  line-height: 1.5;
}

/* --- FOOTER --- */
.footer {
  padding: 40px 0;
  border-top: 1px solid var(--color-border);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo {
  height: 20px;
  width: auto;
  opacity: 0.5;
  margin-bottom: var(--space-2);
}

.footer-copy {
  font-size: 13px;
  color: var(--color-text-muted);
}

.footer-links {
  display: flex;
  gap: var(--space-5);
}

.footer-links a {
  font-size: 13px;
  color: var(--color-text-muted);
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--color-text);
}

/* --- LEGAL PAGES --- */
.legal-page {
  padding-top: 120px;
  padding-bottom: 80px;
}

.legal-content {
  max-width: 800px;
}

.legal-content h1 {
  font-family: var(--font-heading);
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 400;
  margin-bottom: var(--space-6);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.legal-content h2 {
  font-size: 22px;
  font-weight: 700;
  margin-top: var(--space-7);
  margin-bottom: var(--space-4);
}

.legal-content h3 {
  font-size: 18px;
  font-weight: 700;
  margin-top: var(--space-6);
  margin-bottom: var(--space-3);
}

.legal-content p {
  color: var(--color-text-secondary);
  margin-bottom: var(--space-4);
  line-height: 1.8;
}

.legal-content strong {
  color: var(--color-text);
}

.legal-content ul,
.legal-content ol {
  color: var(--color-text-secondary);
  margin-bottom: var(--space-4);
  padding-left: 24px;
  line-height: 1.8;
}

.legal-content li {
  margin-bottom: var(--space-2);
}

.legal-content hr {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, var(--color-border), transparent);
  margin: 60px 0;
}

.legal-content a {
  color: var(--color-accent);
}

.legal-source {
  font-size: 13px;
  color: var(--color-text-muted);
}

/* --- GLASSMORPHISM CARD (utility) --- */
.glass-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
}

/* --- LEAFLET OVERRIDES (dark map) --- */
.leaflet-container {
  background: var(--color-bg-card) !important;
}

/* --- RESPONSIVE --- */

/* Tablet */
@media (max-width: 1024px) {
  .section {
    padding: 100px 0;
  }

  .leistung-block {
    gap: 40px;
    margin-bottom: 80px;
  }

  .bestellcenter-layout {
    gap: 40px;
  }

  .bestellcenter-features {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .bestellcenter-features .feature-item,
  .bestellcenter-features .feature-item:nth-child(4),
  .bestellcenter-features .feature-item:nth-child(5) {
    grid-column: auto;
  }

  .service-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .service-card {
    padding: 24px;
  }

  .kontakt-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .kontakt-map {
    height: 300px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .navbar-links {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    height: 100svh;
    background: #000000;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-6);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition);
    z-index: 999;
  }

  .navbar-links.open {
    opacity: 1;
    pointer-events: auto;
  }

  /* Remove backdrop-filter containing block when menu is open */
  .navbar:has(.navbar-links.open),
  .navbar.menu-open {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: transparent !important;
  }

  .navbar-links a {
    font-size: 24px;
  }

  .lang-switcher {
    margin-left: 0;
    padding-left: 0;
    border-left: none;
    margin-top: var(--space-4);
  }
  .lang-switcher a {
    font-size: 18px;
  }
  .lang-switcher span {
    font-size: 18px;
  }

  .section {
    padding: 80px 0;
  }

  .section-title {
    margin-bottom: 40px;
  }

  .leistung-block {
    grid-template-columns: 1fr;
    gap: var(--space-5);
    margin-bottom: 60px;
  }

  .leistung-block.reverse {
    direction: ltr;
  }

  .leistung-text h4,
  .service-card h4 {
    font-size: 22px;
  }

  .key-facts {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .fact {
    padding: 28px 16px;
  }

  .footer-inner {
    flex-direction: column;
    gap: var(--space-5);
    text-align: center;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* Small mobile */
@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-4);
  }

  .hero-neon-text {
    font-size: clamp(48px, 18vw, 80px);
  }
}
