/* =====================================================================
   KATI Gebäudereinigung – Stylesheet
   Farben & Schriften zentral unter :root änderbar.
   ===================================================================== */

/* Schriften: siehe css/fonts.css (lokal eingebettet – DSGVO-freundlich) */

:root {
  /* Farben */
  /* Markenfarben (laut KATI Design-Vorlage) */
  --forest: #173B35;      /* Forest Green */
  --sage: #A8C99A;        /* Sage Green   */
  --lime: #D9EF70;        /* Soft Lime    */
  --blue: #48ACFF;        /* Icy Blue     */
  --cream: #F6F3E9;       /* Warm Cream   */

  /* abgeleitete Töne */
  --navy-950: #0b211d;
  --navy-900: #10302a;
  --navy: var(--forest);
  --navy-700: #25534b;
  --navy-500: #4f716a;
  --teal: var(--blue);
  --teal-600: #1f6fb2;    /* dunkleres Blau für kleine Schrift (Lesbarkeit) */
  --teal-300: var(--lime);
  --teal-100: #e2f0ff;
  --teal-50: #eef6ff;
  --sage-100: #e3ecdc;
  --sage-50: #eef3e9;
  --bg: var(--cream);
  --surface: #ffffff;
  --grey-50: #faf8f2;
  --grey-100: #efebdf;
  --line: #e4dfd0;
  --ink: var(--forest);
  --muted: #5a6964;
  --danger: #b4423a;

  /* Typografie */
  --font-sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-head: "Montserrat", "Segoe UI", system-ui, Arial, sans-serif;

  /* Maße */
  --container: 1240px;
  --gutter: clamp(20px, 4vw, 40px);
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --header-h: 84px;

  /* Schatten */
  --shadow-sm: 0 1px 2px rgba(23, 59, 55, .06), 0 2px 8px rgba(23, 59, 55, .04);
  --shadow: 0 2px 6px rgba(23, 59, 55, .05), 0 12px 32px -8px rgba(23, 59, 55, .12);
  --shadow-lg: 0 4px 12px rgba(23, 59, 55, .06), 0 32px 64px -24px rgba(23, 59, 55, .28);

  --ease: cubic-bezier(.22, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  overflow-x: clip;
}
html { overflow-x: hidden; overflow-x: clip; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3 { margin: 0; font-family: var(--font-head); font-weight: 700; letter-spacing: -0.025em; line-height: 1.12; color: var(--ink); }
h2 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.25rem); }
h3 { font-size: 1.2rem; line-height: 1.3; letter-spacing: -0.015em; }
h1 em, h2 em {
  font-style: normal; color: inherit; font-weight: inherit;
  background: linear-gradient(transparent 60%, var(--lime) 60%, var(--lime) 92%, transparent 92%);
  padding: 0 .06em; margin: 0 -.06em; -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
p { margin: 0 0 1em; }
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
::selection { background: var(--lime); color: var(--forest); }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
.break { word-break: break-word; overflow-wrap: anywhere; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(80px, 10vw, 140px); position: relative; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px;
  transition: top .2s;
}
.skip-link:focus { top: 16px; }

/* ---------- Eyebrow / Section-Head ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--forest); margin: 0 0 22px;
}
.eyebrow-line { width: 28px; height: 3px; border-radius: 3px; background: var(--blue); }
.eyebrow.light { color: var(--lime); }
.eyebrow.light .eyebrow-line { background: var(--lime); }

.section-head { margin-bottom: clamp(44px, 6vw, 72px); }
.section-head.split { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: end; }
.section-head.center { text-align: center; max-width: 760px; margin-inline: auto; }
.section-head.center .section-lead { margin-inline: auto; }
.section-lead { color: var(--muted); font-size: 1.075rem; max-width: 520px; margin: 0; }
.section-head h2 + .section-lead { margin-top: 20px; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--navy); --btn-fg: #fff; font-family: var(--font-head);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px; border: 1px solid transparent;
  background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 600; font-size: .95rem; letter-spacing: .005em; line-height: 1.2;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .3s, color .3s, border-color .3s;
  isolation: isolate; overflow: hidden; white-space: nowrap;
}
.btn .ico { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.btn:hover .ico { transform: translateX(4px); }
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary { --btn-bg: var(--navy); box-shadow: 0 8px 20px -10px rgba(23, 59, 55, .55); }
.btn-primary::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--lime);
  transform: translateX(-101%); transition: transform .5s var(--ease-out);
}
.btn-primary:hover { color: var(--forest); box-shadow: 0 14px 30px -12px rgba(23, 59, 55, .5); transform: translateY(-2px); }
.btn-primary:hover::before { transform: translateX(0); }
.btn-ghost { --btn-bg: transparent; --btn-fg: var(--navy); border-color: rgba(23, 59, 55, .18); }
.btn-ghost:hover { border-color: var(--navy); background: var(--navy); color: #fff; transform: translateY(-2px); }
.btn-outline { --btn-bg: #fff; --btn-fg: var(--navy); border-color: var(--line); }
.btn-outline:hover { border-color: var(--teal); color: var(--teal-600); }
.btn-light { --btn-bg: var(--lime); --btn-fg: var(--forest); box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .45); }
.btn-light:hover { --btn-bg: #fff; transform: translateY(-2px); }
.btn-sm { padding: 10px 18px; font-size: .875rem; }
.btn-lg { padding: 17px 30px; font-size: 1rem; }
.btn-block { width: 100%; }
.link-btn { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.link-btn:hover { color: var(--teal); }
.text-link { font-weight: 600; font-size: .9rem; color: var(--teal-600); }
.text-link:hover { color: var(--navy); }

/* ---------- Bilder mit Fallback ---------- */
.media {
  position: relative; overflow: hidden; margin: 0;
  background:
    radial-gradient(120% 80% at 80% 10%, rgba(217, 239, 112, .55), transparent 60%),
    radial-gradient(100% 70% at 10% 100%, rgba(36, 83, 77, .9), transparent 70%),
    linear-gradient(160deg, #cfe2c5, #6f9a86 55%, var(--navy-700));
}
.media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 40 40'%3E%3Cpath d='M20 12c.6 4 2.6 6 6.6 6.6-4 .6-6 2.6-6.6 6.6-.6-4-2.6-6-6.6-6.6 4-.6 6-2.6 6.6-6.6Z' fill='%23ffffff' fill-opacity='.10'/%3E%3C/svg%3E");
  opacity: 0; transition: opacity .4s;
}
.media.is-fallback::after { opacity: 1; }
.media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out), opacity .6s; }
.media img.is-loading { opacity: 0; }
.media img.is-broken { opacity: 0; }

