/* ============================================================
   DBO digitals — sub-page layout patterns
   Reuses the tokens + primitives from dbo.css / dbo-sections.css.
   Loaded by every page except the homepage (which has its own hero).
   ============================================================ */

/* ---- active nav link ------------------------------------- */
.nav__link.is-active { color: var(--fg); }
.nav__link.is-active::after { transform: scaleX(1); }

/* ---- PAGE HERO ------------------------------------------- */
.phero { padding-top: clamp(8rem, 13vw, 11.5rem); padding-bottom: clamp(2.4rem, 5vw, 4rem); position: relative; }
@media (max-width: 640px){ .phero { padding-top: clamp(6.75rem, 22vw, 8rem); padding-bottom: clamp(1.8rem, 4vw, 2.6rem); } }
.phero__eyebrow { margin-bottom: 1.6rem; }
.phero h1 { max-width: 20ch; margin-bottom: 1.7rem; }
.phero__lede { max-width: 44rem; }
.phero__meta { display: flex; flex-wrap: wrap; gap: .55em 1.3em; align-items: center; margin-top: 2.2rem;
  font-family: var(--mono); font-size: .62rem; letter-spacing: .15em; text-transform: uppercase; color: var(--fg-muted); }
.phero__meta .dot { width: 4px; height: 4px; background: var(--accent); border-radius: 50%; display: inline-block; }

/* ---- editorial body flow --------------------------------- */
.bodyflow { max-width: 41rem; display: flex; flex-direction: column; gap: 1.2rem; }
.bodyflow p { color: var(--fg-muted); font-size: 1.05rem; line-height: 1.72; }
.bodyflow p.is-lead { color: var(--fg); font-size: clamp(1.1rem, 1.5vw, 1.32rem); line-height: 1.6; }
.bodyflow em { font-style: italic; color: var(--accent); }

/* ---- large statement ------------------------------------- */
.statement { border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline);
  padding-block: clamp(2.6rem, 6vw, 5rem); }
.statement p { font-family: var(--serif); font-weight: 600; font-size: clamp(1.5rem, 3.6vw, 2.7rem);
  line-height: 1.16; letter-spacing: -0.022em; max-width: 26ch; text-wrap: balance; }
.statement em { font-style: italic; color: var(--accent); }
/* pull-quote variant: oversized quote mark + attribution */
.statement--quote { position: relative; border-top: none; border-bottom: none; padding-block: clamp(2rem,5vw,4rem); padding-left: clamp(2.4rem,6vw,5.5rem); }
.statement--quote::before { content: "\201C"; position: absolute; left: -0.06em; top: 0.14em;
  font-family: var(--serif); font-weight: 600; font-size: clamp(6rem, 14vw, 12rem); line-height: 1;
  color: var(--accent); opacity: 0.22; pointer-events: none; }
.statement--quote p { max-width: 30ch; }
.statement__cite { margin-top: clamp(1.4rem, 3vw, 2rem); font-family: var(--mono);
  font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg-muted); }
/* statement with a body-text aside to the right of the quote */
.statement--aside { display:grid; grid-template-columns: 1fr 0.82fr; gap: clamp(1.8rem,4.5vw,4.5rem); align-items:end; }
.statement--aside > p:first-child { max-width:none; }
.statement p.statement__note { font-family:var(--sans); font-weight:400; font-size:1rem; line-height:1.72; letter-spacing:normal; color:var(--fg-muted); max-width:38rem; }
@media (max-width:820px){ .statement--aside { grid-template-columns:1fr; gap:1.3rem; align-items:start; } }
/* statement with a trailing link aligned to its bottom-right */
.statement--withlink { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:flex-end; gap:1.4rem 3rem; }
.statement--withlink p { margin:0; }
.statement--withlink .link-underline { flex:none; white-space:nowrap; padding-bottom:.4rem; }
@media (max-width:620px){ .statement--withlink .link-underline { padding-bottom:0; } }

/* ---- Crew / Charaktere (horizontale Galerie) ------------- */
.crewgal { position: relative; margin-top: clamp(2.4rem, 5vw, 3.6rem); padding-inline: 60px; }
.crewgal__btn { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 46px; height: 46px; border: 1px solid var(--hairline); background: var(--bg); color: var(--fg);
  display: grid; place-items: center; cursor: pointer; font-size: 1.1rem; line-height: 1; border-radius: 0;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease); }
