/* Kira Fotografie, Entwurf von Leitkante.
   Welt: warmes Papier-Portfolio, Leitmotiv "Scharf stellen".
   Alles in rem (Skalierung: css/skalierung.css), Bewegung Stufe 3, ein Rhythmus.
   Ohne JavaScript ist alles sichtbar: Bewegungs-Startzustände hängen an html.js. */

/* ---------- Schrift ---------- */
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- Werte ---------- */
:root {
  --beige: #faf7f2;
  --papier: #faf7f2;
  --sand: #ede7e1;
  --tinte: #3d1700;
  --tinte-weich: #593924;
  --zart: #725644;
  --terra: #3d1700;
  --dunkel: #3d1700;

  --ease: cubic-bezier(.22, .8, .3, 1);   /* ein Rhythmus */
  --dauer: .8s;
  --r: .375rem;                           /* eine Ecken-Größe für alles */
  --nav-h: 4rem;
  --inset-top: env(safe-area-inset-top, 0px);

  /* Rollen (Basis aus skalierung.css, mit Deckel dort) */
  --rolle-nav: .9375rem;
  --rolle-lesen: var(--body);
  --rolle-hero: clamp(1.65rem, 1rem + 2.6vw, 3.6rem);
  --rolle-abschnitt: var(--h2);
  --rolle-klein: .875rem;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  color-scheme: light;
  scroll-padding-top: calc(var(--nav-h) + var(--inset-top) + 1rem);
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: transparent;
}
body {
  margin: 0;
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--tinte-weich);
  background: linear-gradient(rgb(250 247 242 / .45), rgb(250 247 242 / .45)), url("../textur/papier-koernung.png"), var(--beige);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { margin: 0; color: var(--tinte); font-weight: 600; letter-spacing: -.03em; line-height: 1.08; text-wrap: balance; }
h2 { font-size: var(--rolle-abschnitt); }
h3 { font-size: 1.25rem; letter-spacing: -.02em; line-height: 1.2; }
em { font-style: normal; font-weight: 800; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
a { color: var(--terra); text-underline-offset: .2em; text-decoration-thickness: 1px; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, picture { display: block; }
svg[focusable="false"] { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
button { font: inherit; color: inherit; }
b, strong { font-weight: 600; color: var(--tinte); }

:focus-visible { outline: 2px solid var(--terra); outline-offset: 3px; border-radius: var(--r); }

.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 200; background: var(--tinte); color: var(--papier); padding: .75rem 1rem; border-radius: var(--r); }
.skip:focus { top: calc(.5rem + var(--inset-top)); }

main { display: block; }
.abschnitt { position: relative; padding-block: var(--section-gap); overflow: clip; }
.abschnitt--papier { background: var(--papier); }
.abschnitt--sand { background: var(--sand); }
.lesen { font-size: var(--rolle-lesen); max-width: var(--prose-max); }
.abschnitt__kopf { margin-bottom: clamp(1.75rem, 1rem + 2vw, 3.5rem); }
.abschnitt__kopf > * + * { margin-top: 1rem; }
.label {
  display: block; font-size: .75rem; font-weight: 500; letter-spacing: .28em; text-transform: uppercase;
  color: var(--zart); margin-bottom: .9rem;
}

/* Hinweise "offen" (dezent, aber sichtbar) */
.offen {
  display: inline; font-size: .78em; font-weight: 500; line-height: 1.5; letter-spacing: 0;
  color: var(--tinte-weich); background: rgb(61 23 0 / .07); border: 1px dashed rgb(61 23 0 / .35);
  padding: .05em .45em; border-radius: var(--r); font-style: normal;
}
.offen-box { margin-top: 1.5rem; font-size: var(--rolle-klein); max-width: var(--prose-max); }
.offen-box summary { cursor: pointer; color: var(--zart); font-weight: 500; width: fit-content; padding: .35rem 0; }
.offen-box ul { margin-top: .5rem; padding-left: 1.1rem; list-style: disc; display: grid; gap: .4rem; color: var(--tinte-weich); }

/* ---------- Knöpfe ---------- */
.knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 3rem; padding: .8rem 1.5rem; border: 0; border-radius: var(--r);
  background: var(--tinte); color: var(--papier); font-weight: 600; font-size: 1rem; line-height: 1.2;
  text-decoration: none; white-space: nowrap; cursor: pointer; touch-action: manipulation;
  transition: transform .16s ease-out, background-color .2s ease;
}
.knopf svg { width: 1.25rem; height: 1.25rem; flex: none; }
.knopf:active { transform: scale(.97); }
.knopf--hell { background: var(--beige); color: var(--dunkel); }
.knopf--leise { background: transparent; color: var(--tinte); box-shadow: inset 0 0 0 1.5px var(--tinte); }
.knopf--aus { background: transparent; color: var(--beige); box-shadow: inset 0 0 0 1.5px rgb(250 247 242 / .45); cursor: default; flex-wrap: wrap; white-space: normal; text-align: center; }
.knopf--aus:active { transform: none; }
.textlink { display: inline-flex; align-items: center; gap: .5rem; min-height: 3rem; color: var(--tinte); font-weight: 600; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 calc(100% - .55rem) / 100% 1.5px no-repeat; touch-action: manipulation; }
.textlink svg { width: 1.1rem; height: 1.1rem; transition: transform .2s ease-out; }
@media (hover: hover) and (pointer: fine) {
  .knopf:hover { background: var(--tinte-weich); }
  .knopf--hell:hover { background: var(--papier); }
  .knopf--leise:hover { background: var(--tinte); color: var(--papier); }
  .textlink:hover svg { transform: translateX(.25rem); }
}

/* ---------- Kopf und Navigation ---------- */
.kopf {
  position: sticky; top: 0; z-index: 90;
  padding-top: var(--inset-top);
  background: linear-gradient(rgb(250 247 242 / .45), rgb(250 247 242 / .45)), url("../textur/papier-koernung.png"), var(--beige);
  transition: box-shadow .3s ease;
}
.kopf.is-scrolled { box-shadow: 0 1px 0 rgb(61 23 0 / .14); }
.kopf__innen { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: var(--nav-h); }
.marke { display: block; flex: none; line-height: 0; border-radius: var(--r); }
.marke img { height: 2.35rem; width: auto; }

.nav__liste { display: none; }
.nav__toggle {
  display: inline-flex; align-items: center; justify-content: center; width: 3rem; height: 3rem; margin-right: -.5rem;
  background: none; border: 0; border-radius: var(--r); color: var(--tinte); cursor: pointer; touch-action: manipulation;
}
.nav__toggle svg { width: 1.6rem; height: 1.6rem; }
.nav__toggle .zu { display: none; }
.nav__toggle[aria-expanded="true"] .auf { display: none; }
.nav__toggle[aria-expanded="true"] .zu { display: block; }
.nav__toggle .auf, .nav__toggle .zu { stroke-width: 2; }

/* Handy-Menü: deckend, mit Hintergrund, iPhone-sicher */
.menu {
  position: fixed; inset: 0; z-index: -1; height: 100vh; height: 100dvh;
  background: linear-gradient(rgb(250 247 242 / .45), rgb(250 247 242 / .45)), url("../textur/papier-koernung.png"), var(--beige);
  padding: calc(var(--nav-h) + var(--inset-top) + 1rem) max(var(--gutter), env(safe-area-inset-right, 0px)) calc(2rem + env(safe-area-inset-bottom, 0px)) max(var(--gutter), env(safe-area-inset-left, 0px));
  display: flex; flex-direction: column; gap: 2rem; overflow-y: auto; overscroll-behavior: contain;
  visibility: hidden; opacity: 0; transition: opacity .25s ease-out, visibility 0s linear .25s;
}
.menu[data-offen] { visibility: visible; opacity: 1; transition: opacity .25s ease-out, visibility 0s; z-index: 0; }
.menu__liste { display: flex; flex-direction: column; }
.menu__liste a {
  display: flex; align-items: center; min-height: 3.5rem; padding: .5rem 0; color: var(--tinte); text-decoration: none;
  font-size: clamp(1.4rem, 1rem + 2vw, 2rem); font-weight: 600; letter-spacing: -.02em; touch-action: manipulation;
}
.menu__liste li + li a { border-top: 1px solid rgb(61 23 0 / .14); }
.menu .knopf { align-self: flex-start; }
html.menu-offen { overflow: hidden; }

/* ohne Skript: Menü als Liste unter dem Logo */
.no-js .nav__toggle { display: none; }
.no-js .kopf__innen { height: auto; flex-wrap: wrap; padding-block: .5rem; }
.no-js .menu { padding-inline: var(--gutter) !important; position: static; visibility: visible; opacity: 1; z-index: auto; height: auto; padding: 0; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 1rem; background: none; overflow: visible; }
.no-js .menu__liste { flex-direction: row; flex-wrap: wrap; gap: 0 1rem; }
.no-js .menu__liste li + li a { border: 0; }
.no-js .menu__liste a { font-size: .9375rem; min-height: 2.75rem; }
.no-js .kopf { position: static; }

@media (min-width: 72rem) {
  .nav__toggle, .menu { display: none; }
  .nav { display: flex; align-items: center; gap: 1.75rem; }
  .nav__liste { display: flex; align-items: center; gap: 1.5rem; }
  .nav__liste a {
    display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--tinte); text-decoration: none; font-size: var(--rolle-nav);
    font-weight: 500; letter-spacing: -.005em; white-space: nowrap; background: linear-gradient(var(--terra), var(--terra)) 0 calc(100% - .5rem) / 0 1.5px no-repeat;
    transition: background-size .35s var(--ease);
  }
  .nav .knopf { min-height: 2.75rem; padding: .55rem 1.1rem; font-size: var(--rolle-nav); }
  .no-js .menu { display: none; }
  .no-js .nav__liste { display: flex; }
}
@media (min-width: 72rem) and (hover: hover) and (pointer: fine) {
  .nav__liste a:hover { background-size: 100% 1.5px; }
}
.no-js .nav { display: none; }
@media (min-width: 72rem) { .no-js .nav { display: flex; } .no-js .kopf__innen { flex-wrap: nowrap; } }

