/* ==========================================================================
   Köhler Haustechnik GmbH – Redesign 2026
   Design System: Deep Navy + Warm Copper, Manrope, Editorial
   ========================================================================== */

/* -------------------- Design Tokens -------------------- */
:root {
  /* Palette */
  --ink-900:    #0A1426;  /* deepest navy */
  --ink-800:    #0E1F33;  /* primary dark */
  --ink-700:    #142C48;  /* navy panel */
  --ink-600:    #1E3A5F;  /* accent dark */
  --ink-500:    #2C4A72;

  --copper-600: #A2682D;  /* accent hover */
  --copper-500: #BE8043;  /* accent primary */
  --copper-400: #D79A61;  /* accent light */
  --copper-100: #F4E6D3;  /* accent tint */

  --paper:      #FBFAF6;  /* page background */
  --paper-alt:  #F3EFE8;  /* warm section bg */
  --paper-dark: #EBE5DA;
  --border:     #E3DDD2;
  --line:       #D8D0C2;

  --text:       #101826;
  --text-muted: #5B6472;
  --text-soft:  #8B95A4;

  --white:      #FFFFFF;
  --success:    #2E8B57;
  --danger:     #B5462F;

  /* Typography */
  --font-display: 'Manrope', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body:    'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing */
  --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;

  /* Layout */
  --container: 1280px;
  --container-narrow: 1040px;
  --container-text: 760px;

  /* Radii */
  --r-xs: 6px;
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-pill: 999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(14, 31, 51, 0.04), 0 1px 3px rgba(14, 31, 51, 0.06);
  --shadow-md: 0 8px 24px -12px rgba(14, 31, 51, 0.18), 0 4px 10px -4px rgba(14, 31, 51, 0.08);
  --shadow-lg: 0 24px 48px -20px rgba(14, 31, 51, 0.28), 0 8px 20px -8px rgba(14, 31, 51, 0.12);
  --shadow-xl: 0 40px 80px -30px rgba(14, 31, 51, 0.35);

  /* Motion */
  --ease: cubic-bezier(.4, 0, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --dur-1: 160ms;
  --dur-2: 240ms;
  --dur-3: 400ms;
  --dur-4: 680ms;

  /* Nav */
  --nav-h: 216px;
  --nav-h-scrolled: 84px;
}

/* -------------------- Reset / Base -------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: -0.005em;
  overflow-x: hidden;
  overflow-wrap: break-word;
  word-wrap: break-word;
}
/* Allow flex/grid children to shrink instead of pushing long words past the viewport */
.split__content, .split__media,
.service-card__body, .tile__body, .kd-slide__caption,
.contact-card, .hero__content, .page-hero__inner,
.section-head, .feature-row__item,
.cta-strip > div, .notdienst > div {
  min-width: 0;
}
/* Robust long-word breaking for headings & titles */
h1, h2, h3, h4, h5, h6,
.hero__sub, .page-hero__sub, .lead,
.service-card__title, .service-card__text,
.tile__title, .kd-slide__title,
.feature-row__title, .feature-row__text,
.quote-card blockquote,
.contact-card .v, .contact-card .l,
.legal-content h2, .legal-content h3 {
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
}
img, svg, picture, video { display: block; max-width: 100%; height: auto; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
a { color: inherit; text-decoration: none; }
input, textarea, select { font: inherit; color: inherit; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 var(--space-4);
  color: var(--text);
}

h1 { font-size: clamp(2.5rem, 5.5vw, 4.8rem); font-weight: 800; letter-spacing: -0.035em; line-height: 0.98; }
h2 { font-size: clamp(2rem, 3.8vw, 3.2rem); font-weight: 700; letter-spacing: -0.028em; line-height: 1.05; }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; }
h4 { font-size: 1.125rem; font-weight: 700; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

::selection { background: var(--copper-500); color: var(--white); }

/* -------------------- Utilities -------------------- */
.container       { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 28px; }
.container-narrow{ width: 100%; max-width: var(--container-narrow); margin: 0 auto; padding: 0 28px; }
.container-text  { width: 100%; max-width: var(--container-text); margin: 0 auto; padding: 0 28px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--copper-500);
  margin-bottom: var(--space-5);
}
.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
  display: inline-block;
}
.eyebrow.on-dark { color: var(--copper-400); }

.lead {
  font-size: clamp(1.1rem, 1.35vw, 1.3rem);
  color: var(--text-muted);
  line-height: 1.55;
  font-weight: 400;
}

.section {
  padding: clamp(72px, 10vw, 140px) 0;
  position: relative;
}
.section--tight { padding: clamp(56px, 7vw, 96px) 0; }
.section--dark {
  background: var(--ink-800);
  color: #E7EBF2;
}
.section--dark h1,
.section--dark h2,
.section--dark h3 { color: var(--white); }
.section--paper  { background: var(--paper-alt); }

