/* =========================================================
   Malergeschäft Holger Kraut – Stylesheet
   Schrift "Inter" liegt lokal auf dem Server (keine Google-Fonts-Verbindung, DSGVO-konform)
   ========================================================= */

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --teal: #02a098;        /* Logo-Farbe: nur für Flächen/Deko */
  --teal-dark: #017a74;   /* Buttons & Text auf Weiß (Kontrast AA) */
  --teal-deep: #015f5a;
  --teal-light: #e7f5f4;
  --teal-glow: #6fe0d9;   /* Akzent auf dunklem Grund */
  --ink: #172024;
  --ink-soft: #4b575e;
  --line: #e2e8ea;
  --bg: #ffffff;
  --bg-soft: #f4f7f7;
  --dark: #10181b;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(16,24,27,.05), 0 12px 32px rgba(16,24,27,.08);
  --shadow-lg: 0 24px 60px rgba(16,24,27,.16);
  --max: 1200px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.7;
  color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-dark); text-underline-offset: 3px; }
a:hover { color: var(--teal-deep); }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .55em; letter-spacing: -.022em; font-weight: 800; }
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.22rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
strong { font-weight: 700; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: 104px 0; position: relative; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--dark); color: #fff; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; font-size: .78rem; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--teal-dark); margin-bottom: 1em;
}
.eyebrow::before { content: ""; width: 28px; height: 3px; border-radius: 3px; background: var(--teal); }
.lead { font-size: 1.16rem; color: var(--ink-soft); max-width: 62ch; }
.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--center .lead { margin-left: auto; margin-right: auto; }
.text-teal { color: var(--teal-dark); }

.skip-link { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 1000; }
.skip-link:focus { left: 10px; top: 10px; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 4px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em; padding: .9em 1.6em;
  border-radius: 999px; font-weight: 700; text-decoration: none; border: 2px solid transparent; line-height: 1.2;
  transition: background .2s, color .2s, transform .2s, box-shadow .2s; cursor: pointer; font-size: 1rem; font-family: inherit;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--teal-dark); color: #fff; box-shadow: 0 8px 22px rgba(1,122,116,.28); }
