/* =====================================================
   FECHNER MALEREIFACHBETRIEB GMBH — BERLIN
   style.css — Glassmorphism Redesign, "Pinselstrich"-Variante
   Farbschema aus Logo: Petrolblau #1B4965 | Terracotta #E8763C
   Eigene Formensprache: asymmetrische Brush-Radien (--radius-brush*),
   handgezeichnete SVG-Unterstreichung statt Balken, Malerband-Textur
   in dunklen Sections, Nav-Links mit Pinselstrich statt Pill-Hover.
   ===================================================== */

/* --- Lokale Schriften (kein externer Font-Request) --- */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/inter-var.woff2') format('woff2');
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
  src: url('../fonts/playfair-var.woff2') format('woff2');
}

/* --- CSS VARIABLEN --- */
:root {
  --petrol:        #1B4965;
  --petrol-dunkel:  #0F2E42;
  --petrol-hell:    #2E6E93;
  --terra:          #E8763C;
  --terra-dunkel:   #C4611F;
  --terra-hell:     #F4A261;
  --dunkel:         #22282C;
  --dunkel-soft:    #3A4248;
  --weiss:          #FFFFFF;
  --hintergrund:    #FAF7F2;
  --flaeche:        #F1ECE2;
  --text:           #22282C;
  --text-soft:      #5A6570;
  --rahmen:         rgba(255,255,255,0.75);
  --schatten:       rgba(27, 73, 101, 0.18);
  --schatten-terra: rgba(232, 118, 60, 0.45);
  --schatten-dark:  rgba(15, 46, 66, 0.25);

  /* Glas-Token */
  --glas:             rgba(255, 255, 255, 0.52);
  --glas-stark:       rgba(255, 255, 255, 0.72);
  --glas-rand:        rgba(255, 255, 255, 0.85);
  --blur:             22px;
  --glas-schatten:    0 18px 50px rgba(15, 46, 66, 0.10), 0 2px 8px rgba(15, 46, 66, 0.05);

  --radius:     14px;
  --radius-lg:  24px;
  --radius-brush:    16px 6px 16px 6px;
  --radius-brush-lg: 32px 10px 32px 10px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-heading: 'Playfair Display', 'Georgia', serif;
  --font-body:    'Inter', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --nav-h: 104px;
}

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

:focus-visible {
  outline: 3px solid var(--terra);
  outline-offset: 3px;
  border-radius: 3px;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--hintergrund);
  line-height: 1.7;
  overflow-x: hidden;
  position: relative;
}

/* Ambiente: weiche Farbflächen hinter allen Glas-Ebenen */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(820px 540px at 8% -6%,   rgba(27, 73, 101, 0.10), transparent 65%),
    radial-gradient(700px 520px at 100% 22%, rgba(232, 118, 60, 0.10), transparent 65%),
    radial-gradient(640px 480px at 14% 78%,  rgba(46, 110, 147, 0.07), transparent 62%),
    radial-gradient(560px 420px at 86% 96%,  rgba(244, 162, 97, 0.08), transparent 60%),
    linear-gradient(180deg, #FBF8F4 0%, #F5F1E9 100%);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--terra); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--terra-dunkel); }
ul, ol { list-style: none; }

/* --- TYPOGRAFIE --- */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.22;
  color: var(--petrol-dunkel);
}
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.3rem); font-weight: 700; margin-bottom: 1rem; }
h2::after {
  content: '';
  display: block;
  width: 56px;
  height: 3px;
  background: linear-gradient(90deg, var(--terra), var(--terra-hell));
  margin-top: 0.6rem;
  border-radius: 2px;
}
[style*="text-align:center"] h2::after,
[style*="text-align: center"] h2::after { margin-left: auto; margin-right: auto; }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.45rem); font-weight: 600; margin-bottom: 0.75rem; color: var(--dunkel-soft); }
p { margin-bottom: 1.25rem; color: var(--text-soft); font-size: 1.04rem; font-weight: 400; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 600; }
address { font-style: normal; }

/* --- LAYOUT UTILITIES --- */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.section { padding: 5.5rem 0; position: relative; }

.section--grau {
  background: linear-gradient(180deg,
    rgba(255,255,255,0) 0%,
    rgba(27, 73, 101, 0.035) 28%,
    rgba(232, 118, 60, 0.045) 100%);
}

