@font-face {
  font-family: "Schibsted Grotesk";
  font-style: normal;
  font-display: swap;
  font-weight: 400 900;
  src: url("/fonts/schibsted-grotesk-latin-wght-normal.woff2") format("woff2-variations");
}

:root {
  --paper: #F2F1EC;
  --ink: #121212;
  --ink-2: #55544F;
  --rule: #D3D1C8;
  --grid: rgba(18, 18, 18, 0.07);
  --green: #0B5D4B;
  --placeholder: #E3E1D9;
  --plate: #0B5D4B;
  --plate-line: rgba(242, 241, 236, .12);

  --wrap: 90rem;
  --pad: clamp(1.25rem, 3.5vw, 3rem);
  --gap: clamp(1rem, 2vw, 2rem);
  --cols: 4;
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: light;
}
/* Dunkel: tiefes Grün statt Schwarz. Folgt dem System, außer der Besucher hat umgeschaltet */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #12271F;
    --ink: #EEF1EA;
    --ink-2: #A9BAB1;
    --rule: #2B453B;
    --grid: rgba(238, 241, 234, 0.07);
    --green: #9FE3C4;
    --placeholder: #1A3329;
    --plate: #2A5244;
    --plate-line: rgba(238, 241, 234, .1);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
    --paper: #12271F;
    --ink: #EEF1EA;
    --ink-2: #A9BAB1;
    --rule: #2B453B;
    --grid: rgba(238, 241, 234, 0.07);
    --green: #9FE3C4;
    --placeholder: #1A3329;
    --plate: #2A5244;
    --plate-line: rgba(238, 241, 234, .1);
    color-scheme: dark;
}
@media (min-width: 52rem) { :root { --cols: 12; } }

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
  scrollbar-color: var(--ink-2) var(--paper);
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: "Schibsted Grotesk", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--green); color: var(--paper); }

/* Sprachumschaltung: nur die aktive Sprache ist sichtbar */
html[lang="de"] body [lang="en"],
html[lang="en"] body [lang="de"] { display: none !important; }

a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 4px; border-radius: 1px; }

.skip {
  position: absolute; left: -999px; top: 0.75rem; z-index: 50;
  background: var(--ink); color: var(--paper); padding: 0.5rem 0.9rem;
}
.skip:focus { left: 0.75rem; }

/* Raster */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad);
}
.grid {
  display: grid;
  grid-template-columns: repeat(var(--cols), minmax(0, 1fr));
  column-gap: var(--gap);
}
.grid-lines {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.grid-lines .grid { height: 100%; }
.grid-lines span {
  border-left: 1px solid var(--grid);
  height: 100%;
  transform-origin: top;
}
.grid-lines span:last-child { border-right: 1px solid var(--grid); }
.grid-lines span:nth-child(n + 5) { display: none; }
.grid-lines span:nth-child(4) { border-right: 1px solid var(--grid); }
@media (min-width: 52rem) { .grid-lines span:nth-child(4) { border-right: 0; } }
@media (min-width: 52rem) { .grid-lines span:nth-child(n + 5) { display: block; } }

/* Fortschrittslinie */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; background: var(--green); transform-origin: left; transform: scaleX(0); z-index: 40; pointer-events: none; }