.section-head {
  max-width: 800px;
  margin-bottom: clamp(40px, 5vw, 72px);
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--text-muted); font-size: 1.125rem; }

/* -------------------- Buttons -------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: var(--r-pill);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: background var(--dur-2) var(--ease),
              color var(--dur-2) var(--ease),
              transform var(--dur-2) var(--ease),
              box-shadow var(--dur-2) var(--ease),
              border-color var(--dur-2) var(--ease);
  line-height: 1;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }

.btn--primary {
  background: var(--copper-500);
  color: var(--white);
}
.btn--primary:hover { background: var(--copper-600); transform: translateY(-1px); box-shadow: 0 10px 24px -12px rgba(190,128,67,0.6); }

.btn--dark {
  background: var(--ink-800);
  color: var(--white);
}
.btn--dark:hover { background: var(--ink-900); transform: translateY(-1px); }

.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}
.btn--ghost:hover { border-color: var(--ink-800); background: var(--ink-800); color: var(--white); }

.btn--ghost-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.28);
}
.btn--ghost-light:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.5); }

.btn--link {
  padding: 0;
  background: none;
  color: var(--text);
  font-weight: 600;
  border-bottom: 1px solid currentColor;
  border-radius: 0;
  padding-bottom: 2px;
}
.btn--link:hover { color: var(--copper-500); }

/* -------------------- Navigation -------------------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(251, 250, 246, 0.0);
  backdrop-filter: saturate(1.4) blur(0px);
  transition: background var(--dur-3) var(--ease),
              backdrop-filter var(--dur-3) var(--ease),
              box-shadow var(--dur-3) var(--ease),
              height var(--dur-3) var(--ease),
              border-color var(--dur-3) var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-solid,
.site-header.is-scrolled {
  background: var(--white);
  backdrop-filter: none;
  border-bottom-color: var(--border);
  box-shadow: 0 1px 0 rgba(14,31,51,0.04), 0 6px 24px -18px rgba(14,31,51,0.18);
  height: var(--nav-h-scrolled);
}
.site-header.on-light { /* used by interior pages w/o hero-over-nav */ }

.site-header .header-inner {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.site-logo {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  padding: 8px 14px;
  background: var(--white);
  border-radius: var(--r-md);
  box-shadow: 0 4px 18px -10px rgba(14,31,51,0.35);
  transition: opacity var(--dur-2) var(--ease), background var(--dur-3) var(--ease), box-shadow var(--dur-3) var(--ease), padding var(--dur-3) var(--ease);
}
.site-logo:hover { opacity: 0.88; }
.site-logo img {
  height: 128px;
  width: auto;
  display: block;
  transition: height var(--dur-3) var(--ease);
}
.site-header.is-scrolled .site-logo {
  background: transparent;
  box-shadow: none;
  padding: 0;
}
.site-header.is-scrolled .site-logo img { height: 50px; }

/* Menu links over dark hero */
.site-header.on-hero:not(.is-scrolled) .main-nav > li > a { color: var(--white); }
.site-header.on-hero.is-scrolled .main-nav > li > a { color: var(--text); }

.main-nav {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0; padding: 0;
}
.main-nav > li { position: relative; }
.main-nav > li > a {
  display: inline-block;
  padding: 10px 14px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  color: var(--text);
  border-radius: var(--r-sm);
  transition: color var(--dur-2) var(--ease), background var(--dur-2) var(--ease);
  position: relative;
}
.main-nav > li > a::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 4px;
  height: 2px;
  background: var(--copper-500);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--dur-3) var(--ease);
}
.main-nav > li > a:hover::after,
.main-nav > li.is-active > a::after { transform: scaleX(1); }
.main-nav > li > a:hover { color: var(--copper-500); }

.has-dropdown > a::before {
  content: "";
  display: inline-block;
  width: 6px; height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  margin-right: 6px;
  opacity: 0.7;
}
.dropdown {
  position: absolute;
  top: calc(100% + 2px);
  left: 4px;
  min-width: 240px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  padding: 10px;
  list-style: none;
  margin: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity var(--dur-2) var(--ease), transform var(--dur-2) var(--ease);
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.dropdown li a {
  display: block;
  padding: 10px 14px;
  border-radius: var(--r-sm);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text);
  transition: background var(--dur-2) var(--ease), color var(--dur-2) var(--ease);
}
.dropdown li a:hover { background: var(--paper-alt); color: var(--copper-500); }