.section--dunkel {
  background:
    repeating-linear-gradient(118deg, rgba(255,255,255,0.03) 0 3px, transparent 3px 34px),
    radial-gradient(640px 420px at 12% 8%,  rgba(27, 73, 101, 0.55), transparent 60%),
    radial-gradient(560px 400px at 88% 92%, rgba(232, 118, 60, 0.26), transparent 60%),
    linear-gradient(150deg, #14344A 0%, #0B2434 100%);
  color: var(--weiss);
  overflow: hidden;
}
.section--dunkel::before {
  content: '';
  position: absolute;
  top: -120px;
  right: 8%;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(232, 118, 60, 0.18);
  filter: blur(70px);
  pointer-events: none;
}
.section--dunkel .container { position: relative; z-index: 1; }
.section--dunkel h2, .section--dunkel h3 { color: var(--weiss); }
.section--dunkel p { color: rgba(255,255,255,0.82); }

/* --- NAVIGATION: schwebende Glas-Leiste --- */
.nav {
  position: fixed;
  top: 14px; left: 16px; right: 16px;
  margin: 0 auto;
  max-width: 1240px;
  z-index: 1000;
  height: 76px;
  background: var(--glas-stark);
  backdrop-filter: blur(var(--blur)) saturate(160%);
  -webkit-backdrop-filter: blur(var(--blur)) saturate(160%);
  border: 1px solid var(--glas-rand);
  border-radius: 22px;
  box-shadow: 0 12px 40px rgba(15, 46, 66, 0.12), inset 0 1px 0 rgba(255,255,255,0.9);
  transition: box-shadow var(--transition), background var(--transition);
}
.nav.scrolled {
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 18px 50px rgba(15, 46, 66, 0.18), inset 0 1px 0 rgba(255,255,255,0.95);
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 100%; gap: 1.5rem; max-width: none; padding: 0 1.25rem 0 1.5rem;
}
.nav__logo { flex-shrink: 0; display: flex; align-items: center; }
.nav__logo img { height: 62px; width: auto; }

.nav__menu { display: flex; align-items: center; gap: 0.35rem; }
.nav__item { position: relative; }
.nav__link {
  position: relative;
  display: block;
  padding: 0.55rem 0.9rem;
  font-weight: 500;
  color: var(--dunkel);
  border-radius: 8px;
  transition: color var(--transition);
  white-space: nowrap;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.8rem;
}
.nav__link::after {
  content: '';
  position: absolute;
  left: 50%; bottom: 2px;
  width: 0; height: 2px;
  background: linear-gradient(90deg, var(--terra), var(--terra-hell));
  border-radius: 2px;
  transform: translateX(-50%);
  transition: width var(--transition);
}
.nav__link:hover, .nav__link--active { color: var(--terra); }
.nav__link:hover::after, .nav__link--active::after { width: 60%; }

/* Dropdown: Glaspanel */
.nav__dropdown {
  position: absolute; top: 100%; left: 0;
  min-width: 240px;
  padding-top: 0.6rem;
  background: transparent;
  opacity: 0; visibility: hidden;
  transform: translateY(-8px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  z-index: 100;
}
.nav__dropdown::before {
  content: '';
  display: block;
  position: absolute;
  inset: 0.6rem 0 0;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(var(--blur)) saturate(160%);
  -webkit-backdrop-filter: blur(var(--blur)) saturate(160%);
  border: 1px solid var(--glas-rand);
  border-radius: 16px;
  box-shadow: 0 18px 50px rgba(15, 46, 66, 0.16), inset 0 1px 0 rgba(255,255,255,0.9);
  z-index: -1;
  pointer-events: none;
}
.nav__item:hover .nav__dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__dropdown a {
  display: block;
  padding: 0.68rem 1.25rem;
  font-size: 0.92rem;
  color: var(--text);
  font-weight: 400;
  transition: background var(--transition), color var(--transition), padding-left var(--transition);
  border-radius: 0;
}
.nav__dropdown a:first-child { border-radius: 16px 16px 0 0; }
.nav__dropdown a:last-child  { border-radius: 0 0 16px 16px; }
.nav__dropdown a:hover { background: rgba(232, 118, 60, 0.08); color: var(--terra); padding-left: 1.65rem; }

/* Anruf-Button Navigation */
.nav__call {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.6rem 1.3rem;
  background: linear-gradient(135deg, var(--terra) 0%, var(--terra-dunkel) 100%);
  color: var(--weiss) !important;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 999px;
  font-weight: 600; font-size: 0.9rem; white-space: nowrap;
  transition: transform var(--transition), box-shadow var(--transition), filter var(--transition);
  box-shadow: 0 6px 16px var(--schatten-dark), inset 0 1px 0 rgba(255,255,255,0.4);
  text-transform: none !important; letter-spacing: 0 !important;
}
.nav__call:hover { filter: brightness(1.08); transform: translateY(-1px); color: var(--weiss) !important; }
.nav__call svg { width: 16px; height: 16px; flex-shrink: 0; }

/* Hamburger */
.nav__toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 0.5rem; background: none; border: none; }
.nav__toggle span { display: block; width: 24px; height: 2px; background: var(--dunkel); border-radius: 2px; transition: transform var(--transition), opacity var(--transition); }
.nav__toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --- HERO --- */
.hero { position: relative; margin-top: 0; overflow: hidden; background: var(--petrol-dunkel); }
.hero__img { width: 100%; height: min(78vh, 700px); object-fit: cover; opacity: 0.85; }
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15, 46, 66, 0.45) 0%, rgba(15, 46, 66, 0.18) 35%, rgba(15, 46, 66, 0.55) 100%);
  pointer-events: none;
}
.hero__content {
  position: absolute; inset: 0; z-index: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  padding: calc(var(--nav-h) + 1rem) 2rem 2.5rem;
  color: var(--weiss);
}
.hero__panel {
  background: rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius-brush-lg);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255,255,255,0.35);
  padding: clamp(2rem, 4vw, 3.25rem) clamp(1.5rem, 5vw, 4rem);
  max-width: 820px;
  display: flex; flex-direction: column; align-items: center;
}
.hero__label {
  display: inline-block;
  background: rgba(232, 118, 60, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.35);
  color: var(--weiss);
  font-size: 0.76rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  padding: 0.35rem 1.1rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
  box-shadow: 0 6px 18px rgba(232, 118, 60, 0.35), inset 0 1px 0 rgba(255,255,255,0.35);
}
.hero h1 { color: var(--weiss); text-shadow: 0 2px 24px rgba(0,0,0,0.45); margin-bottom: 1rem; max-width: 720px; }
.hero p { color: rgba(255,255,255,0.92); font-size: 1.15rem; max-width: 560px; text-shadow: 0 1px 10px rgba(0,0,0,0.4); }

