/* Gebäudereinigung Wagner – Stylesheet
   Farben aus dem Logo: Blau #4646db, Akzent Türkis #009aa3 (alte Seite). */

@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --blue: #3b3fd1;
  --blue-600: #2e32b3;
  --blue-50: #eef0ff;
  --teal: #009aa3;
  --teal-600: #007c84;
  --teal-50: #e3f6f6;
  --ink: #12172e;
  --ink-2: #2a3150;
  --muted: #5b6380;
  --line: #e3e6f0;
  --soft: #f4f6fb;
  --white: #fff;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgb(18 23 46 / .06), 0 2px 8px rgb(18 23 46 / .05);
  --shadow: 0 10px 30px -10px rgb(18 23 46 / .18), 0 4px 10px -4px rgb(18 23 46 / .08);
  --shadow-lg: 0 30px 60px -20px rgb(18 23 46 / .3);

  --container: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(56px, 9vw, 112px);
  --header-h: 76px;

  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blue-600); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.02em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 1.4rem + 3.4vw, 3.9rem); }
h2 { font-size: clamp(1.7rem, 1.25rem + 1.9vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 1.05rem + .6vw, 1.45rem); letter-spacing: -.01em; }
h4 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
strong { color: var(--ink); font-weight: 700; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: max(var(--gutter), env(safe-area-inset-left)) max(var(--gutter), env(safe-area-inset-right)); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; color: #fff; }
.icon { width: 1.15em; height: 1.15em; flex: none; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--blue); --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 50px; padding: .75em 1.4em;
  border: 2px solid transparent; border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg);
  font: inherit; font-weight: 700; font-size: 1rem; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease, color .15s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { color: var(--btn-fg); transform: translateY(-1px); }
