/*
  DHI – Detailseiten Ausbildungsstufen
  Stand: 10.08.2026
  Die meisten Regeln sind auf body.stage-page begrenzt.
  Nur .path-card__more / .dhi-stage-card-link werden zusätzlich auf der Rootseite genutzt.
*/

:root{
  --stage-ink:#142033;
  --stage-muted:#5d6877;
  --stage-line:#dce2e8;
  --stage-soft:#f5f7f9;
  --stage-white:#ffffff;
  --stage-red:#8f1024;
  --stage-red-dark:#6f0c1c;
  --stage-violet:#5a2a6f;
  --stage-blue:#0c2a4e;
  --stage-gold:#b08a3c;
  --stage-green:#1f6c54;
  --stage-radius:22px;
  --stage-shadow:0 18px 45px rgba(20,32,51,.10);
}

/* Root-Ergänzung: ausschließlich die drei neuen Inhaltsbuttons */
.path-card__more{
  margin:1.15rem 0 0;
}
.path-card__more .dhi-stage-card-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:100%;
  min-height:46px;
  padding:.76rem 1rem;
  border-radius:999px;
  border:1px solid rgba(143,16,36,.24);
  background:#fff;
  color:#7b0e20;
  font-weight:800;
  line-height:1.15;
  text-decoration:none;
  box-shadow:0 8px 22px rgba(20,32,51,.07);
  transition:transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.path-card__more .dhi-stage-card-link:hover,
.path-card__more .dhi-stage-card-link:focus-visible{
  transform:translateY(-1px);
  box-shadow:0 12px 26px rgba(20,32,51,.12);
  background:#fff8f9;
}
.path-card--master .path-card__more .dhi-stage-card-link{
  color:#4d235f;
  border-color:rgba(90,42,111,.28);
  background:#fcf9fd;
}

