/* Photography Bartnik – Stylesheet
   Farben aus dem Testentwurf: Aubergine #302d40, Flieder-Grau #6f6c7f, Weiß.
   Keine externen Schriften (Datenschutz): Helvetica Neue / Systemschrift. */

:root {
  --grund: #302d40;
  --grund-tief: #24222f;
  --grund-hell: #3b3850;
  --flieder: #6f6c7f;
  --text: #ffffff;
  --text-leise: #c9c6d6;
  --text-schwach: #9c99ad;
  --sand: #e6d3b8;
  --sand-tief: #cfb48f;
  --linie: rgba(255, 255, 255, .12);
  --radius: 18px;
  --radius-klein: 10px;
  --schatten: 0 24px 60px -24px rgba(0, 0, 0, .55);
  --schrift: "Helvetica Neue", "HelveticaNeue", Helvetica, "Segoe UI", Arial, system-ui, sans-serif;
  --rahmen: 1180px;
  --rand: clamp(16px, 4vw, 40px);
  --kopf-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--kopf-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0;
  color-scheme: dark;
  background: var(--grund);
  color: var(--text);
  font-family: var(--schrift);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { font-weight: 300; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 5.2vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.35rem; font-weight: 400; }
strong { font-weight: 500; }
::selection { background: var(--sand); color: var(--grund); }
:focus-visible { outline: 2px solid var(--sand); outline-offset: 3px; border-radius: 4px; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--sand); color: var(--grund); padding: 10px 16px; border-radius: 8px; text-decoration: none; }
.skip:focus { top: 12px; }

.rahmen { width: 100%; max-width: var(--rahmen); margin: 0 auto; padding: 0 var(--rand); }
.rahmen--breit { max-width: 1440px; }
.rahmen--schmal { max-width: 820px; }
.abschnitt { padding: clamp(64px, 10vw, 128px) 0; }
.abschnitt--eng { padding: clamp(32px, 5vw, 56px) 0; }
.abschnitt--tief { background: var(--grund-tief); }
.abschnitt--verlauf { background: linear-gradient(180deg, var(--grund) 0%, var(--grund-tief) 100%); }
.kicker { text-transform: uppercase; letter-spacing: .22em; font-size: .78rem; font-weight: 500; color: var(--sand); margin: 0 0 1rem; }
.leise { color: var(--text-leise); }
.zentriert { text-align: center; }
.einleitung { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--text-leise); max-width: 680px; }
.zentriert .einleitung { margin-left: auto; margin-right: auto; }

/* Knöpfe */
.knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .9em 1.7em; border-radius: 999px; border: 1px solid var(--sand);
  background: var(--sand); color: var(--grund); text-decoration: none;
  font: inherit; font-weight: 500; font-size: .95rem; letter-spacing: .02em; line-height: 1.2;
  cursor: pointer; transition: background .2s, color .2s, transform .2s;
}
.knopf:hover { background: #f1e4d1; transform: translateY(-1px); }
.knopf--rand { background: transparent; color: var(--text); border-color: rgba(255,255,255,.4); }
.knopf--rand:hover { background: rgba(255,255,255,.08); }
.knopf--klein { padding: .65em 1.2em; font-size: .88rem; }
.knopfreihe { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.8rem; }
.zentriert .knopfreihe { justify-content: center; }
.textlink { color: var(--sand); text-decoration: none; font-weight: 500; border-bottom: 1px solid rgba(230, 211, 184, .4); }
.textlink:hover { border-bottom-color: var(--sand); }

/* Kopf */
.kopf {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--kopf-h);
  transition: background .3s, backdrop-filter .3s, box-shadow .3s;
}
.kopf.ist-gescrollt, body:not(.mit-hero) .kopf {
  background: rgba(36, 34, 47, .82); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--linie);
}
.kopf__innen { height: 100%; max-width: 1440px; margin: 0 auto; padding: 0 var(--rand); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.kopf__logo { display: block; width: 92px; color: #fff; flex-shrink: 0; }
.kopf__logo svg { display: block; width: 100%; height: auto; }
.kopf__logo { transition: opacity .3s; }
.mit-hero .kopf:not(.ist-gescrollt) .kopf__logo { opacity: 0; pointer-events: none; }
.kopf__nav { display: flex; align-items: center; gap: 28px; }
.kopf__nav ul { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.kopf__nav ul a { text-decoration: none; font-size: .95rem; color: var(--text-leise); padding: 6px 0; position: relative; transition: color .2s; }
.kopf__nav ul a:hover, .kopf__nav ul a[aria-current] { color: #fff; }
.kopf__nav ul a[aria-current]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--sand); }
.kopf__menue { display: none; }
.kopf__kunde { display: inline-flex; align-items: center; gap: 7px; text-decoration: none; font-size: .95rem; color: var(--text-leise); padding: 6px 0; transition: color .2s; }
.kopf__kunde:hover { color: #fff; }
.kopf__kunde svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
@media (min-width: 881px) and (max-width: 1120px) {
  .kopf__kunde span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}
body:not(.mit-hero) main { padding-top: var(--kopf-h); }
/* Startseite, oben über dem Hero-Bild: dunkler, weich auslaufender Verlauf hinter der Leiste + helle Schrift,
   damit das Menü auch an hellen Bildstellen lesbar bleibt (Kontrast mind. 4,5:1). Nach dem Scrollen gilt der normale Kopf. */
.mit-hero .kopf::before {
  content: ""; position: absolute; inset: 0 0 -64px 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(24, 22, 32, .82) 0%, rgba(24, 22, 32, .58) 55%, rgba(24, 22, 32, 0) 100%);
  transition: opacity .3s;
}
.mit-hero .kopf.ist-gescrollt::before { opacity: 0; }
.mit-hero .kopf:not(.ist-gescrollt) .kopf__nav ul a,
.mit-hero .kopf:not(.ist-gescrollt) .kopf__kunde { color: #fff; text-shadow: 0 1px 3px rgba(0, 0, 0, .55); }
.mit-hero .kopf:not(.ist-gescrollt) .kopf__nav ul a:hover::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: rgba(255, 255, 255, .7); }
.mit-hero .kopf:not(.ist-gescrollt) .kopf__menue { filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .6)); }