/* ---------- Sucher-Ecken (genau vier Orte: Hero, leerer Sucher, Galerie, Lightbox) ---------- */
.sucher { position: relative; }
.sucher::after, .kachel::after {
  content: ""; position: absolute; pointer-events: none; z-index: 2; color: var(--tinte); background: currentColor;
  inset: calc(-1 * var(--s-off, .7rem));
  -webkit-mask: url("../icons/ecke-tl.svg") 0 0 / var(--s-gr, 1.9rem) no-repeat, url("../icons/ecke-tr.svg") 100% 0 / var(--s-gr, 1.9rem) no-repeat, url("../icons/ecke-br.svg") 100% 100% / var(--s-gr, 1.9rem) no-repeat, url("../icons/ecke-bl.svg") 0 100% / var(--s-gr, 1.9rem) no-repeat;
  mask: url("../icons/ecke-tl.svg") 0 0 / var(--s-gr, 1.9rem) no-repeat, url("../icons/ecke-tr.svg") 100% 0 / var(--s-gr, 1.9rem) no-repeat, url("../icons/ecke-br.svg") 100% 100% / var(--s-gr, 1.9rem) no-repeat, url("../icons/ecke-bl.svg") 0 100% / var(--s-gr, 1.9rem) no-repeat;
}
.sucher--leer {
  display: grid; place-items: center; text-align: center; padding: 2rem 1.5rem; color: var(--tinte-weich);
  background: var(--sand); border-radius: var(--r); --s-off: -.75rem; font-size: var(--rolle-klein); line-height: 1.5;
}
.abschnitt--sand .sucher--leer { background: var(--beige); }
.sucher--leer p { max-width: 24ch; margin-inline: auto; }
.sucher--leer::after { color: var(--tinte); }

