/* Mietservice Fuchs: Stylesheet */

@font-face {
  font-family: "Jakarta";
  src: url("fonts/jakarta-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Jakarta";
  src: url("fonts/jakarta-latin-ext.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --navy: #16306a;
  --navy-dark: #0f2350;
  --navy-deep: #0a1836;
  --taupe: #a5876a;
  --taupe-dark: #8a6d52;
  --taupe-light: #e6d3bd;
  --sand: #f6f2ec;
  --sand-line: #e8e0d5;
  --ink: #1c2233;
  --muted: #5b6273;
  --line: #e6e8ee;
  --white: #fff;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 24px 60px -28px rgba(15, 35, 80, .45);
  --shadow-lg: 0 40px 80px -30px rgba(10, 24, 54, .55);
  --wrap: 1200px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --font: "Jakarta", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.65; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.025em; margin: 0 0 .5em; color: var(--navy); }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); font-weight: 800; text-wrap: balance; }
h3 { font-size: 1.22rem; font-weight: 700; }
p { margin: 0 0 1em; }

.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }
.section { padding: clamp(72px, 10vw, 128px) 0; position: relative; }
.section--sand { background: var(--sand); }
.section--navy { background: var(--navy-deep); color: rgba(255, 255, 255, .8); }
.section--navy h2, .section--navy h3 { color: var(--white); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--taupe-dark); margin-bottom: 16px; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.eyebrow--light, .section--navy .eyebrow { color: var(--taupe-light); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 40em; }
.section--navy .lead { color: rgba(255, 255, 255, .75); }
.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head--center { text-align: center; margin-inline: auto; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--center .lead { margin-inline: auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--white); padding: 8px 14px; border-radius: 8px; }

/* Einblenden beim Scrollen (nur mit JS, sonst sofort sichtbar) */
.js .reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js .reveal--left { transform: translateX(-48px); }
.js .reveal--right { transform: translateX(48px); }
.js .reveal--zoom { transform: scale(.94); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* Buttons */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease), box-shadow .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--primary { background: var(--navy); color: var(--white); box-shadow: 0 14px 30px -14px rgba(22, 48, 106, .7); }
.btn--primary:hover { background: var(--navy-dark); }
.btn--ghost { border-color: var(--line); color: var(--navy); background: var(--white); }
.btn--ghost:hover { border-color: var(--navy); }
.btn--light { background: var(--white); color: var(--navy); box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .5); }
.btn--light:hover { background: var(--taupe-light); }
.btn--outline-light { border-color: rgba(255, 255, 255, .5); color: var(--white); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.btn--outline-light:hover { border-color: var(--white); background: rgba(255, 255, 255, .1); }
.btn--small { padding: 11px 20px; font-size: .95rem; }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .94); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid transparent; transition: background .3s, border-color .3s, box-shadow .3s; }
.header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 10px 30px -20px rgba(15, 35, 80, .35); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 84px; transition: height .3s var(--ease); }
.header.is-scrolled .header__inner { height: 70px; }
.header__logo { position: relative; display: block; }
.header__logo img { height: 48px; width: auto; transition: opacity .3s, height .3s var(--ease); }
.header.is-scrolled .header__logo img { height: 42px; }
.header__logo .logo-light { position: absolute; inset: 0; opacity: 0; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { position: relative; text-decoration: none; color: var(--ink); font-weight: 600; font-size: .97rem; transition: color .2s; }
.nav a:not(.btn):not(.nav__phone)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--taupe); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav .btn { color: var(--white); }
.nav__phone { display: inline-flex; align-items: center; gap: 8px; }
.nav__phone svg { width: 17px; height: 17px; color: var(--taupe); }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; margin-right: -10px; cursor: pointer; color: var(--navy); }
.nav-toggle svg { width: 28px; height: 28px; }

.has-hero .header { position: fixed; left: 0; right: 0; background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.has-hero .header.is-scrolled, .has-hero .header.menu-open { background: rgba(255, 255, 255, .95); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); }
.has-hero .header:not(.is-scrolled):not(.menu-open) .logo-dark { opacity: 0; }
.has-hero .header:not(.is-scrolled):not(.menu-open) .logo-light { opacity: 1; }
.has-hero .header:not(.is-scrolled):not(.menu-open) .nav-toggle { color: var(--white); }
@media (min-width: 901px) {
  .has-hero .header:not(.is-scrolled) .nav a:not(.btn) { color: var(--white); }
  .has-hero .header:not(.is-scrolled) .nav__phone svg { color: var(--taupe-light); }
  .has-hero .header:not(.is-scrolled) .nav .btn { background: var(--white); color: var(--navy); box-shadow: none; }
}