.btn--primary { box-shadow: 0 8px 20px -8px rgb(59 63 209 / .6); }
.btn--primary:hover { background: var(--blue-600); }
.btn--teal { --btn-bg: var(--teal); box-shadow: 0 8px 20px -8px rgb(0 154 163 / .6); }
.btn--teal:hover { background: var(--teal-600); }
.btn--light { --btn-bg: #fff; --btn-fg: var(--ink); }
.btn--light:hover { background: var(--blue-50); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--blue); }
.btn--outline-light { --btn-bg: rgb(255 255 255 / .08); --btn-fg: #fff; border-color: rgb(255 255 255 / .5); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.btn--outline-light:hover { background: rgb(255 255 255 / .18); }
.btn--sm { min-height: 42px; padding: .5em 1.05em; font-size: .95rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; text-decoration: none; }
.link-arrow .icon { transition: transform .15s ease; }
.link-arrow:hover .icon { transform: translateX(3px); }

/* ---------- Topbar & Header ---------- */
.topbar { background: var(--ink); color: rgb(255 255 255 / .75); font-size: .875rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.topbar__links { display: flex; gap: 22px; }
.topbar a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { color: #9fe6ea; }
@media (max-width: 760px) { .topbar { display: none; } }

.site-header {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid transparent;
  transition: box-shadow .2s ease, border-color .2s ease;
}
/* Der Weichzeichner sitzt auf einem Pseudo-Element: backdrop-filter direkt am Header
   würde das fest positionierte Mobilmenü auf die Header-Höhe beschneiden. */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgb(255 255 255 / .92);
  backdrop-filter: saturate(1.6) blur(12px); -webkit-backdrop-filter: saturate(1.6) blur(12px);
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 20px -12px rgb(18 23 46 / .25); }
.site-header__inner { display: flex; align-items: center; gap: 20px; min-height: var(--header-h); }
.logo { display: block; flex: none; margin-right: auto; }
.logo img { height: 52px; width: auto; }
.site-header__actions { display: flex; align-items: center; gap: 10px; }

.nav__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.nav__link, .nav__sub a { text-decoration: none; color: var(--ink); font-weight: 600; }
.nav__link { display: block; padding: 10px 12px; border-radius: 10px; font-size: .98rem; }
.nav__link:hover { color: var(--blue); background: var(--blue-50); }
.nav__link[aria-current="page"], .nav__link.is-active { color: var(--blue); }
.nav__has-sub { position: relative; display: flex; align-items: center; }
.nav__sub-toggle { display: none; }
.nav__sub { list-style: none; margin: 0; padding: 8px; }
.nav__sub a { display: block; padding: 10px 14px; border-radius: 10px; }
.nav__sub a:hover, .nav__sub a[aria-current="page"] { background: var(--blue-50); color: var(--blue); }
.nav__mobile-contact { display: none; }

@media (min-width: 1081px) {
  .nav { margin-right: 4px; }
  .nav__sub {
    position: absolute; top: 100%; left: 0; min-width: 240px;
    background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow);
    opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s ease, transform .15s ease, visibility .15s;
  }
  .nav__has-sub:hover .nav__sub, .nav__has-sub:focus-within .nav__sub { opacity: 1; visibility: visible; transform: translateY(0); }
  .burger { display: none; }
}

.burger { position: relative; width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.burger__lines, .burger__lines::before, .burger__lines::after { position: absolute; left: 50%; width: 20px; height: 2px; margin-left: -10px; background: var(--ink); border-radius: 2px; transition: transform .2s ease, background-color .2s ease; }
.burger__lines { top: 50%; margin-top: -1px; }
.burger__lines::before, .burger__lines::after { content: ""; left: 0; margin-left: 0; }
.burger__lines::before { transform: translateY(-6px); }
.burger__lines::after { transform: translateY(6px); }
.burger[aria-expanded="true"] .burger__lines { background: transparent; }
.burger[aria-expanded="true"] .burger__lines::before { transform: rotate(45deg); }
.burger[aria-expanded="true"] .burger__lines::after { transform: rotate(-45deg); }

@media (max-width: 1080px) {
  :root { --header-h: 68px; }
  .logo img { height: 44px; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 49;
    background: #fff; overflow-y: auto; overscroll-behavior: contain;
    padding: 12px var(--gutter) calc(24px + env(safe-area-inset-bottom));
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__list > li { border-bottom: 1px solid var(--line); }
  .nav__link { padding: 16px 4px; font-size: 1.15rem; border-radius: 0; }
  .nav__link:hover { background: none; }
  .nav__has-sub { flex-wrap: wrap; }
  .nav__has-sub > .nav__link { flex: 1; }
  .nav__sub-toggle { display: grid; place-items: center; width: 48px; height: 48px; border: 0; background: var(--soft); border-radius: 12px; color: var(--ink); cursor: pointer; }
  .nav__sub-toggle .icon { transition: transform .2s ease; }
  .nav__sub-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
  .nav__sub { display: none; width: 100%; padding: 0 0 12px; }
  .nav__sub.is-open { display: block; }
  .nav__sub a { padding: 12px 14px; font-size: 1.05rem; color: var(--ink-2); }
  .nav__mobile-contact { display: grid; gap: 10px; margin-top: 24px; }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 520px) {
  .header-call span { display: none; }
  .header-call { width: 48px; height: 48px; min-height: 48px; padding: 0; }
}

/* Schwebender Anruf-Button (nur Smartphone) */
.call-fab { display: none; }
@media (max-width: 640px) {
  .call-fab {
    position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 40;
    display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%;
    background: var(--teal); color: #fff; box-shadow: 0 12px 26px -8px rgb(0 154 163 / .7);
    opacity: 0; transform: translateY(20px) scale(.9); pointer-events: none; transition: opacity .2s ease, transform .2s ease;
  }
  .call-fab .icon { width: 26px; height: 26px; }
  .call-fab.is-visible { opacity: 1; transform: none; pointer-events: auto; }
}

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; color: #fff; overflow: hidden; background: var(--ink); }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgb(13 17 40 / .92) 0%, rgb(13 17 40 / .72) 45%, rgb(13 17 40 / .25) 100%); }
.hero__content { padding-block: clamp(72px, 12vw, 150px) clamp(64px, 10vw, 130px); max-width: 720px; }
.hero h1 { color: #fff; }
.hero__lead { font-size: clamp(1.08rem, 1rem + .4vw, 1.28rem); color: rgb(255 255 255 / .88); max-width: 600px; margin-bottom: 28px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; font-size: .82rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); }
.hero .eyebrow { color: #8fe3e8; }
.eyebrow .icon { width: 1em; height: 1em; }
.hero__points { list-style: none; padding: 0; margin: 32px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: rgb(255 255 255 / .9); font-weight: 600; font-size: .98rem; }
.hero__points li { display: inline-flex; align-items: center; gap: 8px; }
.hero__points .icon { color: #8fe3e8; }

.hero--plain {
  background:
    radial-gradient(ellipse 60% 90% at 100% 0%, rgb(0 154 163 / .45), transparent 70%),
    radial-gradient(ellipse 70% 120% at 0% 100%, rgb(59 63 209 / .55), transparent 70%),
    var(--ink);
}
.hero--plain::before {
  inset: auto -40px -60px auto; width: clamp(220px, 34vw, 440px); height: clamp(220px, 34vw, 440px);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23ffffff' d='M12 2c.4 3.9 1.3 6.3 2.8 7.5 1.4 1.2 3.8 2 7.2 2.5-3.4.5-5.8 1.3-7.2 2.5-1.5 1.2-2.4 3.6-2.8 7.5-.4-3.9-1.3-6.3-2.8-7.5C7.8 13.3 5.4 12.5 2 12c3.4-.5 5.8-1.3 7.2-2.5C10.7 8.3 11.6 5.9 12 2z'/%3E%3C/svg%3E") center / contain no-repeat;
  opacity: .07;
}
.hero--page .hero__content { padding-block: clamp(56px, 8vw, 104px) clamp(48px, 7vw, 88px); }
.hero--page h1 { font-size: clamp(1.9rem, 1.3rem + 2.8vw, 3.3rem); }
.breadcrumb { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 6px; font-size: .9rem; color: rgb(255 255 255 / .7); }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; opacity: .6; }
.breadcrumb a { color: #fff; text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* Hinweisband (z. B. Stellenanzeige) */
.notice { background: linear-gradient(90deg, var(--teal), var(--blue)); color: #fff; }
.notice__inner { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; padding-block: 16px; }
.notice p { margin: 0; font-weight: 600; }
.notice strong { color: #fff; }
.notice__badge { display: inline-block; margin-right: 10px; padding: 3px 10px; border-radius: 999px; background: rgb(255 255 255 / .2); font-size: .78rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; vertical-align: 2px; }

/* ---------- Sections ---------- */
.section { padding-block: var(--section); }
.section--soft { background: var(--soft); }
.section--tight { padding-block: calc(var(--section) * .6); }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { font-size: 1.12rem; color: var(--muted); }
.lead { font-size: clamp(1.08rem, 1rem + .3vw, 1.22rem); color: var(--ink-2); }

.grid { display: grid; gap: clamp(16px, 2.4vw, 28px); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
@media (min-width: 700px) and (max-width: 1080px) { .grid--4 { grid-template-columns: repeat(2, 1fr); } }

/* Karten */
.card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 2.6vw, 30px); box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.card h3 { margin-bottom: .4em; }
.card p { color: var(--muted); }
.card .link-arrow { margin-top: auto; padding-top: 16px; }
.card__kicker { font-size: .8rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--teal); margin-bottom: 6px; }
.card__link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.icon-badge { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: var(--blue-50); color: var(--blue); margin-bottom: 18px; }
.icon-badge .icon { width: 26px; height: 26px; }
.icon-badge--teal { background: var(--teal-50); color: var(--teal); }

/* Leistungskarten mit Bild */
.service { position: relative; display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease; }
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service__img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--soft); }
.service__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.service:hover .service__img img { transform: scale(1.05); }
.service__body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.service__body h3 { margin-bottom: .3em; }
.service__body h3 a { color: inherit; text-decoration: none; }
.service__body h3 a::after { content: ""; position: absolute; inset: 0; }
.service__body p { color: var(--muted); }
.service__body .link-arrow { margin-top: auto; padding-top: 14px; }

/* Leistungskarten ohne Bild */
.service--icon .service__body { padding-top: 28px; }
.service--icon .icon-badge { width: 60px; height: 60px; border-radius: 18px; }
.service--icon .icon-badge .icon { width: 28px; height: 28px; }

/* Bild + Text */
.split { display: grid; gap: clamp(28px, 5vw, 72px); align-items: center; grid-template-columns: 1fr; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1.05fr 1fr; }
  .split--reverse > :first-child { order: 2; }
}
.media-frame { position: relative; }
.media-frame:has(.media-frame__badge) { margin-bottom: 28px; }
.media-frame img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3; object-fit: cover; }
.media-frame__badge { position: absolute; left: clamp(-12px, -1vw, 0px); bottom: -20px; display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 16px; padding: 14px 18px; box-shadow: var(--shadow); max-width: 80%; }
.media-frame__badge strong { display: block; font-size: 1.5rem; line-height: 1; color: var(--blue); }
.media-frame__badge span { font-size: .88rem; color: var(--muted); line-height: 1.3; }
.media-stack { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
.media-stack img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); }
.media-stack img:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; }