@media (max-width: 880px) {
  .kopf__menue {
    display: grid; place-items: center; width: 46px; height: 46px; margin-right: -8px;
    background: none; border: 0; color: #fff; cursor: pointer; position: relative; z-index: 2;
  }
  .burger, .burger::before, .burger::after { display: block; width: 24px; height: 1.5px; background: currentColor; transition: transform .3s, background .3s; }
  .burger { position: relative; }
  .burger::before, .burger::after { content: ""; position: absolute; left: 0; }
  .burger::before { top: -7px; } .burger::after { top: 7px; }
  .kopf__menue[aria-expanded="true"] .burger { background: transparent; }
  .kopf__menue[aria-expanded="true"] .burger::before { transform: translateY(7px) rotate(45deg); }
  .kopf__menue[aria-expanded="true"] .burger::after { transform: translateY(-7px) rotate(-45deg); }
  .kopf__nav {
    position: fixed; inset: 0; background: var(--grund-tief); flex-direction: column; justify-content: center; gap: 36px;
    opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
  }
  .kopf__nav.ist-offen { opacity: 1; visibility: visible; }
  .kopf__nav ul { flex-direction: column; align-items: center; gap: 14px; }
  .kopf__nav ul a { font-size: 1.6rem; color: #fff; }
  .kopf__kunde { font-size: 1.15rem; color: #fff; }
  body.menue-offen { overflow: hidden; }
  /* backdrop-filter macht den Kopf zum Bezugsrahmen für position:fixed – offenes Menü sonst nur kopfhoch */
  body.menue-offen .kopf { -webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* Hero Startseite */
.hero { position: relative; min-height: 100svh; display: grid; align-items: end; isolation: isolate; overflow: hidden; }
.hero__bild { position: absolute; inset: 0; z-index: -2; }
.hero__bild img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; transform: scale(1.04); animation: hero-zoom 14s ease-out forwards; }
@keyframes hero-zoom { to { transform: scale(1); } }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(36, 34, 47, .85) 0%, rgba(36, 34, 47, .35) 55%, rgba(36, 34, 47, .1) 100%),
    linear-gradient(0deg, var(--grund) 0%, rgba(48, 45, 64, 0) 40%);
}
.hero__inhalt { padding-bottom: clamp(72px, 14vh, 140px); padding-top: calc(var(--kopf-h) + 40px); }
.hero__logo { width: clamp(220px, 34vw, 440px); color: #fff; margin: 0 0 1.4rem -6px; }
.hero__logo svg { width: 100%; height: auto; display: block; }
.hero h1 { font-size: clamp(1.25rem, 2.3vw, 1.75rem); max-width: 560px; color: #fff; margin-bottom: .6rem; }
.hero__unter { color: var(--text-leise); max-width: 520px; font-size: clamp(1rem, 1.4vw, 1.12rem); }
.hero__scroll { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); width: 26px; height: 42px; border: 1.5px solid rgba(255,255,255,.45); border-radius: 14px; }
.hero__scroll::after { content: ""; position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: #fff; animation: scroll-punkt 1.8s infinite; }
@keyframes scroll-punkt { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }
@media (max-width: 700px) {
  .hero::after { background: linear-gradient(0deg, var(--grund) 8%, rgba(36, 34, 47, .55) 55%, rgba(36, 34, 47, .25) 100%); }
  .hero__scroll { display: none; }
}

/* Seitenkopf Unterseiten */
.seitenkopf { padding: clamp(64px, 10vw, 120px) 0 clamp(24px, 4vw, 48px); }
.seitenkopf--schmal { padding-bottom: 8px; }
.seitenkopf__text { color: var(--text-leise); font-size: clamp(1.05rem, 1.5vw, 1.25rem); max-width: 640px; }

/* Werte */
.werte { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.5vw, 32px); margin-top: 3rem; }
.wert { padding: 32px 28px; border-radius: var(--radius); background: var(--grund-hell); border: 1px solid var(--linie); }
.wert__nr { font-size: .8rem; letter-spacing: .2em; color: var(--sand); font-weight: 500; display: block; margin-bottom: 1.2rem; }
.wert p { color: var(--text-leise); margin: 0; }
@media (max-width: 900px) { .werte { grid-template-columns: 1fr; } }

/* Zweispalter Bild/Text */
.zwei { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.zwei--umgekehrt > :first-child { order: 2; }
.zwei__bild { border-radius: var(--radius); overflow: hidden; box-shadow: var(--schatten); }
.zwei__bild img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.zwei__bild--quer img { aspect-ratio: 3 / 2; }
@media (max-width: 860px) {
  .zwei { grid-template-columns: 1fr; }
  .zwei--umgekehrt > :first-child { order: 0; }
}

/* Bild-Collage Intro */
.collage { position: relative; aspect-ratio: 1 / 1.05; }
.collage figure { margin: 0; position: absolute; border-radius: var(--radius); overflow: hidden; box-shadow: var(--schatten); }
.collage img { width: 100%; height: 100%; object-fit: cover; }
.collage .c1 { left: 0; top: 0; width: 62%; height: 72%; }
.collage .c2 { right: 0; top: 14%; width: 44%; height: 46%; }
.collage .c3 { right: 6%; bottom: 0; width: 50%; height: 40%; }

/* Leistungen */
.leistungen { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 24px); margin-top: 3rem; }
.leistung {
  position: relative; display: block; border-radius: var(--radius); overflow: hidden; text-decoration: none;
  aspect-ratio: 3 / 4; isolation: isolate; background: var(--grund-hell);
}
.leistung img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.leistung::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(36,34,47,.92) 0%, rgba(36,34,47,.2) 50%, rgba(36,34,47,0) 70%); }
.leistung:hover img { transform: scale(1.05); }
.leistung__text { position: absolute; left: 24px; right: 24px; bottom: 22px; }
.leistung__text h3 { margin: 0 0 .25rem; font-size: 1.45rem; font-weight: 300; }
.leistung__text p { margin: 0; color: var(--text-leise); font-size: .95rem; line-height: 1.45; }
.leistung__pfeil { display: inline-block; margin-top: .7rem; color: var(--sand); font-size: .88rem; font-weight: 500; }
@media (max-width: 960px) { .leistungen { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .leistungen { grid-template-columns: 1fr; } .leistung { aspect-ratio: 4 / 3.6; } }

/* Angebot-Detail */
.angebot { padding: clamp(48px, 7vw, 96px) 0; border-top: 1px solid var(--linie); }
.angebot:first-of-type { border-top: 0; }
.angebot__nr { font-size: .8rem; letter-spacing: .2em; color: var(--sand); font-weight: 500; }
.angebot ul.haken { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; gap: .55rem; }
.haken li { padding-left: 1.8em; position: relative; color: var(--text-leise); }
.haken li::before { content: ""; position: absolute; left: 0; top: .55em; width: .9em; height: .5em; border-left: 1.5px solid var(--sand); border-bottom: 1.5px solid var(--sand); transform: rotate(-45deg); }
.angebot__aktionen { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 12px 14px; margin-top: 1.8rem; }
.angebot__haupt { display: grid; gap: 6px; justify-items: start; }
.angebot__haupt small { font-size: .82rem; color: var(--text-schwach); padding-left: .2em; }
.angebot__ansehen { align-self: center; margin-top: 0; padding: .6em .2em; font-size: .95rem; }
@media (min-width: 561px) { .angebot__aktionen .knopf--rand, .angebot__ansehen { margin-top: 0; } }

/* Angebot: Tarife */
.tarifbereich { border-top: 1px solid var(--linie); }
.tarifkarten { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2.5vw, 28px); margin-top: 2.6rem; align-items: stretch; }
.tarifkarte { --akzent: #d9d7e0; display: flex; flex-direction: column; padding: clamp(24px, 3vw, 36px); border-radius: var(--radius);
  background: var(--grund-hell); border: 1px solid var(--linie); border-top: 4px solid var(--akzent); }
