/* NM Fotografie – Hauptseite www.nadine-muehlehner.de
   Nachbau der WordPress-Seite (Design 1:1, Texte neu), Stand 11.11.2026.
   Alles lokal: keine fremden Server, keine Cookies. */

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-Variable.woff") format("woff"),
       url("../fonts/Montserrat-Variable.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #313134;          /* Grundfläche wie bisher */
  --bg-dunkel: #18181a;   /* dunkle Abschnitte */
  --bg-karte: #232326;
  --text: #a3a3a6;
  --weiss: #ffffff;
  --gold: #948159;        /* Knopf-Gold der bisherigen Seite */
  --gold-hell: #b09a6c;
  --gold-hover: #A8936C; /* wie handwerk. */
  --linie: rgba(255, 255, 255, .08);
  --max: 1220px;
  --kopf: 84px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body { overflow-x: clip; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Montserrat", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-weight: 300;
  font-size: 15px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-hell); text-decoration: none; transition: color .25s; }
a:hover { color: var(--weiss); }
h1, h2, h3, h4 { color: var(--weiss); font-weight: 400; line-height: 1.15; margin: 0 0 .6em; }
h1 { font-size: clamp(1.9rem, 3.8vw, 3rem); }
h2 { font-size: clamp(1.6rem, 2.9vw, 2.5rem); }
h3 { font-size: clamp(1.1rem, 1.6vw, 1.35rem); }
p { margin: 0 0 1.1em; text-wrap: pretty; }
h1, h2, h3, .h1-gross { text-wrap: balance; }
.h1-gross { color: var(--weiss); font-weight: 400; line-height: 1.15; margin: 0 0 .6em; font-size: clamp(1.9rem, 3.8vw, 3rem); }
h1.kicker { font-size: .76rem; line-height: 1.6; color: var(--gold-hell); font-weight: 400; margin: 0 0 1.1rem; }
strong { color: var(--weiss); font-weight: 500; }

