
/* ================= REFiber plakat layer (unlayered, wins over Tailwind/Quanta) =================
 * Layout: follows the client poster: light sky sections alternate with deep navy panels,
 * REFiber blue as the main accent, conduit orange as a small highlight, blue light lines as motif.
 */
:root {
  --p-navy: #0a1a30;
  --p-navy-2: #10264a;
  --p-panel: #14305a;
  --p-sky: #eef5fd;
  --p-sky-2: #dceafa;
  --p-ink: #0f1d33;
  --p-ink-soft: #46566e;
  --p-white: #ffffff;
  --p-on-navy: #eaf2fc;
  --p-on-navy-soft: #a9bed9;
  --p-blue: #1e78ec;
  --p-blue-2: #5fa8ff;
  --p-orange: #ff7a1a;
  --p-line: rgba(95, 168, 255, 0.28);
  --p-display: "Sora", "Segoe UI", system-ui, sans-serif;
  --p-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --p-r: 14px;
  --p-gutter: clamp(1rem, 3.5vw, 2.5rem);
}
html, body { background: var(--p-sky); color: var(--p-ink); color-scheme: light; margin: 0; }
*, *::before, *::after { box-sizing: border-box; }
.p-site { background: var(--p-sky); color: var(--p-ink); font-family: var(--p-body); font-size: 1.0625rem; line-height: 1.6; overflow-x: clip; }
.p-site img { max-width: 100%; }
.p-site h1, .p-site h2, .p-site h3, .p-site p { margin: 0; }
.p-site a { color: inherit; }
.p-site :focus-visible { outline: 3px solid var(--p-orange); outline-offset: 2px; }
.p-sr, .rf-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.p-wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--p-gutter); }

