/* Übernommene Seiten im Design „Filmband“: Kopfbereich und Knöpfe der Format-Bausteine an das neue Design angleichen.
   Inhalt und Aufbau der Abschnitte kommen aus fmt.css (erzeugt). */

/* Kopf: Höhe wächst mit dem Inhalt (lange H1, Einleitung, Hinweis, Knöpfe) */
.fx .hero.hero--sub{height:auto;min-height:min(78svh,820px)}
.fx .hero.hero--sub .wrap{padding-top:calc(var(--hd,76px) + 120px)}
.fx .hero-text h1.dsp{color:#fff;max-width:16ch;text-wrap:balance}
.fx .hero .h-side{align-self:end}
.fx .h-rest,.fx .h-wide{color:inherit}
.fx .h-rest > :first-child{margin-top:0}
.fx .h-rest .scope{font-size:var(--t-cap);line-height:1.6;color:rgba(255,255,255,.8);border-left:2px solid var(--acc);padding-left:14px;margin:0 0 20px;max-width:42ch}
.fx .h-rest .ar-meta{font-size:var(--t-cap);color:rgba(255,255,255,.75);margin:0 0 18px}
.fx .h-rest .ar-meta a{color:inherit}
.fx .h-rest .btns,.fx .h-wide .btns{display:flex;flex-wrap:wrap;gap:10px;margin:0}

/* Ohne Kopfmedien (Webs, Kontakt, Rechtliches): ruhiger Kopf auf der Fläche */
.fx .hero.hero--plain{min-height:0;justify-content:flex-start}
.fx .hero.hero--plain .wrap{padding-bottom:72px}
.fx .hero--plain .hero-text{color:var(--fg);text-shadow:none}
.fx .hero--plain .hero-text h1.dsp{color:var(--fg)}
.fx .hero--plain .hero-text .h-side p.muted{color:var(--fg-2)}
.fx .hero--plain .h-rest .scope{color:var(--fg-2)}
.fx .h-wide{margin-top:56px}
.fx .h-wide .contact-grid{margin-top:0}

/* Knöpfe der Format-Bausteine wie im neuen Design: Hauptknopf gefüllt, sonst Linie */
.fx .blm .btn{min-height:50px;padding:0 26px;font:500 var(--t-ui)/1 var(--sans);border-radius:var(--radius);white-space:nowrap}
.fx .blm .btn-1{background:var(--btn-bg);color:var(--btn-fg)}
.fx .blm .btn-1:hover{background:var(--btn-hover)}
.fx .blm .btn-2{background:transparent;color:var(--fg);border-color:color-mix(in srgb,var(--fg) 45%,transparent)}
.fx .blm .btn-2:hover{border-color:var(--fg)}
.fx .hero .blm .btn-2{color:#fff;border-color:rgba(255,255,255,.55)}
.fx .hero--plain .blm .btn-2{color:var(--fg);border-color:color-mix(in srgb,var(--fg) 45%,transparent)}
.fx .hero .btn--line{color:#fff;border-color:rgba(255,255,255,.55)}

/* Ton-Knopf am Kopfvideo */
.fx .hero .band .snd{position:absolute;right:max(20px,env(safe-area-inset-right,0px));bottom:20px;z-index:3}

@media (max-width:860px){
  .fx .hero.hero--sub{min-height:min(80svh,680px)}
  .fx .hero.hero--sub .wrap{padding-top:calc(var(--hd,76px) + 72px)}
  .fx .hero-text .h-side p.lead-hero{display:block;color:rgba(255,255,255,.9);margin:0 0 16px}
  .fx .hero--plain .hero-text .h-side p.lead-hero{color:var(--fg-2)}
  .fx .h-rest .btns{display:grid}
  .fx .h-rest .btns .btn{width:100%}
  .fx .hero .band .snd{top:calc(var(--hd,76px) + 12px);bottom:auto}
}

/* Seiten, deren erster Abschnitt seinen eigenen Aufbau behält (Sobre mí, Rechtliches): Platz für die Kopfzeile */
.fx .fx-nohero > :first-child{padding-top:calc(var(--hd,76px) + 72px)}

/* ---- Feinschliff 11.11. (Marcels Durchsicht) ---- */
/* Kopf einspaltig: Titel, Einleitung, Knöpfe untereinander; Autor/Datum klein unter den Knöpfen */
.fx .hero-one{display:block}
.fx .hero-one .h-main{max-width:min(100%,62rem)}
.fx .hero-one h1.dsp{max-width:18ch;margin-bottom:18px}
.fx .hero-one .lead-hero{display:block;max-width:44ch;font-size:var(--t-lead);line-height:1.5;color:rgba(255,255,255,.92);margin:0 0 28px}
.fx .hero--plain .hero-one .lead-hero{color:var(--fg-2)}
.fx .h-rest{display:flex;flex-direction:column;align-items:flex-start;gap:16px}
.fx .h-rest .btns{order:1}
.fx .h-rest .ar-sound{order:2;background:none;border:0;padding:0;margin:0;min-height:0;color:#fff;font:500 var(--t-ui)/1.4 var(--sans);text-decoration:underline;text-underline-offset:.3em;cursor:pointer}
.fx .h-rest .ar-meta{order:3;margin:6px 0 0;font-size:var(--t-cap);opacity:.75}
.fx .h-rest .scope{order:0}
.fx .h-wide{margin-top:24px}

/* Abstand Überschrift → Text, überall auf den übernommenen Seiten */
.fx .blm h2{margin-bottom:clamp(1.1rem,1.8vw,1.6rem)}
.fx .blm h3{margin-bottom:.55rem}
.fx .blm .contact-card h2{margin-bottom:.8rem}
.fx .blm h2 + p,.fx .blm h3 + p{margin-top:0}

/* Nummer vor der Überschrift, gleiche Größe */
.fx .blm .ms-h{display:flex;align-items:baseline;gap:.4em}
.fx .blm .ms-h .ms-no{display:inline;font:400 clamp(2.2rem,4.6vw,4rem)/1 var(--display);color:var(--teal-soft);margin:0;padding:0;border:0}
.fx .blm .ms-h h2{margin-top:0}
.fx .blm .ar * + .ms-h{margin-top:var(--s5);padding-top:var(--s4);border-top:1px solid var(--line)}

/* Preise: „desde“ mit Luft über dem Betrag */
.fx .blm .pt-price .pt-from,.fx .blm .ms-price small:first-child{margin-bottom:.45rem}

/* Bilder ohne Beschnitt: Galerien und Mosaike zeigen das ganze Foto */
.fx .blm .gal{display:block;columns:3;column-gap:8px}
.fx .blm .gal-4{columns:4}
.fx .blm .gal-5{columns:3}
.fx .blm .gal-i{break-inside:avoid;margin:0 0 8px;background:none}
.fx .blm .gal-i img,.fx .blm .gal-land .gal-i img,.fx .blm .gal-3 .gal-i:first-child img{aspect-ratio:auto!important;height:auto;object-fit:contain}
.fx .blm .ar-mosaic{display:block;columns:2;column-gap:8px}
.fx .blm .ar-mosaic > div{break-inside:avoid;margin:0 0 8px;height:auto!important;aspect-ratio:auto!important;grid-row:auto!important;grid-column:auto!important}
.fx .blm .ar-mosaic img{width:100%;height:auto!important;aspect-ratio:auto!important;object-fit:contain!important}
@media (max-width:759px){ .fx .blm .gal{columns:2} }

/* Artikel-Teaser mit Hintergrundbild: Motiv höher im Bild */
.fx .blm .tzb-bg{object-position:50% 72%}

/* Kopfvideos/-bilder: Köpfe nicht abschneiden */
.fx .hero .band video,.fx .hero .band img{object-position:50% 22%}
/* Lesbarkeit des Texts im Kopf über unruhigen Bildern */
.fx .hero .band::before{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(90deg,rgba(0,0,0,.5) 0%,rgba(0,0,0,.25) 45%,rgba(0,0,0,0) 70%)}
.fx .hero .band .snd{z-index:3}

/* Fotoblöcke: bündige Reihen (Breiten setzt n.js nach dem Seitenverhältnis); vorher Spalten als Rückfall */
.fx .blm .gal.jst,.fx .blm .ar-mosaic.jst{display:flex;flex-wrap:wrap;gap:8px;columns:auto}
.fx .blm .jst > *{margin:0!important;flex:none}
.fx .blm .jst img{display:block;width:100%;height:auto}
/* Kontakt: Foto neben dem Formular so hoch wie der Formularblock */
.fx .cf-grid{align-items:stretch}
.fx .blm .cf-img{align-self:stretch;height:auto;aspect-ratio:auto;margin:0}
.fx .blm .cf-img img{width:100%;height:100%;aspect-ratio:auto;object-fit:cover;object-position:50% 50%}
/* Abdunklung bleibt hinter dem Text (eigene Ebene für das Band) */
.fx .hero .band{z-index:0}
.fx .hero .wrap{z-index:1}
@media (max-width:860px){ .fx .h-wide{padding:0 max(20px,env(safe-area-inset-right,0px)) 0 max(20px,env(safe-area-inset-left,0px))} }

/* ---- Eine Schriftskala für alle Seiten (11.11., Prüfer-Runde) ----
   H1 = --t-dsp (Serif), H2 = --t-h2 (Serif), H3 = --t-h3 (Grotesk 500), Paketnamen Serif wie auf /bodas */
.fx .blm h1{font-family:var(--serif);font-weight:400;font-size:var(--t-dsp);line-height:1.08;letter-spacing:-.015em;max-width:18ch}
.fx .blm h2{font-family:var(--serif);font-weight:400;font-size:var(--t-h2);line-height:1.15;letter-spacing:-.01em;max-width:26ch}
.fx .blm h3{font-family:var(--sans);font-weight:500;font-size:var(--t-h3);line-height:1.3;letter-spacing:0}
.fx .blm .pt-card h3,.fx .blm .ar-dc h3{font-family:var(--serif);font-weight:400;font-size:clamp(1.5rem,1.35rem + .5vw,1.75rem);line-height:1.2}
.fx .blm .ms-h .ms-no{font-size:var(--t-h2);line-height:1.15}
.fx .blm .contact-card h2{font-size:var(--t-h2)}
/* Kleintext nicht unter 14 px */
.fx .blm .small,.fx .blm .note,.fx .blm .pt-meta,.fx .blm .pt-price small,.fx .blm .pt-price .pt-from{font-size:.875rem}

/* ---- Handy: weniger Leerraum ---- */
@media (max-width:860px){
  .fx .blm.sec{padding-top:56px;padding-bottom:56px}
  .fx .blm.sec.pt-m{padding-top:48px}
  .fx .blm.gal-sec{padding-bottom:40px}
  .fx .blm .ar * + .ms-h{margin-top:40px;padding-top:32px}
}

/* ---- Handy-Kopf (Variante 2, 11.11.): Film fast bildschirmhoch, im Bild nur Überschrift + Hauptknopf ---- */
.fx .h-cta{display:none}
@media (max-width:860px){
  .fx .hero.hero--sub:not(.hero--plain){--hv:calc(100svh - 65px - 44px);display:block;height:auto;min-height:0;padding:0}
  .fx .hero.hero--sub:not(.hero--plain) .band{position:absolute;top:0;left:0;right:0;bottom:auto;height:var(--hv)}
  .fx .hero.hero--sub:not(.hero--plain) .band::before{background:linear-gradient(180deg,rgba(0,0,0,0) 45%,rgba(0,0,0,.72) 100%)}
  .fx .hero.hero--sub:not(.hero--plain) .wrap{padding-top:0;padding-bottom:0}
  .fx .hero.hero--sub:not(.hero--plain) .h-main{min-height:var(--hv);display:flex;flex-direction:column;justify-content:flex-end;padding-bottom:24px}
  .fx .hero.hero--sub:not(.hero--plain) .h-main h1.dsp{font-size:2rem;line-height:1.08;max-width:none;margin:0}
  .fx .hero.hero--sub:not(.hero--plain) .h-cta{display:block;margin-top:18px}
  .fx .hero.hero--sub:not(.hero--plain) .h-after{padding:28px 0 16px;color:var(--fg)}
  .fx .hero.hero--sub:not(.hero--plain) .h-after .lead-hero{color:var(--fg);margin-bottom:22px}
  .fx .hero.hero--sub:not(.hero--plain) .h-after .btn-1{display:none}
  .fx .hero.hero--sub:not(.hero--plain) .h-after .btns{display:flex}
  .fx .hero.hero--sub:not(.hero--plain) .h-after .btn-2{color:var(--fg);border-color:color-mix(in srgb,var(--fg) 45%,transparent);width:auto}
  .fx .hero.hero--sub:not(.hero--plain) .h-after .scope{color:var(--fg-2)}
  .fx .hero.hero--sub:not(.hero--plain) .h-after .ar-meta{color:var(--fg-2)}
  .fx .hero.hero--sub:not(.hero--plain) .h-after .ar-sound{color:var(--fg)}
  .fx .hero.hero--sub:not(.hero--plain) .bandcap{position:absolute;top:12px;right:20px;z-index:2}
}

/* Pakete: gleiche Zeilen-Komponente wie /bodas (.pk) – Name/Empfehlung links, Preis rechts, Punkte + Knopf darunter */
.fx .blm .pt-cards,.fx .blm .pt-cards.pt-c2{display:block;border-top:1px solid var(--fg);margin:0}
.fx .blm .pt-card{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:var(--g);align-items:baseline;border-top:0;border-bottom:1px solid var(--line);padding:26px 0}
.fx .blm .pt-card.pt-top{border-top:0;background:none;box-shadow:inset 0 2px 0 var(--acc);padding-inline:0;margin-inline:0}
.fx .blm .pt-name{grid-column:1 / span 7;grid-row:1;display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 12px}
.fx .blm .pt-name h3{margin:0}
.fx .blm .pt-badge{position:static;display:inline;margin:0;font-size:.8125rem;font-weight:500;letter-spacing:.14em;text-transform:uppercase;color:var(--acc)}
.fx .blm .pt-meta{grid-column:1 / span 7;grid-row:2;min-height:0;margin:6px 0 0;color:var(--fg-2)}
.fx .blm .pt-price{grid-column:9 / span 4;grid-row:1 / span 2;text-align:right;margin:0;font-size:clamp(1.75rem,1.5rem + .8vw,2.125rem);line-height:1;white-space:nowrap;font-variant-numeric:lining-nums tabular-nums}
.fx .blm .pt-price .pt-from{display:inline;margin:0 6px 0 0;font-family:var(--sans);font-size:var(--t-cap);color:var(--fg-2)}
.fx .blm .pt-price small{display:block;margin:8px 0 0;font-family:var(--sans);font-size:var(--t-cap);color:var(--fg-2)}
.fx .blm .pt-inc-h{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0;padding:0;margin:0}
.fx .blm .pt-inc{grid-column:7 / span 4;grid-row:3;margin:18px 0 0;padding:0;display:grid;gap:4px;color:var(--fg-2);font-size:var(--t-ui)}
.fx .blm .pt-inc li{padding:0 0 0 18px;position:relative}
.fx .blm .pt-inc li::before{content:"";position:absolute;left:0;top:.8em;width:8px;height:1px;background:currentColor}
.fx .blm .pt-card .pk-wa{grid-column:11 / span 2;grid-row:3;justify-self:end;align-self:end;margin:18px 0 0;min-height:50px;padding:0 22px;border:1px solid color-mix(in srgb,var(--fg) 45%,transparent);border-radius:var(--radius);background:transparent;color:var(--fg);font:500 var(--t-ui)/1 var(--sans);white-space:nowrap}
.fx .blm .pt-card .pk-wa::before{display:none}
.fx .blm .pt-card .pk-wa:hover{border-color:var(--fg);background:transparent}
.fx .blm .pt-card.pt-top .pk-wa{background:var(--btn-bg);border-color:var(--btn-bg);color:var(--btn-fg)}
.fx .blm .pt-card.pt-top .pk-wa:hover{background:var(--btn-hover)}
@media (max-width:899px){
  .fx .blm .pt-card{grid-template-columns:minmax(0,1fr) auto}
  .fx .blm .pt-name,.fx .blm .pt-meta,.fx .blm .pt-inc{grid-column:1 / -1}
  .fx .blm .pt-name{grid-column:1}
  .fx .blm .pt-price{grid-column:2;grid-row:1}
  .fx .blm .pt-price small{margin-top:4px}
  .fx .blm .pt-card .pk-wa{grid-column:1 / -1;grid-row:4;justify-self:stretch;justify-content:center;margin-top:16px}
}

/* Hinweise einheitlich: dünne Linie oben statt türkiser Seitenbalken */
.fx .blm .scope,.fx .blm .planner-note,.fx .blm .ar-note,.fx .blm .yc-nm{border-left:0;border-top:1px solid var(--line);padding:16px 0 0}
.fx .h-rest .scope{border-left:0;border-top:1px solid rgba(255,255,255,.35);padding:12px 0 0}

/* Pakete auf hellem Sand wie /bodas: Format-Farben im Abschnitt umstellen */
.fx .blm.blm-sand{--light:#1F2325;--muted:#565C59;--muted-2:#6B706D;--line:#D3C9B6;--line-2:#C2B6A0;--teal-soft:#155A5A;--teal-btn:#155A5A;background:var(--sand);color:var(--ink);border-top:0}
.fx .blm.blm-sand .pt-switch label:hover{color:var(--ink)}

/* Kopf wie /bodas: Überschrift links, Einleitung und Knöpfe rechts (nur Desktop, Seiten mit Kopf-Film) */
@media (min-width:861px){
  .fx .hero--sub:not(.hero--plain):not(.hero--wide) .hero-one{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:0 var(--g);align-items:end}
  .fx .hero--sub:not(.hero--plain):not(.hero--wide) .hero-one .h-main{grid-column:1 / span 6;max-width:none}
  .fx .hero--sub:not(.hero--plain):not(.hero--wide) .hero-one .h-after{grid-column:7 / span 6;padding-bottom:6px}
  .fx .hero--sub:not(.hero--plain):not(.hero--wide) .hero-one h1.dsp{margin-bottom:0;max-width:14ch}
  .fx .hero--sub:not(.hero--plain):not(.hero--wide) .hero-one .lead-hero{font-size:var(--t-ui);max-width:none;margin-bottom:22px}
}