.crewgal__btn--prev { left: 0; }
.crewgal__btn--next { right: 0; }
.crewgal__btn:hover { background: var(--accent); border-color: var(--accent); color: var(--bg); }
.crewgal__btn:disabled { opacity: .3; cursor: default; }
.crewgal__btn:disabled:hover { background: var(--bg); color: var(--fg); border-color: var(--hairline); }
.crew { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  border-top: 1px solid var(--hairline); border-left: 1px solid var(--hairline);
  scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.crew::-webkit-scrollbar { display: none; }
.crewcard { flex: 0 0 25%; min-width: 240px; scroll-snap-align: start; margin: 0;
  padding: clamp(1rem, 1.6vw, 1.5rem); border-right: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline);
  transition: background .4s var(--ease); }
.crewcard:hover { background: var(--surface); }
.crewcard__frame { border: 1px solid var(--hairline); overflow: hidden; aspect-ratio: 3 / 4; background: color-mix(in oklab, var(--fg) 6%, transparent); }
.crewcard__frame img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 16%;
  filter: grayscale(1) contrast(1.03) brightness(.98); transition: filter .6s var(--ease), transform .6s var(--ease); }
.crewcard:hover .crewcard__frame img { filter: grayscale(0) contrast(1) brightness(1); transform: scale(1.035); }
.crewcard__role { font-family: var(--mono); font-size: .6rem; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin: 1.05rem 0 .5rem; }
.crewcard__name { font-family: var(--serif); font-weight: 600; font-size: clamp(1.1rem, 1.5vw, 1.32rem); letter-spacing: -0.012em; line-height: 1.12; margin-bottom: .55rem; }
.crewcard p { color: var(--fg-muted); font-size: .9rem; line-height: 1.55; }
@media (max-width: 1080px){ .crewcard { flex-basis: 33.333%; } }
@media (max-width: 760px){ .crewcard { flex-basis: 50%; } }
@media (max-width: 640px){
  .crewgal { padding-inline: 0; padding-top: 64px; }
  .crewgal__btn { top: 0; transform: none; }
  .crewgal__btn--prev { left: 50%; margin-left: -50px; }
  .crewgal__btn--next { right: 50%; margin-right: -50px; }
}
@media (max-width: 540px){ .crewcard { flex-basis: 82%; min-width: 0; } }

/* ---- Wirkungsnetz simulation inset ----------------------- */
.netviz { margin: clamp(2.4rem, 5vw, 3.6rem) auto 0; max-width: 58rem; border: 1px solid var(--hairline); background: var(--surface); overflow: hidden; }
.netviz__bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .85rem 1.15rem; border-bottom: 1px solid var(--hairline); }
.netviz__bar .sim__tag { color: var(--fg-muted); }
.netviz__ident { font-family: var(--mono); font-size: .6rem; letter-spacing: .16em; text-transform: uppercase; color: var(--fg-muted); }
.netviz img { display: block; width: 100%; height: auto; }
/* graded sim sits calm in the dark band; full-colour original crossfades in on hover */
.netviz__media { position: relative; }
.netviz__img--hover { position: absolute; inset: 0; height: 100%; opacity: 0; transition: opacity .6s var(--ease); }
.netviz:hover .netviz__img--hover { opacity: 1; }
@media (hover: none){ .netviz__img--hover { display: none; } }
.netviz__cap { padding: .9rem 1.15rem; border-top: 1px solid var(--hairline);
  font-family: var(--mono); font-size: .62rem; line-height: 1.5; letter-spacing: .04em; text-transform: uppercase; color: var(--fg-muted); }
@media (max-width: 620px){ .netviz__ident { display: none; } }

/* ---- NeXtGen module cards -------------------------------- */
.modules { border-top: 1px solid var(--hairline); margin-inline: calc(-1 * clamp(1rem, 2.2vw, 2rem)); }
.module { display: grid; grid-template-columns: auto 1fr; gap: clamp(1.4rem, 4vw, 4rem);
  padding: clamp(2rem, 4vw, 3.4rem) clamp(1rem, 2.2vw, 2rem); border-bottom: 1px solid var(--hairline); transition: background .4s var(--ease); }