/* =====================================================================
   HEADER / NAVIGATION
   ===================================================================== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background-color .4s, box-shadow .4s, backdrop-filter .4s;
}
.header-inner { display: flex; align-items: center; gap: 28px; height: var(--header-h); transition: height .4s var(--ease); }
.site-header.scrolled {
  background: rgba(251, 251, 249, .82);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 rgba(23, 59, 55, .06), 0 10px 30px -18px rgba(23, 59, 55, .25);
}
.site-header.scrolled .header-inner { height: 70px; }

.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-logo:empty { display: none; }
.brand-logo { display: block; }
.brand-logo img { height: 62px; width: auto; transition: height .4s var(--ease); }
.site-header.scrolled .brand-logo img { height: 50px; }
.site-footer .brand-logo img { height: 64px; }
.brand.has-logo .brand-mark, .brand.has-logo .brand-text { display: none; }
.brand-mark {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(145deg, var(--navy-700), var(--navy));
  color: var(--teal-300); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 6px 14px -6px rgba(23, 59, 55, .5);
  transition: transform .5s var(--ease);
}
.brand-mark svg { width: 26px; height: 26px; fill: currentColor; stroke: none; }
.brand:hover .brand-mark { transform: rotate(-8deg) scale(1.04); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--font-head); font-weight: 600; font-size: 1.5rem; letter-spacing: .14em; color: var(--navy); }
.brand-sub { font-size: .62rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); margin-top: 5px; }
.brand-light .brand-name { color: #fff; }
.brand-light .brand-sub { color: rgba(255, 255, 255, .55); }
.brand-light .brand-mark { background: linear-gradient(145deg, var(--teal), var(--teal-600)); color: #fff; }

.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 6px; }
.main-nav a {
  position: relative; display: block; padding: 8px 14px; font-size: .925rem; font-weight: 500; color: var(--navy-700);
  transition: color .25s;
}
.main-nav a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 3px; height: 1.5px; border-radius: 2px;
  background: var(--teal); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease-out);
}
.main-nav a:hover, .main-nav a.active { color: var(--navy); }
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); transform-origin: left; }

.header-actions { display: flex; align-items: center; gap: 12px; }

/* Sprachumschalter */
.lang-switch { position: relative; }
.lang-toggle {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 999px;
  border: 1px solid rgba(23, 59, 55, .12); background: rgba(255, 255, 255, .6);
  font-size: .82rem; font-weight: 600; letter-spacing: .06em; color: var(--navy);
  transition: border-color .25s, background-color .25s;
}
.lang-toggle:hover, .lang-switch.open .lang-toggle { border-color: var(--navy); background: #fff; }
.lang-toggle .chev { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.lang-switch.open .chev { transform: rotate(180deg); }
.flag { display: inline-flex; width: 20px; height: 14px; border-radius: 3px; overflow: hidden; box-shadow: 0 0 0 1px rgba(23, 59, 55, .1); }
.flag svg { width: 100%; height: 100%; stroke: none; }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 10px); min-width: 188px; padding: 6px;
  background: #fff; border-radius: 14px; box-shadow: var(--shadow-lg); border: 1px solid var(--line);
  opacity: 0; visibility: hidden; transform: translateY(-6px) scale(.98); transform-origin: top right;
  transition: opacity .25s, transform .3s var(--ease), visibility .3s;
}
.lang-switch.open .lang-menu { opacity: 1; visibility: visible; transform: none; }
.lang-option {
  width: 100%; display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 0; border-radius: 10px;
  background: none; text-align: left; font-size: .9rem; font-weight: 500; color: var(--navy-700);
  transition: background-color .2s;
}
.lang-option:hover { background: var(--grey-50); }
.lang-option .code { margin-left: auto; font-size: .72rem; font-weight: 600; letter-spacing: .08em; color: var(--muted); }
.lang-option[aria-checked="true"] { background: var(--teal-50); color: var(--navy); }
.lang-option[aria-checked="true"] .code { color: var(--teal-600); }

/* Hamburger */
.menu-toggle {
  display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(23, 59, 55, .12);
  background: rgba(255, 255, 255, .7); position: relative;
}
.menu-toggle span {
  position: absolute; left: 14px; right: 14px; height: 1.6px; background: var(--navy); border-radius: 2px;
  transition: transform .45s var(--ease), top .45s var(--ease);
}
.menu-toggle span:first-child { top: 18px; }
.menu-toggle span:last-child { top: 26px; }
.menu-open .menu-toggle span:first-child { top: 22px; transform: rotate(45deg); }
.menu-open .menu-toggle span:last-child { top: 22px; transform: rotate(-45deg); }