/* Fallback und Detailseiten-Grundsystem */
body.stage-page{
  margin:0;
  color:var(--stage-ink);
  background:var(--stage-white);
  font-family:"Source Sans 3","Segoe UI",Arial,sans-serif;
  font-size:17px;
  line-height:1.62;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
.stage-page *,
.stage-page *::before,
.stage-page *::after{box-sizing:border-box}
.stage-page img{display:block;max-width:100%;height:auto}
.stage-page a{color:inherit}
.stage-page .shell{width:min(1180px,calc(100% - 36px));margin-inline:auto}
.stage-page .sr-only{
  position:absolute!important;width:1px!important;height:1px!important;padding:0!important;
  margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;
  white-space:nowrap!important;border:0!important
}
.stage-page .skip-link{
  position:fixed;left:16px;top:-90px;z-index:99999;background:#fff;color:#111;
  padding:.7rem 1rem;border-radius:10px;box-shadow:var(--stage-shadow);font-weight:800
}
.stage-page .skip-link:focus{top:16px}
.stage-page .topbar{
  background:#111923;color:#fff;font-size:.89rem
}
.stage-page .topbar__inner{
  display:flex;align-items:center;justify-content:space-between;gap:1rem;
  padding:.52rem 0
}
.stage-page .topbar a{text-decoration:none}
.stage-page .topbar__contact{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:.8rem 1rem}
.stage-page .site-header{
  position:sticky;top:0;z-index:90;background:rgba(255,255,255,.96);
  border-bottom:1px solid rgba(20,32,51,.10);backdrop-filter:blur(12px)
}
.stage-page .header__inner{
  min-height:86px;display:flex;align-items:center;gap:1.4rem
}
.stage-page .brand{display:inline-flex;align-items:center;flex:0 0 auto}
.stage-page .brand img{width:194px;max-height:64px;object-fit:contain}
.stage-page .main-nav{
  margin-left:auto;display:flex;align-items:center;justify-content:flex-end;gap:.5rem .85rem;flex-wrap:wrap
}
.stage-page .main-nav a{
  padding:.46rem .2rem;text-decoration:none;font-size:.94rem;font-weight:700;color:#253247
}
.stage-page .main-nav a:hover,
.stage-page .main-nav a:focus-visible{color:var(--stage-red)}
.stage-page .nav-toggle{
  display:none;margin-left:auto;width:44px;height:44px;padding:10px;border:1px solid #d9dee5;
  border-radius:12px;background:#fff;cursor:pointer
}
.stage-page .nav-toggle span:not(.sr-only){display:block;height:2px;margin:5px 0;background:#1a2638;border-radius:2px}

.stage-page main{overflow:hidden}
.stage-page .stage-hero{
  position:relative;padding:clamp(3.2rem,7vw,6.2rem) 0;
  background:
    radial-gradient(circle at 12% 20%,rgba(176,138,60,.18),transparent 28%),
    linear-gradient(135deg,#f7f3ed 0%,#fff 47%,#f5f7fa 100%);
  border-bottom:1px solid var(--stage-line)
}
.stage-page--2 .stage-hero{
  background:
    radial-gradient(circle at 16% 18%,rgba(143,16,36,.14),transparent 30%),
    linear-gradient(135deg,#fbf4f5 0%,#fff 47%,#f5f7fa 100%)
}
.stage-page--3 .stage-hero{
  background:
    radial-gradient(circle at 16% 18%,rgba(90,42,111,.17),transparent 30%),
    linear-gradient(135deg,#f8f3fa 0%,#fff 47%,#f5f7fa 100%)
}
.stage-page .stage-hero__grid{
  display:grid;grid-template-columns:minmax(0,1.08fr) minmax(330px,.92fr);gap:clamp(2rem,5vw,5rem);align-items:center
}
.stage-page .eyebrow{
  margin:0 0 .8rem;color:var(--stage-red);font-size:.84rem;line-height:1.25;
  letter-spacing:.12em;text-transform:uppercase;font-weight:900
}
.stage-page--3 .eyebrow{color:var(--stage-violet)}
.stage-page h1,
.stage-page h2,
.stage-page h3{
  margin-top:0;color:var(--stage-blue);font-family:"Cormorant Garamond",Georgia,serif;line-height:1.08
}
.stage-page h1{font-size:clamp(2.55rem,5.6vw,5rem);letter-spacing:-.025em;margin-bottom:1rem}
.stage-page h2{font-size:clamp(2rem,4vw,3.35rem);margin-bottom:1rem}
.stage-page h3{font-size:clamp(1.4rem,2.4vw,1.85rem);margin-bottom:.55rem}
.stage-page p{margin:0 0 1rem}
.stage-page .stage-hero__lead{font-size:clamp(1.12rem,2vw,1.35rem);max-width:780px;color:#2b3a4e}
.stage-page .stage-hero__sub{max-width:760px;color:var(--stage-muted)}
.stage-page .stage-hero__actions,
.stage-page .button-row{
  display:flex;flex-wrap:wrap;gap:.75rem;margin-top:1.45rem
}
.stage-page .button,
.stage-page button.button{
  display:inline-flex;align-items:center;justify-content:center;gap:.45rem;min-height:48px;
  padding:.78rem 1.15rem;border-radius:999px;border:1px solid transparent;
  font:inherit;font-weight:850;line-height:1.15;text-decoration:none;cursor:pointer
}
.stage-page .button--ink{background:var(--stage-red);color:#fff;box-shadow:0 12px 26px rgba(143,16,36,.22)}
.stage-page--3 .button--ink{background:var(--stage-violet);box-shadow:0 12px 26px rgba(90,42,111,.22)}
.stage-page .button--outline{background:#fff;color:var(--stage-blue);border-color:rgba(12,42,78,.22)}
.stage-page .button--presence{background:var(--stage-red);color:#fff}
.stage-page .button--hybrid{background:linear-gradient(110deg,var(--stage-red),var(--stage-violet));color:#fff}
.stage-page .button:hover,
.stage-page .button:focus-visible{transform:translateY(-1px);filter:brightness(.98)}
.stage-page .stage-hero__media{
  margin:0;border-radius:28px;overflow:hidden;background:#fff;border:1px solid rgba(20,32,51,.11);
  box-shadow:var(--stage-shadow)
}
.stage-page .stage-hero__media img{width:100%;aspect-ratio:4/3;object-fit:cover}
.stage-page--2 .stage-hero__media img{object-position:center}
.stage-page .stage-hero__media figcaption{padding:.8rem 1rem;color:var(--stage-muted);font-size:.9rem}

.stage-page .stage-jumpnav{
  position:sticky;top:86px;z-index:60;background:rgba(255,255,255,.97);
  border-bottom:1px solid var(--stage-line);box-shadow:0 8px 22px rgba(20,32,51,.05)
}
.stage-page .stage-jumpnav__inner{display:flex;gap:.35rem .75rem;overflow-x:auto;padding:.62rem 0;scrollbar-width:thin}
.stage-page .stage-jumpnav a{
  flex:0 0 auto;padding:.42rem .72rem;border-radius:999px;text-decoration:none;
  color:#334155;font-size:.9rem;font-weight:750
}
.stage-page .stage-jumpnav a:hover,
.stage-page .stage-jumpnav a:focus-visible{background:#f1f4f7;color:var(--stage-red)}

.stage-page .stage-section{padding:clamp(3.4rem,6vw,6rem) 0}
.stage-page .stage-section--soft{background:var(--stage-soft);border-block:1px solid var(--stage-line)}
.stage-page .stage-section--tint{background:#fbf7f1;border-block:1px solid #eee3d4}
.stage-page--2 .stage-section--tint{background:#fff7f8;border-block-color:#f0dade}
.stage-page--3 .stage-section--tint{background:#fbf7fc;border-block-color:#e7dcec}
.stage-page .section-heading{max-width:860px;margin-bottom:2rem}
.stage-page .section-heading--center{text-align:center;margin-inline:auto}
.stage-page .section-heading>p:last-child{font-size:1.08rem;color:var(--stage-muted)}

.stage-page .stage-fact-grid{
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem
}
.stage-page .stage-fact{
  padding:1.25rem;background:#fff;border:1px solid var(--stage-line);border-radius:18px;
  box-shadow:0 10px 25px rgba(20,32,51,.05)
}
.stage-page .stage-fact__label{
  display:block;margin-bottom:.35rem;color:var(--stage-red);font-size:.78rem;
  font-weight:900;letter-spacing:.08em;text-transform:uppercase
}
.stage-page--3 .stage-fact__label{color:var(--stage-violet)}
.stage-page .stage-fact strong{display:block;font-size:1.06rem;line-height:1.3}
.stage-page .stage-fact small{display:block;margin-top:.35rem;color:var(--stage-muted);line-height:1.42}

.stage-page .authority-box{
  margin-top:1.4rem;padding:1.25rem 1.35rem;border-radius:18px;
  border:1px solid rgba(31,108,84,.25);background:#f3faf7
}
.stage-page .authority-box strong{color:var(--stage-green)}
.stage-page .authority-box__meta{display:flex;flex-wrap:wrap;gap:.5rem 1.25rem;margin:.7rem 0 0;color:#3f5d52;font-size:.92rem}

.stage-page .two-column{
  display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(1.4rem,4vw,3rem);align-items:start
}
.stage-page .prose-card,
.stage-page .safety-card,
.stage-page .exercise-card,
.stage-page .day-card,
.stage-page .curriculum-card{
  background:#fff;border:1px solid var(--stage-line);border-radius:var(--stage-radius);
  box-shadow:0 12px 30px rgba(20,32,51,.055)
}
.stage-page .prose-card,
.stage-page .safety-card{padding:clamp(1.25rem,3vw,2rem)}
.stage-page .safety-card{border-left:5px solid var(--stage-red)}
.stage-page--3 .safety-card{border-left-color:var(--stage-violet)}
.stage-page ul,
.stage-page ol{margin:.7rem 0 1rem;padding-left:1.25rem}
.stage-page li{margin:.35rem 0}
.stage-page .check-list{list-style:none;padding:0;margin:0}
.stage-page .check-list li{position:relative;padding-left:1.75rem;margin:.6rem 0}
.stage-page .check-list li::before{
  content:"✓";position:absolute;left:0;top:0;color:var(--stage-green);font-weight:950
}
.stage-page .plain-note{color:var(--stage-muted);font-size:.95rem}

.stage-page .day-stack{display:grid;gap:1.35rem}
.stage-page .day-card{overflow:hidden}
.stage-page .day-card__head{
  display:grid;grid-template-columns:90px minmax(0,1fr);gap:1.1rem;align-items:center;
  padding:1.1rem 1.35rem;background:linear-gradient(110deg,#17263b,#243b5a);color:#fff
}
.stage-page--2 .day-card__head{background:linear-gradient(110deg,#7d0e20,#b11d35)}
.stage-page--3 .day-card__head{background:linear-gradient(110deg,#3e1c4d,#6c3782)}
.stage-page .day-card__number{
  display:flex;align-items:center;justify-content:center;width:72px;height:72px;border-radius:50%;
  background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.28);font-size:1.7rem;font-weight:900
}
.stage-page .day-card__head h3{margin:0;color:#fff;font-family:inherit;font-size:1.42rem;line-height:1.2}
.stage-page .day-card__head p{margin:.25rem 0 0;color:rgba(255,255,255,.83)}
.stage-page .day-card__body{
  display:grid;grid-template-columns:minmax(0,1.1fr) minmax(260px,.9fr);gap:1.5rem;padding:1.35rem
}
.stage-page .day-card__body h4{
  margin:.1rem 0 .5rem;color:var(--stage-blue);font-size:1rem;text-transform:uppercase;letter-spacing:.06em
}
.stage-page .day-card__outcome{
  padding:1rem;border-radius:16px;background:var(--stage-soft);border:1px solid var(--stage-line)
}
.stage-page .day-card__outcome strong{display:block;margin-bottom:.35rem;color:var(--stage-red)}
.stage-page--3 .day-card__outcome strong{color:var(--stage-violet)}

.stage-page .exercise-grid{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem
}
.stage-page .exercise-card{padding:1.25rem}
.stage-page .exercise-card__tag{
  display:inline-flex;margin-bottom:.6rem;padding:.25rem .55rem;border-radius:999px;
  background:#f6e9eb;color:var(--stage-red);font-size:.78rem;font-weight:900;text-transform:uppercase;letter-spacing:.05em
}
.stage-page--3 .exercise-card__tag{background:#f0e8f4;color:var(--stage-violet)}
.stage-page .exercise-card h3{font-size:1.45rem}

.stage-page .curriculum-table-wrap{
  overflow-x:auto;border:1px solid var(--stage-line);border-radius:var(--stage-radius);background:#fff;box-shadow:var(--stage-shadow)
}
.stage-page .curriculum-table{width:100%;border-collapse:collapse;min-width:760px}
.stage-page .curriculum-table th,
.stage-page .curriculum-table td{padding:.88rem 1rem;text-align:left;vertical-align:top;border-bottom:1px solid var(--stage-line)}
.stage-page .curriculum-table th{background:#17263b;color:#fff;font-size:.88rem;letter-spacing:.025em}
.stage-page--2 .curriculum-table th{background:#7d0e20}
.stage-page--3 .curriculum-table th{background:#4f265f}
.stage-page .curriculum-table tbody tr:last-child td{border-bottom:0}
.stage-page .curriculum-table td:first-child{width:26%;font-weight:820;color:var(--stage-blue)}
.stage-page .curriculum-table td:last-child{width:27%;color:var(--stage-muted)}

.stage-page .method-figure{
  display:grid;grid-template-columns:minmax(0,1fr) minmax(340px,.82fr);gap:2rem;align-items:center;
  margin-top:2rem;padding:1.25rem;border:1px solid var(--stage-line);border-radius:var(--stage-radius);background:#fff
}
.stage-page .method-figure img{width:100%;aspect-ratio:16/10;object-fit:cover;border-radius:16px}
.stage-page .method-figure figcaption{color:var(--stage-muted);font-size:.93rem}

.stage-page .format-grid{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.25rem
}
.stage-page .format-card{
  overflow:hidden;background:#fff;border:1px solid var(--stage-line);border-radius:var(--stage-radius);box-shadow:var(--stage-shadow)
}
.stage-page .format-card img{width:100%;aspect-ratio:16/8.7;object-fit:cover}
.stage-page .format-card__body{padding:1.35rem}
.stage-page .format-card h3{margin-bottom:.45rem}
.stage-page .format-card ul{margin-bottom:1.2rem}
.stage-page .format-card__label{
  display:inline-flex;margin-bottom:.6rem;padding:.25rem .55rem;border-radius:999px;
  color:#fff;background:var(--stage-red);font-size:.78rem;font-weight:900;letter-spacing:.04em;text-transform:uppercase
}
.stage-page .format-card--hybrid .format-card__label{background:linear-gradient(110deg,var(--stage-red),var(--stage-violet))}

.stage-page .stage-nav{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.8rem;margin-top:2rem
}
.stage-page .stage-nav a{
  display:flex;min-height:78px;align-items:center;justify-content:center;text-align:center;
  padding:1rem;border-radius:18px;border:1px solid var(--stage-line);background:#fff;
  text-decoration:none;font-weight:820;color:var(--stage-blue)
}
.stage-page .stage-nav a[aria-current="page"]{background:var(--stage-blue);color:#fff}
.stage-page .protected-material{
  padding:1.35rem;border-radius:18px;background:#fff9ed;border:1px solid #ecd9ad
}
.stage-page .protected-material strong{color:#755810}

.stage-page .site-footer{
  background:#111923;color:#e7edf5;padding:3.5rem 0 1.2rem
}
.stage-page .footer__grid{
  display:grid;grid-template-columns:1.55fr repeat(3,minmax(0,1fr));gap:2rem
}
.stage-page .footer__grid>div{display:flex;flex-direction:column;gap:.42rem}
.stage-page .footer__grid a{text-decoration:none;color:#d7dfeb}
.stage-page .footer__grid a:hover{color:#fff}
.stage-page .footer-wordmark{font-size:1.18rem;color:#fff}
.stage-page .footer__address{font-style:normal;color:#c8d1dc}
.stage-page .footer__legal{
  display:flex;justify-content:space-between;gap:1.5rem;margin-top:2.4rem;padding-top:1.15rem;
  border-top:1px solid rgba(255,255,255,.14);font-size:.84rem;color:#bac4d0
}
.stage-page .footer__legal p{margin:0}

@media (max-width:980px){
  .stage-page .main-nav{
    display:none;position:absolute;left:18px;right:18px;top:78px;padding:1rem;
    border:1px solid var(--stage-line);border-radius:16px;background:#fff;box-shadow:var(--stage-shadow)
  }
  .stage-page .main-nav.is-open{display:flex;align-items:stretch;flex-direction:column}
  .stage-page .main-nav a{padding:.65rem .75rem;border-radius:10px}
  .stage-page .nav-toggle{display:block}
  .stage-page .stage-hero__grid,
  .stage-page .method-figure{grid-template-columns:1fr}
  .stage-page .stage-hero__media{max-width:760px}
  .stage-page .stage-fact-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .stage-page .footer__grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:720px){
  .stage-page{font-size:16px}
  .stage-page .shell{width:min(100% - 24px,1180px)}
  .stage-page .topbar__inner{align-items:flex-start;flex-direction:column;gap:.25rem}
  .stage-page .topbar__contact{justify-content:flex-start}
  .stage-page .topbar__address{display:none}
  .stage-page .header__inner{min-height:72px}
  .stage-page .brand img{width:165px}
  .stage-page .stage-jumpnav{top:72px}
  .stage-page .stage-hero{padding:2.8rem 0}
  .stage-page .stage-fact-grid,
  .stage-page .two-column,
  .stage-page .exercise-grid,
  .stage-page .format-grid{grid-template-columns:1fr}
  .stage-page .day-card__head{grid-template-columns:62px minmax(0,1fr);padding:1rem}
  .stage-page .day-card__number{width:54px;height:54px;font-size:1.3rem}
  .stage-page .day-card__body{grid-template-columns:1fr;padding:1rem}
  .stage-page .method-figure{padding:1rem}
  .stage-page .stage-nav{grid-template-columns:1fr}
  .stage-page .footer__grid{grid-template-columns:1fr}
  .stage-page .footer__legal{flex-direction:column}
}
@media (max-width:430px){
  .stage-page .topbar__contact{gap:.25rem .7rem}
  .stage-page .topbar__link--email{display:none}
  .stage-page h1{font-size:2.45rem}
  .stage-page .stage-fact-grid{grid-template-columns:1fr}
  .stage-page .stage-hero__actions .button,
  .stage-page .button-row .button{width:100%}
}

@media print{
  @page{size:A4;margin:14mm 13mm 16mm}
  body.stage-page{font-size:10.2pt;line-height:1.4;color:#000;background:#fff}
  .stage-page .no-print,
  .stage-page .topbar,
  .stage-page .site-header,
  .stage-page .stage-jumpnav,
  .stage-page .stage-hero__actions,
  .stage-page .button-row,
  .stage-page .site-footer,
  .stage-page .stage-nav,
  .stage-page .format-grid{display:none!important}
  .stage-page .shell{width:100%;max-width:none}
  .stage-page .stage-hero{padding:0 0 7mm;background:#fff!important;border:0}
  .stage-page .stage-hero__grid{display:block}
  .stage-page .stage-hero__media{display:none}
  .stage-page h1{font-size:25pt;color:#000;margin-bottom:3mm}
  .stage-page h2{font-size:18pt;color:#000}
  .stage-page h3{font-size:14pt;color:#000}
  .stage-page .eyebrow{color:#000}
  .stage-page .stage-section{padding:7mm 0;background:#fff!important;border:0}
  .stage-page .stage-section+.stage-section{border-top:.3mm solid #aaa}
  .stage-page .stage-fact-grid{grid-template-columns:repeat(2,1fr);gap:3mm}
  .stage-page .stage-fact,
  .stage-page .prose-card,
  .stage-page .safety-card,
  .stage-page .exercise-card,
  .stage-page .day-card,
  .stage-page .curriculum-table-wrap,
  .stage-page .authority-box,
  .stage-page .protected-material{
    box-shadow:none!important;background:#fff!important;border:.25mm solid #aaa!important
  }
  .stage-page .day-card{break-inside:avoid;margin-bottom:4mm}
  .stage-page .day-card__head{background:#eee!important;color:#000!important;padding:3mm 4mm}
  .stage-page .day-card__head h3,
  .stage-page .day-card__head p{color:#000!important}
  .stage-page .day-card__number{border:.25mm solid #777;background:#fff!important;color:#000}
  .stage-page .day-card__body{grid-template-columns:1fr 1fr;gap:4mm;padding:4mm}
  .stage-page .exercise-grid{grid-template-columns:1fr 1fr;gap:3mm}
  .stage-page .curriculum-table{min-width:0;font-size:9pt}
  .stage-page .curriculum-table th{background:#eee!important;color:#000;border-bottom:.4mm solid #555}
  .stage-page .curriculum-table th,
  .stage-page .curriculum-table td{padding:2.2mm 2.5mm}
  .stage-page a{text-decoration:none;color:#000}
  .stage-page .authority-box::before{
    content:"ÖFFENTLICHER LEHRPLAN ZUR VORLAGE BEI JOBCENTER, ARBEITSAGENTUR ODER ANDEREN KOSTENTRÄGERN";
    display:block;margin-bottom:2mm;font-weight:900;font-size:9pt;letter-spacing:.03em
  }
  .stage-page .method-figure{display:none}
  .stage-page section,
  .stage-page article,
  .stage-page table{break-inside:auto}
  .stage-page h2,
  .stage-page h3{break-after:avoid}
  .stage-page tr{break-inside:avoid}
}


/* ========================================================================== 
   PATCH-ONLY 2026-08-10f
   Ausschließlich: feste Kontakt-/Headerlogik, sichere Ankerabstände,
   vollständige Kontaktanzeige, nicht beschneidendes Stufe-3-Gruppenfoto
   und druckneutraler Ausgleich.
   ========================================================================== */
:root{
  --stage-topbar-h:42px;
  --stage-header-h:86px;
  --stage-fixed-stack-h:128px;
  --stage-jumpnav-h:52px;
}

html{
  scroll-padding-top:calc(var(--stage-fixed-stack-h) + var(--stage-jumpnav-h) + 16px);
}
body.stage-page{
  padding-top:var(--stage-fixed-stack-h) !important;
}
.stage-page main{
  overflow:visible !important;
}
.stage-page .topbar{
  position:fixed !important;
  inset:0 0 auto 0 !important;
  z-index:2147483000 !important;
  display:block !important;
  visibility:visible !important;
  color:#fff !important;
  background:var(--stage-red-dark) !important;
  box-shadow:0 4px 14px rgba(20,32,51,.10) !important;
}
.stage-page .topbar__inner{
  min-height:42px;
}
.stage-page .topbar__address,
.stage-page .topbar__contact,
.stage-page .topbar__link,
.stage-page .topbar__link--email{
  visibility:visible !important;
}
.stage-page .topbar__address{
  display:inline-flex !important;
  color:#fff !important;
}
.stage-page .topbar__contact{
  display:flex !important;
}
.stage-page .topbar__link,
.stage-page .topbar__link--email{
  display:inline-flex !important;
  color:#fff !important;
}
.stage-page .site-header{
  position:fixed !important;
  top:var(--stage-topbar-h) !important;
  right:0 !important;
  left:0 !important;
  z-index:2147482900 !important;
  background:rgba(255,255,255,.97) !important;
  border-bottom:1px solid rgba(20,32,51,.10) !important;
  box-shadow:0 8px 22px rgba(20,32,51,.06) !important;
}
.stage-page .stage-jumpnav{
  position:sticky !important;
  top:var(--stage-fixed-stack-h) !important;
  z-index:2147482800 !important;
}
.stage-page [id]{
  scroll-margin-top:calc(var(--stage-fixed-stack-h) + var(--stage-jumpnav-h) + 16px);
}
.stage-page--3 img.stage3-group-photo{
  width:100%;
  height:auto !important;
  aspect-ratio:16 / 9 !important;
  object-fit:contain !important;
  object-position:center !important;
  background:#edf1f4;
}

@media (max-width:720px){
  .stage-page .topbar__inner{
    align-items:flex-start;
    gap:.3rem;
    padding:.42rem 0;
  }
  .stage-page .topbar__address{
    width:100%;
    white-space:normal;
    font-size:.74rem;
    line-height:1.25;
  }
  .stage-page .topbar__contact{
    width:100%;
    justify-content:flex-start;
    gap:.25rem .68rem;
    font-size:.72rem;
    line-height:1.25;
  }
  .stage-page .topbar__link,
  .stage-page .topbar__link--email{
    white-space:normal;
  }
}

@media print{
  html{
    scroll-padding-top:0 !important;
  }
  body.stage-page{
    padding-top:0 !important;
  }
  .stage-page [id]{
    scroll-margin-top:0 !important;
  }
  .stage-page .topbar,
  .stage-page .site-header,
  .stage-page .stage-jumpnav{
    position:static !important;
    display:none !important;
  }
}


/* =====================================================================
   Patch 2026-08-10 v4 – Bestandsfotos vollständig und erkennbar im Rahmen
   ===================================================================== */
.stage-page .photo-fit-16x9{
  width:100%;
  aspect-ratio:16/9 !important;
  object-fit:cover !important;
  object-position:center center !important;
}
.stage-page .method-figure img.photo-fit-16x9,
.stage-page .stage-hero__media img.photo-fit-16x9,
.stage-page .format-card img.photo-fit-16x9{
  aspect-ratio:16/9 !important;
  object-fit:cover !important;
  object-position:center center !important;
}


/* =====================================================================
   Patch 2026-08-10 v5 – Bestandsfotos vollständig sichtbar statt angeschnitten
   ===================================================================== */
.stage-page .photo-full-visible{
  width:100%;
  aspect-ratio:16/9 !important;
  object-fit:contain !important;
  object-position:center center !important;
  background:#f5f1ea;
}
.stage-page .photo-full-visible.photo-anchor-bottom{
  object-position:center bottom !important;
}
