/* LUCIMA-DESIGN 1 */
/* Schriften sind selbst gehostet (Instrument Serif und Instrument Sans, SIL Open Font License). */
@font-face { font-family: "Serif"; src: url(fonts/serif-400.woff) format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Serif"; src: url(fonts/serif-400i.woff) format("woff"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Sans"; src: url(fonts/sans-400.woff) format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Sans"; src: url(fonts/sans-700.woff) format("woff"); font-weight: 700; font-display: swap; }

:root {
  --ivory: #f8f6f2; --sand: #efece6; --ink: #1d1c1a; --muted: #6a655c; --line: #dcd7cd;
  --accent: #a39a7c; --accent-d: #736b4d;
  --serif: "Serif", "Times New Roman", Georgia, serif;
  --sans: "Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --pad: clamp(20px, 5vw, 80px); --max: 1240px; --space: clamp(72px, 10vw, 150px); --hh: 78px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--ivory); color: var(--ink); font: 400 1.0625rem/1.75 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent-d); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 10px; z-index: 100; padding: 10px 16px; background: var(--ivory); color: var(--ink); }
.skip:focus { left: 10px; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--pad); }
.wrap--wide { max-width: 1560px; }
.wrap--narrow { max-width: 860px; }
.center { text-align: center; }

/* ---------- Schrift ---------- */
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.08; letter-spacing: -.005em; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 5.6vw, 4.8rem); }
h2 { font-size: clamp(1.9rem, 3.5vw, 3.1rem); margin-bottom: .55em; }
h3 { font-size: clamp(1.35rem, 2vw, 1.7rem); margin-bottom: .4em; }
p + p { margin-top: 1.1em; }
p { max-width: 40em; }
.lead { font: italic 400 clamp(1.25rem, 2vw, 1.65rem)/1.45 var(--serif); color: var(--ink); }
.lead--sm { font-size: clamp(1.1rem, 1.6vw, 1.3rem); }
.eyebrow, .hero-tag, .work-k, .meta, .by { font: 400 .74rem/1.4 var(--sans); letter-spacing: .26em; text-transform: uppercase; }
.eyebrow { color: var(--accent-d); margin-bottom: 1.6em; }
.meta { color: var(--muted); margin-bottom: 1.4em; }
a:not([class]) { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:not([class]):hover { color: var(--accent-d); }

/* ---------- Knöpfe ---------- */
.btn { display: inline-block; padding: 1.05em 2.1em; border: 1px solid var(--accent-d); background: var(--accent-d); color: #fff; font: 400 .74rem/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background .35s ease, color .35s ease, border-color .35s ease; }
.btn:hover { background: transparent; color: var(--accent-d); }
.btn--line { background: transparent; color: var(--accent-d); }
.btn--line:hover { background: var(--accent-d); color: #fff; }
.btn--light { background: transparent; border-color: rgba(255, 255, 255, .85); color: #fff; }
.btn--light:hover { background: #fff; color: var(--ink); border-color: #fff; }
.cta-row { margin-top: 2.2em; max-width: none; }
.cta-row--center { text-align: center; }

/* ---------- Kopfzeile ---------- */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: var(--hh); padding: 0 var(--pad); background: var(--ivory); color: var(--ink); transition: top .5s var(--ease), background .4s ease, color .4s ease, box-shadow .4s ease; }
.has-hero .site-header:not(.is-solid) { background: transparent; color: #fff; }
.site-header.is-solid { box-shadow: 0 1px 0 var(--line); }
.site-header.is-hidden { top: calc(var(--hh) * -1 - 4px); }
.logo { grid-column: 2; font: 400 clamp(1.45rem, 2.3vw, 1.9rem)/1 var(--serif); letter-spacing: .36em; padding-left: .36em; text-decoration: none; }
.menu { display: contents; }
.nav ul { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 42px); }
.nav-l { grid-column: 1; grid-row: 1; }
.nav-r { grid-column: 3; grid-row: 1; }
.nav-r ul { justify-content: flex-end; }
.nav a { position: relative; display: inline-block; padding: 8px 0; font: 400 .72rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; text-decoration: none; }
.nav li:not(.soc) a::after { content: ""; position: absolute; left: 0; right: .22em; bottom: 2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.soc a { display: inline-flex; padding: 6px 0; transition: opacity .3s ease; }
.soc a:hover { opacity: .6; }
.menu-btn { display: none; }
@media (max-width: 900px) {
  .site-header { grid-template-columns: 1fr auto; }
  .logo { grid-column: 1; padding-left: 0; font-size: 1.55rem; position: relative; z-index: 61; }
  .menu-btn { display: inline-flex; align-items: center; gap: 12px; grid-column: 2; position: relative; z-index: 61; padding: 10px 0; border: 0; background: none; font: 400 .72rem/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; cursor: pointer; }
  .bars { position: relative; width: 22px; height: 9px; }
  .bars::before, .bars::after { content: ""; position: absolute; left: 0; right: 0; height: 1px; background: currentColor; transition: transform .4s var(--ease), top .4s var(--ease); }
  .bars::before { top: 0; } .bars::after { top: 8px; }
  .site-header.open .bars::before { top: 4px; transform: rotate(45deg); }
  .site-header.open .bars::after { top: 4px; transform: rotate(-45deg); }
  .menu { display: flex; position: fixed; inset: 0; z-index: 60; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 90px var(--pad) 40px; background: var(--ivory); color: var(--ink); visibility: hidden; opacity: 0; transition: opacity .4s ease, visibility 0s .4s; }
  .site-header.open .menu { visibility: visible; opacity: 1; transition: opacity .4s ease; }
  .site-header.open { color: var(--ink); }
  .nav ul { flex-direction: column; gap: 6px; }
  .nav-l, .nav-r { grid-column: auto; grid-row: auto; }
  .nav a { font: 400 clamp(1.9rem, 8vw, 2.6rem)/1.15 var(--serif); letter-spacing: .02em; text-transform: none; }
  .nav li:not(.soc) a::after { display: none; }
  body.menu-open { overflow: hidden; }
}

/* ---------- Titelbild ---------- */
main { padding-top: var(--hh); }
.has-hero main { padding-top: 0; }
.hero { position: relative; height: 100svh; min-height: 560px; max-height: 1200px; overflow: hidden; background: #3a362f; color: #fff; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(20, 17, 12, .42), rgba(20, 17, 12, .06) 36%, rgba(20, 17, 12, .12) 62%, rgba(20, 17, 12, .5)); }
.slideshow { position: absolute; inset: 0; }
.slide { position: absolute; left: 0; top: -9%; width: 100%; height: 118%; object-fit: cover; opacity: 0; transition: opacity 1.6s ease; translate: 0 calc(var(--p, 0) * -7%); }
.slideshow:not(.is-ready) .slide:first-child { opacity: 1; }
/* Nur das sichtbare Bild wird geladen: so erscheint die Seite schneller */
.slideshow:not(.is-ready) .slide:not(:first-child), .slideshow.is-ready .slide:not(.is-active):not(.is-leaving) { display: none; }
.slide.is-active { opacity: 1; animation: settle 9s var(--ease) both; }
@keyframes settle { from { transform: scale(1.06); } to { transform: scale(1); } }
.hero-copy { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: var(--hh) var(--pad) 70px; text-align: center; }
.hero-copy > * { opacity: 0; animation: up 1.2s var(--ease) forwards; }
.hero-copy > :nth-child(1) { animation-delay: .35s; } .hero-copy > :nth-child(2) { animation-delay: .5s; } .hero-copy > :nth-child(3) { animation-delay: .65s; } .hero-copy > :nth-child(4) { animation-delay: .8s; }
@keyframes up { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.hero-copy h1 { font-size: clamp(2.7rem, 7.2vw, 6.4rem); line-height: 1.02; margin: .3em 0 .25em; max-width: 12em; }
.hero-tag { color: rgba(255, 255, 255, .9); max-width: none; }
.hero-sub { max-width: none; font: 400 .78rem/1.6 var(--sans); letter-spacing: .2em; text-transform: uppercase; margin-bottom: 2.4em; color: rgba(255, 255, 255, .92); }
.ss-ui { position: absolute; z-index: 3; left: 0; right: 0; bottom: 30px; display: flex; align-items: center; justify-content: center; gap: 26px; font: 400 .74rem/1 var(--sans); letter-spacing: .22em; }
.ss-btn { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; background: none; color: #fff; cursor: pointer; transition: opacity .3s ease, transform .4s var(--ease); }
.ss-btn:hover { opacity: .7; } .ss-prev:hover { transform: translateX(-3px); } .ss-next:hover { transform: translateX(3px); }
.ss-btn svg { width: 22px; height: 22px; }
.ss-count { min-width: 5.5em; text-align: center; }
.hero--sub { height: min(76svh, 760px); min-height: 420px; }
.hero--sub::after { background: linear-gradient(180deg, rgba(20, 17, 12, .4), rgba(20, 17, 12, .05) 40%, rgba(20, 17, 12, .5)); }
.hero-img { position: absolute; inset: 0; }
.hero-img img { width: 100%; height: 118%; margin-top: -9%; object-fit: cover; translate: 0 calc(var(--p, 0) * -7%); }
.hero--sub .hero-copy { justify-content: flex-end; padding-bottom: clamp(36px, 6vw, 80px); }
.hero--sub h1 { margin: .2em 0 0; }

/* ---------- Seitenkopf, Abschnitte ---------- */
.page-head { padding: clamp(56px, 9vw, 120px) 0 clamp(36px, 5vw, 70px); text-align: center; }
.page-head .wrap { max-width: 920px; }
.page-head .lead { margin: 1.1em auto 0; }
.page-head p { margin-inline: auto; }
.prose h3 { margin-top: 2em; }
.prose .lead--sm { margin-bottom: .6em; }
.section { padding-block: var(--space); }
.section--flush { padding-top: 0; }
.section--tight { padding-block: clamp(56px, 7vw, 100px); }
.band { background: var(--sand); padding-block: clamp(64px, 9vw, 130px); }
.band--cta { text-align: center; }
.band--cta p { margin-inline: auto; }
.prose p { max-width: 36em; }
.prose--center { margin-inline: auto; text-align: center; }
.prose--center p { margin-inline: auto; max-width: 44em; }
.sec-head { text-align: center; margin-bottom: clamp(32px, 5vw, 64px); }

/* ---------- Startseite ---------- */
.intro { display: grid; gap: clamp(40px, 7vw, 110px); align-items: center; }
@media (min-width: 901px) { .intro { grid-template-columns: 1.05fr 1fr; } }
.collage { position: relative; aspect-ratio: 1 / 1.08; width: 100%; max-width: 560px; justify-self: center; }
.collage img { position: absolute; }
.collage .c1 { left: 0; top: 0; width: 68%; translate: 0 var(--cy, 0); }
.collage .c2 { right: 0; bottom: 0; width: 52%; border: clamp(6px, 1vw, 12px) solid var(--ivory); translate: 0 calc(var(--cy, 0) * -1.4); }
.band--quote { text-align: center; }
.quote { font: italic 400 clamp(1.7rem, 3.7vw, 3.1rem)/1.28 var(--serif); max-width: 22em; margin-inline: auto; }
.by { margin: 2em auto 0; color: var(--muted); }
.split { display: grid; gap: clamp(36px, 6vw, 96px); align-items: center; }
@media (min-width: 901px) { .split { grid-template-columns: 1fr 1fr; } .split--rev .split-img { order: -1; } }
.split-img img { width: 100%; }
.works { display: grid; gap: clamp(28px, 3.4vw, 56px); }
.works--3 { grid-template-columns: repeat(3, 1fr); }
.works--stagger { grid-template-columns: repeat(2, 1fr); margin-block: clamp(48px, 7vw, 100px); }
.works--stagger .work:nth-child(even) { margin-top: clamp(40px, 9vw, 130px); }
@media (max-width: 760px) { .works--3, .works--stagger { grid-template-columns: 1fr; } .works--stagger .work:nth-child(even) { margin-top: 0; } }
.work a { display: block; text-decoration: none; }
.work-img { display: block; overflow: hidden; aspect-ratio: 4 / 5; background: var(--sand); }
.works--stagger .work-img { aspect-ratio: 5 / 6; }
.work-img img { width: 100%; height: 100%; object-fit: cover; transition: scale 1.4s var(--ease); }
.work a:hover img { scale: 1.045; }
.work-t { display: block; margin-top: 18px; font: 400 clamp(1.5rem, 2.2vw, 2rem)/1.15 var(--serif); }
.work-k { display: block; margin-top: 8px; color: var(--muted); }
.belief { text-align: center; }
.belief p { font: italic 400 clamp(1.5rem, 3vw, 2.5rem)/1.35 var(--serif); max-width: 24em; margin-inline: auto; color: var(--accent-d); }
.couples { text-align: center; margin-top: clamp(24px, 4vw, 56px); }
.couples h2 { font-size: clamp(1rem, 1.4vw, 1.2rem); font-family: var(--sans); letter-spacing: .26em; text-transform: uppercase; }
.couples p { margin-inline: auto; font-family: var(--serif); font-size: clamp(1.3rem, 2.2vw, 1.8rem); letter-spacing: .08em; }

/* ---------- Über mich ---------- */
.about { display: grid; gap: clamp(32px, 5vw, 80px); align-items: start; }
@media (min-width: 901px) { .about { grid-template-columns: 1fr 1.15fr 1fr; } .about-fig--2 { margin-top: clamp(80px, 12vw, 200px); } }
.about-fig img { width: 100%; }
.links { text-align: center; }
.links ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px clamp(24px, 4vw, 56px); }
.links a { font: 400 clamp(1.3rem, 2.2vw, 1.8rem)/1.2 var(--serif); }

/* ---------- Pakete ---------- */
.packs { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 48px); margin-top: clamp(32px, 5vw, 64px); }
@media (max-width: 900px) { .packs { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } }
.pack { display: flex; flex-direction: column; }
.pack-img { overflow: hidden; aspect-ratio: 4 / 5; background: var(--sand); margin-bottom: 26px; }
.pack-img img { width: 100%; height: 100%; object-fit: cover; }
.pack h3 { margin-bottom: .1em; }
.price { font: italic 400 1.35rem/1.3 var(--serif); color: var(--accent-d); margin-bottom: 1.1em; }
.feat { margin-bottom: 1.8em; }
.feat li { padding: .65em 0; border-top: 1px solid var(--line); font-size: .98rem; }
.feat li:last-child { border-bottom: 1px solid var(--line); }
.feat li:empty { display: none; }
.feat li:not(:empty):last-of-type { border-bottom: 1px solid var(--line); }
.pack .btn { align-self: flex-start; margin-top: auto; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 64px); margin-top: clamp(32px, 5vw, 64px); counter-reset: s; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }
.steps li::before { counter-increment: s; content: counter(s, upper-roman); display: block; margin-bottom: .5em; font: 400 2.4rem/1 var(--serif); color: var(--accent); }
.faq { margin-top: clamp(24px, 4vw, 48px); border-top: 1px solid var(--line); }
.faq-i { border-bottom: 1px solid var(--line); }
.faq-i:has(summary:empty) { display: none; }
.faq-i summary { list-style: none; cursor: pointer; padding: 1.3em 2.4em 1.3em 0; position: relative; font: 400 clamp(1.15rem, 1.7vw, 1.4rem)/1.35 var(--serif); }
.faq-i summary::-webkit-details-marker { display: none; }
.faq-i summary::after { content: "+"; position: absolute; right: 0; top: 50%; translate: 0 -50%; font: 300 1.8rem/1 var(--sans); color: var(--accent-d); transition: rotate .4s var(--ease); }
.faq-i[open] summary::after { rotate: 45deg; }
.faq-i p { padding: 0 2.4em 1.6em 0; color: var(--muted); }
.faq-end { margin-top: 2.4em; font: italic 1.3rem/1.4 var(--serif); }
.faq-end { max-width: none; }

/* ---------- Kontakt ---------- */
.contact { display: grid; gap: clamp(36px, 6vw, 90px); }
@media (min-width: 901px) { .contact { grid-template-columns: .8fr 1.2fr; align-items: start; } .contact-imgs { position: sticky; top: calc(var(--hh) + 24px); } }
.contact-imgs { display: grid; gap: 14px; grid-template-columns: repeat(3, 1fr); }
.contact-imgs img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
@media (min-width: 901px) { .contact-imgs { grid-template-columns: 1fr; } .contact-imgs img { aspect-ratio: 4 / 5; } .contact-imgs img:nth-child(n+3) { display: none; } }
.form { display: grid; gap: 30px; }
.fld { border: 0; padding: 0; margin: 0; min-width: 0; }
.fld label, .fld legend { display: block; margin-bottom: .6em; padding: 0; font: 400 .72rem/1.5 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--ink); }
.fld small { display: block; margin-top: .55em; font-size: .85rem; line-height: 1.5; color: var(--muted); }
.fld input[type="text"], .fld input[type="email"], .fld input[type="tel"], .fld select, .fld textarea { width: 100%; padding: .7em 0; border: 0; border-bottom: 1px solid var(--ink); border-radius: 0; background: transparent; font-size: 1.05rem; transition: border-color .3s ease, box-shadow .3s ease; }
.fld textarea { resize: vertical; min-height: 8em; }
.fld select { appearance: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%231d1c1a' stroke-width='1.2'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 4px center; padding-right: 24px; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; border-color: var(--accent-d); box-shadow: 0 1px 0 var(--accent-d); }
.opt { display: flex; align-items: flex-start; gap: 14px; margin: 0 0 .7em; font: 400 1rem/1.5 var(--sans); letter-spacing: 0; text-transform: none; cursor: pointer; }
.fld .opt, .opt--dsgvo { display: flex; margin: 0 0 .7em; letter-spacing: 0; text-transform: none; font-size: 1rem; line-height: 1.5; }
.opt input { appearance: none; flex: 0 0 18px; width: 18px; height: 18px; margin-top: 3px; border: 1px solid var(--ink); background: transparent; display: grid; place-items: center; cursor: pointer; transition: background .25s ease; }
.opt input::after { content: ""; width: 9px; height: 9px; background: var(--accent-d); scale: 0; transition: scale .25s var(--ease); }
.opt input:checked::after { scale: 1; }
.opt--dsgvo { font-size: .92rem; color: var(--muted); }
.form .btn { justify-self: start; }
.hp { position: absolute; left: -9999px; }
.form-status:empty { display: none; }
.form-status { padding: 18px 22px; border: 1px solid var(--accent-d); font-size: 1rem; }
.form-status.is-error { border-color: #a23c2c; color: #a23c2c; }

/* ---------- Rechtliches ---------- */
.legal p { max-width: none; font-size: 1rem; margin-bottom: 1.4em; }
.legal-block { margin-top: clamp(32px, 4vw, 56px); }
.legal-block h2 { font-size: 1.5rem; }

/* ---------- Galerie ---------- */
.wed-head { text-align: center; padding-bottom: clamp(32px, 5vw, 64px); }
.wed-head p { margin-inline: auto; }
.wed-head .lead { max-width: 30em; }
.gal { --h: clamp(150px, 21vw, 290px); --g: clamp(6px, .9vw, 12px); display: flex; flex-wrap: wrap; gap: var(--g); }
.gal::after { content: ""; flex-grow: 1000000; }
.g { position: relative; display: block; overflow: hidden; flex: calc(var(--r) * 100) 1 calc(var(--r) * var(--h)); aspect-ratio: var(--r); background: var(--sand); cursor: zoom-in; }
.g img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: scale 1.2s var(--ease), opacity .4s ease; }
.g:hover img { scale: 1.04; }
@media (max-width: 700px) { .gal { --h: 120px; } }
.wed-nav .wrap { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 28px; }
.wn-prev { justify-self: start; } .wn-next { justify-self: end; }
.wn { display: grid; gap: 6px; text-decoration: none; max-width: 14em; }
.wn span { font: 400 .72rem/1.4 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.wn strong { font: 400 clamp(1.4rem, 2.4vw, 2rem)/1.15 var(--serif); transition: color .3s ease; }
.wn:hover strong { color: var(--accent-d); }
.wn-next { text-align: right; }
@media (max-width: 700px) { .wed-nav .wrap { grid-template-columns: 1fr; text-align: center; justify-items: center; } .wn-prev, .wn-next { justify-self: center; text-align: center; } }

/* ---------- Fußzeile ---------- */
.site-footer { background: var(--sand); padding-block: clamp(56px, 8vw, 110px) 36px; text-align: center; }
.foot-logo { font: 400 clamp(2rem, 4vw, 3rem)/1 var(--serif); letter-spacing: .36em; padding-left: .36em; margin: 0 auto; }
.foot-tag { margin: 1.1em auto 2.6em; font: 400 .72rem/1.5 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--muted); }
.foot-nav ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px clamp(20px, 3vw, 44px); }
.foot-nav a { font: 400 .72rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; text-decoration: none; }
.foot-nav a:hover, .foot-legal a:hover { color: var(--accent-d); }
.foot-soc { display: flex; justify-content: center; gap: 22px; margin: 2.6em 0 2em; }
.foot-soc a { transition: opacity .3s ease; } .foot-soc a:hover { opacity: .6; }
.foot-legal { margin: 0 auto; max-width: none; font-size: .88rem; color: var(--muted); }
.foot-legal a { color: inherit; text-decoration: none; }

/* ---------- Lightbox ---------- */
.lb { position: fixed; inset: 0; z-index: 2000; display: flex; align-items: center; justify-content: center; background: rgba(18, 16, 13, .96); opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility 0s .3s; }
.lb.open { opacity: 1; visibility: visible; transition: opacity .3s ease; }
.lb-img { max-width: 92vw; max-height: 88vh; object-fit: contain; opacity: 0; scale: .985; transition: opacity .35s ease, scale .35s ease; }
.lb-img.ready { opacity: 1; scale: 1; }
.lb-btn { position: absolute; display: grid; place-items: center; width: 52px; height: 52px; padding: 0; border: 0; background: none; color: #fff; cursor: pointer; transition: opacity .3s ease; }
.lb-btn:hover { opacity: .65; }
.lb-btn svg { width: 24px; height: 24px; }
.lb-close { top: 14px; right: 14px; } .lb-prev { left: 12px; top: 50%; translate: 0 -50%; } .lb-next { right: 12px; top: 50%; translate: 0 -50%; }
.lb-count { position: absolute; bottom: 20px; left: 0; right: 0; text-align: center; color: #cfc9bc; font: 400 .74rem/1 var(--sans); letter-spacing: .24em; }
.lb :focus-visible { outline-color: #fff; }
body.lb-lock { overflow: hidden; }

/* ---------- Bewegung beim Scrollen (dezent) ---------- */
.progress { position: fixed; left: 0; right: 0; top: 0; height: 2px; z-index: 70; pointer-events: none; background: var(--accent-d); transform-origin: 0 50%; transform: scaleX(var(--sp, 0)); }
.rv { opacity: 0; translate: 0 28px; transition: opacity 1s ease var(--d, 0ms), translate 1.1s var(--ease) var(--d, 0ms); }
.rv.in { opacity: 1; translate: 0 0; }
.rv-img { clip-path: inset(0 0 100% 0); transition: clip-path 1.3s var(--ease) var(--d, 0ms); }
.rv-img.in { clip-path: inset(0); }
.rv-img > img { scale: 1.12; transition: scale 1.9s var(--ease) var(--d, 0ms); }
.rv-img.in > img { scale: 1; }
.js-line { border-top-color: transparent !important; background-image: linear-gradient(var(--line), var(--line)); background-repeat: no-repeat; background-position: 0 0; background-size: 0 1px; transition: background-size 1.4s var(--ease); }
.js-line.in { background-size: 100% 1px; }
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .25s ease both; }
::view-transition-new(root) { animation: vt-in .5s ease both; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .slide, .rv, .rv-img, .rv-img > img, .js-line, .site-header, .menu, .work-img img, .g img { transition: none; }
  .slide.is-active, .hero-copy > * { animation: none; opacity: 1; }
  .rv, .rv-img, .rv-img > img { opacity: 1; translate: none; clip-path: none; scale: none; }
  @view-transition { navigation: none; }
}
@media print {
  .rv, .rv-img, .js-line { opacity: 1 !important; translate: none !important; clip-path: none !important; }
  .site-header, .progress, .ss-ui { display: none !important; }
}