/* ---------- Hero ---------- */
.hero {
  --hero-h: calc(min(100svh, 70rem) - var(--nav-h) - var(--inset-top));
  min-height: var(--hero-h);
  display: grid; grid-template-columns: minmax(0, 1fr); align-items: center;
  padding-block: clamp(1.5rem, 3vw, 3rem);
}
.hero__inhalt { display: grid; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.hero__text > * + * { margin-top: 1.25rem; }
.hero__logo { height: clamp(4rem, 3rem + 4vw, 7rem); width: auto; margin-bottom: clamp(1rem, 2.5vw, 2rem); }
.hero h1 { font-size: var(--rolle-hero); line-height: 1.04; letter-spacing: -.035em; }
.hero__text p.lesen { margin-bottom: 0; max-width: 34em; }
.hero__aktionen { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.75rem; padding-top: .5rem; }
.hero__foto { margin: 0; width: min(100%, 26rem); aspect-ratio: 3 / 4; justify-self: center; background: var(--ph, var(--sand)) center / cover; border-radius: var(--r); --s-off: .7rem; }
.hero__foto picture, .hero__foto img { width: 100%; height: 100%; }
.hero__foto img { object-fit: cover; border-radius: var(--r); }
.hero__rand { display: none; }

@media (min-width: 56rem) {
  .hero__inhalt { grid-template-columns: minmax(0, 1fr) auto; gap: clamp(2rem, 5vw, 5rem); }
  .hero__text { max-width: 44rem; }
  .hero__foto { width: auto; height: calc(var(--hero-h) - 9rem); max-height: 50rem; min-height: 22rem; justify-self: end; }
}

/* ab 21:9: zwei Gewichte, Bilder nebeneinander, randlos bis zum Rand */
@media (min-aspect-ratio: 21/9) and (min-width: 1800px) {
  .hero { --hero-h: calc(min(100svh, 60rem) - var(--nav-h) - var(--inset-top)); grid-template-columns: minmax(0, 1fr) min(100% - 2 * var(--gutter), var(--content-max)) minmax(0, 1fr); padding-block: 0; }
  .hero__inhalt { grid-column: 2; width: 100%; }
  .hero__text { max-width: 40rem; }
  .hero__rand { display: flex; gap: .5rem; align-self: stretch; min-height: var(--hero-h); }
  .hero__rand--l { grid-column: 1; grid-row: 1; margin-right: 1.5rem; }
  .hero__rand--r { grid-column: 3; grid-row: 1; margin-left: 1.5rem; }
  .hero__rand picture { flex: 1 1 0; min-width: 0; position: relative; overflow: clip; border-radius: 0 var(--r) var(--r) 0; }
  .hero__rand--r picture { border-radius: var(--r) 0 0 var(--r); }
  .hero__rand img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .hero__rand picture + picture { display: none; }
}
@media (min-aspect-ratio: 28/9) and (min-width: 1800px) {
  .hero__rand picture + picture { display: block; }
}

/* ---------- Vier Bereiche: Kontaktstreifen ---------- */
.bereiche { padding-block: 0; }
.streifen { display: grid; gap: .75rem; grid-template-columns: 1fr; }
.streifen__item { position: relative; contain: layout paint; border-radius: var(--r); background: var(--papier); }
.streifen__link { display: grid; grid-template-rows: auto 1fr; height: 100%; color: inherit; text-decoration: none; touch-action: manipulation; border-radius: var(--r); }
.streifen__foto { position: relative; height: 7.5rem; overflow: clip; background: var(--ph, var(--sand)); border-radius: var(--r) var(--r) 0 0; }
.streifen__foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.streifen__foto.sucher--leer { border-radius: var(--r) var(--r) 0 0; padding: 1rem; }
.streifen__foto.sucher--leer::after { --s-off: -.6rem; --s-gr: 1.4rem; inset: .85rem; }
.streifen__foto.sucher--leer p { font-size: .8125rem; }
.streifen__band { padding: 1rem 1.1rem 1.1rem; min-height: 5.5rem; display: grid; gap: .3rem; align-content: start; }
.streifen__band h3 { font-size: 1.1rem; }
.streifen__band p { margin: 0; font-size: .875rem; line-height: 1.5; }
.streifen__band .preis { font-weight: 600; color: var(--terra); font-size: .875rem; display: inline-flex; align-items: center; gap: .4rem; }
.streifen__band .preis svg { width: 1rem; height: 1rem; }
.streifen__item.is-aktiv .streifen__foto { height: 15rem; }

@media (min-width: 48rem) {
  .bereiche .content { width: calc(100% - 2 * var(--gutter)); max-width: none; }
  .streifen { grid-template-columns: repeat(4, minmax(0, 1fr)); height: clamp(27rem, 30vw, 56rem); }
  .streifen__link { grid-template-rows: 1fr 11rem; }
  .streifen__foto { height: auto; min-height: 0; border-radius: var(--r) var(--r) 0 0; }
  .streifen__foto.sucher--leer p { font-size: .875rem; }
  .streifen__item.is-aktiv .streifen__foto { height: auto; }
  .streifen__band { min-height: 0; overflow: clip; }
}
/* Aufklappen: nur Handy und Desktop-Maus, Wegfall ohne Skript (dann sind alle gleich breit) */
@media (min-width: 48rem) {
  .js .streifen { transition: grid-template-columns .7s var(--ease); }
  .js .streifen[data-aktiv="1"] { grid-template-columns: 1.8fr 1fr 1fr 1fr; }
  .js .streifen[data-aktiv="2"] { grid-template-columns: 1fr 1.8fr 1fr 1fr; }
  .js .streifen[data-aktiv="3"] { grid-template-columns: 1fr 1fr 1.8fr 1fr; }
  .js .streifen[data-aktiv="4"] { grid-template-columns: 1fr 1fr 1fr 1.8fr; }
}
@media (max-width: 47.99rem) {
  .js .streifen__foto { transition: height .7s var(--ease); }
  .js .streifen__band p:not(.preis) { display: none; }
  .js .streifen__item.is-aktiv .streifen__band p:not(.preis) { display: block; }
}

/* ---------- Familie & Baby: Mosaik mit Textkachel ---------- */
.mosaik { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
.mosaik__zeile { display: contents; }
.mosaik li { list-style: none; position: relative; min-width: 0; }
.mosaik .kachel { display: block; position: relative; overflow: clip; border-radius: var(--r); background: var(--ph, var(--sand)); aspect-ratio: var(--ar, .75); cursor: zoom-in; touch-action: manipulation; --s-off: -.5rem; --s-gr: 1.6rem; }
.kachel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.kachel::after { color: var(--papier); opacity: 0; transition: opacity .3s var(--ease); }
.kachel:focus-visible::after { opacity: 1; }
.kachel:focus-visible { outline-offset: -3px; }
.mosaik li.breit, .mosaik__text-li { grid-column: 1 / -1; }
.mosaik__text { grid-column: 1 / -1; background: var(--papier); border-radius: var(--r); padding: clamp(1.5rem, 1rem + 2vw, 2.75rem); display: flex; flex-direction: column; justify-content: center; gap: 1.1rem; }
.mosaik__text p { font-size: 1.0625rem; margin: 0; }
.mosaik__text .preiszeile { font-size: var(--rolle-klein); color: var(--zart); }
.mosaik__text .preiszeile b { color: var(--terra); }
.mosaik__hinweis { margin-top: 1.25rem; font-size: var(--rolle-klein); color: var(--zart); max-width: var(--prose-max); }

@media (min-width: 48rem) {
  .mosaik { display: block; }
  .mosaik__zeile { display: flex; gap: .5rem; align-items: stretch; }
  .mosaik__zeile + .mosaik__zeile { margin-top: .5rem; }
  .mosaik li { flex: var(--ar, .75) 1 0; aspect-ratio: var(--ar, .75); }
  .mosaik li > .kachel { height: 100%; aspect-ratio: auto; }
  .mosaik__text { grid-column: auto; flex: 1.15 1 0; }
  .mosaik__text-li { flex: 1.15 1 0 !important; display: flex; }
  .mosaik__text-li .mosaik__text { flex: 1; }
}
@media (min-aspect-ratio: 21/9) and (min-width: 1800px) {
  .mosaik { display: flex; gap: .5rem; align-items: stretch; }
  .mosaik__zeile { display: contents; }
  .mosaik__zeile + .mosaik__zeile { margin-top: 0; }
  .mosaik__wrap { width: calc(100% - 2 * var(--gutter)); margin-inline: auto; }
}
@media (hover: hover) and (pointer: fine) {
  .kachel:hover::after { opacity: 1; }
  .kachel img { transition: transform .8s var(--ease); }
  .kachel:hover img { transform: scale(1.02); }
}

/* ---------- Über Kira ---------- */
.ueber { display: grid; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.ueber__bild { width: min(100%, 22rem); aspect-ratio: 3 / 4; }
.ueber__text > * + * { margin-top: 1.25rem; }
.ueber__zeile { font-size: var(--rolle-klein); color: var(--zart); }
@media (min-width: 48rem) {
  .ueber { grid-template-columns: minmax(0, 24rem) minmax(0, 1fr); }
  .ueber__bild { width: 100%; }
}

/* ---------- Unternehmen: Panorama, Farbe kommt zurück, Streifen ---------- */
.panorama { display: flex; margin-top: clamp(2rem, 4vw, 4rem); }
.panorama picture { flex: 1 1 0; min-width: 0; display: block; background: var(--sand); max-width: 3440px; margin-inline: auto; }
.panorama img { width: 100%; height: auto; aspect-ratio: 21 / 9; max-height: min(36rem, 60svh); object-fit: cover; }
.panorama .p2, .panorama .p3 { display: none; }
@media (min-aspect-ratio: 28/9) and (min-width: 1800px) {
  .panorama .p1 { display: none; }
  .panorama .p2, .panorama .p3 { display: block; max-width: 2560px; }
}
.markt { display: flex; gap: .5rem; overflow-x: auto; scroll-snap-type: x proximity; padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); scrollbar-width: thin; scrollbar-color: var(--tinte-weich) transparent; margin-top: .5rem; padding-bottom: .75rem; overscroll-behavior-x: contain; }
.markt__zeile { display: contents; }
.markt li { flex: none; scroll-snap-align: start; position: relative; list-style: none; }
.markt .kachel { display: block; height: 15rem; aspect-ratio: var(--ar, .75); background: var(--ph, var(--sand)); border-radius: var(--r); overflow: clip; cursor: zoom-in; touch-action: manipulation; --s-off: -.5rem; --s-gr: 1.6rem; }
.markt__unter { margin-top: 1.25rem; font-size: var(--rolle-klein); color: var(--zart); }
.pakete { display: grid; gap: .75rem 2.5rem; grid-template-columns: 1fr; margin-top: clamp(1.75rem, 3vw, 3rem); }
.pakete li { display: flex; justify-content: space-between; align-items: baseline; gap: .15rem 1.5rem; padding-block: .6rem; border-top: 1px solid rgb(61 23 0 / .18); }
.pakete b { font-weight: 600; }
.pakete .preis { font-weight: 600; color: var(--tinte); white-space: nowrap; margin-left: auto; }
.unternehmen__text > * + * { margin-top: 1.25rem; }
.unternehmen__kopf { display: grid; gap: 1.5rem; }
@media (min-width: 48rem) {
  .markt { display: block; overflow: visible; padding-inline: 0; margin-inline: var(--gutter); scroll-snap-type: none; }
  .markt__zeile { display: flex; gap: .5rem; align-items: stretch; }
  .markt__zeile + .markt__zeile { margin-top: .5rem; }
  .markt li { flex: var(--ar, 1) 1 0; }
  .markt .kachel { height: auto; aspect-ratio: var(--ar, 1); width: 100%; }
  .pakete { grid-template-columns: repeat(2, 1fr); }
}
@media (min-aspect-ratio: 21/9) and (min-width: 1800px) {
  .markt { display: flex; gap: .5rem; }
  .markt__zeile { display: contents; }
  .markt__zeile + .markt__zeile { margin-top: 0; }
}

/* ---------- Hochzeit (ehrlich) ---------- */
.hochzeit { display: grid; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.hochzeit__bilder { display: grid; gap: 2rem; }
.hochzeit__sucher { aspect-ratio: 4 / 3; }
.hochzeit__familie { margin: 0; display: grid; grid-template-columns: minmax(0, 10rem) 1fr; gap: 1rem; align-items: end; }
.hochzeit__familie .bild { aspect-ratio: 3 / 4; overflow: clip; border-radius: var(--r); background: var(--ph, var(--sand)); }
.hochzeit__familie img { width: 100%; height: 100%; object-fit: cover; }
figcaption { font-size: var(--rolle-klein); color: var(--zart); line-height: 1.5; }
.hochzeit__text > * + * { margin-top: 1.25rem; }
.hochzeit__text h2 + p { margin-top: 1rem; }
.hochzeit__text .tabellen { margin-top: 2rem; }
@media (min-width: 56rem) {
  .hochzeit { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
  .hochzeit__bilder { position: sticky; top: calc(var(--nav-h) + var(--inset-top) + 2rem); }
}

/* ---------- Kindergarten ---------- */
.kita { display: grid; gap: clamp(2rem, 5vw, 5rem); }
.kita__text > * + * { margin-top: 1.25rem; }
.schritte { counter-reset: s; display: grid; gap: 0; margin-top: 2rem; }
.schritte li { counter-increment: s; display: grid; grid-template-columns: 2.75rem 1fr; gap: 0 1rem; padding-block: 1.1rem; border-top: 1px solid rgb(61 23 0 / .18); }
.schritte li::before { content: counter(s); font-weight: 800; font-size: 1.5rem; line-height: 1.1; color: var(--terra); letter-spacing: -.03em; }
.schritte b { display: block; }
.kita__seite { display: grid; gap: 1.5rem; align-content: start; }
.hinweis-karte { background: var(--papier); border-radius: var(--r); padding: clamp(1.25rem, 1rem + 1vw, 2rem); font-size: .9375rem; }
.hinweis-karte h3 { font-size: 1.05rem; margin-bottom: .6rem; }
.kita__sucher { aspect-ratio: 4 / 3; }
@media (min-width: 56rem) {
  .kita { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); align-items: start; }
}

/* ---------- Preise (echte Tabellen) ---------- */
.preise__raster { display: grid; gap: .75rem 2rem; align-items: start; }
.gruppe { border-top: 1px solid rgb(61 23 0 / .2); }
.gruppe summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 3.5rem; padding: .75rem 0;
  font-weight: 600; font-size: 1.125rem; color: var(--tinte); letter-spacing: -.02em; touch-action: manipulation;
}
.gruppe summary::-webkit-details-marker { display: none; }
.gruppe summary .ab { margin-left: auto; font-weight: 500; font-size: .875rem; color: var(--zart); letter-spacing: 0; }
.gruppe summary svg { width: 1.1rem; height: 1.1rem; flex: none; transform: rotate(90deg); transition: transform .3s var(--ease); color: var(--terra); }
.gruppe[open] summary svg { transform: rotate(-90deg); }
.gruppe__inhalt { padding-bottom: 1.75rem; display: grid; gap: 1.5rem; }
.gruppe__inhalt > p { font-size: var(--rolle-klein); margin: 0; }
.tabelle { width: 100%; border-collapse: collapse; font-size: .9375rem; line-height: 1.4; font-variant-numeric: tabular-nums; }
.tabelle caption { caption-side: top; text-align: left; font-weight: 600; color: var(--tinte); padding-bottom: .5rem; }
.tabelle th, .tabelle td { padding: .65rem .4rem; text-align: left; vertical-align: top; font-weight: 400; }
.tabelle thead th { font-size: .8125rem; font-weight: 600; color: var(--tinte-weich); border-bottom: 1.5px solid var(--tinte); }
.tabelle tbody th { font-weight: 500; color: var(--tinte); }
.tabelle tbody tr + tr > * { border-top: 1px solid var(--sand); }
.tabelle .z { text-align: right; white-space: nowrap; }
.tabelle td.z { font-weight: 600; color: var(--tinte); }
.tabelle .lang { white-space: normal; }
.gruppe__inhalt > * { min-width: 0; }
.tabelle td.auf-anfrage { text-align: center; color: var(--zart); font-style: normal; }
.preise__hinweise { margin-top: 2.5rem; display: grid; gap: .5rem; padding-left: 1.1rem; list-style: disc; font-size: var(--rolle-klein); max-width: var(--prose-max); }
.preise__ust { margin-top: 1rem; font-size: var(--rolle-klein); max-width: var(--prose-max); }
@media (min-width: 56rem) {
  .preise__raster { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- Ablauf und Fragen ---------- */
.ablauf { display: grid; gap: 0; counter-reset: a; }
.ablauf li { counter-increment: a; padding-block: 1.5rem; border-top: 1px solid rgb(61 23 0 / .2); display: grid; gap: .6rem; align-content: start; }
.ablauf li::before { content: counter(a); font-weight: 800; font-size: 2.5rem; line-height: 1; letter-spacing: -.04em; color: var(--terra); }
.ablauf h3 { font-size: 1.2rem; }
.ablauf__zusatz { margin-top: 1.5rem; font-size: var(--rolle-klein); max-width: var(--prose-max); }
.fragen { display: grid; gap: 0 clamp(2rem, 5vw, 5rem); }
.fragen > div { padding-block: 1.25rem; border-top: 1px solid rgb(61 23 0 / .2); }
.fragen dt { color: var(--tinte); font-weight: 600; margin-bottom: .4rem; }
.fragen dd { margin: 0; font-size: .9375rem; }
.fragen dd .offen { display: inline-block; margin-top: .4rem; }
.abschnitt + .abschnitt--ohne-abstand { padding-top: 0; }
@media (min-width: 48rem) {
  .ablauf { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(1.5rem, 3vw, 3rem); }
  .fragen { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- Kontakt (Dunkelkammer) ---------- */
.kontakt { background: var(--dunkel); color: var(--beige); position: relative; overflow: clip; }
.kontakt h2 { color: var(--beige); }
.kontakt a:not(.knopf) { color: var(--beige); }
.kontakt :focus-visible { outline-color: var(--beige); }
.kontakt .offen { color: var(--beige); background: rgb(250 247 242 / .1); border-color: rgb(250 247 242 / .45); }
.kontakt__inhalt { position: relative; z-index: 1; display: grid; gap: 1.75rem; max-width: 40rem; }
.kontakt__knoepfe { display: flex; flex-wrap: wrap; gap: .75rem; }
.kontakt__liste { display: grid; gap: .5rem; font-size: 1.0625rem; margin-top: .5rem; }
.kontakt__liste dt { font-size: .75rem; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: rgb(250 247 242 / .7); margin-top: .75rem; }
.kontakt__liste dd { margin: 0; }
.kontakt__logo { position: absolute; right: var(--gutter); bottom: 1.5rem; width: clamp(12rem, 34vw, 44rem); height: auto; opacity: .1; pointer-events: none; }
.kontakt .offen-box summary { color: rgb(250 247 242 / .75); }
.kontakt .offen-box ul { color: rgb(250 247 242 / .85); }
@media (min-width: 48rem) {
  .kontakt__logo { opacity: .14; bottom: 50%; transform: translateY(50%); }
}

/* ---------- Fuß ---------- */
.fuss { background: var(--dunkel); color: rgb(250 247 242 / .8); border-top: 1px solid rgb(250 247 242 / .16); padding-block: 1.75rem calc(1.75rem + env(safe-area-inset-bottom, 0px)); font-size: .8125rem; }
.fuss__innen { display: flex; flex-wrap: wrap; gap: .5rem 2rem; justify-content: space-between; align-items: center; }
.fuss a { color: var(--beige); display: inline-flex; align-items: center; min-height: 2.75rem; }
.fuss nav { display: flex; gap: 1.5rem; }
.fuss :focus-visible { outline-color: var(--beige); }

/* ---------- Lightbox (dialog) ---------- */
.lb {
  padding: 0; border: 0; max-width: none; max-height: none; width: 100%; height: 100vh; height: 100dvh; margin: 0; inset: 0;
  background: rgb(61 23 0 / .96); color: var(--beige); overflow: hidden;
}
.lb::backdrop { background: rgb(61 23 0 / .96); }
.lb[open] { display: grid; grid-template-rows: 1fr auto; }
.lb__buehne { position: relative; display: grid; place-items: center; min-height: 0; padding: calc(4.5rem + env(safe-area-inset-top, 0px)) max(1rem, env(safe-area-inset-right, 0px)) .5rem max(1rem, env(safe-area-inset-left, 0px)); }
.lb__rahmen { position: relative; max-width: 100%; max-height: 100%; background: var(--papier); padding: .5rem; border-radius: var(--r); display: flex; --s-off: .6rem; --s-gr: 1.6rem; }
.lb__rahmen::after { color: var(--beige); }
.lb__rahmen picture { display: block; max-width: 100%; max-height: 100%; }
.lb__rahmen img { display: block; max-width: 100%; max-height: calc(100dvh - 11rem); width: auto; height: auto; object-fit: contain; border-radius: calc(var(--r) - .1rem); }
.lb__fuss { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .5rem max(1rem, env(safe-area-inset-right, 0px)) calc(1rem + env(safe-area-inset-bottom, 0px)) max(1rem, env(safe-area-inset-left, 0px)); }
.lb__zaehler { margin: 0; font-size: .875rem; color: rgb(250 247 242 / .85); }
.lb__knopf { display: inline-flex; align-items: center; justify-content: center; width: 3rem; height: 3rem; border-radius: var(--r); border: 0; background: rgb(250 247 242 / .1); color: var(--beige); cursor: pointer; touch-action: manipulation; transition: transform .16s ease-out, background-color .2s ease; }
.lb__knopf svg { width: 1.4rem; height: 1.4rem; }
.lb__knopf:active { transform: scale(.94); }
.lb__knopf:focus-visible { outline-color: var(--beige); }
.lb__zu { position: absolute; top: calc(.75rem + env(safe-area-inset-top, 0px)); right: max(.75rem, env(safe-area-inset-right, 0px)); z-index: 3; }
.lb__nav { display: flex; gap: .5rem; }
.lb__zurueck svg { transform: scaleX(-1); }
@media (hover: hover) and (pointer: fine) { .lb__knopf:hover { background: rgb(250 247 242 / .22); } }
html.lb-offen { overflow: hidden; }

/* ---------- Durchgang 2: Bewegung (Stufe 3, ein Rhythmus) ---------- */
/* Einblenden: nur Deckkraft und kleiner Weg */
@keyframes einblenden { from { opacity: 0; transform: translateY(.75rem); } to { opacity: 1; transform: none; } }
@keyframes lb-ein { from { opacity: 0; } to { opacity: 1; } }

.js .hero__text > * { animation: einblenden var(--dauer) var(--ease) both; animation-delay: calc(var(--i, 0) * 90ms); }

.js [data-reveal] {
  opacity: 0; transform: translateY(.75rem);
  transition: opacity var(--dauer) var(--ease) calc(var(--i, 0) * 70ms), transform var(--dauer) var(--ease) calc(var(--i, 0) * 70ms);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* Signature 1: Scharfstellen im Hero. Weicher Platzhalter liegt darunter, das scharfe Bild blendet darüber, dann die Sucher-Ecken von außen nach innen. */
.js .hero__foto img { opacity: 0; filter: blur(10px); transform: scale(1.04); }
.js .hero__foto.is-scharf img {
  opacity: 1; filter: none; transform: none;
  transition: opacity 1.4s var(--ease), filter 1.4s var(--ease), transform 1.4s var(--ease);
}
.js .hero__foto::after { opacity: 0; transform: scale(1.1); }
.js .hero__foto.is-scharf::after { opacity: 1; transform: none; transition: opacity .6s var(--ease) 1.25s, transform .6s var(--ease) 1.25s; }
.js .hero__foto { background-image: var(--ph-bild, none); background-size: cover; background-position: center; }

/* Signature 3: Farbe kommt zurück. Markt-Bilder starten schwarzweiß und werden nacheinander farbig. */
.js [data-farbe] img { filter: grayscale(1); }
.js [data-farbe].is-farbe img, .js [data-farbe].is-farbe.panorama img { filter: none; transition: filter .9s ease calc(var(--d, 0) * 140ms); }

/* Bilder blenden beim Laden ein (Platzhalterfarbe liegt darunter) */
.js .kachel img, .js .streifen__foto img { opacity: 0; transition: opacity .6s var(--ease); }
.js .kachel img.is-geladen, .js .streifen__foto img.is-geladen, .js.bilder-sicher .kachel img, .js.bilder-sicher .streifen__foto img { opacity: 1; }
.js [data-farbe].is-farbe img { transition: filter .9s ease calc(var(--d, 0) * 140ms), opacity .6s var(--ease); }

/* Lightbox */
.lb[open] { animation: lb-ein .3s var(--ease); }
.lb__rahmen img.neu { animation: lb-ein .35s var(--ease); }

/* Ohne Bewegung: alles sofort sichtbar, Ecken fest */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .hero__text > * { animation: none; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .js .hero__foto img, .js .hero__foto.is-scharf img { opacity: 1; filter: none; transform: none; transition: none; }
  .js .hero__foto::after, .js .hero__foto.is-scharf::after { opacity: 1; transform: none; transition: none; }
  .js [data-farbe] img, .js [data-farbe].is-farbe img { filter: none; transition: none; }
  .js .kachel img, .js .streifen__foto img { opacity: 1; transition: none; }
  .kachel img, .kachel:hover img { transform: none; transition: none; }
  .kachel::after { transition: none; }
  .js .streifen, .js .streifen__foto { transition: none; }
  .lb[open], .lb__rahmen img.neu { animation: none; }
  .menu { transition: none; }
  .nav__liste a { transition: none; }
}

/* ---------- Impressum und Datenschutz ---------- */
.recht { padding-block: clamp(2.5rem, 2rem + 4vw, 6rem); }
.recht__innen { max-width: 50rem; margin-inline: 0; }
.recht__innen { width: min(100% - 2 * var(--gutter), var(--content-max)); margin-inline: auto; }
.recht__innen > * { max-width: var(--prose-max); }
.recht h1 { font-size: var(--rolle-abschnitt); margin-bottom: 2rem; }
.recht h2 { font-size: 1.25rem; margin: 2.25rem 0 .6rem; }
.recht p { font-size: 1rem; }

@media (max-width: 22.5rem) {
  .nav .knopf { display: none; }
}

/* mittlere Breiten: Textkachel als eigene Zeile über den Bildern */
@media (min-width: 48rem) and (max-width: 71.99rem) {
  .mosaik__zeile:first-child { flex-wrap: wrap; }
  .mosaik__text-li { flex: 1 1 100% !important; order: -1; aspect-ratio: auto !important; }
  .mosaik__text { padding: 1.75rem 2rem; }
}

/* =====================================================================
   Runde 2 (Kontrolleur und Art Director)
   ===================================================================== */

/* Interne Notizen: Standard aus. Sichtbar mit #hinweise in der Adresse oder dem Schalter im Fuß. */
.offen, .offen-box, .nur-hinweise { display: none; }
html.hinweise .offen { display: inline; }
html.hinweise .offen-box { display: block; }
html.hinweise .nur-hinweise { display: block; }
html.hinweise span.nur-hinweise { display: inline; }
html.hinweise .knopf.nur-hinweise { display: inline-flex; }
.offen-box summary { display: flex; align-items: center; min-height: 2.75rem; }
.offen { font-size: .8125rem; }
.platzhalter { background: rgb(61 23 0 / .07); border: 1px dashed rgb(61 23 0 / .35); padding: .05em .45em; border-radius: var(--r); color: var(--tinte-weich); font-size: .9em; }
.hinweis-schalter { background: none; border: 0; padding: .5rem 0; margin-left: 1rem; min-height: 2.75rem; color: rgb(250 247 242 / .75); font-size: .875rem; text-decoration: underline; text-underline-offset: .2em; cursor: pointer; }
.hinweis-schalter:focus-visible { outline-color: var(--beige); }

/* Lesbarkeit: nichts unter 14 px (Großbuchstaben-Labels dürfen 12 px) */
.sucher--leer, .streifen__foto.sucher--leer p, .tabelle thead th { font-size: .875rem; }
.abschnitt--sand figcaption, .abschnitt--sand .markt__unter { color: var(--tinte-weich); }
.hochzeit__bild { margin: 0; }
.hochzeit__bild picture, .hochzeit__bild img { width: 100%; height: auto; border-radius: var(--r); }
.hochzeit__bild figcaption { margin-top: .9rem; }
.hochzeit { align-items: start; }
@media (min-width: 56rem) {
  .hochzeit { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
  .hochzeit__bild { position: sticky; top: calc(var(--nav-h) + var(--inset-top) + 2rem); }
}
.kita__leer { font-size: .875rem; color: var(--tinte-weich); margin: 0; }
.kontakt__liste > div { display: grid; gap: .1rem; }
.kontakt__liste dt { margin-top: .75rem; }

/* Scharfstellen: läuft als Animation, immer ganz ab; Ecken folgen nach dem Bild */
@keyframes scharf { from { opacity: 0; filter: blur(10px); transform: scale(1.04); } to { opacity: 1; filter: blur(0); transform: scale(1); } }
@keyframes ecken { from { opacity: 0; transform: scale(1.1); } to { opacity: 1; transform: scale(1); } }
.js .hero__foto img { opacity: 0; filter: blur(10px); transform: scale(1.04); transition: none; object-position: 50% 62%; }
.js .hero__foto.is-scharf img { opacity: 1; filter: none; transform: none; transition: none; animation: scharf 1.4s var(--ease) both; }
.js .hero__foto::after { opacity: 0; transform: scale(1.1); transition: none; }
.js .hero__foto.is-scharf::after { opacity: 1; transform: none; transition: none; animation: ecken .6s var(--ease) 1.3s both; }

/* Hero: Handy zeigt das Foto früh, ein Logo, ein Knopf */
@media (max-width: 55.99rem) {
  .nav .knopf { display: none; }
  .hero { padding-block: 1rem 2rem; }
  .hero__text { display: contents; }
  .hero__text > * { margin-top: 0 !important; }
  .hero__inhalt { display: flex; flex-direction: column; gap: 1rem; align-items: stretch; }
  .hero__logo { display: none; }
  .hero h1 { order: 1; }
  .hero__text p.lesen { order: 2; }
  .hero__foto { order: 3; width: 100%; height: min(46svh, 24rem); aspect-ratio: auto; margin-block: .5rem; }
  .hero__aktionen { order: 4; padding-top: 0; }
}
@media (min-width: 56rem) { .hero__logo { display: block; } }
.nav { margin-left: auto; margin-right: .5rem; }
@media (min-width: 72rem) { .nav { margin-right: 0; } }

/* Vier Bereiche: nur Streifen mit Foto wachsen, leere werden ruhiger */
.streifen__foto.sucher--leer { padding: 1rem; }
@media (max-width: 47.99rem) {
  .streifen__foto { height: 11.5rem; }
  .js .streifen__item.is-aktiv .streifen__foto { height: 17rem; }
  .streifen__item--leer .streifen__foto { height: 5.5rem; padding: .5rem 1rem; }
  .streifen__item--leer .streifen__foto p { display: none; }
  .js .streifen__item--leer .streifen__band p:not(.preis) { display: block; }
  .streifen__item--leer .streifen__band { min-height: 0; }
}
@media (min-width: 48rem) {
  .streifen { grid-template-columns: 1.1fr .72fr .72fr 1.1fr; }
  .js .streifen[data-aktiv="1"] { grid-template-columns: 1.6fr .72fr .72fr 1.1fr; }
  .js .streifen[data-aktiv="4"] { grid-template-columns: 1.1fr .72fr .72fr 1.6fr; }
  .js .streifen[data-aktiv="2"], .js .streifen[data-aktiv="3"] { grid-template-columns: 1.1fr .72fr .72fr 1.1fr; }
  .streifen__link { grid-template-rows: 1fr auto; }
  .streifen__band { min-height: 7.5rem; overflow: visible; }
  .streifen__item--leer { align-self: end; height: 66%; }
  .streifen__item--leer .streifen__foto p { font-size: .875rem; }
}

/* Über mich: Handy 4:3 unter dem Text, sonst auf Textblockhöhe */
@media (max-width: 47.99rem) {
  .ueber__bild { order: 2; width: 100%; aspect-ratio: 4 / 3; }
}
@media (min-width: 48rem) { .ueber__bild { aspect-ratio: 4 / 5; align-self: start; } }

/* Lightbox: Touch-Wischen, höheres Bild */
.lb, .lb__buehne { touch-action: pan-y; }
.lb__rahmen img { max-height: calc(100dvh - 8rem); }

/* Ultrawide ab Über mich: zwei Gewichte statt Insel. Fotos in Randzonen, Foto-Band, ruhige Sucher-Ecken. */
.rand { display: none; }
.band { display: none; }
@media (min-aspect-ratio: 21/9) and (min-width: 1800px) {
  .hero .rand { display: flex; gap: .5rem; align-self: stretch; min-height: var(--hero-h); }
  .hero .rand--l { grid-column: 1; grid-row: 1; margin-right: 1.5rem; }
  .hero .rand--r { grid-column: 3; grid-row: 1; margin-left: 1.5rem; }
  .hero .rand picture { flex: 1 1 0; min-width: 0; position: relative; overflow: clip; border-radius: 0 var(--r) var(--r) 0; }
  .hero .rand--r picture { border-radius: var(--r) 0 0 var(--r); }
  .hero .rand img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .hero .rand picture + picture { display: none; }

  .abschnitt > .rand { display: block; position: absolute; top: 0; bottom: 0; width: clamp(0px, calc((100vw - var(--content-max)) / 2 - 2rem), 40rem); z-index: 0; }
  .abschnitt > .rand--l { left: 0; }
  .abschnitt > .rand--r { right: 0; }
  .abschnitt > .rand picture { position: absolute; inset: 0; display: block; overflow: clip; }
  .abschnitt > .rand--l picture { border-radius: 0 var(--r) var(--r) 0; }
  .abschnitt > .rand--r picture { border-radius: var(--r) 0 0 var(--r); }
  .abschnitt > .rand img { width: 100%; height: 100%; object-fit: cover; }
  .abschnitt > .content { position: relative; z-index: 1; }

  .band { display: flex; gap: .5rem; }
  .band picture { flex: 1 1 0; min-width: 0; display: block; overflow: clip; }
  .band img { width: 100%; height: auto; aspect-ratio: 21 / 9; max-height: 40rem; object-fit: cover; }

  .abschnitt--rahmen::before {
    content: ""; position: absolute; inset: 2rem; pointer-events: none; z-index: 0; color: var(--tinte); opacity: .3; background: currentColor;
    -webkit-mask: url("../icons/ecke-tl.svg") 0 0 / 3.5rem no-repeat, url("../icons/ecke-tr.svg") 100% 0 / 3.5rem no-repeat, url("../icons/ecke-br.svg") 100% 100% / 3.5rem no-repeat, url("../icons/ecke-bl.svg") 0 100% / 3.5rem no-repeat;
    mask: url("../icons/ecke-tl.svg") 0 0 / 3.5rem no-repeat, url("../icons/ecke-tr.svg") 100% 0 / 3.5rem no-repeat, url("../icons/ecke-br.svg") 100% 100% / 3.5rem no-repeat, url("../icons/ecke-bl.svg") 0 100% / 3.5rem no-repeat;
  }
  .kontakt__logo { width: min(70rem, 28vw); right: 5vw; opacity: .14; }
}
@media (min-aspect-ratio: 28/9) and (min-width: 1800px) {
  .hero .rand picture + picture { display: block; }
}

@media (prefers-reduced-motion: reduce) {
  .js .hero__foto.is-scharf img, .js .hero__foto.is-scharf::after { animation: none; }
  .js .hero__foto img { opacity: 1; filter: none; transform: none; }
  .js .hero__foto::after { opacity: 1; transform: none; }
}

/* Runde 2b: Mikrotext mindestens 0,875rem, Hinweise nie ohne Schalter sichtbar */
.label, .kontakt__liste dt, .fuss, .fuss a, .offen { font-size: .875rem; }
html:not(.hinweise) .offen, html:not(.hinweise) .offen-box, html:not(.hinweise) .nur-hinweise { display: none !important; }

/* ===== Runde 3 ===== */
/* Farbwelt: Sand-Flächen statt Papier-Weiß, Akzent in Tinte */
.streifen__item, .mosaik__text, .hinweis-karte { background: var(--sand); }
.hero__foto { aspect-ratio: 1921 / 2243; }
.marke { display: inline-flex; align-items: center; min-height: 2.75rem; }
.kontakt__liste a { display: inline-block; padding-block: .6rem; }
.knopf--umriss { background: transparent; color: var(--beige); box-shadow: inset 0 0 0 1.5px rgb(250 247 242 / .6); }
@media (hover: hover) and (pointer: fine) { .knopf--umriss:hover { background: var(--beige); color: var(--dunkel); } }

/* Hero auf Tablet und Handy nicht auf Bildschirmhöhe strecken */
@media (max-width: 55.99rem) { .hero { min-height: 0; } }

/* Abschnitte ohne eigenes Bildmaterial: schlank, ruhig, später mit Bildern reaktivierbar */
.abschnitt--schlank { padding-block: calc(var(--section-gap) * .7); }
.folgen { font-size: .875rem; color: var(--tinte-weich); padding-top: .9rem; border-top: 1px solid rgb(61 23 0 / .2); max-width: var(--prose-max); margin-top: 1.5rem; }
.hochzeit--schlank { grid-template-columns: minmax(0, 1fr); }
.hochzeit__karte { background: var(--sand); border-radius: var(--r); padding: clamp(1.25rem, 1rem + 1vw, 2rem); }
.hochzeit__karte .tabelle tbody tr + tr > * { border-top-color: rgb(61 23 0 / .18); }
@media (min-width: 56rem) {
  .hochzeit--schlank { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: start; }
}
.hochzeit__text > .folgen { margin-top: 2rem; }

/* Streifen: leere Kacheln als schlanke Textkachel, gleiche Oberkante und Höhe */
.streifen__item--leer, .streifen__item--leer .streifen__link { align-self: stretch; height: 100%; }
.streifen__item--leer .streifen__link { grid-template-rows: 1fr; }
.streifen__item--leer .streifen__band { display: flex; flex-direction: column; gap: .4rem; min-height: 0; overflow: visible; padding: 1.1rem 1.1rem 1.25rem; }
.streifen__item--leer .streifen__band .preis { margin-top: auto; padding-top: 1rem; font-size: 1.25rem; }
.streifen__item--leer .streifen__band .folgen { margin-top: .5rem; padding-top: .75rem; font-size: .875rem; }
.js .streifen__item--leer .streifen__band p:not(.preis) { display: block; }
@media (min-width: 48rem) { .streifen__item--leer .streifen__link { grid-template-rows: 1fr; } }
@media (max-width: 47.99rem) { .streifen__item--leer .streifen__band { min-height: 0; } .streifen__item--leer .streifen__band .preis { margin-top: .4rem; padding-top: 0; font-size: .875rem; } }

/* Über Kira: Porträt */
.ueber__bild { aspect-ratio: auto !important; }
.ueber__bild .sucher { aspect-ratio: 3 / 4; border-radius: var(--r); overflow: clip; background: var(--sand); --s-off: .7rem; }
.ueber__bild picture, .ueber__bild img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: var(--r); }
.ueber__bild figcaption { margin-top: 1rem; }
@media (max-width: 47.99rem) { .ueber__bild { width: min(100%, 20rem); } }

/* Ablauf: Bild */
.ablauf__bild { margin: clamp(2rem, 4vw, 3.5rem) 0 0; max-width: 60rem; }
.ablauf__bild picture, .ablauf__bild img { display: block; width: 100%; height: auto; border-radius: var(--r); }
.ablauf__bild img { aspect-ratio: 3 / 2; max-height: 32rem; object-fit: cover; }
.ablauf__bild figcaption { margin-top: .75rem; }
.fragen-block { margin-top: clamp(3.5rem, 6vw, 6rem); }

/* Foto-Band unter jeder Breite */
.band { display: flex; gap: .5rem; }
.band picture { flex: 1 1 0; min-width: 0; display: block; overflow: clip; max-width: 2560px; margin-inline: auto; }
.band picture.b2 { display: none; }
.band img { width: 100%; height: auto; aspect-ratio: 2 / 1; max-height: 28rem; object-fit: cover; }
@media (min-width: 48rem) { .band img { aspect-ratio: 21 / 9; max-height: 36rem; } }
@media (min-aspect-ratio: 21/9) and (min-width: 1800px) { .band picture.b2 { display: block; } .band img { max-height: 40rem; } }

/* Ultrawide: höhere Randzonen-Deckel, schmale Zonen bei schlanken Abschnitten, kein Inseleffekt */
@media (min-aspect-ratio: 21/9) and (min-width: 1800px) {
  .abschnitt > .rand { width: clamp(0px, calc((100vw - var(--content-max)) / 2 - 2rem), min(30vw, 60rem)); }
  .abschnitt > .rand--schmal { width: clamp(0px, calc((100vw - var(--content-max)) / 2 - 2rem), 26rem); }
  .abschnitt--rahmen::before { display: none; }
  .kontakt > .rand picture { opacity: .75; }
}

/* ===== Runde 3b ===== */
/* Streifen: zwei Kacheln, ruhig und gleich groß (data-ruhig); Textkacheln liegen kommentiert im Quelltext */
.streifen[data-ruhig] { grid-template-columns: 1fr; }
.streifen[data-ruhig] .streifen__foto { height: 13rem; }
.js .streifen[data-ruhig] .streifen__item.is-aktiv .streifen__foto { height: 13rem; }
.js .streifen[data-ruhig] .streifen__band p:not(.preis) { display: block; }
@media (min-width: 48rem) {
  .bereiche .content:has(.streifen[data-ruhig]) { max-width: 96rem; }
  .streifen[data-ruhig], .js .streifen[data-ruhig][data-aktiv] { grid-template-columns: repeat(2, minmax(0, 1fr)); height: clamp(28rem, 38vw, 44rem); }
  .streifen[data-ruhig] .streifen__foto { height: auto; }
  .js .streifen[data-ruhig] .streifen__item.is-aktiv .streifen__foto { height: auto; }
}

/* Hero Handy und Tablet hochkant: zuerst das Bild, dann Text und Knöpfe */
@media (max-width: 55.99rem) {
  .hero__foto { order: 1; margin-block: 0 .5rem; }
  .hero h1 { order: 2; }
  .hero__text p.lesen { order: 3; }
  .hero__aktionen { order: 4; }
}

/* Foto-Band (Kira bei der Arbeit, gesichtsarm), randlos wie das Markt-Band */
.fotoband { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
.fotoband picture { display: block; overflow: clip; min-width: 0; }
.fotoband picture:nth-child(3) { display: none; }
.fotoband img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; max-height: 34rem; }
@media (min-width: 48rem) {
  .fotoband { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fotoband picture:nth-child(3) { display: block; }
  .fotoband img { aspect-ratio: 4 / 3; max-height: 40rem; }
}
@media (min-width: 48rem) and (max-width: 63.99rem) { .fotoband img { aspect-ratio: 3 / 4; } }

/* Unternehmen auf dem Handy: Panorama und Kacheln randlos von Kante zu Kante, zwei gleich breite Spalten */
@media (max-width: 47.99rem) {
  .panorama { margin-top: 1.5rem; }
  .markt { display: block; overflow: visible; padding: 0; margin: .5rem 0 0; scroll-snap-type: none; }
  .markt__zeile { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
  .markt__zeile + .markt__zeile { margin-top: .5rem; }
  .markt li { min-width: 0; }
  .markt .kachel { height: auto; width: 100%; aspect-ratio: 3 / 4; border-radius: 0; }
  .markt .kachel img { width: 100%; height: 100%; object-fit: cover; }
}

/* ===== Runde 3c: Über Kira, Handy zuerst das Bild in voller Inhaltsbreite, ohne Unterschrift ===== */
@media (max-width: 47.99rem) {
  .ueber__bild { order: -1 !important; width: 100% !important; }
  .ueber__bild .sucher { aspect-ratio: 4 / 5; }
}
.ueber__bild { margin: 0; }