.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.93rem;
  color: var(--text);
  padding: 10px 6px;
  transition: color var(--dur-2) var(--ease);
}
.nav-phone .icon {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--copper-100);
  color: var(--copper-600);
  display: grid; place-items: center;
}
.nav-phone svg { width: 14px; height: 14px; }
.nav-phone:hover { color: var(--copper-500); }
.site-header.on-hero .nav-phone { color: var(--white); }
.site-header.on-hero .nav-phone .icon { background: rgba(255,255,255,0.15); color: var(--white); }
.site-header.on-hero.is-scrolled .nav-phone { color: var(--text); }
.site-header.on-hero.is-scrolled .nav-phone .icon { background: var(--copper-100); color: var(--copper-600); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: 12px;
  align-items: center; justify-content: center;
  flex-direction: column;
  gap: 5px;
  color: var(--text);
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: currentColor; border-radius: 2px; transition: transform var(--dur-2) var(--ease), opacity var(--dur-1); }
.site-header.on-hero .nav-toggle { color: var(--white); }
.site-header.on-hero.is-scrolled .nav-toggle { color: var(--text); }

/* Mobile off-canvas */
.mobile-nav {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(420px, 88vw);
  background: var(--paper);
  z-index: 110;
  padding: 80px 32px 32px;
  transform: translateX(110%);
  transition: transform var(--dur-3) var(--ease-out);
  overflow-y: auto;
  box-shadow: -24px 0 60px -20px rgba(14,31,51,0.4);
}
.mobile-nav.is-open { transform: translateX(0); }
.mobile-nav-overlay {
  position: fixed; inset: 0;
  background: rgba(10,20,38,0.5);
  backdrop-filter: blur(4px);
  opacity: 0; pointer-events: none;
  transition: opacity var(--dur-3) var(--ease);
  z-index: 105;
}
.mobile-nav-overlay.is-open { opacity: 1; pointer-events: auto; }

.mobile-nav-close {
  position: absolute;
  top: 20px; right: 20px;
  width: 44px; height: 44px;
  border-radius: 12px;
  display: grid; place-items: center;
  color: var(--text);
  background: var(--paper-alt);
}
.mobile-nav-close:hover { background: var(--paper-dark); }
.mobile-nav-close svg { width: 20px; height: 20px; }

.mobile-menu { list-style: none; margin: 0; padding: 0; }
.mobile-menu > li { border-bottom: 1px solid var(--border); }
.mobile-menu > li > a {
  display: block;
  padding: 18px 4px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
}
.mobile-menu > li > a:hover { color: var(--copper-500); }
.mobile-submenu { list-style: none; margin: -8px 0 16px; padding: 0 0 0 4px; display: grid; gap: 4px; }
.mobile-submenu li a {
  display: block;
  padding: 8px 0;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
}
.mobile-submenu li a:hover { color: var(--copper-500); }

.mobile-nav-cta {
  margin-top: 32px;
  display: grid;
  gap: 12px;
}

/* -------------------- HERO (Homepage) -------------------- */
.hero {
  position: relative;
  min-height: min(100vh, 880px);
  padding: calc(var(--nav-h) + 40px) 0 80px;
  color: var(--white);
  overflow: hidden;
  background: var(--ink-900);
  display: flex;
  align-items: center;
}
.hero__bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.55;
  filter: saturate(0.9);
}
.hero__veil {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(190,128,67,0.25), transparent 55%),
    linear-gradient(180deg, rgba(10,20,38,0.65) 0%, rgba(10,20,38,0.55) 40%, rgba(10,20,38,0.9) 100%);
}
.hero__inner {
  position: relative;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}
.hero__content { max-width: 880px; }
.hero h1 {
  color: var(--white);
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.95;
  margin-bottom: 28px;
}
.hero h1 em {
  font-style: normal;
  color: var(--copper-400);
  position: relative;
}
.hero__sub {
  font-size: clamp(1.05rem, 1.4vw, 1.3rem);
  color: #CCD3DD;
  max-width: 640px;
  margin-bottom: 40px;
  line-height: 1.55;
  font-weight: 400;
}
.hero__cta { display: flex; gap: 16px; flex-wrap: wrap; }

.hero__meta {
  position: relative;
  margin-top: clamp(60px, 8vw, 120px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.18);
}
.hero__meta-item { }
.hero__meta-item .n {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.025em;
  line-height: 1;
  margin-bottom: 8px;
  display: block;
}
.hero__meta-item .n em { font-style: normal; color: var(--copper-400); }
.hero__meta-item .l {
  font-size: 0.82rem;
  font-weight: 500;
  color: #B6BCC8;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero__scroll {
  position: absolute;
  right: 32px;
  bottom: 32px;
  color: rgba(255,255,255,0.7);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  writing-mode: vertical-rl;
  display: flex;
  align-items: center;
  gap: 16px;
}
.hero__scroll::after {
  content: "";
  display: inline-block;
  width: 1px; height: 40px;
  background: rgba(255,255,255,0.4);
  animation: scrollLine 2.2s var(--ease) infinite;
  transform-origin: top center;
}
@keyframes scrollLine {
  0%   { transform: scaleY(0); }
  50%  { transform: scaleY(1); transform-origin: top center; }
  51%  { transform-origin: bottom center; }
  100% { transform: scaleY(0); transform-origin: bottom center; }
}

