/* Magnetar IT · Nachtstein & Bronze · Gilda Display + Josefin Sans */

@font-face { font-family: "Gilda Display"; src: url("/assets/fonts/gilda-display-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Josefin Sans"; src: url("/assets/fonts/josefin-sans-var.woff2") format("woff2"); font-weight: 100 700; font-style: normal; font-display: swap; }

:root {
  --onyx: #0D1017; --nacht: #111524; --navy: #1E2638; --schiefer: #2C3651; --steinblau: #757A92;
  --kalk: #EEE8E2; --travertin: #C4AEA1; --greige: #8E847F;
  --altbronze: #735941; --bronze: #A38466; --champagner: #DABA9E; --hell: #F6E7D3;
  --nebel: #A9ADBF; --text: #C9CCD8; --papier: #F7F3EE; --stein: #E8DFD6;
  /* Ton: hell ist Standard; .ton-dunkel und .ton-stein überschreiben */
  --bg: var(--papier); --fg: #111524; --fg2: #46413E; --fg3: #6B6560; --akzent: #735941; --akzent-hell: #A38466;
  --flaeche: rgba(196, 174, 161, .18); --feldrand: #CDBFB2;
  --serif: "Gilda Display", "Bodoni 72", "Didot", "Playfair Display", Georgia, serif;
  --sans: "Josefin Sans", "Futura", "Century Gothic", "Avenir Next", system-ui, sans-serif;
  --breite: 1240px; --rand: clamp(20px, 5vw, 64px);
  --linie: rgba(115, 89, 65, 0.2);
  --bronzeverlauf: linear-gradient(135deg, #EBD3B3 0%, #B8956F 35%, #7E5F44 62%, #DABA9E 100%);
  --kurve: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--papier); }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--sans); font-weight: 300; font-size: 17px; line-height: 1.75; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1.1em; }
::selection { background: rgba(163, 132, 102, .3); color: var(--fg); }
:focus-visible { outline: 1px solid var(--akzent); outline-offset: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.springen { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--kalk); color: var(--nacht); }
.springen:focus { top: 16px; }

/* ---------- Typografie ---------- */
h1, h2, h3, .serif { font-family: var(--serif); font-weight: 400; letter-spacing: -0.005em; color: var(--fg); }
h1 { font-size: clamp(2.5rem, 5.4vw, 4.9rem); line-height: 1.02; margin: 0 0 .4em; }
h2 { font-size: clamp(2rem, 4.2vw, 3.5rem); line-height: 1.08; margin: 0 0 .5em; }
h3 { font-size: clamp(1.4rem, 2.2vw, 1.85rem); line-height: 1.2; margin: 0 0 .5em; }
h1 em, h2 em, h3 em { font-style: italic; color: var(--akzent); }
.augenbraue { display: inline-flex; align-items: center; gap: 14px; font-size: .72rem; font-weight: 400; letter-spacing: .42em; text-transform: uppercase; color: var(--akzent); margin-bottom: 26px; }
.augenbraue::before { content: ""; width: 44px; height: 1px; background: var(--bronzeverlauf); }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.7; color: var(--fg2); max-width: 38em; }
.leise { color: var(--fg3); }
.roemisch { font-family: var(--serif); color: var(--akzent); font-size: 1.6rem; line-height: 1; }

/* ---------- Grundgerüst ---------- */
.rahmen { width: 100%; max-width: calc(var(--breite) + 2 * var(--rand)); margin: 0 auto; padding: 0 var(--rand); }
.abschnitt { position: relative; padding: clamp(90px, 13vw, 170px) 0; }
.abschnitt + .abschnitt { border-top: 1px solid var(--linie); }
.zwei { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px; align-items: start; }
.zwei > .links { grid-column: 1 / span 5; }
.zwei > .rechts { grid-column: 7 / span 6; }
@media (max-width: 900px) { .zwei > .links, .zwei > .rechts { grid-column: 1 / -1; } }