.module:hover { background: var(--surface); }
.module__lead { display: flex; flex-direction: column; gap: 1.1rem; width: clamp(140px, 19vw, 232px); }
.module__idx { font-family: var(--serif); font-style: italic; font-weight: 600; font-size: clamp(1.9rem, 4vw, 3.2rem); color: var(--accent); line-height: .9; }
.module__cover { margin: 0; border: 1px solid var(--hairline); background: var(--surface); overflow: hidden; }
.module__cover img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; transition: transform .6s var(--ease); }
.module:hover .module__cover img { transform: scale(1.03); }
.module__num { font-family: var(--mono); font-size: .64rem; letter-spacing: .16em; text-transform: uppercase; color: var(--fg-muted); margin-bottom: .9rem; }
.module h3 { font-family: var(--serif); font-weight: 600; font-size: clamp(1.45rem, 2.8vw, 2.2rem); letter-spacing: -0.018em; line-height: 1.08; margin-bottom: .8rem; }
.module__role { color: var(--fg); font-size: 1.06rem; line-height: 1.55; margin-bottom: 1rem; }
.module__role b { font-weight: 600; }
.module p { color: var(--fg-muted); max-width: 48rem; line-height: 1.68; margin-bottom: 1.1rem; }
.module__out { font-size: 1.02rem; color: var(--fg); }
.module__out b { color: var(--accent); font-weight: 600; }
.module__meta { display: flex; flex-wrap: wrap; gap: .5em 1.1em; align-items: center; margin-top: 1.3rem;
  font-family: var(--mono); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-muted); }
.module__meta .dot { width: 4px; height: 4px; background: var(--accent); border-radius: 50%; display: inline-block; }
@media (max-width: 720px){ .module { grid-template-columns: 1fr; gap: 1.3rem; }
  .module__lead { flex-direction: row; align-items: center; gap: 1.1rem; width: 100%; }
  .module__cover { width: clamp(130px, 38vw, 180px); flex: none; }
  .module__idx { font-size: 2.4rem; } }

/* ---- 14 Future Skills grid ------------------------------- */
.skills { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--hairline); border-left: 1px solid var(--hairline); }
.skill { padding: clamp(1.3rem, 2.4vw, 1.9rem); border-right: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); transition: background .4s var(--ease); }
.skill:hover { background: var(--surface); }
.skill:target { background: var(--surface); box-shadow: inset 3px 0 0 0 var(--accent); }
@media (prefers-reduced-motion: no-preference){ html { scroll-behavior: smooth; } }
.skill__num { font-family: var(--mono); font-size: .6rem; letter-spacing: .16em; color: var(--accent); }
.skill h4 { font-family: var(--serif); font-weight: 600; font-size: 1.16rem; letter-spacing: -0.01em; line-height: 1.16; margin: .55rem 0 .55rem; overflow-wrap: break-word; }
.skill p { color: var(--fg-muted); font-size: .9rem; line-height: 1.5; }
@media (max-width: 860px){ .skills { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px){ .skills { grid-template-columns: 1fr; } }

/* ---- cycle / flow ---------------------------------------- */
.flow { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; text-align: center; gap: .7rem 1rem; }
.flow__step { font-family: var(--serif); font-weight: 600; font-size: clamp(1.1rem, 2.1vw, 1.8rem); letter-spacing: -0.012em;
  color: var(--fg-muted); transition: color .5s var(--ease); }
.flow__step.is-end { font-style: italic; }
.flow__step.is-active { color: var(--accent); }
.flow__arrow { color: color-mix(in oklab, var(--accent) 45%, transparent); font-size: 1.1rem; transition: color .5s var(--ease); }
.flow__arrow.is-active { color: var(--accent); }
/* motion disabled: show the whole cycle at rest, fully in accent */
body.no-motion .flow__step,
body.no-motion .flow__arrow { color: var(--accent); }
@media (prefers-reduced-motion: reduce){ .flow__step, .flow__arrow { color: var(--accent); } }

/* ---- numbered steps -------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--hairline); border-left: 1px solid var(--hairline); }
.steps.is-5 { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.steps.is-3 { grid-template-columns: repeat(3, 1fr); }
.step { padding: clamp(1.6rem, 3vw, 2.4rem); border-right: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); transition: background .4s var(--ease); }
.step:hover { background: var(--surface); }
.step__n { font-family: var(--serif); font-style: italic; font-weight: 600; font-size: clamp(1.8rem, 3vw, 2.6rem); color: var(--accent); line-height: 1; margin-bottom: 1rem; }
.step__t { font-family: var(--mono); font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; color: var(--fg-muted); margin-bottom: .8rem; }
.step h4 { font-family: var(--serif); font-weight: 600; font-size: 1.18rem; letter-spacing: -0.01em; line-height: 1.15; margin-bottom: .6rem; }
.step p { color: var(--fg-muted); font-size: .96rem; line-height: 1.6; }
@media (max-width: 900px){ .steps, .steps.is-5, .steps.is-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px){ .steps, .steps.is-5, .steps.is-3 { grid-template-columns: 1fr; } }

/* ---- 3-col card grid modifier (reuses .mcell) ------------ */
.mgrid.cols-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px){ .mgrid.cols-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px){ .mgrid.cols-3 { grid-template-columns: 1fr; } }

