/* ===== Schrift (lokal, DSGVO-konform) ===== */
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("fonts/outfit-latin.woff2") format("woff2");
}

/* ===== Vision Montageservice – Farben aus der Visitenkarte ===== */
:root {
  --blue: #1f2fa8;
  --violet: #3b1f96;
  --navy: #10155a;
  --ink: #161a3a;
  --text: #474c6b;
  --muted: #8a8fae;
  --line: #e4e6f3;
  --soft: #f4f5fc;
  --white: #fff;
  --grad: linear-gradient(120deg, var(--blue), var(--violet));
  --radius: 18px;
  --shadow: 0 18px 40px -18px rgba(31, 47, 168, .35);
  --container: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; overflow-x: clip; }
body { overflow-x: clip; }
body {
  margin: 0;
  font-family: "Outfit", system-ui, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; margin: 0 0 .5em; font-weight: 700; }
svg { width: 1.2em; height: 1.2em; flex-shrink: 0; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .9em 1.5em; border-radius: 999px; font-weight: 600; font-size: 1rem;
  border: 2px solid transparent; cursor: pointer; font-family: inherit;
  transition: transform .2s, box-shadow .2s, background .2s, color .2s;
}
.btn--primary { background: var(--grad); color: #fff; box-shadow: var(--shadow); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 22px 44px -16px rgba(31, 47, 168, .55); }
.btn--ghost { border-color: var(--line); color: var(--ink); background: #fff; }
.btn--ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn--block { width: 100%; }

.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--blue); margin-bottom: .8rem;
}
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ===== Topbar ===== */
.topbar { background: var(--navy); color: #c9cdf2; font-size: .88rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; padding-top: 8px; padding-bottom: 8px; gap: 1rem; }
.topbar strong { color: #fff; font-weight: 500; }
.topbar__links { display: flex; gap: 1.5rem; }
.topbar__links a { display: inline-flex; align-items: center; gap: .45em; transition: color .2s; }
.topbar__links a:hover { color: #fff; }
.topbar svg { width: 1em; height: 1em; }

/* ===== Header ===== */
.header {
  position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.header.is-scrolled { border-color: var(--line); box-shadow: 0 8px 30px -20px rgba(16, 21, 90, .3); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 78px; gap: 1.5rem; }

.logo { display: flex; align-items: center; gap: .7rem; color: var(--blue); }
.logo__mark { width: 44px; height: 44px; color: var(--blue); }
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__name { font-size: 1.7rem; font-weight: 600; letter-spacing: .06em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.logo__sub { font-size: .62rem; font-weight: 600; letter-spacing: .2em; color: var(--violet); margin-top: 3px; }
.logo--light .logo__mark { color: #fff; }
.logo--light .logo__name { background: none; color: #fff; }
.logo--light .logo__sub { color: #b9bdf0; }

.nav { display: flex; align-items: center; gap: .3rem; }
.nav a:not(.btn) {
  padding: .5em .8em; border-radius: 10px; font-weight: 500; color: var(--ink); font-size: .98rem;
  position: relative; transition: color .2s, background .2s;
}
.nav a:not(.btn):hover, .nav a.is-active { color: var(--blue); background: var(--soft); }
.nav__cta { margin-left: .6rem; padding: .7em 1.3em; font-size: .95rem; }

.burger { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; padding: 10px; }
.burger span { display: block; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: transform .3s, opacity .3s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
  position: relative; overflow: hidden; padding: 90px 0 130px; color: #c9cdf2;
  background: linear-gradient(160deg, #0d1150 0%, #141a6e 55%, #24168a 100%);
}
.hero::before {
  /* feines Raster */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 30% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 30% 40%, #000 30%, transparent 75%);
}
.hero__glow {
  position: absolute; width: 720px; height: 720px; right: -180px; top: -260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(120, 90, 255, .55), transparent 65%); filter: blur(20px); pointer-events: none;
}
.hero__inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 70px; align-items: center; position: relative; }
.hero h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 800; letter-spacing: -.025em; color: #fff; margin-top: 1.4rem; }
.grad-light { background: linear-gradient(100deg, #9fb0ff, #c7a8ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 1.15rem; max-width: 34em; margin: 0 0 2.2rem; }
.pill {
  display: inline-flex; align-items: center; gap: .6em; padding: .45em 1em; border-radius: 999px; font-size: .88rem; font-weight: 500;
  color: #fff; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(6px);
}
.pill__dot { width: 8px; height: 8px; border-radius: 50%; background: #3ee08f; box-shadow: 0 0 0 4px rgba(62,224,143,.2); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(62,224,143,0); } }
.hero__actions { display: flex; gap: .8rem; flex-wrap: wrap; }
.btn--white { background: #fff; color: var(--navy); box-shadow: 0 18px 40px -16px rgba(0,0,0,.5); }
.btn--white:hover { transform: translateY(-2px); }
.btn--outline-light { border-color: rgba(255,255,255,.28); color: #fff; }
.btn--outline-light:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.hero__usp { list-style: none; padding: 0; margin: 2.2rem 0 0; display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; font-weight: 500; color: #fff; font-size: .96rem; }
.hero__usp li { display: flex; align-items: center; gap: .45em; }
.hero__usp svg { color: #3ee08f; width: 1.2em; height: 1.2em; }

/* Bild-Collage */
.hero__collage { position: relative; height: 560px; }
.hc { position: absolute; margin: 0; overflow: hidden; border-radius: 26px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.7); }
.hc img { width: 100%; height: 100%; object-fit: cover; }
.hc--main { right: 0; top: 0; width: 76%; height: 100%; border: 6px solid rgba(255,255,255,.08); }
.hc--small { left: 0; bottom: 40px; width: 42%; height: 52%; border: 6px solid #fff; }
.hc-card {
  position: absolute; display: flex; gap: 12px; align-items: center; padding: 12px 18px 12px 12px; border-radius: 16px;
  background: rgba(255,255,255,.96); box-shadow: 0 24px 50px -20px rgba(0,0,0,.55); animation: float 6s ease-in-out infinite;
}
.hc-card strong { display: block; color: var(--ink); font-size: .98rem; line-height: 1.2; }
.hc-card span:not(.hc-card__icon) { font-size: .82rem; color: var(--muted); }
.hc-card__icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--grad); color: #fff; }
.hc-card__icon svg { width: 22px; height: 22px; }
.hc-card--top { left: 4%; top: 36px; }
.hc-card--bottom { right: -18px; bottom: 70px; animation-delay: -3s; }
@keyframes float { 50% { transform: translateY(-10px); } }

/* ===== Quick-Leiste ===== */
.quick { margin-top: -40px; position: relative; z-index: 2; }
.quick__grid {
  display: grid; grid-template-columns: repeat(6, 1fr); background: #fff; border-radius: var(--radius);
  box-shadow: 0 20px 50px -24px rgba(16, 21, 90, .35); border: 1px solid var(--line); padding: 8px;
}
.quick a {
  display: flex; flex-direction: column; align-items: center; gap: .5rem; padding: 18px 8px;
  font-weight: 600; color: var(--ink); border-radius: 12px; font-size: .95rem; text-align: center;
  transition: background .2s, color .2s;
}
.quick a svg { width: 34px; height: 34px; color: var(--blue); transition: transform .25s; }
.quick a:hover { background: var(--soft); color: var(--blue); }
.quick a:hover svg { transform: translateY(-3px); }

/* ===== Sections ===== */
.section { padding: 100px 0; }
.section--soft { background: var(--soft); }
.section--dark { background: var(--navy); background-image: radial-gradient(800px 400px at 80% 0%, rgba(90, 60, 220, .35), transparent 60%); }
.section__head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section__head h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); letter-spacing: -.01em; }
.section__head p { margin: 0; font-size: 1.08rem; }
.section__head--light h2 { color: #fff; }
.section__head--light p { color: #c9cdf2; }
.section__head--light .eyebrow { color: #a9b1ff; }

/* ===== Leistungen ===== */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px;
  position: relative; overflow: hidden; transition: transform .25s, box-shadow .25s, border-color .25s;
  scroll-margin-top: 110px;
}
.service::after {
  content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 100%; background: var(--grad);
  transform: scaleX(0); transform-origin: left; transition: transform .35s;
}
.service:hover, .service:target { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.service:hover::after, .service:target::after { transform: scaleX(1); }
.service__icon {
  width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center;
  background: var(--soft); color: var(--blue); margin-bottom: 20px; transition: background .25s, color .25s;
}
.service:hover .service__icon, .service:target .service__icon { background: var(--grad); color: #fff; }
.service__icon svg { width: 30px; height: 30px; }
.service h3 { font-size: 1.3rem; }
.service p { margin: 0 0 1rem; }
.service ul { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); padding-top: 1rem; }
.service li { position: relative; padding-left: 1.4em; margin: .35em 0; color: var(--ink); font-weight: 500; font-size: .96rem; }
.service li::before {
  content: ""; position: absolute; left: 0; top: .5em; width: .55em; height: .55em; border-radius: 2px;
  background: var(--grad); transform: rotate(45deg);
}

/* ===== Warum Vision ===== */
.why__inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: center; }
.why__text h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); }
.why__text p { margin: 0 0 1.8rem; font-size: 1.08rem; }
.why__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.feat { background: #fff; border-radius: var(--radius); padding: 26px; border: 1px solid var(--line); transition: transform .25s, box-shadow .25s; }
.feat:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feat__icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--soft); color: var(--blue); margin-bottom: 14px; }
.feat__icon svg { width: 22px; height: 22px; }
.feat h3 { font-size: 1.1rem; margin-bottom: .3em; }
.feat p { margin: 0; font-size: .95rem; }

/* ===== Vorher / Nachher ===== */
.ba { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.ba__item { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); }
.ba__item img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.ba__item figcaption { position: absolute; left: 16px; top: 16px; }
.tag { display: inline-block; padding: .35em .9em; border-radius: 999px; font-weight: 600; font-size: .85rem; letter-spacing: .04em; }
.tag--before { background: rgba(255, 255, 255, .92); color: var(--ink); }
.tag--after { background: var(--grad); color: #fff; }
.ba__arrow { width: 56px; height: 56px; border-radius: 50%; background: #fff; color: var(--blue); display: grid; place-items: center; }
.ba__arrow svg { width: 26px; height: 26px; }

/* ===== Galerie ===== */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: -24px 0 36px; }
.filter {
  font: inherit; font-weight: 600; font-size: .95rem; padding: .6em 1.2em; border-radius: 999px; cursor: pointer;
  border: 1.5px solid var(--line); background: #fff; color: var(--ink); transition: all .2s;
}
.filter:hover { border-color: var(--blue); color: var(--blue); }
.filter.is-active { background: var(--grad); color: #fff; border-color: transparent; box-shadow: var(--shadow); }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px; grid-auto-flow: dense; gap: 16px; }
.gallery__item--wide { grid-column: span 2; }
.gallery__item[hidden] { display: none; }
.gallery__item {
  position: relative; border: 0; padding: 0; border-radius: 16px; overflow: hidden; cursor: zoom-in;
  background: var(--soft); font-family: inherit;
}
.gallery__item--tall { grid-row: span 2; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery__item span {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 16px 14px; text-align: left;
  color: #fff; font-weight: 600; font-size: .95rem;
  background: linear-gradient(transparent, rgba(16, 21, 90, .85));
  display: flex; flex-direction: column;
  opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .3s;
}
.gallery__item span em { font-style: normal; font-size: .72rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: #b9c2ff; }
.gallery__item:hover img { transform: scale(1.06); }
.gallery__item:hover span, .gallery__item:focus-visible span { opacity: 1; transform: none; }

/* ===== Ablauf ===== */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: s; }
.step { background: #fff; border-radius: var(--radius); padding: 36px 30px; border: 1px solid var(--line); position: relative; }
.step__num {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--grad);
  color: #fff; font-weight: 700; font-size: 1.3rem; margin-bottom: 18px; box-shadow: var(--shadow);
}
.step h3 { font-size: 1.25rem; }
.step p { margin: 0; }

/* ===== Kontakt ===== */
.contact { display: grid; grid-template-columns: 1fr 1.05fr; gap: 60px; align-items: start; }
.contact__info h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); }
.contact__list { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 18px; }
.contact__list li { display: flex; align-items: center; gap: 16px; }
.contact__icon {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0;
  background: radial-gradient(circle at 30% 30%, #3346c9, var(--navy)); color: #fff;
}
.contact__icon--wa { background: #25d366; }
.contact__icon svg { width: 24px; height: 24px; }
.contact__list small { display: block; color: var(--muted); font-size: .82rem; }
.contact__list strong, .contact__list a { color: var(--ink); font-weight: 600; font-size: 1.1rem; }
.contact__list a:hover { color: var(--blue); }

.form { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 36px; box-shadow: 0 30px 60px -36px rgba(16, 21, 90, .35); }
.form h3 { font-size: 1.4rem; margin-bottom: 1.2rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: block; font-weight: 500; color: var(--ink); font-size: .92rem; margin-bottom: 16px; }
.form input, .form select, .form textarea {
  display: block; width: 100%; margin-top: 6px; padding: .85em 1em; border-radius: 12px;
  border: 1.5px solid var(--line); font: inherit; color: var(--ink); background: var(--soft);
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.form textarea { resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(31, 47, 168, .12);
}
.form .is-invalid { border-color: #d33b52; }
.form__note { margin: .8rem 0 0; font-size: .82rem; color: var(--muted); text-align: center; }

/* ===== Footer ===== */
.footer { background: var(--navy); color: #b9bdf0; padding: 70px 0 0; }
.footer__inner { display: grid; grid-template-columns: 1.2fr 2fr; gap: 50px; }
.footer__brand p { margin: 1.2rem 0 0; font-size: .95rem; }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 1rem; }
.footer__cols a { display: block; margin: .45em 0; font-size: .95rem; transition: color .2s; }
.footer__cols a:hover { color: #fff; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 50px; padding-top: 22px; padding-bottom: 22px; font-size: .88rem; }

/* ===== Mobile-Leiste ===== */
.mobilebar { display: none; }

/* ===== Lightbox ===== */
.lightbox {
  position: fixed; inset: 0; z-index: 100; background: rgba(10, 12, 40, .92); display: grid; place-items: center; padding: 30px;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 88vh; max-width: 100%; border-radius: 14px; }
.lightbox__nav {
  position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%;
  border: 0; background: rgba(255,255,255,.12); color: #fff; font-size: 2rem; line-height: 1; cursor: pointer; transition: background .2s;
}
.lightbox__nav:hover { background: rgba(255,255,255,.25); }
.lightbox__nav--prev { left: 20px; }
.lightbox__nav--next { right: 20px; }
.lightbox__close {
  position: absolute; top: 18px; right: 22px; background: none; border: 0; color: #fff; font-size: 2.6rem; cursor: pointer; line-height: 1;
}

/* ===== Scroll-Animation ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ===== Responsive ===== */
@media (max-width: 1080px) {
  .burger { display: block; }
  .nav {
    position: fixed; top: 0; right: 0; height: 100vh; width: min(320px, 85vw); background: #fff;
    flex-direction: column; align-items: stretch; padding: 100px 24px 24px; gap: .2rem;
    box-shadow: -20px 0 60px -20px rgba(16, 21, 90, .35); transform: translateX(100%); visibility: hidden;
    transition: transform .35s ease, visibility 0s .35s;
  }
  .nav.is-open { transform: none; visibility: visible; transition: transform .35s ease; }
  .nav a:not(.btn) { padding: .8em 1em; font-size: 1.05rem; }
  .nav__cta { margin: 1rem 0 0; }
  .burger { position: relative; z-index: 60; }
  .quick__grid { grid-template-columns: repeat(3, 1fr); }
  .services { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  body { font-size: 16px; padding-bottom: 64px; }
  .topbar span:first-child { display: none; }
  .topbar__inner { justify-content: center; }
  .hero { padding: 50px 0 100px; }
  .hero__inner { grid-template-columns: 1fr; gap: 50px; }
  .hero__collage { height: 440px; }
  .hc-card--bottom { right: 8px; }
  .why__inner { grid-template-columns: 1fr; gap: 36px; }
  .section { padding: 70px 0; }
  .ba { grid-template-columns: 1fr; }
  .ba__arrow { transform: rotate(90deg); margin: 0 auto; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .gallery__item span { opacity: 1; transform: none; font-size: .85rem; padding: 24px 12px 10px; }
  .filters { margin-top: -16px; }
  .lightbox__nav { top: auto; bottom: 24px; transform: none; }
  .steps { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; gap: 40px; }
  .footer__inner { grid-template-columns: 1fr; }
  .mobilebar {
    display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    box-shadow: 0 -8px 30px -12px rgba(16, 21, 90, .35);
  }
  .mobilebar a { display: flex; align-items: center; justify-content: center; gap: .5em; padding: 18px; font-weight: 600; color: #fff; background: var(--grad); }
  .mobilebar .mobilebar__wa { background: #25d366; }
}

@media (max-width: 560px) {
  .topbar__links a:last-child { display: none; }
  .logo__mark { width: 38px; height: 38px; }
  .logo__name { font-size: 1.45rem; }
  .quick__grid { grid-template-columns: repeat(2, 1fr); }
  .services { grid-template-columns: 1fr; }
  .why__grid { grid-template-columns: 1fr; }
  .hero__collage { height: 380px; }
  .hc--main { width: 82%; }
  .hc-card { padding: 10px 14px 10px 10px; }
  .hc-card--top { top: 16px; left: 0; }
  .form { padding: 26px 20px; }
  .form__row { grid-template-columns: 1fr; gap: 0; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
}

/* =====================================================================
   Erweiterungen: Leistungsseiten, Dropdown-Navigation, FAQ, Conversion
   ===================================================================== */

/* ----- Navigation mit Dropdowns ----- */
.nav__group { position: relative; }
.nav__toggle {
  display: inline-flex; align-items: center; gap: .3em; background: none; border: 0; cursor: pointer;
  font: inherit; font-weight: 500; font-size: .98rem; color: var(--ink); padding: .5em .7em; border-radius: 10px;
  transition: color .2s, background .2s;
}
.nav__toggle svg { width: 1em; height: 1em; transition: transform .2s; }
.nav__toggle:hover, .nav__group.is-current > .nav__toggle { color: var(--blue); background: var(--soft); }
.nav__menu {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 240px; padding: 8px; background: #fff;
  border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 24px 50px -20px rgba(16, 21, 90, .35);
  display: grid; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility 0s .18s;
}
.nav__menu::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.nav .nav__menu a { padding: .6em .8em; font-size: .95rem; border-radius: 8px; white-space: nowrap; }
.nav__group:hover .nav__menu, .nav__group:focus-within .nav__menu, .nav__group.is-open .nav__menu {
  opacity: 1; visibility: visible; transform: none; transition: opacity .18s, transform .18s;
}
.nav__group:hover .nav__toggle svg, .nav__group.is-open .nav__toggle svg { transform: rotate(180deg); }
.nav .nav__phone { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; color: var(--blue); }
.nav__phone svg { width: 1em; height: 1em; }
.nav__toggle, .nav a, .nav__cta { white-space: nowrap; }
@media (min-width: 1081px) { .nav .nav__phone { display: none; } .nav { gap: .15rem; } }
@media (min-width: 1081px) and (max-width: 1200px) { .nav__toggle, .nav .nav__link { padding: .5em .5em; font-size: .93rem; } .nav__cta { padding: .7em 1em; } }

/* ----- Buttons ----- */
.btn--wa { background: #25d366; color: #fff; box-shadow: 0 16px 34px -16px rgba(37, 211, 102, .8); }
.btn--wa:hover { background: #1ebe5b; transform: translateY(-2px); }

/* ----- Seiten-Hero (Leistungsseiten) ----- */
.page-hero {
  position: relative; overflow: hidden; padding: 56px 0 72px; color: #c9cdf2;
  background: linear-gradient(160deg, #0d1150 0%, #141a6e 55%, #24168a 100%);
}
.page-hero--compact { padding: 48px 0 56px; }
.page-hero__inner { display: grid; grid-template-columns: 1.25fr .75fr; gap: 56px; align-items: center; position: relative; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 3.1rem); font-weight: 800; letter-spacing: -.02em; margin: 1rem 0 .6rem; }
.page-hero .lead { margin-bottom: 1.8rem; }
.page-hero__img { margin: 0; border-radius: 24px; overflow: hidden; border: 6px solid rgba(255, 255, 255, .08); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7); }
.page-hero__img img { width: 100%; height: 420px; object-fit: cover; }
.breadcrumbs { font-size: .85rem; margin-bottom: 1rem; color: #a9b1ff; position: relative; }
.breadcrumbs a { color: #c9cdf2; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255,255,255,.3); }
.breadcrumbs a:hover { color: #fff; }
.breadcrumbs span[aria-current] { color: #fff; }
.breadcrumbs--dark { color: var(--muted); }
.breadcrumbs--dark a { color: var(--blue); }
.breadcrumbs--dark span[aria-current] { color: var(--ink); }

/* ----- Inhalt + Seitenleiste ----- */
.content { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; align-items: start; }
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.4rem, 2.6vw, 1.8rem); margin: 2.2rem 0 .8rem; }
.prose p { margin: 0 0 1.1rem; }
.prose a, .svc-index a span a { color: var(--blue); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--ink); }
.checklist { list-style: none; padding: 0; margin: 0 0 1.4rem; display: grid; gap: .55rem; }
.checklist li { position: relative; padding-left: 1.9em; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .2em; width: 1.25em; height: 1.25em; border-radius: 50%; background: var(--grad); }
.checklist li::after {
  content: ""; position: absolute; left: .45em; top: .44em; width: .34em; height: .62em;
  border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.aside { position: sticky; top: 100px; display: grid; gap: 20px; }
.aside__card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.aside__card--cta { background: var(--soft); border-color: transparent; }
.aside__card .btn { margin-top: 10px; }
.aside__title { font-size: 1.15rem; margin-bottom: .5rem; }
.aside__card p { margin: 0 0 .4rem; font-size: .95rem; }
.aside__list { list-style: none; padding: 0; margin: 0 0 .8rem; }
.aside__list a { display: block; padding: .45em 0; color: var(--ink); font-weight: 500; border-bottom: 1px solid var(--line); }
.aside__list a:hover, .aside__list a[aria-current] { color: var(--blue); }
.aside__link { display: inline-block; margin-top: 12px; color: var(--blue); font-weight: 600; font-size: .95rem; }

/* ----- Galerie auf Leistungsseiten ----- */
.gallery--page { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 320px; }
.gallery--page .gallery__item span { opacity: 1; transform: none; }

/* ----- Ablauf mit 4 Schritten ----- */
.steps--4 { grid-template-columns: repeat(4, 1fr); }

/* ----- FAQ ----- */
.faq__list { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: 14px; transition: box-shadow .2s; }
.faq__item[open] { box-shadow: var(--shadow); border-color: transparent; }
.faq__item summary {
  cursor: pointer; list-style: none; padding: 18px 60px 18px 22px; font-weight: 600; color: var(--ink); position: relative; font-size: 1.04rem;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center; background: var(--soft); color: var(--blue); font-size: 1.2rem;
}
.faq__item[open] summary::after { content: "–"; background: var(--grad); color: #fff; }
.faq__item p { margin: 0; padding: 0 22px 20px; }

/* ----- Leistungsübersicht (Startseite) ----- */
.svc-groups { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.svc-group { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: box-shadow .25s; }
.svc-group:hover { box-shadow: var(--shadow); }
.svc-group__head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.svc-group__head .service__icon { margin: 0; width: 52px; height: 52px; background: var(--grad); color: #fff; }
.svc-group__title { margin: 0; font-size: 1.3rem; }
.svc-group__list { display: grid; gap: 4px; }
.svc-card {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; color: var(--ink); font-weight: 600;
  transition: background .2s, color .2s;
}
.svc-card:hover { background: var(--soft); color: var(--blue); }
.svc-card__icon { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--soft); color: var(--blue); flex-shrink: 0; }
.svc-card__icon svg { width: 20px; height: 20px; }
.svc-card__name { flex: 1; }
.svc-card__arrow { width: 18px; height: 18px; color: var(--muted); transition: transform .2s, color .2s; }
.svc-card:hover .svc-card__arrow { transform: translateX(3px); color: var(--blue); }
.svc-related { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.svc-related .svc-card { border: 1px solid var(--line); background: #fff; padding: 18px; }

/* ----- Leistungen-Seite ----- */
.svc-index { margin-bottom: 48px; }
.svc-index h2 { font-size: 1.6rem; }
.svc-index ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.svc-index a { display: block; height: 100%; padding: 22px; border: 1px solid var(--line); border-radius: 14px; transition: box-shadow .2s, border-color .2s; }
.svc-index a:hover { box-shadow: var(--shadow); border-color: transparent; }
.svc-index strong { display: block; color: var(--ink); font-size: 1.1rem; margin-bottom: .3rem; }
.svc-index span { font-size: .95rem; }

/* ----- Formular ----- */
.form__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form__note.is-error { color: #d33b52; font-weight: 500; }

/* ----- WhatsApp schwebend (Desktop) ----- */
.wa-float {
  position: fixed; right: 24px; bottom: 24px; z-index: 45; width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 16px 34px -10px rgba(0, 0, 0, .35);
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 32px; height: 32px; }

/* ----- Footer & Rechtliches ----- */
.footer__h { color: #fff; font-size: 1rem; margin-bottom: 1rem; }
.footer__contact { line-height: 1.9; }
.footer__contact a:hover, .footer__bottom a:hover { color: #fff; }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; }
.footer .footer__cols { grid-template-columns: repeat(4, 1fr); }
.legal { max-width: 800px; padding-top: 50px; padding-bottom: 100px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.6rem); }
.legal h2 { font-size: 1.25rem; margin-top: 2rem; }
.legal a { color: var(--blue); }
.todo { background: #fff4d6; padding: 0 .3em; border-radius: 4px; }
.notfound .btn { margin: .3rem .3rem 0 0; }

/* ----- Responsive ----- */
@media (max-width: 1080px) {
  .nav { overflow-y: auto; }
  .nav__group { border-bottom: 1px solid var(--line); padding: .3rem 0; }
  .nav__toggle { width: 100%; justify-content: space-between; font-weight: 700; font-size: 1.05rem; padding: .7em 1em; pointer-events: none; }
  .nav__toggle svg { display: none; }
  .nav__menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 .4rem .6rem; min-width: 0; }
  .nav__menu::before { display: none; }
  .nav .nav__menu a { padding: .45em 1em; font-size: .98rem; color: var(--text); }
  .nav .nav__phone { padding: .8em 1em; }
  .content { grid-template-columns: 1fr; }
  .aside { position: static; grid-template-columns: 1fr 1fr; }
  .steps--4 { grid-template-columns: repeat(2, 1fr); }
  .svc-related { grid-template-columns: repeat(2, 1fr); }
  .footer .footer__cols { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .page-hero__inner { grid-template-columns: 1fr; gap: 32px; }
  .page-hero__img img { height: 280px; }
  .svc-groups { grid-template-columns: 1fr; }
  .svc-index ul { grid-template-columns: 1fr; }
  .gallery--page { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 220px; }
  .wa-float { display: none; }
}
@media (max-width: 560px) {
  .aside { grid-template-columns: 1fr; }
  .steps--4 { grid-template-columns: 1fr; }
  .svc-related { grid-template-columns: 1fr; }
  .form__actions { grid-template-columns: 1fr; }
  .gallery--page { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; }
  .page-hero .hero__actions .btn { flex: 1 1 100%; }
  .footer .footer__cols { grid-template-columns: 1fr 1fr; }
}

/* ----- Flächenrechner (Malerarbeiten) ----- */
.calc { margin: 2.4rem 0 1rem; padding: 28px; border-radius: var(--radius); background: var(--soft); border: 1px solid var(--line); }
.prose .calc__title { margin-top: 0; font-size: 1.3rem; }
.calc__note { font-size: .92rem; color: var(--muted); }
.calc__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 1rem 0 .6rem; }
.calc label { display: block; font-size: .85rem; font-weight: 600; color: var(--ink); }
.calc input[type="text"] {
  display: block; width: 100%; margin-top: 6px; padding: .7em .8em; border-radius: 10px; border: 1.5px solid var(--line);
  font: inherit; color: var(--ink); background: #fff;
}
.calc input[type="text"]:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(31, 47, 168, .12); }
.calc__check { display: inline-flex !important; align-items: center; gap: .5em; margin: .4rem 0 1rem; font-weight: 500 !important; }
.calc__check input { width: 18px; height: 18px; accent-color: var(--blue); }
.calc__result { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 1rem; }
.calc__result > div { background: #fff; border-radius: 12px; padding: 14px 16px; border: 1px solid var(--line); }
.calc__result small { display: block; color: var(--muted); font-size: .8rem; }
.calc__result strong { font-size: 1.35rem; color: var(--ink); }
.calc__result .calc__total { background: var(--grad); border-color: transparent; }
.calc__total small, .calc__total strong { color: #fff; }

/* ----- Angebots-Band ----- */
.cta-band { background: var(--grad); color: #dfe3ff; padding: 44px 0; }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.cta-band h2 { color: #fff; font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-bottom: .3rem; }
.cta-band p { margin: 0; }
.cta-band__actions { display: flex; gap: 12px; flex-wrap: wrap; flex-shrink: 0; }

@media (max-width: 860px) {
  .calc__grid { grid-template-columns: repeat(2, 1fr); }
  .cta-band__inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  .calc { padding: 20px; }
  .calc__result { grid-template-columns: 1fr 1fr; }
  .calc__result .calc__total { grid-column: span 2; }
  .cta-band__actions .btn { flex: 1 1 100%; }
}

.calc__result--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 860px) { .calc__grid { grid-template-columns: repeat(2, 1fr); } .calc__result--4 { grid-template-columns: 1fr 1fr; } .calc__result--4 .calc__total { grid-column: auto; } }

/* ----- Einsatzgebiet ----- */
.topbar__area { color: #fff; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255,255,255,.35); }
.local-note { padding: 16px 18px; border-left: 4px solid var(--blue); background: var(--soft); border-radius: 0 12px 12px 0; }
.area { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.area__text h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
.area-map { margin: 0; }
.area-map svg { width: 100%; height: auto; display: block; }
.area-map figcaption { font-size: .8rem; color: var(--muted); text-align: center; margin-top: .4rem; }
.map__radius { fill: rgba(31, 47, 168, .06); stroke: var(--blue); stroke-width: 1.5; stroke-dasharray: 6 6; }
.map__ring { fill: none; stroke: rgba(31, 47, 168, .25); stroke-width: 1; stroke-dasharray: 3 5; }
.map__km { font: 600 11px "Outfit", sans-serif; fill: var(--muted); }
.map__dot { fill: #fff; stroke: var(--blue); stroke-width: 2.5; }
.map__home { fill: var(--blue); stroke: #fff; stroke-width: 3; }
.map__label { font: 500 11.5px "Outfit", sans-serif; fill: var(--ink); paint-order: stroke; stroke: #fff; stroke-width: 3px; }
.map__label--home { font-weight: 700; font-size: 13px; fill: var(--blue); }
.places { list-style: none; padding: 0; margin: 1rem 0; display: grid; gap: 10px; }
.places li { padding: 12px 16px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.places strong { display: block; color: var(--ink); font-size: .95rem; }
.places span { font-size: .95rem; }
.steps--3 { grid-template-columns: repeat(3, 1fr); }
.svc-related--all { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1080px) { .svc-related--all { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) { .area { grid-template-columns: 1fr; gap: 28px; } .steps--3 { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .svc-related--all { grid-template-columns: 1fr; } .topbar__inner > span { display: none; } }

/* ----- München-Seite ----- */
.services--muc { margin-top: 8px; }
.services--muc .service p { margin: 0 0 .8rem; }
.services--muc .service a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.checklist--ol { counter-reset: none; }
.map__focus { fill: rgba(59, 31, 150, .10); stroke: var(--violet); stroke-width: 1.5; }
.map__dot--small { stroke-width: 1.6; }
.places--2 { grid-template-columns: 1fr 1fr; }
.places--2 span { font-size: .85rem; }
@media (max-width: 560px) { .places--2 { grid-template-columns: 1fr; } }

/* ----- Bewertungsbereich (MyHammer, Stufe A) ----- */
.reviews { padding-top: 72px; padding-bottom: 72px; }
.reviews__card {
  display: grid; grid-template-columns: 260px 1fr; gap: 48px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 40px 44px;
  box-shadow: 0 30px 60px -40px rgba(16, 21, 90, .35);
}
.reviews__score {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center;
  padding: 30px 20px; border-radius: 18px; background: var(--grad); color: #fff;
}
.reviews__value { font-size: 4rem; font-weight: 800; line-height: 1; letter-spacing: -.02em; }
.reviews__value small { font-size: 1.6rem; font-weight: 600; opacity: .75; }
.reviews__stars { display: inline-flex; gap: 4px; }
.reviews__stars svg { width: 24px; height: 24px; color: #ffc83d; }
.reviews__count { font-weight: 600; font-size: 1rem; opacity: .9; }
.reviews__text h2 { font-size: clamp(1.5rem, 2.8vw, 2rem); margin-bottom: .6rem; }
.reviews__text p { margin: 0 0 .9rem; }
.reviews__muc { padding: 12px 16px; border-left: 4px solid var(--blue); background: var(--soft); border-radius: 0 12px 12px 0; }
.reviews__source { font-size: .9rem; color: var(--muted); }
.reviews__source a, .reviews__note a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.reviews__text .btn { margin-top: .4rem; }
.reviews__note { margin-top: 16px; padding: 4px 22px; border: 1px solid var(--line); border-radius: 14px; background: #fff; font-size: .92rem; }
.reviews__note summary { cursor: pointer; padding: 12px 0; font-weight: 600; color: var(--ink); }
.reviews__note p { margin: 0 0 .8rem; }
@media (max-width: 860px) {
  .reviews__card { grid-template-columns: 1fr; gap: 24px; padding: 28px 22px; }
  .reviews__score { flex-direction: row; flex-wrap: wrap; gap: 12px 16px; padding: 20px; }
  .reviews__value { font-size: 3rem; }
  .reviews { padding-top: 56px; padding-bottom: 56px; }
}

/* ----- Hero: einzelnes Bild statt Collage ----- */
.hero__collage--single { height: auto; aspect-ratio: 4 / 3.15; }
.hc--hero { inset: 0; width: 100%; height: 100%; border: 6px solid rgba(255, 255, 255, .08); }
.hc__label {
  position: absolute; right: 14px; top: 14px; padding: .25em .7em; border-radius: 999px;
  font-size: .72rem; font-weight: 500; color: #fff; background: rgba(16, 21, 90, .55); backdrop-filter: blur(4px);
}
.hero__collage--single .hc-card--top { left: -22px; top: 28px; }
.hero__collage--single .hc-card--bottom { right: -18px; bottom: 28px; }
@media (max-width: 860px) {
  .hero__collage--single { height: auto; }
  .hero__collage--single .hc-card--top { left: 10px; top: 10px; }
  .hero__collage--single .hc-card--bottom { right: 10px; bottom: 10px; }
}
@media (max-width: 560px) { .hero__collage--single .hc-card { display: none; } }

/* Topbar nur noch mit Kontaktdaten */
.topbar__inner { justify-content: flex-end; }
.hero h1 { margin-top: 0; }