/* ---------- Knöpfe ---------- */
.knopf { position: relative; display: inline-flex; align-items: center; gap: 14px; padding: 18px 30px; font-size: .74rem; font-weight: 400; letter-spacing: .32em; text-transform: uppercase; color: var(--fg); border: 1px solid var(--bronze); overflow: hidden; isolation: isolate; transition: color .5s var(--kurve), border-color .5s var(--kurve); }
.knopf::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--bronzeverlauf); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--kurve); }
.knopf:hover { color: var(--nacht); border-color: transparent; }
.knopf:hover::before { transform: scaleX(1); }
.knopf .pfeil { width: 18px; height: 1px; background: currentColor; position: relative; transition: width .5s var(--kurve); }
.knopf .pfeil::after { content: ""; position: absolute; right: 0; top: -3px; width: 7px; height: 7px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); }
.knopf:hover .pfeil { width: 28px; }
.textlink { position: relative; display: inline-flex; align-items: center; gap: 12px; font-size: .74rem; letter-spacing: .32em; text-transform: uppercase; color: var(--akzent); padding: 6px 0; }
.textlink::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: var(--bronzeverlauf); transform: scaleX(.35); transform-origin: left; transition: transform .6s var(--kurve); }
.textlink:hover::after { transform: scaleX(1); }

