/* EMM Dienstleistungen – Stylesheet
   Fonts selbst gehostet (DSGVO): keine Verbindung zu Google Fonts. */

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("../fonts/manrope-latin-wght-normal.woff2") format("woff2-variations");
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-display: swap;
  font-weight: 200 900;
  src: url("../fonts/source-sans-3-latin-wght-normal.woff2") format("woff2-variations");
}

:root {
  color-scheme: light;
  /* Markenfarben EMM */
  --brand-blue: #103f6d;
  --brand-green: #39b73e;

  --ink: #0f2c4b;
  --ink-2: #3a5470;
  --ink-3: #5c7590;
  --paper: #ffffff;
  --tint: #f2f6fa;
  --surface: #ffffff;
  --line: #dbe4ec;
  --line-strong: #b4c6d6;
  --signal: var(--brand-green);
  --signal-ink: #06233f;
  --signal-hover: #4cc851;
  --winter: #5bb8f0;
  --winter-text: #1a6fa8;
  --winter-soft: #e4f3fd;
  --clean: #2b86d1;
  --clean-text: #1d64a3;
  --clean-soft: #e3eefa;
  --green: var(--brand-green);
  --green-text: #23812a;
  --green-soft: #e7f6e8;
  --night: var(--brand-blue);
  --night-deep: #0a2a4a;
  --night-2: #17508a;
  --night-line: #2e6499;
  --night-text: #d3e3f3;
  --footer: #0b2e52;

  --shadow-sm: 0 1px 2px rgba(16,63,109,.06), 0 4px 14px -6px rgba(16,63,109,.12);
  --shadow: 0 2px 4px rgba(16,63,109,.05), 0 18px 40px -16px rgba(16,63,109,.25);
  --shadow-lg: 0 30px 70px -28px rgba(10,42,74,.45);

  --font-head: "Manrope", "Segoe UI", system-ui, sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", system-ui, sans-serif;

  --step--1: 0.9375rem;
  --step-0: 1.0625rem;
  --step-1: 1.2rem;
  --step-2: 1.5rem;
  --step-3: clamp(1.8rem, 1.35rem + 1.6vw, 2.5rem);
  --step-4: clamp(2.2rem, 1.4rem + 3vw, 3.5rem);

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius-s: 10px;
  --radius: 16px;
  --radius-l: 22px;
  --band: clamp(64px, 9vw, 120px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
figure { margin: 0; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--signal-hover); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { color: var(--brand-blue); font-family: var(--font-head); line-height: 1.12; margin: 0; letter-spacing: -0.02em; text-wrap: balance; }
h1 { font-size: var(--step-4); font-weight: 800; }
h2 { font-size: var(--step-3); font-weight: 800; }
h3 { font-size: var(--step-1); font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
ul { padding-left: 1.2em; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--signal); color: var(--signal-ink); padding: 10px 16px; border-radius: var(--radius-s); font-weight: 700; }
.skip:focus { top: 12px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.band { padding-block: var(--band); }
.band--white { background: var(--surface); }
.band--tint { background: var(--tint); }
.band--night { background: radial-gradient(900px 480px at 0% 0%, rgba(57,183,62,.16), transparent 60%), radial-gradient(700px 420px at 100% 100%, rgba(91,184,240,.14), transparent 60%), var(--night); color: var(--night-text); }
.band--night h2, .band--night h3 { color: #fff; }
.lead { font-size: var(--step-1); line-height: 1.55; color: var(--ink-2); }
.band--night .lead { color: var(--night-text); }
.section-head { max-width: 62ch; margin-bottom: clamp(32px, 4.5vw, 56px); }
.section-head h2 + p { margin-top: 16px; color: var(--ink-2); font-size: var(--step-1); line-height: 1.5; }
.section-head p + p { margin-top: 14px; }
.section-head--center { text-align: center; margin-inline: auto; }
.band--night .section-head h2 + p { color: var(--night-text); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-head); font-weight: 700; font-size: 1rem; line-height: 1.2;
  padding: 14px 22px; border-radius: var(--radius-s); border: 1.5px solid transparent;
  text-decoration: none; cursor: pointer; transition: background .18s, border-color .18s, color .18s, transform .18s, box-shadow .18s;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--lg { padding: 17px 26px; font-size: 1.05rem; }
.btn--signal { background: var(--signal); color: var(--signal-ink); box-shadow: 0 12px 26px -12px rgba(57,183,62,.75); }
.btn--signal:hover { background: var(--signal-hover); transform: translateY(-1px); }
.btn--ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn--ghost:hover { background: rgba(255,255,255,.08); }
.btn--glass { color: #fff; background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.35); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn--glass:hover { background: rgba(255,255,255,.18); }
.btn--ink { background: var(--brand-blue); color: #fff; }
.btn--ink:hover { background: var(--night-2); }
.btn--ink svg { width: 18px; height: 18px; transition: transform .18s; }
.btn--ink:hover svg { transform: translateX(3px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.textlink { font-family: var(--font-head); font-weight: 700; color: var(--brand-blue); text-decoration: underline; text-decoration-color: var(--signal); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.textlink:hover { text-decoration-thickness: 3px; }
.link-row { display: flex; flex-wrap: wrap; gap: 12px 28px; }

.pill { display: inline-flex; align-items: center; gap: 7px; font: 700 .82rem var(--font-head); padding: 7px 13px 7px 10px; border-radius: 99px; background: #fff; color: var(--c, var(--brand-blue)); box-shadow: var(--shadow-sm); }
.pill svg { width: 16px; height: 16px; }
.pill--glass { background: rgba(255,255,255,.14); color: #fff; border: 1px solid rgba(255,255,255,.28); box-shadow: none; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); margin-bottom: 20px; }

.icon-tile { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--green-soft); color: var(--green-text); flex: none; }
.icon-tile svg { width: 26px; height: 26px; }
.icon-tile--sm { width: 38px; height: 38px; border-radius: 10px; }
.icon-tile--sm svg { width: 20px; height: 20px; }

.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); font-size: var(--step--1); line-height: 1.45; }
.ticks svg { width: 18px; height: 18px; color: var(--green-text); flex: none; margin-top: 2px; }
.ticks--light li { color: #eaf2f9; font-size: var(--step-0); }
.ticks--light svg { color: var(--brand-green); }

/* ---------- Promo bar ---------- */
.promo { background: var(--footer); color: #fff; font-size: var(--step--1); }
.promo a { color: #8fe093; }
.promo .wrap { display: flex; flex-wrap: wrap; gap: 4px 14px; justify-content: center; align-items: center; padding-block: 8px; text-align: center; }
.promo a { font-weight: 700; }
.promo[hidden] { display: none; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex: none; }
.logo img { height: 46px; width: auto; }
@media (max-width: 600px) { .logo img { height: 40px; } }
.nav { margin-left: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; align-items: center; }
.nav a, .nav button.nav__toggle-sub { font-family: var(--font-head); font-weight: 600; font-size: .98rem; text-decoration: none; padding: 10px 12px; border-radius: var(--radius-s); color: var(--ink); background: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; }
.nav a:hover, .nav button.nav__toggle-sub:hover { background: var(--paper); }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--signal); border-radius: 0; }
.nav__item--sub { position: relative; }
.nav__sub { position: absolute; top: 100%; left: 0; min-width: 260px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 18px 40px -18px rgba(16,63,109,.35); padding: 8px; display: none; flex-direction: column !important; align-items: stretch !important; }
.nav .nav__sub { display: none; }
.nav .nav__item--sub:hover .nav__sub, .nav .nav__item--sub:focus-within .nav__sub { display: flex; }
.nav__sub a { display: flex; padding: 10px 12px; }
.nav__sub a small { display: block; color: var(--ink-3); font-weight: 500; font-family: var(--font-body); }
.header-cta { display: flex; align-items: center; gap: 14px; flex: none; }
.header-phone { display: flex; flex-direction: column; text-decoration: none; line-height: 1.15; text-align: right; }
.header-phone strong { font-family: var(--font-head); font-size: 1.05rem; }
.header-phone span { font-size: .78rem; color: var(--ink-3); }
.header-cta .btn { padding: 12px 18px; }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--line-strong); border-radius: var(--radius-s); padding: 9px 12px; font: 700 .95rem var(--font-head); color: var(--ink); align-items: center; gap: 8px; cursor: pointer; }
.menu-btn svg { width: 20px; height: 20px; }

@media (max-width: 1080px) {
  .header-phone { display: none; }
}
@media (max-width: 900px) {
  .menu-btn { display: inline-flex; }
  .header-cta { display: none; }
  .site-header { backdrop-filter: none; background: #fff; }
  .nav { position: fixed; inset: var(--nav-top, 72px) 0 0 0; z-index: 70; background: var(--surface); overflow-y: auto; padding: 16px var(--gutter) 120px; display: none; margin: 0; }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav > ul > li { border-bottom: 1px solid var(--line); }
  .nav a, .nav button.nav__toggle-sub { width: 100%; padding: 16px 4px; font-size: 1.1rem; justify-content: space-between; }
  .nav .nav__sub { position: static; display: flex; box-shadow: none; border: 0; padding: 0 0 12px 12px; min-width: 0; }
  .nav__sub a { padding: 10px 4px; font-size: 1rem; }
  .nav a[aria-current="page"] { box-shadow: none; text-decoration: underline; text-decoration-color: var(--signal); text-decoration-thickness: 3px; }
  .nav__mobile-cta { display: grid !important; gap: 10px; padding-top: 20px; }
}
.nav__mobile-cta { display: none !important; }



/* ---------- Hero ---------- */
.hero { background: radial-gradient(900px 500px at 100% 0%, rgba(91,184,240,.16), transparent 60%), radial-gradient(700px 400px at 0% 100%, rgba(57,183,62,.12), transparent 60%), var(--night); color: var(--night-text); position: relative; overflow: hidden; isolation: isolate; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; padding-block: clamp(48px, 7vw, 96px); }
.hero h1 { color: #fff; max-width: 22ch; }
.hero .lead { margin-top: 22px; max-width: 56ch; color: var(--night-text); }
.hero .btn-row { margin-top: 34px; }
.hero-facts { list-style: none; padding: 0; margin: 30px 0 0; display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: var(--step--1); }
.hero-facts li { display: flex; gap: 8px; align-items: center; color: #e7eef5; }
.hero-facts svg { width: 18px; height: 18px; color: var(--signal); flex: none; }

.hero--image { background: var(--night-deep); color: #fff; }
.hero__bg { position: absolute; inset: 0; z-index: -1; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero__bg::after { content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(8,33,59,.94) 0%, rgba(8,33,59,.84) 36%, rgba(8,33,59,.42) 68%, rgba(8,33,59,.2) 100%),
    linear-gradient(0deg, rgba(8,33,59,.55) 0%, transparent 45%); }
.hero--image .wrap { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); align-items: end; min-height: clamp(560px, 74vh, 760px); padding-block: clamp(56px, 8vw, 104px); }
.hero--image h1 { font-size: clamp(2.2rem, 1.3rem + 3vw, 3.6rem); max-width: 19ch; text-shadow: 0 2px 30px rgba(0,0,0,.25); }
.hero--image .lead { color: #dbe7f2; }
.hero--home .wrap { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
@media (max-width: 960px) {
  .hero--image .wrap, .hero--home .wrap { grid-template-columns: minmax(0, 1fr); min-height: 0; align-items: start; }
  .hero__bg::after { background: linear-gradient(180deg, rgba(8,33,59,.72) 0%, rgba(8,33,59,.88) 55%, rgba(8,33,59,.96) 100%); }
}

.crumbs { font-size: var(--step--1); margin-bottom: 22px; color: var(--night-text); }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.crumbs a { color: #fff; }

.glass-card { background: rgba(10,38,68,.55); border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius-l); padding: clamp(22px, 3vw, 30px); backdrop-filter: blur(16px) saturate(1.2); -webkit-backdrop-filter: blur(16px) saturate(1.2); box-shadow: var(--shadow-lg); }
.glass-card h2 { font-size: 1.1rem; color: #fff; margin-bottom: 18px; letter-spacing: 0; }
.glass-card__note { margin-top: 16px; font-size: .9rem; color: var(--night-text); }

/* ---------- Jahreskalender ---------- */
.year { background: var(--night-2); border: 1px solid var(--night-line); border-radius: var(--radius-l); padding: clamp(20px, 3vw, 28px); color: #fff; }
.hero--image .year { background: rgba(10,38,68,.55); border-color: rgba(255,255,255,.16); backdrop-filter: blur(16px) saturate(1.2); -webkit-backdrop-filter: blur(16px) saturate(1.2); box-shadow: var(--shadow-lg); }
.year__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 18px; }
.year__head h2 { font-size: 1.05rem; font-weight: 700; color: #fff; letter-spacing: 0; }
.year__head span { font-size: .85rem; color: var(--night-text); }
.year__grid { display: grid; grid-template-columns: 112px repeat(12, minmax(0, 1fr)); row-gap: 10px; column-gap: 3px; align-items: center; }
.year__m { font: 600 .72rem var(--font-head); color: var(--night-text); text-align: center; padding-bottom: 4px; }
.year__m.is-now { color: var(--signal); }
.year__label { font: 700 .86rem var(--font-head); display: flex; align-items: center; gap: 7px; color: #fff; text-decoration: none; padding-right: 6px; }
.year__label i { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.year__cell { height: 26px; border-radius: 4px; background: rgba(255,255,255,.07); }
.year__cell.on { background: color-mix(in srgb, var(--c) 50%, transparent); }
.year__cell.on.peak { background: var(--c); }
.year__cell.is-now { outline: 2px solid var(--signal); outline-offset: 1px; }
.year__row--winter { --c: var(--winter); }
.year__row--clean { --c: var(--clean); }
.year__row--green { --c: var(--green); }
.year__note { margin-top: 20px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.16); font-size: .95rem; color: var(--night-text); display: flex; gap: 10px; }
.year__note strong { color: #fff; }
.year__note svg { width: 20px; height: 20px; color: var(--signal); flex: none; margin-top: 2px; }
@media (max-width: 600px) {
  .year__grid { grid-template-columns: 98px repeat(12, minmax(0, 1fr)); column-gap: 2px; }
  .year__label { font-size: .74rem; gap: 5px; }
  .year__m { font-size: .6rem; }
  .year__cell { height: 22px; }
}

/* ---------- Referenzen ---------- */
.refs { background: var(--surface); border-bottom: 1px solid var(--line); }
.refs .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px 40px; padding-block: 30px; }
.refs p { font-size: var(--step--1); color: var(--ink-3); margin: 0; flex: none; }
.refs ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 20px 44px; align-items: center; }
.refs img { height: 38px; width: auto; max-width: 150px; object-fit: contain; filter: grayscale(1) contrast(1.1); opacity: .65; transition: filter .2s, opacity .2s; }
.refs li:hover img { filter: none; opacity: 1; }
.refs img.logo--wide { height: 30px; }
@media (max-width: 600px) { .refs ul { gap: 16px 28px; } .refs img { height: 30px; } .refs img.logo--wide { height: 24px; } }

/* ---------- Karten ---------- */
.cards { display: grid; gap: clamp(18px, 2.4vw, 28px); }
.cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .cards--3, .cards--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .cards--2, .cards--3, .cards--4 { grid-template-columns: minmax(0, 1fr); } }

.card-svc { display: flex; flex-direction: column; background: var(--surface); border-radius: var(--radius-l); overflow: hidden; box-shadow: var(--shadow); text-decoration: none; color: inherit; transition: transform .25s, box-shadow .25s; }
.card-svc:hover { box-shadow: 0 2px 4px rgba(16,63,109,.06), 0 30px 60px -22px rgba(16,63,109,.35); }
.card-svc__img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.card-svc__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.card-svc:hover .card-svc__img img { transform: scale(1.05); }
.card-svc__img .pill { position: absolute; left: 14px; top: 14px; }
.card-svc__body { display: flex; flex-direction: column; gap: 14px; padding: 24px 26px 26px; flex: 1; }
.card-svc__body h3, .card-svc__body h2 { font-size: 1.45rem; }
.card-svc__body p { color: var(--ink-2); margin: 0; }
.card-svc__more { margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 8px; font: 700 1rem var(--font-head); color: var(--brand-blue); }
.card-svc__more svg { width: 18px; height: 18px; color: var(--green-text); transition: transform .2s; }
.card-svc:hover .card-svc__more svg { transform: translateX(4px); }
.theme-winter { --c: var(--winter-text); --soft: var(--winter-soft); }
.theme-clean { --c: var(--clean-text); --soft: var(--clean-soft); }
.theme-green { --c: var(--green-text); --soft: var(--green-soft); }

.card-plain { background: var(--surface); border-radius: var(--radius-l); padding: 30px 28px; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.card-plain .icon-tile { margin-bottom: 20px; }
.card-plain h3 { margin-bottom: 10px; }
.card-plain p { color: var(--ink-2); font-size: var(--step--1); }

.card-city { background: var(--surface); border-radius: var(--radius-l); overflow: hidden; box-shadow: var(--shadow); }
.card-city__img { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.card-city__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.card-city__img:hover img { transform: scale(1.05); }
.card-city__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8,33,59,.8), transparent 60%); }
.card-city__img span { position: absolute; left: 22px; bottom: 16px; z-index: 1; font: 800 1.6rem var(--font-head); color: #fff; }
.card-city__links { list-style: none; margin: 0; padding: 10px 14px 14px; }
.card-city__links a { display: flex; align-items: center; gap: 10px; padding: 12px 10px; border-radius: 10px; text-decoration: none; font: 600 1rem var(--font-head); color: var(--ink); }
.card-city__links a:hover { background: var(--tint); }
.card-city__links svg { width: 20px; height: 20px; color: var(--green-text); }

/* ---------- Feature (Bild + Text) ---------- */
.feature { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(36px, 6vw, 88px); align-items: center; }
.feature__media { position: relative; }
.feature__photo { border-radius: var(--radius-l); overflow: hidden; aspect-ratio: 5 / 4; box-shadow: var(--shadow); }
.feature__photo img { width: 100%; height: 100%; object-fit: cover; }
.float-card { position: absolute; right: -18px; bottom: -26px; display: flex; gap: 14px; align-items: center; background: var(--surface); border-radius: var(--radius); padding: 16px 22px 16px 16px; box-shadow: var(--shadow-lg); max-width: 300px; }
.float-card__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--brand-green); color: var(--signal-ink); flex: none; }
.float-card__icon svg { width: 24px; height: 24px; }
.float-card__body strong { display: block; font: 800 1.5rem/1.1 var(--font-head); color: var(--brand-blue); }
.float-card__body span { font-size: .9rem; color: var(--ink-2); line-height: 1.35; display: block; }
.feature__text .lead { margin-top: 18px; }
.usp-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 32px; margin-top: 36px; }
.usp .icon-tile { width: 44px; height: 44px; border-radius: 12px; margin-bottom: 14px; }
.usp .icon-tile svg { width: 22px; height: 22px; }
.usp h3 { font-size: 1.1rem; margin-bottom: 6px; }
.usp p { color: var(--ink-2); font-size: var(--step--1); line-height: 1.5; }
@media (max-width: 960px) {
  .feature { grid-template-columns: minmax(0, 1fr); }
  .float-card { right: 12px; bottom: -22px; }
  .feature__text { margin-top: 20px; }
}
@media (max-width: 520px) { .usp-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Zickzack (Leistungsübersicht) ---------- */
.zigzag { display: grid; gap: clamp(64px, 9vw, 120px); }
.zig { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.zig:nth-child(even) .zig__photo { order: 2; }
.zig__photo { position: relative; border-radius: var(--radius-l); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow); }
.zig__photo img { width: 100%; height: 100%; object-fit: cover; }
.zig__photo .pill { position: absolute; left: 16px; top: 16px; }
.zig__text h2 a { text-decoration: none; }
.zig__text .lead { margin: 16px 0 24px; }
.zig__text .ticks { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 20px; margin-bottom: 30px; }
@media (max-width: 900px) { .zig { grid-template-columns: minmax(0, 1fr); } .zig:nth-child(even) .zig__photo { order: 0; } }
@media (max-width: 520px) { .zig__text .ticks { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Ablauf ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; counter-reset: step; }
.steps li { counter-increment: step; position: relative; background: var(--surface); border-radius: var(--radius-l); padding: 28px 24px 26px; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.band--white .steps li { background: var(--tint); box-shadow: none; border-color: transparent; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--brand-blue); color: #fff; font: 800 1.1rem var(--font-head); margin-bottom: 20px; box-shadow: 0 0 0 6px rgba(16,63,109,.08); }
.steps li:not(:last-child)::after { content: ""; position: absolute; top: 50px; right: -20px; width: 20px; height: 2px; background: var(--line-strong); }
.steps h3 { margin-bottom: 8px; font-size: 1.15rem; }
.steps p { color: var(--ink-2); font-size: var(--step--1); line-height: 1.5; }
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } .steps li::after { display: none; } }
@media (max-width: 560px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Einsatzgebiete & Karte ---------- */
.areas { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(36px, 6vw, 80px); align-items: center; }
.areas__text .lead { margin: 18px 0 26px; }
.areas__text > p:last-child { margin-top: 24px; }
@media (max-width: 960px) { .areas { grid-template-columns: minmax(0, 1fr); } }
.city-pills { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.city-pills a { display: inline-flex; align-items: baseline; gap: 7px; padding: 9px 15px; border-radius: 99px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; font: 600 .95rem var(--font-head); color: var(--ink); transition: border-color .15s, background .15s; }
.band--white .city-pills a { background: var(--tint); border-color: transparent; }
.city-pills a:hover { border-color: var(--brand-green); }
.city-pills a span { font: 500 .8rem var(--font-body); color: var(--ink-3); }
.city-pills a.is-hq { background: var(--brand-blue); color: #fff; border-color: var(--brand-blue); }
.city-pills a.is-hq span { color: var(--night-text); }

.map-card { background: var(--surface); border-radius: var(--radius-l); padding: 12px; box-shadow: var(--shadow); }
.map { width: 100%; height: auto; border-radius: 16px; }
.map__bg { fill: #edf3f8; }
.map__grid { stroke: #dfe8f0; stroke-width: 1; }
.map__ring { fill: rgba(57,183,62,.05); stroke: var(--brand-green); stroke-opacity: .45; stroke-width: 1.5; stroke-dasharray: 5 7; }
.map__ring-label { fill: var(--green-text); font: 600 12px var(--font-head); }
.map__link { stroke: var(--brand-blue); stroke-opacity: .18; stroke-width: 1.5; stroke-dasharray: 2 5; }
.map__dot { fill: var(--brand-blue); stroke: #fff; stroke-width: 2.5; transition: r .2s; }
.map__city text { fill: var(--ink); font: 700 15px var(--font-head); paint-order: stroke; stroke: #edf3f8; stroke-width: 4px; stroke-linejoin: round; }
.map__city:hover text, .map__city:focus text { fill: var(--green-text); }
.map__city:hover .map__dot { fill: var(--brand-green); }
.map__city.is-hq .map__dot { fill: var(--brand-green); }
.map__city.is-hq text { font-size: 17px; font-weight: 800; }
.map__city.is-current .map__dot { fill: var(--brand-green); r: 9; }
.map__city.is-current text { fill: var(--green-text); font-weight: 800; }
.map__pulse { fill: var(--brand-green); opacity: .25; transform-box: fill-box; transform-origin: center; animation: pulse 2.6s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(.6); opacity: .45; } 100% { transform: scale(2.2); opacity: 0; } }
.map-card figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: .82rem; color: var(--ink-3); padding: 12px 8px 4px; }
.map-legend { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--brand-blue); margin-left: 6px; }
.map-legend--hq { background: var(--brand-green); margin-left: 0; }
.map-note { margin-left: auto; }

/* ---------- Seiteninhalt ---------- */
.content { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(36px, 5vw, 80px); align-items: start; }
.aside { position: sticky; top: 100px; display: grid; gap: 18px; }
@media (max-width: 1000px) { .content { grid-template-columns: minmax(0, 1fr); } .aside { position: static; } }
.prose { max-width: 72ch; }
.prose h2 { margin: 2em 0 .6em; font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 1.6em 0 .4em; }
.prose p, .prose li { color: var(--ink-2); }
.prose li { margin-bottom: .4em; }
.prose strong { color: var(--ink); }
.season-list { list-style: none; padding: 0; display: grid; gap: 10px; }
.season-list li { padding: 16px 20px; background: var(--tint); border-radius: 12px; border-left: 4px solid var(--brand-green); margin: 0; }

.feature-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.feature-list li { display: flex; gap: 14px; padding: 20px; background: var(--tint); border-radius: var(--radius); margin: 0; }
.feature-list .icon-tile { background: var(--soft, var(--green-soft)); color: var(--c, var(--green-text)); }
.feature-list strong { display: block; font: 700 1.08rem var(--font-head); color: var(--ink); margin-bottom: 4px; }
.feature-list span { color: var(--ink-2); font-size: var(--step--1); line-height: 1.5; display: block; }
@media (max-width: 700px) { .feature-list { grid-template-columns: minmax(0, 1fr); } }

.bento { display: grid; gap: 14px; margin: 32px 0 8px; }
.bento figure { border-radius: var(--radius); overflow: hidden; }
.bento img { width: 100%; height: 100%; object-fit: cover; }
.bento--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bento--2 figure { aspect-ratio: 4 / 3; }
.bento--3 { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); grid-template-rows: repeat(2, 190px); }
.bento--3 figure:first-child { grid-row: span 2; }
@media (max-width: 700px) {
  .bento--2, .bento--3 { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; }
  .bento--3 figure:first-child { grid-row: auto; }
  .bento figure { aspect-ratio: 3 / 2; }
}

.sidecard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l); padding: 26px; box-shadow: var(--shadow-sm); }
.sidecard h2 { font-size: 1.25rem; margin-bottom: 10px; }
.sidecard p { color: var(--ink-2); font-size: var(--step--1); }
.sidecard .btn { width: 100%; margin-top: 16px; }
.sidecard__phone { display: flex; gap: 12px; align-items: center; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); text-decoration: none; }
.sidecard__phone svg { width: 22px; height: 22px; color: var(--green-text); }
.sidecard__phone strong { font: 800 1.15rem var(--font-head); display: block; }
.sidecard__phone span { font-size: .85rem; color: var(--ink-3); }
.sidecard--accent { background: var(--brand-blue); border-color: var(--brand-blue); box-shadow: var(--shadow); }
.sidecard--accent h2 { color: #fff; }
.sidecard--accent p { color: var(--night-text); }
.sidecard--accent .sidecard__phone { border-color: rgba(255,255,255,.18); color: #fff; }
.sidecard--accent .sidecard__phone svg { color: var(--brand-green); }
.sidecard--accent .sidecard__phone span { color: var(--night-text); }
.sidecard ul { list-style: none; padding: 0; margin: 0; }
.sidecard li a { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 600; color: var(--ink); }
.sidecard li:last-child a { border-bottom: 0; }
.sidecard li a svg { width: 16px; height: 16px; color: var(--green-text); transition: transform .15s; }
.sidecard li a:hover svg { transform: translateX(3px); }

.chips { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { background: var(--tint); border-radius: 99px; padding: 6px 14px; font-size: .92rem; color: var(--ink-2); margin: 0; }
.chips--glass { margin: 0; }
.chips--glass li { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); color: #eaf2f9; }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.faq-layout .section-head { position: sticky; top: 110px; }
@media (max-width: 960px) { .faq-layout { grid-template-columns: minmax(0, 1fr); } .faq-layout .section-head { position: static; } }
.faq { display: grid; gap: 12px; max-width: 860px; }
.faq details { background: var(--tint); border-radius: var(--radius); padding: 0 24px; transition: background .2s; }
.band--tint .faq details { background: var(--surface); box-shadow: var(--shadow-sm); }
.faq details[open] { background: var(--surface); box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative; font: 700 1.1rem/1.35 var(--font-head); color: var(--brand-blue); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 4px; top: 50%; width: 10px; height: 10px; border-right: 2.5px solid var(--green-text); border-bottom: 2.5px solid var(--green-text); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq .faq__a { padding: 0 0 22px; color: var(--ink-2); max-width: 70ch; }

/* ---------- Kontakt-Band ---------- */
.contact { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
@media (max-width: 960px) { .contact { grid-template-columns: minmax(0, 1fr); } }
.contact__info h2 { margin-bottom: 16px; }
.contact__lines { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 20px; }
.contact__lines li { display: flex; gap: 16px; align-items: flex-start; }
.contact__lines svg { width: 22px; height: 22px; color: var(--signal); flex: none; }
.contact__lines li > svg { box-sizing: content-box; padding: 11px; border-radius: 12px; background: rgba(255,255,255,.08); }
.contact__lines strong { display: block; color: #fff; font-family: var(--font-head); font-size: 1.1rem; }
.contact__lines a { color: #fff; }
.contact__lines span { font-size: .92rem; }
.badge { display: inline-flex; gap: 8px; align-items: center; background: rgba(57,183,62,.16); border: 1px solid rgba(57,183,62,.5); color: #c9f0cb; font: 700 .9rem var(--font-head); padding: 9px 14px; border-radius: 99px; margin-top: 30px; }
.badge svg { width: 18px; height: 18px; flex: none; }

/* ---------- Formular ---------- */
.form { background: var(--surface); color: var(--ink); border-radius: var(--radius-l); padding: clamp(22px, 3.4vw, 36px); box-shadow: 0 30px 60px -30px rgba(0,0,0,.45); }
.form h3 { font-size: 1.35rem; margin-bottom: 6px; }
.form__intro { color: var(--ink-2); font-size: var(--step--1); margin-bottom: 22px; }
.form__progress { display: flex; gap: 8px; margin-bottom: 22px; }
.form__progress span { flex: 1; height: 4px; border-radius: 2px; background: var(--line); }
.form__progress span.is-on { background: var(--signal); }
.form__progress { display: none; }
.js .form__progress { display: flex; }
.js .form__step[hidden] { display: none; }
fieldset { border: 0; padding: 0; margin: 0 0 20px; min-width: 0; }
legend, .label { font: 700 .98rem var(--font-head); margin-bottom: 10px; display: block; padding: 0; }
.label small, legend small { font-weight: 500; color: var(--ink-3); font-family: var(--font-body); }
.field { margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
@media (max-width: 560px) { .field-row { grid-template-columns: minmax(0, 1fr); } }
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--surface);
  border: 1.5px solid var(--line-strong); border-radius: var(--radius-s); padding: 12px 14px; min-height: 50px;
}
textarea { min-height: 110px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(57,183,62,.4); }
.choice-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 560px) { .choice-grid { grid-template-columns: minmax(0, 1fr); } }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice span { display: flex; align-items: center; gap: 10px; border: 1.5px solid var(--line-strong); border-radius: var(--radius-s); padding: 13px 14px; font: 700 .98rem var(--font-head); min-height: 52px; }
.choice span svg { width: 20px; height: 20px; color: var(--c); flex: none; }
.choice input:checked + span { border-color: var(--ink); background: var(--soft); box-shadow: inset 0 0 0 1px var(--ink); }
.choice input:focus-visible + span { outline: 3px solid var(--signal); outline-offset: 2px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; color: var(--ink-2); }
.check input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--ink); }
.form__actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-top: 8px; }
.form__actions .btn { min-width: 200px; }
.form__back { background: none; border: 0; font: 600 .98rem var(--font-head); color: var(--ink-2); text-decoration: underline; cursor: pointer; padding: 8px 0; }
.form__note { font-size: .85rem; color: var(--ink-3); margin-top: 14px; }
.form__error { color: #a3261b; font-size: .9rem; margin-top: 8px; display: none; }
.form__error.is-visible { display: block; }
.hp { display: none !important; }


/* ---------- Footer ---------- */
.site-footer { background: var(--footer); color: var(--night-text); padding-block: 64px 28px; font-size: var(--step--1); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 36px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }
.site-footer h2 { font-size: 1rem; color: #fff; margin-bottom: 14px; letter-spacing: 0; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--night-text); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer address { font-style: normal; margin-top: 18px; line-height: 1.7; }
.site-footer address a { color: #fff; }
.footer-bottom { border-top: 1px solid var(--night-line); margin-top: 48px; padding-top: 22px; display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 8px 22px; }

/* ---------- Mobile Call Bar ---------- */
.callbar { display: none; }
@media (max-width: 900px) {
  .callbar { display: grid; grid-template-columns: 1fr 1.3fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.97); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -12px rgba(19,38,58,.3); }
  .callbar .btn { padding: 13px 10px; font-size: .98rem; }
  body { padding-bottom: 78px; }
}


/* ---------- Legal ---------- */
.legal { max-width: 75ch; }
.legal h2 { font-size: 1.35rem; margin: 2em 0 .5em; }
.legal h3 { font-size: 1.1rem; margin: 1.4em 0 .4em; }
.legal p, .legal li { color: var(--ink-2); }
.todo { background: #fff4cc; border: 1px dashed #c99400; padding: 1px 6px; border-radius: 4px; color: #6b4e00; font-weight: 600; }

.notfound { min-height: 50vh; display: grid; align-content: center; }


/* ---------- Ergänzungen ---------- */
.band--night .form h3 { color: var(--brand-blue); }
.form { border-radius: var(--radius-l); }
.choice-grid { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.plain-links { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 6px; }
@media (max-width: 600px) {
  h1, h2, h3 { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
  .promo__long { display: none; }
  .promo { font-size: .85rem; }
}
.hero--page h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.1rem); }
.prose { max-width: none; }
.prose > p, .prose > ul:not(.feature-list):not(.chips), .prose > h2 { max-width: 68ch; }
.cards--2 .card-svc__img { aspect-ratio: 16 / 9; }
.hero--image h1 { max-width: 22ch; }
.hero--home h1 { font-size: clamp(2.1rem, 1.3rem + 2.6vw, 3.3rem); }


/* =====================================================================
   BEWEGUNG
   Alles respektiert prefers-reduced-motion (oben global abgeschaltet).
   ===================================================================== */

/* ---------- Saison-Effekte auf Fotos ---------- */
.fx { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 1; }
.card-svc__img .pill, .zig__photo .pill { z-index: 2; }

/* Schnee */
.fx--snow i, .fx--winter i {
  position: absolute; top: -12px; left: var(--x); width: var(--s); height: var(--s); border-radius: 50%;
  background: #fff; opacity: var(--o); box-shadow: 0 0 6px rgba(255,255,255,.8);
  animation: snow var(--t) linear var(--d) infinite;
}
@keyframes snow {
  0%   { transform: translate3d(0, -10px, 0); }
  50%  { transform: translate3d(var(--dx), 50cqh, 0); }
  100% { transform: translate3d(0, calc(100cqh + 20px), 0); }
}
.fx { container-type: size; }

/* Glanz */
.fx__sweep {
  position: absolute; inset: -20% auto -20% -60%; width: 45%;
  background: linear-gradient(100deg, transparent 0%, rgba(255,255,255,.0) 20%, rgba(255,255,255,.55) 50%, rgba(255,255,255,0) 80%, transparent 100%);
  transform: skewX(-18deg); mix-blend-mode: soft-light;
  animation: sweep 5.5s cubic-bezier(.6,0,.3,1) infinite;
}
.card-svc:hover .fx__sweep, .zig:hover .fx__sweep { animation-duration: 2.4s; }
@keyframes sweep { 0%, 55% { left: -60%; } 100% { left: 130%; } }
.fx--clean b { position: absolute; left: var(--x); top: var(--y); width: var(--s); height: var(--s); color: #fff; filter: drop-shadow(0 0 6px rgba(255,255,255,.9)); opacity: 0; animation: twinkle 4.5s ease-in-out var(--d) infinite; }
.fx--clean b svg { width: 100%; height: 100%; }
@keyframes twinkle { 0%, 100% { opacity: 0; transform: scale(.3) rotate(0deg); } 12% { opacity: 1; transform: scale(1) rotate(45deg); } 26% { opacity: 0; transform: scale(.4) rotate(90deg); } }

/* Blätter */
.fx--green i { position: absolute; top: -30px; left: var(--x); width: var(--s); height: var(--s); animation: leaf-fall var(--t) linear var(--d) infinite; filter: drop-shadow(0 2px 3px rgba(0,0,0,.25)); }
.fx--green i svg { width: 100%; height: 100%; animation: leaf-sway calc(var(--t) / 3) ease-in-out var(--d) infinite alternate; }
@keyframes leaf-fall { 0% { transform: translate3d(0, -30px, 0) rotate(0deg); } 100% { transform: translate3d(0, calc(100cqh + 40px), 0) rotate(var(--r)); } }
@keyframes leaf-sway { 0% { transform: translateX(calc(var(--sway) * -1)) rotateY(0deg); } 100% { transform: translateX(var(--sway)) rotateY(60deg); } }

/* Effekte im Kopfbereich der Leistungsseiten */
.hero > .fx { z-index: 0; opacity: .9; }
.hero > .fx--clean .fx__sweep { mix-blend-mode: overlay; width: 30%; }

/* ---------- Kopfbereich: Auftakt ---------- */
.hero__bg img { animation: kenburns 22s ease-out both; transform-origin: 60% 40%; }
@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1.0); } }
.hero__text > * { animation: rise .9s cubic-bezier(.2,.8,.2,1) both; }
.hero__text > *:nth-child(1) { animation-delay: .05s; }
.hero__text > *:nth-child(2) { animation-delay: .15s; }
.hero__text > *:nth-child(3) { animation-delay: .25s; }
.hero__text > *:nth-child(4) { animation-delay: .38s; }
.hero__text > *:nth-child(5) { animation-delay: .5s; }
.hero__text > *:nth-child(6) { animation-delay: .62s; }
.hero .year, .hero .glass-card { animation: rise-in 1s cubic-bezier(.2,.8,.2,1) .45s both; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes rise-in { from { opacity: 0; transform: translateY(40px) scale(.97); } to { opacity: 1; transform: none; } }

/* Jahreskalender füllt sich */
.year__cell { animation: cell-in .45s cubic-bezier(.3,1.4,.5,1) both; animation-delay: calc(.8s + var(--i, 0) * 35ms); }
@keyframes cell-in { from { opacity: 0; transform: scaleY(.2); } to { opacity: 1; transform: none; } }
.year__cell.is-now { animation: cell-in .45s cubic-bezier(.3,1.4,.5,1) both, now-pulse 2.4s ease-in-out 2s infinite; animation-delay: calc(.8s + var(--i, 0) * 35ms), 2s; }
@keyframes now-pulse { 50% { outline-color: rgba(57,183,62,.35); } }

/* ---------- Header beim Scrollen ---------- */
.site-header { transition: box-shadow .3s, background .3s; }
.site-header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(16,63,109,.45); }
.site-header .wrap { transition: min-height .3s; }
.site-header.is-scrolled .wrap { min-height: 62px; }
.logo img { transition: height .3s; }
.site-header.is-scrolled .logo img { height: 40px; }

/* ---------- Buttons ---------- */
.btn--signal { position: relative; overflow: hidden; isolation: isolate; }
.btn--signal::after { content: ""; position: absolute; inset: 0 auto 0 -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.55), transparent); transform: skewX(-20deg); z-index: -1; transition: none; }
.btn--signal:hover::after { left: 130%; transition: left .7s ease; }
.btn--lg.btn--signal { animation: glow 3.2s ease-in-out 2.2s infinite; }
@keyframes glow { 0%, 100% { box-shadow: 0 12px 26px -12px rgba(57,183,62,.75); } 50% { box-shadow: 0 12px 34px -8px rgba(57,183,62,.95), 0 0 0 6px rgba(57,183,62,.12); } }

/* ---------- Schwebende Karte ---------- */
.float-card { animation: bob 5s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-8px); } }
.float-card__icon svg { animation: tick 6s linear infinite; }
@keyframes tick { to { transform: rotate(360deg); } }

/* ---------- Logo-Laufband ---------- */
.refs .wrap { flex-wrap: nowrap; }
.marquee { flex: 1; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee ul { flex-wrap: nowrap; padding-right: 44px; justify-content: flex-start; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (max-width: 760px) { .refs .wrap { flex-direction: column; } .marquee { width: 100%; } }
@media (prefers-reduced-motion: reduce) { .marquee ul[aria-hidden] { display: none; } .marquee__track { width: auto; } .marquee ul { flex-wrap: wrap; justify-content: center; } }

/* ---------- Karte: Linien ziehen sich (per JS ausgelöst) ---------- */
.map.is-armed .map__link { stroke-dasharray: var(--len); stroke-dashoffset: var(--len); }
.map.is-armed .map__city { opacity: 0; }
.map.is-armed .map__ring { opacity: 0; }

/* ---------- Scroll-Einblendungen (per JS) ---------- */
[data-reveal].is-pending { opacity: 0; }

/* ---------- Leistungsübersicht: Foto zoomt leicht ---------- */
.zig__photo img { transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.zig:hover .zig__photo img { transform: scale(1.04); }
.steps li::before { transform: scale(var(--pop, 1)); }
.card-svc { transform: perspective(900px); }
.hero__bg { will-change: transform; inset: -80px 0 0 0; }
.hero > .wrap { position: relative; z-index: 1; }
.fx--winter i { will-change: transform; }

/* ---------- Zahlen-Box unter dem Kopfbereich ---------- */
.hero--home .wrap { padding-bottom: calc(clamp(56px, 8vw, 104px) + 56px); }
.stats { position: relative; z-index: 5; margin-top: -64px; }
.stats__grid { list-style: none; margin: 0; padding: 8px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: var(--surface); border-radius: var(--radius-l); box-shadow: var(--shadow-lg); }
.stat { display: flex; align-items: center; gap: 16px; padding: 22px 24px; position: relative; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 22%; bottom: 22%; width: 1px; background: var(--line); }
.stat strong { display: block; font: 800 clamp(1.7rem, 1.3rem + 1.2vw, 2.3rem)/1 var(--font-head); color: var(--brand-blue); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.stat strong + span { display: block; margin-top: 6px; font-size: .95rem; color: var(--ink-2); line-height: 1.3; }
.stat .icon-tile { animation: rise-in .8s cubic-bezier(.2,.8,.2,1) both; }
.stat:nth-child(1) .icon-tile { animation-delay: .7s; } .stat:nth-child(2) .icon-tile { animation-delay: .8s; }
.stat:nth-child(3) .icon-tile { animation-delay: .9s; } .stat:nth-child(4) .icon-tile { animation-delay: 1s; }
.stat__todo { color: #b07a00; border-bottom: 2px dashed #e0a800; }
.stats + .refs { border-top: 0; }
.stats ~ .refs .wrap { padding-top: 40px; }
@media (max-width: 960px) {
  .stats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(3)::before { display: none; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 480px) {
  .stat { padding: 18px 14px; gap: 12px; flex-direction: column; align-items: flex-start; }
  .stat .icon-tile { width: 42px; height: 42px; }
}
.stats { background: linear-gradient(180deg, transparent 64px, var(--surface) 64px); }
.card-plain h3, .card-svc__body h3 { hyphens: manual; overflow-wrap: normal; }
.cards--4 .card-plain { padding: 28px 24px; }
.cards--4 .card-plain h3 { font-size: 1.12rem; }