/* Lesefortschritt */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60; background: var(--taupe); transform-origin: left; transform: scaleX(0); pointer-events: none; }

/* Hero */
.hero { position: relative; isolation: isolate; overflow: hidden; color: var(--white); min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; text-align: center; padding: 140px 0 130px; background: var(--navy-deep); }
.hero--page { min-height: 88vh; min-height: 88svh; }
.slides { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.8s ease; }
.slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.14); transition: transform 9s linear; }
.slide.is-active { opacity: 1; }
.slide.is-active img { transform: scale(1); }
.hero__shade { position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 70% 60% at 50% 52%, rgba(10, 24, 54, .66), rgba(10, 24, 54, .34) 80%), linear-gradient(180deg, rgba(10, 24, 54, .55), transparent 28%, transparent 68%, rgba(10, 24, 54, .65)); }
.hero h1, .hero__lead, .hero .eyebrow { text-shadow: 0 2px 24px rgba(0, 0, 0, .45); }
.hero__lead { color: rgba(255, 255, 255, .94); }
.hero__facts li { background: rgba(10, 24, 54, .45); }
.hero__content { display: flex; flex-direction: column; align-items: center; }
.hero__content > * { max-width: 880px; animation: rise 1s var(--ease) both; }
.hero__content > :nth-child(2) { animation-delay: .12s; }
.hero__content > :nth-child(3) { animation-delay: .24s; }
.hero__content > :nth-child(4) { animation-delay: .36s; }
.hero__content > :nth-child(5) { animation-delay: .48s; }
.hero__content > :nth-child(6) { animation-delay: .6s; }
@keyframes rise { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
.hero .eyebrow { color: var(--taupe-light); justify-content: center; }
.hero .eyebrow::after { content: ""; width: 28px; height: 2px; background: currentColor; }
.hero h1 { color: var(--white); font-size: clamp(2.6rem, 7vw, 5.4rem); line-height: 1.02; letter-spacing: -.035em; margin-bottom: .35em; text-wrap: balance; }
.hero--page h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); }
.hero h1 span { display: block; font-size: .42em; font-weight: 600; color: var(--taupe-light); letter-spacing: -.01em; margin-top: .6em; line-height: 1.3; }
.hero__lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: rgba(255, 255, 255, .86); max-width: 660px; margin: 0 auto 36px; }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.breadcrumb { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; font-size: .9rem; margin-bottom: 22px; color: rgba(255, 255, 255, .7); }
.breadcrumb a { color: rgba(255, 255, 255, .92); }
.hero__facts { list-style: none; margin: 40px auto 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.hero__facts li { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-weight: 600; font-size: .93rem; }
.hero__facts li svg { width: 16px; height: 16px; color: var(--taupe-light); }
.hero__bottom { position: absolute; left: 0; right: 0; bottom: 30px; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.dots { display: flex; gap: 10px; }
.dots button { position: relative; width: 44px; height: 4px; padding: 0; border: 0; border-radius: 4px; background: rgba(255, 255, 255, .3); cursor: pointer; overflow: hidden; }
.dots button::before { content: ""; position: absolute; inset: -12px 0; }
.dots button::after { content: ""; position: absolute; inset: 0; background: var(--white); transform: scaleX(0); transform-origin: left; }
.dots button.is-active::after { animation: dotfill var(--slide-ms, 6000ms) linear forwards; }
@keyframes dotfill { to { transform: scaleX(1); } }
.scroll-cue { width: 26px; height: 42px; border: 2px solid rgba(255, 255, 255, .6); border-radius: 14px; position: relative; display: block; }
.scroll-cue::after { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--white); animation: cue 1.8s infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* Laufband */
.marquee { background: var(--navy); color: var(--white); overflow: hidden; padding: 26px 0; }
.marquee__track { display: flex; align-items: center; gap: 44px; width: max-content; animation: marquee 40s linear infinite; }
.marquee__track span { font-size: clamp(1.2rem, 2.2vw, 1.7rem); font-weight: 700; letter-spacing: -.01em; white-space: nowrap; }
.marquee__track svg { width: 26px; height: 26px; color: var(--taupe); flex: none; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Bildkacheln (Leistungen) */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.tiles--2 { grid-template-columns: repeat(2, 1fr); }
.tile { position: relative; display: flex; flex-direction: column; justify-content: flex-end; aspect-ratio: 4 / 5; border-radius: 24px; overflow: hidden; color: var(--white); text-decoration: none; isolation: isolate; box-shadow: var(--shadow); }
.tiles--2 .tile { aspect-ratio: 16 / 10; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.1s var(--ease); }
.tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 24, 54, 0) 30%, rgba(10, 24, 54, .88) 100%); transition: opacity .5s; }
.tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 24, 54, .25), rgba(10, 24, 54, .94)); opacity: 0; transition: opacity .5s; }
.tile:hover img { transform: scale(1.08); }
.tile:hover::after { opacity: 1; }
.tile__body { padding: 30px; }
.tile__num { display: block; font-size: .85rem; font-weight: 800; letter-spacing: .14em; color: var(--taupe-light); margin-bottom: 8px; }
.tile h3 { color: var(--white); font-size: clamp(1.4rem, 2.2vw, 1.75rem); margin-bottom: 8px; }
.tile p { color: rgba(255, 255, 255, .82); font-size: .97rem; margin: 0; display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease), margin .5s; }
.tile p > span { overflow: hidden; }
.tile:hover p, .tile:focus-visible p { grid-template-rows: 1fr; margin-bottom: 6px; }
.tile__more { display: inline-flex; align-items: center; gap: 10px; margin-top: 14px; font-weight: 700; font-size: .95rem; }
.tile__more i { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--white); color: var(--navy); font-style: normal; transition: transform .35s var(--ease); }
.tile:hover .tile__more i { transform: translateX(6px) rotate(-45deg); }

