/* ============================================================
   VMS Klima – Klimatechnik Waiblingen
   styles.css · Mobile First · DSGVO-freundlich (lokale Fonts)
   ============================================================ */

/* -------- Lokale Schriften --------
   Alle Fonts werden lokal aus dem Projekt geladen (keine externen CDNs).
   Lege die passenden Font-Dateien unter assets/fonts/ ab. Bis dahin
   greift der performante System-Font-Stack als Fallback. */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("assets/fonts/Inter-Variable.woff2") format("woff2");
}
@font-face {
  font-family: "Sora";
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url("assets/fonts/Sora-Variable.woff2") format("woff2");
}

/* ------------------------- Design Tokens ------------------------- */
:root {
  --ink-900: #0a2440;
  --ink-800: #0d3157;
  --ink-700: #124170;
  --ink-500: #395d82;
  --ink-400: #64748b;

  /* Logo-Blau (Primär) */
  --blue-600: #035c9e;
  --blue-500: #0a6cb0;
  --blue-400: #2f8fd0;
  --cyan-400: #4cc4e6;
  --frost-100: #eaf3fa;
  --frost-50: #f5fafd;

  /* Logo-Rot (Akzent) */
  --red: #d8232a;
  --red-600: #bd1c23;
  --red-100: #fbe6e7;

  --bg: #ffffff;
  --bg-alt: #f2f8fc;
  --surface: #ffffff;
  --line: #e0eaf2;
  --text: #12304f;
  --text-soft: #4c6584;
  --white: #ffffff;

  --brand: var(--blue-600);
  --brand-hover: #024a80;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --shadow-sm: 0 2px 8px rgba(11, 37, 69, 0.06);
  --shadow: 0 12px 30px rgba(11, 37, 69, 0.08);
  --shadow-lg: 0 24px 60px rgba(11, 37, 69, 0.14);

  --container: 1180px;
  --gutter: clamp(1.1rem, 4vw, 2.25rem);

  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-head: "Sora", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ------------------------- Reset / Base ------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 1rem;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink-900);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.1rem, 6vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 4.4vw, 2.65rem); }
h3 { font-size: clamp(1.15rem, 2.4vw, 1.35rem); }

p { color: var(--text-soft); }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 999;
  background: var(--brand); color: #fff; padding: 0.7rem 1.1rem; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 3px solid var(--blue-400); outline-offset: 2px; border-radius: 4px; }