/* ---- 4-col card grid modifier (reuses .mcell) ------------ */
.mgrid.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1040px){ .mgrid.cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px){ .mgrid.cols-4 { grid-template-columns: 1fr; } }

/* ---- accent-highlighted cell (e.g. the DBO row in a compare) */
.mcell--accent { background: var(--accent-soft); }
.mcell--accent:hover { background: var(--accent-soft); }
.mcell--accent .mcell__name { color: var(--accent); }
.licrow { display: flex; align-items: center; justify-content: space-between; gap: clamp(1.3rem, 3vw, 2.8rem); height: 100%; }
.licrow__txt { max-width: 52ch; }
.licrow__txt p { color: var(--fg); }
.licrow .btn { flex: none; }
@media (max-width: 680px){ .licrow { flex-direction: column; align-items: flex-start; gap: 1.4rem; } }
.mcell__name { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg); margin-bottom: 1.1rem; }

/* ---- Leistungen detail block ----------------------------- */
.svcblock { border-top: 1px solid var(--hairline); padding-block: clamp(2.6rem, 5vw, 4.4rem); }
.svcblock:last-of-type { border-bottom: 1px solid var(--hairline); }
.svcblock__head { display: flex; align-items: flex-end; gap: clamp(1rem, 3vw, 2.4rem); margin-bottom: clamp(1.8rem, 3.5vw, 2.8rem); }
.svcblock__head > div:last-child { flex: 1; }
.svcblock__num { font-family: var(--serif); font-style: italic; font-weight: 600; font-size: clamp(2.4rem, 5.5vw, 4.2rem); color: var(--accent); line-height: .78; flex: none; }
.svcblock__tag { font-family: var(--mono); font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin-bottom: 1rem; }
.svcblock h3 { font-family: var(--serif); font-weight: 600; font-size: clamp(1.7rem, 3.4vw, 2.7rem); letter-spacing: -0.022em; line-height: 1.04; }
.svcblock__sub { color: var(--fg-muted); font-size: .95rem; line-height: 1.55; }
.svcblock__cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.6rem, 4vw, 3.4rem); }
.pl { margin-bottom: 1.8rem; }
.pl:last-child { margin-bottom: 0; }
.lbl-mono { font-family: var(--mono); font-size: .6rem; letter-spacing: .18em; text-transform: uppercase; color: var(--fg-muted); margin-bottom: .7rem; }
.pl p { color: var(--fg); font-size: 1.04rem; line-height: 1.62; max-width: 34rem; }
.nutzen ul { display: flex; flex-direction: column; }
.nutzen li { display: flex; gap: .8em; align-items: flex-start; color: var(--fg-muted); font-size: 1rem; line-height: 1.5;
  padding: .75rem 0; border-bottom: 1px solid color-mix(in oklab, var(--fg) 9%, transparent); }
.nutzen li:last-child { border-bottom: none; }
.nutzen li::before { content: "→"; color: var(--accent); flex: none; }
.svcblock__forline { margin-top: 1.6rem; font-size: .96rem; color: var(--fg-muted); line-height: 1.55; }
.svcblock__forline b { color: var(--fg); font-weight: 600; }
@media (max-width: 820px){ .svcblock__head { flex-direction: column; align-items: flex-start; gap: .7rem; } .svcblock__num { font-size: clamp(2rem, 9vw, 2.8rem); } .svcblock__cols { grid-template-columns: 1fr; } }

/* ---- Anwendungsfeld block -------------------------------- */
.appfield { border-top: 1px solid var(--hairline); padding-block: clamp(2.4rem, 5vw, 4rem);
  display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(1.4rem, 4vw, 4rem); }