/* --- PAGE HEADER (Unterseiten) --- */
.page-header {
  margin-top: 0;
  padding: calc(var(--nav-h) + 3rem) 0 3.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  background:
    repeating-linear-gradient(118deg, rgba(255,255,255,0.03) 0 3px, transparent 3px 34px),
    radial-gradient(560px 380px at 14% 0%,  rgba(27, 73, 101, 0.55), transparent 62%),
    radial-gradient(520px 360px at 88% 100%, rgba(232, 118, 60, 0.26), transparent 60%),
    linear-gradient(150deg, #14344A 0%, #0B2434 100%);
}
.page-header::before {
  content: '';
  position: absolute; top: -40%; right: -6%;
  width: 420px; height: 420px; border-radius: 50%;
  background: rgba(232, 118, 60, 0.16);
  filter: blur(60px);
  pointer-events: none;
}
.page-header .container { position: relative; z-index: 1; }
.page-header .breadcrumb { font-size: 0.82rem; color: rgba(255,255,255,0.55); margin-bottom: 0.75rem; letter-spacing: 0.05em; }
.page-header .breadcrumb a { color: rgba(255,255,255,0.55); }
.page-header .breadcrumb a:hover { color: var(--terra-hell); }
.page-header h1 { color: var(--weiss); font-size: clamp(1.8rem, 4vw, 2.8rem); text-shadow: 0 2px 24px rgba(0,0,0,0.35); }
.page-header p { color: rgba(255,255,255,0.85); max-width: 640px; margin: 1rem auto 0; }

/* --- KARTEN / CARDS: Milchglas mit Tiefe --- */
.card {
  background: var(--glas);
  backdrop-filter: blur(var(--blur)) saturate(150%);
  -webkit-backdrop-filter: blur(var(--blur)) saturate(150%);
  border-radius: var(--radius-brush-lg);
  border: 1px solid var(--glas-rand);
  overflow: hidden;
  box-shadow: var(--glas-schatten), inset 0 1px 0 rgba(255,255,255,0.85);
  transition: box-shadow var(--transition), transform var(--transition);
  will-change: transform;
  transform-style: preserve-3d;
  transform: perspective(1000px) rotateX(0) rotateY(0);
  cursor: default;
}
.card:hover {
  box-shadow: 0 30px 70px rgba(15, 46, 66, 0.18), 0 6px 20px rgba(232, 118, 60, 0.12), inset 0 1px 0 rgba(255,255,255,0.9);
}
.card__img { width: 100%; height: 240px; object-fit: cover; transition: transform 0.5s ease; }
.card:hover .card__img { transform: scale(1.04); }
.card__body { padding: 1.6rem; }

/* --- CSS GRID LAYOUTS --- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.grid-6 { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.5rem; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; }

/* --- BILD-PLATZHALTER (Galerie wartet auf Original-Fotos) --- */
.gallery-placeholder {
  aspect-ratio: 4 / 3;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.6rem;
  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(var(--blur)) saturate(140%);
  -webkit-backdrop-filter: blur(var(--blur)) saturate(140%);
  border: 2px dashed rgba(27, 73, 101, 0.35);
  border-radius: var(--radius-brush-lg);
  padding: 1.25rem;
  text-align: center;
  transition: border-color var(--transition), background var(--transition);
}
.gallery-placeholder:hover { border-color: var(--terra); background: rgba(255, 255, 255, 0.5); }
.gallery-placeholder__icon { width: 38px; height: 38px; color: var(--petrol-hell); opacity: 0.55; }
.gallery-placeholder__icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.5; }
.gallery-placeholder__label { font-size: 0.78rem; font-weight: 600; color: var(--text-soft); letter-spacing: 0.02em; }
.gallery-placeholder__desc { font-size: 0.72rem; color: var(--text-soft); opacity: 0.75; max-width: 22ch; }