/* -------------------- Page Hero (Interior pages) -------------------- */
.page-hero {
  position: relative;
  padding: calc(var(--nav-h) + 80px) 0 clamp(80px, 10vw, 130px);
  color: var(--white);
  background: var(--ink-800);
  overflow: hidden;
}
.page-hero__bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0.45;
}
.page-hero__veil {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,20,38,0.65), rgba(10,20,38,0.85));
}
.page-hero__inner {
  position: relative;
  width: 100%; max-width: var(--container);
  margin: 0 auto; padding: 0 28px;
}
.page-hero h1 {
  color: var(--white);
  font-size: clamp(2.75rem, 5vw, 4.5rem);
  max-width: 16ch;
}
.page-hero__sub {
  color: #CDD3DE;
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  max-width: 620px;
  line-height: 1.55;
}
.breadcrumbs {
  display: flex; gap: 8px; align-items: center;
  font-size: 0.78rem; font-weight: 500;
  color: rgba(255,255,255,0.6);
  margin-bottom: 24px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.breadcrumbs a { color: rgba(255,255,255,0.75); transition: color var(--dur-2) var(--ease); }
.breadcrumbs a:hover { color: var(--copper-400); }
.breadcrumbs span.sep { opacity: 0.4; }

/* -------------------- Leistungs-Strip / Trust Row -------------------- */
.trust-strip {
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.trust-strip__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 28px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
}
.trust-item .ic {
  width: 40px; height: 40px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: var(--copper-100);
  color: var(--copper-600);
  flex-shrink: 0;
}
.trust-item .ic svg { width: 20px; height: 20px; }
.trust-item .t { font-family: var(--font-display); font-weight: 700; font-size: 0.98rem; color: var(--text); }
.trust-item .d { font-size: 0.82rem; color: var(--text-muted); }

/* -------------------- Service Cards -------------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform var(--dur-3) var(--ease), box-shadow var(--dur-3) var(--ease), border-color var(--dur-2) var(--ease);
  color: var(--text);
  position: relative;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--copper-400);
}
.service-card__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  position: relative;
}
.service-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--dur-4) var(--ease-out);
}
.service-card:hover .service-card__media img { transform: scale(1.05); }
.service-card__media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,20,38,0) 50%, rgba(10,20,38,0.35) 100%);
}
.service-card__body { padding: 28px 28px 32px; display: flex; flex-direction: column; flex: 1; }
.service-card__num {
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  font-weight: 700;
  color: var(--copper-500);
  margin-bottom: 14px;
}
.service-card__title {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.service-card__text {
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.55;
  margin-bottom: 24px;
  flex: 1;
}
.service-card__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text);
  letter-spacing: 0.01em;
  transition: color var(--dur-2) var(--ease), gap var(--dur-2) var(--ease);
}
.service-card__more::after {
  content: "→";
  transition: transform var(--dur-2) var(--ease);
}
.service-card:hover .service-card__more { color: var(--copper-500); }
.service-card:hover .service-card__more::after { transform: translateX(4px); }

/* -------------------- Split-Section (Image + Text) -------------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.split--reverse .split__media { order: 2; }
.split__media {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
}
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__media--wide { aspect-ratio: 6 / 5; }
.split__badge {
  position: absolute;
  top: 20px; left: 20px;
  background: var(--copper-500);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: var(--r-pill);
}
.split__content { display: flex; flex-direction: column; max-width: 560px; }
.split__content h2 { margin-bottom: 24px; }
.split__content p { color: var(--text-muted); font-size: 1.05rem; margin-bottom: 16px; }
.split__list {
  list-style: none;
  margin: 24px 0 32px; padding: 0;
  display: grid; gap: 12px;
}
.split__list li {
  padding-left: 28px;
  position: relative;
  font-size: 0.98rem;
  color: var(--text);
}
.split__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 14px; height: 8px;
  border-left: 2px solid var(--copper-500);
  border-bottom: 2px solid var(--copper-500);
  transform: rotate(-45deg);
}

/* -------------------- Notdienst Banner -------------------- */
.notdienst {
  background: var(--ink-800);
  color: var(--white);
  border-radius: var(--r-lg);
  overflow: hidden;
  position: relative;
  padding: clamp(44px, 6vw, 72px);
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
}
.notdienst::before {
  content: "";
  position: absolute;
  right: -80px; top: -80px;
  width: 360px; height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(190,128,67,0.28), transparent 70%);
  pointer-events: none;
}
.notdienst__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--copper-400);
  margin-bottom: 20px;
}
.notdienst__eyebrow::before {
  content: "";
  display: inline-block;
  width: 10px; height: 10px;
  background: #ff6a5c;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(255,106,92,0.7);
  animation: pulse 1.8s var(--ease) infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(255,106,92,0.6); }
  70%  { box-shadow: 0 0 0 14px rgba(255,106,92,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,106,92,0); }
}
.notdienst h2 { color: var(--white); font-size: clamp(1.8rem, 3vw, 2.8rem); margin-bottom: 16px; }
.notdienst p { color: #C9D0DB; max-width: 40ch; margin-bottom: 0; }
.notdienst__phone {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--r-md);
  background: rgba(255,255,255,0.04);
  transition: border-color var(--dur-2) var(--ease), background var(--dur-2) var(--ease);
  color: var(--white);
}
.notdienst__phone:hover { border-color: var(--copper-400); background: rgba(190,128,67,0.08); }
.notdienst__phone .l {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--copper-400);
  margin-bottom: 10px;
}
.notdienst__phone .n {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--white);
  line-height: 1;
  display: flex;
  align-items: center;
  gap: 16px;
}
.notdienst__phone .n svg {
  width: 28px; height: 28px;
  flex-shrink: 0;
  color: var(--copper-400);
}
.notdienst__phone .h {
  margin-top: 12px;
  font-size: 0.9rem;
  color: #C9D0DB;
}