.appfield:last-of-type { border-bottom: 1px solid var(--hairline); }
.appfield__num { font-family: var(--serif); font-style: italic; font-weight: 600; font-size: clamp(2.4rem, 5vw, 4rem); color: var(--accent); line-height: .85; }
.appfield__name { font-family: var(--serif); font-weight: 600; font-size: clamp(1.3rem, 2.2vw, 1.7rem); letter-spacing: -0.015em; line-height: 1.12; margin-top: 1.1rem; max-width: 16ch; }
.appfield h3 { font-family: var(--serif); font-weight: 600; font-size: clamp(1.25rem, 2.2vw, 1.7rem); letter-spacing: -0.012em; line-height: 1.2; margin-bottom: 1.2rem; color: var(--accent); }
.appfield > div > p { color: var(--fg-muted); max-width: 40rem; line-height: 1.7; margin-bottom: 1.6rem; }
.appfield ul { display: grid; }
.appfield li { display: flex; gap: .85em; align-items: flex-start; padding: .8rem 0; border-top: 1px solid var(--hairline); font-size: 1rem; line-height: 1.5; }
.appfield li::before { content: "—"; color: var(--accent); flex: none; }
@media (max-width: 760px){ .appfield { grid-template-columns: 1fr; gap: 1.2rem; } .appfield__name { margin-top: .4rem; } }

/* compact application-field grid (Einsatzfelder) */
.appgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--hairline); border: 1px solid var(--hairline); }
.appcard { background: var(--bg); padding: clamp(1.6rem, 3vw, 2.5rem); display: flex; flex-direction: column; gap: 1rem; transition: background .45s var(--ease); }
.appcard:hover { background: var(--surface); }
.appcard__head { display: flex; align-items: baseline; gap: .85rem; }
.appcard__num { font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 1.45rem; color: var(--accent); line-height: 1; flex: none; }
.appcard__name { font-family: var(--mono); font-size: .64rem; letter-spacing: .16em; text-transform: uppercase; color: var(--fg-muted); line-height: 1.4; }
.appcard h3 { font-family: var(--serif); font-weight: 600; font-size: clamp(1.2rem, 1.9vw, 1.55rem); letter-spacing: -0.015em; line-height: 1.14; color: var(--accent); }
.appcard p { color: var(--fg-muted); line-height: 1.6; font-size: .96rem; }
.appcard ul { display: flex; flex-direction: column; gap: .4rem; margin-top: .15rem; }
.appcard li { position: relative; padding-left: 1.1em; color: var(--fg-muted); font-size: .9rem; line-height: 1.45; }
.appcard li::before { content: "—"; position: absolute; left: 0; color: var(--accent); }
@media (max-width: 760px){ .appgrid { grid-template-columns: 1fr; } }

/* ---- Sparring section with laptop preview ---------------- */
.sparring { display: grid; grid-template-columns: 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; margin-top: clamp(1.6rem, 3.5vw, 2.6rem); }
.sparring__text { max-width: 56rem; }
.sparring__visual { perspective: 2200px; }

.laptop { position: relative; width: 100%; max-width: 560px; margin-inline: auto; }
.laptop__shadow { position: absolute; left: 50%; bottom: -26px; transform: translateX(-50%); width: 86%; height: 40px; border-radius: 50%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(0,0,0,.45), rgba(0,0,0,.18) 55%, transparent 72%); filter: blur(7px); opacity: 1; }
.laptop__screen { position: relative; z-index: 2; padding: 9px 9px 11px; border-radius: 7px 7px 2px 2px;
  background: var(--ink-900); border: 1px solid var(--hairline);
  transform-origin: 50% 100%; transform: none; opacity: 1; }
.laptop__cam { position: absolute; top: 3px; left: 50%; transform: translateX(-50%); width: 5px; height: 5px; border-radius: 50%; background: color-mix(in oklab, var(--fg) 28%, transparent); }
.laptop__glass { position: relative; overflow: hidden; border-radius: 2px; aspect-ratio: 16 / 10; background: #f5f1e9; box-shadow: 0 0 0 1px var(--hairline); }
.laptop__glass iframe { position: absolute; top: 0; left: 0; width: 1280px; height: 800px; border: 0; transform-origin: top left; pointer-events: none; }
.laptop__glass::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(118deg, rgba(255,255,255,.10) 0%, rgba(255,255,255,.03) 18%, transparent 36%); mix-blend-mode: screen; }
.laptop__hinge { position: relative; z-index: 3; width: 100%; height: 6px; margin-top: -1px;
  background: var(--ink-800); border-radius: 0 0 2px 2px; }
