/* szenenmeister.de, Rahmen der Unterseiten. ERZEUGT von quelle/rahmen.py aus quelle/v1_stil.css und quelle/rahmen_zusatz.css: hier nicht von Hand ändern. */
/* Grundwerte nur innerhalb des Rahmens: die alten Element-Regeln der Unterseiten (Poppins-Überschriften,
   orange Links, Listenabstände) wirken sonst hinein. */
.r-leiste, .r-menue, .r-fuss, .r-schwebe, .r-blatt { font-family: var(--r-sans); line-height: 1.65; letter-spacing: normal; text-transform: none; -webkit-font-smoothing: antialiased; }
.r-leiste *, .r-menue *, .r-fuss *, .r-schwebe *, .r-blatt * { box-sizing: border-box; }
.r-menue ul, .r-fuss ul, .r-blatt ul { margin: 0; padding: 0; list-style: none; }
.r-menue li, .r-fuss li { margin: 0; padding: 0; }
.r-leiste a, .r-menue a, .r-fuss a, .r-schwebe a, .r-blatt a { color: inherit; text-underline-offset: .18em; transition: color .2s; }
.r-menue p, .r-fuss p, .r-blatt p { margin: 0 0 1em; }
.r-menue h2, .r-fuss h2, .r-blatt h2 { margin: 0; font-weight: 400; color: inherit; letter-spacing: normal; text-transform: none; hyphens: manual; }
.r-leiste button, .r-menue button, .r-blatt button, .r-schwebe button { font: inherit; color: inherit; }
.r-leiste img, .r-menue img, .r-fuss img { display: block; max-width: 100%; height: auto; }
.r-leiste svg, .r-menue svg, .r-fuss svg, .r-schwebe svg, .r-blatt svg { display: block; max-width: 100%; }
.r-blatt label { margin: 0; }
.r-feld select { appearance: auto; -webkit-appearance: auto; }
.r-sucher__rahmen { z-index: 2; }
:root { --r-nacht: #0f0c0a; --r-nacht-2: #18120e; --r-nacht-3: #221a14; --r-leinwand: #f4ede4; --r-text: #f4ede4; --r-text-2: #c2b6a8; --r-bernstein: #e6a866; --r-bernstein-2: #c8844f; --r-bernstein-hell: #f2bd83; --r-creme: #efe6da; --r-creme-2: #e6dacb; --r-creme-text: #1c1511; --r-creme-text-2: #54463b; --r-braun: #86501f; --r-linie: rgba(244, 237, 228, .16); --r-linie-dunkel: rgba(28, 21, 17, .18); --r-serif: "Instrument Serif", Georgia, "Times New Roman", serif; --r-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; --r-rand: clamp(16px, 4.4vw, 56px); --r-breit: 1240px; --r-leiste: 60px; --r-ease: cubic-bezier(.2, .7, .2, 1); --r-abstand: clamp(72px, 11vw, 150px); }
html.r-gesperrt { overflow: hidden; }
.r-sprung { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--r-bernstein); color: var(--r-creme-text); padding: .6rem 1rem; border-radius: 8px; font-weight: 600; text-decoration: none; }
.r-sprung:focus { top: 12px; }
.r-innen { width: min(100% - 2 * var(--r-rand), var(--r-breit)); margin-inline: auto; }
.r-innen > * { min-width: 0; }
.r-augenbraue { display: inline-flex; align-items: center; gap: .7em; margin: 0 0 1.1rem; font: 600 .76rem/1.3 var(--r-sans); letter-spacing: .16em; text-transform: uppercase; color: var(--r-bernstein); }
.r-augenbraue::before { content: ""; width: 28px; height: 1px; background: currentColor; flex: none; }
.r-knopf { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 48px; padding: .8rem 1.45rem; border-radius: 999px; border: 1px solid transparent; font: 600 .98rem/1.15 var(--r-sans); text-decoration: none; cursor: pointer; transition: background-color .25s, color .25s, border-color .25s, transform .35s var(--r-ease); white-space: nowrap; }
.r-knopf--voll { background: var(--r-bernstein); color: var(--r-creme-text); }
.r-knopf--voll:hover { background: var(--r-bernstein-hell); }
.r-knopf--linie { background: transparent; color: var(--r-leinwand); border-color: rgba(244, 237, 228, .55); }
.r-knopf--linie:hover { border-color: var(--r-bernstein); color: var(--r-bernstein); }
.r-rundknopf { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--r-linie); background: rgba(15, 12, 10, .55); cursor: pointer; transition: border-color .2s, background-color .2s, opacity .2s; }
.r-rundknopf svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.r-rundknopf:hover { border-color: var(--r-bernstein); }
.r-rundknopf:disabled { opacity: .35; cursor: default; }
.r-leiste { position: fixed; inset: 0 0 auto; z-index: 80; height: var(--r-leiste); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; padding: 0 max(12px, calc((100vw - var(--r-breit)) / 2 - 24px)); background: rgba(15, 12, 10, .72); border-bottom: 1px solid transparent; transition: transform .6s var(--r-ease), background-color .3s, border-color .3s; }
.r-leiste.r-dicht { background: rgba(15, 12, 10, .94); border-color: var(--r-linie); }
.r-leiste__menue { justify-self: start; display: inline-flex; align-items: center; gap: .55rem; min-height: 44px; padding: 0 .4rem 0 0; background: none; border: 0; cursor: pointer; font-weight: 600; font-size: .92rem; }
.r-leiste__striche { display: grid; gap: 5px; width: 22px; }
.r-leiste__striche i { display: block; height: 1.6px; background: currentColor; border-radius: 2px; transition: transform .3s var(--r-ease); }
.r-leiste__striche i:last-child { width: 70%; }
.r-leiste__menue:hover .r-leiste__striche i:last-child { transform: scaleX(1.43); transform-origin: left; }
.r-leiste__logo { display: flex; align-items: center; min-height: 44px; }
.r-leiste__logo img { width: auto; height: 32px; }
.r-leiste__knopf { justify-self: end; min-height: 44px; padding: .55rem 1rem; font-size: .9rem; }
.r-menue, .r-blatt { padding: 0; border: 0; color: var(--r-text); background: var(--r-nacht-2); max-width: none; max-height: none; }
.r-menue::backdrop, .r-blatt::backdrop { background: rgba(8, 6, 5, .72); }
.r-menue { position: fixed; inset: 0; width: 100%; height: 100%; margin: 0; background: var(--r-nacht); overflow-y: auto; transform: translateY(-2%); clip-path: inset(0 0 100% 0); transition: clip-path .45s var(--r-ease), transform .45s var(--r-ease); }
.r-menue.r-an { clip-path: inset(0 0 0 0); transform: none; }
.r-menue__kopf { display: flex; align-items: center; justify-content: space-between; height: var(--r-leiste); padding: 0 var(--r-rand); border-bottom: 1px solid var(--r-linie); }
.r-menue__logo { height: 30px; width: auto; }
.r-menue__nav { width: min(100% - 2 * var(--r-rand), var(--r-breit)); margin: 0 auto; padding: 2rem 0 4rem; }
.r-menue__haupt { display: flex; flex-wrap: wrap; gap: .2rem 1.6rem; margin-bottom: 2.4rem; }
.r-menue__haupt a { display: inline-block; padding: .2rem 0; font: 400 clamp(1.9rem, 1.3rem + 2.6vw, 3.2rem)/1.15 var(--r-serif); text-decoration: none; transition: color .2s; }
.r-menue__haupt a:hover { color: var(--r-bernstein); }
.r-menue__spalten { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 1.8rem 2.4rem; }
.r-menue__gruppe { margin: 1.4rem 0 .5rem; font: 600 .76rem/1.3 var(--r-sans); letter-spacing: .16em; text-transform: uppercase; color: var(--r-bernstein); }
.r-menue__spalten div > .r-menue__gruppe:first-child { margin-top: 0; }
.r-menue__spalten a { display: inline-flex; align-items: center; min-height: 44px; color: var(--r-text-2); text-decoration: none; }
.r-menue__spalten a:hover { color: var(--r-leinwand); }
.r-menue__tel { margin: 2.4rem 0 1rem; color: var(--r-text-2); }
.r-menue__tel a { color: var(--r-leinwand); font-weight: 600; }
.r-sucher__rahmen { position: absolute; inset: 14px; pointer-events: none; }
.r-sucher__rahmen i { position: absolute; width: 26px; height: 26px; border: 2px solid rgba(244, 237, 228, .85); }
.r-sucher__rahmen i:nth-child(1) { left: 0; top: 0; border-right: 0; border-bottom: 0; }
.r-sucher__rahmen i:nth-child(2) { right: 0; top: 0; border-left: 0; border-bottom: 0; }
.r-sucher__rahmen i:nth-child(3) { left: 0; bottom: 0; border-right: 0; border-top: 0; }
.r-sucher__rahmen i:nth-child(4) { right: 0; bottom: 0; border-left: 0; border-top: 0; }
.r-sucher__rec, .r-sucher__format { position: absolute; top: 6px; font: 600 .72rem/1 var(--r-sans); letter-spacing: .12em; color: var(--r-leinwand); text-shadow: 0 1px 4px rgba(0, 0, 0, .7); }
.r-sucher__rec { left: 36px; display: inline-flex; align-items: center; gap: 6px; }
.r-sucher__rec::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #e5484d; animation: r-rec 1.6s steps(2, jump-none) infinite; }
.r-sucher__format { right: 36px; }
.r-fuss { background: #0a0807; color: var(--r-text-2); padding: clamp(56px, 8vw, 96px) 0 10rem; font-size: .95rem; }
.r-fuss__oben { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 2.4rem; padding-bottom: 2.6rem; border-bottom: 1px solid rgba(244, 237, 228, .13); }
.r-fuss__marke img { width: 170px; height: auto; margin-bottom: 1rem; }
.r-fuss__marke p { line-height: 1.6; }
.r-fuss__bewertung a { color: var(--r-leinwand); font-weight: 600; text-decoration: none; }
.r-fuss__bewertung a:hover { color: var(--r-bernstein); }
.r-fuss__bewertung span { display: block; font-size: .85rem; }
.r-fuss__titel { font: 600 .74rem/1.3 var(--r-sans); letter-spacing: .16em; text-transform: uppercase; color: var(--r-bernstein); margin: 0 0 .8rem; }
.r-fuss__spalte ul + .r-fuss__titel { margin-top: 1.6rem; }
.r-fuss__spalte a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.r-fuss__spalte a:hover { color: var(--r-leinwand); text-decoration: underline; }
.r-fuss__kontakt li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: .7rem; align-items: center; margin-bottom: .2rem; }
.r-fuss__kontakt svg { width: 18px; height: 18px; fill: none; stroke: var(--r-bernstein); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.r-fuss__kontakt a { overflow-wrap: anywhere; }
.r-fuss__unten { display: grid; gap: .6rem; padding-top: 1.6rem; font-size: .88rem; }
.r-fuss__unten p { margin: 0; }
.r-fuss__unten a { color: var(--r-leinwand); }
.r-fuss__links a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; }
.r-schwebe { position: fixed; right: 14px; bottom: 14px; z-index: 90; display: grid; gap: 10px; }
.r-schwebe__knopf { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; border: 0; cursor: pointer; box-shadow: 0 12px 30px -8px rgba(0, 0, 0, .6); transition: transform .3s var(--r-ease); }
.r-schwebe__knopf:hover { transform: translateY(-2px) scale(1.04); }
.r-schwebe__knopf svg { width: 26px; height: 26px; }
.r-schwebe__knopf--wa { background: #1f9e57; color: #fff; }
.r-schwebe__knopf--wa svg { fill: currentColor; }
.r-schwebe__knopf--mail { background: var(--r-bernstein); color: var(--r-creme-text); }
.r-schwebe__knopf--mail svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.r-blatt { position: fixed; inset: 0 0 0 auto; width: min(100%, 580px); height: 100%; margin: 0; background: var(--r-nacht-2); border-left: 1px solid var(--r-linie); overflow-y: auto; overscroll-behavior: contain; transform: translateX(100%); transition: transform .4s var(--r-ease); }
.r-blatt.r-an { transform: none; }
.r-blatt__kopf { position: sticky; top: 0; z-index: 2; display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; padding: 1.3rem 1.4rem 1.1rem; background: var(--r-nacht-2); border-bottom: 1px solid var(--r-linie); }
.r-blatt__kopf .r-augenbraue { margin-bottom: .5rem; }
.r-blatt__titel { font: 400 clamp(1.7rem, 1.4rem + 1.2vw, 2.2rem)/1.1 var(--r-serif); }
.r-blatt__form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem .9rem; padding: 1.3rem 1.4rem 2.4rem; }
.r-blatt__form > * { grid-column: 1 / -1; min-width: 0; }
.r-entwurf { margin: 0; padding: .7rem .9rem; border-radius: 10px; border: 1px dashed rgba(230, 168, 102, .6); color: var(--r-bernstein); font-size: .9rem; }
.r-wahl { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.r-wahl legend { width: 100%; margin-bottom: .5rem; font-size: .9rem; font-weight: 600; }
.r-wahl__chip { position: relative; display: inline-flex; }
.r-wahl__chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.r-wahl__chip span { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; padding: .5rem .95rem; border: 1px solid var(--r-linie); border-radius: 999px; font-size: .93rem; transition: border-color .2s, background-color .2s; }
.r-wahl__chip small { color: var(--r-text-2); font-size: .82rem; }
.r-wahl__chip input:checked + span { border-color: var(--r-bernstein); background: rgba(230, 168, 102, .14); }
.r-wahl__chip input:focus-visible + span { outline: 2px solid var(--r-bernstein); outline-offset: 2px; }
.r-feld label { display: block; margin-bottom: .35rem; font-size: .9rem; font-weight: 600; }
.r-pflicht { color: var(--r-bernstein); }
.r-feld input:not([type="radio"]):not([type="checkbox"]), .r-feld select, .r-feld textarea { width: 100%; min-height: 48px; padding: .7rem .85rem; border: 1px solid rgba(244, 237, 228, .28); border-radius: 10px; background: var(--r-nacht); color: var(--r-leinwand); font: 400 1rem/1.4 var(--r-sans); }
.r-feld textarea { resize: vertical; min-height: 120px; }
.r-feld input::placeholder, .r-feld textarea::placeholder { color: #8f8377; }
.r-feld input:focus, .r-feld select:focus, .r-feld textarea:focus { border-color: var(--r-bernstein); outline: none; box-shadow: 0 0 0 3px rgba(230, 168, 102, .25); }
.r-feld--haken { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: .7rem; align-items: start; }
.r-feld--haken input { width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--r-bernstein); }
.r-feld--haken label { margin: 0; font-weight: 400; }
.r-feld--haken a { color: var(--r-bernstein); }
.r-falle { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.r-blatt__senden { width: 100%; min-height: 52px; font-size: 1.02rem; }
.r-form-msg { margin: 0; min-height: 1.4em; font-size: .95rem; }
.r-form-msg.r-err { color: #ffb4a8; }
.r-form-msg.r-ok { color: #b9e6c4; }
.r-blatt__fein { margin: 0; font-size: .9rem; color: var(--r-text-2); }
.r-blatt__fein a { color: var(--r-leinwand); }
.r-blatt__danke { padding: 2.6rem 1.4rem; display: grid; gap: 1.2rem; justify-items: start; outline: none; }
.r-danke__haken { width: 64px; height: 64px; fill: none; stroke: var(--r-bernstein); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.r-danke__text { font: 400 clamp(1.6rem, 1.3rem + 1vw, 2.1rem)/1.25 var(--r-serif); margin: 0; }
.r-danke__knoepfe { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 720px) {
  :root { --r-leiste: 66px; }
  .r-leiste__logo img { height: 36px; }
  .r-leiste__knopf { padding: .6rem 1.25rem; font-size: .95rem; }
  .r-fuss { padding-bottom: 3rem; }
}
@media (min-width: 1100px) {
  .r-fuss__oben { grid-template-columns: minmax(0, 1.2fr) repeat(3, minmax(0, 1fr)) minmax(0, 1.3fr); }
  .r-schwebe { right: 22px; bottom: 22px; }
}
@keyframes r-rec { 50% { opacity: .15; } }

/* ===== Unterseiten an die neue Startseite angepasst (Auftrag Jairo 09.11.2026: «jede Seite angepasst, keine Bilder
   abgeschnitten»). Lädt nach den alten Stilen der Unterseiten und überschreibt nur, was nötig ist.
   Regel: jedes Bild im Seitenverhältnis seiner Datei. Kein object-fit:cover, kein fester Rahmen, der eine Datei
   zuschneidet, kein Zoom, der am Rand abschneidet. Gemessen mit messung/bilder_messen.js (Soll: 100 % sichtbar). */

html { scroll-padding-top: calc(var(--r-leiste) + 16px); }

/* --- Kopfbereich wie die Bühne der Startseite: Text, darunter (ab 1100 px daneben) das Foto ganz im Sucher --- */
.buehne-unter:not(.buehne-unter--eigenbild) {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "text" "foto";
  align-content: center;
  row-gap: clamp(28px, 6vw, 48px);
  min-height: auto !important;
  clip-path: none !important;
  padding: calc(var(--r-leiste) + clamp(28px, 6vh, 64px)) 0 clamp(96px, 14vw, 160px) !important;
}
.buehne-unter:not(.buehne-unter--eigenbild) > .container {
  grid-area: text;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
.buehne-unter .buehne__foto {
  grid-area: foto;
  position: relative !important;
  inset: auto !important;
  z-index: 1 !important;
  justify-self: center;
  width: min(100% - 2 * var(--r-rand), 560px) !important;
  height: auto !important;
  overflow: hidden;
  border-radius: 6px;
  background: var(--r-nacht-2);
  -webkit-mask-image: none !important;
  mask-image: none !important;
}
.buehne-unter .buehne__foto img {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  object-position: 50% 50% !important;
  transform: none !important;
  animation: none !important;
  filter: none !important;
}
/* Schleier über der Kulisse (Lichtstrahl und Staub aus buehne.js): hinter dem Text dunkel genug für Kontrast ≥ 4,5
   am hellsten Bildpunkt (A12). Ab 1100 px steht der Text links; rechts beim Foto bleibt der Strahl sichtbar. */
.buehne-unter .buehne__schleier { background: linear-gradient(180deg, rgba(15, 12, 10, .9) 0%, rgba(15, 12, 10, .9) 70%, rgba(15, 12, 10, .8) 100%) !important; }

/* --- Abschnittsbilder und Bildbänder: Format der Datei statt fester Rahmen (f45, f11, f34, f23, f1610, 2.39:1) --- */
.abschnitt-bild, .abschnitt-band { aspect-ratio: auto !important; height: auto !important; }
.abschnitt-bild img, .abschnitt-band img {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
}

/* --- Reels: alle Karten im Format der Poster (9:16) statt einer Wand mit wechselnden Zuschnitten --- */
.reel-grid > .reel-card { aspect-ratio: 9 / 16 !important; }
.reel-card .reel-poster { object-fit: contain !important; }

/* --- Karten im Blog und im Portfolio: Höhe aus dem Bild --- */
.video-card { aspect-ratio: auto !important; }
.video-card img { height: auto !important; aspect-ratio: auto !important; object-fit: contain !important; }
.card img { height: auto !important; aspect-ratio: auto !important; object-fit: contain !important; }
/* Neon-Rahmen (Portfolio, Über mich): auch gegen den Inline-Stil «aspect-ratio:4/5;object-fit:cover» im Inhalt */
.neon-frame > img { height: auto !important; aspect-ratio: auto !important; object-fit: contain !important; }

/* --- Hintergrundfotos ganz statt angeschnitten: am rechten Rand, im Format der Datei --- */
.abschluss__bild, .abschnitt__hg { object-fit: contain !important; object-position: 100% 50% !important; }

/* --- Menü: die aktuelle Seite markiert --- */
.r-menue a[aria-current="page"] { color: var(--r-bernstein); }

@media (min-width: 1100px) {
  .buehne-unter:not(.buehne-unter--eigenbild) {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
    grid-template-areas: "text foto";
    column-gap: clamp(32px, 4vw, 72px);
    align-items: center;
    padding-inline: max(var(--r-rand), calc((100% - var(--r-breit)) / 2)) !important;
  }
  .buehne-unter:not(.buehne-unter--eigenbild) > .container {
    max-width: none !important;
    margin: 0 !important;
    padding-inline: 0 !important;
    container-type: inline-size;
  }
  /* H1 nach der Breite der Textspalte, nicht des Fensters: das längste Wort ohne Bindestrich («Hochzeitsvideograf»,
     18 Buchstaben) passt so an jeder Breite (Breitenreihe 09.11.2026: vorher Bruch zwischen 1120 und 1240 px) */
  .buehne-unter:not(.buehne-unter--eigenbild) h1 { font-size: clamp(2.6rem, 11cqi, 5.4rem); max-width: 100%; }
  .buehne-unter .buehne__foto { justify-self: end; width: 100% !important; max-width: 560px; }
  .buehne-unter .buehne__schleier { background: linear-gradient(90deg, rgba(15, 12, 10, .94) 0%, rgba(15, 12, 10, .92) 50%, rgba(15, 12, 10, .55) 68%, rgba(15, 12, 10, .35) 100%) !important; }
}