/* -------------------- Stats Row -------------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding: 0;
}
.stat { border-left: 1px solid var(--border); padding: 8px 0 8px 24px; }
.stat .n {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.3vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1;
  margin-bottom: 8px;
  display: block;
}
.stat .n em { color: var(--copper-500); font-style: normal; }
.stat .l { color: var(--text-muted); font-size: 0.92rem; }

/* -------------------- Quote / Testimonial -------------------- */
.quote-card {
  padding: clamp(36px, 5vw, 64px);
  border-radius: var(--r-lg);
  background: var(--paper-alt);
  position: relative;
}
.quote-card::before {
  content: "“";
  font-family: Georgia, serif;
  font-size: 180px;
  line-height: 0.8;
  color: var(--copper-400);
  position: absolute;
  top: 10px; left: 32px;
  opacity: 0.35;
}
.quote-card blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  line-height: 1.4;
  color: var(--text);
  font-weight: 500;
  letter-spacing: -0.015em;
  margin: 0 0 24px;
  position: relative;
}
.quote-card cite {
  font-style: normal;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text);
  display: block;
}
.quote-card cite span { display: block; color: var(--text-muted); font-weight: 500; margin-top: 4px; }

/* -------------------- Service Tiles (Kundendienst-Leistungen) -------------------- */
.tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.tile {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-md);
  aspect-ratio: 4 / 5;
  display: flex;
  align-items: flex-end;
  padding: 24px;
  color: var(--white);
  border: 1px solid var(--border);
  transition: transform var(--dur-3) var(--ease);
}
.tile:hover { transform: translateY(-4px); }
.tile img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--dur-4) var(--ease-out);
}
.tile:hover img { transform: scale(1.06); }
.tile::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,20,38,0.05) 0%, rgba(10,20,38,0.15) 40%, rgba(10,20,38,0.82) 100%);
  transition: background var(--dur-3) var(--ease);
}
.tile:hover::after { background: linear-gradient(180deg, rgba(10,20,38,0.1) 0%, rgba(10,20,38,0.5) 40%, rgba(10,20,38,0.88) 100%); }
.tile__body {
  position: relative;
  z-index: 1;
}
.tile__tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--copper-400);
  margin-bottom: 8px;
}
.tile__title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.2;
  color: var(--white);
  margin: 0;
}

/* -------------------- Leistungen Page (overview) -------------------- */
.feature-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--border);
}
.feature-row__item {
  display: grid;
  grid-template-columns: 80px 280px 1fr auto;
  gap: 32px;
  padding: 40px 0;
  align-items: center;
  border-bottom: 1px solid var(--border);
  transition: background var(--dur-2) var(--ease);
}
.feature-row__item:hover { background: var(--paper-alt); padding-left: 24px; padding-right: 24px; margin: 0 -24px; border-radius: var(--r-md); }
.feature-row__num {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--copper-500);
  letter-spacing: -0.02em;
}
.feature-row__title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.feature-row__text {
  color: var(--text-muted);
  font-size: 1rem;
}
.feature-row__link {
  color: var(--text);
  font-weight: 700;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.feature-row__link::after { content: "→"; transition: transform var(--dur-2) var(--ease); }
.feature-row__item:hover .feature-row__link { color: var(--copper-500); }
.feature-row__item:hover .feature-row__link::after { transform: translateX(4px); }

/* -------------------- Bullet / Leistungs-Sublist -------------------- */
.plain-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px 48px;
  margin: 32px 0;
}
.plain-grid .item {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--white);
}
.plain-grid .item h4 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  font-family: var(--font-display);
}
.plain-grid .item p { color: var(--text-muted); font-size: 0.96rem; margin: 0; }

