/* ==========================================================================
   Zeka Hausmeisterservice
   ========================================================================== */

/* ---------- Schriften (lokal gehostet) ---------- */
@font-face { font-family: "Outfit"; src: url("../fonts/outfit.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Rubik"; src: url("../fonts/rubik.woff2") format("woff2"); font-weight: 300 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --red: #c42a2f;
  --red-dark: #941c20;
  --red-deep: #930004;
  --red-bright: #ff262d;
  --ink: #3a4268;
  --ink-soft: #4d5864;
  --navy: #16285c;
  --soft: #f4f5f8;
  --line: #e4e6ee;
  --font-body: "Rubik", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-head: "Outfit", "Rubik", system-ui, sans-serif;
  --font-display: "Poppins", "Outfit", system-ui, sans-serif;
  --radius: 20px;
  --shadow: 0 0 30px rgba(0, 124, 251, .15);
  --ease: cubic-bezier(.22, .8, .28, 1);
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; font: 400 16px/26px var(--font-body); color: var(--ink); background: #fff; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--red-bright); text-decoration: none; transition: color .25s; }
a:hover { color: var(--red); }
h1, h2, h3, h4 { margin: 0; }
p { margin: 0 0 15px; }
ul { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--red-bright); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--red); color: #fff; }

.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 15px; }
.container--wide { max-width: 1340px; }
.icon { width: 1em; height: 1em; flex: none; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 2000; padding: 10px 18px; border-radius: 30px; background: #fff; color: var(--red-dark); font-weight: 500; transform: translateY(-200%); }
.skip-link:focus { transform: none; }

/* ---------- Buttons ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 0 36px; border: 0; border-radius: 60px; background: var(--red); color: #fff; font: 600 18px/60px var(--font-head); text-transform: uppercase; overflow: hidden; isolation: isolate; transition: transform .35s var(--ease), box-shadow .35s; }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--red-dark); transform: translateY(101%); border-radius: 50% 50% 0 0 / 30% 30% 0 0; transition: transform .45s var(--ease), border-radius .45s; }
.btn:hover { color: #fff; transform: translateY(-3px); box-shadow: 0 14px 30px rgba(196, 42, 47, .35); }
.btn:hover::before { transform: none; border-radius: 0; }
.btn:active { transform: translateY(0); }
.btn .icon { font-size: 18px; }
.btn[disabled] { opacity: .7; cursor: progress; }

/* ---------- Intro (Ladeanimation, ~2,5 s) ---------- */
.intro { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; background: #fff; box-shadow: 0 70px 0 0 var(--red), 0 140px 0 0 var(--red-dark); animation: intro-out .65s cubic-bezier(.76, 0, .24, 1) 2s forwards; }
.intro__inner { display: grid; justify-items: center; gap: 30px; animation: intro-inner-out .4s ease 1.8s forwards; }
.intro__mark { position: relative; display: grid; place-items: center; width: clamp(190px, 34vw, 250px); aspect-ratio: 1; }
.intro__mark::before, .intro__mark::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid transparent; }
.intro__mark::before { border-top-color: var(--red); border-right-color: var(--red); animation: intro-spin 1.1s linear infinite; }
.intro__mark::after { inset: 12px; border-bottom-color: var(--red-dark); border-left-color: rgba(148, 28, 32, .25); animation: intro-spin 1.6s linear infinite reverse; }
.intro__logo { width: 62%; animation: intro-logo .9s var(--ease) both, intro-pulse 1.4s ease-in-out .9s infinite alternate; }
.intro__bar { width: 180px; height: 4px; border-radius: 4px; background: #eceef3; overflow: hidden; }
.intro__bar span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--red-dark), var(--red) 55%, var(--red-bright)); transform-origin: left; animation: intro-bar 1.65s cubic-bezier(.65, 0, .35, 1) .1s both; }
.no-intro .intro { display: none; }
@keyframes intro-logo { 0% { opacity: 0; transform: scale(.55) translateY(16px); } 60% { opacity: 1; transform: scale(1.06); } 100% { opacity: 1; transform: none; } }
@keyframes intro-pulse { to { transform: scale(1.05); } }
@keyframes intro-spin { to { transform: rotate(360deg); } }
@keyframes intro-bar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes intro-inner-out { to { opacity: 0; transform: translateY(-24px) scale(.96); } }
@keyframes intro-out { 0% { transform: none; border-radius: 0; } 40% { border-radius: 0 0 50% 50% / 0 0 14% 14%; } 100% { transform: translateY(calc(-100% - 150px)); border-radius: 0 0 50% 50% / 0 0 14% 14%; visibility: hidden; } }