/* --- BUTTONS --- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.9rem 2.1rem;
  border-radius: 999px;
  font-weight: 600; font-size: 0.95rem;
  font-family: var(--font-body);
  cursor: pointer; border: none;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition), filter var(--transition);
  position: relative;
  text-decoration: none;
  letter-spacing: 0.02em;
  will-change: transform;
  user-select: none;
  -webkit-user-select: none;
}
.btn--primary {
  background: linear-gradient(135deg, var(--terra) 0%, var(--terra-dunkel) 100%);
  color: var(--weiss);
  border: 1px solid rgba(255,255,255,0.35);
  box-shadow: 0 10px 22px var(--schatten-dark), inset 0 1px 0 rgba(255,255,255,0.4);
}
.btn--primary:hover { filter: brightness(1.08); color: var(--weiss); transform: translateY(-2px); box-shadow: 0 12px 26px var(--schatten-dark), inset 0 1px 0 rgba(255,255,255,0.45); }
.btn--primary:active { transform: translateY(1px); box-shadow: 0 4px 10px var(--schatten-dark), inset 0 1px 0 rgba(255,255,255,0.3); transition: transform 0.08s, box-shadow 0.08s; }

.btn--outline {
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(12px) saturate(150%);
  -webkit-backdrop-filter: blur(12px) saturate(150%);
  color: var(--terra);
  border: 1px solid rgba(232, 118, 60, 0.4);
  box-shadow: 0 8px 22px rgba(15, 46, 66, 0.08), inset 0 1px 0 rgba(255,255,255,0.8);
}
.btn--outline:hover { background: linear-gradient(135deg, var(--terra) 0%, var(--terra-dunkel) 100%); color: var(--weiss); border-color: rgba(255,255,255,0.35); transform: translateY(-2px); box-shadow: 0 10px 22px var(--schatten-dark); }
.btn--outline:active { transform: translateY(1px); transition: transform 0.08s, box-shadow 0.08s; }

.btn--ghost {
  background: rgba(255,255,255,0.14);
  color: var(--weiss);
  border: 1px solid rgba(255,255,255,0.45);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.35);
}
.btn--ghost:hover { background: rgba(255,255,255,0.26); color: var(--weiss); border-color: rgba(255,255,255,0.75); transform: translateY(-2px); }
.btn--ghost:active { transform: translateY(1px); }

/* --- PULSIERENDER ANRUF-BUTTON --- */
.call-button {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 900;
  display: flex; align-items: center; gap: 0.75rem;
  padding: 1rem 1.5rem;
  background: linear-gradient(135deg, var(--terra) 0%, var(--terra-dunkel) 100%);
  color: var(--weiss);
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 999px;
  font-weight: 700; font-size: 1rem;
  text-decoration: none;
  box-shadow: 0 8px 20px var(--schatten-dark), inset 0 1px 0 rgba(255,255,255,0.4);
  transition: transform var(--transition), box-shadow var(--transition), filter var(--transition);
  will-change: transform, box-shadow;
}
.call-button:hover { filter: brightness(1.08); color: var(--weiss); transform: scale(1.05) translateY(-2px); }
.call-button:active { transform: scale(0.97) translateY(1px); }
.call-button__icon { width: 22px; height: 22px; flex-shrink: 0; animation: wiggle 3s ease-in-out infinite; }
.call-button__text { line-height: 1.2; }
.call-button__label { display: block; font-size: 0.72rem; font-weight: 400; opacity: 0.85; letter-spacing: 0.04em; }
@keyframes wiggle {
  0%, 80%, 100% { transform: rotate(0deg); }
  85% { transform: rotate(-15deg); }
  90% { transform: rotate(15deg); }
  95% { transform: rotate(-8deg); }
}