/* -------------------- Kontakt -------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: start;
}
.contact-info { display: grid; gap: 16px; }
.contact-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: border-color var(--dur-2) var(--ease), transform var(--dur-2) var(--ease);
}
.contact-card:hover { border-color: var(--copper-400); transform: translateY(-2px); }
.contact-card .ic {
  width: 52px; height: 52px;
  border-radius: 16px;
  background: var(--copper-100);
  color: var(--copper-600);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.contact-card .ic svg { width: 22px; height: 22px; }
.contact-card .l {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.contact-card .v {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.35;
}
.contact-card .v a { color: var(--text); transition: color var(--dur-2) var(--ease); }
.contact-card .v a:hover { color: var(--copper-500); }

.hours-card {
  background: var(--ink-800);
  color: #DFE4EC;
  border-radius: var(--r-lg);
  padding: 32px;
}
.hours-card h3 { color: var(--white); margin-bottom: 16px; font-size: 1.2rem; }
.hours-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  font-size: 0.96rem;
}
.hours-row:last-child { border-bottom: none; }
.hours-row span:last-child { color: var(--copper-400); font-weight: 600; }

/* Kontakt Form */
.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: clamp(28px, 4vw, 48px);
}
.contact-form h3 { margin-bottom: 8px; font-size: 1.5rem; }
.contact-form .form-lead {
  color: var(--text-muted);
  font-size: 0.96rem;
  margin-bottom: 28px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group { display: flex; flex-direction: column; }
.form-group.full { grid-column: 1 / -1; }
.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text);
  margin-bottom: 8px;
}
.form-group label .req { color: var(--copper-500); }
.form-control {
  display: block;
  width: 100%;
  padding: 14px 16px;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  font-size: 0.98rem;
  font-family: inherit;
  color: var(--text);
  transition: border-color var(--dur-2) var(--ease), background var(--dur-2) var(--ease), box-shadow var(--dur-2) var(--ease);
}
.form-control::placeholder { color: var(--text-soft); }
.form-control:focus {
  outline: none;
  border-color: var(--copper-500);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(190,128,67,0.12);
}
textarea.form-control { resize: vertical; min-height: 140px; }

.security-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  background: var(--paper);
}
.security-wrap .q {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink-800);
  white-space: nowrap;
}
.security-wrap input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 0;
  font-size: 0.98rem;
}
.security-wrap input:focus { outline: none; }

.form-submit-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-top: 24px;
  flex-wrap: wrap;
}
.form-consent {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
  max-width: 340px;
}
.form-consent a { color: var(--text); text-decoration: underline; }

.form-message {
  padding: 14px 16px;
  border-radius: var(--r-sm);
  font-size: 0.92rem;
  margin-bottom: 20px;
  font-weight: 600;
}
.form-message.success { background: #E7F4EA; color: var(--success); border: 1px solid #C6E3CD; }
.form-message.error   { background: #FBEAE5; color: var(--danger); border: 1px solid #F3C7BC; }

/* -------------------- Kundendienst Slider -------------------- */
.kd-slider {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--ink-800);
  box-shadow: var(--shadow-lg);
  isolation: isolate;
}
.kd-slider__viewport {
  position: relative;
  aspect-ratio: 21 / 9;
  overflow: hidden;
}
.kd-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 550ms cubic-bezier(.16, 1, .3, 1);
}
.kd-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}
.kd-slide__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
  transition: transform 3600ms ease-out;
  will-change: transform;
}
.kd-slide.is-active .kd-slide__bg {
  transform: scale(1.08);
}
.kd-slide__gradient {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10,20,38,0) 40%, rgba(10,20,38,0.55) 80%, rgba(10,20,38,0.88) 100%),
    linear-gradient(100deg, rgba(10,20,38,0.55) 0%, rgba(10,20,38,0.1) 40%, transparent 65%);
}
.kd-slide__caption {
  position: absolute;
  left: clamp(28px, 4vw, 64px);
  right: clamp(28px, 4vw, 64px);
  bottom: clamp(30px, 4vw, 56px);
  color: var(--white);
  transform: translateY(14px);
  opacity: 0;
  transition: transform 650ms cubic-bezier(.16, 1, .3, 1) 120ms,
              opacity 650ms cubic-bezier(.16, 1, .3, 1) 120ms;
}
.kd-slide.is-active .kd-slide__caption {
  transform: translateY(0);
  opacity: 1;
}
.kd-slide__num {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--copper-400);
  margin-bottom: 14px;
}
.kd-slide__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.85rem, 4.2vw, 3.2rem);
  letter-spacing: -0.028em;
  line-height: 1;
  color: var(--white);
  margin: 0;
  max-width: 22ch;
}