/* ---------- Kopf ---------- */
.kopf { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .6s var(--kurve), backdrop-filter .6s, border-color .6s; border-bottom: 1px solid transparent; }
.kopf.ist-gescrollt { background: rgba(13, 16, 23, .78); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); border-bottom-color: var(--linie); }
.kopf-innen { max-width: calc(var(--breite) + 2 * var(--rand)); margin: 0 auto; padding: 22px var(--rand); display: flex; align-items: center; justify-content: space-between; transition: padding .6s var(--kurve); }
.kopf.ist-gescrollt .kopf-innen { padding-top: 14px; padding-bottom: 14px; }
.marke { display: inline-flex; align-items: center; gap: 14px; }
.marke-zeichen { width: 34px; height: 34px; flex: none; transition: transform .8s var(--kurve); }
.marke:hover .marke-zeichen { transform: rotate(-8deg) scale(1.06); }
.marke-wort { font-family: var(--serif); font-size: 1.02rem; letter-spacing: .32em; white-space: nowrap; }
.marke-wort em { font-style: normal; color: var(--akzent); }
.nav { display: flex; align-items: center; gap: 38px; }
.nav a { position: relative; font-size: .72rem; letter-spacing: .3em; text-transform: uppercase; color: var(--fg2); padding: 6px 0; transition: color .4s; }
.nav a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: var(--bronzeverlauf); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--kurve); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--fg); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav .nav-cta { padding: 12px 20px; border: 1px solid var(--bronze); color: var(--fg); }
.nav .nav-cta::after { display: none; }
.nav .nav-cta:hover { background: rgba(163, 132, 102, .12); }
.menue-knopf { display: none; width: 46px; height: 46px; background: none; border: 0; padding: 0; cursor: pointer; position: relative; }
.menue-knopf span:not(.sr) { position: absolute; left: 11px; right: 11px; height: 1px; background: var(--kalk); transition: transform .5s var(--kurve), top .5s var(--kurve); }
.menue-knopf span:nth-child(1) { top: 19px; }
.menue-knopf span:nth-child(2) { top: 27px; }
.menue-knopf[aria-expanded="true"] span:nth-child(1) { top: 23px; transform: rotate(45deg); }
.menue-knopf[aria-expanded="true"] span:nth-child(2) { top: 23px; transform: rotate(-45deg); }
.menue { position: fixed; inset: 0; z-index: -1; background: rgba(13, 16, 23, .97); backdrop-filter: blur(10px); display: flex; flex-direction: column; justify-content: center; padding: 100px var(--rand) 40px; }
.menue[hidden] { display: none; }
.menue nav { display: flex; flex-direction: column; gap: 10px; }
.menue nav a { font-family: var(--serif); font-size: clamp(2.2rem, 9vw, 3.4rem); line-height: 1.25; opacity: 0; transform: translateY(20px); transition: opacity .6s var(--kurve), transform .6s var(--kurve); }
.menue.ist-offen nav a { opacity: 1; transform: none; }
.menue.ist-offen nav a:nth-child(2) { transition-delay: .06s; } .menue.ist-offen nav a:nth-child(3) { transition-delay: .12s; } .menue.ist-offen nav a:nth-child(4) { transition-delay: .18s; }
.menue-fuss { margin-top: 48px; font-size: .8rem; letter-spacing: .14em; color: var(--fg3); }
@media (max-width: 980px) { .nav { display: none; } .menue-knopf { display: block; } }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(100svh, 1000px); display: flex; align-items: center; overflow: hidden; padding: 140px 0 100px; }
.sternenfeld { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(ellipse 60% 70% at 72% 50%, rgba(218, 186, 158, .07), transparent 60%), radial-gradient(ellipse at 50% 120%, rgba(13, 16, 23, 1) 10%, transparent 60%); }
.hero-raster { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero h1 { max-width: 11em; }
.hero .lead { margin-bottom: 44px; }
.hero-aktionen { display: flex; flex-wrap: wrap; align-items: center; gap: 30px; }
.hero-buehne { position: relative; aspect-ratio: 1; perspective: 1200px; }
.hero-zeichen { width: 100%; height: 100%; transform-style: preserve-3d; transition: transform 1.2s var(--kurve); filter: drop-shadow(0 40px 80px rgba(0, 0, 0, .55)); }
.hero-hinweis { position: absolute; left: 50%; bottom: 34px; z-index: 1; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 12px; font-size: .62rem; letter-spacing: .4em; text-transform: uppercase; color: var(--fg3); }
.hero-hinweis::after { content: ""; width: 1px; height: 46px; background: linear-gradient(var(--champagner), transparent); animation: tropfen 2.6s var(--kurve) infinite; transform-origin: top; }
@media (max-height: 940px) { .hero-hinweis { display: none; } }
@keyframes tropfen { 0% { transform: scaleY(0); opacity: 1; } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }
@media (max-width: 900px) {
  .hero { padding-top: 120px; min-height: auto; }
  .hero-raster { grid-template-columns: 1fr; }
  .hero-buehne { order: -1; max-width: 360px; margin: 0 auto; width: 78%; }
  .hero-hinweis { display: none; }
}

/* ---------- Zeichen-Animation ---------- */
.hero-zeichen .z-raute, .klein-zeichen .z-raute { stroke-dasharray: 1; stroke-dashoffset: 1; animation: zeichnen 2.4s var(--kurve) .2s forwards; }
.hero-zeichen .z-flaeche, .klein-zeichen .z-flaeche { opacity: 0; animation: einblenden 1.6s var(--kurve) .3s forwards; }
.hero-zeichen .z-feld, .klein-zeichen .z-feld { transform-box: view-box; transform-origin: 60px 60px; opacity: 0; transform: scale(.6); animation: feld 2.2s var(--kurve) forwards; }
svg .z-feld-1 { animation-delay: 1.1s; } svg .z-feld-2 { animation-delay: 1.25s; } svg .z-feld-3 { animation-delay: 1.45s; } svg .z-feld-4 { animation-delay: 1.6s; }
.hero-zeichen .z-strahl, .klein-zeichen .z-strahl { transform-box: view-box; transform-origin: 60px 60px; transform: scaleY(0); animation: strahl 1.6s var(--kurve) .9s forwards; }
.hero-zeichen .z-hof, .klein-zeichen .z-hof { transform-box: view-box; transform-origin: 60px 60px; opacity: 0; animation: einblenden 1.8s var(--kurve) .6s forwards, atmen 6s ease-in-out 2.6s infinite; }
.hero-zeichen .z-kern, .klein-zeichen .z-kern { transform-box: view-box; transform-origin: 60px 60px; transform: scale(0); animation: kern 1.2s var(--kurve) .5s forwards; }
.z-puls { opacity: 0; transform-box: view-box; }
.hero-zeichen .z-puls-o { animation: puls-o 3.6s cubic-bezier(.4, 0, .6, 1) 3s infinite; }
.hero-zeichen .z-puls-u { animation: puls-u 3.6s cubic-bezier(.4, 0, .6, 1) 3s infinite; }
@keyframes zeichnen { to { stroke-dashoffset: 0; } }
@keyframes einblenden { to { opacity: 1; } }
@keyframes feld { to { opacity: 1; transform: scale(1); } }
@keyframes strahl { to { transform: scaleY(1); } }
@keyframes kern { 60% { transform: scale(1.35); } to { transform: scale(1); } }
@keyframes atmen { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.12); opacity: .82; } }
@keyframes puls-o { 0% { transform: translateY(0); opacity: 0; } 12% { opacity: 1; } 70% { opacity: .7; } 100% { transform: translateY(-48px); opacity: 0; } }
@keyframes puls-u { 0% { transform: translateY(0); opacity: 0; } 12% { opacity: 1; } 70% { opacity: .7; } 100% { transform: translateY(48px); opacity: 0; } }