/* --- SCROLL-EINFLUG-ANIMATION --- */
.fade-up    { opacity: 0; transform: translateY(40px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-left  { opacity: 0; transform: translateX(-40px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-right { opacity: 0; transform: translateX(40px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-scale { opacity: 0; transform: scale(0.92); transition: opacity 0.6s ease, transform 0.6s ease; }
.is-visible { opacity: 1 !important; transform: none !important; }

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

@media (prefers-reduced-motion: reduce) {
  .fade-up, .fade-left, .fade-right, .fade-scale { opacity: 1; transform: none; transition: none; }
  .call-button { animation: none; }
  .call-button__icon { animation: none; }
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* --- USP / FEATURES: Glaskacheln --- */
.usp {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 2.25rem 1.5rem;
  background: var(--glas);
  backdrop-filter: blur(var(--blur)) saturate(150%);
  -webkit-backdrop-filter: blur(var(--blur)) saturate(150%);
  border-radius: var(--radius-brush-lg);
  border: 1px solid var(--glas-rand);
  box-shadow: var(--glas-schatten), inset 0 1px 0 rgba(255,255,255,0.85);
  transition: box-shadow var(--transition), transform var(--transition);
}
.usp:hover { box-shadow: 0 26px 60px rgba(15, 46, 66, 0.15), inset 0 1px 0 rgba(255,255,255,0.9); transform: translateY(-4px); }
.usp__icon {
  width: 68px; height: 68px;
  background: linear-gradient(135deg, var(--terra), var(--terra-hell));
  border: 1px solid rgba(255,255,255,0.45);
  border-radius: 22px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
  box-shadow: 0 10px 26px var(--schatten-terra), inset 0 1px 0 rgba(255,255,255,0.4);
}
.usp__icon svg { width: 28px; height: 28px; color: var(--weiss); fill: none; stroke: currentColor; stroke-width: 2; }
.usp h3 { font-size: 1.12rem; margin-bottom: 0.5rem; color: var(--dunkel); }
.usp p { font-size: 0.92rem; margin: 0; }

/* --- TEASER-GRID (Bild + Inhalt) --- */
.teaser-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  min-height: 420px;
  border-radius: var(--radius-brush-lg);
  overflow: hidden;
  border: 1px solid var(--glas-rand);
  box-shadow: var(--glas-schatten);
}
.teaser-grid__img { position: relative; overflow: hidden; }
.teaser-grid__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; }
.teaser-grid__img:hover img { transform: scale(1.04); }
.teaser-grid.reverse .teaser-grid__img { order: 2; }
.teaser-grid__content {
  padding: 3rem 2.5rem;
  display: flex; flex-direction: column; justify-content: center;
  background: var(--glas-stark);
  backdrop-filter: blur(var(--blur)) saturate(150%);
  -webkit-backdrop-filter: blur(var(--blur)) saturate(150%);
}

/* --- LEISTUNGS-LISTE: Glas-Chips --- */
.leistung-liste { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 0.85rem; }
.leistung-liste__item {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.8rem 1.05rem;
  background: var(--glas);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  border: 1px solid var(--glas-rand);
  border-radius: var(--radius-brush);
  font-size: 0.9rem; color: var(--text-soft);
  box-shadow: 0 6px 18px rgba(15, 46, 66, 0.06), inset 0 1px 0 rgba(255,255,255,0.85);
  transition: background var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.leistung-liste__item:hover { background: rgba(255, 255, 255, 0.72); border-color: rgba(232, 118, 60, 0.35); transform: translateX(4px); }
.leistung-liste__item::before {
  content: ''; width: 9px; height: 9px; border-radius: 50%;
  background: linear-gradient(135deg, var(--terra), var(--terra-hell));
  box-shadow: 0 2px 6px rgba(232,118,60,0.4);
  flex-shrink: 0;
}

/* --- INFOBOX: dunkles Glas --- */
.info-box {
  background:
    radial-gradient(360px 260px at 90% -10%, rgba(232, 118, 60, 0.20), transparent 60%),
    radial-gradient(300px 220px at 0% 110%,  rgba(46, 110, 147, 0.20), transparent 58%),
    linear-gradient(150deg, #163C55 0%, #0B2434 100%);
  color: var(--weiss);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-brush-lg);
  padding: 2.5rem;
  position: relative; overflow: hidden;
  box-shadow: 0 24px 60px rgba(15, 46, 66, 0.28), inset 0 1px 0 rgba(255,255,255,0.12);
}
.info-box::before {
  content: ''; position: absolute; top: -40px; right: -40px;
  width: 170px; height: 170px; border-radius: 50%;
  background: rgba(232,118,60,0.20); filter: blur(36px); pointer-events: none;
}
.info-box h3 { color: var(--weiss); margin-bottom: 1.5rem; }
.info-box__item { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.25rem; }
.info-box__item:last-child { margin-bottom: 0; }
.info-box__icon {
  width: 42px; height: 42px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.18);
}
.info-box__icon svg { width: 20px; height: 20px; color: var(--terra-hell); fill: none; stroke: currentColor; stroke-width: 2; }
.info-box__text strong { display: block; color: var(--weiss); font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 0.15rem; font-weight: 600; }
.info-box__text span { font-size: 0.95rem; color: rgba(255,255,255,0.78); }

/* --- REFERENZ HINWEIS-BOX --- */
.note-box {
  background: var(--glas);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  border-left: 4px solid var(--terra);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1rem 1.3rem;
  max-width: 68ch;
  font-size: 0.92rem;
  color: var(--text-soft);
}

/* --- RECHTSTEXT (Impressum / Datenschutz) --- */
.rechtstext { max-width: 78ch; }
.rechtstext h2 { margin-top: 2.5rem; margin-bottom: 1rem; }
.rechtstext h2::after { display: none; }
.rechtstext h3 { margin-top: 1.75rem; margin-bottom: 0.75rem; }
.rechtstext p, .rechtstext li { font-size: 0.95rem; line-height: 1.8; color: var(--text-soft); margin-bottom: 0.75rem; }
.rechtstext ul { list-style: disc; padding-left: 1.5rem; margin-bottom: 1rem; }
.rechtstext a { color: var(--terra); text-decoration: underline; }

/* --- BREADCRUMB BAR --- */
.breadcrumb-bar {
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  border-bottom: 1px solid rgba(255,255,255,0.7);
  padding: 0.8rem 0;
  font-size: 0.82rem;
  color: var(--text-soft);
}
.breadcrumb-bar a { color: var(--text-soft); transition: color var(--transition); }
.breadcrumb-bar a:hover { color: var(--terra); }
.breadcrumb-bar span { color: rgba(90, 101, 112, 0.4); margin: 0 0.5rem; }

/* --- FOOTER --- */
.footer {
  background:
    repeating-linear-gradient(118deg, rgba(255,255,255,0.025) 0 3px, transparent 3px 34px),
    radial-gradient(560px 360px at 6% 0%,   rgba(27, 73, 101, 0.45), transparent 60%),
    radial-gradient(520px 340px at 94% 100%, rgba(232, 118, 60, 0.16), transparent 58%),
    linear-gradient(160deg, #14344A 0%, #091B28 100%);
  color: rgba(255,255,255,0.7);
  padding: 4.5rem 0 1.5rem;
  position: relative; overflow: hidden;
}
.footer .container { position: relative; z-index: 1; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer__logo {
  height: 240px;
  width: auto;
  margin-bottom: 1.25rem;
  padding: 0.3rem 1.4rem;
  background: var(--hintergrund);
  border-radius: var(--radius-brush);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}
.footer h4 { font-family: var(--font-body); font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.14em; color: var(--weiss); margin-bottom: 1.25rem; }
.footer__links a { display: block; color: rgba(255,255,255,0.62); font-size: 0.92rem; padding: 0.25rem 0; transition: color var(--transition), padding-left var(--transition); }
.footer__links a:hover { color: var(--terra-hell); padding-left: 4px; }
.footer__contact p { font-size: 0.92rem; color: rgba(255,255,255,0.62); margin-bottom: 0.35rem; }
.footer__contact strong { color: var(--weiss); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 0.82rem; color: rgba(255,255,255,0.4);
  flex-wrap: wrap; gap: 0.5rem;
}
.footer__bottom a { color: rgba(255,255,255,0.4); transition: color var(--transition); }
.footer__bottom a:hover { color: rgba(255,255,255,0.75); }

/* --- SKIP LINK --- */
.skip-link {
  position: absolute; top: -100px; left: 1rem;
  padding: 0.5rem 1rem;
  background: var(--terra);
  color: var(--weiss);
  border-radius: var(--radius);
  z-index: 9999;
  font-weight: 600;
  transition: top 0.2s;
}
.skip-link:focus { top: 1rem; }

/* =====================================================
   DATENSCHUTZ-BANNER
   ===================================================== */
.privacy-banner {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; align-items: flex-end;
  pointer-events: none; visibility: hidden;
}
.privacy-banner.show { visibility: visible; pointer-events: auto; }

.privacy-banner-box {
  position: relative; width: 100%;
  background: var(--petrol-dunkel);
  color: rgba(255, 255, 255, 0.9);
  padding: 1.75rem 1.5rem 2rem;
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 -10px 50px rgba(0, 0, 0, 0.4);
  border-top: 3px solid var(--terra);
}
.privacy-banner.show .privacy-banner-box { transform: translateY(0); }

.privacy-banner-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; gap: 2rem; align-items: center; flex-wrap: wrap;
}
.privacy-banner-text { flex: 1; min-width: 280px; }
.privacy-banner-text h3 {
  font-family: var(--font-heading); font-size: 1.05rem; font-weight: 700;
  color: #fff; margin: 0 0 0.6rem;
}
.privacy-banner-list {
  list-style: none; display: flex; flex-direction: column; gap: 0.35rem;
  margin: 0 0 0.7rem; padding: 0; font-size: 0.85rem; line-height: 1.55;
}
.privacy-banner-list strong { color: var(--terra-hell); }
.privacy-banner-text > a { color: rgba(255, 255, 255, 0.75); font-size: 0.82rem; text-decoration: underline; }
.privacy-banner-text > a:hover { color: #fff; }

.privacy-banner-actions { display: flex; gap: 0.6rem; flex-wrap: wrap; flex-shrink: 0; max-width: 100%; }
.privacy-banner-actions .btn { flex: 0 0 auto; white-space: nowrap; }
.privacy-banner-actions .privacy-btn-outline {
  display: inline-flex; align-items: center; justify-content: center;
  flex: 0 0 auto; white-space: nowrap;
  padding: 0.75rem 1.4rem; border-radius: 999px;
  font-size: 0.9rem; font-weight: 600; text-decoration: none;
  color: rgba(255, 255, 255, 0.85); border: 1px solid rgba(255, 255, 255, 0.35);
  transition: all var(--transition);
}
.privacy-banner-actions .privacy-btn-outline:hover {
  background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.6); color: #fff;
}

@media (max-width: 580px) {
  .privacy-banner-box { padding: 1.5rem 1.25rem 1.75rem; }
  .privacy-banner-actions { flex-direction: column; align-items: stretch; }
  .privacy-banner-actions .btn,
  .privacy-banner-actions .privacy-btn-outline { width: 100%; }
}

/* =====================================================
   RESPONSIVE — Breakpoint 1024px
   ===================================================== */
@media (max-width: 1024px) {
  :root { --nav-h: 100px; }
  .section { padding: 4rem 0; }
  .container { padding: 0 1.5rem; }

  .nav { top: 10px; left: 10px; right: 10px; height: 72px; }
  .nav__menu { display: none; }
  .nav__toggle { display: flex; }
  .nav__menu.open {
    display: flex; flex-direction: column;
    position: absolute; top: calc(100% + 10px); left: 0; right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(var(--blur)) saturate(160%);
    -webkit-backdrop-filter: blur(var(--blur)) saturate(160%);
    border: 1px solid var(--glas-rand);
    border-radius: 20px;
    padding: 1rem; gap: 0.25rem;
    box-shadow: 0 24px 60px rgba(15, 46, 66, 0.28), inset 0 1px 0 rgba(255,255,255,1);
    max-height: calc(100vh - var(--nav-h) - 20px);
    overflow-y: auto;
    isolation: isolate;
  }
  .nav__link { padding: 0.65rem 0.85rem; }
  .nav__dropdown {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: none;
    background: rgba(232, 118, 60, 0.05);
    border-radius: var(--radius);
    margin-top: 0.25rem; padding-top: 0;
    display: none;
  }
  .nav__dropdown::before { display: none; }
  .nav__item.open .nav__dropdown { display: block; }
  .nav__call { margin-top: 0.5rem; justify-content: center; }

  .hero__img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
  .hero__content { position: relative; inset: unset; padding: calc(var(--nav-h) + 1.5rem) 1.25rem 2.5rem; }
  .hero__panel { width: 100%; max-width: 504px; padding: 1.1rem 1.35rem; border-radius: 14px; }
  .hero__label { font-size: 0.61rem; letter-spacing: 0.1em; padding: 0.25rem 0.8rem; margin-bottom: 0.6rem; }
  .hero h1 { font-size: clamp(1.35rem, 2.9vw, 1.8rem); margin-bottom: 0.45rem; }
  .hero p { font-size: 0.79rem; max-width: 100%; margin-bottom: 0; }
  .hero__panel .btn { padding: 0.63rem 1.25rem; font-size: 0.79rem; }

  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: 1fr; }
  .card__img { height: 200px; }
  .leistung-liste { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }

  .teaser-grid { grid-template-columns: 1fr; min-height: unset; }
  .teaser-grid.reverse .teaser-grid__img { order: 0; }
  .teaser-grid__img { height: auto; aspect-ratio: 16 / 8; }
  .teaser-grid__content { padding: 2rem 1.75rem; }

  .page-header { padding: calc(var(--nav-h) + 2rem) 0 2.5rem; }
  .info-box { padding: 2rem 1.5rem; }

  .footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
  .footer__bottom > div { flex-wrap: wrap; gap: 1rem; }

  /* 3D-Effekte auf mobil abgeschwächt (kleinere Tilt-Range via JS, hier nur Hover-Fallback) */
  .card:hover { transform: perspective(1000px) rotateX(0) rotateY(0) !important; }
}

@media (max-width: 640px) {
  .container { padding: 0 1.25rem; }
  .section { padding: 3.25rem 0; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .footer__grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .teaser-grid__img { aspect-ratio: 16 / 9; }
  .teaser-grid__content { padding: 1.75rem 1.25rem; }

  .hero__img { height: 440px; }
  .hero h1 { font-size: clamp(1.6rem, 7vw, 2.4rem); }
  .hero__panel { padding: 1.75rem 1.25rem; }
  .hero .btn { width: 100%; justify-content: center; }
  .hero__panel > div[style*="flex"] { flex-direction: column; align-items: stretch; width: 100%; max-width: 320px; }

  .card__img { height: 180px; }
  .card__body { padding: 1.1rem; }

  .page-header { padding: calc(var(--nav-h) + 1.25rem) 0 2rem; }
  .page-header h1 { font-size: clamp(1.5rem, 6vw, 2rem); }
  .usp { padding: 1.5rem 1rem; }
  .breadcrumb-bar { font-size: 0.78rem; }

  .call-button { bottom: 1rem; right: 1rem; padding: 0.8rem 1.1rem; font-size: 0.88rem; gap: 0.5rem; }
  .footer__bottom { flex-direction: column; gap: 0.5rem; font-size: 0.78rem; }
  .rechtstext h2 { font-size: 1.15rem; }
  .rechtstext h3 { font-size: 1rem; }
}

@media (max-width: 480px) {
  :root { --nav-h: 92px; }
  .container { padding: 0 1rem; }
  .section { padding: 2.75rem 0; }
  .nav { height: 66px; }
  .nav__logo img { height: 36px; }
  .hero__img { height: 400px; }
  .hero__content { padding: calc(var(--nav-h) + 0.5rem) 1rem 1.5rem; }
  .hero__label { font-size: 0.7rem; }
  .grid-4 { grid-template-columns: 1fr; }
  .teaser-grid__img { aspect-ratio: 16 / 9; }
  .card__img { height: 160px; }
  .call-button__text { display: none; }
  .call-button { width: 56px; height: 56px; border-radius: 50%; padding: 0; justify-content: center; align-items: center; }
  .call-button__icon { width: 26px; height: 26px; }
  .section .btn { width: 100%; justify-content: center; }
  .info-box { padding: 1.5rem 1.25rem; }
  .info-box__item { gap: 0.75rem; }
  .footer__logo { height: 190px; }
  .page-header { padding: calc(var(--nav-h) + 1rem) 0 1.75rem; }
}