.laptop__base { position: relative; z-index: 1; width: 106%; margin: 0 -3%; }
.laptop__deck { width: 100%; height: 20px;
  background: linear-gradient(180deg, var(--ink-700) 0%, var(--ink-900) 100%);
  clip-path: polygon(3.4% 0, 96.6% 0, 100% 100%, 0 100%); box-shadow: 0 16px 28px -18px rgba(0,0,0,.6); }
.laptop__notch { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: 13%; height: 6px; border-radius: 0 0 5px 5px;
  background: var(--ink-700); }
.sparring__visual.in .laptop__screen { transform: rotateX(0deg); opacity: 1; }
.sparring__visual.in .laptop__shadow { opacity: 1; }
.sparring__cap { margin-top: 1.6rem; font-family: var(--mono); font-size: .6rem; letter-spacing: .16em; text-transform: uppercase; color: var(--fg-muted); text-align: center; }
@media (prefers-reduced-motion: reduce){ .laptop__screen { transform: none; opacity: 1; transition: none; } .laptop__shadow { opacity: 1; } }
@media (max-width: 900px){ .sparring { grid-template-columns: 1fr; } }

/* ---- tag cloud ------------------------------------------- */
.tagcloud { display: flex; flex-wrap: wrap; gap: .7rem; }
.tagcloud span, .tagcloud a { font-family: var(--mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--fg-muted);
  border: 1px solid var(--hairline); padding: .65em .95em; text-decoration: none; display: inline-block; transition: color .3s var(--ease), border-color .3s var(--ease); }
.tagcloud span:hover, .tagcloud a:hover, .tagcloud a:focus-visible { color: var(--accent); border-color: var(--accent); outline: none; }

/* ---- Kontakt --------------------------------------------- */
.cgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--hairline); border: 1px solid var(--hairline); }
.ccard { background: var(--bg); padding: clamp(1.9rem, 4vw, 3rem); display: flex; flex-direction: column; gap: 1.1rem; min-height: 15rem; transition: background .45s var(--ease); }
.ccard:hover { background: var(--surface); }
.ccard__tag { font-family: var(--mono); font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); }
.ccard h3 { font-family: var(--serif); font-weight: 600; font-size: clamp(1.4rem, 2.4vw, 2rem); letter-spacing: -0.015em; }
.ccard p { color: var(--fg-muted); flex: 1; line-height: 1.6; }
@media (max-width: 720px){ .cgrid { grid-template-columns: 1fr; } }

.cdetails { display: grid; grid-template-columns: repeat(3, 1fr); }
.cdetail { padding: clamp(1.6rem, 3vw, 2.2rem) clamp(1.4rem,2vw,2rem) clamp(1.6rem,3vw,2.2rem) 0; }
.cdetail__lbl { font-family: var(--mono); font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; color: var(--fg-muted); margin-bottom: .8rem; }
.cdetail a, .cdetail__v { font-family: var(--serif); font-size: clamp(1.05rem, 1.6vw, 1.3rem); letter-spacing: -0.01em; line-height: 1.35; color: var(--fg); }
.cdetail a:hover { color: var(--accent); }
@media (max-width: 720px){ .cdetails { grid-template-columns: 1fr; } .cdetail { padding-right: 0; } }

/* ---- prose (legal) --------------------------------------- */
.prose { max-width: 47rem; }
.prose h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(1.25rem, 2.2vw, 1.7rem); letter-spacing: -0.012em; line-height: 1.2; margin: 2.8rem 0 1rem; }
.prose h2:first-child { margin-top: 0; }
.prose h2 .num { color: var(--accent); font-style: italic; margin-right: .5em; }
.prose h3 { font-family: var(--serif); font-weight: 600; font-size: 1.12rem; letter-spacing: -0.008em; margin: 1.8rem 0 .6rem; }
.prose p { color: var(--fg-muted); line-height: 1.72; margin-bottom: 1rem; }
.prose ul { margin: 0 0 1.3rem; display: flex; flex-direction: column; gap: .45rem; }
.prose li { color: var(--fg-muted); padding-left: 1.3em; position: relative; line-height: 1.55; }
.prose li::before { content: "—"; position: absolute; left: 0; color: var(--accent); }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose strong { color: var(--fg); font-weight: 600; }
.prose__meta { font-family: var(--mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-muted); margin-top: 2.6rem; padding-top: 1.4rem; border-top: 1px solid var(--hairline); }