/* Mobile Navigation */
.mobile-nav {
  position: fixed; inset: 0; z-index: -1; padding: calc(var(--header-h) + 16px) var(--gutter) 28px;
  background: var(--bg); display: flex; flex-direction: column; justify-content: space-between;
  clip-path: circle(0% at calc(100% - 44px) 42px);
  transition: clip-path .7s var(--ease-out);
  overflow-y: auto;
}
.mobile-nav[hidden] { display: flex; visibility: hidden; }
.menu-open .mobile-nav { clip-path: circle(150% at calc(100% - 44px) 42px); visibility: visible; }
.mobile-nav li { overflow: hidden; border-bottom: 1px solid var(--line); }
.mobile-nav nav a {
  display: flex; align-items: baseline; gap: 16px; padding: 16px 0;
  font-family: var(--font-head); font-size: clamp(1.75rem, 7vw, 2.4rem); color: var(--navy);
  transform: translateY(100%); transition: transform .6s var(--ease-out), color .2s;
}
.mobile-nav nav a:hover { color: var(--teal); }
.menu-open .mobile-nav nav a { transform: none; }
.menu-open .mobile-nav li:nth-child(1) a { transition-delay: .12s; }
.menu-open .mobile-nav li:nth-child(2) a { transition-delay: .17s; }
.menu-open .mobile-nav li:nth-child(3) a { transition-delay: .22s; }
.menu-open .mobile-nav li:nth-child(4) a { transition-delay: .27s; }
.menu-open .mobile-nav li:nth-child(5) a { transition-delay: .32s; }
.mn-num { font-family: var(--font-sans); font-size: .75rem; font-weight: 700; letter-spacing: .1em; color: var(--teal-600); }
.mobile-nav-foot { display: grid; gap: 14px; margin-top: 32px; opacity: 0; transform: translateY(16px); transition: opacity .5s .35s, transform .6s .35s var(--ease-out); }
.menu-open .mobile-nav-foot { opacity: 1; transform: none; }
.mobile-langs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mobile-langs button {
  display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px; border-radius: 12px;
  border: 1px solid var(--line); background: #fff; font-weight: 600; font-size: .85rem; letter-spacing: .06em;
}
.mobile-langs button[aria-pressed="true"] { border-color: var(--navy); background: var(--navy); color: #fff; }
.mobile-call { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 12px; font-weight: 600; color: var(--navy); }
.mobile-call .ico { width: 18px; height: 18px; color: var(--teal); }

/* =====================================================================
   HERO
   ===================================================================== */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center;
  padding: calc(var(--header-h) + 40px) 0 90px; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden;
  background: linear-gradient(180deg, #f1f0e4 0%, var(--bg) 70%);
  -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent); mask-image: linear-gradient(180deg, #000 70%, transparent); }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; will-change: transform; }
.blob-1 { width: 560px; height: 560px; right: -120px; top: -140px; background: radial-gradient(circle, rgba(168, 201, 154, .75), transparent 70%); animation: drift 18s ease-in-out infinite alternate; }
.blob-2 { width: 480px; height: 480px; left: -180px; bottom: -160px; background: radial-gradient(circle, rgba(72, 172, 255, .28), transparent 70%); animation: drift 22s ease-in-out infinite alternate-reverse; }
.hero-grid {
  position: absolute; inset: 0; opacity: .5;
  background-image: linear-gradient(rgba(23, 59, 55, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(23, 59, 55, .04) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 30% 40%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 30% 40%, #000 20%, transparent 75%);
}
@keyframes drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(-40px, 40px) scale(1.08); } }

.hero-inner { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.hero-title { font-size: clamp(2.4rem, 1.2rem + 3.4vw, 4.1rem); line-height: 1.08; letter-spacing: -0.025em; margin-bottom: 28px; }
.hero-title em { display: inline-block; }
.hero-lead { font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); color: var(--muted); max-width: 540px; margin-bottom: 38px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 44px; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 10px 26px; padding-top: 28px; border-top: 1px solid var(--line); max-width: 560px; }
.hero-chips li { display: inline-flex; align-items: center; gap: 9px; font-size: .9rem; font-weight: 500; color: var(--navy-700); }
.hero-chips svg { width: 18px; height: 18px; padding: 3px; border-radius: 50%; background: var(--lime); color: var(--forest); stroke-width: 2.4; }

.hero-visual { position: relative; justify-self: end; width: 100%; max-width: 500px; }
.arch {
  aspect-ratio: 4 / 5; border-radius: 999px 999px var(--radius-lg) var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.arch img { transform: scale(1.06); }
.arch:hover img { transform: scale(1.1); }
.hero-visual::before {
  content: ""; position: absolute; inset: -18px -18px 34px 34px; z-index: -1;
  border: 1.5px solid var(--sage); border-radius: 999px 999px var(--radius-lg) var(--radius-lg);
}
.seal {
  position: absolute; top: 12%; left: -54px; width: 116px; height: 116px; border-radius: 50%;
  background: #fff; box-shadow: var(--shadow); display: grid; place-items: center;
}
.seal > svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 26s linear infinite; stroke: none; }
.seal-text { font-family: var(--font-sans); font-size: 8.4px; font-weight: 600; letter-spacing: 1px; fill: var(--navy); }
.seal-core { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: var(--teal-300); }
.seal-core svg { width: 26px; height: 26px; fill: currentColor; stroke: none; }
@keyframes spin { to { transform: rotate(360deg); } }

.hero-card {
  position: absolute; left: -40px; bottom: 36px; display: flex; gap: 14px; align-items: flex-start;
  max-width: 300px; padding: 18px 20px; border-radius: var(--radius);
  background: rgba(255, 255, 255, .88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-lg); border: 1px solid rgba(255, 255, 255, .7);
  transition: transform .4s var(--ease), box-shadow .4s;
  animation: float 6s ease-in-out infinite;
}
.hero-card:hover { box-shadow: 0 30px 60px -20px rgba(23, 59, 55, .4); }
.hero-card-icon { width: 42px; height: 42px; flex-shrink: 0; border-radius: 12px; display: grid; place-items: center; background: var(--teal); color: #fff; }
.hero-card-icon svg { width: 20px; height: 20px; }
.hero-card-body { display: flex; flex-direction: column; gap: 2px; }
.hero-card-label { font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-600); }
.hero-card strong { font-size: 1.15rem; font-weight: 600; letter-spacing: .01em; }
.hero-card-text { font-size: .82rem; color: var(--muted); line-height: 1.45; margin-top: 2px; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.scroll-cue {
  position: absolute; left: 50%; bottom: 28px; width: 26px; height: 42px; margin-left: -13px;
  border: 1.5px solid rgba(23, 59, 55, .25); border-radius: 20px;
}
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--teal); animation: cue 2s var(--ease) infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* Hero-Einstieg */
.hero-anim { opacity: 0; transform: translateY(26px); }
.is-ready .hero-anim { animation: heroIn 1s var(--ease-out) forwards; animation-delay: calc(var(--d) * 110ms + 100ms); }
@keyframes heroIn { to { opacity: 1; transform: none; } }

/* =====================================================================
   LEISTUNGEN (Bento-Grid)
   ===================================================================== */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service-card {
  position: relative; display: flex; flex-direction: column; background: var(--surface);
  border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .4s;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card .media { height: 170px; flex-shrink: 0; }
.service-card .media::before {
  content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, transparent 50%, rgba(23, 59, 55, .35));
  opacity: .8; transition: opacity .4s;
}
.service-card:hover .media img { transform: scale(1.07); }
.service-num {
  position: absolute; top: 14px; left: 14px; z-index: 2; padding: 5px 10px; border-radius: 999px;
  background: rgba(255, 255, 255, .9); backdrop-filter: blur(8px); font-size: .72rem; font-weight: 600; letter-spacing: .1em; color: var(--navy);
}
.service-body { position: relative; z-index: 2; flex: 1; display: flex; flex-direction: column; padding: 34px 24px 24px; }
.service-icon {
  position: absolute; top: -26px; left: 22px; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: #fff; color: var(--teal); box-shadow: var(--shadow); transition: background-color .4s, color .4s, transform .5s var(--ease);
}
.service-icon svg { width: 26px; height: 26px; }
.service-card:hover .service-icon { background: var(--navy); color: var(--teal-300); transform: rotate(-6deg); }
.service-card h3 { margin-bottom: 10px; }
.service-card p { color: var(--muted); font-size: .94rem; margin-bottom: 20px; }
.service-link {
  margin-top: auto; display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  font-size: .875rem; font-weight: 600; color: var(--navy);
}
.service-link svg { width: 16px; height: 16px; transition: transform .35s var(--ease); color: var(--teal); }
.service-link::after { content: ""; position: absolute; inset: 0; } /* gesamte Karte klickbar */
.service-card:hover .service-link svg { transform: translateX(5px); }

.service-card.featured { grid-column: span 2; grid-row: span 2; }
.service-card.featured .media { height: auto; flex: 1; min-height: 300px; }
.service-card.featured .service-body { flex: 0 0 auto; padding: 40px 32px 32px; }
.service-card.featured h3 { font-size: 1.7rem; }
.service-card.featured p { font-size: 1rem; max-width: 460px; }

.service-custom {
  grid-column: span 3; display: flex; flex-direction: column; justify-content: center; gap: 6px;
  padding: 36px 36px; border-radius: var(--radius); color: #fff; position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--navy), var(--navy-700));
}
.service-custom::before {
  content: ""; position: absolute; right: -60px; top: -60px; width: 240px; height: 240px; border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 239, 112, .45), transparent 70%); transition: transform 1s var(--ease);
}
.service-custom:hover::before { transform: scale(1.3); }
.service-custom h3 { color: #fff; font-size: 1.6rem; position: relative; }
.service-custom p { color: rgba(255, 255, 255, .72); position: relative; max-width: 420px; }
.service-custom .btn { position: relative; align-self: flex-start; margin-top: 8px; }

/* =====================================================================
   ÜBER UNS
   ===================================================================== */
.about { background: var(--surface); }
.process { background: var(--sage-50); }
.about-inner { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(48px, 7vw, 110px); align-items: center; }
.about-visual { position: relative; }
.about-img { aspect-ratio: 4 / 5; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.about-img:hover img { transform: scale(1.05); }
.about-visual::before {
  content: ""; position: absolute; left: -22px; top: 40px; bottom: -22px; width: 60%; z-index: -1;
  border-radius: var(--radius-lg); background: var(--sage);
}
.about-owner {
  position: absolute; right: -28px; bottom: 44px; display: flex; align-items: center; gap: 14px;
  padding: 16px 22px 16px 16px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg);
}
.owner-mark { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--lime); color: var(--forest); }
.owner-mark svg { width: 24px; height: 24px; fill: currentColor; stroke: none; }
.owner-label { display: block; font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.about-owner strong { font-family: var(--font-head); font-size: 1rem; font-weight: 700; }
.about-copy h2 { margin-bottom: 24px; }
.about-lead { font-size: 1.15rem; color: var(--navy-700); font-family: var(--font-head); font-weight: 500; line-height: 1.6; margin-bottom: 22px; }
.about-copy p { color: var(--muted); }
.about-quote { position: relative; padding-left: 20px; border-left: 2px solid var(--teal); color: var(--navy) !important; font-weight: 500; margin: 28px 0 34px; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.values li {
  display: flex; flex-direction: column; gap: 6px; padding: 18px; border-radius: var(--radius-sm);
  background: var(--grey-50); border: 1px solid transparent; font-weight: 600; font-size: .95rem;
  transition: border-color .3s, background-color .3s, transform .4s var(--ease);
}
.values li:hover { background: #fff; border-color: var(--line); transform: translateY(-3px); }
.v-num { font-size: .72rem; letter-spacing: .1em; color: var(--teal-600); }

/* =====================================================================
   WARUM WIR
   ===================================================================== */
.why { background: var(--navy); color: #fff; overflow: hidden; }
.why-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 50% at 85% 0%, rgba(72, 172, 255, .32), transparent 70%),
    radial-gradient(50% 50% at 0% 100%, rgba(70, 112, 106, .5), transparent 70%);
}
.why-bg::after {
  content: ""; position: absolute; inset: 0; opacity: .5;
  background-image: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px); background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 80%); mask-image: linear-gradient(180deg, #000, transparent 80%);
}
.why .container { position: relative; }
.why h2 { color: #fff; }
.why h2 em, .cta-content h2 em { color: var(--lime); background: none; padding: 0; margin: 0; }
.why .section-lead { color: rgba(255, 255, 255, .66); }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255, 255, 255, .1); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid rgba(255, 255, 255, .1); }
.why-item {
  position: relative; padding: 40px 34px 38px; background: var(--navy);
  transition: background-color .5s;
}
.why-item::before {
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .5s;
  background: radial-gradient(80% 80% at 0% 0%, rgba(72, 172, 255, .22), transparent 70%);
}
.why-item:hover::before { opacity: 1; }
.why-item > * { position: relative; }
.why-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.why-icon {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid rgba(217, 239, 112, .45); color: var(--lime); transition: background-color .4s, color .4s, transform .5s var(--ease);
}
.why-icon svg { width: 26px; height: 26px; }
.why-item:hover .why-icon { background: var(--lime); color: var(--forest); border-color: var(--lime); transform: scale(1.06); }
.why-num { font-family: var(--font-head); font-weight: 700; font-size: .95rem; color: rgba(217, 239, 112, .45); }
.why-item h3 { color: #fff; font-size: 1.3rem; margin-bottom: 10px; }
.why-item p { color: rgba(255, 255, 255, .64); font-size: .95rem; margin: 0; }

/* =====================================================================
   ABLAUF
   ===================================================================== */
.process { padding-bottom: clamp(60px, 7vw, 100px); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; position: relative; counter-reset: step; }
.steps::before {
  content: ""; position: absolute; top: 34px; left: 16.6%; right: 16.6%; height: 1px;
  background: repeating-linear-gradient(90deg, var(--sage) 0 6px, transparent 6px 12px);
}
.step { text-align: center; padding: 0 12px; position: relative; }
.step-num {
  position: relative; z-index: 1; display: inline-grid; place-items: center; width: 68px; height: 68px; margin-bottom: 26px;
  border-radius: 50%; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  font-family: var(--font-head); font-size: 1.2rem; font-weight: 700; color: var(--forest);
  transition: background-color .4s, color .4s, transform .5s var(--ease);
}
.step:hover .step-num { background: var(--lime); color: var(--forest); transform: translateY(-4px); }
.step h3 { margin-bottom: 10px; }
.step p { color: var(--muted); max-width: 300px; margin: 0 auto; }

/* =====================================================================
   CTA
   ===================================================================== */
.cta-section { padding-bottom: clamp(80px, 10vw, 140px); }
.cta-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 460px; display: flex; align-items: center; isolation: isolate; }
.cta-media { position: absolute; inset: 0; z-index: -2; }
.cta-media img { transform: scale(1.08); }
.cta-card:hover .cta-media img { transform: scale(1.12); }
.cta-overlay { position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(6, 23, 20, .94) 0%, rgba(23, 59, 55, .82) 45%, rgba(23, 59, 55, .25) 100%); }
.cta-content { padding: clamp(40px, 6vw, 80px); max-width: 720px; color: #fff; }
.cta-content h2 { color: #fff; margin-bottom: 18px; }
.cta-content h2 em { color: var(--teal-300); }
.cta-content > p { color: rgba(255, 255, 255, .78); font-size: 1.1rem; max-width: 520px; margin-bottom: 34px; }
.cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 30px; }
.cta-call { display: inline-flex; align-items: center; gap: 12px; color: #fff; }
.cta-call-icon { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .3); transition: background-color .3s, border-color .3s; }
.cta-call-icon svg { width: 20px; height: 20px; }
.cta-call:hover .cta-call-icon { background: var(--teal); border-color: var(--teal); }
.cta-call small { display: block; font-size: .75rem; color: rgba(255, 255, 255, .6); }
.cta-call strong { font-size: 1.05rem; font-weight: 600; }

/* =====================================================================
   KONTAKT
   ===================================================================== */
.contact { background: linear-gradient(180deg, var(--bg), var(--grey-50)); padding-top: clamp(40px, 5vw, 60px); }
.contact-inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
.contact-info h2 { margin-bottom: 20px; }
.contact-list { display: grid; gap: 12px; margin: 36px 0 24px; }
.contact-item {
  display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line); transition: border-color .3s, box-shadow .4s, transform .4s var(--ease);
}
.contact-item:hover { border-color: transparent; box-shadow: var(--shadow); transform: translateX(4px); }
.ci-icon { width: 46px; height: 46px; border-radius: 12px; flex-shrink: 0; display: grid; place-items: center; background: var(--teal-50); color: var(--teal); transition: background-color .3s, color .3s; }
.ci-icon svg { width: 21px; height: 21px; }
.contact-item:hover .ci-icon { background: var(--navy); color: var(--teal-300); }
.contact-item small { display: block; font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.contact-item strong { font-weight: 600; font-size: 1rem; }
.contact-item > span:nth-child(2) { min-width: 0; flex: 1; }
.ci-arrow { margin-left: auto; width: 18px; height: 18px; color: var(--teal); opacity: 0; transform: translateX(-6px); transition: opacity .3s, transform .3s var(--ease); }
.contact-item:hover .ci-arrow { opacity: 1; transform: none; }

.map-box { position: relative; border-radius: var(--radius); overflow: hidden; height: 240px; border: 1px solid var(--line); background: #e9eeec; }
.map-box iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-placeholder {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 24px;
  background:
    linear-gradient(rgba(233, 238, 236, .7), rgba(233, 238, 236, .85)),
    repeating-linear-gradient(28deg, transparent 0 38px, rgba(255, 255, 255, .9) 38px 46px),
    repeating-linear-gradient(-62deg, transparent 0 70px, rgba(255, 255, 255, .8) 70px 76px),
    radial-gradient(circle at 70% 30%, #d5e7e2 0 60px, transparent 61px),
    #e4eae8;
}
.map-pin { width: 46px; height: 46px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); display: grid; place-items: center; background: var(--navy); color: #fff; margin-bottom: 14px; box-shadow: var(--shadow); }
.map-pin svg { transform: rotate(45deg); width: 20px; height: 20px; }
.map-title { font-weight: 600; margin: 0 0 4px; }
.map-text { font-size: .82rem; color: var(--muted); max-width: 300px; margin-bottom: 14px; }
.map-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; justify-content: center; }

/* Formular */
.form-card { position: relative; background: #fff; border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 48px); box-shadow: var(--shadow-lg); border: 1px solid rgba(225, 229, 228, .7); }
.form-title { font-size: 1.6rem; margin-bottom: 26px; }
.field { margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 8px; color: var(--navy); }
.req { color: var(--teal); }
.opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--grey-50);
  font: inherit; font-size: 1rem; color: var(--ink); transition: border-color .25s, background-color .25s, box-shadow .25s;
  -webkit-appearance: none; appearance: none;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input::placeholder, .field textarea::placeholder { color: #98a4ad; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #c9d1cf; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); background: #fff; box-shadow: 0 0 0 4px rgba(72, 172, 255, .14); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--danger); background: #fdf6f5; }
.field.invalid input:focus, .field.invalid select:focus, .field.invalid textarea:focus { box-shadow: 0 0 0 4px rgba(180, 66, 58, .12); }
.select-wrap { position: relative; }
.select-wrap svg { position: absolute; right: 16px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); pointer-events: none; color: var(--muted); }
.select-wrap select { padding-right: 44px; cursor: pointer; }
.select-wrap select:invalid, .select-wrap select.placeholder { color: #98a4ad; }
.field-error { margin: 6px 0 0; font-size: .8rem; color: var(--danger); min-height: 0; }
.field-error:empty { display: none; }
.field .check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-weight: 400 !important; font-size: .85rem !important; color: var(--muted) !important; line-height: 1.5; }
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check-box {
  width: 22px; height: 22px; flex-shrink: 0; border-radius: 6px; border: 1.5px solid #c3ccca; background: #fff;
  display: grid; place-items: center; transition: background-color .2s, border-color .2s; margin-top: 1px;
}
.check-box svg { width: 14px; height: 14px; color: #fff; stroke-width: 3; opacity: 0; transform: scale(.5); transition: opacity .2s, transform .3s var(--ease); }
.check input:checked + .check-box { background: var(--forest); border-color: var(--forest); }
.check input:checked + .check-box svg { opacity: 1; transform: none; }
.check input:focus-visible + .check-box { outline: 2px solid var(--teal); outline-offset: 2px; }
.field.invalid .check-box { border-color: var(--danger); }
.check-text .link-btn { color: var(--navy); font-weight: 500; }
.form-alert { padding: 12px 16px; border-radius: 12px; background: #fbeeec; color: var(--danger); font-size: .88rem; font-weight: 500; margin-bottom: 20px; }
#quoteForm .btn[type="submit"] { margin-top: 8px; }

.form-success { text-align: center; padding: clamp(20px, 4vw, 40px) 0; animation: popIn .6s var(--ease-out); }
.form-success:focus { outline: none; }
.success-icon { display: inline-grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; background: var(--teal-100); color: var(--teal); margin-bottom: 22px; }
.success-icon svg { width: 34px; height: 34px; stroke-width: 2.2; }
.form-success h3 { font-size: 1.6rem; margin-bottom: 12px; }
.form-success p { color: var(--muted); max-width: 440px; margin: 0 auto 28px; }
.form-success strong { color: var(--navy); }
.success-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.success-actions .ico { width: 18px; height: 18px; }
@keyframes popIn { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }

/* =====================================================================
   FOOTER
   ===================================================================== */
.site-footer { background: var(--navy-900); color: rgba(255, 255, 255, .66); padding-top: clamp(64px, 8vw, 96px); font-size: .93rem; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1.1fr 1.3fr; gap: 40px; padding-bottom: 56px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer-brand p { margin: 22px 0 24px; max-width: 320px; }
.site-footer h3 { font-family: var(--font-sans); font-size: .75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #fff; margin-bottom: 20px; }
.footer-col li { margin-bottom: 11px; }
.footer-col a, .footer-col li > span { transition: color .25s; }
.footer-col a:hover { color: var(--teal-300); }
.footer-contact a { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact svg { width: 18px; height: 18px; margin-top: 3px; color: var(--teal-300); }
.socials { display: flex; gap: 10px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .16); color: #fff; transition: background-color .3s, border-color .3s, transform .3s var(--ease); }
.socials a:hover { background: var(--teal); border-color: var(--teal); transform: translateY(-3px); }
.socials svg { width: 18px; height: 18px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 26px 0 30px; font-size: .85rem; flex-wrap: wrap; }
.footer-bottom p { margin: 0; }
.legal-links { display: flex; align-items: center; gap: 24px; }
.legal-links .link-btn { text-decoration: none; color: rgba(255, 255, 255, .66); }
.legal-links .link-btn:hover { color: #fff; }
.to-top { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .08); color: #fff; transition: background-color .3s, transform .3s var(--ease); }
.to-top:hover { background: var(--teal); transform: translateY(-3px); }
.to-top svg { width: 18px; height: 18px; }

/* =====================================================================
   IMPRESSUM / DATENSCHUTZ – Dialog
   ===================================================================== */
.legal-dialog {
  width: min(680px, calc(100% - 32px)); max-height: min(86vh, 860px); padding: 0; border: 0; border-radius: var(--radius-lg);
  background: #fff; color: var(--ink); box-shadow: 0 40px 100px -20px rgba(6, 23, 20, .5); overflow: auto;
}
.legal-dialog::backdrop { background: rgba(6, 23, 20, .55); backdrop-filter: blur(4px); }
.legal-dialog[open] { animation: popIn .45s var(--ease-out); }
.legal-inner { position: relative; padding: clamp(28px, 5vw, 52px); }
.legal-inner h2 { font-size: 2rem; margin-bottom: 8px; padding-right: 48px; }
.legal-inner h3 { font-family: var(--font-sans); font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-600); margin: 26px 0 8px; }
.legal-inner p { color: var(--muted); }
.legal-inner a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.legal-sub { font-size: .9rem; margin-bottom: 22px; }
.legal-note { margin-top: 28px; padding: 14px 16px; border-radius: 12px; background: var(--sage-50); color: var(--navy-700) !important; font-size: .88rem; }
.legal-close { position: absolute; top: 20px; right: 20px; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; transition: background-color .25s, transform .3s var(--ease); }
.legal-close:hover { background: var(--grey-50); transform: rotate(90deg); }
.legal-close svg { width: 18px; height: 18px; }

/* =====================================================================
   SCROLL-ANIMATIONEN & SPRACHWECHSEL
   ===================================================================== */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease-out), transform 1s var(--ease-out); transition-delay: calc(var(--i, 0) * 90ms); }
.reveal[data-reveal="left"] { transform: translateX(-40px); }
.reveal[data-reveal="right"] { transform: translateX(40px); }
.reveal[data-reveal="zoom"] { transform: scale(.96); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal, .no-js .hero-anim { opacity: 1; transform: none; }

[data-i18n-root] { transition: opacity .22s ease, filter .22s ease; }
.lang-switching [data-i18n-root] { opacity: 0; filter: blur(2px); }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1180px) {
  .main-nav a { padding: 8px 10px; }
  .main-nav a::after { left: 10px; right: 10px; }
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .service-card.featured { grid-column: span 2; grid-row: span 1; }
  .service-card.featured .media { min-height: 220px; }
  .service-custom { grid-column: span 2; }
}

@media (max-width: 1020px) {
  :root { --header-h: 74px; }
  .main-nav, .header-cta { display: none; }
  .menu-toggle { display: block; }
  .header-actions { margin-left: auto; }
  .site-header.scrolled .header-inner { height: 66px; }
  .menu-open .site-header { background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }

  .hero { min-height: auto; padding-top: calc(var(--header-h) + 36px); }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-copy { max-width: 680px; }
  .hero-visual { justify-self: center; max-width: 480px; margin-top: 12px; }
  .scroll-cue { display: none; }
  .reveal[data-reveal="left"], .reveal[data-reveal="right"] { transform: translateY(30px); }

  .section-head.split { grid-template-columns: 1fr; gap: 20px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card.featured { grid-column: span 2; }
  .service-custom { grid-column: auto; }

  .about-inner { grid-template-columns: 1fr; }
  .about-visual { max-width: 520px; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-inner { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  body { font-size: 15.5px; }
  .lang-toggle { padding: 9px 10px; }
  .lang-toggle .chev { display: none; }
  .brand-mark { width: 38px; height: 38px; }
  .brand-name { font-size: 1.3rem; }
  .brand-logo img, .site-header.scrolled .brand-logo img { height: 48px; }
  .brand-sub { font-size: .56rem; letter-spacing: .2em; }

  .hero-title { font-size: clamp(2.1rem, 8.6vw, 2.7rem); }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { width: 100%; }
  .hero-chips { gap: 10px 18px; }
  .hero-visual { padding: 0 6px; }
  .hero-visual::before { inset: -10px -8px 28px 22px; }
  .seal { width: 92px; height: 92px; left: -4px; top: 6%; }
  .seal-text { font-size: 8.4px; }
  .seal-core { width: 38px; height: 38px; }
  .hero-card { left: 12px; right: 12px; bottom: 16px; max-width: none; }

  .services-grid { grid-template-columns: 1fr; gap: 16px; }
  .service-card.featured, .service-custom { grid-column: auto; }
  .service-card.featured .media { min-height: 220px; }
  .service-card.featured h3 { font-size: 1.45rem; }
  .service-card .media { height: 180px; }
  .service-custom { padding: 30px 26px; }

  .about-owner { right: 12px; left: auto; bottom: 18px; }
  .about-visual::before { left: -10px; bottom: -12px; }
  .values { grid-template-columns: 1fr; }
  .values li { flex-direction: row; align-items: center; gap: 14px; padding: 14px 16px; }

  .why-grid { grid-template-columns: 1fr; }
  .why-item { padding: 30px 26px; }

  .steps { grid-template-columns: 1fr; gap: 36px; }
  .steps::before { top: 34px; bottom: 34px; left: 34px; right: auto; width: 1px; height: auto; background: repeating-linear-gradient(180deg, var(--sage) 0 6px, transparent 6px 12px); }
  .step { text-align: left; display: grid; grid-template-columns: 68px 1fr; column-gap: 20px; padding: 0; }
  .step-num { grid-row: span 2; margin: 0; }
  .step h3 { align-self: end; margin-bottom: 6px; }
  .step p { margin: 0; }

  .cta-card { min-height: 0; border-radius: var(--radius); }
  .cta-content { padding: 36px 24px; }
  .btn-lg { white-space: normal; text-align: center; padding: 16px 22px; }
  .contact-item { padding: 14px; gap: 12px; }
  .contact-item strong { font-size: .92rem; }
  .ci-arrow { display: none; }
  .cta-overlay { background: linear-gradient(180deg, rgba(6, 23, 20, .9), rgba(23, 59, 55, .88)); }
  .cta-actions { flex-direction: column; align-items: stretch; }
  .cta-actions .btn { width: 100%; }

  .field-row { grid-template-columns: 1fr; gap: 0; }
  .form-card { border-radius: var(--radius); }
  .field input, .field select, .field textarea { font-size: 16px; } /* verhindert Zoom auf iOS */
  .success-actions .btn { width: 100%; }

  .footer-top { grid-template-columns: 1fr; gap: 34px; }
  .footer-bottom { flex-direction: column-reverse; align-items: flex-start; }
}

/* =====================================================================
   SCHNELLKONTAKT – schwebende Anruf- & WhatsApp-Buttons
   ===================================================================== */
:root { --wa: #25d366; --wa-dark: #128c4b; }
.float-contact {
  position: fixed; right: clamp(16px, 2.4vw, 28px); bottom: clamp(16px, 2.4vw, 28px); z-index: 90;
  display: flex; flex-direction: column; gap: 12px; align-items: flex-end;
  transition: opacity .35s, transform .45s var(--ease);
}
.is-ready .float-contact { animation: heroIn .8s var(--ease-out) .9s both; }
.menu-open .float-contact { opacity: 0; transform: translateY(20px); pointer-events: none; }
.fc-btn {
  position: relative; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: #fff;
  box-shadow: 0 10px 26px -8px rgba(6, 23, 20, .45), 0 2px 6px rgba(6, 23, 20, .15);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.fc-btn > svg { width: 26px; height: 26px; }
.fc-btn:hover { transform: translateY(-3px) scale(1.04); }
.fc-wa { background: var(--wa); width: 62px; height: 62px; }
.fc-wa > svg { width: 30px; height: 30px; }
.fc-wa::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa);
  animation: waPulse 2.6s var(--ease-out) 1.6s 3;
  opacity: 0;
}
@keyframes waPulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.6); opacity: 0; } }
.fc-call { background: var(--navy); }
.fc-call:hover { background: var(--teal); }
.fc-tip {
  position: absolute; right: calc(100% + 12px); top: 50%; transform: translate(6px, -50%); white-space: nowrap;
  padding: 8px 14px; border-radius: 999px; background: #fff; color: var(--navy); font-size: .85rem; font-weight: 600;
  box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: opacity .25s, transform .3s var(--ease);
}
.fc-btn:hover .fc-tip, .fc-btn:focus-visible .fc-tip { opacity: 1; transform: translate(0, -50%); }

/* WhatsApp in Kontaktliste, CTA, Menü */
.ci-wa .ci-icon { background: #e7f9ee; color: var(--wa-dark); }
.contact-item.ci-wa:hover .ci-icon { background: var(--wa); color: #fff; }
.cta-wa:hover .cta-call-icon { background: var(--wa); border-color: var(--wa); }
.mobile-contact { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mobile-contact .mobile-call { border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.mobile-wa .ico { color: var(--wa-dark) !important; }
.footer-contact a[data-company-href="wa"] svg { color: var(--wa); }

@media (max-width: 680px) {
  .fc-btn { width: 50px; height: 50px; }
  .fc-btn > svg { width: 23px; height: 23px; }
  .fc-wa { width: 56px; height: 56px; }
  .fc-wa > svg { width: 28px; height: 28px; }
  .fc-tip { display: none; }
  .site-footer { padding-bottom: 76px; }
}
@media (hover: none) { .fc-tip { display: none; } }
@media print { .float-contact { display: none !important; } }

/* ---------- Reduzierte Bewegung (Barrierefreiheit) ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0ms !important; }
  .reveal, .hero-anim { opacity: 1 !important; transform: none !important; }
  .seal > svg, .blob, .hero-card { animation: none !important; }
}

/* ---------- Druck ---------- */
@media print {
  .site-header, .hero-bg, .scroll-cue, .map-box, .form-card, .cta-section { display: none !important; }
  .reveal, .hero-anim { opacity: 1 !important; transform: none !important; }
}