/* ---------- Einblenden beim Scrollen ---------- */
[data-zeigen] { opacity: 0; transform: translateY(34px); transition: opacity 1.2s var(--kurve), transform 1.2s var(--kurve); transition-delay: var(--verz, 0s); }
[data-zeigen].ist-sichtbar { opacity: 1; transform: none; }
.linie-wachsen { display: block; height: 1px; width: 100%; background: var(--bronzeverlauf); transform: scaleX(0); transform-origin: left; transition: transform 1.8s var(--kurve) .2s; }
.ist-sichtbar .linie-wachsen, .linie-wachsen.ist-sichtbar { transform: scaleX(1); }

/* ---------- Aussage ---------- */
.aussage { text-align: center; }
.aussage blockquote { margin: 0 auto; max-width: 18em; font-family: var(--serif); font-size: clamp(2rem, 4.6vw, 3.9rem); line-height: 1.16; }
.aussage blockquote em { font-style: italic; color: var(--akzent); }
.aussage .klein { margin-top: 34px; font-size: .74rem; letter-spacing: .38em; text-transform: uppercase; color: var(--fg3); }

/* ---------- Materialband ---------- */
.materialband { position: relative; height: clamp(220px, 34vw, 420px); overflow: hidden; }
.materialband .bild { position: absolute; inset: -18% 0; background-size: cover; background-position: center; will-change: transform; }
.materialband::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--onyx) 0%, rgba(13, 16, 23, .1) 22%, rgba(13, 16, 23, .1) 78%, var(--onyx) 100%); }
.bild-marmor { background-image: url("/assets/img/marmor.webp"); }
.bild-lamellen { background-image: url("/assets/img/lamellen.webp"); }
.bild-bronze { background-image: url("/assets/img/bronze.webp"); }
.bild-travertin { background-image: url("/assets/img/travertin.webp"); }
.bild-leinen { background-image: url("/assets/img/leinen-hoch.webp"); }
.bild-boucle { background-image: url("/assets/img/boucle.webp"); }
.bild-holz { background-image: url("/assets/img/holz.webp"); }
.seitenkopf-bild .bild-bronze { background-image: url("/assets/img/bronze-hoch.webp"); }
.seitenkopf-bild .bild-travertin { background-image: url("/assets/img/travertin-hoch.webp"); }

/* ---------- Leistungen ---------- */
.leistungen { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--linie); border-left: 1px solid var(--linie); margin-top: 70px; }
.leistung { position: relative; padding: clamp(34px, 4vw, 56px); border-right: 1px solid var(--linie); border-bottom: 1px solid var(--linie); overflow: hidden; transition: background .7s var(--kurve); }
.leistung::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 1px; background: var(--bronzeverlauf); transform: scaleX(0); transform-origin: left; transition: transform .9s var(--kurve); }
.leistung:hover { background: rgba(30, 38, 56, .45); }
.leistung:hover::before { transform: scaleX(1); }
.leistung .roemisch { margin-bottom: 30px; }
.leistung h3 { margin-bottom: .6em; }
.leistung p { color: var(--fg2); margin-bottom: 1.6em; max-width: 30em; }
.leistung ul, .liste { list-style: none; padding: 0; margin: 0 0 1.8em; }
.leistung li, .liste li { position: relative; padding: 9px 0 9px 26px; border-top: 1px solid rgba(163, 132, 102, .12); font-size: .98rem; color: var(--fg2); }
.leistung li::before, .liste li::before { content: ""; position: absolute; left: 2px; top: 1.15em; width: 7px; height: 7px; border: 1px solid var(--akzent); transform: rotate(45deg); }
@media (max-width: 860px) { .leistungen { grid-template-columns: 1fr; } }