.tarifkarte--fix { --akzent: #c9b8f0; background: linear-gradient(180deg, rgba(201, 184, 240, .1), rgba(201, 184, 240, 0) 60%), var(--grund-hell); }
.tarifkarte--flex { background: linear-gradient(180deg, rgba(217, 215, 224, .08), rgba(217, 215, 224, 0) 60%), var(--grund-hell); }
.tarifkarte h3 { font-size: clamp(1.4rem, 2.2vw, 1.75rem); margin: 0 0 .2rem; color: var(--akzent); }
.tarifkarte__unter { margin: 0 0 1rem; font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: var(--text-leise); font-weight: 500; }
.tarifkarte > p:not(.tarifkarte__unter) { color: var(--text-leise); margin: 0 0 1.4rem; }
.tarifkarte__punkte { list-style: none; padding: 1.2rem 0 0; margin: auto 0 0; border-top: 1px solid var(--linie); display: grid; gap: .7rem; }
.tarifkarte__punkte li { display: flex; gap: .7em; align-items: flex-start; }
.tarifkarte__punkte svg { flex: 0 0 1.25em; width: 1.25em; height: 1.25em; margin-top: .1em; fill: none; stroke: var(--akzent); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.tarifbereich__schluss { margin-top: 2.4rem; }
.tarifbereich__schluss .leise { margin: 1rem 0 0; }
@media (max-width: 700px) { .tarifkarten { grid-template-columns: 1fr; } }
.sprungmarken { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 1.6rem; }
.sprungmarken a { text-decoration: none; padding: .45em 1em; border: 1px solid var(--linie); border-radius: 999px; font-size: .9rem; color: var(--text-leise); }
.sprungmarken a:hover { color: #fff; border-color: rgba(255,255,255,.35); }

/* Portfolio */
.paar { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; padding: clamp(40px, 6vw, 80px) 0; }
.paar + .paar { border-top: 1px solid var(--linie); }
.paar[hidden] { display: none; }
.js [data-portfolio] .paar--erstes { border-top: 0; }

/* Portfolio: Kategorie-Leiste und Hinweis für leere Kategorien */
.kategorien { margin: 1.8rem calc(var(--rand) * -1) 0; padding: 0 var(--rand); overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.kategorien::-webkit-scrollbar { display: none; }
.kategorien ul { list-style: none; margin: 0; padding: 4px var(--rand) 4px 0; display: flex; gap: 10px; width: max-content; }
.kategorien a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 1.15em; border: 1px solid rgba(255,255,255,.28); border-radius: 999px;
  text-decoration: none; color: var(--text); font-size: .95rem; white-space: nowrap; transition: background .2s, color .2s, border-color .2s; }
.kategorien a:hover { border-color: rgba(255,255,255,.6); background: rgba(255,255,255,.06); }
.kategorien a[aria-current] { background: var(--sand); border-color: var(--sand); color: var(--grund); font-weight: 500; }
.portfolio-leer { text-align: center; padding: clamp(48px, 8vw, 96px) 0; max-width: 560px; margin: 0 auto; }
.portfolio-leer p { color: var(--text-leise); font-size: 1.1rem; margin: 0 0 1.4rem; }
.portfolio-leer[hidden] { display: none; }
.paar--umgekehrt > :first-child { order: 2; }
.paar__bilder { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: 1fr 1fr; gap: 10px; aspect-ratio: 5 / 4.4; }
.paar__bilder a { border-radius: var(--radius-klein); overflow: hidden; display: block; }
.paar__bilder a:first-child { grid-row: span 2; }
.paar__bilder img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.paar__bilder a:hover img { transform: scale(1.04); }
.zitat { margin: 1.2rem 0 1.8rem; padding: 0; font-size: clamp(1.08rem, 1.6vw, 1.25rem); line-height: 1.6; color: var(--text-leise); position: relative; }
.zitat::before { content: "„"; display: block; font-size: 4.5rem; line-height: .5; color: var(--sand); margin-bottom: .6rem; font-family: Georgia, serif; }
@media (max-width: 860px) { .paar { grid-template-columns: 1fr; } .paar--umgekehrt > :first-child { order: 0; } }

/* Galerie (Masonry über Spalten) */
.galerie { columns: 3 320px; column-gap: 12px; }
.galerie__bild { display: block; margin: 0 0 12px; break-inside: avoid; border-radius: var(--radius-klein); overflow: hidden; background: var(--grund-hell); }
.galerie__bild img { width: 100%; transition: transform .7s, opacity .4s; }
.galerie__bild:hover img { transform: scale(1.03); }
.weiter { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(20, 19, 27, .96); display: none; align-items: center; justify-content: center; touch-action: pan-y; }
.lightbox.ist-offen { display: flex; }
.lightbox img { max-width: calc(100vw - 32px); max-height: calc(100svh - 120px); width: auto; height: auto; border-radius: 6px; user-select: none; }
.lightbox button { position: absolute; background: rgba(255,255,255,.08); border: 0; color: #fff; width: 52px; height: 52px; border-radius: 50%; cursor: pointer; font-size: 1.5rem; line-height: 1; display: grid; place-items: center; }
.lightbox button:hover { background: rgba(255,255,255,.18); }
.lightbox__zu { top: 16px; right: 16px; }
.lightbox__vor { right: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__zurueck { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__zahl { position: absolute; bottom: 20px; left: 0; right: 0; text-align: center; color: var(--text-schwach); font-size: .9rem; }
@media (max-width: 700px) { .lightbox__vor, .lightbox__zurueck { top: auto; bottom: 8px; transform: none; } }

/* Stimmen */
.stimmen { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2.5vw, 32px); margin-top: 3rem; }
.stimme { margin: 0; padding: 36px 32px; background: var(--grund-hell); border-radius: var(--radius); border: 1px solid var(--linie); display: flex; flex-direction: column; }
.stimme blockquote { margin: 0 0 1.4rem; color: var(--text-leise); font-size: 1.05rem; }
.stimme blockquote::before { content: "„"; display: block; font-size: 3.6rem; line-height: .45; color: var(--sand); margin-bottom: .6rem; font-family: Georgia, serif; }
.stimme figcaption { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.stimme figcaption strong { font-weight: 400; font-size: 1.1rem; }
@media (max-width: 800px) { .stimmen { grid-template-columns: 1fr; } }

/* Großer Aufruf */
.aufruf { position: relative; isolation: isolate; overflow: hidden; border-radius: calc(var(--radius) + 6px); padding: clamp(48px, 8vw, 104px) clamp(24px, 6vw, 80px); }
.aufruf img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.aufruf::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(36,34,47,.92) 0%, rgba(36,34,47,.6) 60%, rgba(36,34,47,.35) 100%); }
.aufruf h2 { max-width: 620px; }
.aufruf p { max-width: 520px; color: var(--text-leise); }

/* Kontakt */
.kontakt { display: grid; grid-template-columns: 1fr 1.35fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.kontakt__daten { display: grid; gap: 22px; margin-top: 2rem; }
.kontakt__daten a { text-decoration: none; }
.kontakt__daten a:hover { color: var(--sand); }
.kontakt__eintrag { display: flex; gap: 16px; align-items: flex-start; }
.kontakt__eintrag svg { flex: 0 0 22px; width: 22px; height: 22px; margin-top: 3px; stroke: var(--sand); fill: none; stroke-width: 1.5; }
.kontakt__eintrag small { display: block; color: var(--text-schwach); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; }
.kontakt__bild { margin-top: 2.4rem; border-radius: var(--radius); overflow: hidden; }
.kontakt__bild img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
@media (max-width: 900px) { .kontakt { grid-template-columns: 1fr; } .kontakt__bild { display: none; } }

.formular { background: var(--grund-hell); border: 1px solid var(--linie); border-radius: calc(var(--radius) + 4px); padding: clamp(24px, 4vw, 44px); box-shadow: var(--schatten); }
.schritte { display: flex; gap: 8px; margin-bottom: 1.8rem; list-style: none; padding: 0; counter-reset: s; }
.schritte li { flex: 1; font-size: .82rem; color: var(--text-schwach); padding-top: 12px; border-top: 2px solid var(--linie); counter-increment: s; transition: color .3s, border-color .3s; }
.schritte li::before { content: counter(s) ". "; }
.schritte li.ist-aktiv, .schritte li.ist-erledigt { color: #fff; border-top-color: var(--sand); }
.feld { display: grid; gap: 6px; margin-bottom: 18px; }
.feld label, .feld .label { font-size: .88rem; color: var(--text-leise); font-weight: 400; }
.feld label .opt, .feld .label .opt { color: var(--text-schwach); }
.feld input, .feld textarea, .feld select {
  width: 100%; font: inherit; font-weight: 300; font-size: 1rem; color: #fff;
  background: rgba(0, 0, 0, .18); border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius-klein);
  padding: .8em 1em; transition: border-color .2s, background .2s;
}
.feld textarea { min-height: 110px; resize: vertical; }
.feld select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--text-leise) 50%), linear-gradient(135deg, var(--text-leise) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 15px) 55%; background-size: 5px 5px; background-repeat: no-repeat; }
.feld select option { color: #000; }
.feld input::placeholder, .feld textarea::placeholder { color: var(--text-schwach); }
.feld input:focus, .feld textarea:focus, .feld select:focus { outline: none; border-color: var(--sand); background: rgba(0, 0, 0, .28); }
.feld input[aria-invalid="true"], .feld select[aria-invalid="true"] { border-color: #f0a0a0; }
.feld__fehler { color: #f4b4b4; font-size: .85rem; min-height: 0; }
.zeile { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 560px) { .zeile { grid-template-columns: 1fr; } }
.wahl { display: flex; flex-wrap: wrap; gap: 8px; }
.wahl input { position: absolute; opacity: 0; pointer-events: none; }
.wahl label { padding: .55em 1.05em; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; cursor: pointer; font-size: .92rem; color: var(--text-leise); transition: all .2s; }
.wahl input:checked + label { background: var(--sand); border-color: var(--sand); color: var(--grund); font-weight: 500; }
.wahl input:focus-visible + label { outline: 2px solid var(--sand); outline-offset: 2px; }
.einwilligung { display: flex; gap: 12px; align-items: flex-start; font-size: .88rem; color: var(--text-leise); margin: 6px 0 22px; }
.einwilligung input { margin-top: .3em; width: 18px; height: 18px; accent-color: var(--sand); flex-shrink: 0; }
.formular__knoepfe { display: flex; gap: 12px; justify-content: space-between; flex-wrap: wrap; }
.formular__meldung { margin-top: 16px; padding: 12px 16px; border-radius: var(--radius-klein); background: rgba(240, 160, 160, .12); color: #f6c4c4; font-size: .92rem; }
.danke__termin { margin: 1rem auto 0; padding: .8em 1.1em; max-width: 520px; border-left: 3px solid var(--sand); background: rgba(255,255,255,.05); text-align: left; }
.danke__termin[hidden] { display: none; }
.feld__hinweis { display: block; font-size: .84rem; color: var(--text-schwach); margin-top: -2px; }
.feld__extra { margin-left: .5em; font-size: .85rem; white-space: nowrap; }
.kontakt__rechner { margin: .2rem 0 0; color: var(--text-leise); max-width: 640px; }
.honig { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.danke { text-align: center; padding: 24px 0 8px; }
.danke__haken { width: 64px; height: 64px; margin: 0 auto 1.2rem; border-radius: 50%; border: 1.5px solid var(--sand); display: grid; place-items: center; }
.danke__haken svg { width: 28px; stroke: var(--sand); fill: none; stroke-width: 2; }
.js .schritt[hidden] { display: none; }

/* Rechtstexte */
.rechtstext h2 { font-size: 1.5rem; margin-top: 2.6rem; font-weight: 400; }
.rechtstext h3 { font-size: 1.12rem; margin-top: 1.8rem; font-weight: 500; }
.rechtstext p, .rechtstext li { color: var(--text-leise); }
.rechtstext a { color: var(--sand); }

/* Fuß */
.fuss { background: var(--grund-tief); padding: clamp(56px, 8vw, 88px) 0 28px; margin-top: 0; border-top: 1px solid var(--linie); }
.fuss__innen { max-width: var(--rahmen); margin: 0 auto; padding: 0 var(--rand); display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.fuss__logo { display: block; width: 120px; color: #fff; margin-bottom: 1rem; }
.fuss__logo svg { width: 100%; height: auto; display: block; }
.fuss p, .fuss li { color: var(--text-schwach); font-size: .93rem; }
.fuss a { text-decoration: none; }
.fuss a:hover { color: #fff; }
.fuss__titel { font-size: .78rem; text-transform: uppercase; letter-spacing: .2em; font-weight: 500; color: var(--text-leise); margin-bottom: 1rem; }
.fuss__links { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.fuss__copy { max-width: var(--rahmen); margin: 48px auto 0; padding: 22px var(--rand) 0; border-top: 1px solid var(--linie); font-size: .85rem; color: var(--text-schwach); }
@media (max-width: 860px) { .fuss__innen { grid-template-columns: 1fr 1fr; } .fuss__marke { grid-column: 1 / -1; } }
@media (max-width: 480px) { .fuss__innen { grid-template-columns: 1fr; } }

/* Einblenden beim Scrollen */
.js .einblenden { opacity: 0; transform: translateY(24px); transition: opacity .9s ease, transform .9s cubic-bezier(.2, .7, .2, 1); }
.js .einblenden.ist-sichtbar { opacity: 1; transform: none; }

/* Platzhalter für noch fehlende Angaben – vor dem Livegang ersetzen */
.platzhalter { background: #ffe58a; color: #3a2e00; padding: 0 .3em; border-radius: 4px; outline: 1px dashed #b38f00; font-weight: 400; }

/* Brotkrumen */
.brotkrumen { font-size: .88rem; color: var(--text-schwach); margin-bottom: 1.4rem; }
.brotkrumen a { color: var(--text-leise); text-decoration: none; }
.brotkrumen a:hover { color: #fff; }

/* Ablauf */
.ablauf { list-style: none; padding: 0; margin: 3rem 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 2vw, 24px); counter-reset: none; }
.ablauf--5 { grid-template-columns: repeat(5, 1fr); }
.ablauf--5 .schrittkarte { padding: 26px 20px; }
.schrittkarte { position: relative; padding: 28px 24px; border-radius: var(--radius); background: var(--grund-hell); border: 1px solid var(--linie); }
.schrittkarte__nr { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--sand); color: var(--sand); font-weight: 500; margin-bottom: 1.1rem; }
.schrittkarte h3 { margin-bottom: .4rem; }
.schrittkarte p { margin: 0; color: var(--text-leise); font-size: .97rem; }
@media (max-width: 960px) { .ablauf { grid-template-columns: repeat(2, 1fr); } }
/* fünf Schritte: oben drei, unten zwei breitere Karten */
@media (max-width: 1100px) and (min-width: 561px) {
  .ablauf--5 { grid-template-columns: repeat(6, 1fr); }
  .ablauf--5 .schrittkarte { grid-column: span 2; }
  .ablauf--5 .schrittkarte:nth-child(n+4) { grid-column: span 3; }
}
@media (max-width: 560px) { .ablauf { grid-template-columns: 1fr; } }

/* Häufige Fragen */
.fragen { margin-top: 2.4rem; border-top: 1px solid var(--linie); }
.frage { border-bottom: 1px solid var(--linie); }
.frage summary { list-style: none; cursor: pointer; padding: 22px 48px 22px 0; position: relative; font-size: 1.12rem; font-weight: 400; }
.frage summary::-webkit-details-marker { display: none; }
.frage summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 1.6rem; font-weight: 300; color: var(--sand); transition: transform .3s; }
.frage[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.frage p { color: var(--text-leise); margin: 0 0 22px; max-width: 760px; }

/* Preis-Hinweis */
.preis { display: inline-flex; align-items: baseline; gap: .4em; margin: .2rem 0 .4rem; padding: .45em 1em; border: 1px solid rgba(230, 211, 184, .35); border-radius: 999px; font-size: .95rem; color: var(--sand); }

/* Google-Bewertung */
.bewertung { display: inline-flex; align-items: center; gap: 12px; margin-top: 2.4rem; padding: 12px 22px; border-radius: 999px; background: var(--grund-hell); border: 1px solid var(--linie); text-decoration: none; }
.bewertung:hover { border-color: rgba(255,255,255,.3); }
.bewertung__sterne { color: #f3c969; letter-spacing: 2px; font-size: 1.1rem; }
.bewertung small { color: var(--text-leise); font-size: .92rem; }

/* Bedingte Formularfelder */
.js .nur[hidden] { display: none; }
.formular__hinweis { font-size: .88rem; color: var(--text-schwach); margin: -6px 0 18px; }

/* Schnellkontakt-Leiste auf dem Handy */
.handyleiste { display: none; }
@media (max-width: 880px) {
  .handyleiste {
    display: grid; grid-template-columns: 1fr 1fr 1.4fr; gap: 6px; align-items: stretch;
    position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 40;
    padding: 6px; border-radius: 18px; background: rgba(36, 34, 47, .9);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    border: 1px solid var(--linie); box-shadow: 0 12px 40px -12px rgba(0,0,0,.6);
    transform: translateY(140%); transition: transform .35s cubic-bezier(.2, .7, .2, 1);
  }
  .handyleiste.ist-sichtbar { transform: none; }
  .menue-offen .handyleiste, .lightbox-offen .handyleiste { transform: translateY(140%); }
  .handyleiste a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 8px 4px; border-radius: 12px; text-decoration: none; font-size: .78rem; color: var(--text-leise); }
  .handyleiste svg { width: 20px; height: 20px; fill: none; stroke: var(--sand); stroke-width: 1.6; }
  .handyleiste a.handyleiste__haupt { background: var(--sand); color: var(--grund); font-weight: 500; font-size: .92rem; flex-direction: row; }
  body:has(.handyleiste) .fuss { padding-bottom: 110px; }
}

/* ---------------------------------------------------------------- Preisrechner */
.versprechen { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 24px); }
.versprechen__punkt { display: flex; gap: 16px; padding: 24px; border-radius: var(--radius); background: linear-gradient(160deg, rgba(230, 211, 184, .12), rgba(230, 211, 184, .03)); border: 1px solid rgba(230, 211, 184, .25); }
.versprechen__punkt svg { flex: 0 0 28px; width: 28px; height: 28px; fill: none; stroke: var(--sand); stroke-width: 1.5; margin-top: 2px; }
.versprechen__punkt h2 { font-size: 1.15rem; font-weight: 500; margin: 0 0 .35rem; }
.versprechen__punkt p { margin: 0; color: var(--text-leise); font-size: .95rem; }
@media (max-width: 900px) { .versprechen { grid-template-columns: 1fr; } }

.rechner { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(24px, 4vw, 48px); align-items: start; }
.rechner__optionen { display: grid; gap: 16px; }
.rechner__summe { position: sticky; top: calc(var(--kopf-h) + 20px); }
@media (max-width: 980px) { .rechner { grid-template-columns: 1fr; } .rechner__summe { position: static; } }

.baustein { margin: 0; padding: 26px clamp(18px, 3vw, 30px); border-radius: var(--radius); background: var(--grund-hell); border: 1px solid var(--linie); min-width: 0; }
.baustein legend { float: left; width: 100%; display: flex; align-items: center; gap: 12px; font-size: 1.15rem; font-weight: 400; margin-bottom: 18px; padding: 0; }
.baustein legend + * { clear: both; }
.baustein legend .opt { color: var(--text-schwach); font-size: .9rem; }
.baustein__nr { display: inline-grid; place-items: center; flex: 0 0 30px; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--sand); color: var(--sand); font-size: .85rem; font-weight: 500; }
.baustein__hinweis { color: var(--text-schwach); font-size: .9rem; margin: 12px 0 0; }
.baustein--info { display: flex; gap: 12px; align-items: flex-start; }
.baustein--info p { margin: 2px 0 0; color: var(--text-leise); }
.baustein--info strong { color: #fff; font-weight: 500; }
.baustein__mehr { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--linie); display: grid; gap: 14px; }
.baustein__mehr .label { font-size: .88rem; color: var(--text-leise); }
.baustein[hidden], .baustein--info[hidden] { display: none; }
.wahl label small { opacity: .75; font-size: .82em; }

.tarife { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tarif { position: relative; display: grid; gap: 8px; align-content: start; padding: 20px; border-radius: var(--radius-klein); border: 1.5px solid rgba(255,255,255,.16); cursor: pointer; transition: border-color .2s, background .2s; }
.tarif input { position: absolute; opacity: 0; pointer-events: none; }
.tarif:hover { border-color: rgba(255,255,255,.35); }
.tarif:has(input:checked) { border-color: var(--sand); background: rgba(230, 211, 184, .08); }
.tarif:has(input:focus-visible) { outline: 2px solid var(--sand); outline-offset: 3px; }
.tarif__kopf strong { display: block; font-size: 1.2rem; font-weight: 500; }
.tarif__kopf small { color: var(--sand); font-size: .85rem; }
.tarif__preis { font-size: .95rem; color: #fff; }
.tarif__text { font-size: .88rem; color: var(--text-leise); line-height: 1.5; }
.tarif:has(input:checked)::after { content: "✓"; position: absolute; top: 14px; right: 16px; width: 24px; height: 24px; border-radius: 50%; background: var(--sand); color: var(--grund); display: grid; place-items: center; font-size: .8rem; font-weight: 700; }
@media (max-width: 640px) { .tarife { grid-template-columns: 1fr; } }

.regler { display: flex; align-items: center; gap: 18px; }
.regler input[type=range] { flex: 1; accent-color: var(--sand); height: 28px; }
.regler__wert { min-width: 120px; text-align: right; font-size: 1.15rem; color: #fff; }

.posten { display: grid; gap: 4px; }
.posten__zeile { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--linie); }
.posten__zeile:last-child { border-bottom: 0; }
.posten__text strong { display: block; font-weight: 400; }
.posten__text small { display: block; color: var(--text-schwach); font-size: .85rem; line-height: 1.4; }
.posten__text .posten__preis { color: var(--sand); }
.stepper { display: flex; align-items: center; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; overflow: hidden; flex-shrink: 0; }
.stepper button { width: 38px; height: 38px; background: none; border: 0; color: #fff; font-size: 1.2rem; cursor: pointer; }
.stepper button:hover { background: rgba(255,255,255,.08); }
.stepper input { width: 46px; text-align: center; background: none; border: 0; color: #fff; font: inherit; -moz-appearance: textfield; }
.stepper input::-webkit-inner-spin-button, .stepper input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }

.schalter { display: flex; align-items: center; gap: 14px; cursor: pointer; }
.schalter input { position: absolute; opacity: 0; }
.schalter__knopf { flex: 0 0 46px; height: 26px; border-radius: 999px; background: rgba(255,255,255,.18); position: relative; transition: background .2s; }
.schalter__knopf::after { content: ""; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .2s; }
.schalter input:checked + .schalter__knopf { background: var(--sand); }
.schalter input:checked + .schalter__knopf::after { transform: translateX(20px); }
.schalter input:focus-visible + .schalter__knopf { outline: 2px solid var(--sand); outline-offset: 3px; }
.schalter strong { color: var(--sand); font-weight: 500; white-space: nowrap; }
.haekchen { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; color: var(--text-leise); cursor: pointer; }
.haekchen input { width: 18px; height: 18px; margin-top: .2em; accent-color: var(--sand); flex-shrink: 0; }
.haekchen strong { color: var(--sand); font-weight: 500; }
.haekchen .opt { color: var(--text-schwach); }

.zeile--anfahrt { align-items: end; gap: 16px; }
.einheit { display: flex; align-items: center; gap: 10px; }
.einheit input { max-width: 140px; }
.einheit span { color: var(--text-leise); }

.summe { padding: 28px; border-radius: calc(var(--radius) + 4px); background: linear-gradient(170deg, #45415c, var(--grund-hell)); border: 1px solid rgba(230, 211, 184, .3); box-shadow: var(--schatten); }
.summe__anlass { color: var(--text-leise); font-size: .95rem; margin-bottom: 1rem; }
.summe__liste { list-style: none; padding: 0; margin: 0 0 4px; font-size: .93rem; }
.summe__liste li { display: flex; justify-content: space-between; gap: 14px; padding: 9px 0; border-bottom: 1px dashed rgba(255,255,255,.14); }
.summe__liste li span:last-child { white-space: nowrap; color: #fff; }
.summe__liste li span:first-child { color: var(--text-leise); }
.summe__gesamt { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 0 6px; }
.summe__gesamt span { font-size: 1.1rem; }
.summe__gesamt strong { font-size: 2rem; font-weight: 400; color: var(--sand); }
.summe__fein { font-size: .8rem; color: var(--text-schwach); margin-bottom: 14px; }
.summe__vergleich { font-size: .9rem; color: var(--text-leise); padding: 12px 14px; border-radius: var(--radius-klein); background: rgba(0,0,0,.18); }
.summe__vergleich:empty { display: none; }
.summe__vergleich strong { color: var(--sand); font-weight: 500; }
.summe__knopf { width: 100%; margin-top: 6px; }
.textknopf { background: none; border: 0; padding: 0; font: inherit; color: var(--sand); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

.summenleiste { display: none; }
@media (max-width: 980px) {
  .summenleiste {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 40;
    padding: 10px 10px 10px 18px; border-radius: 18px; background: rgba(36, 34, 47, .92);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    border: 1px solid rgba(230, 211, 184, .3); box-shadow: 0 12px 40px -12px rgba(0,0,0,.6);
    transform: translateY(160%); transition: transform .35s cubic-bezier(.2, .7, .2, 1);
  }
  .summenleiste.ist-sichtbar { transform: none; }
  .menue-offen .summenleiste { transform: translateY(160%); }
  .summenleiste small { display: block; color: var(--text-schwach); font-size: .75rem; }
  .summenleiste strong { font-size: 1.25rem; font-weight: 400; color: var(--sand); }
  .summenleiste[hidden] { display: none; }
}

/* Preisrechner ohne Beträge: Auswahl-Übersicht + Hinweis „Preis per E-Mail“ */
.summe__liste--auswahl li { justify-content: flex-start; gap: 10px; }
.summe__liste--auswahl li::before { content: ""; flex: 0 0 auto; width: .8em; height: .45em; margin-top: .45em; border-left: 1.5px solid var(--sand); border-bottom: 1.5px solid var(--sand); transform: rotate(-45deg); }
.summe__liste--auswahl li span:first-child { color: #fff; }
.summe__preis { display: flex; gap: 14px; align-items: flex-start; margin: 18px 0 16px; padding: 14px 16px; border-radius: var(--radius-klein); background: rgba(230, 211, 184, .1); border: 1px solid rgba(230, 211, 184, .3); }
.summe__preis svg { flex: 0 0 24px; width: 24px; height: 24px; fill: none; stroke: var(--sand); stroke-width: 1.5; margin-top: 2px; }
.summe__preis p { margin: 0; font-size: .9rem; color: var(--text-leise); line-height: 1.5; }
.summe__preis strong { display: block; color: var(--sand); font-weight: 500; font-size: 1rem; margin-bottom: 2px; }
@media (max-width: 980px) { .summenleiste span[data-leiste-auswahl] { display: block; color: #fff; font-size: .95rem; } }