/* Header: white like the poster's light side */
.p-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40; display: flex; align-items: center; gap: 1.5rem; padding: 0.7rem var(--p-gutter); background: var(--p-white); border-bottom: 1px solid var(--p-sky-2); box-shadow: 0 6px 24px -18px rgba(10, 26, 48, 0.5); }
.p-header__logo img { display: block; width: clamp(140px, 13vw, 190px); height: auto; }
.p-header__nav { display: flex; gap: 1.6rem; margin-left: auto; font-weight: 600; font-size: 0.95rem; }
.p-header__nav a { text-decoration: none; color: var(--p-ink-soft); padding-block: 0.4rem; border-bottom: 2px solid transparent; transition: color .2s, border-color .2s; }
.p-header__nav a:hover { color: var(--p-blue); border-bottom-color: var(--p-blue); }
.b-navcta { display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0 1.2rem; border-radius: 999px; background: linear-gradient(135deg, var(--p-blue), #0f5fd0); color: #fff !important; font-weight: 700; font-size: 0.95rem; text-decoration: none; box-shadow: 0 8px 20px -10px rgba(30, 120, 236, 0.9); transition: transform .15s, box-shadow .15s; }
.b-navcta:hover { transform: translateY(-1px); box-shadow: 0 12px 26px -10px rgba(30, 120, 236, 1); }

/* Hero: the poster on deep navy with blue light */
.p-hero { position: relative; overflow: hidden; background: radial-gradient(120% 80% at 80% 0%, #17407a 0%, var(--p-navy) 55%) , var(--p-navy); padding: clamp(1.25rem, 3vw, 2.5rem) var(--p-gutter) clamp(1.75rem, 3.5vw, 3rem); }
.p-hero__glow { position: absolute; left: -10%; right: -10%; bottom: -40px; height: 160px; background: radial-gradient(60% 100% at 50% 100%, rgba(95, 168, 255, 0.35), transparent 70%); pointer-events: none; }
.p-hero__poster { position: relative; margin: 0 auto; max-width: min(1400px, calc((100dvh - 210px) * 1.7778)); border-radius: var(--p-r); overflow: hidden; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.75), 0 0 0 1px var(--p-line); }
.p-hero__poster img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.p-hero__ctas { position: relative; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 1rem 1.75rem; margin-top: 1.5rem; }
.b-herocta { display: inline-flex; align-items: center; gap: 0.8rem; min-height: 3.3rem; padding: 0 1.6rem; border-radius: 999px; background: var(--p-orange); color: #1a0d02 !important; font-weight: 800; font-size: 1.05rem; text-decoration: none; box-shadow: 0 10px 28px -12px rgba(255, 122, 26, 0.9); transition: transform .15s; }
.b-herocta__cable { width: 28px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; overflow: visible; transition: width .3s; }
.b-herocta:hover { transform: translateY(-1px); }
.b-herocta:hover .b-herocta__cable { width: 42px; }
.p-site .b-trace { font-weight: 700; color: var(--p-blue-2); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.35em; padding-block: 0.5rem; }
.p-site .b-trace:hover { color: #fff; }

/* Kernkompetenzen strip, mirroring the poster's right panel */
.p-kompetenz { background: linear-gradient(180deg, var(--p-navy) 0%, var(--p-navy-2) 100%); border-top: 1px solid var(--p-line); border-bottom: 1px solid var(--p-line); }
.p-kompetenz__list { list-style: none; margin: 0 auto; padding: 1.6rem var(--p-gutter); max-width: 1240px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.2rem 2rem; color: var(--p-on-navy); }
.p-kompetenz__list li { display: flex; align-items: center; gap: 0.9rem; min-width: 0; }
.p-kompetenz__list strong { display: block; font-family: var(--p-display); font-weight: 700; font-size: 1rem; line-height: 1.25; }
.p-kompetenz__list em { display: block; font-style: normal; color: var(--p-on-navy-soft); font-size: 0.9rem; }
.p-ring { flex: none; display: grid; place-items: center; width: 62px; height: 62px; border-radius: 50%; border: 2px solid var(--p-blue-2); background: radial-gradient(circle, rgba(30, 120, 236, 0.35), rgba(10, 26, 48, 0.2)); box-shadow: 0 0 18px -4px rgba(95, 168, 255, 0.8); }
.p-ring img { width: 36px; height: 36px; }

/* Still journey (photos cross-fading) */
.sj { position: relative; background: var(--p-navy); }
.sj__stage { position: sticky; top: 0; height: 100dvh; overflow: hidden; z-index: 0; }
.sj__img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none !important; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity .8s ease, transform 6s ease-out; will-change: opacity; }
.sj__img[data-active="true"] { opacity: 1; transform: scale(1); }
.sj__stage::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 26, 48, 0.35) 0%, transparent 30%, transparent 65%, rgba(10, 26, 48, 0.6) 100%); pointer-events: none; }
.sj__route { position: absolute; z-index: 3; left: var(--p-gutter); bottom: 1.25rem; display: flex; gap: 0.4rem; flex-wrap: wrap; }
.sj__route-btn { border: 1px solid var(--p-line); background: rgba(10, 26, 48, 0.75); color: var(--p-on-navy); border-radius: 999px; font: inherit; font-size: 0.82rem; font-weight: 700; min-height: 2.4rem; padding: 0.4rem 0.95rem; cursor: pointer; }
.sj__route-btn[aria-current="step"] { background: var(--p-blue); border-color: var(--p-blue); color: #fff; }
.sj__story { position: relative; z-index: 2; margin-top: -100dvh; pointer-events: none; }
.sj__chapter { min-height: 100dvh; display: flex; align-items: center; padding: 6rem var(--p-gutter) 5rem; }
.sj__chapter[data-align="right"] { justify-content: flex-end; }
.sj__copy { pointer-events: auto; width: min(32rem, 44vw); background: rgba(10, 26, 48, 0.88); color: var(--p-on-navy); border: 1px solid var(--p-line); border-radius: var(--p-r); padding: 1.6rem 1.7rem 1.8rem; box-shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.06); }
.sj__kicker { display: inline-block; margin-bottom: 0.9rem; padding: 0.25rem 0.75rem; border-radius: 999px; background: rgba(30, 120, 236, 0.22); color: var(--p-blue-2); font-weight: 800; font-size: 0.8rem; letter-spacing: .04em; }
.sj__title { font-family: var(--p-display); font-weight: 800; font-size: clamp(1.8rem, 3vw, 2.9rem); line-height: 1.08; letter-spacing: -0.01em; text-wrap: balance; }
.sj__body { margin-top: 0.9rem; color: var(--p-on-navy-soft); font-size: 1.05rem; max-width: 42ch; }
.sj__actions { margin-top: 1.2rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }
/* Sections */
.p-sec { padding-block: clamp(3.5rem, 7vw, 6rem); }
.p-sec--light { background: linear-gradient(180deg, var(--p-sky) 0%, #f8fbff 100%); color: var(--p-ink); }
.p-sec--navy { position: relative; background: radial-gradient(90% 60% at 10% 0%, #163a6e 0%, var(--p-navy) 60%), var(--p-navy); color: var(--p-on-navy); }
.p-eyebrow { display: inline-block; margin-bottom: 0.8rem; padding: 0.3rem 0.8rem; border-radius: 999px; background: rgba(30, 120, 236, 0.12); color: var(--p-blue); font-weight: 800; font-size: 0.8rem; letter-spacing: .06em; text-transform: uppercase; }
.p-sec--navy .p-eyebrow { background: rgba(95, 168, 255, 0.16); color: var(--p-blue-2); }
.p-h2 { font-family: var(--p-display); font-weight: 800; font-size: clamp(1.9rem, 4vw, 3.2rem); line-height: 1.08; letter-spacing: -0.015em; text-wrap: balance; max-width: 22ch; }
.p-sec--light .p-h2 { color: var(--p-navy); }
.p-lead { margin-top: 0.9rem; max-width: 58ch; color: var(--p-on-navy-soft); font-size: 1.1rem; }
.p-lead--dark { color: var(--p-ink-soft); }

/* Leistungen cards */
.p-cards { margin-top: 2.5rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.p-card { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); background: var(--p-white); border-radius: var(--p-r); overflow: hidden; box-shadow: 0 20px 50px -30px rgba(10, 26, 48, 0.45); border: 1px solid var(--p-sky-2); transition: transform .2s, box-shadow .2s; }
.p-card:hover { transform: translateY(-3px); box-shadow: 0 26px 60px -30px rgba(30, 120, 236, 0.55); }
.p-card__img { min-height: 100%; }
.p-card__img img { display: block; width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.p-card__body { padding: 1.4rem 1.5rem 1.5rem; border-top: 4px solid transparent; border-image: linear-gradient(90deg, var(--p-blue), var(--p-blue-2)) 1; }
.p-card h3 { font-family: var(--p-display); font-weight: 800; font-size: 1.3rem; line-height: 1.2; color: var(--p-navy); }
.p-card ul { list-style: none; margin: 0.9rem 0 0; padding: 0; display: grid; gap: 0.5rem; }
.p-card li { position: relative; padding-left: 1.4rem; color: var(--p-ink-soft); font-size: 0.98rem; line-height: 1.45; }
.p-card li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 0.6rem; height: 0.6rem; border-radius: 50%; background: var(--p-orange); box-shadow: 0 0 0 3px rgba(255, 122, 26, 0.18); }

/* Gallery (adapted 21st.dev hover-expand-gallery) */
.hx { list-style: none; margin: 2.5rem auto 0; padding: 0 var(--p-gutter); max-width: 1400px; display: flex; gap: 0.5rem; height: min(72vh, 620px); }
.hx__panel { flex: 0 1 4.4rem; min-width: 0; transition: flex-basis .55s cubic-bezier(.32,.72,0,1); }
.hx__panel[data-open="true"] { flex: 1 1 auto; }
.hx__btn { position: relative; display: block; width: 100%; height: 100%; padding: 0; margin: 0; border: 1px solid var(--p-line); border-radius: var(--p-r); background: rgba(16, 38, 74, 0.8); color: var(--p-on-navy); cursor: pointer; text-align: left; font: inherit; overflow: hidden; }
.hx__panel:not([data-open="true"]) .hx__btn:hover { background: rgba(30, 120, 236, 0.3); }
.hx__img { position: absolute; inset: 0; opacity: var(--hx-open); transition: opacity .35s ease-out; }
.hx__img img { display: block; width: 100%; height: 100%; object-fit: cover; max-width: none !important; }
.hx__rail { position: absolute; inset: 0 auto 0 0; width: 4.4rem; display: flex; flex-direction: column; justify-content: space-between; align-items: center; padding: 1rem 0; z-index: 2; }
.hx__panel[data-open="true"] .hx__rail { background: linear-gradient(90deg, rgba(10, 26, 48, 0.85), rgba(10, 26, 48, 0)); }
.hx__no { font-weight: 800; font-size: 0.85rem; color: var(--p-blue-2); }
.hx__title { writing-mode: vertical-rl; transform: rotate(180deg); white-space: nowrap; font-family: var(--p-display); font-weight: 800; font-size: 1.1rem; }
.hx__meta { position: absolute; left: 1rem; bottom: 1rem; z-index: 2; padding: 0.5rem 0.9rem; border-radius: 999px; background: rgba(10, 26, 48, 0.85); color: #fff; font-weight: 700; font-size: 0.85rem; opacity: var(--hx-open); transition: opacity .35s; }
.hx__panel[data-open="true"] .hx__meta { left: 5.2rem; }

/* Zielgruppen */
.p-who { list-style: none; margin: 2.2rem 0 0; padding: 0; display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 1.2rem; }
.p-who li { display: grid; gap: 0.5rem; align-content: start; padding: 1.6rem; border-radius: var(--p-r); background: var(--p-white); border: 1px solid var(--p-sky-2); box-shadow: 0 16px 40px -30px rgba(10, 26, 48, 0.5); }
.p-who li:first-child { background: linear-gradient(140deg, var(--p-blue) 0%, #0e4fb0 100%); color: #fff; border-color: transparent; }
.p-who li:first-child span { color: rgba(255, 255, 255, 0.85); }
.p-who strong { font-family: var(--p-display); font-weight: 800; font-size: 1.5rem; }
.p-who span { color: var(--p-ink-soft); }

/* Ablauf with a glowing fiber line */
.p-route { list-style: none; margin: 2.6rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.2rem; position: relative; }
.p-route::before { content: ""; position: absolute; top: 1.2rem; left: 0; right: 0; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--p-orange), var(--p-blue-2) 40%, var(--p-blue)); box-shadow: 0 0 14px rgba(95, 168, 255, 0.7); }
.p-route li { position: relative; padding-top: 3.2rem; min-width: 0; }
.p-route li::before { content: ""; position: absolute; top: 0.55rem; left: 0; width: 1.4rem; height: 1.4rem; border-radius: 50%; background: var(--p-navy); border: 3px solid var(--p-blue-2); box-shadow: 0 0 12px rgba(95, 168, 255, 0.9); }
.p-route__no { font-weight: 800; font-size: 0.85rem; color: var(--p-orange); }
.p-route h3 { margin-top: 0.3rem; font-family: var(--p-display); font-weight: 800; font-size: 1.2rem; }
.p-route p { margin-top: 0.4rem; color: var(--p-on-navy-soft); font-size: 0.97rem; }

/* Kontakt */
.p-contact { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.p-contact__photo { margin: 1.6rem 0 0; border-radius: var(--p-r); overflow: hidden; box-shadow: 0 20px 50px -30px rgba(10, 26, 48, 0.5); }
.p-contact__photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.rf-beam { background: var(--p-white); border-radius: var(--p-r); border: 1px solid var(--p-sky-2); box-shadow: 0 24px 60px -34px rgba(10, 26, 48, 0.55); padding: clamp(1.25rem, 3vw, 2rem); }
.rf-form { display: grid; gap: 1.1rem; min-width: 0; }
.rf-form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; }
.rf-field { display: grid; gap: 0.35rem; min-width: 0; font-weight: 700; font-size: 0.9rem; color: var(--p-navy); }
.rf-field em { font-style: normal; font-weight: 500; color: var(--p-ink-soft); margin-left: 0.35rem; }
.rf-field input, .rf-field select, .rf-field textarea { width: 100%; font: inherit; font-weight: 500; font-size: 1rem; color: var(--p-ink); background: var(--p-sky); border: 1px solid var(--p-sky-2); border-radius: 10px; padding: 0.8rem 0.9rem; color-scheme: light; }
.rf-field textarea { resize: vertical; min-height: 8rem; }
.rf-field input:focus, .rf-field select:focus, .rf-field textarea:focus { outline: none; border-color: var(--p-blue); box-shadow: 0 0 0 4px rgba(30, 120, 236, 0.18); background: #fff; }
.rf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.rf-form__error { margin: 0; padding: 0.7rem 0.9rem; border-radius: 10px; background: #fff3ec; color: #a33a00; font-weight: 600; }
.b-submit { position: relative; overflow: hidden; width: 100%; min-height: 3.5rem; border: 0; border-radius: 999px; background: linear-gradient(135deg, var(--p-blue), #0f5fd0); color: #fff; font: inherit; font-weight: 800; font-size: 1.05rem; cursor: pointer; box-shadow: 0 12px 28px -14px rgba(30, 120, 236, 1); transition: transform .15s; }
.b-submit:hover { transform: translateY(-1px); }
.b-submit[disabled] { cursor: progress; }
.b-submit__fiber { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--p-orange); transform: scaleX(0); transform-origin: left; }
.b-submit[data-busy="true"] .b-submit__fiber { animation: p-fiber 1s ease-in-out infinite; }
@keyframes p-fiber { 0% { transform: scaleX(0); transform-origin: left; } 50% { transform: scaleX(1); transform-origin: left; } 51% { transform-origin: right; } 100% { transform: scaleX(0); transform-origin: right; } }
.rf-form--done { align-content: start; gap: 0.8rem; }
.rf-form__done-title { font-family: var(--p-display); font-weight: 800; font-size: 1.6rem; color: var(--p-navy); }
.rf-form__done-body { color: var(--p-ink-soft); }
.rf-form__again { justify-self: start; background: none; border: 0; padding: 0.5rem 0; font: inherit; font-weight: 700; color: var(--p-blue); text-decoration: underline; cursor: pointer; }

/* Footer */
.p-footer { position: relative; overflow: hidden; background: var(--p-navy); color: var(--p-on-navy-soft); padding-top: 3.5rem; }
.p-footer__waves { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 220px; fill: none; stroke-width: 2; opacity: 0.8; pointer-events: none; }
.p-footer__waves path:nth-child(1) { stroke: rgba(95, 168, 255, 0.55); }
.p-footer__waves path:nth-child(2) { stroke: rgba(30, 120, 236, 0.45); }
.p-footer__waves path:nth-child(3) { stroke: rgba(255, 122, 26, 0.35); }
.p-footer__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, .8fr) minmax(0, 1.1fr); gap: 2rem; }
.p-footer__grid img { display: block; width: 210px; height: auto; }
.p-footer__grid p { margin-top: 1rem; max-width: 40ch; }
.p-footer nav { display: grid; align-content: start; gap: 0.4rem; }
.p-footer nav a { text-decoration: none; color: var(--p-on-navy); font-weight: 600; }
.p-footer nav a:hover { color: var(--p-blue-2); }
.p-footer__head { margin-bottom: 0.4rem !important; font-weight: 800; font-size: 0.8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--p-blue-2); }
.p-footer__copy { position: relative; padding-block: 2.5rem 2rem; font-size: 0.85rem; }
.rf-fallback { min-height: 100dvh; display: grid; place-content: center; gap: 1rem; padding-inline: 1.25rem; background: var(--p-sky); color: var(--p-ink); }

@media (max-width: 1023px) {
  .p-kompetenz__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .p-cards { grid-template-columns: minmax(0, 1fr); }
  .hx { flex-direction: column; height: auto; gap: 0.5rem; }
  .hx__panel { flex: none; }
  .hx__btn { height: auto; }
  .hx__rail { position: static; width: auto; flex-direction: row; justify-content: flex-start; gap: 0.9rem; padding: 0.9rem 1rem; }
  .hx__panel[data-open="true"] .hx__rail { background: none; }
  .hx__title { writing-mode: horizontal-tb; transform: none; }
  .hx__img { position: relative; inset: auto; display: block; height: 0; transition: height .45s cubic-bezier(.32,.72,0,1), opacity .3s; }
  .hx__panel[data-open="true"] .hx__img { height: min(60vw, 420px); }
  .hx__meta, .hx__panel[data-open="true"] .hx__meta { left: 1rem; bottom: 4.4rem; }
  .hx__panel:not([data-open="true"]) .hx__meta { display: none; }
  .p-route { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .p-route::before { top: 0; bottom: 0; left: 0.6rem; right: auto; width: 3px; height: auto; background: linear-gradient(180deg, var(--p-orange), var(--p-blue-2) 40%, var(--p-blue)); }
  .p-route li { padding: 0 0 1.6rem 2.6rem; }
  .p-route li::before { top: 0.1rem; }
  .p-who { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 860px) {
  .p-header__nav { display: none; }
  .b-navcta { margin-left: auto; }
  .p-card { grid-template-columns: minmax(0, 1fr); }
  .p-contact, .p-footer__grid { grid-template-columns: minmax(0, 1fr); }
  .sj__chapter, .sj__chapter[data-align="right"] { align-items: flex-end; justify-content: flex-start; padding: 5.5rem var(--p-gutter) calc(5.5rem + env(safe-area-inset-bottom)); }
  .sj__copy { width: 100%; padding: 1.2rem 1.2rem 1.4rem; }
  .sj__title { font-size: clamp(1.5rem, 6.6vw, 2.3rem); }
}
@media (max-width: 560px) {
  .p-kompetenz__list { grid-template-columns: minmax(0, 1fr); }
  .rf-form__row { grid-template-columns: minmax(0, 1fr); }
  .b-navcta { padding: 0 0.9rem; font-size: 0.85rem; }
  .p-header__logo img { width: 128px; }
}
@media (prefers-reduced-motion: reduce) {
  .sj__img, .hx__panel, .hx__img, .hx__meta, .p-card, .b-navcta, .b-herocta, .b-submit { transition: none; transform: none; }
  .b-submit[data-busy="true"] .b-submit__fiber { animation: none; transform: scaleX(1); }
}


/* roast fixes 2026-10-09 */
.p-hero__h, .p-hero__sub { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }
@media (min-width: 861px) {
  .hx__panel:not([data-open="true"]) .hx__img { opacity: .55 !important; }
  .hx__panel:not([data-open="true"]) .hx__btn::after { content:""; position:absolute; inset:0; z-index:1; background: linear-gradient(180deg, rgba(10,26,48,.7) 0%, rgba(10,26,48,.25) 35%, rgba(10,26,48,.25) 60%, rgba(10,26,48,.85) 100%); pointer-events:none; }
  .hx__panel:not([data-open="true"]) .hx__btn:hover .hx__img { opacity: .8 !important; }
}
@media (max-width: 560px) {
  .p-hero { padding-inline: 0; padding-top: 1.5rem; }
  .p-hero__h, .p-hero__sub { position: static; width:auto; height:auto; overflow:visible; clip:auto; white-space:normal; padding-inline: var(--p-gutter); color:#fff; }
  .p-hero__h { font-family: var(--p-display); font-weight: 800; font-size: clamp(1.9rem, 8.4vw, 2.4rem); line-height: 1.08; letter-spacing: -0.01em; }
  .p-hero__sub { margin: .6rem 0 1.25rem; color: var(--p-on-navy-soft); font-size: 1.02rem; }
  .p-hero__poster { border-radius: 0; box-shadow: none; }
  .p-hero__ctas { padding-inline: var(--p-gutter); }
  .sj__route { top: calc(4.4rem + env(safe-area-inset-top)); bottom: auto; left: 0; right: 0; padding-inline: var(--p-gutter); flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .sj__route::-webkit-scrollbar { display: none; }
  .sj__route-btn { flex: none; }
  .sj__chapter, .sj__chapter[data-align="right"] { padding-bottom: calc(1.5rem + env(safe-area-inset-bottom)); }
  .p-footer nav a { display: flex; align-items: center; min-height: 44px; }
  .p-footer nav { gap: 0; }
}
@media (min-width: 561px) and (max-width: 1023px) { .p-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.p-footer nav a[href^="mailto"] { overflow-wrap: anywhere; }
/* Rechtliches */
.p-legal { background: var(--p-sky); padding: clamp(2.5rem, 6vw, 5rem) var(--p-gutter) clamp(3rem, 7vw, 6rem); }
.p-legal__inner { max-width: 760px; margin: 0 auto; background: #fff; border-radius: var(--p-r); padding: clamp(1.5rem, 4vw, 3rem); box-shadow: 0 20px 50px -30px rgba(10,26,48,.35); color: var(--p-navy); }
.p-legal h1 { font-family: var(--p-display); font-weight: 800; font-size: clamp(2rem, 5vw, 2.8rem); line-height: 1.1; margin-bottom: 1.5rem; }
.p-legal h2 { font-family: var(--p-display); font-weight: 700; font-size: 1.2rem; margin: 2rem 0 .6rem; }
.p-legal p, .p-legal li { line-height: 1.65; margin-bottom: .6rem; }
.p-legal ul { padding-left: 1.2rem; }
.p-legal a { color: var(--p-blue); overflow-wrap: anywhere; }
.p-legal .todo { background: #fff3c4; padding: 0 .25em; border-radius: 4px; }
/* KI-Kennzeichnung (AI Act Art. 50) */
.p-card__img, .p-contact__photo, .hx__img { position: relative; }
.hx__img { overflow: hidden; }
.ai-tag { position: absolute; right: .6rem; bottom: .6rem; z-index: 3; padding: .2rem .55rem; border-radius: 999px; background: rgba(10,26,48,.78); color: #fff; font: 600 .7rem/1.4 var(--p-body, Manrope, sans-serif); letter-spacing: .02em; pointer-events: none; white-space: nowrap; }
.sj__stage > .ai-tag { bottom: auto; top: calc(4.6rem + env(safe-area-inset-top)); right: var(--p-gutter); }
.hx__panel:not([data-open="true"]) .ai-tag { display: none; }
@media (max-width: 560px) { .sj__stage > .ai-tag { top: calc(7.6rem + env(safe-area-inset-top)); } }
.rf-privacy { margin: 0; font-size: .85rem; color: var(--p-muted, #5b6b80); }
.rf-privacy a { color: var(--p-blue); }