/* Kopfzeile */
.top {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--paper);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease);
}
.top.is-scrolled { border-bottom-color: var(--rule); }
.top .grid { align-items: center; height: 4.25rem; }
.mark {
  grid-column: 1 / span 2;
  font-weight: 620;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.nav { display: none; }
@media (min-width: 64rem) {
  .nav {
    display: flex;
    gap: 1.75rem;
    grid-column: 5 / span 6;
    font-size: 0.9375rem;
  }
  .nav a { color: var(--ink-2); transition: color .2s; }
  .nav a:hover { color: var(--ink); }
  .nav a[aria-current] { color: var(--ink); text-decoration: underline; text-decoration-color: var(--green); text-decoration-thickness: 2px; text-underline-offset: 0.5em; }
}
.lang {
  grid-column: -3 / -1;
  align-items: center;
  justify-self: end;
  display: flex;
  font-size: 0.875rem;
  letter-spacing: 0.02em;
}
@media (max-width: 51.99rem) { .lang { grid-column: 3 / -1; } }
.lang button {
  font: inherit;
  color: var(--ink-2);
  background: none;
  border: 0;
  padding: 0.4rem 0.45rem;
  cursor: pointer;
  transition: color .2s;
}
.lang button:hover { color: var(--ink); }
.lang .theme-toggle {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  margin-left: 0.5rem;
  color: var(--ink-2);
  background: none;
  border: 1px solid var(--rule);
  border-radius: 50%;
  cursor: pointer;
  transition: color .2s, border-color .2s;
}
.lang .theme-toggle:hover { color: var(--ink); border-color: var(--ink-2); }
.lang .theme-toggle svg { width: 1.125rem; height: 1.125rem; grid-area: 1 / 1; transition: transform .5s var(--ease), opacity .3s; }
.lang .theme-toggle .moon { opacity: 0; transform: rotate(-60deg) scale(.6); }
:root[data-mode="dark"] .lang .theme-toggle .sun { opacity: 0; transform: rotate(60deg) scale(.6); }
:root[data-mode="dark"] .lang .theme-toggle .moon { opacity: 1; transform: none; }
.lang button[aria-pressed="true"] { color: var(--green); font-weight: 620; }

/* Menü auf kleinen Bildschirmen */
.lang .menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-left: 0.4rem;
  padding: 0.4rem 0.6rem;
  color: var(--ink);
  font-weight: 620;
  border: 1px solid var(--rule);
  border-radius: 99px;
}
.menu-toggle svg { width: 1rem; height: 1rem; stroke: currentColor; stroke-width: 1.6; }
.menu-toggle path { transition: transform .35s var(--ease); transform-origin: center; }
.menu-toggle[aria-expanded="true"] .mt-a { transform: translateY(3px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .mt-b { transform: translateY(-3px) rotate(-45deg); }
@media (min-width: 64rem) { .lang .menu-toggle { display: none; } }
@media (max-width: 30rem) { .menu-toggle > span { display: none; } }
.mnav {
  position: fixed;
  inset: 4.25rem 0 0 0;
  z-index: 19;
  background: var(--paper);
  border-top: 1px solid var(--rule);
  overflow-y: auto;
}
.mnav .wrap { display: grid; padding-block: 1.5rem 3rem; }
.mnav a {
  font-size: clamp(2rem, 9vw, 3rem);
  font-weight: 620;
  letter-spacing: -0.035em;
  line-height: 1.1;
  padding-block: 0.65rem;
  border-bottom: 1px solid var(--rule);
}
.mnav a:hover { color: var(--green); }
@media (min-width: 64rem) { .mnav { display: none !important; } }

/* Einstieg */
.hero { padding-block: clamp(2.5rem, 7vh, 5.5rem) clamp(4rem, 10vh, 7.5rem); }
.hero .grid { row-gap: 1.75rem; }
@media (min-width: 52rem) { .hero .grid { row-gap: 2.25rem; } }
.name {
  grid-column: 1 / -1;
  font-size: clamp(3.5rem, 10.5vw, 9rem);
  font-weight: 620;
  letter-spacing: -0.045em;
  line-height: 0.86;
  margin-left: -0.05em;
}
.name > span { display: block; }
@media (min-width: 52rem) { .name { grid-column: 1 / span 8; grid-row: 1; align-self: start; } }

.portrait {
  grid-column: 1 / span 2;
  grid-row: 3;
  position: relative;
  aspect-ratio: 3 / 4;
  background: var(--placeholder);
  overflow: hidden;
}
@media (min-width: 52rem) {
  .portrait {
    grid-column: 9 / span 4;
    grid-row: 1 / span 3;
    align-self: start;
    margin-top: 0.6rem;
  }
}
/* Porträt mit Tiefe: freigestelltes Motiv ragt aus einer Rasterfläche */
.portrait { background: none; overflow: visible; perspective: 1100px; }
.pd-card { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateY(-8deg) rotateX(4deg); }
.pd-plate {
  position: absolute;
  inset: 17% 0 0 0;
  background-color: var(--plate);
  background-image: linear-gradient(to right, var(--plate-line) 1px, transparent 1px);
  background-size: 25% 100%;
  background-position: -1px 0;
}
.pd-shadow, .pd-subject {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 0;
}
.pd-shadow { filter: brightness(0) blur(14px); opacity: .22; transform: translate3d(-7%, 3%, 0); }
.pd-subject { filter: grayscale(1) contrast(1.05); transform: translateZ(60px) scale(.945); transition: filter .7s var(--ease); }
.portrait:hover .pd-subject, .portrait.is-color .pd-subject { filter: grayscale(0) contrast(1); }

.lead {
  grid-column: 1 / -1;
  grid-row: 2;
  max-width: 30ch;
  font-size: clamp(1.375rem, 2.3vw, 2rem);
  line-height: 1.22;
  letter-spacing: -0.02em;
  font-weight: 400;
  text-wrap: balance;
}
@media (min-width: 52rem) { .lead { grid-column: 1 / span 7; grid-row: 2; } }

.facts {
  grid-column: 3 / -1;
  grid-row: 3;
  align-self: start;
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--ink);
  font-size: 0.875rem;
}
@media (min-width: 52rem) {
  .facts {
    grid-column: 1 / span 8;
    grid-row: 3;
    align-self: end;
    grid-template-columns: subgrid;
    font-size: 0.9375rem;
  }
  .facts > div:nth-child(1) { grid-column: 1 / span 3; }
  .facts > div:nth-child(2) { grid-column: 4 / span 2; }
  .facts > div:nth-child(3) { grid-column: 6 / span 3; }
}
.facts > div { padding-top: 0.75rem; padding-bottom: 0.25rem; }
.facts dt { color: var(--ink-2); font-size: 0.8125rem; }
.facts dd { font-weight: 620; overflow-wrap: anywhere; }
.facts a { color: var(--green); }
.facts a:hover { text-decoration: underline; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }

/* Abschnitte */
.section { padding-block: clamp(4rem, 9vw, 7.5rem); }
.section .grid { row-gap: 2.5rem; }
.h2 {
  grid-column: 1 / -1;
  font-size: clamp(2.25rem, 4.6vw, 4rem);
  font-weight: 620;
  letter-spacing: -0.035em;
  line-height: 0.98;
}
@media (min-width: 52rem) { .h2 { grid-column: 1 / span 4; } }
.h2-wide { grid-column: 1 / -1 !important; }

h3 {
  font-size: 1.25rem;
  font-weight: 620;
  letter-spacing: -0.015em;
  line-height: 1.2;
  text-wrap: balance;
}
.rule { display: block; height: 1px; background: var(--rule); transform-origin: left; }
.rule-ink { background: var(--ink); }

/* Kompetenzfelder: drei Spalten auf Linien */
.fields {
  grid-column: 1 / -1;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem var(--gap);
}
@media (min-width: 40rem) { .fields { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64rem) { .fields { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 4rem; } }
.fields li { display: grid; grid-template-columns: 2.5rem minmax(0, 1fr); align-content: start; }
.fields .rule { grid-column: 1 / -1; margin-bottom: 1.1rem; }
.fields li > div { display: contents; }
.fields h3 { grid-column: 2; }
.fields p { grid-column: 1 / -1; }
.fields .n {
  color: var(--green);
  font-weight: 620;
  font-size: 1.25rem;
  line-height: 1.2;
  letter-spacing: -0.015em;
  font-variant-numeric: tabular-nums;
}
.fields p { margin-top: 0.65rem; color: var(--ink-2); max-width: 38ch; }

/* Was ich mache: Bereiche zum Anklicken */
.wm { grid-column: 1 / -1; display: grid; gap: 2rem var(--gap); }
@media (min-width: 64rem) { .wm { grid-template-columns: repeat(12, minmax(0, 1fr)); } .wm-list { grid-column: 1 / span 5; } .wm-panels { grid-column: 7 / -1; } }
.wm-list { list-style: none; border-top: 1px solid var(--ink); align-self: start; }
.wm-list button {
  width: 100%; display: flex; gap: 1rem; align-items: baseline; text-align: left;
  font: inherit; font-size: clamp(1.125rem, 1.6vw, 1.3125rem); font-weight: 620; letter-spacing: -0.015em;
  color: var(--ink-2); background: none; border: 0; border-bottom: 1px solid var(--rule);
  padding: 1rem 0; cursor: pointer; position: relative; transition: color .25s;
}
.wm-list button:hover { color: var(--ink); }
.wm-list button[aria-selected="true"] { color: var(--ink); }
.wm-list button[aria-selected="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--green); }
.wm-list .q { min-width: 1.6rem; font-size: 0.875rem; font-weight: 400; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.wm-list button[aria-selected="true"] .q { color: var(--green); font-weight: 620; }
.wm-panel { display: grid; gap: 1.25rem; align-content: start; }
.wm-text { font-size: clamp(1.125rem, 1.5vw, 1.3125rem); line-height: 1.4; letter-spacing: -0.01em; max-width: 42ch; }
.wm-tools { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; color: var(--ink-2); font-size: 0.875rem; }
.wm-tools span { display: inline-flex; align-items: center; gap: 0.4rem; }
.wm-tools svg { width: 1rem; height: 1rem; }
.wm-vis { position: relative; height: 16rem; background: var(--placeholder); overflow: hidden; font-size: 0.8125rem; }
.wm-vis svg { width: 1rem; height: 1rem; flex: none; }
.wm-card { background: var(--paper); border-radius: 10px; box-shadow: 0 8px 20px -14px rgba(0, 0, 0, .45); }
/* Service */
.sv-in, .sv-out span { display: flex; align-items: center; gap: 0.45rem; padding: 0.5rem 0.65rem; background: var(--paper); border-radius: 10px; box-shadow: 0 8px 20px -14px rgba(0, 0, 0, .45); white-space: nowrap; }
.sv-in { position: absolute; left: 5%; top: 50%; transform: translateY(-50%); }
.sv-out { position: absolute; right: 5%; top: 50%; transform: translateY(-50%); display: grid; gap: 0.6rem; }
.sv-core { position: absolute; left: 50%; top: 50%; width: 34%; transform: translate(-50%, -50%); background: var(--paper); border-radius: 10px; padding: 0.7rem 0.75rem; box-shadow: 0 8px 20px -14px rgba(0, 0, 0, .45); display: grid; gap: 0.4rem; }
.sv-head { display: flex; align-items: center; gap: 0.4rem; font-weight: 620; }
.sv-core i { display: block; height: 0.4rem; border-radius: 3px; background: var(--rule); }
.sv-ok { justify-self: start; font-size: 0.75rem; font-weight: 620; color: var(--paper); background: var(--green); border-radius: 99px; padding: 0.1rem 0.5rem; }
.sv-pkt { position: absolute; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--green); opacity: 0; }
/* Formular */
.fm-card { position: absolute; left: 5%; top: 10%; width: 40%; background: var(--paper); border-radius: 10px; padding: 0.75rem; box-shadow: 0 8px 20px -14px rgba(0, 0, 0, .45); }
.fm-l { font-size: 0.75rem; color: var(--ink-2); margin-top: 0.35rem; }
.fm-f { border: 1px solid var(--rule); border-radius: 6px; padding: 0.3rem 0.45rem; }
.fm-f span { display: block; }
.fm-btn { display: inline-block; margin-top: 0.6rem; font-size: 0.75rem; font-weight: 620; color: var(--paper); background: var(--green); border-radius: 6px; padding: 0.3rem 0.6rem; }
.fm-table { position: absolute; right: 5%; bottom: 12%; width: 47%; background: var(--paper); border-radius: 10px; padding: 0.5rem 0.65rem; box-shadow: 0 8px 20px -14px rgba(0, 0, 0, .45); }
.fm-table p { display: grid; grid-template-columns: 1.4fr 1fr 0.7fr; gap: 0.4rem; padding: 0.3rem 0.2rem; border-bottom: 1px solid var(--rule); }
.fm-table p:last-child { border-bottom: 0; }
.fm-th { font-size: 0.75rem; color: var(--ink-2); }
.fm-new { background: color-mix(in srgb, var(--green) 14%, transparent); border-radius: 4px; }
/* KI */
.ai-bubble { position: absolute; left: 6%; top: 10%; max-width: 70%; background: var(--paper); border-radius: 12px 12px 12px 4px; padding: 0.55rem 0.75rem; box-shadow: 0 8px 20px -14px rgba(0, 0, 0, .45); }
.ai-bubble small { display: block; font-size: 0.75rem; color: var(--ink-2); }
.ai-bubble mark { background: none; color: inherit; text-decoration: underline; text-decoration-color: var(--green); text-decoration-thickness: 2px; text-underline-offset: 0.2em; }
.ai-chip { position: absolute; left: 50%; top: 46%; transform: translateX(-50%); font-size: 0.75rem; font-weight: 620; color: var(--green); border: 1px solid var(--green); border-radius: 99px; padding: 0.2rem 0.65rem; white-space: nowrap; }
.ai-cal { position: absolute; left: 6%; right: 6%; bottom: 8%; background: var(--paper); border-radius: 10px; padding: 0.4rem 0.7rem; box-shadow: 0 8px 20px -14px rgba(0, 0, 0, .45); }
.ai-cal p { display: grid; grid-template-columns: 2.8rem 1fr; gap: 0.5rem; align-items: center; padding: 0.25rem 0; color: var(--ink-2); border-top: 1px solid var(--rule); }
.ai-cal p:first-child { border-top: 0; }
.ai-cal i { display: block; height: 1.3rem; border-radius: 5px; font-style: normal; }
.ai-cal .hit i { background: var(--green); color: var(--paper); font-size: 0.75rem; font-weight: 620; padding: 0 0.5rem; display: flex; align-items: center; transform-origin: left; }
/* KI oder Code: zwei Spuren */
.lanes { position: absolute; inset: 0; display: grid; grid-template-columns: minmax(0, 1.5fr) auto minmax(0, 1fr); align-content: center; align-items: center; gap: 1rem 0.75rem; padding: 1rem 5%; }
.lane { display: contents; }
.ln-by { justify-self: center; }
.ln-in, .ln-out { background: var(--paper); border-radius: 10px; padding: 0.55rem 0.7rem; box-shadow: 0 8px 20px -14px rgba(0, 0, 0, .45); line-height: 1.3; }
.ln-in small { display: block; font-size: 0.75rem; color: var(--ink-2); }
.ln-out { font-weight: 620; }
.ln-by { position: relative; display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.75rem; font-weight: 620; border-radius: 99px; padding: 0.25rem 0.6rem; white-space: nowrap; }
.ln-by svg { width: 0.75rem !important; height: 0.75rem !important; }
.ln-ai { color: var(--paper); background: var(--green); }
.ln-code { color: var(--ink); border: 1px solid var(--ink-2); }
.ln-code code { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 0.75rem; font-weight: 400; color: var(--ink-2); }
@media (max-width: 30rem) {
  .lanes { grid-template-columns: 1fr; }
  .lane { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 0.75rem; }
  .ln-in { grid-column: 1 / -1; }
  .ln-by { justify-self: start; }
}

/* Daten an einem Ort */
.hb-lg { position: absolute; width: 2.75rem; height: 2.75rem; border-radius: 10px; background: var(--paper); display: grid; place-items: center; box-shadow: 0 8px 20px -14px rgba(0, 0, 0, .45); }
.hb-lg svg { width: 1.25rem !important; height: 1.25rem !important; }
.hb-core { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: grid; justify-items: center; gap: 0.35rem; width: 7.5rem; padding: 0.8rem 0.5rem; border-radius: 14px; background: var(--green); color: var(--paper); font-weight: 620; text-align: center; }
.hb-core svg { width: 1.4rem !important; height: 1.4rem !important; }
/* Überwachung */
.al { position: absolute; left: 7%; right: 7%; display: flex; gap: 0.55rem; align-items: center; background: var(--paper); border-radius: 10px; padding: 0.55rem 0.75rem; box-shadow: 0 8px 20px -14px rgba(0, 0, 0, .45); }
.al:nth-child(1) { top: 12%; } .al:nth-child(2) { top: 40%; } .al:nth-child(3) { top: 68%; }
.al b { width: 0.6rem; height: 0.6rem; border-radius: 50%; background: var(--green); flex: none; }
.al-warn b { background: #C4552F; }
@media (max-width: 30rem) {
  .wm-vis { height: 20rem; }
  .sv-core { width: 42%; }
  .fm-card { width: 52%; } .fm-table { width: 58%; bottom: 6%; }
}

/* Was ich mache: Vorher → Nachher */
.ba-list { grid-column: 1 / -1; list-style: none; border-top: 1px solid var(--ink); }
.ba-head { display: none; }
.ba { display: grid; gap: 0.35rem var(--gap); padding-block: 1.35rem 1.4rem; border-bottom: 1px solid var(--rule); }
.ba-topic { display: flex; gap: 0.75rem; align-items: baseline; color: var(--ink-2); font-size: 0.9375rem; }
.ba-topic .n { color: var(--green); font-weight: 620; font-variant-numeric: tabular-nums; }
.ba-label { display: block; font-size: 0.75rem; color: var(--ink-2); margin-bottom: 0.15rem; }
.ba-before .ba-text { color: var(--ink-2); text-decoration: line-through; text-decoration-thickness: 1.5px; text-decoration-color: var(--ink-2); transition: text-decoration-color .6s var(--ease); }
.ba.is-pending .ba-before .ba-text { text-decoration-color: transparent; }
.ba-after .ba-text { display: block; font-size: clamp(1.125rem, 1.6vw, 1.3125rem); font-weight: 620; letter-spacing: -0.015em; line-height: 1.3; }
.ba-arrow { width: 1.5rem; height: 1.5rem; color: var(--green); transform: rotate(90deg); }
.ba-more { grid-column: 1 / -1; font-size: 0.9375rem; }
.ba-more summary { cursor: pointer; width: max-content; color: var(--green); font-weight: 620; list-style: none; }
.ba-more summary::-webkit-details-marker { display: none; }
.ba-more summary::after { content: " +"; }
.ba-more[open] summary::after { content: " –"; }
.ba-more p { color: var(--ink-2); max-width: 62ch; margin-top: 0.5rem; }
@media (min-width: 52rem) {
  .ba-head, .ba { grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: baseline; }
  .ba-head { display: grid; column-gap: var(--gap); padding-block: 0.6rem; font-size: 0.8125rem; color: var(--ink-2); border-bottom: 1px solid var(--rule); }
  .ba-head > :nth-child(1), .ba-topic { grid-column: 1 / span 3; }
  .ba-head > :nth-child(2), .ba-before { grid-column: 4 / span 4; }
  .ba-head > :nth-child(3), .ba-arrow { grid-column: 8 / span 1; justify-self: center; align-self: center; }
  .ba-head > :nth-child(4), .ba-after { grid-column: 9 / -1; }
  .ba-arrow { transform: none; }
  .ba-label { display: none; }
  .ba-more { grid-column: 4 / -1; }
}

/* Wie ich arbeite: Ablauf als Zeitstrahl */
.process-wrap { grid-column: 1 / -1; position: relative; }
.process { list-style: none; display: grid; gap: 2.25rem; padding-left: 2.25rem; }
.process-line { position: absolute; left: 0.45rem; top: 0.5rem; bottom: 0.5rem; width: 2px; background: var(--rule); }
.process-line i { position: absolute; inset: 0; background: var(--green); transform-origin: top; }
.step { position: relative; }
.step-dot { position: absolute; left: calc(-2.25rem + 0.45rem - 0.45rem + 1px); top: 0.3rem; width: 0.9rem; height: 0.9rem; border-radius: 50%; background: var(--paper); border: 2px solid var(--rule); transition: background .4s, border-color .4s; }
.step.is-on .step-dot { background: var(--green); border-color: var(--green); }
.step-n { display: block; color: var(--green); font-weight: 620; font-variant-numeric: tabular-nums; font-size: 0.9375rem; }
.step h3 { font-size: clamp(1.375rem, 2.2vw, 1.75rem); letter-spacing: -0.025em; margin-top: 0.35rem; }
.step p { color: var(--ink-2); margin-top: 0.5rem; max-width: 34ch; }
.step .step-out { color: var(--ink); font-size: 0.9375rem; margin-top: 0.85rem; padding-top: 0.6rem; border-top: 1px solid var(--rule); }
.step-out b { font-weight: 620; }
@media (min-width: 64rem) {
  .process { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--gap); padding-left: 0; padding-top: 2.25rem; }
  .process-line { left: 0; right: 0; top: 0.45rem; bottom: auto; width: auto; height: 2px; }
  .process-line i { transform-origin: left; }
  .step-dot { left: 0; top: -2.25rem; }
}

/* Arbeitsweise: Zeilen mit großer Überschrift */
.principles { grid-column: 1 / -1; list-style: none; }
@media (min-width: 52rem) { .principles { grid-column: 5 / -1; } }
.principles li { padding-block: 1.75rem 2rem; }
.principles li:first-child { padding-top: 0; }
.principles .row { display: grid; gap: 0.6rem var(--gap); }
@media (min-width: 40rem) { .principles .row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.principles h3 { font-size: clamp(1.375rem, 2.2vw, 1.75rem); letter-spacing: -0.025em; }
.principles p { color: var(--ink-2); max-width: 40ch; }
.principles .rule { margin-bottom: 1.25rem; }
.principles li:first-child .rule { display: none; }
@media (min-width: 52rem) { .sticky { position: sticky; top: 6.5rem; align-self: start; } }

/* Werkzeuge */
.stack { grid-column: 1 / -1; }
.stack-row { display: grid; gap: 0.9rem var(--gap); padding-block: 1.35rem; }
@media (min-width: 52rem) { .stack-row { grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: start; } }
.stack-row dt { color: var(--ink-2); font-size: 0.9375rem; line-height: 1.375rem; }
@media (min-width: 52rem) { .stack-row dt { grid-column: 1 / span 4; } .stack-row dd { grid-column: 5 / -1; } }
.tools { display: flex; flex-wrap: wrap; gap: 0.85rem 2.25rem; list-style: none; }
.tool {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 620;
  font-size: 1.0625rem;
  line-height: 1.375rem;
  color: var(--ink);
}
.tool svg {
  width: 1.375rem;
  height: 1.375rem;
  flex: none;
  color: var(--ink-2);
  transition: color .35s var(--ease), transform .35s var(--ease);
}
.tool:hover svg, .tool.flash svg { color: var(--brand, var(--ink)); --c1: var(--b1); --c2: var(--b2); --c3: var(--b3); --c4: var(--b4); }
.tool:hover svg { transform: translateY(-1px); }
.tool .basics { color: var(--ink-2); font-weight: 400; font-size: 0.9375rem; }
/* Fast schwarze Markenfarben übernehmen die Tintenfarbe, damit sie im Dunkelmodus sichtbar bleiben */
.tool[data-dark] svg { --brand: var(--ink); }

/* Werdegang */
.cv { grid-column: 1 / -1; list-style: none; }
.cv li { position: relative; }
.cv .entry { display: grid; gap: 0.25rem var(--gap); padding-block: 1.35rem 1.5rem; }
@media (min-width: 52rem) {
  .cv .entry { grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: baseline; }
  .cv .when { grid-column: 1 / span 4; }
  .cv .what { grid-column: 5 / span 4; }
  .cv .where { grid-column: 9 / -1; }
}
.cv .when { font-weight: 620; font-size: 1.1875rem; letter-spacing: -0.015em; font-variant-numeric: tabular-nums; }
.cv .what { font-weight: 620; font-size: 1.1875rem; letter-spacing: -0.015em; }
.cv .where { color: var(--ink-2); }
.cv .note { color: var(--ink-2); max-width: 62ch; margin-top: 0.35rem; }
@media (min-width: 52rem) { .cv .note { grid-column: 5 / -1; } }
.cv-sub { grid-column: 1 / -1; margin-top: 2.5rem; font-size: 0.9375rem; color: var(--ink-2); }

/* Kontakt */
.contact .grid { row-gap: 2rem; }
.mail-wrap { grid-column: 1 / -1; justify-self: start; }
.mail {
  display: inline-block;
  position: relative;
  font-size: clamp(2rem, 7vw, 6.25rem);
  font-weight: 620;
  letter-spacing: -0.045em;
  line-height: 1;
  overflow-wrap: anywhere;
  padding-bottom: 0.08em;
  transition: color .3s;
}
.mail::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 0.06em;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .6s var(--ease);
}
.mail:hover { color: var(--green); }
.mail:hover::after { transform: scaleX(1); }
.mail-hint { margin-top: 0.6rem; font-size: 0.875rem; color: var(--ink-2); min-height: 1.4em; }
.mail-hint .mh-done { display: none; color: var(--green); font-weight: 620; }
.mail-wrap.is-copied .mh-idle { display: none; }
.mail-wrap.is-copied .mh-done { display: inline; }
.contact-links { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 0.75rem 2.5rem; list-style: none; }
.contact-intro { grid-column: 1 / -1; color: var(--ink-2); max-width: 42ch; font-size: 1.125rem; }
.arrow-link { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 620; font-size: 1.125rem; }
.arrow-link svg { width: 1.25rem; height: 1.25rem; color: var(--ink-2); transition: transform .4s var(--ease), color .3s; }
.arrow-link:hover { color: var(--green); }
.arrow-link:hover svg { color: var(--green); transform: translate(2px, -2px); }

/* Fußzeile */
.foot { padding-block: 2rem 2.5rem; font-size: 0.875rem; color: var(--ink-2); }
.foot .grid { row-gap: 0.75rem; }
.foot .rule { grid-column: 1 / -1; margin-bottom: 1rem; }
.foot span { grid-column: 1 / span 2; }
.foot nav { grid-column: 3 / -1; justify-self: end; display: flex; gap: 1.5rem; }
@media (min-width: 52rem) { .foot span { grid-column: 1 / span 4; } .foot nav { grid-column: 5 / -1; justify-self: start; } }
.foot a:hover { color: var(--ink); }
.to-top { display: inline-flex; align-items: center; gap: 0.35rem; }
.to-top svg { width: 0.95rem; height: 0.95rem; transition: transform .3s var(--ease); }
.to-top:hover svg { transform: translateY(-2px); }

/* Rechtstexte */
.legal { padding-block: clamp(3rem, 8vh, 5rem) clamp(4rem, 10vh, 6rem); }
.legal .body { max-width: 44rem; }
.legal h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 620;
  letter-spacing: -0.04em;
  line-height: 0.95;
  margin-bottom: 2.5rem;
  hyphens: auto;
}
.legal h2 { font-size: 1.1875rem; font-weight: 620; margin: 2.5rem 0 0.6rem; }
.legal p, .legal address { font-style: normal; color: var(--ink-2); }
.legal p + p { margin-top: 0.75rem; }
.legal a { color: var(--green); text-decoration: underline; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
.back { grid-column: 3 / -1; justify-self: end; color: var(--ink-2); font-size: 0.9375rem !important; font-weight: 400 !important; }
.back:hover svg { transform: translateX(-2px); }
.back:hover { color: var(--ink); }

/* Ladezustand der Einstiegsanimation (nur mit JS und ohne reduzierte Bewegung) */
html.intro .name,
html.intro .lead,
html.intro .facts,
html.intro .portrait { visibility: hidden; }

/* ---------- Eigene Projekte ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.ptabs { grid-column: 1 / -1; display: flex; gap: clamp(1.5rem, 5vw, 4rem); margin-top: 1rem; border-bottom: 1px solid var(--rule); }
.ptabs button {
  font: inherit;
  font-size: clamp(1.75rem, 3.4vw, 3rem);
  font-weight: 620;
  letter-spacing: -0.035em;
  line-height: 1;
  color: var(--ink-2);
  background: none;
  border: 0;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  padding: 0 0 1rem;
  cursor: pointer;
  text-align: left;
  transition: color .25s, border-color .25s;
}
.ptabs button:hover { color: var(--ink); }
.ptabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--green); }
.ptab-kind { display: block; margin-top: 0.55rem; font-size: 0.875rem; font-weight: 400; letter-spacing: 0; color: var(--ink-2); }
.ptabs + .project, .project[role="tabpanel"] { border-top: 0; margin-top: 2rem; padding-top: 0; }

@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("/fonts/fraunces-latin-wght-normal.woff2") format("woff2-variations");
}
@font-face {
  font-family: "Fraunces";
  font-style: italic;
  font-display: swap;
  font-weight: 100 900;
  src: url("/fonts/fraunces-latin-wght-italic.woff2") format("woff2-variations");
}

.projects-intro { grid-column: 1 / -1; color: var(--ink-2); font-size: 1.125rem; max-width: 52ch; }
.project {
  grid-column: 1 / -1;
  display: grid;
  gap: 1.75rem var(--gap);
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--ink);
}
@media (min-width: 64rem) {
  .project { grid-template-columns: subgrid; grid-template-rows: auto 1fr; }
  .project-info { grid-column: 1 / span 4; grid-row: 1 / span 2; }
  .stage { grid-column: 5 / -1; grid-row: 1; }
  .stage-note { grid-column: 5 / -1; grid-row: 2; align-self: start; margin-top: -1rem; }
}
.project-name { font-size: clamp(2rem, 3.4vw, 3rem); font-weight: 620; letter-spacing: -0.035em; line-height: 1; }
.project-kind { color: var(--ink-2); font-size: 0.9375rem; margin-top: 0.6rem; }
.project-text { color: var(--ink-2); margin-top: 1.25rem; max-width: 46ch; }
.steps { list-style: none; margin-top: 1.75rem; }
.steps button {
  display: flex;
  align-items: baseline;
  gap: 0.9rem;
  width: 100%;
  padding: 0.7rem 0;
  font: inherit;
  text-align: left;
  color: var(--ink-2);
  background: none;
  border: 0;
  border-top: 1px solid var(--rule);
  cursor: pointer;
  transition: color .25s;
}
.steps li:last-child button { border-bottom: 1px solid var(--rule); }
.steps button:hover { color: var(--ink); }
.steps .sn { font-variant-numeric: tabular-nums; min-width: 1rem; }
.steps button[aria-current="step"] { color: var(--ink); font-weight: 620; }
.steps button[aria-current="step"] .sn { color: var(--green); }
.project-stack { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; margin-top: 1.5rem; font-size: 0.875rem; color: var(--ink-2); }
.project-stack li { display: inline-flex; align-items: center; gap: 0.4rem; }
.project-stack svg { width: 1rem; height: 1rem; }
.stage-note { font-size: 0.8125rem; color: var(--ink-2); }

.stage { position: relative; background: var(--placeholder); overflow: hidden; align-self: start; }
.cp-field .type { display: block; }

/* Smak: eigene Optik der App (Kobalt, Creme, Senf) */
.stage-smak {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 15.5rem;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: center;
  padding: clamp(1.25rem, 3vw, 2.5rem);
}
.src { display: grid; gap: 1rem; align-content: center; }
.yt, .transcript { background: var(--paper); border: 1px solid var(--rule); padding: 0.75rem; }
.yt-thumb { position: relative; aspect-ratio: 16 / 9; background: #1E3A8A; display: grid; place-items: center; overflow: hidden; }
.yt-pot { width: 52%; }
.yt-play { position: absolute; left: 0.6rem; top: 0.55rem; width: 1.6rem; height: 1.6rem; color: #FF0000; }
.yt-time { position: absolute; right: 0.5rem; bottom: 0.45rem; background: rgba(8, 10, 18, .85); color: #fff; font-size: 0.6875rem; padding: 0.1rem 0.35rem; }
.yt-title { font-weight: 620; font-size: 0.9375rem; line-height: 1.3; margin-top: 0.6rem; }
.yt-meta { color: var(--ink-2); font-size: 0.8125rem; margin-top: 0.2rem; }
.transcript { font-size: 0.8125rem; }
.tr-label { color: var(--ink-2); font-size: 0.75rem; margin-bottom: 0.35rem; }
.tr-line { color: var(--ink-2); line-height: 1.5; }
.tr-line mark { background: none; color: var(--ink); font-weight: 620; text-decoration: underline; text-decoration-color: rgba(226, 167, 46, .5); text-decoration-thickness: 0.5em; text-underline-offset: -0.3em; text-decoration-skip-ink: none; }

.phone {
  position: relative;
  width: 15.5rem;
  aspect-ratio: 9 / 18.5;
  justify-self: center;
  background: #F5EFE3;
  border: 7px solid #10131C;
  border-radius: 2.25rem;
  overflow: hidden;
  color: #18203A;
  font-size: 0.8125rem;
  line-height: 1.35;
}
.screen { position: absolute; inset: 0; padding: 1.4rem 1rem 1rem; }
.screen + .screen { visibility: hidden; }
.phone i { font-style: italic; font-weight: 400; color: #4A66AC; }
.sm-h { font-family: "Fraunces", Georgia, serif; font-weight: 700; font-size: 1.15rem; color: #132658; line-height: 1.1; margin-bottom: 0.8rem; }
.sm-h.big { font-size: 1.45rem; }
.sm-row, .sm-res { display: grid; grid-template-columns: 2.4rem minmax(0, 1fr); gap: 0.65rem; align-items: center; padding: 0.55rem 0; border-bottom: 1px solid #EADFCB; }
.sm-thumb, .sm-sq { width: 2.4rem; height: 2.4rem; border-radius: 0.45rem; background: #1E3A8A; }
.sm-thumb.t2 { background: #B4472A; } .sm-thumb.t3 { background: #4F6E3C; }
.sm-row-text, .sm-res > span:last-child { display: grid; gap: 0.1rem; }
.sm-row b, .sm-res b { font-weight: 620; font-size: 0.78rem; }
.sm-status { display: flex; align-items: center; gap: 0.35rem; font-size: 0.7rem; color: #5C5F75; }
.sm-spin { width: 0.7rem; height: 0.7rem; border-radius: 50%; border: 2px solid #E2A72E; border-right-color: transparent; }
.st-done { display: none; color: #3F5A30; font-weight: 620; }
.sm-band {
  height: 38%;
  display: grid;
  place-items: center;
  background-color: #1E3A8A;
  background-image: radial-gradient(#E2A72E 1.4px, transparent 1.6px), radial-gradient(#7E9BD6 1.2px, transparent 1.4px);
  background-size: 22px 22px, 22px 22px;
  background-position: 0 0, 11px 11px;
  margin: -1.4rem -1rem 0;
}
.sm-plate { width: 7.4rem; height: 7.4rem; border-radius: 50%; background: #F5EFE3; border: 5px dotted #1E3A8A; display: grid; place-items: center; }
.sm-plate span { width: 5.3rem; height: 5.3rem; border-radius: 50%; background: #5B2A22; box-shadow: inset 0 0 0 4px #7A3A2C; }
.sm-body { padding-top: 0.8rem; }
.sm-title { font-family: "Fraunces", Georgia, serif; font-weight: 700; font-size: 1.3rem; color: #132658; line-height: 1.1; }
.sm-meta { color: #5C5F75; font-size: 0.72rem; margin-top: 0.2rem; }
.sm-sub { font-family: "Fraunces", Georgia, serif; font-weight: 700; color: #132658; margin-top: 0.65rem; font-size: 0.85rem; }
.sm-ing, .sm-steps { list-style: none; font-size: 0.74rem; }
.sm-ing li { padding: 0.18rem 0; border-bottom: 1px dotted #D9CDB4; }
.sm-steps { counter-reset: s; }
.sm-steps li { counter-increment: s; padding: 0.15rem 0; }
.sm-steps li::before { content: counter(s) ". "; color: #4A66AC; font-weight: 620; }
.sm-fridge {
  border-radius: 0.9rem;
  padding: 0.65rem 0.7rem 0.75rem;
  background-color: #1E3A8A;
  background-image: radial-gradient(#E2A72E 1.3px, transparent 1.5px);
  background-size: 20px 20px;
}
.sm-fridge p { color: #C9D6F0; font-size: 0.68rem; font-weight: 620; margin-bottom: 0.4rem; }
.sm-chip { display: inline-flex; align-items: center; gap: 0.35rem; background: #F5EFE3; border-radius: 99px; padding: 0.25rem 0.6rem; font-size: 0.72rem; font-weight: 620; margin: 0 0.25rem 0.25rem 0; }
.dot { width: 0.65rem; height: 0.65rem; border-radius: 50%; }
.dot.carrot { background: #E8812A; } .dot.pasta { background: #EAD9A0; }
.sm-count { display: flex; justify-content: space-between; align-items: baseline; margin: 0.8rem 0 0.2rem; font-size: 0.7rem; color: #5C5F75; }
.sm-count b { font-family: "Fraunces", Georgia, serif; font-size: 0.85rem; color: #132658; }
.sm-sq.c1 { background: #E2A72E; } .sm-sq.c2 { background: #6E8F55; } .sm-sq.c3 { background: #C4552F; }
.sm-ok { font-size: 0.68rem; color: #3F5A30; }
.sm-miss { font-size: 0.68rem; color: #5C5F75; }
.sm-miss b { font-size: inherit !important; color: #18203A; }

/* ClipPilot: Optik der echten Mac-App (hell, Blau, Karten) */
.stage-clip { padding: clamp(1.25rem, 3vw, 2.5rem); }
.cp-app {
  display: grid;
  grid-template-columns: 9.5rem minmax(0, 1fr);
  min-height: 27rem;
  background: #F4F6FB;
  border-radius: 0.9rem;
  overflow: hidden;
  color: #111827;
  font-size: 0.8125rem;
  line-height: 1.4;
  box-shadow: 0 18px 40px -24px rgba(15, 23, 42, .45);
}
.cp-side { display: flex; flex-direction: column; gap: 1rem; padding: 0.9rem 0.7rem; background: #E9EEF8; }
.cp-logo { display: flex; align-items: center; gap: 0.5rem; font-weight: 620; }
.cp-mark { width: 1.5rem; height: 1.5rem; border-radius: 0.4rem; background: #2563EB; display: grid; place-items: center; }
.cp-mark svg { width: 1rem; height: 1rem; }
.cp-nav { list-style: none; display: grid; gap: 0.15rem; color: #374151; }
.cp-nav li { padding: 0.35rem 0.5rem; border-radius: 0.45rem; }
.cp-nav li.on { background: #fff; color: #111827; font-weight: 620; }
.cp-conn { margin-top: auto; background: #fff; border-radius: 0.6rem; padding: 0.55rem 0.6rem; display: grid; gap: 0.2rem; font-size: 0.6875rem; color: #374151; }
.cp-conn p { font-size: 0.625rem; font-weight: 620; letter-spacing: .04em; color: #6B7280; }
.cp-conn i { display: inline-block; width: 0.4rem; height: 0.4rem; border-radius: 50%; background: #22C55E; margin-right: 0.4rem; }
.cp-main { display: grid; grid-template-rows: auto 1fr; padding: 0.9rem; gap: 0.75rem; min-width: 0; }
.cp-track { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0.35rem; font-size: 0.625rem; color: #6B7280; }
.cp-track span { position: relative; padding-top: 0.55rem; }
.cp-track span::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: #D7DEEA; }
.cp-track span[data-on="1"] { color: #1D4ED8; font-weight: 620; }
.cp-track span[data-on="1"]::before { background: #2563EB; }
.cp-views { position: relative; min-height: 21rem; }
.view { position: absolute; inset: 0; }
.view + .view { visibility: hidden; }
.cp-card { background: #fff; border-radius: 0.8rem; padding: 0.9rem; box-shadow: 0 1px 2px rgba(15, 23, 42, .06); }
.cp-card-h { font-weight: 620; margin-bottom: 0.6rem; }
.cp-dim { display: block; color: #6B7280; font-size: 0.6875rem; font-weight: 400; }
.cp-card-h .cp-dim { display: inline; margin-left: 0.4rem; }
.cp-drop { border: 1.5px dashed #BFCBE0; text-align: center; padding: 1.1rem 0.9rem; }
.cp-drop-t { font-weight: 620; color: #374151; }
.cp-file { display: inline-flex; align-items: center; gap: 0.55rem; margin-top: 0.7rem; background: #F4F6FB; border-radius: 0.6rem; padding: 0.45rem 0.6rem; text-align: left; }
.cp-file-ic { width: 1.4rem; height: 1.7rem; border-radius: 0.3rem; background: #2F55B8; flex: none; }
.cp-file b { display: block; font-weight: 620; }
.cp-label { color: #4B5563; font-size: 0.6875rem; margin: 0.8rem 0 0.3rem; }
.cp-label.first { margin-top: 0; }
.cp-client { display: flex; align-items: center; gap: 0.55rem; background: #EEF3FF; border: 1.5px solid #2563EB; border-radius: 0.6rem; padding: 0.5rem 0.6rem; font-weight: 620; }
.cp-av { width: 1.5rem; height: 1.5rem; border-radius: 0.4rem; background: #2563EB; color: #fff; font-size: 0.6rem; display: grid; place-items: center; }
.cp-check { margin-left: auto; width: 0.9rem; height: 0.9rem; border-radius: 50%; background: #2563EB; box-shadow: inset 0 0 0 3px #EEF3FF; }
.cp-btn { margin-top: 0.8rem; background: #2563EB; color: #fff; font-weight: 620; text-align: center; border-radius: 0.6rem; padding: 0.55rem; }
.cp-line { margin-bottom: 0.45rem; }
.cp-ts { color: #6B7280; font-size: 0.6875rem; margin-right: 0.6rem; font-variant-numeric: tabular-nums; }
.cp-field { border: 1.5px solid #D7DEEA; border-radius: 0.55rem; padding: 0.45rem 0.55rem; }
.cp-title { border-color: #2563EB; font-weight: 620; }
.cp-field .type { display: block; }
.cp-descs { position: relative; min-height: 4.4rem; color: #374151; }
.cp-descs p { position: absolute; inset: 0.45rem 0.55rem; }
.cp-descs .d2 { visibility: hidden; }
.cp-fix { display: flex; gap: 0.4rem; }
.cp-fix-in { flex: 1; border: 1.5px solid #D7DEEA; border-radius: 0.55rem; padding: 0.4rem 0.55rem; color: #374151; }
.cp-fix-btn { border: 1.5px solid #D7DEEA; border-radius: 0.55rem; padding: 0.4rem 0.6rem; font-weight: 620; background: #fff; }
.cp-thumb { position: relative; width: min(100%, 26rem); aspect-ratio: 16 / 9; overflow: hidden; border-radius: 0.5rem; container-type: inline-size; }
.th-bg { position: absolute; inset: 0; width: 100%; height: 100%; }
.th-face { position: absolute; right: 3cqw; bottom: 0; height: 82%; }
.th-hook { position: absolute; left: 6cqw; top: 20cqw; color: #F2C14E; font-size: 10.5cqw; font-weight: 620; letter-spacing: -0.03em; line-height: 1; }
.th-brand { position: absolute; left: 6cqw; bottom: 6cqw; background: #fff; color: #1F3B5C; font-size: 2.8cqw; font-weight: 620; letter-spacing: .12em; padding: 1cqw 2cqw; }
.cp-layers { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-top: 0.7rem; }
.cp-layers span { border: 1.5px solid #D7DEEA; border-radius: 99px; padding: 0.2rem 0.6rem; color: #6B7280; font-size: 0.6875rem; }
.cp-layers span[data-on="1"] { border-color: #2563EB; background: #EEF3FF; color: #1D4ED8; font-weight: 620; }
.cp-row { display: flex; align-items: center; gap: 0.55rem; padding: 0.6rem 0; border-bottom: 1px solid #EEF1F6; }
.cp-row svg { width: 1.1rem; height: 1.1rem; flex: none; color: #374151; }
.cp-row .cp-ok { margin-left: auto; color: #16A34A; font-weight: 620; }
.cp-plan { flex-wrap: wrap; border-bottom: 0; font-weight: 620; }
.cp-plats { display: flex; gap: 0.5rem; margin-left: auto; }
.cp-plats svg { width: 1.15rem; height: 1.15rem; }

@media (max-width: 47.99rem) {
  .stage-smak { grid-template-columns: 1fr; }
  .src { grid-template-columns: 1fr; }
  .cp-app { grid-template-columns: 1fr; min-height: 0; }
  .cp-side { display: none; }
  .cp-fix { flex-direction: column; }
  .cp-views { min-height: 22rem; }
}