/* Controls */
.kd-slider__controls {
  position: absolute;
  right: clamp(24px, 3vw, 44px);
  bottom: clamp(28px, 4vw, 52px);
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 22px;
}
.kd-slider__dots {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.kd-slider__dots li { display: inline-flex; }
.kd-slider__dots button {
  width: 22px;
  height: 3px;
  background: rgba(255, 255, 255, 0.28);
  border-radius: 2px;
  padding: 0;
  font-size: 0;
  border: 0;
  cursor: pointer;
  transition: width 500ms cubic-bezier(.16,1,.3,1), background 300ms var(--ease);
}
.kd-slider__dots button:hover { background: rgba(255,255,255,0.55); }
.kd-slider__dots li.is-active button {
  width: 40px;
  background: var(--copper-400);
}
.kd-slider__arrows {
  display: flex;
  gap: 8px;
}
.kd-slider__arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.24);
  display: grid;
  place-items: center;
  cursor: pointer;
  backdrop-filter: blur(8px) saturate(1.2);
  -webkit-backdrop-filter: blur(8px) saturate(1.2);
  transition: background 300ms var(--ease),
              border-color 300ms var(--ease),
              transform 300ms var(--ease),
              color 300ms var(--ease);
}
.kd-slider__arrow:hover {
  background: var(--copper-500);
  border-color: var(--copper-500);
  transform: translateY(-1px);
}
.kd-slider__arrow svg { width: 18px; height: 18px; }

/* Progress */
.kd-slider__progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
  z-index: 5;
}
.kd-slider__progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--copper-400), var(--copper-500));
  transform-origin: left center;
}

@media (max-width: 900px) {
  .kd-slider__viewport { aspect-ratio: 16 / 10; }
  .kd-slider__arrows { display: none; }
  .kd-slider__controls { right: 20px; bottom: 22px; gap: 0; }
}
@media (max-width: 560px) {
  .kd-slider__viewport { aspect-ratio: 4 / 5; }
  .kd-slide__caption { left: 20px; right: 20px; bottom: 28px; }
  .kd-slide__title { font-size: 1.6rem; }
  .kd-slider__controls { right: 16px; bottom: 18px; }
  .kd-slider__dots button { width: 16px; }
  .kd-slider__dots li.is-active button { width: 28px; }
}

/* -------------------- Map Embed -------------------- */
.map-wrap {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  background: var(--white);
  box-shadow: var(--shadow-md);
  aspect-ratio: 21 / 9;
  min-height: 360px;
}
.map-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  filter: grayscale(0.1) contrast(1.02);
}
.map-route-btn {
  position: absolute;
  bottom: 22px; right: 22px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  background: var(--white);
  color: var(--text);
  border-radius: var(--r-pill);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  box-shadow: var(--shadow-lg);
  transition: background var(--dur-2) var(--ease), color var(--dur-2) var(--ease), transform var(--dur-2) var(--ease);
  z-index: 2;
}
.map-route-btn svg { width: 16px; height: 16px; }
.map-route-btn:hover { background: var(--copper-500); color: var(--white); transform: translateY(-2px); }
.map-address-card {
  position: absolute;
  top: 22px; left: 22px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--white);
  border-radius: var(--r-md);
  padding: 16px 20px;
  box-shadow: var(--shadow-lg);
  max-width: 320px;
  z-index: 2;
}
.map-address-card .ic {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--copper-500);
  color: var(--white);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.map-address-card .ic svg { width: 18px; height: 18px; }
.map-address-card .t {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: -0.01em;
  color: var(--text);
  line-height: 1.2;
}
.map-address-card .s {
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-top: 2px;
}
@media (max-width: 640px) {
  .map-wrap { aspect-ratio: 4 / 3; min-height: 320px; }
  .map-address-card { top: 14px; left: 14px; padding: 12px 14px; max-width: calc(100% - 28px); }
  .map-address-card .ic { width: 32px; height: 32px; }
  .map-route-btn { bottom: 14px; right: 14px; padding: 10px 16px; font-size: 0.85rem; }
}