/* ---------- Header ---------- */
.site-header { position: absolute; top: 30px; left: 0; right: 0; z-index: 60; padding-inline: 15px; }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; max-width: 960px; margin: 0 auto -6px; padding: 10px 35px 16px; border-radius: 30px; background: var(--red); font: 400 14px/26px var(--font-head); }
.topbar a { display: inline-flex; align-items: center; gap: 9px; color: #fff; }
.topbar a:hover { opacity: .8; }
.topbar .icon { font-size: 15px; }
.navbar { position: relative; z-index: 1; display: flex; align-items: center; max-width: 1170px; min-height: 97px; margin-inline: auto; padding: 0 35px; border: 1px solid var(--red); border-top: 0; border-radius: 48px; background: var(--red-dark); }
.navbar__logo { flex: none; }
.navbar__logo img { width: auto; height: 52px; transition: transform .4s var(--ease); }
.navbar__logo:hover img { transform: scale(1.04); }
.nav { flex: 1; display: flex; justify-content: center; gap: 36px; }
.nav__link { position: relative; color: #fff; font: 400 18px/96px var(--font-head); white-space: nowrap; }
.nav__link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 30px; height: 2px; border-radius: 2px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.nav__link:hover { color: #fff; }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav__meta { display: none; }
.nav-toggle { display: none; }

.site-header.is-stuck { position: fixed; top: 0; padding-top: 10px; animation: header-in .5s var(--ease); }
.site-header.is-stuck .topbar { display: none; }
.site-header.is-stuck .navbar { min-height: 74px; border-top: 1px solid var(--red); box-shadow: 0 14px 40px rgba(20, 8, 9, .28); }
.site-header.is-stuck .navbar__logo img { height: 42px; }
.site-header.is-stuck .nav__link { line-height: 72px; }
.site-header.is-stuck .nav__link::after { bottom: 20px; }
@keyframes header-in { from { transform: translateY(-110%); } }

/* ---------- Hero (Startseite) ---------- */
.hero { position: relative; isolation: isolate; min-height: 1395px; padding-top: 215px; background: #0e0e0e; color: #fff; overflow: hidden; }
.hero__bg { position: absolute; inset: -6% 0 0; z-index: -2; background: url("../img/hero-bg.jpg") center / cover no-repeat; will-change: transform; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: #000; opacity: .79; }
.hero__content { position: relative; z-index: 3; max-width: 610px; padding-top: 102px; }
.eyebrow-caps { margin: 0; color: var(--red); font: 500 18px/29px var(--font-head); letter-spacing: 3px; text-transform: uppercase; }
.hero__title { margin-bottom: 23px; font: 700 65px/78px var(--font-display); }
.hero__phone { display: flex; align-items: center; gap: 14px; width: fit-content; margin-top: 30px; color: #fff; }
.hero__phone:hover { color: #fff; }
.hero__phone-icon { display: grid; place-items: center; width: 60px; height: 60px; border: 1.5px solid var(--red); border-radius: 50%; color: var(--red); font-size: 24px; transition: background .35s, color .35s, transform .5s var(--ease); }
.hero__phone:hover .hero__phone-icon { background: var(--red); color: #fff; transform: rotate(-12deg) scale(1.06); }
.hero__phone-label { display: block; color: var(--red); font: 300 16px/22px var(--font-head); }
.hero__phone-number { display: block; font: 700 22px/30px var(--font-head); }
.hero__visual { position: absolute; top: 215px; left: calc(50% - 20px); z-index: 1; width: 1005px; max-width: none; pointer-events: none; }
.hero__visual img { width: 100%; animation: float 7s ease-in-out infinite alternate; }
.hero__wave { position: absolute; left: 50%; bottom: -1px; z-index: 2; width: max(1918px, 100.5vw); max-width: none; transform: translateX(-50%); pointer-events: none; }
@keyframes float { from { transform: translateY(0) rotate(0); } to { transform: translateY(-16px) rotate(-1.2deg); } }

/* ---------- Leistungs-Icons ---------- */
.features { position: relative; z-index: 5; margin-top: -240px; }
.features__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.feature { display: block; padding: 0 12px; text-align: center; color: var(--red-deep); }
.feature:nth-child(2) { margin-top: 50px; }
.feature:nth-child(3) { margin-top: 100px; }
.feature:nth-child(4) { margin-top: 150px; }
.feature__icon { display: grid; place-items: center; width: 116px; height: 116px; margin: 0 auto 32px; border-radius: 50%; background: var(--soft); box-shadow: 0 9px 0 0 var(--red); color: var(--red-dark); font-size: 38px; transition: transform .5s var(--ease), box-shadow .4s, background .4s, color .4s; }
.feature__icon .icon { transition: transform .6s var(--ease); }
.feature__title { position: relative; padding-bottom: 17px; font: 700 22px/26px var(--font-head); color: var(--red-deep); }
.feature__title::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 28px; height: 3px; margin-left: -14px; border-radius: 3px; background: var(--red); transition: width .4s var(--ease), margin .4s var(--ease); }
.feature:hover { color: var(--red-deep); }
.feature:hover .feature__icon { transform: translateY(-10px); background: var(--red-dark); color: #fff; box-shadow: 0 9px 0 0 var(--red), 0 26px 30px rgba(148, 28, 32, .25); }
.feature:hover .feature__icon .icon { transform: rotate(-14deg) scale(1.12); }
.feature:hover .feature__title::after { width: 64px; margin-left: -32px; }

/* ---------- Über uns (Startseite) ---------- */
.about { position: relative; z-index: 4; display: grid; grid-template-columns: 50% 50%; align-items: center; margin-top: 100px; }
.about__media img { width: calc(100% + 42px); max-width: 800px; margin-left: -42px; }
.about__content { max-width: 643px; padding: 0 15px; }
.about__content .eyebrow-caps { margin-bottom: 14px; letter-spacing: 1.8px; }
.title-xl { margin-bottom: 26px; color: var(--red-dark); font: 700 53px/63px var(--font-head); }
.about__lead { color: var(--ink-soft); font-size: 20px; line-height: 30px; }
.checklist li { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; font-size: 18px; line-height: 29px; font-family: var(--font-head); color: var(--ink-soft); }
.checklist .icon { color: var(--red-dark); font-size: 26px; transition: transform .4s var(--ease); }
.checklist li:hover .icon { transform: scale(1.2) rotate(8deg); }

/* ---------- Leistungen ---------- */
.services { position: relative; margin-top: -90px; padding: 123px 0 30px; background: var(--soft) url("../img/section-bg.jpg") top center / cover no-repeat; }
.services--page { margin-top: 0; padding-top: 90px; }
.services__title { margin-bottom: 51px; text-align: center; color: var(--red-dark); font: 700 54px/64px var(--font-head); }
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.card { display: flex; flex-direction: column; padding: 0 27px 34px; }
.card:not(:nth-child(3n + 1)) { border-left: 1px solid rgba(58, 66, 104, .1); }
.card--flip { flex-direction: column-reverse; justify-content: flex-end; }
.card__media { position: relative; display: block; margin-bottom: 24px; border-radius: var(--radius); background: #a10000; box-shadow: var(--shadow); overflow: hidden; }
.card--flip .card__media { margin: 8px 0 0; }
.card__media img { width: 100%; aspect-ratio: 780 / 508; object-fit: cover; transition: transform .8s var(--ease), opacity .5s; }
.card__go { position: absolute; top: 50%; left: 50%; display: grid; place-items: center; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: #fff; color: var(--red-dark); font-size: 26px; opacity: 0; transform: scale(.4) rotate(-45deg); transition: opacity .4s, transform .5s var(--ease); }
.card:hover .card__media img { transform: scale(1.1); opacity: .35; }
.card:hover .card__go { opacity: 1; transform: none; }
.card__title { margin-bottom: 16px; font: 600 28px/34px var(--font-head); }
.card__title a { color: var(--red-dark); background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size .45s var(--ease), color .25s; }
.card:hover .card__title a { color: var(--red); background-size: 100% 2px; }
.card__text { margin: 0; color: var(--ink-soft); }

/* ---------- Seitentitel (Unterseiten) ---------- */
.page-title { position: relative; isolation: isolate; padding: 250px 0 214px; background: #0e0e0e url("../img/page-title.jpg") center / cover no-repeat; color: #fff; text-align: center; overflow: hidden; }
.page-title::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(18, 17, 36, .86), rgba(18, 17, 36, .72)); }
.page-title h1 { font: 700 60px/72px var(--font-display); }
.breadcrumb { margin-top: 12px; }
.breadcrumb ol { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 10px; margin: 0; padding: 0; list-style: none; color: rgba(255, 255, 255, .7); font: 400 16px/24px var(--font-head); }
.breadcrumb li + li::before { content: "/"; margin-right: 10px; color: var(--red); }
.breadcrumb a { color: #fff; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .4s var(--ease); }
.breadcrumb a:hover { color: #fff; background-size: 100% 1px; }
.sparkles { position: absolute; top: 34px; left: 50%; z-index: 70; width: 1170px; max-width: 100%; height: 150px; margin-left: -585px; pointer-events: none; }
.sparkles .icon { position: absolute; color: #fff; animation: twinkle 2.6s ease-in-out infinite; }
.sparkles .icon:nth-child(1) { top: 2px; right: 34px; font-size: 54px; }
.sparkles .icon:nth-child(2) { top: 18px; right: 122px; font-size: 28px; color: #f7a1a4; animation-delay: -.9s; }
.sparkles .icon:nth-child(3) { top: 62px; right: 70px; font-size: 44px; color: #f7a1a4; animation-delay: -1.7s; }
@keyframes twinkle { 0%, 100% { opacity: 1; transform: scale(1) rotate(0); } 50% { opacity: .2; transform: scale(.45) rotate(45deg); } }

.eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 9px; color: var(--ink); font: 500 18px/37px var(--font-body); }
.eyebrow .icon { color: var(--red); font-size: 28px; animation: twinkle 3.2s ease-in-out infinite; }
.eyebrow--red { color: var(--red-dark); }

/* ---------- Über uns (Seite) ---------- */
.intro-block { padding: 122px 0 85px; }
.intro-block__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.banner { position: relative; width: 424px; max-width: 100%; margin-inline: auto; }
.banner__img { width: 100%; }
.banner__badge { position: absolute; top: 6px; right: -62px; display: grid; place-items: center; width: 154px; height: 140px; padding: 0 16px 10px; color: #fff; text-align: center; isolation: isolate; animation: float 5s ease-in-out infinite alternate; }
.banner__badge svg { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; overflow: visible; }
.banner__badge .shape-back { fill: var(--red); transform: translate(7px, 8px); }
.banner__badge .shape-front { fill: var(--red-dark); }
.banner__number { display: block; font: 700 40px/44px var(--font-display); }
.banner__title { display: block; font: 400 13px/17px var(--font-body); }
.intro-block__content { max-width: 468px; padding-top: 6px; }
.title-md { margin-bottom: 15px; color: var(--red-deep); font: 700 34px/44px var(--font-display); }
.intro-block__content p { font-size: 17px; line-height: 27px; }
.intro-block__content::after { content: ""; display: block; height: 1px; margin-top: 34px; background: var(--line); }

/* ---------- Leistungs-Detailseite ---------- */
.service { padding: 95px 0 100px; }
.service__grid { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 100px; align-items: start; padding-left: 55px; }
.sidebar { position: sticky; top: 120px; padding-top: 34px; border-top: 4px solid var(--red-dark); }
.sidebar__title { margin-bottom: 26px; color: var(--red-deep); font: 700 22px/29px var(--font-display); }
.sidebar__link { position: relative; display: block; padding: 14px 40px 14px 22px; border-bottom: 1px solid var(--line); color: var(--red-deep); font: 600 16px/24px var(--font-display); transition: padding .35s var(--ease), color .25s, background .35s; }
.sidebar li:last-child .sidebar__link { border-bottom: 0; }
.sidebar__link::after { content: ""; position: absolute; top: 50%; right: 18px; width: 8px; height: 8px; margin-top: -4px; border: solid currentColor; border-width: 2px 2px 0 0; opacity: 0; transform: translateX(-8px) rotate(45deg); transition: opacity .3s, transform .35s var(--ease); }
.sidebar__link:hover, .sidebar__link[aria-current="page"] { padding-left: 28px; background: var(--red-dark); color: #fff; }
.sidebar__link:hover::after, .sidebar__link[aria-current="page"]::after { opacity: 1; transform: rotate(45deg); }
.service__title { display: flex; align-items: center; gap: 20px; margin-bottom: 16px; color: var(--red-deep); font: 700 36px/47px var(--font-display); }
.service__title::after { content: ""; flex: none; width: 80px; height: 3px; border-radius: 3px; background: var(--red); }
.service__main p a { color: var(--red); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.service__main p a:hover { color: var(--red-dark); }
.service__figure { margin: 26px 0 0; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.service__figure img { width: 100%; }

/* ---------- Galerien ---------- */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 10px; }
.gallery--portrait { grid-template-columns: repeat(3, 1fr); }
.gallery--page { grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0; }
.gallery__item { position: relative; display: block; border-radius: 12px; background: var(--red-dark); overflow: hidden; }
.gallery__item img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .8s var(--ease), opacity .45s; }
.gallery--portrait .gallery__item img { aspect-ratio: 3 / 4; }
.gallery--page .gallery__item img { aspect-ratio: 715 / 415; }
.gallery__item::after { content: ""; position: absolute; top: 50%; left: 50%; width: 54px; height: 54px; margin: -27px 0 0 -27px; border-radius: 50%; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23941c20' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.6-3.6M11 8v6M8 11h6'/%3E%3C/svg%3E") center / 24px no-repeat; opacity: 0; transform: scale(.4); transition: opacity .35s, transform .45s var(--ease); }
.gallery__item:hover img, .gallery__item:focus-visible img { transform: scale(1.1); opacity: .4; }
.gallery__item:hover::after, .gallery__item:focus-visible::after { opacity: 1; transform: none; }
.gallery-section { padding: 8px 0 90px; }

/* ---------- Lightbox ---------- */
.lb { position: fixed; inset: 0; z-index: 900; display: grid; place-items: center; padding: 64px 16px; background: rgba(16, 8, 10, .93); opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; }
.lb.is-open { opacity: 1; visibility: visible; }
.lb__img { max-width: min(100%, 1500px); max-height: calc(100vh - 128px); max-height: calc(100dvh - 128px); width: auto; height: auto; border-radius: 10px; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); transform: scale(.94); opacity: 0; transition: transform .45s var(--ease), opacity .35s; }
.lb__img.is-loaded { transform: none; opacity: 1; }
.lb__btn { position: absolute; display: grid; place-items: center; width: 52px; height: 52px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; font-size: 24px; transition: background .25s, transform .3s var(--ease); }
.lb__btn:hover { background: var(--red); transform: scale(1.08); }
.lb__btn[hidden] { display: none; }
.lb__close { top: 12px; right: 14px; }
.lb__prev { left: 14px; top: 50%; margin-top: -26px; }
.lb__next { right: 14px; top: 50%; margin-top: -26px; }
.lb__count { position: absolute; left: 0; right: 0; bottom: 18px; color: rgba(255, 255, 255, .8); font: 400 15px/24px var(--font-head); text-align: center; letter-spacing: 1px; }
.lb-open, .lb-open body { overflow: hidden; }

/* ---------- Kontakt ---------- */
.contact-info { padding: 51px 0 30px; }
.contact-info__grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 26px 70px; }
.info-box { display: flex; align-items: flex-start; gap: 14px; padding: 18px 26px; border-radius: var(--radius); color: #000; transition: transform .4s var(--ease), box-shadow .4s, background .4s; }
.info-box:hover { color: #000; background: #fff; transform: translateY(-6px); box-shadow: var(--shadow); }
.info-box__icon { margin-top: 2px; color: var(--red); font-size: 42px; transition: transform .5s var(--ease); }
.info-box:hover .info-box__icon { transform: scale(1.12) rotate(-8deg); }
.info-box__title { margin-bottom: 10px; color: var(--red-dark); font: 700 20px/24px var(--font-display); }
.info-box__text { display: block; line-height: 27px; }

.contact { padding: 10px 0 90px; }
.contact__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 30px; align-items: stretch; margin-top: 16px; }
.form { position: relative; padding: 44px 44px 40px; border-radius: 28px; background: #fff; box-shadow: 0 20px 60px rgba(22, 40, 92, .12); overflow: hidden; }
.form::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 6px; background: linear-gradient(90deg, var(--red-dark), var(--red) 50%, var(--red-bright)); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 22px; }
.field { position: relative; margin-bottom: 24px; }
.field__control { display: block; width: 100%; height: 62px; padding: 24px 20px 6px; border: 1.5px solid var(--line); border-radius: 16px; background: var(--soft); color: var(--navy); font-size: 17px; line-height: 28px; outline: 0; appearance: none; transition: border-color .25s, background .25s, box-shadow .3s; }
textarea.field__control { height: auto; min-height: 168px; padding-top: 28px; resize: vertical; }
select.field__control { padding-right: 46px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23941c20' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; background-size: 20px; cursor: pointer; }
.field__label { position: absolute; top: 18px; left: 21px; color: #6b7391; font-size: 17px; line-height: 26px; pointer-events: none; transform-origin: left top; transition: transform .25s var(--ease), color .25s; }
.field__control:focus ~ .field__label,
.field__control:not(:placeholder-shown) ~ .field__label,
select.field__control ~ .field__label { transform: translateY(-11px) scale(.74); color: var(--red-dark); }
/* Auswahlfeld (Dropdown) – ersetzt per JavaScript die Standardliste des Browsers */
.field__control[hidden] { display: none; }
.field--select.is-open { z-index: 20; }
.select__button { position: relative; display: flex; align-items: center; padding-right: 50px; text-align: left; cursor: pointer; }
.select__value { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.select__button .icon { position: absolute; top: 50%; right: 18px; margin-top: -10px; color: var(--red-dark); font-size: 20px; transition: transform .4s var(--ease); }
.field--select.is-open .select__button { border-color: var(--red); background: #fff; box-shadow: 0 0 0 5px rgba(196, 42, 47, .12); }
.field--select.is-open .select__button .icon { transform: rotate(180deg); }
.field--select.is-enhanced:not(.has-value):not(.is-open) .field__label { transform: none; color: #6b7391; }
.select__list { position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 1; max-height: 312px; margin: 0; padding: 8px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #d3d7e4 transparent; list-style: none; border: 1.5px solid var(--line); border-radius: 18px; background: #fff; box-shadow: 0 24px 60px rgba(22, 40, 92, .2); opacity: 0; visibility: hidden; transform: translateY(-10px) scale(.97); transform-origin: top center; transition: opacity .22s, visibility .22s, transform .3s var(--ease); }
.field--select.is-open .select__list { opacity: 1; visibility: visible; transform: none; }
.select__option { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 14px; border-radius: 11px; color: var(--navy); font-size: 16px; line-height: 24px; cursor: pointer; transition: background .18s, color .18s, padding .25s var(--ease); }
.select__option + .select__option { margin-top: 2px; }
.select__option .icon { color: var(--red); font-size: 17px; opacity: 0; transform: scale(.3); transition: opacity .2s, transform .3s var(--ease); }
.select__option--empty { color: #8a90a8; }
.select__option.is-active { background: var(--soft); padding-left: 19px; }
.select__option[aria-selected="true"] { background: rgba(196, 42, 47, .09); color: var(--red-dark); font-weight: 500; }
.select__option[aria-selected="true"] .icon { opacity: 1; transform: none; }
.select__option[aria-selected="true"].is-active { background: rgba(196, 42, 47, .15); }
.field__control:hover { border-color: #cfd3e0; }
.field__control:focus { border-color: var(--red); background: #fff; box-shadow: 0 0 0 5px rgba(196, 42, 47, .12); }
.field.is-invalid .field__control { border-color: var(--red-bright); background: #fff6f6; }
.field__error { display: none; margin: 6px 4px 0; color: #d3161d; font-size: 14px; line-height: 20px; }
.field.is-invalid .field__error, .check.is-invalid ~ .field__error { display: block; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.check { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; line-height: 23px; cursor: pointer; }
.check input { position: absolute; opacity: 0; width: 24px; height: 24px; margin: 0; }
.check__box { flex: none; display: grid; place-items: center; width: 24px; height: 24px; border: 1.5px solid #c3c8d8; border-radius: 7px; background: var(--soft); color: #fff; font-size: 15px; transition: background .25s, border-color .25s, transform .3s var(--ease); }
.check__box .icon { transform: scale(0); transition: transform .3s var(--ease); }
.check input:checked + .check__box { background: var(--red); border-color: var(--red); }
.check input:checked + .check__box .icon { transform: none; }
.check input:focus-visible + .check__box { outline: 3px solid var(--red-bright); outline-offset: 2px; }
.check.is-invalid .check__box { border-color: var(--red-bright); }
.check a { font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.form__captcha { min-height: 65px; margin: 22px 0 6px; }
.form__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 22px; margin-top: 16px; }
.form .btn .icon { transition: transform .45s var(--ease); }
.form .btn:hover .icon { transform: translate(4px, -4px); }
.form.is-sending .btn .icon { animation: send-fly 1s ease-in-out infinite; }
@keyframes send-fly { 50% { transform: translate(7px, -7px); opacity: .3; } }
.form__status { display: none; align-items: flex-start; gap: 12px; margin: 22px 0 0; padding: 15px 18px; border-radius: 14px; font-size: 16px; line-height: 24px; animation: pop-in .45s var(--ease); }
.form__status .icon { margin-top: 2px; font-size: 20px; }
.form__status.is-success { display: flex; background: #eaf7ee; color: #17603a; }
.form__status.is-error { display: flex; background: #fdecec; color: #a3131a; }
@keyframes pop-in { from { opacity: 0; transform: translateY(10px) scale(.98); } }

.map { position: relative; min-height: 420px; border-radius: 28px; background: var(--soft) url("../img/section-bg.jpg") center / cover; box-shadow: 0 20px 60px rgba(22, 40, 92, .12); overflow: hidden; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map__consent { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 16px; padding: 30px; text-align: center; }
.map__pin { color: var(--red); font-size: 54px; animation: float 3s ease-in-out infinite alternate; }
.map__address { margin: 0; color: var(--navy); font: 600 19px/27px var(--font-head); }
.map__note { max-width: 340px; margin: 0; color: #5b6385; font-size: 14px; line-height: 21px; }
.map__note a { text-decoration: underline; text-underline-offset: 3px; }
.map .btn { font-size: 16px; line-height: 52px; padding: 0 28px; }

/* ---------- Rechtstexte ---------- */
.legal { padding: 80px 0 90px; }
.legal__body { max-width: 900px; color: #333; }
.legal__body h2 { margin: 38px 0 12px; color: var(--red-deep); font: 700 24px/32px var(--font-display); }
.legal__body h2:first-child { margin-top: 0; }
.legal__body a { word-break: break-word; text-decoration: underline; text-underline-offset: 3px; }
.legal__body ul { margin: 0 0 15px; padding-left: 22px; list-style: disc; }
.legal__body li { margin-bottom: 6px; }
.legal__body address { margin-bottom: 15px; font-style: normal; }

/* ---------- 404 ---------- */
.notfound { padding: 90px 0 110px; text-align: center; }
.notfound__code { color: var(--red-dark); font: 700 clamp(90px, 20vw, 170px)/1 var(--font-display); }

/* ---------- Footer ---------- */
.site-footer { position: relative; margin-top: -1px; padding-top: 50px; background: url("../img/footer-bg.webp") top center / cover no-repeat; color: var(--navy); }
.footer__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; padding-top: 15px; }
.footer__logo { display: block; width: fit-content; margin-bottom: 32px; }
.footer__logo img { width: 370px; transition: transform .5s var(--ease); }
.footer__logo:hover img { transform: scale(1.03); }
.footer__brand p { max-width: 370px; line-height: 25px; }
.footer__title { position: relative; margin-bottom: 40px; padding-bottom: 9px; color: var(--navy); font: 700 24px/31px var(--font-head); }
.footer__title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 34px; height: 2px; background: var(--red); transition: width .4s var(--ease); }
.footer__col:hover .footer__title::after { width: 70px; }
.footer__title a { color: inherit; }
.footer__title a:hover { color: var(--red); }
.contact-list li { margin-bottom: 14px; }
.contact-list a, .contact-list span { display: inline-flex; align-items: center; gap: 12px; color: var(--navy); }
.contact-list a:hover { color: var(--red); }
.contact-list .icon { color: var(--red); font-size: 18px; }
.footer__hours-title { margin: 26px 0 6px; font: 700 16px/26px var(--font-body); text-decoration: underline; text-underline-offset: 3px; }
.footer__hours { margin: 0; }
.mini-gallery { display: grid; grid-template-columns: repeat(3, 117px); gap: 9px; }
.mini-gallery a { display: block; background: var(--red-dark); overflow: hidden; }
.mini-gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .6s var(--ease), opacity .4s; }
.mini-gallery a:hover img { transform: scale(1.15); opacity: .55; }
.footer__bottom { margin-top: 66px; padding: 25px 0 28px; border-top: 1px solid #dfe2ea; text-align: center; }
.footer__bottom p { margin: 0; }
.footer__bottom a { font-weight: 700; }

.to-top { position: fixed; right: 22px; bottom: 22px; z-index: 80; display: grid; place-items: center; width: 50px; height: 50px; border: 0; border-radius: 50%; background: var(--red); color: #fff; font-size: 22px; box-shadow: 0 10px 26px rgba(196, 42, 47, .4); opacity: 0; visibility: hidden; transform: translateY(20px); transition: opacity .35s, visibility .35s, transform .4s var(--ease), background .25s; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--red-dark); transform: translateY(-4px); }

/* ---------- Einblend-Effekte ---------- */
.js [data-reveal] { opacity: 0; transition: opacity .8s ease, transform .9s var(--ease); will-change: transform, opacity; }
.js [data-reveal="up"] { transform: translateY(46px); }
.js [data-reveal="left"] { transform: translateX(-70px); }
.js [data-reveal="right"] { transform: translateX(70px); }
.js [data-reveal="zoom"] { transform: scale(.88); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
.js [data-delay="1"] { transition-delay: .1s; }
.js [data-delay="2"] { transition-delay: .2s; }
.js [data-delay="3"] { transition-delay: .3s; }
.js [data-delay="4"] { transition-delay: .4s; }
.js [data-delay="5"] { transition-delay: .5s; }
.js [data-delay="6"] { transition-delay: .6s; }
.js [data-enter] { opacity: 0; transform: translateY(34px); }
.js [data-enter="right"] { transform: translateX(90px); }
.js.is-ready [data-enter] { opacity: 1; transform: none; transition: opacity .9s ease, transform 1s var(--ease); }
.js.is-ready [data-enter="2"] { transition-delay: .12s; }
.js.is-ready [data-enter="3"] { transition-delay: .24s; }
.js.is-ready [data-enter="4"] { transition-delay: .36s; }
.js.is-ready [data-enter="right"] { transition-delay: .2s; transition-duration: 1.2s; }
.no-reveal [data-reveal], .no-reveal [data-enter] { opacity: 1 !important; transform: none !important; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1299px) {
  .hero { min-height: 1240px; }
  .hero__title { font-size: 56px; line-height: 68px; }
  .hero__visual { width: 860px; top: 250px; }
  .hero__wave { width: 1700px; }
  .features { margin-top: -210px; }
  .title-xl { font-size: 44px; line-height: 54px; }
  .services__title { font-size: 46px; line-height: 56px; }
  .card { padding-inline: 20px; }
  .card__title { font-size: 25px; line-height: 31px; }
  .service__grid { gap: 60px; padding-left: 0; }
  .banner__badge { right: -30px; }
}

@media (max-width: 1099px) {
  .nav { gap: 24px; }
  .nav__link { font-size: 17px; }
  .navbar { padding: 0 26px; }
  .navbar__logo img { height: 44px; }
  .mini-gallery { grid-template-columns: repeat(3, 1fr); }
  .footer__logo img { width: 300px; }
}

@media (max-width: 991px) {
  html { scroll-padding-top: 90px; }
  .site-header { top: 16px; }
  .topbar { display: none; }
  .navbar { min-height: 72px; padding: 0 12px 0 24px; border-top: 1px solid var(--red); border-radius: 40px; justify-content: space-between; }
  .navbar__logo img, .site-header.is-stuck .navbar__logo img { height: 38px; }
  .site-header.is-stuck .navbar { min-height: 64px; }
  .nav-toggle { position: relative; display: block; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .14); transition: background .25s; }
  .nav-toggle:hover { background: rgba(255, 255, 255, .24); }
  .nav-toggle span { position: absolute; left: 14px; width: 20px; height: 2px; border-radius: 2px; background: #fff; transition: transform .4s var(--ease), opacity .25s, top .4s var(--ease); }
  .nav-toggle span:nth-child(1) { top: 17px; }
  .nav-toggle span:nth-child(2) { top: 23px; }
  .nav-toggle span:nth-child(3) { top: 29px; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 23px; transform: rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { top: 23px; transform: rotate(-45deg); }
  .nav { position: absolute; top: calc(100% + 10px); left: 0; right: 0; flex-direction: column; gap: 2px; padding: 14px; border-radius: 28px; background: #fff; box-shadow: 0 30px 70px rgba(10, 6, 20, .35); opacity: 0; visibility: hidden; transform: translateY(-14px) scale(.97); transform-origin: top; transition: opacity .3s, visibility .3s, transform .4s var(--ease); }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__link, .site-header.is-stuck .nav__link { padding: 13px 20px; border-radius: 16px; color: var(--navy); font-size: 19px; font-weight: 500; line-height: 28px; }
  .nav__link::after { display: none; }
  .nav__link:hover { background: var(--soft); color: var(--red-dark); }
  .nav__link[aria-current="page"] { background: var(--red-dark); color: #fff; }
  .nav__meta { display: grid; gap: 10px; margin-top: 10px; padding: 18px 20px 8px; border-top: 1px solid var(--line); }
  .nav__meta a { display: inline-flex; align-items: center; gap: 10px; color: var(--navy); font: 500 16px/24px var(--font-head); }
  .nav__meta .icon { color: var(--red); font-size: 18px; }

  .hero { min-height: 0; padding: 150px 0 0; }
  .hero__content { max-width: none; padding-top: 0; }
  .hero__title { font-size: clamp(36px, 8.2vw, 56px); line-height: 1.2; }
  .eyebrow-caps { font-size: 16px; }
  .hero__visual { position: relative; top: auto; left: auto; width: min(100%, 560px); margin: 30px auto 0; padding-bottom: 150px; }
  .hero__wave { width: max(1300px, 170vw); left: 62%; }
  .features { margin-top: -110px; }
  .features__grid { grid-template-columns: repeat(2, 1fr); gap: 46px 10px; }
  .feature:nth-child(n) { margin-top: 0; }
  .about { grid-template-columns: 1fr; margin-top: 80px; }
  .about__media img { width: 100%; max-width: 620px; margin-left: -15px; }
  .about__content { max-width: none; padding-top: 34px; }
  .services { margin-top: 0; padding-top: 80px; }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .card:nth-child(n) { border-left: 0; }
  .card--flip { flex-direction: column; justify-content: flex-start; }
  .card--flip .card__media { margin: 0 0 24px; }
  .page-title { padding: 190px 0 104px; }
  .page-title h1 { font-size: 46px; line-height: 56px; }
  .sparkles { display: none; }
  .intro-block { padding: 80px 0 60px; }
  .intro-block__grid { grid-template-columns: 1fr; gap: 50px; }
  .intro-block__content { max-width: none; }
  .banner__badge { right: -20px; }
  .service { padding: 70px 0 80px; }
  .service__grid { grid-template-columns: 1fr; gap: 50px; }
  .service__main { order: -1; }
  .sidebar { position: static; }
  .contact__grid { grid-template-columns: 1fr; }
  .map { min-height: 380px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 44px 30px; }
  .footer__brand { grid-column: 1 / -1; }
  .mini-gallery { max-width: 380px; }
}

@media (max-width: 639px) {
  body { font-size: 16px; }
  .btn { font-size: 16px; line-height: 54px; padding: 0 30px; }
  .hero { padding-top: 132px; }
  .hero__phone-icon { width: 54px; height: 54px; }
  .hero__phone-number { font-size: 20px; }
  .hero__visual { width: min(92%, 400px); padding-bottom: 96px; }
  .hero__wave { width: 980px; left: 66%; }
  .hero__bg { background-image: url("../img/hero-bg-960.jpg"); }
  .features { margin-top: -60px; }
  .feature__icon { width: 96px; height: 96px; margin-bottom: 26px; font-size: 32px; }
  .feature__title { font-size: 18px; line-height: 23px; }
  .about { margin-top: 64px; }
  .title-xl { font-size: 34px; line-height: 42px; margin-bottom: 18px; }
  .about__lead { font-size: 18px; line-height: 28px; }
  .checklist li { margin-bottom: 13px; font-size: 17px; }
  .services { padding-top: 64px; }
  .services__title { margin-bottom: 34px; font-size: 34px; line-height: 42px; }
  .services__grid { grid-template-columns: 1fr; }
  .card { padding: 0 0 38px; }
  .page-title { padding: 150px 0 64px; background-image: url("../img/page-title-960.jpg"); }
  .breadcrumb { margin-top: 8px; }
  .breadcrumb ol { font-size: 15px; }
  .page-title h1 { font-size: 36px; line-height: 44px; overflow-wrap: anywhere; hyphens: auto; }
  .title-md { font-size: 28px; line-height: 37px; }
  .banner { width: 300px; }
  .banner__badge { top: -14px; right: -18px; width: 124px; height: 113px; }
  .banner__number { font-size: 30px; line-height: 34px; }
  .banner__title { font-size: 11px; line-height: 14px; }
  .service__title { font-size: 28px; line-height: 37px; gap: 14px; }
  .service__title::after { width: 44px; }
  .gallery, .gallery--portrait, .gallery--page { grid-template-columns: repeat(2, 1fr); gap: 7px; }
  .gallery__item { border-radius: 9px; }
  .contact-info { padding-top: 36px; }
  .contact-info__grid { flex-direction: column; align-items: stretch; gap: 6px; }
  .info-box { padding: 14px 10px; }
  .form { padding: 34px 20px 28px; border-radius: 22px; }
  .form__row { grid-template-columns: 1fr; }
  .select__option { padding-block: 13px; }
  .select__list { max-height: 292px; }
  .form__actions .btn { width: 100%; }
  .map { min-height: 340px; border-radius: 22px; }
  .legal { padding: 54px 0 64px; }
  .legal__body h2 { font-size: 21px; line-height: 29px; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__logo img { width: 260px; }
  .footer__title { margin-bottom: 26px; }
  .footer__bottom { margin-top: 44px; font-size: 15px; }
  .lb { padding: 70px 8px; }
  .lb__prev, .lb__next { top: auto; bottom: 10px; margin: 0; width: 46px; height: 46px; }
  .lb__prev { left: calc(50% - 96px); }
  .lb__next { right: calc(50% - 96px); }
  .to-top { right: 14px; bottom: 14px; width: 46px; height: 46px; }
}

@media (min-width: 1920px) {
  .hero__wave { width: 100.5vw; }
}

@media (hover: none) {
  .card__go, .gallery__item::after { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js [data-reveal], .js [data-enter] { opacity: 1; transform: none; }
  .intro { display: none; }
}

@media print {
  .site-header, .intro, .to-top, .hero__wave, .map, .form, .lb { display: none !important; }
  .hero, .page-title { min-height: 0; padding: 20px 0; background: none; color: #000; }
  .hero::before, .page-title::before { display: none; }
}