/* ---------- Grundsätze ---------- */
.grundsaetze { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: 70px; border-top: 1px solid var(--linie); }
.grundsatz { padding: 40px 30px 10px 0; }
.grundsatz + .grundsatz { padding-left: 30px; border-left: 1px solid var(--linie); }
.grundsatz h3 { font-size: 1.5rem; }
.grundsatz p { color: var(--fg2); font-size: .98rem; }
@media (max-width: 980px) { .grundsaetze { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grundsatz:nth-child(3) { padding-left: 0; border-left: 0; } }
@media (max-width: 560px) { .grundsaetze { grid-template-columns: 1fr; } .grundsatz + .grundsatz { padding-left: 0; border-left: 0; border-top: 1px solid var(--linie); } }

/* ---------- Ablauf ---------- */
.ablauf { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; margin-top: 80px; }
.ablauf::before { content: ""; position: absolute; left: 0; right: 0; top: 34px; height: 1px; background: var(--linie); }
.schritt { position: relative; }
.schritt .nummer { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 68px; height: 68px; margin-bottom: 30px; font-family: var(--serif); font-size: 1.5rem; color: var(--akzent); background: var(--onyx); }
.schritt .nummer::before { content: ""; position: absolute; inset: 10px; border: 1px solid var(--bronze); transform: rotate(45deg); transition: transform 1s var(--kurve); }
.schritt:hover .nummer::before { transform: rotate(135deg); }
.schritt p { color: var(--fg2); font-size: .98rem; }
@media (max-width: 900px) { .ablauf { grid-template-columns: 1fr 1fr; } .ablauf::before { display: none; } }
@media (max-width: 560px) { .ablauf { grid-template-columns: 1fr; } }

/* ---------- Name ---------- */
.name { overflow: hidden; }
.name .zwei { align-items: center; }
.name-buehne { position: relative; aspect-ratio: 1; max-width: 460px; margin-left: auto; }
.name-buehne .klein-zeichen { width: 100%; height: 100%; }
.name-buehne::before { content: ""; position: absolute; inset: 12%; border: 1px solid rgba(163, 132, 102, .14); transform: rotate(45deg); animation: kreisen 60s linear infinite; }
@keyframes kreisen { to { transform: rotate(405deg); } }
.fakten { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 40px; padding-top: 30px; border-top: 1px solid var(--linie); }
.fakt strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.5rem; color: var(--akzent); line-height: 1.2; }
.fakt span { font-size: .78rem; letter-spacing: .1em; color: var(--fg3); }
@media (max-width: 900px) { .name-buehne { margin: 0 auto 30px; max-width: 320px; } }

/* ---------- Region ---------- */
.region { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: 60px; border-top: 1px solid var(--linie); border-bottom: 1px solid var(--linie); }
.ort { padding: 36px 30px 30px 0; }
.ort + .ort { padding-left: 30px; border-left: 1px solid var(--linie); }
.ort .klein { display: block; margin-bottom: 10px; font-size: .7rem; letter-spacing: .36em; text-transform: uppercase; color: var(--akzent); }
.ort p { color: var(--fg2); font-size: .98rem; margin: 0; }
@media (max-width: 760px) { .region { grid-template-columns: 1fr; } .ort + .ort { padding-left: 0; border-left: 0; border-top: 1px solid var(--linie); } }

/* ---------- Abschluss-Aufruf ---------- */
.aufruf { position: relative; overflow: hidden; padding: clamp(110px, 15vw, 190px) 0; text-align: center; isolation: isolate; }
.aufruf .bild { position: absolute; inset: -20% 0; z-index: -2; background-size: cover; background-position: center; will-change: transform; }
.aufruf::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at center, rgba(13, 16, 23, .55), rgba(13, 16, 23, .92) 70%), linear-gradient(180deg, var(--onyx), transparent 20%, transparent 80%, var(--onyx)); }
.aufruf h2 { max-width: 14em; margin-left: auto; margin-right: auto; }
.aufruf .lead { margin: 0 auto 46px; }