.huelle { width: min(var(--max), 100% - 48px); margin-inline: auto; }
.abschnitt { padding: clamp(70px, 10vw, 130px) 0; position: relative; }
.abschnitt.dunkel { background: var(--bg-dunkel); }
.kicker {
  display: block; color: var(--gold-hell); font-size: .76rem; font-weight: 400;
  letter-spacing: .32em; text-transform: uppercase; margin-bottom: 1.1rem;
}
.trenner { width: 60px; height: 1px; background: var(--gold); margin: 1.4rem 0 1.8rem; border: 0; }
.mitte { text-align: center; }
.mitte .trenner { margin-inline: auto; }
.leise { font-size: .9rem; color: #8b8b8e; }

/* ---------- Knöpfe ---------- */
.knopf {
  display: inline-block; background: var(--gold); color: var(--weiss);
  font-size: .82rem; font-weight: 400; letter-spacing: .04em;
  padding: 12px 28px; border: 1px solid var(--gold); cursor: pointer;
  position: relative; overflow: hidden; transition: color .35s, border-color .35s;
  font-family: inherit;
}
.knopf::before {
  content: ""; position: absolute; inset: 0; background: var(--gold-hover);
  transform: translateX(-101%); transition: transform .45s cubic-bezier(.7, 0, .2, 1); z-index: 0;
}
.knopf span { position: relative; z-index: 1; }
.knopf:hover { color: var(--weiss); border-color: var(--gold-hover); }
.knopf:hover::before { transform: translateX(0); }
.knopf.rahmen { background: transparent; border-color: rgba(255, 255, 255, .35); }
.knopf-reihe { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Kopfzeile ---------- */
.kopf {
  position: fixed; inset: 0 0 auto 0; height: var(--kopf); z-index: 50;
  display: flex; align-items: center; transition: background .4s, height .4s, box-shadow .4s, transform .45s cubic-bezier(.2, .8, .2, 1);
}
.kopf.weg { transform: translateY(-100%); }
.kopf.fest { background: rgba(24, 24, 26, .96); height: 70px; box-shadow: 0 6px 30px rgba(0, 0, 0, .35); }
.kopf .huelle { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.logo img { height: 34px; width: auto; }
.menue { display: flex; gap: 30px; list-style: none; margin: 0; padding: 0; align-items: center; }
.menue > li { position: relative; }
.menue a { color: var(--weiss); font-size: .86rem; font-weight: 400; padding: 8px 0; position: relative; }
.menue > li > a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: right; transition: transform .35s;
}
.menue > li > a:hover::after, .menue > li > a.aktiv::after { transform: scaleX(1); transform-origin: left; }
.menue-knopf { background: none; border: 0; padding: 8px 0; cursor: pointer; font-family: inherit; color: var(--weiss); font-size: .86rem; font-weight: 400; position: relative; }
.menue-knopf::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .35s; }
.hat-unter:hover .menue-knopf::after, .menue-knopf.aktiv::after { transform: scaleX(1); transform-origin: left; }
.menue-knopf::before { content: "▾"; position: absolute; right: -14px; top: 9px; font-size: .6rem; color: var(--gold-hell); }
.untermenue {
  position: absolute; top: 100%; left: -20px; min-width: 260px; list-style: none; margin: 14px 0 0; padding: 12px 0;
  background: var(--bg-dunkel); opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .3s, transform .3s, visibility .3s; box-shadow: 0 18px 40px rgba(0, 0, 0, .4);
}
.menue li:hover .untermenue, .menue li:focus-within .untermenue { opacity: 1; visibility: visible; transform: none; }
.untermenue a { display: block; padding: 9px 22px; color: var(--text); }
.untermenue a:hover { color: var(--weiss); background: rgba(255, 255, 255, .03); }
.burger { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; position: relative; }
.burger span, .burger::before, .burger::after {
  content: ""; position: absolute; left: 10px; right: 10px; height: 1.5px; background: var(--weiss); transition: transform .35s, opacity .35s;
}
.burger::before { top: 15px; } .burger span { top: 21px; } .burger::after { top: 27px; }
.offen .burger::before { transform: translateY(6px) rotate(45deg); }
.offen .burger span { opacity: 0; }
.offen .burger::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Startbühne ---------- */
.buehne {
  background: #050506;
  min-height: 100vh; min-height: 100svh; display: flex; align-items: center; position: relative; overflow: hidden;
  padding: calc(var(--kopf) + 40px) 0 80px;
}
.buehne-bild {
  position: absolute; inset: 0 0 0 auto; width: 56%; z-index: 0;
  background: #050506 url("../bilder/start-kamera-studio.webp") center / cover no-repeat;
  animation: zoomen 18s ease-out both;
}
.buehne-bild::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, #050506 0%, rgba(5, 5, 6, .6) 30%, rgba(5, 5, 6, 0) 60%);
}
@keyframes zoomen { from { transform: scale(1.12); opacity: 0; } 20% { opacity: 1; } to { transform: scale(1); } }
.buehne .huelle { position: relative; z-index: 2; }
.buehne-text { max-width: 1000px; }
.buehne .h1-gross { font-size: clamp(2.1rem, 4.4vw, 3.6rem); margin-bottom: .4em; }
.buehne .unterzeile { color: var(--weiss); letter-spacing: .12em; font-size: clamp(.92rem, 1.3vw, 1.05rem); font-weight: 400; max-width: 640px; margin-bottom: 2.4rem; }
.zeile { display: block; overflow: hidden; }
.zeile > span { display: inline-block; transform: translateY(105%); animation: hoch 1s cubic-bezier(.2, .8, .2, 1) forwards; }
.zeile:nth-child(2) > span { animation-delay: .18s; }
@keyframes hoch { to { transform: translateY(0); } }
.einblenden { opacity: 0; animation: ein 1s ease forwards; }
.v1 { animation-delay: .5s; } .v2 { animation-delay: .75s; } .v3 { animation-delay: 1s; }
@keyframes ein { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.scrollhinweis {
  position: absolute; left: 24px; bottom: 40px; z-index: 2; color: var(--weiss); font-size: .7rem; letter-spacing: .35em;
  writing-mode: vertical-rl; transform: rotate(180deg); display: flex; align-items: center; gap: 14px;
}
.scrollhinweis::after { content: ""; width: 1px; height: 60px; background: linear-gradient(var(--gold), transparent); animation: tropfen 2.2s infinite; }
@keyframes tropfen { 0% { transform: scaleY(0); transform-origin: bottom; } 50% { transform: scaleY(1); transform-origin: bottom; } 51% { transform-origin: top; } 100% { transform: scaleY(0); transform-origin: top; } }

.siegel { position: absolute; right: 40px; bottom: 40px; z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.siegel img { width: 120px; height: auto; opacity: .9; transition: opacity .3s; }

/* ---------- Seitenkopf Unterseiten ---------- */
.seitenkopf { padding: calc(var(--kopf) + 90px) 0 70px; position: relative; overflow: hidden; }
.seitenkopf::before {
  content: ""; position: absolute; right: -10%; top: -30%; width: 60%; height: 160%;
  background: radial-gradient(closest-side, rgba(148, 129, 89, .12), transparent); pointer-events: none;
}
.seitenkopf h1, .seitenkopf .h1-gross { max-width: 900px; }
.huelle.mitte h1, .huelle.mitte .h1-gross { margin-inline: auto; }
.seitenkopf p.lead { max-width: 720px; font-size: 1rem; color: #c3c3c6; }

/* ---------- Intro mit überlappender Karte ---------- */
.ueberlapp { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; }
.ueberlapp .bild { position: relative; }
.ueberlapp .bild img { width: 100%; height: auto; }
.karte-text { background: var(--bg-dunkel); padding: clamp(32px, 4vw, 60px); margin-left: -12%; position: relative; z-index: 2; box-shadow: 0 30px 60px rgba(0, 0, 0, .35); }
.karte-text h2 { font-size: clamp(1.5rem, 2.4vw, 2.1rem); }

/* ---------- Bild + Kasten im Anschnitt (wie die alte Seite) ---------- */
.anschnitt { display: grid; grid-template-columns: repeat(12, 1fr); grid-template-rows: 1fr auto; }
.anschnitt .bild { grid-column: 1 / 6; grid-row: 1 / 3; position: relative; z-index: 1; }
.anschnitt .bild img { width: 100%; height: auto; }
.anschnitt .karte-text { grid-column: 4 / 12; grid-row: 2 / 3; margin: 0; align-self: end; z-index: 2; }
.anschnitt.gespiegelt .bild { grid-column: 8 / 13; }
.anschnitt.gespiegelt .karte-text { grid-column: 2 / 10; }
.handschrift .karte-text { background: #232326; }
.anschnitt .karte-text { padding: clamp(28px, 3vw, 46px); }
.anschnitt .karte-text h2 { font-size: clamp(1.4rem, 2.1vw, 1.9rem); }
.anschnitt .karte-text p { font-size: .95rem; }
.anschnitt.quer .bild { grid-column: 1 / 9; }
.anschnitt.quer .karte-text { grid-column: 6 / 13; grid-row: 1 / 3; align-self: start; margin: 26% 0 0; }
.anschnitt.quer .karte-text p { font-size: .92rem; line-height: 1.7; }
.anschnitt.hoch .bild { grid-column: 2 / 7; }
.anschnitt.hoch .karte-text { grid-column: 6 / 12; grid-row: 1 / 3; align-self: end; margin: 0; }

/* ---------- Doppelbild (zwei Bilder versetzt, wie auf der alten Seite) ---------- */
.zweispaltig.mit-doppelbild { align-items: stretch; }
.zweispaltig.mit-doppelbild > div:has(.einzelbild), .zweispaltig.mit-doppelbild > .einzelbild { min-height: 300px; }
.einzelbild { position: relative; height: 100%; min-height: 300px; }
.zweispaltig.mit-doppelbild > div > .einzelbild { height: 100%; }
.einzelbild img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.doppelbild { position: relative; height: 100%; min-height: 440px; }
.zweispaltig.mit-doppelbild > div > .doppelbild { height: 100%; }
.doppelbild img { position: absolute; object-fit: cover; }
.doppelbild img:first-child { top: 0; left: 0; width: 64%; height: 62%; }
.doppelbild img:nth-child(2) { right: 0; bottom: 0; width: 62%; height: 56%; box-shadow: -20px -20px 50px rgba(0, 0, 0, .35); }

/* ---------- Leistungskarten ---------- */
.leistungen { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 50px; }
.leistung { position: relative; overflow: hidden; background: var(--bg-karte); display: flex; flex-direction: column; }
.leistung .bildrahmen { overflow: hidden; aspect-ratio: 4 / 3; }
.leistung img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; transition: transform 1.2s cubic-bezier(.2, .8, .2, 1); }
.leistung:hover img { transform: scale(1.06); }
.leistung .inhalt { padding: 24px 26px 30px; flex: 1; display: flex; flex-direction: column; }
.leistung h3 { font-size: 1.15rem; }
.leistung .inhalt .knopf { align-self: flex-start; text-align: center; }
.knopf { text-align: center; }
.leistung .inhalt p { font-size: .92rem; }
.leistungen { gap: 24px; }
.leistung .inhalt p { flex: 1; }
.leistung .nummer { color: var(--gold-hell); font-size: .8rem; letter-spacing: .3em; }

/* ---------- Zielgruppen ---------- */
.raster-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 50px; }
.feld { background: var(--bg-karte); color: var(--text); padding: 0 0 30px; transition: background .4s; display: flex; flex-direction: column; }
.feld .mehr { margin-top: auto !important; padding-top: 14px; align-self: flex-start; }
.feld:hover { color: var(--text); }
.feld > *:not(.feld-bild) { margin-left: 26px; margin-right: 26px; }
.feld h3 { margin-top: 24px; font-size: 1.15rem; }
.feld-bild { display: block; overflow: hidden; aspect-ratio: 4 / 3; margin: 0 !important; }
.feld-bild img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2, .8, .2, 1); }
.feld:hover .feld-bild img { transform: scale(1.05); }
.feld:not(:has(.feld-bild)) { padding-top: 4px; }
.feld:hover { background: #2a2a2e; }
.feld p { font-size: .92rem; }
.feld h3 { margin-bottom: .5em; }
.feld .mehr { display: inline-flex; gap: 10px; align-items: center; margin-top: .4rem; font-weight: 400; color: var(--gold-hell); font-size: .88rem; }
.feld .mehr::after { content: "→"; transition: transform .3s; }
.feld:hover .mehr::after { transform: translateX(6px); }

/* ---------- Orte ---------- */
.orte { display: flex; flex-wrap: wrap; gap: 10px; margin: 30px 0 10px; padding: 0; list-style: none; }
.orte li { border: 1px solid rgba(255, 255, 255, .14); padding: 7px 16px; font-size: .88rem; color: #c9c9cc; }
.zweispaltig { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: start; }

/* ---------- Über mich ---------- */
.ich { display: grid; grid-template-columns: 300px 1fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.ich img { width: 100%; filter: grayscale(1); }
.ich .rolle { color: var(--gold-hell); letter-spacing: .3em; font-size: .78rem; text-transform: uppercase; }
.zahlen { display: flex; gap: 50px; flex-wrap: wrap; margin-top: 30px; }
.zahlen div { border-top: 1px solid var(--gold); padding-top: 14px; min-width: 140px; }
.zahlen b { display: block; color: var(--weiss); font-size: 1.45rem; font-weight: 400; }

/* ---------- Kennzahlen (wie handwerk./gesundheit.) ---------- */
.kennzahlen { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 14px 28px; margin-top: 44px; }
.kennzahlen div { display: flex; align-items: baseline; gap: 8px; }
.kennzahlen b { color: var(--gold-hell); font-size: 1.4rem; font-weight: 500; letter-spacing: -.01em; white-space: nowrap; }
.kennzahlen span:not([data-zahl]) { font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; color: #a9a9ac; }
.google-zeile { margin: 16px 0 0; font-size: .78rem; letter-spacing: .06em; text-align: center; }
.google-zeile a { color: #a9a9ac; }
.google-zeile a:hover { color: var(--weiss); }
.google-zeile i { font-style: normal; color: var(--gold-hell); letter-spacing: .1em; margin-right: 6px; }
.kennzahlen b span { font-size: inherit; letter-spacing: inherit; text-transform: none; color: inherit; }

.praxis-beleg { font-size: .78rem; letter-spacing: .06em; color: #a9a9ac; padding-top: 6px; }
.praxis-beleg b { color: var(--gold-hell); font-size: 1.1rem; font-weight: 500; margin-right: 4px; }

/* ---------- Listen ---------- */
.liste { list-style: none; padding: 0; margin: 0; }
.liste li { padding: 7px 0 7px 30px; position: relative; color: #c9c9cc; }
.liste li::before { content: ""; position: absolute; left: 0; top: 19px; width: 16px; height: 1px; background: var(--gold); }

.liste.zwei-spalten { columns: 2; column-gap: 60px; }
.liste.zwei-spalten li { break-inside: avoid; }

/* ---------- Kacheln (Produkt-Varianten, Ablauf) ---------- */
.kacheln { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 46px; }
.kachel { background: var(--bg-karte); padding: 34px 30px; transition: transform .45s, background .45s; }
.kachel:hover { transform: translateY(-6px); background: #2a2a2e; }
.kachel .titel { color: var(--gold-hell); letter-spacing: .2em; font-size: .78rem; text-transform: uppercase; display: block; margin-bottom: .6rem; }
.kachel h3 { font-size: 1.2rem; }
.ablauf { counter-reset: schritt; list-style: none; padding: 0; margin: 46px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 44px 26px; }
.ablauf li { width: calc((100% - 78px) / 4); }
.ablauf li { counter-increment: schritt; position: relative; text-align: center; color: #c9c9cc; font-size: .92rem; line-height: 1.6; }
.ablauf img { display: block; width: 92px; height: 92px; padding: 22px; margin: 0 auto 16px; border: 1px solid rgba(176, 154, 108, .45); border-radius: 50%; transition: border-color .4s, transform .4s; }
.ablauf li:hover img { border-color: var(--gold-hell); transform: translateY(-4px); }
.ablauf.gezeichnet img { border-color: transparent; opacity: 0; transition: opacity .6s calc(var(--i, 0) * .18s + .35s), translate .4s; }
.ablauf.gezeichnet li:hover img { transform: none; translate: 0 -4px; }
.ablauf.gezeichnet.sichtbar img { opacity: 1; }
.ablauf .kreis { position: absolute; top: 0; left: 50%; width: 92px; height: 92px; margin-left: -46px; transform: rotate(-90deg); pointer-events: none; transition: translate .4s; }
.ablauf li:hover .kreis { translate: 0 -4px; }
.ablauf .kreis circle { fill: none; stroke: var(--gold-hell); stroke-width: 2; stroke-dasharray: 283; stroke-dashoffset: 283; transition: stroke-dashoffset 1.1s cubic-bezier(.6, 0, .3, 1) calc(var(--i, 0) * .18s); }
.ablauf.sichtbar .kreis circle { stroke-dashoffset: 0; }
.ablauf.gezeichnet li::before { transform: scale(0); transition: transform .45s cubic-bezier(.3, 1.6, .5, 1) calc(var(--i, 0) * .18s + .7s); z-index: 1; }
.ablauf.gezeichnet.sichtbar li::before { transform: scale(1); }
.ablauf li::before { content: counter(schritt); position: absolute; top: 0; left: calc(50% + 26px); width: 26px; height: 26px; border-radius: 50%; background: var(--gold); color: var(--weiss); font-size: .72rem; font-weight: 500; line-height: 26px; text-align: center; }

/* ---------- Referenzen ---------- */
.referenz { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: center; padding: 50px 0; }
.referenz:nth-child(even) .ref-bild { order: 2; }
.ref-bild { overflow: hidden; }
.ref-bild img { transition: transform 1.2s; }
.referenz:hover .ref-bild img { transform: scale(1.04); }

.hinweis-studio { margin-top: 60px; padding: 32px 36px; background: var(--bg-karte); }
.hinweis-studio h3 { margin-bottom: .4em; }
.hinweis-studio .mehr { font-weight: 400; }

/* ---------- Galerie ---------- */
.filter { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 0 0 40px; }
.filter button {
  background: transparent; color: var(--text); border: 1px solid rgba(255, 255, 255, .16); padding: 9px 22px; cursor: pointer;
  font-family: inherit; font-size: .88rem; transition: all .3s;
}
.filter button:hover, .filter button.aktiv { background: var(--gold); border-color: var(--gold); color: var(--weiss); }
.galerie { display: flex; flex-wrap: wrap; gap: 14px; }
.galerie::after { content: ""; flex-grow: 999999; }
.galerie.buendig::after { display: none; }
.galerie figure {
  margin: 0; position: relative; overflow: hidden; cursor: zoom-in; background: #2a2a2d;
  flex-grow: calc(var(--r) * 100); flex-basis: calc(var(--r) * var(--zeile, 220px));
}
.galerie figure a, .galerie figure i { display: block; }
.galerie figure i { padding-bottom: calc(100% / var(--r)); }
.galerie img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(.2, .8, .2, 1), opacity .6s; }
.galerie figure:hover img { transform: scale(1.04); }
.galerie figure.weg { display: none; }
.galerie figcaption {
  position: absolute; inset: auto 0 0 0; padding: 30px 16px 14px; font-size: .8rem; color: var(--weiss);
  background: linear-gradient(transparent, rgba(0, 0, 0, .65)); opacity: 0; transform: translateY(100%);
  transition: opacity .4s, transform .5s cubic-bezier(.2, .8, .2, 1); z-index: 2; pointer-events: none;
}
.galerie figure:hover figcaption { opacity: 1; transform: none; }
.galerie figure a::after { content: ""; position: absolute; inset: 0; background: rgba(148, 129, 89, .18); opacity: 0; transition: opacity .45s; pointer-events: none; z-index: 1; }
.galerie figure:hover a::after { opacity: 1; }
.galerie figure { transition: opacity .28s ease, transform .28s ease; }
.galerie figure.aus { opacity: 0; transform: scale(.96); }
.lightbox { position: fixed; inset: 0; background: rgba(12, 12, 13, 0); z-index: 100; pointer-events: none; visibility: hidden; transition: background .45s, visibility 0s .55s; }
.lightbox.offen { background: rgba(12, 12, 13, .96); pointer-events: auto; visibility: visible; transition: background .45s; }
.lightbox img { position: fixed; max-width: none; max-height: none; object-fit: contain; opacity: 0;
  transition: left .55s cubic-bezier(.2, .8, .2, 1), top .55s cubic-bezier(.2, .8, .2, 1), width .55s cubic-bezier(.2, .8, .2, 1), height .55s cubic-bezier(.2, .8, .2, 1), opacity .25s; }
.lightbox button { position: absolute; background: none; border: 0; color: var(--weiss); font-size: 2.2rem; cursor: pointer; padding: 16px; font-family: inherit; opacity: 0; transition: opacity .3s .25s, color .25s; z-index: 2; }
.lightbox.offen button { opacity: 1; }
.lightbox button:hover { color: var(--gold-hell); }
.lb-zaehler { position: fixed; left: 0; right: 0; bottom: 22px; text-align: center; color: var(--weiss); font-size: .75rem; letter-spacing: .3em; opacity: 0; transition: opacity .3s .25s; }
.lightbox.offen .lb-zaehler { opacity: 1; }
.lb-zu { top: 10px; right: 16px; } .lb-zurueck { left: 10px; top: 50%; transform: translateY(-50%); } .lb-vor { right: 10px; top: 50%; transform: translateY(-50%); }

/* ---------- Kontakt ---------- */
.formular { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.formular .voll { grid-column: 1 / -1; }
.formular label { display: block; font-size: .82rem; letter-spacing: .08em; color: #c3c3c6; margin-bottom: 6px; }
.formular input, .formular textarea, .formular select {
  width: 100%; background: var(--bg-karte); border: 1px solid rgba(255, 255, 255, .1); color: var(--weiss);
  padding: 14px 16px; font-family: inherit; font-size: 1rem; font-weight: 300; transition: border-color .3s;
}
.formular input:focus, .formular textarea:focus, .formular select:focus { outline: none; border-color: var(--gold); }
.formular textarea { min-height: 160px; resize: vertical; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .88rem; }
.check input { width: auto; margin-top: 6px; accent-color: var(--gold); }
.hp { position: absolute; left: -9999px; }
.kontaktdaten p { margin-bottom: 1.4em; }
.kontaktdaten .kicker { margin-bottom: .3rem; }

/* ---------- Rechtstexte ---------- */
.recht > * { max-width: 860px; }
.recht h2 { font-size: 1.4rem; margin-top: 2.2em; }
.recht h3 { font-size: 1.1rem; margin-top: 1.6em; }

/* ---------- Aufruf ---------- */
.aufruf { text-align: center; overflow: hidden; }
.aufruf::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: min(1100px, 120%); height: 140%; transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(148, 129, 89, .13), transparent); pointer-events: none;
}
.aufruf .huelle { position: relative; }
main:has(> .aufruf:last-child) + .fuss { padding-top: 10px; }
.aufruf h2 { max-width: 820px; margin-inline: auto; }
.aufruf .knopf-reihe { justify-content: center; margin-top: 30px; }

/* ---------- Fußzeile ---------- */
.fuss { background: var(--bg-dunkel); padding: 70px 0 34px; font-size: .9rem; }
.fuss-raster { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 30px; }
.fuss img { height: 30px; width: auto; margin-bottom: 20px; }
.fuss h4 { font-size: .78rem; letter-spacing: .3em; color: var(--gold-hell); text-transform: uppercase; margin-bottom: 1rem; }
.fuss ul { list-style: none; padding: 0; margin: 0; }
.fuss li { margin-bottom: .45rem; }
.fuss a { color: var(--text); } .fuss a:hover { color: var(--weiss); }
.fuss-unten { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding-top: 26px; font-size: .82rem; }
.sozial { display: flex; gap: 14px; }
.sozial a { width: 38px; height: 38px; border: 1px solid rgba(255, 255, 255, .15); display: grid; place-items: center; transition: all .3s; }
.sozial a:hover { background: var(--gold); border-color: var(--gold); }
.sozial svg { width: 16px; height: 16px; fill: var(--weiss); }
.nach-oben {
  position: fixed; right: 22px; bottom: 22px; width: 46px; height: 46px; background: var(--gold); color: var(--weiss); border: 0;
  display: grid; place-items: center; cursor: pointer; opacity: 0; transform: translateY(20px); transition: all .4s; z-index: 40; font-size: 1.1rem;
}
.nach-oben.sichtbar { opacity: 1; transform: none; }
.nach-oben.sichtbar.am-ende { opacity: 0; transform: translateY(20px); pointer-events: none; }

/* ---------- Scroll-Animationen ---------- */
.anim { opacity: 0; transform: translateY(40px); transition: opacity 1s cubic-bezier(.2, .8, .2, 1), transform 1s cubic-bezier(.2, .8, .2, 1); }
.anim.links { transform: translateX(-50px); } .anim.rechts { transform: translateX(50px); }
.anim.sichtbar { opacity: 1; transform: none; }
.anim.d1 { transition-delay: .12s; } .anim.d2 { transition-delay: .24s; } .anim.d3 { transition-delay: .36s; }
.bildvorhang { position: relative; overflow: hidden; }
.bildvorhang::after { content: ""; position: absolute; inset: 0; background: var(--gold); transform-origin: right; transition: transform 1.1s cubic-bezier(.7, 0, .2, 1) calc(.1s + var(--vz, 0s)); pointer-events: none; z-index: 3; }
.bildvorhang img { scale: 1.06; transition: transform 1.2s cubic-bezier(.2, .8, .2, 1), scale 1.6s cubic-bezier(.2, .7, .2, 1) calc(.1s + var(--vz, 0s)), opacity .6s; }
.bildvorhang.sichtbar img { scale: 1; }
.bildvorhang.sichtbar::after { transform: scaleX(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .anim, .einblenden { opacity: 1; transform: none; }
  .zeile > span { transform: none; }
  .bildvorhang::after { display: none; }
  .bildvorhang img { scale: 1; }
  .ablauf .kreis { display: none; }
  .ablauf.gezeichnet img { opacity: 1; border-color: rgba(176, 154, 108, .45); }
  .ablauf.gezeichnet li::before { transform: none; }
  .galerie figure.aus { opacity: 1; transform: none; }
  .kopf.weg { transform: none; }
}

/* ---------- Handy & Tablet ---------- */
@media (max-width: 980px) {
  .burger { display: block; }
  .menue {
    position: fixed; inset: 0; background: var(--bg-dunkel); flex-direction: column; justify-content: center; gap: 18px;
    opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; z-index: -1;
  }
  .offen .menue { opacity: 1; visibility: visible; }
  .menue > li { text-align: center; }
  .menue a, .menue-knopf { font-size: 1.3rem; }
  .menue-knopf::before { display: none; }
  .untermenue { position: static; opacity: 1; visibility: visible; transform: none; background: none; box-shadow: none; margin: 4px 0 0; padding: 0; text-align: center; min-width: 0; }
  .untermenue a { font-size: .95rem; padding: 4px; }
  .buehne-bild { width: 100%; opacity: .45; }
  .buehne-bild::after { background: linear-gradient(180deg, rgba(5, 5, 6, .2), #050506 92%); }
  .ueberlapp, .zweispaltig, .referenz, .ich { grid-template-columns: 1fr; }
  .einzelbild, .zweispaltig.mit-doppelbild > div:has(.einzelbild) { min-height: 360px; height: 360px; }
  .karte-text { margin: -60px 20px 0; }
  .anschnitt { display: block; }
  .anschnitt .karte-text, .anschnitt.quer .karte-text { margin: -50px 16px 0; position: relative; }
  .referenz:nth-child(even) .ref-bild { order: 0; }
  .leistungen, .raster-3, .kacheln { grid-template-columns: 1fr; }
  /* D8: Handy-Menü – Punkte erscheinen nacheinander */
  .menue > li { opacity: 0; transform: translateY(14px); transition: opacity .4s, transform .4s; }
  .offen .menue > li { opacity: 1; transform: none; }
  .offen .menue > li:nth-child(2) { transition-delay: .05s; } .offen .menue > li:nth-child(3) { transition-delay: .1s; }
  .offen .menue > li:nth-child(4) { transition-delay: .15s; } .offen .menue > li:nth-child(5) { transition-delay: .2s; }
  .offen .menue > li:nth-child(6) { transition-delay: .25s; } .offen .menue > li:nth-child(7) { transition-delay: .3s; }
  .ablauf li { width: calc((100% - 26px) / 2); }
  .liste.zwei-spalten { columns: 1; }
  .fuss-raster { grid-template-columns: 1fr; }
  .ich img { max-width: 280px; }
}
/* A3: Kennzahlen als ruhiges Raster, sobald sie nicht mehr in eine Zeile passen */
@media (max-width: 1100px) {
  .kennzahlen { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px 18px; align-items: start; }
  .kennzahlen div { flex-direction: column; align-items: center; text-align: center; gap: 4px; }
  .kennzahlen span:not([data-zahl]) { font-size: .7rem; }
}
@media (max-width: 760px) {
  .kennzahlen { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .kennzahlen span:not([data-zahl]) { letter-spacing: .08em; overflow-wrap: anywhere; hyphens: auto; }
  .kennzahlen .wort b { white-space: normal; line-height: 1.2; font-size: 1.25rem; }
}
/* A4: Tablet – Karten mit Bild links statt riesig untereinander */
@media (min-width: 601px) and (max-width: 980px) {
  .leistung, .feld { display: grid; grid-template-columns: 40% 1fr; padding: 0; }
  .leistung .bildrahmen, .feld-bild { aspect-ratio: 4 / 3; align-self: start; }
  .feld > *:not(.feld-bild) { grid-column: 2; }
  .feld-bild { grid-row: 1 / span 6; }
  .feld { padding-bottom: 24px; }
  .feld:not(:has(.feld-bild)) { display: flex; }
  .feld:not(:has(.feld-bild)) > * { grid-column: auto; }
  .kacheln { grid-template-columns: 1fr 1fr; }
  .anschnitt.hoch .bild { max-width: 420px; margin-inline: auto; }
}
@media (max-width: 600px) {
  .galerie { gap: 8px; }
  .galerie { --zeile: 105px; }
  /* A6: Filter als waagrecht wischbare Zeile */
  .filter { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; margin: 0 -24px 28px; padding: 0 24px 4px; scrollbar-width: none; }
  .filter::-webkit-scrollbar { display: none; }
  .filter button { flex: none; white-space: nowrap; padding: 8px 16px; font-size: .82rem; }
  /* A5: Nach-oben-Knopf kleiner */
  .nach-oben { width: 38px; height: 38px; right: 14px; bottom: 14px; font-size: .95rem; }
  .formular { grid-template-columns: 1fr; }
  .knopf { padding: 12px 22px; }
  .buehne .knopf-reihe, .aufruf .knopf-reihe { flex-direction: column; align-items: stretch; max-width: 320px; gap: 12px; }
  .aufruf .knopf-reihe { margin-inline: auto; }
  .scrollhinweis { display: none; }
  .buehne { padding-bottom: 150px; }
  .siegel { right: auto; left: 24px; bottom: 28px; flex-direction: row; }
  .siegel img { width: 92px; }
  .zahlen { gap: 26px; }
}