.btn--primary:hover { background: var(--teal-deep); color: #fff; box-shadow: 0 12px 28px rgba(1,122,116,.35); }
.btn--ghost { border-color: var(--line); color: var(--ink); background: #fff; }
.btn--ghost:hover { border-color: var(--teal-dark); color: var(--teal-dark); }
.btn--light { border-color: rgba(255,255,255,.7); color: #fff; }
.btn--light:hover { background: #fff; color: var(--ink); }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.link-arrow { font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: .4em; }
.link-arrow::after { content: "→"; transition: transform .2s; }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- Topbar & Header ---------- */
.topbar { background: var(--dark); color: rgba(255,255,255,.78); font-size: .86rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; height: 40px; gap: 20px; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { color: var(--teal-glow); }
.topbar__links { display: flex; gap: 24px; }

.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.96);
  backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent; transition: box-shadow .25s, border-color .25s;
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(16,24,27,.08); border-color: var(--line); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 80px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); }
.brand img { height: 44px; width: auto; }
.brand span { font-size: .8rem; line-height: 1.3; color: var(--ink-soft); border-left: 1px solid var(--line); padding-left: 14px; font-weight: 500; }
.brand span b { display: block; color: var(--ink); font-weight: 700; }
.nav ul { list-style: none; display: flex; gap: 6px; margin: 0; padding: 0; align-items: center; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .97rem; padding: .5em .85em; border-radius: 8px; transition: color .2s, background .2s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--teal-dark); background: var(--teal-light); }
.nav .btn { color: #fff; padding: .7em 1.3em; margin-left: 10px; }
.nav .btn:hover { background: var(--teal-deep); color: #fff; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink); border-radius: 8px; }
.nav-toggle svg { width: 28px; height: 28px; }

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; min-height: min(86vh, 780px); display: flex; align-items: center; overflow: hidden; background: var(--dark); }
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 15% 60%, rgba(2,160,152,.28), transparent 55%),
    linear-gradient(100deg, rgba(12,20,23,.94) 0%, rgba(12,20,23,.78) 45%, rgba(12,20,23,.25) 100%);
}
.hero .container { position: relative; padding-top: 96px; padding-bottom: 120px; }
.hero__content { max-width: 680px; }
.hero .eyebrow { color: var(--teal-glow); }
.hero .eyebrow::before { background: var(--teal-glow); }
.hero h1 { margin-bottom: .4em; }
.hero h1 span { color: var(--teal-glow); display: block; }
.hero p { font-size: 1.2rem; color: rgba(255,255,255,.86); max-width: 56ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 40px; padding: 10px 18px 10px 10px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); border-radius: 999px; font-size: .92rem;
  backdrop-filter: blur(6px);
}
.hero__badge b { background: var(--teal); color: #fff; border-radius: 999px; padding: 4px 12px; font-size: .85rem; }

/* ---------- Trust-Leiste ---------- */
.trust { position: relative; z-index: 2; margin-top: -64px; }
.trust__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.trust__item { display: flex; gap: 16px; align-items: center; padding: 28px 26px; border-right: 1px solid var(--line); }
.trust__item:last-child { border-right: 0; }
.trust__item strong { display: block; font-size: 1.02rem; line-height: 1.3; }
.trust__item small { color: var(--ink-soft); font-size: .88rem; line-height: 1.4; display: block; }

.icon {
  flex: 0 0 52px; height: 52px; border-radius: 14px; background: var(--teal-light); color: var(--teal-dark);
  display: grid; place-items: center;
}
.icon svg { width: 26px; height: 26px; }

/* ---------- Leistungen ---------- */
.services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.service {
  background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  display: grid; grid-template-columns: 44% 1fr; transition: transform .3s, box-shadow .3s; position: relative;
}
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.service__img { position: relative; overflow: hidden; min-height: 100%; }
.service__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; position: absolute; inset: 0; }
.service:hover .service__img img { transform: scale(1.05); }
.service__body { padding: 30px 30px 28px; display: flex; flex-direction: column; }
.service__body p { color: var(--ink-soft); font-size: .98rem; }
.service ul { list-style: none; padding: 0; margin: 0 0 20px; }
.service li { padding: 5px 0 5px 26px; position: relative; color: var(--ink); font-size: .96rem; }
.service li::before {
  content: ""; position: absolute; left: 2px; top: 13px; width: 12px; height: 7px;
  border-left: 2.5px solid var(--teal); border-bottom: 2.5px solid var(--teal); transform: rotate(-45deg);
}
.service .link-arrow { margin-top: auto; }
.service .link-arrow::before { content: ""; position: absolute; inset: 0; } /* ganze Karte klickbar */
.tag-symbol {
  position: absolute; left: 10px; bottom: 10px; background: rgba(0,0,0,.6); color: #fff;
  font-size: .7rem; padding: 3px 9px; border-radius: 6px; z-index: 1; letter-spacing: .02em;
}

/* ---------- Über uns ---------- */
.about { display: grid; grid-template-columns: 5fr 7fr; gap: 72px; align-items: center; }
.about__img { position: relative; }
.about__img::before {
  content: ""; position: absolute; inset: 24px -24px -24px 24px; border-radius: var(--radius);
  background: repeating-linear-gradient(135deg, var(--teal-light) 0 12px, transparent 12px 24px); z-index: 0;
}
.about__img img { position: relative; z-index: 1; border-radius: var(--radius); box-shadow: var(--shadow); background: #fff; }
.about__badge {
  position: absolute; z-index: 2; left: -22px; bottom: 36px; background: var(--teal-dark); color: #fff;
  padding: 18px 24px; border-radius: var(--radius); box-shadow: var(--shadow-lg);
}
.about__badge strong { display: block; font-size: 2.1rem; line-height: 1; }
.about__badge small { font-size: .84rem; opacity: .9; }
.about__sign { font-weight: 700; margin-top: 8px; }
.about__sign small { display: block; font-weight: 500; color: var(--ink-soft); }
.values { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 32px; margin: 32px 0; }
.values > div { display: flex; gap: 14px; align-items: flex-start; }
.values .icon { flex-basis: 44px; height: 44px; border-radius: 12px; }
.values .icon svg { width: 22px; height: 22px; }
.values h3 { font-size: 1.02rem; margin: 2px 0 .15em; }
.values p { font-size: .94rem; color: var(--ink-soft); margin: 0; line-height: 1.5; }

/* ---------- Ablauf ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; position: relative; }
.step { background: #fff; border-radius: var(--radius); padding: 32px 26px; box-shadow: var(--shadow); position: relative; }
.step::before {
  counter-increment: step; content: counter(step);
  width: 46px; height: 46px; border-radius: 50%; background: var(--teal-dark); color: #fff; font-weight: 800;
  display: grid; place-items: center; margin-bottom: 18px; font-size: 1.1rem;
  box-shadow: 0 0 0 6px var(--teal-light);
}
.step p { color: var(--ink-soft); margin: 0; font-size: .97rem; }

/* ---------- Referenzen ---------- */
.gallery { display: grid; grid-template-columns: 1.6fr 1fr; gap: 18px; }
.gallery button {
  padding: 0; border: 0; cursor: zoom-in; border-radius: var(--radius); overflow: hidden; position: relative;
  aspect-ratio: 1; background: var(--line); font: inherit;
}
.gallery button:first-child { grid-row: span 2; aspect-ratio: auto; }
.gallery button img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.gallery button:hover img { transform: scale(1.05); }
.gallery figure { margin: 0; height: 100%; }
.gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 16px; text-align: left;
  color: #fff; font-weight: 700; background: linear-gradient(transparent, rgba(0,0,0,.72));
}
.gallery figcaption small { display: block; font-weight: 500; opacity: .85; font-size: .82rem; }