/* ---------- Unterseiten ---------- */
.seitenkopf { position: relative; padding: clamp(170px, 22vw, 260px) 0 clamp(70px, 9vw, 120px); overflow: hidden; isolation: isolate; }
.seitenkopf .bild { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; opacity: .75; }
.seitenkopf::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--onyx) 28%, rgba(13, 16, 23, .35) 72%, rgba(13, 16, 23, .55)), linear-gradient(180deg, rgba(13, 16, 23, .2) 60%, var(--onyx)); }
.seitenkopf h1 { max-width: 12em; }
.detail { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px; padding: clamp(70px, 9vw, 120px) 0; border-top: 1px solid var(--linie); }
.detail .kopfspalte { grid-column: 1 / span 4; position: sticky; top: 120px; align-self: start; }
.detail .inhaltspalte { grid-column: 6 / span 7; }
.detail .inhaltspalte .lead { margin-bottom: 1.6em; }
.detail .roemisch { font-size: 3rem; margin-bottom: 20px; }
.unterpunkte { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 40px; margin-top: 30px; }
.unterpunkt h4 { margin: 0 0 8px; font-family: var(--serif); font-weight: 400; font-size: 1.2rem; color: var(--fg); }
.unterpunkt p { color: var(--fg2); font-size: .96rem; margin: 0; }
@media (max-width: 900px) { .detail .kopfspalte, .detail .inhaltspalte { grid-column: 1 / -1; position: static; } .unterpunkte { grid-template-columns: 1fr; } }

/* ---------- Kontakt ---------- */
.kontakt-raster { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px; padding-bottom: clamp(90px, 12vw, 150px); }
.kontakt-raster .angaben { grid-column: 1 / span 4; }
.kontakt-raster .formular { grid-column: 6 / span 7; }
.angabe { padding: 26px 0; border-top: 1px solid var(--linie); }
.angabe .klein { display: block; margin-bottom: 8px; font-size: .7rem; letter-spacing: .36em; text-transform: uppercase; color: var(--akzent); }
.angabe a, .angabe span.wert { font-family: var(--serif); font-size: 1.35rem; line-height: 1.4; }
.angabe a { background: linear-gradient(var(--champagner), var(--champagner)) left bottom / 0 1px no-repeat; transition: background-size .6s var(--kurve); }
.angabe a:hover { background-size: 100% 1px; }
.formular form { display: grid; gap: 26px; }
.feld { position: relative; }
.feld label { display: block; font-size: .7rem; letter-spacing: .32em; text-transform: uppercase; color: var(--fg3); margin-bottom: 10px; }
.feld input, .feld textarea, .feld select { width: 100%; padding: 14px 0; background: transparent; border: 0; border-bottom: 1px solid var(--schiefer); color: var(--fg); font: inherit; font-size: 1.05rem; transition: border-color .4s; border-radius: 0; }
.feld select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--champagner) 50%), linear-gradient(135deg, var(--champagner) 50%, transparent 50%); background-position: calc(100% - 12px) 55%, calc(100% - 7px) 55%; background-size: 5px 5px; background-repeat: no-repeat; }
.feld select option { background: var(--nacht); }
.feld textarea { min-height: 150px; resize: vertical; }
.feld input:focus, .feld textarea:focus, .feld select:focus { outline: none; border-bottom-color: var(--akzent); }
.feld .unterstrich { position: absolute; left: 0; bottom: 0; height: 1px; width: 100%; background: var(--bronzeverlauf); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--kurve); }
.feld:focus-within .unterstrich { transform: scaleX(1); }
.formular .hinweis { font-size: .86rem; color: var(--fg3); }
.formular button { justify-self: start; cursor: pointer; background: none; font: inherit; }
@media (max-width: 900px) { .kontakt-raster .angaben, .kontakt-raster .formular { grid-column: 1 / -1; } }

/* ---------- Rechtstexte ---------- */
.recht { padding: clamp(150px, 18vw, 210px) 0 clamp(90px, 12vw, 150px); }
.recht .rahmen { max-width: 880px; }
.recht h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
.recht h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-top: 2.2em; padding-top: 1.2em; border-top: 1px solid var(--linie); }
.recht h3 { font-size: 1.25rem; margin-top: 1.6em; }
.recht p, .recht li { color: var(--fg2); }
.recht a { color: var(--akzent); border-bottom: 1px solid rgba(218, 186, 158, .35); }
.recht address { font-style: normal; color: var(--fg2); margin-bottom: 1.1em; }
.recht .stand { margin-top: 3em; font-size: .86rem; color: var(--fg3); }

/* ---------- 404 ---------- */
.nicht-gefunden { min-height: 100svh; display: flex; align-items: center; text-align: center; position: relative; overflow: hidden; }
.nicht-gefunden .rahmen { position: relative; z-index: 1; }
.nicht-gefunden .klein-zeichen { width: 180px; height: 180px; margin: 0 auto 40px; }

