/* SV-Hausservice – Stylesheet (modern) */
:root {
  --blue: #0a74c4;
  --blue-2: #1d8fe0;
  --blue-dark: #063f75;
  --navy: #071a30;
  --navy-2: #0b2a4d;
  --red: #e0362b;
  --red-2: #ff5a4e;
  --red-dark: #bb2419;
  --ink: #0d1726;
  --muted: #5d6b7c;
  --line: rgba(13, 23, 38, .08);
  --bg: #f5f7fb;
  --card: #ffffff;
  --r-sm: 14px;
  --r: 22px;
  --r-lg: 32px;
  --shadow: 0 1px 2px rgba(13,23,38,.04), 0 8px 24px rgba(13,23,38,.06);
  --shadow-lg: 0 2px 4px rgba(13,23,38,.04), 0 24px 60px rgba(13,23,38,.12);
  --max: 1240px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI Variable", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.2,.8,.2,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body {
  margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.65; color: var(--ink);
  background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); }
h1, h2, h3, h4 { line-height: 1.08; margin: 0 0 .55em; letter-spacing: -.035em; font-weight: 800; }
h1 { font-size: clamp(2.6rem, 6.4vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: 1.25rem; letter-spacing: -.02em; line-height: 1.25; }
p { margin: 0 0 1em; }
::selection { background: var(--blue); color: #fff; }

.container { width: min(var(--max), 100% - 40px); margin-inline: auto; }
.section { padding: 110px 0; position: relative; }
.section--white { background: #fff; }
.section--soft { background: #fff; }
.section--dark { background: var(--navy); color: #fff; overflow: hidden; }
.section--dark::before {
  content: ""; position: absolute; inset: -30% -10% auto auto; width: 700px; height: 700px; border-radius: 50%;
  background: radial-gradient(circle, rgba(29,143,224,.35), transparent 65%); pointer-events: none;
}
.section--dark::after {
  content: ""; position: absolute; inset: auto auto -40% -10%; width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(224,54,43,.22), transparent 65%); pointer-events: none;
}
.section--dark > .container { position: relative; z-index: 1; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue); background: rgba(10,116,196,.08); padding: 7px 14px; border-radius: 999px; margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--red); }
.section--dark .eyebrow { color: #9fd2ff; background: rgba(255,255,255,.08); }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 680px; line-height: 1.6; }
.section--dark .lead { color: rgba(255,255,255,.72); }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.grad { background: linear-gradient(100deg, var(--blue) 0%, var(--blue-2) 45%, var(--red) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.skip { position: absolute; left: -999px; top: 0; background: #fff; padding: 10px 16px; z-index: 999; }
.skip:focus { left: 10px; top: 10px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px; font-weight: 700; font-size: 1rem; text-decoration: none;
  border: 1.5px solid transparent; cursor: pointer; font-family: inherit; letter-spacing: -.01em;
  transition: transform .25s var(--ease), background .25s, box-shadow .25s, color .25s, border-color .25s;
}
.btn svg { width: 19px; height: 19px; flex: none; transition: transform .25s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover svg:last-child { transform: translateX(3px); }
.btn--red { background-color: var(--red); background-image: linear-gradient(135deg, var(--red-2), var(--red)); color: #fff; box-shadow: 0 10px 30px -8px rgba(224,54,43,.6); }
.btn--red:hover { box-shadow: 0 16px 36px -8px rgba(224,54,43,.7); }
.btn--blue { background: var(--ink); color: #fff; }
.btn--blue:hover { background: var(--blue); }
.btn--ghost { border-color: rgba(255,255,255,.28); color: #fff; background: rgba(255,255,255,.06); backdrop-filter: blur(6px); }
.btn--ghost:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.5); }
.btn--light { background: #fff; color: var(--ink); border-color: var(--line); box-shadow: var(--shadow); }
.btn--light:hover { border-color: rgba(13,23,38,.2); }
.btn--outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn--outline:hover { border-color: var(--ink); }

/* Header – schwebende Glas-Leiste */
.header { position: sticky; top: 0; z-index: 100; padding: 14px 0; transition: padding .3s var(--ease); }
.header__bar {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  height: 70px; padding: 0 10px 0 16px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.7); box-shadow: 0 8px 30px rgba(13,23,38,.08);
}
.header__bar::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1;
  background: rgba(255,255,255,.78); backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px);
}
.header.scrolled { padding: 8px 0; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); flex: none; }
.brand img { height: 46px; width: auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name { font-weight: 800; font-size: 1.08rem; letter-spacing: -.02em; }
.brand__claim { font-size: .76rem; color: var(--muted); }

.nav { display: flex; align-items: center; gap: 2px; }
.nav > a, .nav__drop > button {
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; letter-spacing: -.01em;
  padding: 10px 15px; border-radius: 999px; background: none; border: 0; cursor: pointer; font-family: inherit;
  display: inline-flex; align-items: center; gap: 6px; transition: background .2s, color .2s;
}
.nav > a:hover, .nav__drop > button:hover { background: rgba(13,23,38,.05); }
.nav a[aria-current="page"] { background: rgba(10,116,196,.1); color: var(--blue); }
.nav__drop { position: relative; }
.nav__drop > button svg { width: 14px; height: 14px; transition: transform .25s; }
.nav__menu {
  position: absolute; top: calc(100% + 14px); left: 50%; min-width: 280px;
  background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-lg);
  padding: 8px; opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: .22s var(--ease);
}
.nav__menu::before { content: ""; position: absolute; top: -16px; left: 0; right: 0; height: 16px; }
.nav__drop:hover .nav__menu, .nav__drop:focus-within .nav__menu, .nav__drop.open .nav__menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav__drop:hover > button svg, .nav__drop.open > button svg { transform: rotate(180deg); }
.nav__menu a { display: block; padding: 11px 16px; border-radius: 12px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; }
.nav__menu a:hover { background: var(--bg); color: var(--blue); }
.nav__menu a:last-child { border-top: 1px solid var(--line); margin-top: 6px; border-radius: 0 0 12px 12px; color: var(--muted); font-size: .88rem; }
.nav > a.nav__cta { margin-left: 8px; padding: 12px 20px; background: var(--ink); color: #fff; }
.nav > a.nav__cta:hover { background: var(--red); color: #fff; }
.nav__cta svg { width: 17px; height: 17px; }
.burger { display: none; background: var(--ink); border: 0; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; padding: 0; }
.burger span { display: block; width: 18px; height: 2px; background: #fff; margin: 4px auto; border-radius: 2px; transition: .3s var(--ease); }

/* Hero */
.hero { position: relative; margin-top: -98px; padding: 160px 0 90px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(700px 500px at 88% 20%, rgba(29,143,224,.22), transparent 60%),
    radial-gradient(600px 420px at 70% 95%, rgba(224,54,43,.14), transparent 60%),
    radial-gradient(800px 600px at 0% 0%, rgba(10,116,196,.08), transparent 60%),
    var(--bg);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: linear-gradient(rgba(13,23,38,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(13,23,38,.045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 70%); mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 70%);
}
.hero .container { display: grid; grid-template-columns: 1.08fr .92fr; gap: 60px; align-items: center; }
.hero h1 { margin-bottom: 24px; }
.hero__text > p { font-size: 1.22rem; color: var(--muted); max-width: 560px; }
.pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 16px 6px 6px; margin-bottom: 26px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow);
  font-size: .88rem; font-weight: 600; color: var(--ink); text-decoration: none;
}
.pill b { background: linear-gradient(135deg, var(--red-2), var(--red)); color: #fff; padding: 4px 11px; border-radius: 999px; font-size: .78rem; display: inline-flex; align-items: center; gap: 6px; }
.pill b::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: pulse 1.6s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero__trust { display: flex; gap: 28px; margin-top: 44px; flex-wrap: wrap; }
.hero__trust div { display: flex; flex-direction: column; }
.hero__trust strong { font-size: 1.9rem; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.hero__trust span { font-size: .85rem; color: var(--muted); margin-top: 6px; }
.hero__trust i { width: 1px; background: var(--line); }

.hero__visual { position: relative; aspect-ratio: 1 / 1.05; }
.hero__img {
  position: absolute; inset: 4% 6% 0 8%; border-radius: var(--r-lg); overflow: hidden;
  background: linear-gradient(160deg, #fff 0%, #eaf3fb 100%); box-shadow: var(--shadow-lg);
}
.hero__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hero__hex {
  position: absolute; right: -2%; top: -4%; width: 34%; aspect-ratio: 1 / 1.12; z-index: 0;
  background: linear-gradient(160deg, var(--blue-2), var(--blue-dark));
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}
.hero__hex--red { right: auto; left: -4%; top: auto; bottom: 8%; width: 22%; background: linear-gradient(160deg, var(--red-2), var(--red-dark)); }
.float {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.9); border-radius: 18px; padding: 14px 18px; box-shadow: var(--shadow-lg);
  animation: bob 6s ease-in-out infinite;
}
.float small { display: block; font-size: .78rem; color: var(--muted); line-height: 1.2; }
.float strong { font-size: 1rem; letter-spacing: -.02em; line-height: 1.25; }
.float__icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--blue-2), var(--blue-dark)); flex: none; }
.float__icon--red { background: linear-gradient(135deg, var(--red-2), var(--red-dark)); }
.float__icon svg { width: 21px; height: 21px; }
.float--1 { left: -4%; top: 16%; }
.float--2 { right: -3%; top: 52%; animation-delay: -2s; }
.float--3 { left: 10%; bottom: -3%; animation-delay: -4s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* Laufband */
.marquee { background: var(--ink); color: #fff; padding: 22px 0; overflow: hidden; position: relative; }
.marquee__track { display: flex; gap: 56px; width: max-content; animation: marquee 40s linear infinite; }
.marquee span { display: inline-flex; align-items: center; gap: 14px; font-size: 1.15rem; font-weight: 700; letter-spacing: -.02em; white-space: nowrap; }
.marquee span::after { content: ""; width: 10px; height: 11px; background: var(--red); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); margin-left: 42px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Section head */
.section-head { margin-bottom: 60px; display: flex; justify-content: space-between; align-items: end; gap: 40px; flex-wrap: wrap; }
.section-head > div { max-width: 720px; }
.section-head h2 { margin-bottom: 14px; }
.section-head .lead { margin: 0; }
.section-head.center { flex-direction: column; align-items: center; text-align: center; }

/* Bento-Leistungen */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(250px, auto); gap: 18px; }
.tile {
  position: relative; overflow: hidden; border-radius: var(--r); padding: 28px; text-decoration: none; color: var(--ink);
  background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; justify-content: flex-end;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
  isolation: isolate;
}
.tile:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.tile h3 { font-size: 1.35rem; margin-bottom: 8px; }
.tile p { color: var(--muted); font-size: .96rem; margin: 0; }
.tile__icon { position: absolute; top: 24px; left: 24px; width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--blue-2), var(--blue-dark)); }
.tile__icon svg { width: 25px; height: 25px; }
.tile__arrow {
  position: absolute; top: 24px; right: 24px; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(13,23,38,.05); color: var(--ink); transition: .35s var(--ease);
}
.tile__arrow svg { width: 18px; height: 18px; transform: rotate(-45deg); transition: transform .35s var(--ease); }
.tile:hover .tile__arrow { background: var(--red); color: #fff; }
.tile:hover .tile__arrow svg { transform: rotate(0); }
.tile--photo { color: #fff; border: 0; min-height: 300px; }
.tile--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease); }
.tile--photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7,26,48,0) 25%, rgba(7,26,48,.88) 100%); }
.tile--photo:hover img { transform: scale(1.06); }
.tile--photo p { color: rgba(255,255,255,.82); }
.tile--photo .tile__arrow { background: rgba(255,255,255,.18); color: #fff; backdrop-filter: blur(8px); }
.tile--photo .tile__icon { background: rgba(255,255,255,.18); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.3); }
.tile--lg { grid-column: span 2; grid-row: span 2; }
.tile--lg h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.tile--lg p { font-size: 1.05rem; max-width: 440px; }
.tile--wide { grid-column: span 2; }
.tile--red { background: linear-gradient(150deg, var(--red-2), var(--red-dark)); color: #fff; border: 0; }
.tile--red p { color: rgba(255,255,255,.85); }
.tile--red .tile__icon, .tile--dark .tile__icon { background: rgba(255,255,255,.16); }
.tile--red .tile__arrow, .tile--dark .tile__arrow { background: rgba(255,255,255,.16); color: #fff; }
.tile--red:hover .tile__arrow { background: #fff; color: var(--red); }
.tile--dark { background: var(--ink); color: #fff; border: 0; }
.tile--dark p { color: rgba(255,255,255,.7); }
.tile .badge { position: absolute; top: 30px; left: 86px; font-size: .75rem; font-weight: 700; background: #fff; color: var(--red); padding: 4px 10px; border-radius: 999px; }

/* Über uns */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about__media { position: relative; }
.about__media img { border-radius: var(--r-lg); width: 100%; aspect-ratio: 4/4.2; object-fit: cover; object-position: 50% 25%; background: #eaf3fb; }
.about__badge {
  position: absolute; right: -24px; bottom: 36px; background: var(--ink); color: #fff; border-radius: var(--r); padding: 22px 26px; box-shadow: var(--shadow-lg);
}
.about__badge strong { display: block; font-size: 2.6rem; letter-spacing: -.05em; line-height: 1; }
.about__badge span { font-size: .9rem; color: rgba(255,255,255,.7); }
.tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.tag { background: #fff; border: 1px solid var(--line); padding: 9px 16px; border-radius: 999px; font-size: .9rem; font-weight: 600; }
.section--white .tag { background: var(--bg); }
.mini-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 32px; }
.mini-stats div { background: var(--bg); border-radius: var(--r-sm); padding: 18px; }
.mini-stats strong { display: block; font-size: 1.6rem; letter-spacing: -.04em; line-height: 1.1; }
.mini-stats span { font-size: .85rem; color: var(--muted); }

/* Ablauf */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 34px 30px; position: relative; }
.step::before { counter-increment: s; content: "0" counter(s); display: block; font-size: 3.4rem; font-weight: 800; letter-spacing: -.05em; line-height: 1; margin-bottom: 26px; }
.step:nth-child(1)::before { color: var(--blue); }
.step:nth-child(2)::before { color: var(--blue-2); }
.step:nth-child(3)::before { color: var(--red); }
.step p { color: var(--muted); margin: 0; }

/* Vorteile */
.benefits { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.benefit {
  grid-column: span 2; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: var(--r);
  padding: 32px; transition: background .3s, border-color .3s; backdrop-filter: blur(6px);
}
.benefit:nth-child(1), .benefit:nth-child(2) { grid-column: span 3; }
.benefit:hover { background: rgba(255,255,255,.09); border-color: rgba(255,255,255,.2); }
.benefit__num {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 26px;
  font-weight: 800; background: linear-gradient(135deg, var(--red-2), var(--red)); color: #fff;
}
.benefit p { color: rgba(255,255,255,.7); margin: 0; }

/* Notfall */
.emergency {
  position: relative; overflow: hidden; isolation: isolate; border-radius: var(--r-lg); padding: 56px 60px; color: #fff;
  background: linear-gradient(135deg, var(--red-2) 0%, var(--red) 50%, var(--red-dark) 100%);
  display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
}
.emergency::before { content: "24/7"; position: absolute; right: 4%; top: 50%; transform: translateY(-50%); font-size: clamp(6rem, 16vw, 13rem); font-weight: 900; letter-spacing: -.06em; opacity: .1; z-index: -1; line-height: 1; }
.emergency h2 { margin-bottom: 10px; font-size: clamp(1.7rem, 3vw, 2.5rem); }
.emergency p { margin: 0; color: rgba(255,255,255,.88); max-width: 600px; }
.emergency .btn { background: #fff; color: var(--red); font-size: 1.1rem; padding: 18px 30px; }
.emergency .btn:hover { background: var(--ink); color: #fff; }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 0 26px; transition: box-shadow .3s; }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 0; font-weight: 700; font-size: 1.08rem; letter-spacing: -.01em; display: flex; justify-content: space-between; gap: 20px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; width: 32px; height: 32px; flex: none; border-radius: 50%; background: var(--bg); display: grid; place-items: center; font-size: 1.3rem; font-weight: 500; transition: transform .3s var(--ease), background .3s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--red); color: #fff; }
.faq details p { color: var(--muted); padding-bottom: 22px; margin: 0; }

/* CTA */
.cta-wrap { padding: 0 0 110px; }
.cta {
  position: relative; overflow: hidden; isolation: isolate; text-align: center; color: #fff;
  border-radius: var(--r-lg); padding: 90px 40px; background: var(--navy);
}
.cta::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(600px 360px at 15% 0%, rgba(29,143,224,.5), transparent 60%), radial-gradient(500px 360px at 90% 100%, rgba(224,54,43,.45), transparent 60%);
}
.cta h2 { max-width: 760px; margin-inline: auto; }
.cta .lead { margin-inline: auto; color: rgba(255,255,255,.75); }
.cta .hero__actions { justify-content: center; }
.cta .eyebrow { color: #9fd2ff; background: rgba(255,255,255,.08); }

/* Unterseiten-Hero */
.page-hero { position: relative; margin-top: -98px; padding: 150px 0 70px; overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(600px 400px at 90% 10%, rgba(29,143,224,.18), transparent 60%), radial-gradient(500px 300px at 0% 100%, rgba(224,54,43,.08), transparent 60%), var(--bg);
}
.page-hero .container { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; }
.page-hero--text .container { grid-template-columns: 1fr; }
.page-hero h1 { font-size: clamp(2.4rem, 5.4vw, 4.2rem); }
.page-hero p { color: var(--muted); font-size: 1.2rem; max-width: 620px; }
.page-hero__img { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4/3; box-shadow: var(--shadow-lg); position: relative; }
.page-hero__img img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__art { aspect-ratio: 4/3; border-radius: var(--r-lg); background: linear-gradient(150deg, var(--navy-2), var(--navy)); display: grid; place-items: center; position: relative; overflow: hidden; }
.page-hero__art svg { width: 38%; height: 38%; color: #fff; opacity: .95; position: relative; z-index: 1; }
.page-hero__art::before { content: ""; position: absolute; width: 70%; aspect-ratio: 1/1.12; background: linear-gradient(160deg, var(--red-2), var(--red-dark)); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.breadcrumb { display: flex; gap: 8px; flex-wrap: wrap; font-size: .85rem; margin-bottom: 22px; color: var(--muted); align-items: center; }
.breadcrumb a { color: var(--ink); text-decoration: none; background: #fff; border: 1px solid var(--line); padding: 5px 12px; border-radius: 999px; font-weight: 600; }
.breadcrumb a:hover { border-color: var(--ink); }
.hero__actions--sm { margin-top: 28px; }

/* Karten allgemein */
.grid { display: grid; gap: 18px; }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 28px; display: flex; flex-direction: column; }
.card p { color: var(--muted); font-size: .97rem; margin: 0; }
.card h3 { margin-bottom: 8px; }
.card__icon { width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 20px; background: linear-gradient(135deg, var(--blue-2), var(--blue-dark)); color: #fff; flex: none; }
.card__icon svg { width: 25px; height: 25px; }
.card__icon--red { background: linear-gradient(135deg, var(--red-2), var(--red-dark)); }

/* Leistungslisten */
.page-layout { display: grid; grid-template-columns: 1fr 360px; gap: 56px; align-items: start; }
.tasks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.tasks li { position: relative; padding: 16px 20px 16px 56px; background: #fff; border: 1px solid var(--line); border-radius: 16px; font-size: .98rem; transition: border-color .2s, transform .3s var(--ease); }
.tasks li:hover { border-color: rgba(10,116,196,.35); transform: translateX(3px); }
.tasks li::before {
  content: ""; position: absolute; left: 18px; top: 17px; width: 24px; height: 24px; border-radius: 50%;
  background: rgba(10,116,196,.1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a74c4' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/13px no-repeat;
}
.tasks--2 { grid-template-columns: repeat(2, 1fr); }
.task-group { margin-bottom: 64px; scroll-margin-top: 120px; }
.task-group:last-child { margin-bottom: 0; }
.task-group__head { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.task-group__head .card__icon { margin: 0; }
.task-group__head h2 { margin: 0; font-size: clamp(1.5rem, 2.4vw, 2rem); }
.note { background: #fff8ec; border: 1px solid #f4dcaa; border-radius: 16px; padding: 20px 22px; font-size: .96rem; margin-top: 18px; }
.info-box { background: #fff; border-radius: var(--r); padding: 30px; border: 1px solid var(--line); }
.sidebar { position: sticky; top: 120px; display: grid; gap: 18px; }
.side-nav a { display: flex; justify-content: space-between; padding: 13px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 600; transition: color .2s, padding .3s var(--ease); }
.side-nav a:last-child { border-bottom: 0; }
.side-nav a:hover { color: var(--red); padding-left: 6px; }
.side-nav a[aria-current="page"] { color: var(--red); }
.cta-card { background: var(--navy); color: #fff; border: 0; position: relative; overflow: hidden; isolation: isolate; gap: 10px; }
.cta-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(300px 200px at 100% 0%, rgba(29,143,224,.45), transparent 70%), radial-gradient(260px 200px at 0% 100%, rgba(224,54,43,.35), transparent 70%); }
.cta-card p { color: rgba(255,255,255,.75); margin-bottom: 8px; }
.photo-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 44px 0; }
.photo-row img { border-radius: var(--r); aspect-ratio: 3/2; object-fit: cover; width: 100%; }
.photo { border-radius: var(--r); width: 100%; aspect-ratio: 16/9; object-fit: cover; margin-bottom: 44px; }

/* Kontakt */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; }
.contact-list li { display: flex; gap: 16px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 14px 18px; }
.contact-list .card__icon { width: 46px; height: 46px; margin: 0; border-radius: 13px; }
.contact-list .card__icon svg { width: 21px; height: 21px; }
.contact-list small { display: block; color: var(--muted); font-size: .8rem; }
.contact-list a, .contact-list strong { color: var(--ink); text-decoration: none; font-weight: 700; font-size: 1.04rem; }
.contact-list a:hover { color: var(--blue); }
.form { background: #fff; border-radius: var(--r-lg); padding: 40px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-weight: 600; font-size: .88rem; margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border: 1.5px solid transparent; border-radius: 14px;
  font: inherit; font-size: 1rem; color: var(--ink); background: var(--bg); transition: border-color .2s, box-shadow .2s, background .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: #fff; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(10,116,196,.12); }
.field textarea { min-height: 140px; resize: vertical; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--muted); margin: 6px 0 22px; }
.check input { margin-top: 4px; width: 18px; height: 18px; flex: none; accent-color: var(--blue); }
.form__hint { font-size: .82rem; color: var(--muted); margin: 14px 0 0; }

/* Rechtstexte */
.legal { max-width: 860px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 56px; }
.legal h2 { font-size: 1.4rem; letter-spacing: -.02em; margin-top: 2em; padding-top: 1.4em; border-top: 1px solid var(--line); }
.legal h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.legal h3 { font-size: 1.1rem; margin-top: 1.6em; }
.legal h4 { font-size: 1rem; margin-top: 1.4em; }
.legal p { color: #3a4757; }

/* Footer */
.footer { background: var(--navy); color: rgba(255,255,255,.65); padding: 90px 0 0; font-size: .95rem; position: relative; overflow: hidden; }
.footer__big { font-size: clamp(3rem, 11vw, 10rem); font-weight: 900; letter-spacing: -.06em; line-height: .8; color: rgba(255,255,255,.05); white-space: nowrap; margin-top: 30px; user-select: none; text-align: center; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 44px; }
.footer h4 { color: #fff; font-size: .95rem; margin-bottom: 18px; letter-spacing: -.01em; }
.footer a { color: rgba(255,255,255,.65); text-decoration: none; transition: color .2s; }
.footer a:hover { color: #fff; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer__logo { background: #fff; border-radius: 18px; padding: 10px; display: inline-block; margin-bottom: 20px; }
.footer__logo img { height: 60px; width: auto; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 24px 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .85rem; }
.footer__bottom nav { display: flex; gap: 22px; }

.fab { display: none; }

/* Einblenden */
/* Inhalte sind immer sichtbar; nur wenn JS die Klasse .anim setzt (Desktop, keine reduzierte Bewegung), wird eingeblendet */
.reveal { opacity: 1; transform: none; }
.anim .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.anim .reveal.visible { opacity: 1; transform: none; }
.bento .reveal:nth-child(2), .steps .reveal:nth-child(2), .benefits .reveal:nth-child(2) { transition-delay: .08s; }
.bento .reveal:nth-child(3), .steps .reveal:nth-child(3), .benefits .reveal:nth-child(3) { transition-delay: .16s; }
.bento .reveal:nth-child(4), .benefits .reveal:nth-child(4) { transition-delay: .24s; }
.bento .reveal:nth-child(5), .benefits .reveal:nth-child(5) { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .float, .marquee__track, .pill b::before { animation: none; }
}

/* Responsive */
@media (max-width: 1100px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tile--lg { grid-column: span 2; grid-row: span 1; min-height: 380px; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .page-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .brand__text { display: none; }
}
@media (max-width: 960px) {
  .burger { display: block; }
  .nav {
    position: fixed; top: 96px; left: 20px; right: 20px; background: #fff; flex-direction: column; align-items: stretch;
    padding: 14px; gap: 2px; border-radius: 24px; box-shadow: var(--shadow-lg); border: 1px solid var(--line);
    max-height: calc(100vh - 120px); overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-10px) scale(.98); transition: .3s var(--ease);
  }
  .nav.open { opacity: 1; visibility: visible; transform: none; }
  .nav > a, .nav__drop > button { padding: 14px 16px; font-size: 1.05rem; width: 100%; justify-content: space-between; border-radius: 14px; }
  .nav__menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 10px; display: none; min-width: 0; }
  .nav__menu::before { display: none; }
  .nav__drop.open .nav__menu { display: block; }
  .nav > a.nav__cta { margin: 10px 0 0; justify-content: center; padding: 16px; }
  .burger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .burger.open span:nth-child(2) { opacity: 0; }
  .burger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .hero .container, .split, .contact-grid, .page-hero .container { grid-template-columns: 1fr; }
  .hero { padding-top: 140px; }
  .hero__visual { max-width: 560px; width: 100%; margin: 20px auto 0; }
  .split { gap: 50px; }
  .about__badge { right: 16px; }
  .steps { grid-template-columns: 1fr; }
  .benefits { grid-template-columns: 1fr 1fr; }
  .benefit, .benefit:nth-child(1), .benefit:nth-child(2) { grid-column: span 1; }
  .benefit:nth-child(5) { grid-column: span 2; }
  .grid--3 { grid-template-columns: 1fr 1fr; }
  .page-hero__img, .page-hero__art { max-width: 620px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .section { padding: 76px 0; }
  .cta-wrap { padding-bottom: 76px; }
  .header { padding: 10px 0; }
  .header__bar { height: 62px; padding: 0 7px 0 12px; }
  .brand img { height: 40px; }
  .nav { top: 82px; left: 12px; right: 12px; }
  .hero, .page-hero { margin-top: -82px; }
  .hero { padding: 120px 0 70px; }
  .page-hero { padding: 120px 0 50px; }
  .hero__trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .hero__trust i { display: none; }
  .hero__trust strong { font-size: 1.5rem; }
  .hero__trust span { font-size: .78rem; }
  .float { padding: 10px 13px; border-radius: 14px; }
  .float__icon { width: 34px; height: 34px; border-radius: 10px; }
  .float strong { font-size: .88rem; }
  .float--1 { left: -2%; }
  .float--2 { right: -2%; }
  .bento, .grid--4, .grid--3, .grid--2, .tasks--2, .photo-row, .form__row, .footer__grid, .benefits, .mini-stats { grid-template-columns: 1fr; }
  .tile--lg, .tile--wide, .benefit:nth-child(5) { grid-column: span 1; }
  .tile--lg { min-height: 340px; }
  .tile { min-height: 220px; }
  .emergency { padding: 40px 28px; }
  .cta { padding: 64px 24px; border-radius: var(--r); }
  .form { padding: 26px; }
  .legal { padding: 30px 22px; }
  .about__badge { right: 12px; bottom: 12px; padding: 16px 20px; }
  .about__badge strong { font-size: 2rem; }
  .fab {
    display: grid; place-items: center; position: fixed; right: 16px; bottom: calc(86px + env(safe-area-inset-bottom, 0px)); z-index: 90;
    width: 60px; height: 60px; border-radius: 50%; background: linear-gradient(135deg, var(--red-2), var(--red)); color: #fff;
    box-shadow: 0 12px 30px -6px rgba(224,54,43,.6);
  }
  .fab svg { width: 25px; height: 25px; }
}

/* Mobile-Menü: Unterpunkte normal untereinander anzeigen (Desktop-Verschiebung aufheben) */
@media (max-width: 960px) {
  .nav__drop .nav__menu,
  .nav__drop:hover .nav__menu,
  .nav__drop:focus-within .nav__menu,
  .nav__drop.open .nav__menu { position: static; left: auto; top: auto; transform: none; opacity: 1; visibility: visible; transition: none; background: transparent; }
  .nav__drop.open .nav__menu { display: block; }
  .nav__menu a { color: var(--ink); padding: 12px 16px; font-size: 1rem; }
  .nav__menu a:last-child { border-radius: 12px; }
}

/* Touch-Geräte und schmale Bildschirme: keine Glas-Effekte und Dauer-Animationen (iOS-Darstellungsfehler) */
@media (hover: none), (pointer: coarse), (max-width: 960px) {
  .float, .tile--photo .tile__arrow, .tile--photo .tile__icon, .btn--ghost, .benefit {
    -webkit-backdrop-filter: none !important; backdrop-filter: none !important;
  }
  .float { background: #fff; animation: none; }
  .tile--photo .tile__arrow { background: rgba(7,26,48,.45); }
  .tile--photo .tile__icon { background: rgba(7,26,48,.45); }
  .btn--ghost { background: rgba(255,255,255,.12); }
  .pill b::before { animation: none; }
  .tile, .tile:hover, .tile--photo:hover img, .btn:hover, .tasks li:hover { transform: none; }
  .btn, .tile { -webkit-tap-highlight-color: rgba(0,0,0,.08); }
}
/* Mobil: Fotokarten durchgehend abdunkeln, damit weiße Schrift auch auf hellen Fotos lesbar ist */
@media (max-width: 960px) {
  .tile--photo::after { background: linear-gradient(180deg, rgba(7,26,48,.45) 0%, rgba(7,26,48,.6) 40%, rgba(7,26,48,.92) 100%); }
  .tile--photo h3, .tile--photo p { text-shadow: 0 1px 12px rgba(0,0,0,.35); }
  .tile { padding-top: 96px; }
}