.lightbox {
  position: fixed; inset: 0; background: rgba(8,12,14,.94); display: none; align-items: center;
  justify-content: center; z-index: 500; padding: 20px;
}
.lightbox.is-open { display: flex; }
.lightbox img { max-height: 84vh; max-width: 100%; border-radius: 10px; margin: 0 auto; }
.lightbox p { color: #fff; text-align: center; margin-top: 14px; }
.lightbox__close {
  position: absolute; top: 16px; right: 16px; background: #fff; border: 0; width: 46px; height: 46px;
  border-radius: 50%; font-size: 1.6rem; cursor: pointer; line-height: 1; color: var(--ink);
}

/* ---------- Vorher / Nachher ---------- */
.ba-wrap { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 56px; align-items: center; margin-bottom: 56px; }
.ba-text h3 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); }
.ba-text p { color: var(--ink-soft); }
.ba {
  --pos: 50%; position: relative; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow-lg);
  aspect-ratio: 940 / 860; background: var(--line); user-select: none; -webkit-user-select: none; touch-action: pan-y;
}
.ba__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba__before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba__handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #fff;
  box-shadow: 0 0 12px rgba(0,0,0,.35); pointer-events: none;
}
.ba__handle::after {
  content: "‹ ›"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 50px; height: 50px; border-radius: 50%; background: var(--teal-dark); color: #fff; border: 3px solid #fff;
  display: grid; place-items: center; font-weight: 800; font-size: 1.25rem; letter-spacing: 2px; box-shadow: 0 6px 18px rgba(0,0,0,.3);
}
.ba__label {
  position: absolute; top: 16px; padding: 5px 12px; border-radius: 999px; font-size: .82rem; font-weight: 700;
  background: rgba(16,24,27,.72); color: #fff; pointer-events: none; letter-spacing: .03em;
}
.ba__label--before { left: 16px; }
.ba__label--after { right: 16px; background: var(--teal-dark); }
.ba__range {
  position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize;
  -webkit-appearance: none; appearance: none; background: transparent;
}
.ba__range::-webkit-slider-thumb { -webkit-appearance: none; width: 56px; height: 100vh; cursor: ew-resize; }
.ba__range::-moz-range-thumb { width: 56px; height: 100vh; border: 0; cursor: ew-resize; }
.ba:has(.ba__range:focus-visible) .ba__handle::after { outline: 3px solid var(--teal-glow); outline-offset: 3px; }
.prose .ba { margin: 0; }
.prose .ba img { box-shadow: none; border-radius: 0; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 14px; }
.faq details { background: #fff; border-radius: var(--radius-sm); box-shadow: var(--shadow); border: 1px solid transparent; transition: border-color .2s; }
.faq details[open] { border-color: var(--teal-light); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 60px 22px 26px; font-weight: 700; font-size: 1.05rem; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px;
  border-radius: 50%; background: var(--teal-light); color: var(--teal-dark); display: grid; place-items: center;
  font-size: 1.3rem; font-weight: 600; transition: transform .25s;
}
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 26px 22px; color: var(--ink-soft); }
.faq details > div p:last-child { margin: 0; }