/* Checklisten */
.checklist { list-style: none; padding: 0; margin: 0 0 1.2em; display: grid; gap: 10px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; color: var(--ink); }
.checklist li::before { content: ""; flex: none; width: 26px; height: 26px; margin-top: 1px; border-radius: 50%; background: var(--teal-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23009aa3' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='m6 12.5 4 4L18 8'/%3E%3C/svg%3E") center / 16px no-repeat; }
.checklist--cols { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }

.pills { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.pills li { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: var(--blue-50); color: var(--ink); font-weight: 700; font-size: .95rem; }
.pills .icon { color: var(--blue); }

/* Info-Box „Was gehört dazu?“ */
.panel { background: #fff; border-radius: var(--radius); padding: clamp(24px, 3.5vw, 40px); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.panel--accent { background: linear-gradient(160deg, var(--blue) 0%, #2a2ea0 100%); color: rgb(255 255 255 / .9); border: 0; }
.panel--accent h2, .panel--accent h3 { color: #fff; }
.panel--accent .checklist li { color: #fff; }
.panel--accent .checklist li::before { background-color: rgb(255 255 255 / .16); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='m6 12.5 4 4L18 8'/%3E%3C/svg%3E"); }

/* Zahlen */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 20px; }
.stat { padding: 26px; border-radius: var(--radius); background: rgb(255 255 255 / .06); border: 1px solid rgb(255 255 255 / .12); }
.stat strong { display: block; font-size: clamp(2rem, 1.6rem + 1.5vw, 2.8rem); line-height: 1; color: #fff; margin-bottom: 10px; letter-spacing: -.02em; }
.stat span { color: rgb(255 255 255 / .75); }
.section--dark { background: var(--ink); color: rgb(255 255 255 / .8); }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark .section-head p { color: rgb(255 255 255 / .7); }

/* CTA-Band */
.cta {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: calc(var(--radius) + 6px);
  padding: clamp(32px, 5vw, 64px);
  background: linear-gradient(120deg, var(--blue) 0%, #2a2ea0 55%, var(--teal) 130%);
  color: rgb(255 255 255 / .9);
  display: grid; gap: 24px; align-items: center;
}
.cta::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgb(255 255 255 / .18), transparent 70%); z-index: -1; }
.cta h2 { color: #fff; margin-bottom: .35em; }
.cta p { font-size: 1.1rem; max-width: 640px; }
@media (min-width: 900px) { .cta { grid-template-columns: 1fr auto; } }
.cta--image { background: none; }
.cta--image .cta__bg { position: absolute; inset: 0; z-index: -2; }
.cta--image .cta__bg img { width: 100%; height: 100%; object-fit: cover; }
.cta--image::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgb(46 50 179 / .95) 0%, rgb(46 50 179 / .82) 55%, rgb(0 154 163 / .55) 100%); }

/* Features mit Icon (z. B. „Wir packen an“) */
.feature h3 { font-size: 1.2rem; }
.feature p { color: var(--muted); }

/* Galerie */
.gallery { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
@media (min-width: 700px) { .gallery { gap: 12px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); } }
.gallery__item { position: relative; display: block; padding: 0; border: 0; border-radius: var(--radius-sm); overflow: hidden; cursor: zoom-in; background: var(--soft); aspect-ratio: 4 / 3; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery__item:hover img { transform: scale(1.06); }
.gallery__item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgb(18 23 46 / .35)); opacity: 0; transition: opacity .2s ease; }
.gallery__item:hover::after { opacity: 1; }
.gallery-group + .gallery-group { margin-top: clamp(40px, 6vw, 64px); }
.gallery-group__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.gallery-group__head h3 { margin: 0; }

.lightbox { width: min(1100px, 100vw - 24px); max-height: calc(100vh - 24px); padding: 60px 0 0; border: 0; border-radius: var(--radius); background: #000; overflow: hidden; }
.lightbox::backdrop { background: rgb(10 12 25 / .85); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.lightbox img { width: 100%; max-height: calc(100vh - 84px); object-fit: contain; }
.lightbox__close { position: absolute; top: 8px; right: 8px; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgb(255 255 255 / .9); color: var(--ink); cursor: pointer; }
.lightbox__nav { position: absolute; top: calc(50% + 30px); transform: translateY(-50%); display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgb(255 255 255 / .9); color: var(--ink); cursor: pointer; }
.lightbox__nav--prev { left: 10px; }
.lightbox__nav--prev .icon { transform: rotate(180deg); }
.lightbox__nav--next { right: 10px; }

/* Job */
.job { border-radius: var(--radius); border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); overflow: hidden; }
.job__head { padding: clamp(24px, 3.5vw, 40px); background: linear-gradient(120deg, var(--blue-50), var(--teal-50)); border-bottom: 1px solid var(--line); }
.job__head h3 { font-size: clamp(1.3rem, 1.1rem + 1vw, 1.8rem); margin-bottom: 12px; }
.job__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: #fff; font-weight: 700; font-size: .88rem; color: var(--ink); }
.tag .icon { color: var(--teal); width: 1em; height: 1em; }
.job__body { padding: clamp(24px, 3.5vw, 40px); display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.job__body h4 { font-size: 1.15rem; margin-bottom: 14px; }
.checklist--plain li { font-weight: 500; color: var(--ink-2); }

/* Kontakt */
.contact-grid { display: grid; gap: clamp(24px, 4vw, 48px); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1fr 1.25fr; } }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .icon-badge { width: 46px; height: 46px; border-radius: 14px; margin: 0; flex: none; }
.contact-list .icon-badge .icon { width: 22px; height: 22px; }
.contact-list small { display: block; font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.contact-list a { font-weight: 700; color: var(--ink); text-decoration: none; word-break: break-word; }
.contact-list a:hover { color: var(--blue); }
.hours { width: 100%; border-collapse: collapse; margin-top: 4px; }
.hours th, .hours td { padding: 4px 0; text-align: left; font-weight: 600; vertical-align: top; }
.hours th { padding-right: 16px; color: var(--ink); white-space: nowrap; }
@media (max-width: 560px) { .hours tr, .hours th, .hours td { display: block; padding: 0; } .hours td { margin-bottom: 8px; font-weight: 500; } }

.form { display: grid; gap: 18px; }
.form__row { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.field { display: grid; gap: 6px; }
.field label { font-weight: 700; color: var(--ink); font-size: .95rem; }
.field .req { color: var(--teal); }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; /* 16px verhindert Zoom auf dem iPhone */
  color: var(--ink); background: var(--soft); border: 1.5px solid var(--line); border-radius: 12px;
  padding: 13px 14px; transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease;
  -webkit-appearance: none; appearance: none;
}
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; background: #fff; border-color: var(--blue); box-shadow: 0 0 0 4px rgb(59 63 209 / .15); }
.field input:user-invalid, .field textarea:user-invalid { border-color: #d0353f; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; }
.consent input { flex: none; width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--blue); }
.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__note { font-size: .88rem; color: var(--muted); }
.alert { padding: 14px 16px; border-radius: 12px; font-weight: 600; }
.alert--error { background: #fdecee; color: #8b1a22; border: 1px solid #f5c2c7; }
.alert[hidden] { display: none; }

.map-card { display: flex; gap: 14px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-top: 24px; padding: 18px 20px; border-radius: var(--radius-sm); background: var(--soft); }

/* Rechtstexte */
.prose { max-width: 780px; }
.prose h2 { font-size: clamp(1.4rem, 1.2rem + .8vw, 1.8rem); margin-top: 2em; }
.prose h3 { font-size: 1.2rem; margin-top: 1.6em; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .35em; }
.prose a { word-break: break-word; }
.prose .todo { background: #fff6d6; border-left: 4px solid #e2b007; padding: 12px 16px; border-radius: 8px; font-size: .95rem; }
.definition { display: grid; grid-template-columns: max-content 1fr; gap: 6px 20px; margin: 0 0 1.4em; }
.definition dt { font-weight: 700; color: var(--ink); }
.definition dd { margin: 0; }
@media (max-width: 560px) { .definition { grid-template-columns: 1fr; gap: 0; } .definition dd { margin-bottom: 10px; } }
.credits { columns: 2 220px; padding-left: 1.2em; font-size: .95rem; }

/* Danke-Seite */
.thanks { text-align: center; max-width: 620px; margin-inline: auto; }
.thanks .icon-badge { width: 80px; height: 80px; border-radius: 50%; margin: 0 auto 24px; }
.thanks .icon-badge .icon { width: 40px; height: 40px; }
.thanks .btn-row { justify-content: center; margin-top: 28px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgb(255 255 255 / .72); font-size: .97rem; padding-top: clamp(48px, 7vw, 80px); padding-bottom: env(safe-area-inset-bottom); }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: #8fe3e8; }
.site-footer__grid { display: grid; gap: 36px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.site-footer__brand img { height: 56px; width: auto; margin-bottom: 18px; }
.site-footer__title { font-size: .82rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 14px; }
.site-footer__links { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer__small { font-size: .88rem; color: rgb(255 255 255 / .55); }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 48px; padding-top: 22px; padding-bottom: 26px; border-top: 1px solid rgb(255 255 255 / .1); font-size: .9rem; }
.site-footer__legal { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }
@media (max-width: 640px) { .site-footer__bottom { padding-bottom: 90px; } }

/* ---------- Kleinkram ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-l { margin-top: clamp(32px, 5vw, 56px); }
.muted { color: var(--muted); }

@media print {
  .topbar, .site-header, .call-fab, .cta, .site-footer__legal { display: none !important; }
  .hero { color: var(--ink); background: none; }
  .hero::before, .hero__media { display: none; }
  .hero h1, .hero__lead { color: var(--ink); }
}