/* ---------- Fuß ---------- */
.fuss { border-top: 1px solid var(--linie); background: linear-gradient(180deg, var(--onyx), #0A0C12); }
.fuss-innen { max-width: calc(var(--breite) + 2 * var(--rand)); margin: 0 auto; padding: 80px var(--rand) 60px; display: grid; grid-template-columns: 1.6fr 1fr .8fr .8fr; gap: 40px; }
.fuss-marke p { margin-top: 24px; color: var(--fg3); font-size: .95rem; }
.fuss-spalte { display: flex; flex-direction: column; gap: 10px; font-size: .95rem; color: var(--fg2); }
.fuss-spalte a { transition: color .4s; }
.fuss-spalte a:hover { color: var(--akzent); }
.fuss-titel { font-size: .68rem; letter-spacing: .38em; text-transform: uppercase; color: var(--akzent); margin-bottom: 6px; }
.fuss-linie { max-width: calc(var(--breite) + 2 * var(--rand)); margin: 0 auto; padding: 24px var(--rand) 34px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; border-top: 1px solid rgba(163, 132, 102, .12); font-size: .78rem; letter-spacing: .08em; color: var(--fg3); }
@media (max-width: 900px) { .fuss-innen { grid-template-columns: 1fr 1fr; } .fuss-marke { grid-column: 1 / -1; } }
@media (max-width: 520px) { .fuss-innen { grid-template-columns: 1fr; } }

/* ---------- Bewegung reduzieren ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001s !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
  [data-zeigen] { opacity: 1; transform: none; }
  .z-puls { display: none; }
}

/* =====================================================================
   Helles Design: Papier und Stein als Grund, Nacht nur für Akzentflächen
   ===================================================================== */
.ton-stein { --bg: var(--stein); background-color: var(--stein); }
.ton-dunkel { --bg: var(--nacht); --fg: var(--kalk); --fg2: var(--text); --fg3: var(--nebel); --akzent: var(--champagner); --akzent-hell: var(--bronze);
  --linie: rgba(163, 132, 102, .22); --flaeche: rgba(30, 38, 56, .45); --feldrand: var(--schiefer); background-color: var(--nacht); color: var(--fg); }
.ton-stein, .ton-dunkel { position: relative; }
.abschnitt + .abschnitt { border-top: 0; }
.abschnitt:not(.ton-stein):not(.ton-dunkel) + .abschnitt:not(.ton-stein):not(.ton-dunkel) { border-top: 1px solid var(--linie); }
.augenbraue::before { background: var(--akzent); opacity: .8; }
.ton-dunkel .augenbraue::before { background: var(--bronzeverlauf); opacity: 1; }

/* Knöpfe */
.knopf { color: var(--fg); border-color: var(--akzent-hell); }
.knopf:hover { color: var(--nacht); }
.textlink::after { background: var(--akzent); }
.ton-dunkel .textlink::after { background: var(--bronzeverlauf); }

/* Kopf */
.kopf.ist-gescrollt { background: rgba(247, 243, 238, .84); border-bottom-color: var(--linie); }
.nav a { color: var(--fg2); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--fg); }
.nav .nav-cta { border-color: var(--akzent-hell); color: var(--fg); }
.nav .nav-cta:hover { background: var(--flaeche); }
.menue-knopf span:not(.sr) { background: var(--fg); }
.menue { background: rgba(247, 243, 238, .98); }
.menue nav a { color: var(--fg); }

/* Hero hell */
.hero { background: radial-gradient(ellipse 60% 70% at 74% 48%, rgba(218, 186, 158, .30), transparent 62%), linear-gradient(180deg, var(--papier), #F1EBE4); }
.hero::after { background: none; }
.hero-buehne::before, .hero-buehne::after { content: ""; position: absolute; inset: 4%; border: 1px solid rgba(115, 89, 65, .16); transform: rotate(45deg); animation: kreisen 90s linear infinite; pointer-events: none; }
.hero-buehne::after { inset: -6%; border-color: rgba(115, 89, 65, .09); animation-duration: 140s; animation-direction: reverse; }
.hero-zeichen { filter: drop-shadow(0 46px 60px rgba(17, 21, 36, .30)) drop-shadow(0 10px 18px rgba(17, 21, 36, .18)); }
.hero-hinweis::after { background: linear-gradient(var(--akzent), transparent); }

/* Materialband: scharfe Kante statt Verlauf ins Dunkle */
.materialband::after { background: linear-gradient(180deg, rgba(17, 21, 36, .22), transparent 22%, transparent 78%, rgba(17, 21, 36, .22)); }

/* Leistungen, Ablauf, Fakten */
.leistung:hover { background: var(--flaeche); }
.schritt .nummer { background: var(--bg); }
.schritt .nummer::before { border-color: var(--akzent-hell); }

/* Name: dunkle Bühne mit Sternen */
.name .sternenfeld { position: absolute; inset: 0; z-index: 0; }
.name .rahmen { position: relative; z-index: 1; }

/* Abschluss-Aufruf: dunkel */
.aufruf::before { background: radial-gradient(ellipse at center, rgba(17, 21, 36, .45), rgba(17, 21, 36, .9) 72%); }

/* Seitenkopf der Unterseiten: hell, Materialbild als Tafel */
.seitenkopf { padding: clamp(150px, 17vw, 210px) 0 clamp(70px, 9vw, 110px); background: radial-gradient(ellipse 50% 60% at 80% 40%, rgba(218, 186, 158, .22), transparent 65%), var(--papier); }
.seitenkopf::before { display: none; }
.seitenkopf-raster { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.seitenkopf-bild { position: relative; margin: 0; aspect-ratio: 4 / 5; }
.seitenkopf-bild .tafel { position: absolute; inset: 0; overflow: hidden; clip-path: polygon(0 0, 86% 0, 100% 11%, 100% 100%, 14% 100%, 0 89%); box-shadow: 0 40px 80px rgba(17, 21, 36, .25); }
.seitenkopf-bild .tafel .bild { position: absolute; inset: -12% 0; background-size: cover; background-position: center; opacity: 1; z-index: 0; }
.seitenkopf-bild::after { content: ""; position: absolute; inset: 18px -18px -18px 18px; z-index: -1; border: 1px solid rgba(115, 89, 65, .35); clip-path: polygon(0 0, 86% 0, 100% 11%, 100% 100%, 14% 100%, 0 89%); }
@media (max-width: 900px) { .seitenkopf-raster { grid-template-columns: 1fr; } .seitenkopf-bild { max-width: 420px; aspect-ratio: 5 / 4; } }

/* Leistungs-Details als Bänder */
.detail-band .detail { border-top: 0; }

/* Formular */
.feld input, .feld textarea, .feld select { border-bottom-color: var(--feldrand); color: var(--fg); }
.feld input:focus, .feld textarea:focus, .feld select:focus { border-bottom-color: var(--akzent); }
.feld select { background-image: linear-gradient(45deg, transparent 50%, var(--akzent) 50%), linear-gradient(135deg, var(--akzent) 50%, transparent 50%); }
.feld select option { background: var(--papier); color: var(--fg); }
.angabe a { background-image: linear-gradient(var(--akzent), var(--akzent)); }

/* Rechtstexte */
.recht { background: var(--papier); }
.recht a { color: var(--akzent); border-bottom-color: rgba(115, 89, 65, .35); }

/* Fuß: dunkler Abschluss */
.fuss { background: linear-gradient(180deg, var(--nacht), var(--onyx)); border-top: 0; }
.fuss-linie { border-top-color: rgba(163, 132, 102, .14); }

/* Kleines Zeichen baut sich erst auf, wenn es ins Bild kommt */
.klein-zeichen * { animation-play-state: paused !important; }
.ist-sichtbar .klein-zeichen * { animation-play-state: running !important; }
@media (prefers-reduced-motion: reduce) { .klein-zeichen * { animation-play-state: running !important; } }

/* Reduzierte Bewegung: Zeichen sofort fertig zeigen, ohne Animation */
@media (prefers-reduced-motion: reduce) {
  .hero-zeichen .z-raute, .klein-zeichen .z-raute { animation: none !important; stroke-dashoffset: 0; }
  .hero-zeichen .z-flaeche, .klein-zeichen .z-flaeche, .hero-zeichen .z-feld, .klein-zeichen .z-feld,
  .hero-zeichen .z-hof, .klein-zeichen .z-hof, .hero-zeichen .z-strahl, .klein-zeichen .z-strahl,
  .hero-zeichen .z-kern, .klein-zeichen .z-kern { animation: none !important; opacity: 1; transform: none; }
}