/* -------------------- Legal Pages -------------------- */
.legal-content {
  max-width: var(--container-text);
  margin: 0 auto;
  padding: clamp(56px, 8vw, 96px) 28px;
}
.legal-content h2 { margin: 48px 0 16px; font-size: 1.8rem; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 { margin: 32px 0 12px; font-size: 1.15rem; color: var(--copper-600); text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; font-family: var(--font-display); }
.legal-content p,
.legal-content li { color: var(--text-muted); font-size: 1rem; line-height: 1.7; }
.legal-content a { color: var(--text); text-decoration: underline; }
.legal-content a:hover { color: var(--copper-500); }
.legal-content ul { padding-left: 22px; }

/* -------------------- CTA Strip -------------------- */
.cta-strip {
  background: var(--ink-800);
  color: var(--white);
  border-radius: var(--r-lg);
  padding: clamp(40px, 5vw, 64px);
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 32px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.cta-strip::after {
  content: "";
  position: absolute;
  right: -40px; bottom: -60px;
  width: 240px; height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(190,128,67,0.22), transparent 70%);
}
.cta-strip h2 { color: var(--white); margin-bottom: 8px; font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.cta-strip p { color: #C9D0DB; margin: 0; }
.cta-strip__actions {
  display: flex;
  gap: 12px;
  justify-self: end;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

/* -------------------- Footer -------------------- */
.site-footer {
  background: var(--ink-900);
  color: #B6BCC8;
  padding: clamp(72px, 9vw, 120px) 0 32px;
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute;
  left: -100px; top: -60px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(190,128,67,0.15), transparent 70%);
  pointer-events: none;
}
.footer-inner {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .site-logo {
  background: var(--white);
  padding: 10px 16px;
  border-radius: var(--r-md);
  box-shadow: none;
}
.footer-brand .site-logo img { height: 56px; }
.footer-brand p { margin-top: 20px; font-size: 0.94rem; color: #9AA3B2; max-width: 34ch; }
.footer-col h4 {
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-col ul a {
  color: #B6BCC8;
  font-size: 0.96rem;
  transition: color var(--dur-2) var(--ease);
}
.footer-col ul a:hover { color: var(--copper-400); }
.footer-col p { color: #B6BCC8; font-size: 0.96rem; margin-bottom: 10px; line-height: 1.6; }
.footer-col .phone-big {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--white);
  letter-spacing: -0.015em;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 32px;
  font-size: 0.84rem;
  color: #7C8597;
}
.footer-bottom a { color: #9AA3B2; transition: color var(--dur-2) var(--ease); }
.footer-bottom a:hover { color: var(--copper-400); }
.footer-credit {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.06);
  text-align: center;
  font-size: 0.82rem;
  color: #7C8597;
  letter-spacing: 0.01em;
}
.footer-credit .heart {
  color: #E85C5C;
  font-style: normal;
  display: inline-block;
  transform: translateY(1px);
  margin: 0 2px;
}
.footer-credit a {
  color: #B6BCC8;
  transition: color var(--dur-2) var(--ease);
}
.footer-credit a:hover { color: var(--copper-400); }
.footer-bottom .partner {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--r-pill);
  font-size: 0.78rem;
  color: #B6BCC8;
}
.footer-bottom .partner:hover { border-color: var(--copper-400); color: var(--copper-400); }

/* -------------------- Back to Top -------------------- */
.to-top {
  position: fixed;
  right: 28px; bottom: 28px;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--ink-800);
  color: var(--copper-400);
  display: grid; place-items: center;
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity var(--dur-3) var(--ease), transform var(--dur-3) var(--ease), background var(--dur-2) var(--ease);
  box-shadow: var(--shadow-lg);
  z-index: 90;
}
.to-top.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.to-top:hover { background: var(--copper-500); color: var(--white); }
.to-top svg { width: 18px; height: 18px; }

/* -------------------- Reveal-on-scroll -------------------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.85s var(--ease-out), transform 0.85s var(--ease-out);
}
.reveal.is-in { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

/* -------------------- Responsive -------------------- */
@media (max-width: 1080px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .feature-row__item { grid-template-columns: 60px 220px 1fr auto; gap: 20px; }
}

@media (max-width: 960px) {
  :root { --nav-h: 136px; --nav-h-scrolled: 68px; }
  .main-nav, .nav-phone { display: none; }
  .nav-toggle { display: flex; }
  .hero__meta { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .split--reverse .split__media { order: 0; }
  .trust-strip__inner { grid-template-columns: repeat(2, 1fr); }
  .notdienst { grid-template-columns: 1fr; padding: 36px; }
  .notdienst__phone .n { font-size: 2rem; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .feature-row__item { grid-template-columns: 1fr; gap: 8px; padding: 28px 0; }
  .feature-row__item:hover { padding-left: 16px; padding-right: 16px; margin: 0 -16px; }
  .feature-row__num { font-size: 1rem; }
  .cta-strip { grid-template-columns: 1fr; text-align: left; }
  .cta-strip__actions { justify-self: start; }
  .plain-grid { grid-template-columns: 1fr; }
  .hero__scroll { display: none; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .container, .container-narrow, .container-text { padding: 0 20px; }
  .services-grid { grid-template-columns: 1fr; gap: 16px; }
  .tiles { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { justify-content: center; }
  .hero__meta { grid-template-columns: 1fr 1fr; gap: 20px; padding-top: 24px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .site-logo img { height: 86px; }
  .site-header.is-scrolled .site-logo img { height: 40px; }
  .footer-brand .site-logo img { height: 46px; }
  .site-logo { padding: 6px 10px; }
  .footer-brand .site-logo { padding: 8px 12px; }
  .page-hero { padding-top: calc(var(--nav-h) + 56px); padding-bottom: 72px; }
  .form-submit-row { flex-direction: column; align-items: flex-start; }
  .form-consent { max-width: none; }
  .notdienst__phone .n { font-size: 1.75rem; }
}

/* -------------------- Print safety -------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