/* ---------- CTA ---------- */
.cta {
  background: linear-gradient(120deg, var(--teal-deep), var(--teal-dark) 55%, var(--teal)); color: #fff;
  border-radius: calc(var(--radius) + 6px); padding: 60px; display: flex; justify-content: space-between;
  align-items: center; gap: 32px; flex-wrap: wrap; position: relative; overflow: hidden; box-shadow: var(--shadow-lg);
}
.cta::after {
  content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%;
  border: 40px solid rgba(255,255,255,.08);
}
.cta > * { position: relative; z-index: 1; }
.cta h2 { margin: 0 0 .3em; }
.cta p { margin: 0; color: rgba(255,255,255,.88); max-width: 52ch; }
.cta .btn { background: #fff; color: var(--teal-deep); box-shadow: none; }
.cta .btn:hover { background: var(--ink); color: #fff; }

/* ---------- Kontakt ---------- */
.contact { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.contact-list li { display: flex; gap: 18px; align-items: center; background: #fff; padding: 20px 22px; border-radius: var(--radius); box-shadow: var(--shadow); }
.contact-list small { display: block; color: var(--ink-soft); font-size: .84rem; }
.contact-list a, .contact-list strong { font-size: 1.12rem; font-weight: 700; color: var(--ink); text-decoration: none; word-break: break-word; }
.contact-list a:hover { color: var(--teal-dark); }
.map-card { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #fff; }
.map-card__visual {
  aspect-ratio: 16 / 10; display: grid; place-items: center; text-align: center; padding: 30px; line-height: 1.5;
  background:
    radial-gradient(circle at 50% 45%, rgba(2,160,152,.18), transparent 45%),
    repeating-linear-gradient(0deg, transparent 0 38px, #dde6e7 38px 40px),
    repeating-linear-gradient(90deg, transparent 0 38px, #dde6e7 38px 40px), #f2f6f6;
}
.map-card__visual svg { display: block; width: 56px; height: 56px; color: var(--teal-dark); margin: 0 auto 10px; }
.map-card__body { padding: 24px 26px; }
.map-card__body p { font-size: .88rem; color: var(--ink-soft); margin: 12px 0 0; }
.region { margin-top: 28px; color: var(--ink-soft); font-size: .98rem; }
.region a { font-weight: 600; }

/* ---------- Unterseiten ---------- */
.page-hero { position: relative; color: #fff; background: var(--dark); overflow: hidden; }
.page-hero__bg { position: absolute; inset: 0; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(12,20,23,.94), rgba(12,20,23,.6)); }
.page-hero .container { position: relative; padding-top: 72px; padding-bottom: 80px; }
.page-hero h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); max-width: 20ch; }
.page-hero p { color: rgba(255,255,255,.86); font-size: 1.15rem; max-width: 58ch; margin: 0; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 22px; font-size: .88rem; color: rgba(255,255,255,.7); }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; opacity: .6; }
.breadcrumb a { color: #fff; text-decoration: none; }
.breadcrumb a:hover { color: var(--teal-glow); }

.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 64px; align-items: start; }
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 1.95rem); margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.4em; }
.prose ul { padding-left: 0; list-style: none; }
.prose ul li { padding-left: 28px; position: relative; margin-bottom: 8px; }
.prose ul li::before {
  content: ""; position: absolute; left: 2px; top: 10px; width: 12px; height: 7px;
  border-left: 2.5px solid var(--teal); border-bottom: 2.5px solid var(--teal); transform: rotate(-45deg);
}
.prose figure { margin: 32px 0; }
.prose figure img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.prose figcaption { font-size: .86rem; color: var(--ink-soft); margin-top: 10px; }
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 28px 0; }
.feature { background: var(--bg-soft); border-radius: var(--radius-sm); padding: 22px; }
.feature h3 { margin: 0 0 .35em; font-size: 1.05rem; }
.feature p { margin: 0; font-size: .95rem; color: var(--ink-soft); }

.sidebar { position: sticky; top: 110px; display: grid; gap: 20px; }
.side-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; }
.side-card--teal { background: linear-gradient(140deg, var(--teal-deep), var(--teal-dark)); color: #fff; }
.side-card--teal p { color: rgba(255,255,255,.88); }
.side-card--teal .btn { background: #fff; color: var(--teal-deep); width: 100%; box-shadow: none; }
.side-card--teal .btn:hover { background: var(--ink); color: #fff; }
.side-card h3 { font-size: 1.15rem; }
.side-card ul { list-style: none; padding: 0; margin: 0; }
.side-card li a { display: block; padding: 10px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 600; }
.side-card li:last-child a { border-bottom: 0; }
.side-card li a:hover, .side-card li a[aria-current="page"] { color: var(--teal-dark); }

/* ---------- Footer ---------- */
.site-footer {
  position: relative; overflow: hidden; background: var(--dark); color: rgba(255,255,255,.72);
  padding: 0 0 28px; font-size: .95rem;
}
/* animierte Farbleiste oben */
.site-footer::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px;
  background: linear-gradient(90deg, var(--teal-deep), var(--teal), var(--teal-glow), var(--teal), var(--teal-deep));
  background-size: 200% 100%; animation: footerBar 8s linear infinite;
}
/* weicher Farbschein */
.site-footer::after {
  content: ""; position: absolute; right: -180px; top: -180px; width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(2,160,152,.22), transparent 65%); pointer-events: none;
}
@keyframes footerBar { from { background-position: 0 0; } to { background-position: 200% 0; } }
.site-footer .container { position: relative; z-index: 1; }
.site-footer a { color: rgba(255,255,255,.88); text-decoration: none; transition: color .2s, transform .2s, background .2s; }
.site-footer a:hover { color: var(--teal-glow); }

.footer-cta {
  display: flex; justify-content: space-between; align-items: center; gap: 28px 40px; flex-wrap: wrap;
  margin: 72px 0 64px; padding: 40px 44px; border-radius: calc(var(--radius) + 4px);
  background: linear-gradient(120deg, rgba(2,160,152,.20), rgba(2,160,152,.04) 70%);
  border: 1px solid rgba(111,224,217,.18);
}
.footer-cta__eyebrow { margin: 0 0 .5em; color: var(--teal-glow); font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.footer-cta__title { color: #fff; font-size: clamp(1.5rem, 2.8vw, 2.1rem); margin: 0 0 .3em; }
.footer-cta__text { margin: 0; color: rgba(255,255,255,.75); }
.footer-cta__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.footer-cta .btn--primary { animation: callPulse 2.6s ease-out infinite; }
.footer-cta .btn--primary:hover, .footer-cta .btn--light:hover { color: var(--ink); }
.footer-cta .btn--primary:hover { background: #fff; }
@keyframes callPulse {
  0% { box-shadow: 0 0 0 0 rgba(2,160,152,.55); }
  70% { box-shadow: 0 0 0 16px rgba(2,160,152,0); }
  100% { box-shadow: 0 0 0 0 rgba(2,160,152,0); }
}

.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr .8fr; gap: 44px; }
.footer-grid h2 {
  color: #fff; font-size: .95rem; margin-bottom: 1.2em; letter-spacing: .02em; position: relative; padding-bottom: 12px;
}
.footer-grid h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 28px; height: 3px; border-radius: 3px; background: var(--teal); }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-grid address { font-style: normal; }

.footer-logo { display: inline-block; margin-bottom: 20px; }
.footer-logo img { height: 64px; width: auto; filter: drop-shadow(0 0 22px rgba(2,160,152,.28)); transition: transform .3s; }
.footer-logo:hover img { transform: scale(1.04) rotate(-1deg); }
.footer-brand p { max-width: 36ch; }
.footer-badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); font-size: .86rem;
}
.footer-badge b { background: var(--teal-dark); color: #fff; border-radius: 999px; padding: 3px 10px; font-size: .8rem; }

.footer-links a { display: inline-flex; align-items: center; }
.footer-links a::before {
  content: ""; width: 0; height: 2px; margin-right: 0; border-radius: 2px; background: var(--teal-glow);
  transition: width .25s, margin-right .25s;
}
.footer-links a:hover::before { width: 14px; margin-right: 8px; }

.footer-contact li { display: flex; align-items: center; gap: 12px; line-height: 1.45; }
.footer-contact__icon {
  flex: 0 0 36px; height: 36px; border-radius: 10px; display: grid; place-items: center;
  background: rgba(255,255,255,.06); color: var(--teal-glow); transition: background .2s, color .2s;
}
.footer-contact__icon svg { width: 18px; height: 18px; }
.footer-contact li:hover .footer-contact__icon { background: var(--teal-dark); color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); margin-top: 56px; padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: .85rem;
}
.to-top {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18);
}
.site-footer .to-top:hover { background: var(--teal-dark); border-color: var(--teal-dark); color: #fff; }

/* ---------- Mobile Call-Button ---------- */
.call-fab {
  display: none; position: fixed; right: 16px; bottom: 16px; z-index: 200; background: var(--teal-dark); color: #fff;
  border-radius: 999px; padding: 14px 22px; font-weight: 700; text-decoration: none; box-shadow: 0 10px 28px rgba(0,0,0,.28);
  align-items: center; gap: 8px; padding-bottom: max(14px, env(safe-area-inset-bottom));
}
.call-fab:hover { color: #fff; background: var(--teal-deep); }
.call-fab svg { width: 20px; height: 20px; }

/* ---------- Rechtstexte ---------- */
.legal { padding: 72px 0 96px; }
.legal .container { max-width: 860px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.legal h2 { font-size: 1.3rem; margin-top: 2.1em; padding-top: 1.2em; border-top: 1px solid var(--line); }
.legal h2:first-of-type { border-top: 0; padding-top: 0; }
.legal address { font-style: normal; }
.legal ul { padding-left: 1.3em; }

/* ---------- Animation ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .trust__grid { grid-template-columns: 1fr 1fr; }
  .trust__item:nth-child(2) { border-right: 0; }
  .trust__item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .services { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .content-grid { grid-template-columns: 1fr; gap: 48px; }
  .sidebar { position: static; }
}
@media (max-width: 900px) {
  .topbar__info { display: none; }
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 80px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line);
    display: none; box-shadow: 0 20px 40px rgba(16,24,27,.12);
  }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 20px; }
  .nav li a { display: block; padding: 14px 6px; border-radius: 0; border-bottom: 1px solid var(--line); }
  .nav li a:hover { background: none; }
  .nav li:last-child a { border: 0; margin: 14px 0 0; text-align: center; padding: 14px; border-radius: 999px; }
  .about, .contact, .ba-wrap { grid-template-columns: 1fr; }
  .ba-wrap { gap: 28px; }
  .about { gap: 56px; }
  .about__img { max-width: 440px; margin-left: 24px; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery button:first-child { grid-column: span 2; grid-row: auto; aspect-ratio: 16/10; }
  .call-fab { display: inline-flex; }
  .section { padding: 76px 0; }
  .cta { padding: 40px 30px; }
  .hero .container { padding-bottom: 110px; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .container { padding: 0 16px; }
  .topbar { display: none; }
  .site-header .container { height: 70px; }
  .nav { top: 70px; }
  .brand img { height: 38px; }
  .brand span { display: none; }
  .trust__grid, .steps, .values, .feature-grid { grid-template-columns: 1fr; }
  .trust__item { border-right: 0 !important; border-bottom: 1px solid var(--line); padding: 20px; }
  .trust__item:last-child { border-bottom: 0; }
  .service { grid-template-columns: 1fr; }
  .service__img { aspect-ratio: 16 / 10; }
  .gallery { gap: 10px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-cta { padding: 28px 22px; margin: 56px 0 48px; }
  .footer-cta__actions, .footer-cta__actions .btn { width: 100%; }
  .footer-logo img { height: 54px; }
  .hero { min-height: 0; }
  .hero .container { padding-top: 64px; }
  .hero .eyebrow { letter-spacing: .1em; font-size: .72rem; }
  .hero .eyebrow::before { display: none; }
  .hero__actions .btn { width: 100%; }
  .about__img { margin-left: 0; margin-right: 24px; }
  .about__badge { left: 12px; }
  .faq summary { padding: 18px 56px 18px 20px; font-size: 1rem; }
  .faq details > div { padding: 0 20px 18px; }
  .site-footer { padding-bottom: 96px; }
}

@media print {
  .topbar, .site-header, .call-fab, .site-footer, .hero__bg, .page-hero__bg, .sidebar { display: none; }
  .hero, .page-hero { color: #000; background: none; min-height: 0; }
  .js .reveal { opacity: 1; transform: none; }
}