/* Split mit Bildern */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 96px); align-items: center; }
.split--flip > :first-child { order: 2; }
.split__text > p { color: #3c4355; }
.collage { position: relative; padding: 0 12% 14% 0; }
.collage__main { border-radius: 24px; width: 100%; aspect-ratio: 4 / 3.6; object-fit: cover; box-shadow: var(--shadow); }
.collage__small { position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 1; object-fit: cover; border-radius: 20px; border: 8px solid var(--white); box-shadow: var(--shadow-lg); }
.collage__badge { position: absolute; left: -18px; top: 28px; display: flex; align-items: center; gap: 12px; background: var(--white); border-radius: 16px; padding: 14px 18px; box-shadow: var(--shadow-lg); font-size: .9rem; line-height: 1.3; animation: float 5s ease-in-out infinite; }
.collage__badge strong { display: block; color: var(--navy); font-size: 1rem; }
.icon { display: grid; place-items: center; }
.collage__badge .icon { width: 42px; height: 42px; border-radius: 12px; background: var(--sand); color: var(--taupe-dark); flex: none; }
.collage__badge .icon svg { width: 22px; height: 22px; }
@keyframes float { 50% { transform: translateY(-10px); } }
.frame { position: relative; isolation: isolate; }
.frame::before { content: ""; position: absolute; inset: 22px -22px -22px 22px; border: 2px solid var(--taupe); border-radius: 26px; z-index: -1; transition: inset .6s var(--ease); }
.frame:hover::before { inset: 12px -12px -12px 12px; }
.split--flip .frame::before { inset: 22px 22px -22px -22px; }
.split--flip .frame:hover::before { inset: 12px 12px -12px -12px; }
.frame img { border-radius: 24px; width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; box-shadow: var(--shadow); }
.checklist { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist li::before { content: ""; flex: none; width: 24px; height: 24px; margin-top: 1px; border-radius: 50%; background: var(--navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 14px no-repeat; }
.chips { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { padding: 8px 16px; border-radius: 999px; background: var(--sand); color: var(--navy); font-weight: 600; font-size: .93rem; transition: background .25s, color .25s, transform .25s var(--ease); }
.chips li:hover { background: var(--navy); color: var(--white); transform: translateY(-2px); }

/* Icon-Kacheln */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.features--3 { grid-template-columns: repeat(3, 1fr); }
.feature { position: relative; background: var(--white); border: 1px solid var(--sand-line); border-radius: var(--radius); padding: 30px 28px; transition: transform .4s var(--ease), box-shadow .4s, border-color .4s; overflow: hidden; }
.feature::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--taupe); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.feature:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: transparent; }
.feature:hover::after { transform: scaleX(1); }
.feature .icon { width: 56px; height: 56px; border-radius: 16px; background: var(--sand); color: var(--taupe-dark); margin-bottom: 20px; transition: background .35s, color .35s, transform .5s var(--ease); }
.section--sand .feature .icon { background: var(--sand); }
.feature:hover .icon { background: var(--navy); color: var(--white); transform: rotate(-8deg) scale(1.06); }
.feature .icon svg { width: 28px; height: 28px; }
.feature h3 { font-size: 1.12rem; }
.feature p { color: var(--muted); margin: 0; font-size: .96rem; }
.section--sand .feature { border-color: transparent; }

/* Ablauf */
.timeline { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; position: relative; counter-reset: step; }
.timeline--5 { grid-template-columns: repeat(5, 1fr); }
.timeline::before { content: ""; position: absolute; top: 30px; left: 10%; right: 10%; height: 2px; background: repeating-linear-gradient(90deg, var(--taupe) 0 10px, transparent 10px 18px); }
.timeline li { position: relative; text-align: center; }
.timeline li::before { counter-increment: step; content: counter(step, decimal-leading-zero); position: relative; display: grid; place-items: center; width: 62px; height: 62px; margin: 0 auto 22px; border-radius: 50%; background: var(--navy); color: var(--white); font-weight: 800; font-size: 1.05rem; box-shadow: 0 0 0 8px var(--sand); transition: transform .4s var(--ease), background .3s; }
.section:not(.section--sand) .timeline li::before { box-shadow: 0 0 0 8px var(--white); }
.timeline li:hover::before { transform: scale(1.12); background: var(--taupe-dark); }
.timeline h3 { font-size: 1.1rem; }
.timeline p { color: var(--muted); font-size: .96rem; margin: 0; }
.note-box { margin: 52px auto 0; max-width: 820px; display: flex; gap: 18px; align-items: center; padding: 22px 26px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--sand-line); box-shadow: 0 18px 40px -30px rgba(15, 35, 80, .4); }
.note-box .icon { flex: none; width: 46px; height: 46px; border-radius: 14px; background: var(--taupe); color: var(--white); }
.note-box .icon svg { width: 24px; height: 24px; }
.note-box p { margin: 0; }

/* Einsatzgebiet mit Karte */
.area { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.area__text > p { color: #3c4355; }
.town-chips { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.town-chips li { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--sand-line); background: var(--white); font-size: .9rem; font-weight: 600; color: var(--ink); transition: background .25s, color .25s, border-color .25s; }
.town-chips li:hover { border-color: var(--navy); }
.town-chips li.is-main { background: var(--navy); color: var(--white); border-color: var(--navy); }
.area__note { margin-top: 24px; color: var(--muted); font-size: .97rem; }
.map-card { position: relative; }
.map-frame { position: relative; aspect-ratio: 1 / .92; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-lg); background: #ece7e0; }
.map-frame > img, .map-frame > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-frame > img { object-fit: cover; object-position: center; }
.map-radius { fill: rgba(22, 48, 106, .1); stroke: var(--navy); stroke-width: 5; stroke-dasharray: 18 14; }
.js .map-radius { transform-box: fill-box; transform-origin: center; transform: scale(.15); opacity: 0; transition: transform 1.8s var(--ease), opacity 1s; }
.js .map-card.is-visible .map-radius { transform: scale(1); opacity: 1; }
.map-radius-label rect { fill: var(--white); }
.map-radius-label text { font: 800 30px var(--font); fill: var(--navy); }
.map-town circle { fill: var(--taupe-dark); stroke: var(--white); stroke-width: 5; }
.js .map-town { opacity: 0; transform-box: fill-box; transform-origin: center; transform: scale(0); transition: transform .6s var(--ease), opacity .4s; transition-delay: calc(.9s + var(--i) * 90ms); }
.js .map-card.is-visible .map-town { opacity: 1; transform: scale(1); }
.map-pulse { fill: var(--navy); transform-box: fill-box; transform-origin: center; animation: pulse 2.6s ease-out infinite; }
.map-pulse--2 { animation-delay: 1.3s; }
@keyframes pulse { from { transform: scale(.4); opacity: .5; } to { transform: scale(3); opacity: 0; } }
.map-pin circle { fill: var(--navy); stroke: var(--white); stroke-width: 7; }
.map-label rect { fill: var(--navy); }
.map-label text { font: 800 32px var(--font); fill: var(--white); }
.map-credit { position: absolute; right: 12px; bottom: 10px; margin: 0; font-size: .72rem; color: #4a4f5c; background: rgba(255, 255, 255, .85); padding: 2px 8px; border-radius: 6px; }
.map-credit a { color: inherit; }
.map-legend { position: absolute; left: 16px; top: 16px; display: flex; flex-direction: column; gap: 6px; background: rgba(255, 255, 255, .92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-radius: 14px; padding: 12px 16px; font-size: .85rem; font-weight: 600; box-shadow: 0 12px 30px -18px rgba(15, 35, 80, .5); }
.map-legend span { display: flex; align-items: center; gap: 10px; }
.map-legend i { width: 14px; height: 14px; border-radius: 50%; flex: none; }
.map-legend i.ring { border: 2.5px dashed var(--navy); background: rgba(22, 48, 106, .1); }
.map-legend i.dot { background: var(--taupe-dark); border: 2px solid var(--white); box-shadow: 0 0 0 1px var(--taupe-dark); }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.faq-grid details { background: var(--white); border-radius: 16px; border: 1px solid var(--sand-line); transition: box-shadow .3s, border-color .3s; }
.faq-grid details[open] { box-shadow: var(--shadow); border-color: transparent; }
.faq-grid summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 22px 24px; font-weight: 700; font-size: 1.04rem; color: var(--navy); line-height: 1.4; }
.faq-grid summary::-webkit-details-marker { display: none; }
.faq-grid summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--sand); color: var(--taupe-dark); font-size: 1.4rem; font-weight: 500; transition: transform .35s var(--ease), background .3s, color .3s; }
.faq-grid details[open] summary::after { transform: rotate(45deg); background: var(--navy); color: var(--white); }
.faq-grid details p { color: var(--muted); margin: 0; padding: 0 24px 22px; }

/* Abschluss mit Bild */
.cta-image { position: relative; isolation: isolate; overflow: hidden; padding: clamp(96px, 14vw, 170px) 0; text-align: center; color: rgba(255, 255, 255, .85); background: var(--navy-deep); }
.cta-image > img { position: absolute; left: 0; top: -15%; width: 100%; height: 130%; object-fit: cover; z-index: -2; will-change: transform; }
.cta-image::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(120deg, rgba(10, 24, 54, .92), rgba(22, 48, 106, .7)); }
.cta-image h2 { color: var(--white); font-size: clamp(2rem, 4.6vw, 3.6rem); max-width: 820px; margin-inline: auto; }
.cta-image p { max-width: 600px; margin: 0 auto 34px; font-size: 1.12rem; }
.cta-image .eyebrow { justify-content: center; color: var(--taupe-light); }

/* Buttonzeilen und mobile Kontaktleiste */
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.cta-row--center { justify-content: center; margin-top: 48px; }
.spec-card__btn { width: 100%; margin-top: 22px; }
.faq-more { text-align: center; margin: 44px 0 0; color: var(--muted); font-weight: 600; }
.faq-more + .cta-row--center { margin-top: 18px; }
.mobile-cta { display: none; }
@media (max-width: 900px) {
  .mobile-cta { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 45; display: flex; gap: 10px; padding: 8px; border-radius: 999px; background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 18px 40px -14px rgba(10, 24, 54, .5); transform: translateY(150%); transition: transform .45s var(--ease); }
  .mobile-cta.is-visible { transform: none; }
  .mobile-cta .btn { flex: 1; padding: 13px 18px; }
  .mobile-cta__call { flex: none; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: var(--sand); color: var(--navy); }
  .mobile-cta__call svg { width: 22px; height: 22px; }
  body:has(.mobile-cta) .footer { padding-bottom: 104px; }
}

/* Leistungsseiten: Intro */
.intro { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.intro__text p { color: #3c4355; font-size: 1.06rem; }
.intro__text p:first-of-type { font-size: 1.22rem; color: var(--ink); font-weight: 500; }
.usp-stack { background: var(--navy-deep); color: rgba(255, 255, 255, .8); border-radius: 26px; padding: 14px; box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.usp-stack::before { content: ""; position: absolute; right: -40px; top: -40px; width: 180px; height: 180px; border-radius: 50%; background: var(--taupe); opacity: .3; filter: blur(50px); }
.usp { position: relative; display: flex; gap: 18px; padding: 22px; border-radius: 18px; transition: background .3s; }
.usp + .usp { border-top: 1px solid rgba(255, 255, 255, .08); }
.usp:hover { background: rgba(255, 255, 255, .06); }
.usp .icon { flex: none; width: 50px; height: 50px; border-radius: 14px; background: rgba(230, 211, 189, .14); color: var(--taupe-light); }
.usp .icon svg { width: 26px; height: 26px; }
.usp h3 { color: var(--white); font-size: 1.08rem; margin-bottom: 4px; }
.usp p { margin: 0; font-size: .95rem; }

/* Leistungsseiten: Masse */
.specs { display: grid; grid-template-columns: 1.3fr .7fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.specs__text > p { color: rgba(255, 255, 255, .78); }
.table-wrap { overflow-x: auto; margin-top: 28px; border-radius: 18px; border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .04); }
.table { width: 100%; border-collapse: collapse; font-size: .96rem; }
.table th, .table td { text-align: left; padding: 15px 18px; border-bottom: 1px solid rgba(255, 255, 255, .1); vertical-align: top; }
.table thead th { color: var(--taupe-light); font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
.table tbody td:first-child { color: var(--white); font-weight: 700; white-space: nowrap; }
.table tbody tr { transition: background .25s; }
.table tbody tr:hover { background: rgba(255, 255, 255, .06); }
.table tbody tr:last-child td { border-bottom: 0; }
.spec-card { background: var(--white); color: var(--ink); border-radius: 22px; padding: 30px; box-shadow: var(--shadow-lg); position: sticky; top: 110px; }
.spec-card .icon { width: 52px; height: 52px; border-radius: 14px; background: var(--sand); color: var(--taupe-dark); margin-bottom: 18px; }
.spec-card .icon svg { width: 26px; height: 26px; }
.section--navy .spec-card h3 { color: var(--navy); }
.spec-card p { color: var(--muted); font-size: .97rem; }
.spec-card .checklist { margin-top: 10px; font-size: .95rem; }

/* Leistungsseiten: Varianten */
.variants { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.variant { position: relative; display: flex; flex-direction: column; background: var(--white); border-radius: 24px; padding: 34px 30px; border: 1px solid var(--sand-line); transition: transform .4s var(--ease), box-shadow .4s; }
.variant:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.variant--featured { background: var(--navy); color: rgba(255, 255, 255, .82); border-color: var(--navy); box-shadow: var(--shadow-lg); }
.variant--featured h3 { color: var(--white); }
.variant__label { align-self: flex-start; padding: 6px 14px; border-radius: 999px; background: var(--sand); color: var(--taupe-dark); font-size: .76rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 18px; }
.variant--featured .variant__label { background: rgba(230, 211, 189, .16); color: var(--taupe-light); }
.variant h3 { font-size: 1.35rem; }
.variant p { color: var(--muted); font-size: .97rem; }
.variant--featured p { color: rgba(255, 255, 255, .78); }
.variant ul { list-style: none; padding: 20px 0 0; margin: auto 0 0; border-top: 1px solid var(--sand-line); display: grid; gap: 10px; font-size: .94rem; font-weight: 600; }
.variant--featured ul { border-color: rgba(255, 255, 255, .14); }
.variant li { display: flex; gap: 10px; }
.variant li::before { content: ""; flex: none; width: 8px; height: 8px; margin-top: .55em; border-radius: 50%; background: var(--taupe); }

/* Leistungsseiten: Mengenrechner */
.calc { display: grid; grid-template-columns: 1.1fr .9fr; border-radius: 30px; overflow: hidden; box-shadow: var(--shadow-lg); background: var(--white); }
.calc__input { padding: clamp(32px, 5vw, 56px); }
.calc__input p { color: var(--muted); }
.calc__field { margin-top: 30px; }
.calc__field label { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-weight: 700; color: var(--navy); margin-bottom: 16px; }
.calc__field output { font-size: 2rem; font-weight: 800; color: var(--navy); font-variant-numeric: tabular-nums; white-space: nowrap; }
.calc__field output small { font-size: .9rem; color: var(--muted); font-weight: 600; margin-left: 6px; }
.range { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 8px; background: linear-gradient(90deg, var(--navy) var(--p, 30%), var(--sand-line) var(--p, 30%)); outline: none; cursor: pointer; margin: 0; }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; border-radius: 50%; background: var(--white); border: 6px solid var(--navy); box-shadow: 0 6px 16px -4px rgba(15, 35, 80, .5); transition: transform .2s; }
.range::-webkit-slider-thumb:hover { transform: scale(1.15); }
.range::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: var(--white); border: 6px solid var(--navy); }
.range:focus-visible { box-shadow: 0 0 0 4px rgba(165, 135, 106, .4); }
.calc__scale { display: flex; justify-content: space-between; font-size: .82rem; color: var(--muted); margin-top: 12px; }
.calc__result { background: radial-gradient(circle at 85% 0%, rgba(165, 135, 106, .4), transparent 55%), var(--navy-deep); color: rgba(255, 255, 255, .8); padding: clamp(32px, 5vw, 56px); display: flex; flex-direction: column; justify-content: center; }
.calc__result .eyebrow { color: var(--taupe-light); }
.calc__big { font-size: clamp(4rem, 9vw, 6.5rem); font-weight: 800; line-height: 1; color: var(--white); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.calc__big.bump { animation: bump .35s var(--ease); }
@keyframes bump { 40% { transform: scale(1.08); } }
.calc__unit { font-size: 1.2rem; font-weight: 700; color: var(--white); margin: 8px 0 14px; }
.calc__alt { font-size: .97rem; margin-bottom: 8px; }
.calc__note { font-size: .88rem; color: rgba(255, 255, 255, .6); margin-bottom: 26px; }
.calc__result .btn { align-self: flex-start; }

/* Leistungsseiten: Anlaesse */
.occasions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: occ; }
.occasion { position: relative; padding: 32px 28px; border-radius: 20px; background: var(--white); border: 1px solid var(--sand-line); overflow: hidden; transition: background .45s, transform .45s var(--ease), box-shadow .45s; }
.occasion::before { counter-increment: occ; content: counter(occ, decimal-leading-zero); position: absolute; right: 18px; top: 6px; font-size: 4.4rem; font-weight: 800; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--sand-line); transition: -webkit-text-stroke-color .45s; }
.occasion:hover { background: var(--navy); transform: translateY(-6px); box-shadow: var(--shadow); }
.occasion:hover::before { -webkit-text-stroke-color: rgba(255, 255, 255, .22); }
.occasion h3 { position: relative; font-size: 1.15rem; padding-right: 60px; transition: color .45s; }
.occasion p { position: relative; color: var(--muted); font-size: .96rem; margin: 0; transition: color .45s; }
.occasion:hover h3 { color: var(--white); }
.occasion:hover p { color: rgba(255, 255, 255, .8); }

/* Rechtstexte */
.legal { padding: clamp(40px, 6vw, 80px) 0 96px; }
.legal .wrap { max-width: 820px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.legal h2 { font-size: 1.35rem; margin-top: 2em; }
.legal h3 { font-size: 1.1rem; margin-top: 1.6em; }
.legal p, .legal li { color: #3c4355; }

/* Anfrage und Formular */
.request { padding: clamp(40px, 6vw, 80px) 0 clamp(64px, 9vw, 112px); background: var(--sand); }
.request h1 { font-size: clamp(2rem, 4vw, 2.9rem); }
.request__note { margin-top: 32px; padding: 18px 20px; border-radius: var(--radius-sm); background: var(--white); border: 1px solid var(--sand-line); font-size: .95rem; }
.request__note p { margin: 0; color: var(--muted); }
.contact { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.contact__info { position: sticky; top: 110px; }
.contact__list { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 18px; }
.contact__list li { display: flex; gap: 14px; align-items: center; }
.contact__list a, .contact__list span { color: var(--ink); text-decoration: none; font-weight: 600; }
.contact__list small { display: block; color: var(--muted); font-weight: 500; font-size: .85rem; }
.contact__icon { width: 46px; height: 46px; flex: none; border-radius: 12px; background: var(--white); display: grid; place-items: center; color: var(--taupe-dark); border: 1px solid var(--sand-line); }
.contact__icon svg { width: 22px; height: 22px; }
.form { background: var(--white); border-radius: 24px; padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); }
.form fieldset { border: 0; padding: 0; margin: 0 0 26px; }
.form legend { font-weight: 800; color: var(--navy); font-size: 1.05rem; margin-bottom: 14px; padding: 0; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form__grid--3 { grid-template-columns: repeat(3, 1fr); }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label, .field .label { font-size: .9rem; font-weight: 600; color: var(--ink); }
.field label .opt { color: var(--muted); font-weight: 500; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--ink); padding: 13px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fbfbfd; transition: border-color .15s, background .15s, box-shadow .15s; -webkit-appearance: none; appearance: none; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23a5876a' stroke-width='2.2'%3E%3Cpath d='M5 8l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); background: var(--white); box-shadow: 0 0 0 4px rgba(22, 48, 106, .08); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #c0392b; }
.field__error { color: #c0392b; font-size: .85rem; }
.qty { display: flex; flex-direction: column; gap: 6px; padding: 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fbfbfd; transition: border-color .2s, box-shadow .2s; }
.qty label { font-weight: 700; font-size: .95rem; color: var(--navy); line-height: 1.3; }
.qty small { color: var(--muted); font-size: .82rem; line-height: 1.35; }
.qty input { margin-top: 6px; background: var(--white); }
.qty.is-highlight { border-color: var(--navy); background: var(--white); box-shadow: 0 0 0 4px rgba(22, 48, 106, .1); }
.radios { display: flex; flex-wrap: wrap; gap: 10px; }
.radio { position: relative; }
.radio input { position: absolute; opacity: 0; }
.radio span { display: inline-block; padding: 11px 18px; border-radius: 999px; border: 1.5px solid var(--line); font-weight: 600; font-size: .95rem; cursor: pointer; background: #fbfbfd; transition: background .2s, color .2s, border-color .2s; }
.radio input:checked + span { border-color: var(--navy); background: var(--navy); color: var(--white); }
.radio input:focus-visible + span { outline: 2px solid var(--taupe); outline-offset: 2px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; color: var(--muted); margin: 6px 0 22px; }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--navy); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__status { margin-top: 18px; padding: 14px 16px; border-radius: var(--radius-sm); font-weight: 600; display: none; }
.form__status.is-ok { display: block; background: #eaf5ee; color: #1d6b3a; }
.form__status.is-error { display: block; background: #fbeceb; color: #a5281b; }
.form button[type="submit"] { width: 100%; }
.form button[disabled] { opacity: .65; cursor: wait; }

/* Footer */
.footer { background: var(--navy-deep); color: rgba(255, 255, 255, .72); padding: 72px 0 28px; font-size: .95rem; }
.footer a { color: rgba(255, 255, 255, .88); text-decoration: none; }
.footer a:hover { color: var(--white); text-decoration: underline; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.footer__logo { height: 54px; width: auto; margin-bottom: 18px; }
.footer h2 { color: var(--white); font-size: 1rem; letter-spacing: 0; margin-bottom: 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 24px; font-size: .88rem; }
.footer__bottom ul { display: flex; gap: 22px; }

/* Responsive */
@media (max-width: 1080px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .timeline--5 { grid-template-columns: repeat(3, 1fr); row-gap: 44px; }
  .timeline--5::before { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav { position: fixed; inset: 70px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--white); padding: 8px 24px 24px; border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px -20px rgba(15, 35, 80, .25); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s, visibility .25s; }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; color: var(--ink) !important; }
  .nav a::after { display: none; }
  .nav .btn { margin-top: 18px; border-bottom: 0; padding: 14px 24px; color: var(--white) !important; background: var(--navy) !important; }
  .header__inner, .header.is-scrolled .header__inner { height: 70px; }
  .header__logo img, .header.is-scrolled .header__logo img { height: 42px; }
  .tiles { grid-template-columns: 1fr; }
  .tile { aspect-ratio: 16 / 12; }
  .tile p { grid-template-rows: 1fr; margin-bottom: 6px; }
  .split, .area, .contact, .intro, .specs, .calc { grid-template-columns: minmax(0, 1fr); }
  .split--flip > :first-child { order: 0; }
  .variants, .occasions, .features--3 { grid-template-columns: 1fr 1fr; }
  .timeline { grid-template-columns: 1fr 1fr; row-gap: 44px; }
  .timeline::before { display: none; }
  .contact__info, .spec-card { position: static; }
  .faq-grid { grid-template-columns: minmax(0, 1fr); }
  .collage__badge { left: 10px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 32px); }
  .hero { padding: 120px 0 140px; }
  .hero__shade { background: linear-gradient(180deg, rgba(10, 24, 54, .62) 0%, rgba(10, 24, 54, .7) 45%, rgba(10, 24, 54, .82) 100%); }
  .hero__lead { color: var(--white); font-weight: 500; }
  .hero .eyebrow { color: var(--white); }
  .hero h1 span { color: #f1e4d4; }
  .hero__facts li { background: rgba(10, 24, 54, .55); border-color: rgba(255, 255, 255, .28); }
  .hero__actions { width: 100%; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__facts li { font-size: .85rem; padding: 8px 14px; }
  .features, .features--3, .variants, .occasions, .timeline, .timeline--5, .tiles--2 { grid-template-columns: 1fr; }
  .tiles--2 .tile { aspect-ratio: 16 / 12; }
  .form__grid, .form__grid--3 { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .map-frame { aspect-ratio: 1 / 1.08; }
  .map-legend { left: 10px; top: 10px; font-size: .78rem; padding: 10px 12px; }
  .frame::before { inset: 14px -10px -14px 10px; }
  .split--flip .frame::before { inset: 14px 10px -14px -10px; }
  .collage { padding: 0 8% 18% 0; }
  .marquee { padding: 20px 0; }
  .js .reveal--left, .js .reveal--right { transform: translateY(34px); }
  .note-box { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .slide img { transform: none; }
}