/* ------------------------- Buttons ------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  font-family: var(--font-head); font-weight: 600; font-size: 0.98rem;
  padding: 0.85rem 1.5rem; border: 1px solid transparent; border-radius: 999px;
  min-height: 48px; transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 10px 22px rgba(14, 107, 168, 0.28); }
.btn-primary:hover { background: var(--brand-hover); transform: translateY(-2px); box-shadow: 0 16px 30px rgba(14, 107, 168, 0.34); }
.btn-ghost { background: rgba(255, 255, 255, 0.75); color: var(--ink-900); border-color: var(--line); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: #fff; transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-lg { padding: 1rem 1.8rem; font-size: 1.02rem; min-height: 54px; }
.btn-block { width: 100%; }

/* ------------------------- Eyebrow / Section head ------------------------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-head); font-weight: 600; font-size: 0.82rem;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue-600);
  margin-bottom: 0.9rem;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(216, 35, 42, 0.18); }
.eyebrow--center { justify-content: center; }

.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section--alt { background: var(--bg-alt); }
.section-head { max-width: 640px; margin: 0 auto clamp(2.2rem, 5vw, 3.4rem); text-align: center; }
.section-intro { margin-top: 0.9rem; font-size: 1.08rem; }
.section-intro--left { margin-inline: 0; }

/* ------------------------- Header ------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); border-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 1rem; }

.brand { display: inline-flex; align-items: center; gap: 0.65rem; }
.brand-logo { height: 42px; width: auto; }
@media (min-width: 600px) { .brand-logo { height: 48px; } }

.footer-logo-chip { display: inline-block; background: #fff; padding: 0.55rem 0.8rem; border-radius: 12px; margin-bottom: 0.9rem; }
.footer-logo-chip img { height: 40px; width: auto; }
.brand-mark {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px;
  color: #fff; background: linear-gradient(135deg, var(--blue-500), var(--ink-800));
  box-shadow: 0 8px 18px rgba(14, 107, 168, 0.3);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--font-head); font-weight: 700; font-size: 1.18rem; color: var(--ink-900); letter-spacing: -0.01em; }
.brand-sub { font-size: 0.72rem; color: var(--text-soft); letter-spacing: 0.04em; }

.main-nav { display: flex; align-items: center; gap: 1.6rem; }
.main-nav ul { display: flex; align-items: center; gap: 1.4rem; }
.main-nav a { font-weight: 500; font-size: 0.96rem; color: var(--ink-700); position: relative; padding: 0.3rem 0; }
.main-nav ul a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px;
  background: var(--blue-500); border-radius: 2px; transition: width 0.3s var(--ease);
}
.main-nav ul a:hover { color: var(--blue-600); }
.main-nav ul a:hover::after { width: 100%; }

.nav-toggle {
  display: none; width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 12px;
  background: #fff; position: relative; flex: none;
}
.nav-toggle span {
  position: absolute; left: 50%; top: 50%; width: 22px; height: 2px; background: var(--ink-900);
  border-radius: 2px; transform: translate(-50%, -50%); transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}
.nav-toggle span:nth-child(1) { transform: translate(-50%, -8px); }
.nav-toggle span:nth-child(3) { transform: translate(-50%, 8px); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translate(-50%, 0) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translate(-50%, 0) rotate(-45deg); }

/* ------------------------- Hero ------------------------- */
.hero { position: relative; overflow: hidden; padding: clamp(2.5rem, 7vw, 5rem) 0 clamp(3rem, 8vw, 5.5rem); background: linear-gradient(180deg, var(--frost-50), #fff 62%); }
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.5; }
.hero-glow--1 { width: 440px; height: 440px; top: -140px; right: -80px; background: radial-gradient(circle, rgba(76, 196, 230, 0.55), transparent 70%); }
.hero-glow--2 { width: 380px; height: 380px; bottom: -160px; left: -120px; background: radial-gradient(circle, rgba(23, 130, 201, 0.4), transparent 70%); }

.hero-inner { position: relative; z-index: 1; display: grid; gap: clamp(2rem, 5vw, 3.5rem); align-items: center; }

.eyebrow .dot { animation: pulse 2.6s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 4px rgba(216, 35, 42, 0.18); } 50% { box-shadow: 0 0 0 8px rgba(216, 35, 42, 0.04); } }