/* ---- Kontaktformular ------------------------------------- */
.kontaktform { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: clamp(2rem, 5vw, 4.5rem);
  border-top: 1px solid var(--hairline); padding-top: clamp(2.2rem, 4.5vw, 3.6rem); align-items: start; }
.kontaktform__aside h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(1.5rem, 2.8vw, 2.2rem);
  letter-spacing: -0.018em; line-height: 1.1; margin-bottom: 1.1rem; }
.kontaktform__aside h2 em { font-style: italic; color: var(--accent); }
.kontaktform__aside > p { color: var(--fg-muted); line-height: 1.7; max-width: 32rem; }
.kontaktform__note { margin-top: clamp(1.8rem, 3.5vw, 2.6rem); padding-top: 1.4rem; border-top: 1px solid var(--hairline);
  display: flex; flex-direction: column; gap: 1.1rem; }
.kontaktform__noterow { display: grid; grid-template-columns: 7.5rem 1fr; gap: 1rem; align-items: baseline; }
.kontaktform__noterow .l { font-family: var(--mono); font-size: .6rem; letter-spacing: .16em; text-transform: uppercase; color: var(--fg-muted); }
.kontaktform__noterow a { font-family: var(--serif); font-size: 1.04rem; letter-spacing: -0.008em; color: var(--fg); }
.kontaktform__noterow a:hover { color: var(--accent); }

.kform { display: flex; flex-direction: column; gap: clamp(1.1rem, 2vw, 1.5rem); }
.kform .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.kform__row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.1rem, 2vw, 1.5rem); }
.kfield { display: flex; flex-direction: column; gap: .55rem; }
.kfield label { font-family: var(--mono); font-size: .6rem; letter-spacing: .18em; text-transform: uppercase; color: var(--fg-muted); }
.kfield input, .kfield select, .kfield textarea {
  font-family: var(--sans); font-size: 1rem; color: var(--fg); line-height: 1.5;
  background: transparent; border: 1px solid var(--hairline); border-radius: 0;
  padding: .85rem 1rem; width: 100%; appearance: none;
  transition: border-color .35s var(--ease), background .35s var(--ease); }
.kfield input::placeholder, .kfield textarea::placeholder { color: color-mix(in oklab, var(--fg-muted) 75%, transparent); }
.kfield input:hover, .kfield select:hover, .kfield textarea:hover { border-color: color-mix(in oklab, var(--fg) 32%, transparent); }
.kfield input:focus, .kfield select:focus, .kfield textarea:focus {
  outline: none; border-color: var(--accent); background: var(--accent-soft); }
.kfield textarea { min-height: 9rem; resize: vertical; }
.kfield select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='%23999' d='M0 0h12L6 8z'/></svg>");
  background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.4rem; cursor: pointer; }
.kform__consent { display: grid; grid-template-columns: auto 1fr; gap: .8rem; align-items: start;
  font-size: .9rem; line-height: 1.55; color: var(--fg-muted); }
.kform__consent input { appearance: none; -webkit-appearance: none; width: 1.15rem; height: 1.15rem; margin-top: .15rem;
  border: 1px solid var(--hairline); border-radius: 0; background: transparent; cursor: pointer; flex: none;
  display: grid; place-content: center; transition: border-color .3s var(--ease), background .3s var(--ease); }
.kform__consent input:hover { border-color: color-mix(in oklab, var(--fg) 32%, transparent); }
.kform__consent input:checked { background: var(--accent); border-color: var(--accent); }
.kform__consent input:checked::after { content: "✓"; color: var(--bg); font-size: .8rem; line-height: 1; }
.kform__consent a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.kform__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem 1.6rem; margin-top: .4rem; }
.kform__status { font-family: var(--mono); font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; color: var(--fg-muted); }
.kform__status.is-error { color: var(--accent); }
.kform__status.is-ok { color: var(--fg); }
.kform.is-sent .kform__field-wrap { opacity: .5; pointer-events: none; }
@media (max-width: 880px){ .kontaktform { grid-template-columns: 1fr; } }
@media (max-width: 540px){ .kform__row { grid-template-columns: 1fr; } }

/* ---- shared CTA helper ----------------------------------- */
.section--narrow { padding-block: clamp(3.5rem, 7vw, 6rem); }