.hero-lead { font-size: clamp(1.05rem, 2.4vw, 1.22rem); margin-top: 1.1rem; max-width: 40ch; color: var(--text-soft); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 1.8rem; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; margin-top: 1.8rem; }
.hero-trust li { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.92rem; font-weight: 500; color: var(--ink-700); }
.hero-trust svg { width: 18px; height: 18px; fill: none; stroke: var(--blue-500); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.hero-media { position: relative; }
.hero-badge {
  position: absolute; left: -8px; bottom: -18px; display: flex; align-items: center; gap: 0.7rem;
  background: #fff; padding: 0.8rem 1rem; border-radius: var(--radius); box-shadow: var(--shadow-lg); max-width: 250px;
}
.hero-badge-num { font-family: var(--font-head); font-weight: 800; font-size: 1.35rem; color: var(--blue-600); }
.hero-badge-txt { font-size: 0.8rem; line-height: 1.3; color: var(--text-soft); }

/* ------------------------- Media Placeholders ------------------------- */
.media {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; isolation: isolate;
  background:
    radial-gradient(120% 120% at 20% 10%, rgba(76, 196, 230, 0.25), transparent 55%),
    linear-gradient(135deg, #d7eaf7, #eaf4fb 60%, #dbeef8);
  border: 1px solid var(--line);
  display: grid; place-items: center;
}
.media::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0.5;
  background-image: linear-gradient(rgba(14, 107, 168, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(14, 107, 168, 0.06) 1px, transparent 1px);
  background-size: 26px 26px;
}
.media-tag {
  font-family: var(--font-head); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.03em;
  color: var(--blue-600); background: rgba(255, 255, 255, 0.75); padding: 0.4rem 0.8rem; border-radius: 999px;
  border: 1px solid rgba(14, 107, 168, 0.15);
}
.media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.media--hero { aspect-ratio: 4 / 3.4; box-shadow: var(--shadow-lg); }
.media--about { aspect-ratio: 4 / 4.4; box-shadow: var(--shadow); }
.media--map { aspect-ratio: 16 / 11; box-shadow: var(--shadow); }

/* ------------------------- Trust bar ------------------------- */
.trustbar { margin-top: -1px; padding: clamp(1.6rem, 4vw, 2.4rem) 0; background: var(--ink-900); }
.trustbar-grid { display: grid; grid-template-columns: 1fr; gap: 1.1rem; }
.trust-item { display: flex; align-items: center; gap: 0.9rem; color: #fff; }
.trust-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: rgba(255, 255, 255, 0.08); flex: none; }
.trust-icon svg { width: 24px; height: 24px; fill: none; stroke: #ff5a60; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.trust-item strong { display: block; font-family: var(--font-head); font-size: 1rem; }
.trust-item span { display: block; font-size: 0.85rem; color: rgba(255, 255, 255, 0.7); }

/* ------------------------- Services ------------------------- */
.services { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.service-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm); overflow: hidden; transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.service-head {
  width: 100%; display: flex; align-items: center; gap: 0.9rem; text-align: left;
  background: transparent; border: 0; padding: 1.15rem 1.25rem; min-height: 56px;
}
.service-ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; flex: none; color: var(--blue-600); background: linear-gradient(135deg, var(--frost-100), #dcecf8); }
.service-ico svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.service-title { font-family: var(--font-head); font-weight: 700; font-size: 1.12rem; color: var(--ink-900); flex: 1; }
.service-chev { width: 12px; height: 12px; border-right: 2px solid var(--ink-500); border-bottom: 2px solid var(--ink-500); transform: rotate(45deg); transition: transform 0.3s var(--ease); flex: none; }

.service-body { padding: 0 1.25rem; max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease), padding 0.4s var(--ease); }
.service-body p { margin-bottom: 0.8rem; }
.ticks li { position: relative; padding-left: 1.6rem; margin-bottom: 0.4rem; font-size: 0.95rem; color: var(--text-soft); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 8px; height: 8px; border-radius: 50%; background: var(--blue-500); box-shadow: 0 0 0 3px rgba(3, 92, 158, 0.15); }

.service-card.is-open { box-shadow: var(--shadow); border-color: rgba(14, 107, 168, 0.25); }
.service-card.is-open .service-chev { transform: rotate(-135deg); }
.service-card.is-open .service-body { padding-bottom: 1.3rem; }

/* ------------------------- About ------------------------- */
.about-grid { display: grid; grid-template-columns: 1fr; gap: clamp(2rem, 5vw, 3.5rem); align-items: center; }
.about-media { position: relative; }
.about-stat {
  position: absolute; right: -6px; bottom: -18px; background: var(--ink-900); color: #fff;
  padding: 0.9rem 1.15rem; border-radius: var(--radius); box-shadow: var(--shadow-lg); max-width: 230px;
}
.about-stat-k { display: block; font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; color: var(--cyan-400); }
.about-stat-v { display: block; font-size: 0.82rem; color: rgba(255, 255, 255, 0.75); }
.about-copy p { margin-top: 1rem; font-size: 1.03rem; }
.about-points { margin: 1.4rem 0 1.8rem; display: grid; gap: 0.6rem; }
.about-points li { display: flex; align-items: center; gap: 0.6rem; font-weight: 500; color: var(--ink-700); }
.about-points span { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--frost-100); color: var(--blue-600); font-size: 0.8rem; font-weight: 700; flex: none; }

/* ------------------------- Benefits ------------------------- */
.benefits { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.benefit {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.6rem 1.5rem; box-shadow: var(--shadow-sm); position: relative; overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.benefit::before { content: ""; position: absolute; left: 0; top: 0; width: 4px; height: 100%; background: linear-gradient(var(--red), var(--blue-500)); opacity: 0; transition: opacity 0.3s var(--ease); }
.benefit:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.benefit:hover::before { opacity: 1; }
.benefit-no { font-family: var(--font-head); font-weight: 800; font-size: 0.95rem; color: var(--red); letter-spacing: 0.05em; }
.benefit h3 { margin: 0.5rem 0 0.5rem; }
.benefit p { font-size: 0.97rem; }

/* ------------------------- Ablauf (Steps) ------------------------- */
.section--dark { background: linear-gradient(160deg, var(--ink-900), var(--ink-700)); color: #fff; }
.section--dark h2 { color: #fff; }
.section--dark .eyebrow { color: #6cb6e6; }
.section--dark .section-intro { color: rgba(255, 255, 255, 0.75); }

/* Fortschrittsbalken über den Schritten (Scroll-Effekt, rechts -> links) */
.steps-line { position: relative; height: 5px; border-radius: 999px; background: rgba(255, 255, 255, 0.12); overflow: hidden; margin-bottom: clamp(1.6rem, 4vw, 2.4rem); }
.steps-line-fill {
  position: absolute; inset: 0; border-radius: 999px;
  background: linear-gradient(90deg, var(--blue-500), var(--red));
  transform: scaleX(0); transform-origin: right center; will-change: transform;
  transition: transform 0.1s linear;
}

.steps { display: grid; grid-template-columns: 1fr; gap: 1.1rem; list-style: none; }
.steps .step { list-style: none; }
.step { position: relative; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: var(--radius-lg); padding: 1.6rem 1.4rem; }
.step-no { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: linear-gradient(135deg, var(--red), var(--red-600)); color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 1.2rem; margin-bottom: 0.9rem; box-shadow: 0 8px 18px rgba(216, 35, 42, 0.35); }
.step h3 { color: #fff; margin-bottom: 0.4rem; }
.step p { color: rgba(255, 255, 255, 0.75); font-size: 0.96rem; }
.ablauf-cta { text-align: center; margin-top: clamp(2rem, 5vw, 3rem); }
.ablauf-cta p { color: rgba(255, 255, 255, 0.85); font-family: var(--font-head); font-size: 1.2rem; font-weight: 600; margin-bottom: 1rem; }

/* ------------------------- Standort ------------------------- */
.standort-grid { display: grid; grid-template-columns: 1fr; gap: clamp(2rem, 5vw, 3rem); align-items: center; }
.contact-list { display: grid; gap: 1rem; margin: 1.6rem 0; }
.contact-list li { display: flex; align-items: center; gap: 0.85rem; font-size: 1.02rem; color: var(--ink-700); }
.ci { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--frost-100); color: var(--blue-600); flex: none; }
.ci svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.contact-list a:hover { color: var(--blue-600); }

.media--map { position: relative; }
.map-pin { position: absolute; top: 42%; left: 50%; transform: translate(-50%, -50%); width: 56px; height: 56px; display: grid; place-items: center; color: #fff; background: var(--red); border-radius: 50% 50% 50% 4px; rotate: -45deg; box-shadow: 0 12px 24px rgba(216, 35, 42, 0.4); animation: bob 3s ease-in-out infinite; }
.map-pin svg { rotate: 45deg; width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 1.8; }
.media--map .media-tag { position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }

.contact-list small { color: var(--ink-400); font-size: 0.82rem; }

/* Öffnungszeiten */
.hours { margin-top: 1.2rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.3rem 1.4rem; box-shadow: var(--shadow-sm); }
.hours h3 { display: flex; align-items: center; gap: 0.55rem; font-size: 1.15rem; margin-bottom: 0.9rem; }
.ci--sm { width: 34px; height: 34px; }
.ci--sm svg { width: 18px; height: 18px; }
.hours-list li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.5rem 0; border-bottom: 1px solid var(--line); font-size: 0.97rem; }
.hours-list li:last-child { border-bottom: 0; }
.hours-list li span:first-child { color: var(--text-soft); }
.hours-list li span:last-child { font-weight: 600; color: var(--ink-800); }
.hours-list .closed { color: var(--red) !important; }
.hours-note { display: flex; align-items: center; gap: 0.55rem; margin-top: 0.9rem; padding-top: 0.9rem; border-top: 1px dashed var(--line); font-size: 0.9rem; color: var(--text-soft); }
.hours-note a { color: var(--blue-600); font-weight: 600; white-space: nowrap; }
.ndot { width: 10px; height: 10px; border-radius: 50%; background: var(--red); flex: none; box-shadow: 0 0 0 4px rgba(216, 35, 42, 0.15); animation: pulse 2.6s ease-in-out infinite; }
.footer-hours { color: var(--cyan-400) !important; font-weight: 600; }

/* ------------------------- Kontakt ------------------------- */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: clamp(2rem, 5vw, 3rem); align-items: start; }
.contact-intro p { margin-top: 1rem; font-size: 1.05rem; }
.contact-direct { display: grid; gap: 0.8rem; margin-top: 1.6rem; }
.contact-direct-item { display: flex; align-items: center; gap: 0.85rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 0.85rem 1rem; box-shadow: var(--shadow-sm); transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease); }
.contact-direct-item:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.contact-direct-item span strong { display: block; font-family: var(--font-head); color: var(--ink-900); font-size: 0.95rem; }
.contact-direct-item > span:last-child { display: flex; flex-direction: column; font-size: 0.95rem; color: var(--text-soft); }

.contact-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.4rem, 4vw, 2rem); box-shadow: var(--shadow); }
.field { margin-bottom: 1.05rem; }
.field-row { display: grid; grid-template-columns: 1fr; gap: 0 1rem; }
.field label { display: block; font-family: var(--font-head); font-weight: 600; font-size: 0.9rem; color: var(--ink-800); margin-bottom: 0.4rem; }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; color: var(--text); background: var(--frost-50);
  border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0.8rem 0.95rem; min-height: 48px;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--blue-400); background: #fff; box-shadow: 0 0 0 4px rgba(52, 160, 221, 0.15); }
.field--captcha input { max-width: 160px; }

.checkbox { display: flex; align-items: flex-start; gap: 0.7rem; margin: 0.4rem 0 1.3rem; font-size: 0.92rem; color: var(--text-soft); cursor: pointer; }
.checkbox input { flex: none; width: 22px; height: 22px; margin-top: 1px; accent-color: var(--blue-600); cursor: pointer; }
.checkbox a { color: var(--blue-600); text-decoration: underline; }

.form-status { margin-top: 0.9rem; font-size: 0.95rem; font-weight: 500; min-height: 1.2em; }
.form-status.is-error { color: #c0392b; }
.form-status.is-success { color: #1e8f5b; }
.form-note { margin-top: 0.7rem; font-size: 0.8rem; color: var(--ink-400); }

/* ------------------------- Footer ------------------------- */
.site-footer { background: var(--ink-900); color: rgba(255, 255, 255, 0.72); padding-top: clamp(2.6rem, 6vw, 4rem); }
.footer-top { display: grid; grid-template-columns: 1fr; gap: 2rem; padding-bottom: 2.2rem; }
.footer-brand .brand-mark { margin-bottom: 0.8rem; }
.footer-brand .brand-name { font-family: var(--font-head); font-size: 1.25rem; color: #fff; display: block; margin-bottom: 0.6rem; }
.footer-brand p { font-size: 0.92rem; max-width: 34ch; }
.social { display: flex; gap: 0.7rem; margin-top: 1.1rem; }
.social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: rgba(255, 255, 255, 0.08); color: #fff; transition: background 0.25s var(--ease), transform 0.25s var(--ease); }
.social a:hover { background: var(--blue-500); transform: translateY(-2px); }
.social svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.footer-nav h4, .footer-contact h4 { font-family: var(--font-head); color: #fff; font-size: 1rem; margin-bottom: 1rem; }
.footer-nav a, .footer-contact a { font-size: 0.94rem; transition: color 0.2s var(--ease); }
.footer-nav li, .footer-contact li { margin-bottom: 0.6rem; font-size: 0.94rem; }
.footer-nav a:hover, .footer-contact a:hover { color: var(--cyan-400); }
.footer-legal { margin-top: 1rem; display: flex; gap: 1.2rem; }
.footer-legal a { color: rgba(255, 255, 255, 0.9); text-decoration: underline; }

.footer-bottom {
  display: flex; flex-direction: column; gap: 0.6rem; align-items: center; text-align: center;
  padding: 1.3rem 0 1.6rem; border-top: 1px solid rgba(255, 255, 255, 0.12); margin-top: 0.5rem;
}
.copyright { font-size: 0.82rem; color: rgba(255, 255, 255, 0.55); }
.powered { font-size: 0.9rem; }
.wowobot { color: #22b8e0; font-weight: 600; }
.wowobot:hover { text-decoration: underline; }

/* ------------------------- Galerie / Einblicke (einheitliches Raster) ------------------------- */
.gallery { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.gallery-item {
  position: relative; margin: 0; border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 4 / 3; box-shadow: var(--shadow-sm); background: var(--frost-100); isolation: isolate;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s var(--ease); }
.gallery-item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1;
  padding: 1.6rem 1.1rem 0.9rem; color: #fff; font-family: var(--font-head); font-weight: 600; font-size: 0.98rem;
  background: linear-gradient(to top, rgba(10, 36, 64, 0.9), rgba(10, 36, 64, 0.15) 65%, transparent);
}
.gallery-item:hover img { transform: scale(1.05); }

/* ------------------------- Kundenstimmen ------------------------- */
.testimonials { display: grid; grid-template-columns: 1fr; gap: 1.1rem; }
.tcard {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.6rem 1.5rem; box-shadow: var(--shadow-sm); margin: 0; position: relative;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.tcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.stars { color: #f5a623; letter-spacing: 0.12em; font-size: 1.05rem; margin-bottom: 0.7rem; }
.tcard blockquote { color: var(--ink-800); font-size: 1.02rem; line-height: 1.6; quotes: "\201E" "\201C"; }
.tcard blockquote::before { content: open-quote; color: var(--red); font-family: var(--font-head); font-weight: 800; font-size: 1.4rem; margin-right: 2px; }
.tcard blockquote::after { content: close-quote; color: var(--red); font-family: var(--font-head); font-weight: 800; }
.tcard figcaption { margin-top: 1rem; display: flex; flex-direction: column; }
.tname { font-family: var(--font-head); font-weight: 700; color: var(--ink-900); font-size: 0.95rem; }
.tsrc { font-size: 0.82rem; color: var(--text-soft); }

/* ------------------------- Legal Pages ------------------------- */
.legal { padding: clamp(2.5rem, 7vw, 4.5rem) 0 clamp(3rem, 8vw, 5rem); }
.legal h1 { margin-bottom: 1.4rem; }
.legal h2 { font-size: 1.2rem; margin: 2rem 0 0.6rem; }
.legal p { max-width: 68ch; margin-bottom: 0.5rem; }
.legal a { color: var(--blue-600); text-decoration: underline; }
.legal-note {
  background: var(--frost-100); border: 1px solid rgba(14, 107, 168, 0.18);
  border-left: 4px solid var(--blue-500); border-radius: var(--radius-sm);
  padding: 1rem 1.15rem; margin-bottom: 1.6rem; font-size: 0.95rem; color: var(--ink-700);
}

/* ------------------------- Reveal Animations ------------------------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); will-change: opacity, transform; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE – Tablet & Desktop (Mobile First: min-width Queries)
   ============================================================ */
@media (min-width: 600px) {
  .trustbar-grid { grid-template-columns: 1fr 1fr; gap: 1.4rem; }
  .field-row { grid-template-columns: 1fr 1fr; }
  .benefits { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1.6fr 1fr 1.2fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .testimonials { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 860px) {
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .testimonials { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 860px) {
  .services { grid-template-columns: 1fr 1fr; gap: 1.3rem; }
  .benefits { grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .about-grid { grid-template-columns: 0.95fr 1.1fr; }
  .standort-grid { grid-template-columns: 1.05fr 1fr; }
  .contact-grid { grid-template-columns: 1fr 1.1fr; }

  /* Auf Desktop: Leistungs-Karten dauerhaft geöffnet (kein Accordion) */
  .service-head { cursor: default; }
  .service-chev { display: none; }
  .service-body { max-height: none !important; padding: 0 1.4rem 1.4rem !important; }
  .service-head { padding: 1.4rem 1.4rem 0.6rem; }

  .footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; }
}

@media (min-width: 960px) {
  .hero-inner { grid-template-columns: 1.05fr 0.95fr; }
  .services { grid-template-columns: repeat(3, 1fr); }
}

/* ---- Mobile Navigation (nur < 860px) ---- */
@media (max-width: 859px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed; inset: 74px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
    padding: 0.5rem var(--gutter) 1.4rem; gap: 0.2rem;
    transform: translateY(-14px); opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity 0.28s var(--ease), transform 0.28s var(--ease), visibility 0.28s;
    max-height: calc(100dvh - 74px); overflow-y: auto;
  }
  .main-nav.is-open { transform: translateY(0); opacity: 1; visibility: visible; pointer-events: auto; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
  .main-nav ul li { border-bottom: 1px solid var(--line); }
  .main-nav ul a { display: block; padding: 0.95rem 0.25rem; font-size: 1.05rem; min-height: 48px; }
  .main-nav ul a::after { display: none; }
  .nav-cta { margin-top: 1rem; width: 100%; }
  body.nav-locked { overflow: hidden; }
}

/* ------------------------- Reduced Motion ------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .steps-line-fill { transform: scaleX(1) !important; }
}
