/* oberprillerarchitekten – Designvorschlag von Skillfleet
   Leitmotiv: die Planaufhängung (Planfahnen an der Schiene, Kennzahlfeld, Rundgang) */

/* ==========================================================================
   Schriften (lokal, keine fremden Server)
   ========================================================================== */
@font-face {
  font-family: "Jost";
  src: url("../fonts/jost-var.woff2") format("woff2");
  font-weight: 300 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Serif 4";
  src: url("../fonts/source-serif-4-var.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Serif 4";
  src: url("../fonts/source-serif-4-var-italic.woff2") format("woff2");
  font-weight: 400 600;
  font-style: italic;
  font-display: swap;
}

/* ==========================================================================
   Tokens
   ========================================================================== */
:root {
  --wall: #EEF0EE;        /* Stellwand */
  --paper: #FBFBF9;       /* Planpapier */
  --ink: #262A29;         /* Graphit */
  --green: #56655F;       /* Haltungsgrün */
  --rail-c: #C9CFCC;      /* Schienengrau */
  --lime: #C8CF3E;        /* Schiebeladen-Gelbgrün, sparsam */

  --text: #262A29;
  --muted: #565F5C;
  --line: #CBD1CE;
  --on-dark: #F1F3F1;
  --on-dark-muted: #AEB7B3;
  --line-dark: #3E4644;
  --err: #9B3B2A;
  --err-dark: #F0B3A3;

  --f-head: "Jost", "Futura", "Century Gothic", system-ui, sans-serif;
  --f-body: "Source Serif 4", "Iowan Old Style", Georgia, serif;

  --wrap: 1280px;
  --gutter: 24px;
  --sec: 128px;
  --bar-h: 40px;
  --nav-h: 72px;
  --head-h: calc(var(--bar-h) + var(--nav-h));
  --hang: 0 1px 0 #C9CFCC, 0 12px 24px -16px rgb(38 42 41 / .25);
  --radius: 2px;
  --focus: var(--ink);
  --ease: cubic-bezier(.16, 1, .3, 1);
}
@media (max-width: 999px) { :root { --nav-h: 60px; } }
@media (max-width: 760px) { :root { --gutter: 16px; --sec: 72px; } }

/* ==========================================================================
   Grundlagen
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--wall);
  color: var(--text);
  font: 400 1.0625rem/1.6 var(--f-body);
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--f-head); font-weight: 400; margin: 0; color: inherit; text-wrap: balance; }
p, figure, blockquote { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
[id] { scroll-margin-top: calc(var(--head-h) + 20px); }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 300; background: var(--ink); color: var(--paper); padding: 10px 16px; font-family: var(--f-head); }
.skip-link:focus { top: 8px; }
.muted { color: var(--muted); }

h2 { font-size: clamp(2rem, 3.4vw, 3rem); line-height: 1.08; letter-spacing: -0.012em; }
.h2--sm { font-size: clamp(1.625rem, 2.4vw, 2.125rem); }
h3 { font-size: 1.25rem; line-height: 1.25; font-weight: 500; letter-spacing: -0.003em; }
.lead { font-size: 1.1875rem; line-height: 1.55; color: #3B4341; max-width: 58ch; hyphens: auto; }
.count { font-family: var(--f-head); font-variant-numeric: tabular-nums; }

/* Abschnitte */
.section { padding-block: var(--sec); }
.section--wall { background: var(--wall); }
.section--paper { background: var(--paper); }
.section--green { background: var(--green); color: var(--on-dark); --focus: var(--lime); }
.section--ink { background: var(--ink); color: var(--on-dark); --focus: var(--lime); }
.section--green .lead, .section--ink .lead { color: #D6DCD9; }
.sec-head { display: grid; gap: 18px; margin-bottom: clamp(40px, 5vw, 64px); }
.sec-head--split { grid-template-columns: minmax(0, 1fr); align-items: end; }
@media (min-width: 1000px) { .sec-head--split { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; } }
.head-row { position: relative; display: block; width: fit-content; max-width: 100%; padding-right: 46px; justify-self: start; }
.head-row > .tip--inline { position: absolute; right: 0; top: .3em; }
html.tips-off .head-row { padding-right: 0; }
.head-row + .lead { margin-top: 18px; }

/* Buttons und Links */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px; border-radius: var(--radius);
  font: 500 0.9375rem/1.2 var(--f-head); letter-spacing: .01em; text-decoration: none;
  border: 1.5px solid transparent; cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .12s;
}
.btn:active { transform: translateY(1px); }
.btn--ink { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn--ink:hover { background: var(--green); border-color: var(--green); }
.btn--line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--paper); }
.btn--lime { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.btn--lime:hover { background: #D6DC63; border-color: #D6DC63; }
.link {
  display: inline-block; font: 500 0.9375rem/1.3 var(--f-head); color: inherit;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; text-decoration-color: currentColor;
  transition: text-decoration-color .2s, text-underline-offset .2s;
}
.link:hover { text-underline-offset: 3px; text-decoration-thickness: 2px; }
.link--light { color: var(--on-dark); }

/* ==========================================================================
   Kopf: Skillfleet-Banner + Navigation (gemeinsam sticky)
   ========================================================================== */
.masthead { position: sticky; top: 0; z-index: 100; }
.bar { background: var(--ink); color: var(--on-dark); font: 400 0.8125rem/1.2 var(--f-head); }
.bar__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--bar-h); }
.bar__text { display: flex; align-items: center; gap: 12px; min-width: 0; white-space: nowrap; }
.bar__tag { background: var(--lime); color: var(--ink); font-weight: 500; padding: 4px 9px; border-radius: var(--radius); }
.bar__long { color: var(--on-dark-muted); overflow: hidden; text-overflow: ellipsis; }
.bar__actions { display: flex; align-items: center; gap: 18px; flex: none; }
.bar__link { color: var(--on-dark); text-underline-offset: 4px; font-weight: 500; }
.bar__link:hover { color: var(--lime); }
.bar { --focus: var(--lime); }

.switch { display: inline-flex; align-items: center; gap: 10px; background: none; border: 0; padding: 4px 0; cursor: pointer; color: inherit; }
.switch__track { width: 34px; height: 20px; border-radius: 10px; background: rgb(255 255 255 / .2); position: relative; flex: none; transition: background-color .2s; }
.switch__track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 14px; height: 14px; border-radius: 50%; background: var(--paper); transition: transform .25s var(--ease); }
.switch[aria-pressed="true"] .switch__track { background: var(--lime); }
.switch[aria-pressed="true"] .switch__track::after { transform: translateX(14px); background: var(--ink); }

@media (max-width: 760px) {
  .bar__long, .switch__label, .hide-sm { display: none; }
  .bar__text { gap: 0; }
  .bar__tag { padding: 3px 7px; font-size: .75rem; }
  .bar__actions { gap: 14px; }
}
@media (max-width: 1000px) and (min-width: 761px) { .bar__long { display: none; } }

.navrow { background: var(--wall); border-bottom: 1px solid var(--line); }
.navrow__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--nav-h); }
.mark { display: inline-grid; gap: 3px; text-decoration: none; color: var(--ink); line-height: 1; }
.mark__name { font: 400 1.3125rem/1 var(--f-head); letter-spacing: .012em; }
.mark__claim { font: 300 0.6875rem/1 var(--f-head); letter-spacing: .27em; color: #79817E; }
@media (max-width: 400px) { .mark__name { font-size: 1.125rem; } .mark__claim { letter-spacing: .26em; font-size: .625rem; } }

.nav { display: flex; align-items: center; gap: 32px; }
.nav__links { display: flex; gap: 28px; }
.nav__links a { font: 400 0.9375rem/1 var(--f-head); text-decoration: none; padding: 8px 0; background: linear-gradient(var(--ink), var(--ink)) 0 100% / 0 1.5px no-repeat; transition: background-size .3s var(--ease); }
.nav__links a:hover { background-size: 100% 1.5px; }
.nav__cta { min-height: 42px; padding: 9px 18px; }
.nav__phone { display: none; }
.nav-toggle { display: none; }

@media (max-width: 999px) {
  .nav-toggle { display: grid; place-items: center; width: 44px; height: 44px; margin-right: -8px; background: none; border: 0; cursor: pointer; }
  .nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 22px; height: 1.5px; background: var(--ink); position: relative; transition: transform .25s var(--ease), opacity .2s; }
  .nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
  .nav-toggle span::before { top: -7px; }
  .nav-toggle span::after { top: 7px; }
  .nav-toggle[aria-expanded="true"] span { background: transparent; }
  .nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--wall); border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 24px;
    max-height: calc(100dvh - var(--head-h)); overflow-y: auto;
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .2s, transform .25s var(--ease), visibility 0s .25s;
  }
  .nav.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .2s, transform .25s var(--ease); }
  .nav__links { flex-direction: column; gap: 0; }
  .nav__links a { display: block; font-size: 1.375rem; padding: 14px 0; border-bottom: 1px solid var(--line); background: none; }
  .nav__cta { margin-top: 20px; }
  .nav__phone { display: block; margin-top: 16px; font: 400 1rem/1.4 var(--f-head); color: var(--muted); }
  .nav__phone a { color: var(--ink); font-weight: 500; }
}

/* ==========================================================================
   Planfahne, Schiene, Kennzahlfeld
   ========================================================================== */
.rail { display: none; }
/* Die Schiene: ein feines Aluprofil */
.railed {
  --rail-y: 0px;
  background-image: linear-gradient(to bottom, #DCE1DF 0 2px, #A7AFAC 2px 3px);
  background-repeat: no-repeat;
  background-size: 100% 3px;
  background-position: 0 var(--rail-y);
}
.fahne {
  position: relative;
  background: var(--paper);
  color: var(--ink);
  box-shadow: var(--hang);
  padding: 14px 14px 16px;
  display: flex; flex-direction: column;
  min-width: 0;
}
/* Zwei Klemmen an der Schiene */
.fahne::before {
  content: ""; position: absolute; top: -11px; left: 14%; right: 14%; height: 15px;
  background:
    linear-gradient(#4A514F, #4A514F) left top / 6px 15px no-repeat,
    linear-gradient(#4A514F, #4A514F) right top / 6px 15px no-repeat;
  pointer-events: none;
}
.fahne__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 22px; margin-bottom: 12px; }
.fahne__type { font: 500 0.75rem/1.2 var(--f-head); color: var(--muted); letter-spacing: .01em; }
.kz {
  display: inline-flex; align-items: center; justify-content: flex-end;
  height: 22px; min-width: 132px; padding: 0 8px; margin-left: auto;
  border: 1px solid var(--ink);
  font: 500 0.75rem/1 var(--f-head); font-variant-numeric: tabular-nums; letter-spacing: .02em;
  white-space: nowrap; background: var(--paper); color: var(--ink);
}
.fahne__img { position: relative; overflow: hidden; background: #E3E7E5; }
.fahne__img img { width: 100%; height: 100%; object-fit: cover; }
.fahne__img--plan { background: var(--paper); outline: 1px solid var(--line); outline-offset: -1px; display: grid; place-items: center; }
.fahne__img--plan img { object-fit: contain; padding: 6px; }
.fahne__word { font: 300 1.5rem/1 var(--f-head); letter-spacing: .015em; margin-top: 14px; }
.fahne__cap { margin-top: auto; padding-top: 10px; display: grid; gap: 2px; font: 400 0.75rem/1.35 var(--f-head); color: var(--muted); }
.fahne__cap strong { font-weight: 500; color: var(--ink); font-size: .8125rem; }
.fahne__body { display: grid; gap: 10px; padding-top: 16px; }
.fahne__body p { font-size: .96875rem; line-height: 1.55; hyphens: auto; }
.fahne__kind { font: 400 0.8125rem/1.35 var(--f-head) !important; color: var(--muted); }

.flag { font: 500 0.75rem/1 var(--f-head); padding: 5px 8px; border: 1px solid var(--ink); border-radius: var(--radius); letter-spacing: .01em; }
.flag--live { background: var(--lime); border-color: var(--lime); }

.facts { display: grid; gap: 4px; margin: 2px 0 0; font: 400 0.8125rem/1.4 var(--f-head); }
.facts div { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 10px; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; }

/* ==========================================================================
   1 Hero
   ========================================================================== */
.hero { padding-block: clamp(40px, 5vw, 72px) clamp(56px, 7vw, 104px); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 56px; align-items: center; }
@media (min-width: 1100px) {
  .hero__grid { grid-template-columns: minmax(0, 4.5fr) minmax(0, 7.5fr); gap: clamp(48px, 5vw, 88px); min-height: min(calc(100dvh - var(--head-h) - 120px), 620px); }
}
.hero h1 { font-size: clamp(2.75rem, 5.6vw, 5.125rem); line-height: .98; letter-spacing: -0.022em; font-weight: 400; max-width: 11ch; }
.hero__lead { margin-top: 28px; font-size: clamp(1.125rem, 1.4vw, 1.25rem); line-height: 1.55; max-width: 42ch; color: #3B4341; hyphens: auto; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero__phone { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 14px; margin-top: 28px; font: 400 0.9375rem/1.3 var(--f-head); color: var(--muted); }
.hero__phone a { font-size: 1.25rem; font-weight: 500; color: var(--ink); text-decoration: none; font-variant-numeric: tabular-nums; border-bottom: 1.5px solid var(--lime); }
.hero__phone a:hover { border-bottom-color: var(--ink); }

.wall { position: relative; }
/* Die Schiene läuft über den Bildrand weiter: der Rundgang geht weiter */
@media (min-width: 1100px) {
  .wall--hero::after { content: ""; position: absolute; top: 14px; left: 100%; width: 50vw; height: 3px; background: linear-gradient(to bottom, #DCE1DF 0 2px, #A7AFAC 2px 3px); pointer-events: none; }
}
.wall__row {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.2vw, 30px);
  padding-top: 26px;
  --rail-y: 14px;
}
.wall__row.railed, .wall__row { background-image: linear-gradient(to bottom, #DCE1DF 0 2px, #A7AFAC 2px 3px); background-repeat: no-repeat; background-size: 100% 3px; background-position: 0 14px; }
.fahne--hero { width: 100%; align-self: start; aspect-ratio: 1 / 1.414; padding: 12px 12px 14px; }
.fahne--hero .fahne__img { aspect-ratio: 4 / 5; flex: none; }
.fahne--hero .fahne__word { margin-top: 16px; font-size: clamp(1.375rem, 1.9vw, 1.75rem); }
.fahne--hero .kz { min-width: 120px; height: 20px; font-size: .71875rem; }

@media (prefers-reduced-motion: no-preference) {
  .js .fahne--hero { animation: hang .78s var(--ease) both; animation-delay: calc(var(--i) * 150ms + 180ms); transform-origin: 50% 0; }
}
@keyframes hang {
  0% { opacity: 0; transform: translateY(-14px) rotate(-1.6deg); }
  45% { opacity: 1; transform: translateY(2px) rotate(.9deg); }
  72% { transform: translateY(0) rotate(-.35deg); }
  100% { opacity: 1; transform: none; }
}

@media (max-width: 1099px) {
  .hero__grid { gap: 48px; }
  .wall--hero { margin-inline: calc(var(--gutter) * -1); }
  .wall__row {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(220px, 31%);
    overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
    padding: 26px var(--gutter) 28px; scroll-padding-inline: var(--gutter);
    background-attachment: local; scrollbar-width: none;
  }
  .wall__row::-webkit-scrollbar { display: none; }
  .fahne--hero { scroll-snap-align: start; }
}
@media (max-width: 760px) {
  .wall__row { grid-auto-columns: 64vw; }
  .hero h1 { max-width: 9ch; }
}

/* ==========================================================================
   2 Qualifikationen
   ========================================================================== */
.quali { background: var(--paper); border-block: 1px solid var(--line); }
.quali__list { display: flex; flex-wrap: wrap; gap: 0; padding-block: 18px; font: 400 0.875rem/1.3 var(--f-head); color: #3B4341; }
.quali__list li { padding: 6px 18px; border-left: 1px solid var(--line); }
.quali__list li:first-child { padding-left: 0; border-left: 0; font-weight: 500; color: var(--ink); }
@media (max-width: 760px) {
  .quali__list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
  .quali__list li { border-left: 0; padding: 7px 0; border-top: 1px solid var(--line); }
  .quali__list li:first-child { grid-column: 1 / -1; border-top: 0; }
  .quali__list li:last-child { grid-column: 1 / -1; }
}

/* ==========================================================================
   3 Laufende Verfahren
   ========================================================================== */
.news {
  display: grid; gap: 36px 28px; align-items: start;
  padding-top: 26px;
  background-image: linear-gradient(to bottom, #DCE1DF 0 2px, #A7AFAC 2px 3px); background-repeat: no-repeat; background-size: 100% 3px; background-position: 0 14px;
}
@media (min-width: 1100px) { .news { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, .78fr); } }
@media (min-width: 761px) and (max-width: 1099px) { .news { grid-template-columns: 1fr 1fr; } .news .notice { grid-column: 1 / -1; } }
.fahne--news { padding: 16px 16px 22px; }
.fahne--news .fahne__img { aspect-ratio: 3 / 2; }
.fahne--lead .fahne__img { aspect-ratio: 16 / 10; }
.fahne--news h3 { font-size: 1.375rem; }
.fahne--lead h3 { font-size: clamp(1.5rem, 2vw, 1.75rem); font-weight: 400; }
.fahne--news .link { margin-top: 6px; justify-self: start; }

.notice { padding-top: 26px; border-top: 0; }
.notice h3 { font-size: 1.125rem; padding-bottom: 14px; border-bottom: 1px solid var(--ink); }
.notice__list li { display: grid; gap: 3px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: .9375rem; line-height: 1.45; }
.notice__list span { font: 500 0.8125rem/1.2 var(--f-head); color: var(--green); }
.notice .link { margin-top: 18px; }

@media (max-width: 760px) {
  .news { background-image: none; padding-top: 12px; gap: 44px; }
  .fahne--news::after { content: ""; position: absolute; left: calc(var(--gutter) * -1); right: calc(var(--gutter) * -1); top: -9px; height: 3px; background: linear-gradient(to bottom, #DCE1DF 0 2px, #A7AFAC 2px 3px); z-index: -1; }
  .fahne--news { isolation: auto; }
  .notice { padding-top: 0; }
}

/* ==========================================================================
   4 Ablauf: Wettbewerb betreuen lassen
   ========================================================================== */
.process { display: grid; gap: 56px; }
@media (min-width: 1000px) {
  .process { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(48px, 6vw, 112px); align-items: start; }
  .process__intro { position: sticky; top: calc(var(--head-h) + 40px); }
}
.process__intro { display: grid; gap: 28px; justify-items: start; }
.process__intro .head-row + .lead { margin-top: -6px; }

.kzdemo { margin: 8px 0 4px; display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 22px; align-items: center; }
.kzdemo__sheet { position: relative; aspect-ratio: 1 / 1.414; background: var(--wall); box-shadow: var(--hang); padding: 10px; display: grid; align-content: start; gap: 12px; }
.kzdemo__sheet::before { content: ""; position: absolute; top: -9px; left: 16%; right: 16%; height: 12px; background: linear-gradient(#4A514F, #4A514F) left top / 5px 12px no-repeat, linear-gradient(#4A514F, #4A514F) right top / 5px 12px no-repeat; }
.kz--big { min-width: 0; width: 100%; height: 20px; padding: 0; justify-content: space-evenly; gap: 0; }
.kz--big b { font-weight: 500; font-size: .75rem; }
.kzdemo__lines { display: grid; gap: 7px; margin-top: 6px; }
.kzdemo__lines i { height: 6px; background: #D5DBD8; }
.kzdemo__lines i:nth-child(1) { height: 46px; background: #DDE2E0; }
.kzdemo__lines i:nth-child(3) { width: 70%; }
.kzdemo__lines i:nth-child(4) { width: 84%; }
.kzdemo figcaption { font-size: .96875rem; line-height: 1.5; hyphens: auto; }
.kzdemo figcaption .muted { display: block; margin-top: 6px; font: 400 .75rem/1 var(--f-head); }

.steps { counter-reset: none; border-top: 1px solid var(--ink); }
.step { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 20px; padding: 28px 0 30px; border-bottom: 1px solid var(--line); }
.step__no {
  display: inline-flex; align-items: center; justify-content: flex-end;
  width: 76px; height: 26px; padding: 0 8px; border: 1px solid var(--ink);
  font: 500 0.875rem/1 var(--f-head); font-variant-numeric: tabular-nums;
}
.step h3 { margin-bottom: 8px; font-size: 1.3125rem; }
.step p { color: #3B4341; max-width: 56ch; hyphens: auto; }
@media (max-width: 760px) { .step { grid-template-columns: 1fr; gap: 12px; } }

/* ==========================================================================
   5 Verfahrensregister
   ========================================================================== */
.register__tabs { display: flex; flex-wrap: wrap; gap: 0; border-bottom: 1px solid var(--ink); }
.register__tabs [role="tab"] {
  display: inline-flex; align-items: baseline; gap: 10px;
  background: none; border: 0; cursor: pointer;
  padding: 14px 20px 12px; margin-bottom: -1px; border-bottom: 3px solid transparent;
  font: 400 1.0625rem/1.2 var(--f-head); color: var(--muted);
  transition: color .2s, background-color .2s;
}
.register__tabs [role="tab"] .count { font-size: .8125rem; font-weight: 500; }
.register__tabs [role="tab"]:hover { color: var(--ink); }
.register__tabs [role="tab"][aria-selected="true"] { color: var(--ink); background: var(--lime); border-bottom-color: var(--ink); font-weight: 500; }
.register__panel { padding-top: 28px; }
.register__tools { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 24px; margin-bottom: 28px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: baseline; gap: 8px; cursor: pointer;
  min-height: 40px; padding: 9px 14px; border-radius: var(--radius);
  background: transparent; border: 1px solid #AEB6B3;
  font: 400 0.875rem/1.2 var(--f-head);
  transition: background-color .2s, color .2s, border-color .2s;
}
.chip .count { font-size: .75rem; color: var(--muted); }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.chip[aria-pressed="true"] .count { color: #C7CFCB; }
.chip:active { transform: translateY(1px); }
.register__status { font: 400 0.8125rem/1.3 var(--f-head); color: var(--muted); }
.register__note { font-size: .96875rem; color: #3B4341; margin-bottom: 24px; max-width: 64ch; }
.reg-wrap { position: relative; }

.reg { border-top: 1px solid var(--ink); }
.reg__year { display: grid; grid-template-columns: 168px minmax(0, 1fr); gap: 24px; padding: 22px 0 26px; border-bottom: 1px solid var(--line); }
.reg__y { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.reg__y span { font: 300 2.25rem/1 var(--f-head); font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.reg__year[data-older] .reg__y span { hyphens: manual; }
.reg__y small { display: inline-flex; align-items: center; justify-content: flex-end; height: 20px; min-width: 64px; padding: 0 7px; border: 1px solid var(--ink); font: 500 .71875rem/1 var(--f-head); font-variant-numeric: tabular-nums; }
#vgv-vor2016 .reg__y span { font-size: 1.25rem; line-height: 1.2; font-weight: 400; max-width: 9ch; }
.reg__list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 24px; align-items: baseline; padding: 9px 0; border-bottom: 1px dotted #B9C1BE; }
.reg__list li:last-child { border-bottom: 0; }
.reg__txt { font-size: .96875rem; line-height: 1.45; hyphens: auto; }
.reg__art { font: 400 0.75rem/1.2 var(--f-head); color: var(--muted); white-space: nowrap; }
.reg__empty { padding: 28px 0; font-size: 1rem; color: var(--muted); max-width: 60ch; }
.register__more { margin-top: 28px; }
.register:not(.is-all) [data-older="true"] { display: none; }
.register.is-all .register__more { }
@media (max-width: 760px) {
  .reg__year { grid-template-columns: 1fr; gap: 12px; }
  .reg__y { flex-direction: row; align-items: center; gap: 14px; }
  .reg__list li { grid-template-columns: 1fr; gap: 2px; }
  .register__tabs [role="tab"] { padding: 12px 12px 10px; font-size: .9375rem; flex: 1 1 auto; justify-content: center; }
}

.reg-flat { border-top: 1px solid var(--ink); columns: 2 320px; column-gap: 48px; }
.reg-flat li { break-inside: avoid; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 14px; padding: 11px 0; border-bottom: 1px dotted #B9C1BE; font-size: .96875rem; line-height: 1.4; }
.tag { font: 500 0.71875rem/1 var(--f-head); padding: 4px 7px; border: 1px solid var(--ink); border-radius: var(--radius); white-space: nowrap; }
.tag--live { background: var(--lime); border-color: var(--lime); }
.tag--chair { border-color: var(--green); color: var(--green); }
.reg--jury .reg__list li { grid-template-columns: minmax(0, 1fr) auto; }

/* ==========================================================================
   6 Rundgang
   ========================================================================== */
.tour__ctrl { display: flex; justify-content: flex-start; }
@media (min-width: 1000px) { .tour__ctrl { justify-content: flex-end; } }
.tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.tab {
  min-height: 40px; padding: 9px 14px; cursor: pointer; border-radius: var(--radius);
  background: transparent; color: var(--on-dark); border: 1px solid rgb(241 243 241 / .45);
  font: 400 0.875rem/1.2 var(--f-head); transition: background-color .2s, color .2s, border-color .2s;
}
.tab:hover { border-color: var(--on-dark); }
.tab[aria-pressed="true"] { background: var(--lime); color: var(--ink); border-color: var(--lime); font-weight: 500; }
.tab:active { transform: translateY(1px); }

.tour { position: relative; }
.tour__track {
  --pad: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
  display: flex; gap: clamp(20px, 2.4vw, 32px); align-items: stretch;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--pad);
  padding: 30px var(--pad) 36px;
  background-image: linear-gradient(to bottom, #8D9A95 0 2px, #3F4B47 2px 3px);
  background-repeat: no-repeat; background-size: 100% 3px; background-position: 0 18px; background-attachment: local;
  scrollbar-width: thin; scrollbar-color: rgb(241 243 241 / .5) transparent;
}
.tour__track:focus-visible { outline-offset: -4px; }
.tour__track::after { content: ""; flex: 0 0 1px; }
.fahne--tour {
  flex: 0 0 clamp(282px, 30vw, 400px);
  aspect-ratio: 1 / 1.414;
  scroll-snap-align: start;
  padding: 16px 16px 0;
  box-shadow: 0 1px 0 #3F4B47, 0 16px 28px -18px rgb(20 26 24 / .55);
}
.fahne--tour .fahne__img { aspect-ratio: 16 / 9; flex: none; }
.fahne--tour h3 { font-size: 1.3125rem; }
.fahne--tour .fahne__body { padding-bottom: 16px; }
.prize { margin-top: auto; margin-inline: -16px; padding: 12px 16px 14px; border-top: 1px solid var(--line); display: grid; gap: 6px; }
.prize li { font: 500 0.78125rem/1.35 var(--f-head); padding-left: 16px; position: relative; }
.prize li::before { content: ""; position: absolute; left: 0; top: .42em; width: 8px; height: 8px; background: var(--lime); outline: 1px solid var(--ink); outline-offset: -1px; }
.prize--none li { font-weight: 400; color: var(--muted); padding-left: 0; }
.prize--none li::before { display: none; }
.tour__empty { align-self: center; color: var(--on-dark); font: 400 1.125rem/1.4 var(--f-head); padding: 40px 0; }

.tour__foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px 28px; margin-top: 8px; }
.tour__count { font: 400 0.9375rem/1 var(--f-head); font-variant-numeric: tabular-nums; color: #D6DCD9; }
.tour__btns { display: flex; gap: 10px; margin-left: auto; }
.round { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgb(241 243 241 / .55); background: transparent; color: var(--on-dark); cursor: pointer; transition: background-color .2s, color .2s; }
.round svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.round:hover { background: var(--paper); color: var(--ink); }
.round:active { transform: scale(.97); }
.round:disabled { opacity: .35; cursor: default; background: transparent; color: var(--on-dark); }

/* ==========================================================================
   7 Stadt und Planung
   ========================================================================== */
.city { display: grid; gap: 48px; align-items: start; }
@media (min-width: 1000px) { .city { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(48px, 6vw, 96px); } }
.city__text { display: grid; gap: 22px; }
.services { margin-top: 12px; border-top: 1px solid var(--ink); }
.services li { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 6px 20px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.services strong { font: 500 1rem/1.35 var(--f-head); }
.services span { font-size: .96875rem; color: #3B4341; }
@media (max-width: 560px) { .services li { grid-template-columns: 1fr; } }
.city__sketch { margin: 0; }
.city__sketch img { width: 100%; border: 1px solid var(--line); background: #fff; }
.city__sketch figcaption, .snap figcaption, .map figcaption { margin-top: 10px; font: 400 0.8125rem/1.3 var(--f-head); color: var(--muted); }

.plans { display: grid; gap: 40px 32px; margin-top: clamp(56px, 7vw, 96px); }
@media (min-width: 1000px) { .plans { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } .plan--hof { grid-row: span 2; } }
.plan { display: grid; gap: 18px; align-content: start; }
.plan__imgs { display: grid; gap: 14px; }
.plan__imgs img, .plan__second { width: 100%; border: 1px solid var(--line); background: #fff; }
@media (min-width: 561px) {
  .plan--hof { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px 24px; }
  .plan--hof .plan__imgs { grid-row: span 2; }
  .plan--hof .plan__text { align-self: start; }
}
.plan__text { display: grid; gap: 10px; justify-items: start; max-width: 60ch; }
.plan__text .kz { margin-left: 0; }
.plan__text p { color: #3B4341; hyphens: auto; }

/* ==========================================================================
   8 Haltung
   ========================================================================== */
.stance { padding-block: clamp(96px, 12vw, 176px); }
.stance__title { font: 400 1rem/1 var(--f-head); color: var(--on-dark-muted); margin-bottom: clamp(40px, 5vw, 64px); letter-spacing: .01em; }
.stance__q { margin: 0; position: relative; padding-top: 28px; }
.stance__q::before { content: ""; position: absolute; top: 0; left: 0; width: 56px; height: 3px; background: linear-gradient(to bottom, #8D9A95 0 2px, #4A514F 2px 3px); }
.stance__q p { font: 300 clamp(1.75rem, 3.6vw, 3.25rem)/1.14 var(--f-head); letter-spacing: -0.012em; color: var(--paper); text-wrap: balance; }
.stance__q--1 p { max-width: 24ch; }
.stance__q--2 { margin-top: clamp(56px, 7vw, 96px); margin-left: clamp(0px, 22vw, 340px); }
.stance__q--3 { margin-top: clamp(56px, 7vw, 96px); margin-left: clamp(0px, 40vw, 560px); }
.stance__q--2 p, .stance__q--3 p { max-width: 18ch; }
.stance__by { margin-top: clamp(48px, 6vw, 72px); font: 400 0.9375rem/1 var(--f-head); color: var(--on-dark-muted); text-align: right; }
@media (max-width: 760px) { .stance__q--2 { margin-left: 12%; } .stance__q--3 { margin-left: 24%; } }

/* ==========================================================================
   9 Jakob Oberpriller
   ========================================================================== */
.person { display: grid; gap: 48px; align-items: start; }
@media (min-width: 1100px) { .person { grid-template-columns: minmax(0, 3.4fr) minmax(0, 5fr) minmax(0, 3.4fr); gap: clamp(36px, 4vw, 64px); } }
@media (min-width: 761px) and (max-width: 1099px) { .person { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); } .person__side { grid-column: 1 / -1; } }
.person__aside { padding-top: 14px; }
.fahne--portrait { max-width: 340px; }
.fahne__img--tall { aspect-ratio: 780 / 1050; }
.person__main { display: grid; gap: 22px; }
.cv { margin-top: 8px; border-top: 1px solid var(--ink); }
.cv li { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.cv__y { font: 500 0.875rem/1.5 var(--f-head); font-variant-numeric: tabular-nums; }
.cv p { font-size: .96875rem; line-height: 1.5; hyphens: auto; }
.person__side { display: grid; gap: 20px; align-content: start; }
.person__side h3 { font-size: 1.125rem; padding-bottom: 14px; border-bottom: 1px solid var(--ink); }
.facts-list li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .9375rem; line-height: 1.45; }
.facts-list li:not(:has(b)) { grid-template-columns: 1fr; }
.facts-list b { font: 300 2.25rem/1 var(--f-head); font-variant-numeric: tabular-nums; min-width: 2ch; }
.snap { margin: 8px 0 0; }
.snap img { width: 100%; }

/* ==========================================================================
   10 Auszeichnungen
   ========================================================================== */
.awards { display: grid; gap: 64px; }
@media (min-width: 1000px) { .awards { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(48px, 6vw, 112px); } }
.awards h2 { margin-bottom: 28px; }
.prizes { margin: 0; border-top: 1px solid var(--ink); }
.prizes > div { padding: 18px 0 16px; border-bottom: 1px solid var(--line); display: grid; gap: 6px; }
.prizes dt { font: 500 1.0625rem/1.3 var(--f-head); margin-bottom: 4px; }
.prizes dd { margin: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px; align-items: baseline; font-size: .96875rem; line-height: 1.45; }
.prizes time { font: 500 0.875rem/1 var(--f-head); font-variant-numeric: tabular-nums; color: var(--green); }
.awards__col--pub h2 { margin-bottom: 28px; padding-top: 10px; }
.pubs { border-top: 1px solid var(--ink); margin-bottom: 24px; }
.pubs li { display: grid; gap: 2px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.pubs cite { font-style: italic; font-size: 1.0625rem; }
.pubs span { font: 400 0.8125rem/1.35 var(--f-head); color: var(--muted); }

/* ==========================================================================
   11 Team
   ========================================================================== */
.team { display: grid; gap: 40px; }
@media (min-width: 1000px) { .team { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 32px clamp(48px, 6vw, 112px); } .team__former { grid-column: 2; } }
.team__head { display: grid; gap: 18px; align-content: start; }
.team__names { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); border-top: 1px solid var(--ink); }
.team__names li { padding: 16px 0 14px; border-bottom: 1px solid var(--line); font: 300 clamp(1.375rem, 2.2vw, 1.875rem)/1.15 var(--f-head); letter-spacing: -0.008em; }
.team__former { border-bottom: 1px solid var(--line); }
.team__former summary { display: flex; align-items: center; gap: 12px; cursor: pointer; padding: 14px 0; font: 500 0.9375rem/1.2 var(--f-head); list-style: none; }
.team__former summary::-webkit-details-marker { display: none; }
.team__former summary::after { content: ""; width: 10px; height: 10px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-3px); margin-left: auto; transition: transform .25s var(--ease); }
.team__former[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.team__former summary .count { font-weight: 400; color: var(--muted); }
.team__former ul { columns: 4 170px; column-gap: 28px; padding: 6px 0 24px; font: 400 0.875rem/1.9 var(--f-head); color: #3B4341; }

/* ==========================================================================
   12 Region
   ========================================================================== */
.region { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1000px) { .region { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(48px, 6vw, 96px); } }
.region__text { display: grid; gap: 22px; }
.legend { display: grid; gap: 10px; margin-top: 6px; font: 400 0.9375rem/1.3 var(--f-head); }
.legend li { display: flex; align-items: center; gap: 12px; }
.lg { display: inline-block; flex: none; }
.lg--office { width: 14px; height: 14px; background: var(--lime); outline: 1.5px solid var(--ink); outline-offset: -1.5px; }
.lg--bau { width: 10px; height: 10px; background: var(--green); margin-inline: 2px; }
.lg--verf { width: 10px; height: 10px; border-radius: 50%; border: 1.4px solid var(--ink); background: var(--paper); margin-inline: 2px; }
.region__note { font-size: .96875rem; color: #3B4341; max-width: 52ch; }
.map { margin: 0; }
.map svg { width: 100%; height: auto; overflow: visible; }
.map__land { fill: var(--paper); stroke: #A9B2AE; stroke-width: 1.2; stroke-linejoin: round; }
.map__river { fill: none; stroke: #B7C3BE; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.map__verf circle { fill: var(--paper); stroke: var(--ink); stroke-width: 1.3; }
.map__bau rect { fill: var(--green); }
.map__labels text, .map__away text { font: 400 12px/1 var(--f-head); fill: #4C5552; }
.map__office rect { fill: var(--lime); stroke: var(--ink); stroke-width: 1.5; }
.map__office text { font: 500 14px/1 var(--f-head); fill: var(--ink); }
.map__away path { fill: none; stroke: #4C5552; stroke-width: 1.3; }

/* ==========================================================================
   13 FAQ
   ========================================================================== */
.faq-layout { display: grid; gap: 40px; }
@media (min-width: 1000px) { .faq-layout { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(48px, 6vw, 112px); } }
.faq__head { display: grid; gap: 18px; align-content: start; }
.faq { border-top: 1px solid var(--ink); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  display: grid; grid-template-columns: minmax(0, 1fr) 22px; gap: 24px; align-items: center;
  padding: 22px 0; cursor: pointer; list-style: none;
  font: 500 1.1875rem/1.3 var(--f-head);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: ""; width: 22px; height: 22px;
  background: linear-gradient(var(--ink), var(--ink)) center / 14px 1.5px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 1.5px 14px no-repeat;
  transition: transform .3s var(--ease);
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item summary:hover { color: var(--green); }
.faq__a { padding: 0 0 26px; max-width: 64ch; }
.faq__a p { color: #3B4341; hyphens: auto; }

/* ==========================================================================
   14 Kontakt als Plankopf
   ========================================================================== */
.contact { display: grid; gap: 56px; align-items: start; }
@media (min-width: 1100px) { .contact { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(48px, 5vw, 88px); } }
.contact__info { display: grid; gap: 22px; }
.contact__info h2 { max-width: 16ch; }
.titleblock { position: relative; margin-top: 18px; background: var(--paper); color: var(--ink); border: 1.5px solid var(--paper); --focus: var(--ink); }
.titleblock__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--ink); border-bottom: 1.5px solid var(--ink); }
.tb { display: grid; gap: 6px; align-content: start; padding: 14px 16px 16px; background: var(--paper); min-width: 0; }
.tb--wide { grid-column: 1 / -1; }
.tb--two { grid-column: span 2; }
.tb__l { font: 400 0.71875rem/1.2 var(--f-head); color: var(--muted); }
.tb__v { font: 400 1rem/1.35 var(--f-head); color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
a.tb__v { text-decoration: underline; text-decoration-color: #A9B2AE; text-underline-offset: 4px; }
a.tb__v:hover { text-decoration-color: var(--ink); }
.tb__v--big { font-size: 1.5rem; font-weight: 500; font-variant-numeric: tabular-nums; text-decoration-color: var(--lime) !important; text-decoration-thickness: 2px !important; }
.tb__v--mark { font-size: 1.5rem; letter-spacing: .012em; }
.tb__s { font: 400 0.8125rem/1.35 var(--f-head); color: var(--muted); }
@media (max-width: 760px) {
  .titleblock__grid { grid-template-columns: 1fr 1fr; }
  .tb--two { grid-column: 1 / -1; order: 2; }
}
@media (max-width: 420px) { .titleblock__grid { grid-template-columns: 1fr; } .tb--two { grid-column: auto; } }

.sitemap { margin: 0; padding: 14px 16px 12px; }
.sitemap svg { width: 100%; max-width: 400px; height: auto; }
.sitemap figcaption { font: 400 0.71875rem/1 var(--f-head); color: var(--muted); margin-top: 6px; }
.sm__isar { fill: none; stroke: #B7C3BE; stroke-width: 5; stroke-linecap: round; }
.sm__road { fill: none; stroke: var(--ink); stroke-width: 1.4; stroke-dasharray: 7 4; }
.sm__way { fill: none; stroke: var(--ink); stroke-width: 1.2; }
.sm__town { fill: var(--paper); stroke: var(--ink); stroke-width: 1.4; }
.sm__office { fill: var(--lime); stroke: var(--ink); stroke-width: 1.5; }
.sm__t { font: 400 12px/1 var(--f-head); fill: #4C5552; }
.sm__t--office { font-weight: 500; font-size: 14px; fill: var(--ink); }
.sm__t--small { font-size: 11px; }
.sm__t--river { font-style: italic; font-family: var(--f-body); }
.sm__north path { fill: var(--ink); }
.sm__north text { font: 500 11px/1 var(--f-head); fill: var(--ink); }

/* Formular */
.form { display: grid; gap: 20px; padding: clamp(24px, 3vw, 36px); border: 1px solid var(--line-dark); }
.form h3 { font-size: 1.375rem; font-weight: 400; margin-bottom: 4px; }
.form__row { display: grid; gap: 20px; }
@media (min-width: 560px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 8px; min-width: 0; margin: 0; padding: 0; border: 0; }
.field label, .field legend { font: 500 0.875rem/1.3 var(--f-head); color: var(--on-dark); padding: 0; }
.opt { font-weight: 400; color: var(--on-dark-muted); }
.field input:not([type="checkbox"]):not([type="radio"]), .field textarea {
  width: 100%; min-height: 48px; padding: 11px 13px; border-radius: var(--radius);
  background: #303634; color: var(--on-dark); border: 1px solid #5C6562;
  font: 400 1rem/1.4 var(--f-head);
  transition: border-color .2s, background-color .2s;
}
.field textarea { resize: vertical; min-height: 112px; }
.field input:hover, .field textarea:hover { border-color: #8A9490; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--lime); background: #353B39; box-shadow: 0 0 0 1px var(--lime); }
.field [aria-invalid="true"] { border-color: var(--err-dark) !important; }
.field__err { font: 400 0.8125rem/1.35 var(--f-head); color: var(--err-dark); }
.field__help { font: 400 0.8125rem/1.35 var(--f-head); color: var(--on-dark-muted); }
.field--choice legend { margin-bottom: 10px; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choices label { position: relative; cursor: pointer; }
.choices input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choices span { display: inline-block; padding: 9px 13px; border: 1px solid #5C6562; border-radius: var(--radius); font: 400 0.875rem/1.2 var(--f-head); transition: background-color .2s, border-color .2s, color .2s; }
.choices input:checked + span { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.choices input:focus-visible + span { outline: 2px solid var(--lime); outline-offset: 2px; }
.check { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 12px; align-items: start; font: 400 0.875rem/1.45 var(--f-head) !important; color: var(--on-dark-muted) !important; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--lime); }
.check a { color: var(--on-dark); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { justify-self: start; margin-top: 4px; }

/* Footer */
.footer { background: var(--ink); color: var(--on-dark-muted); border-top: 1px solid var(--line-dark); --focus: var(--lime); }
.footer__in { display: grid; gap: 24px; padding-block: 44px 36px; align-items: end; }
@media (min-width: 900px) { .footer__in { grid-template-columns: minmax(0, 1fr) auto; } .footer__meta { grid-column: 1 / -1; } }
.footer__mark { display: grid; gap: 6px; color: var(--on-dark); }
.footer__mark .mark__claim { color: var(--on-dark-muted); }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 28px; font: 400 0.9375rem/1.3 var(--f-head); }
.footer__links a { color: var(--on-dark); text-underline-offset: 4px; }
.footer__meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 20px; border-top: 1px solid var(--line-dark); font: 400 0.8125rem/1.3 var(--f-head); }
.footer__meta a { color: var(--on-dark); }

/* ==========================================================================
   Marker „Verbesserungen anzeigen“
   ========================================================================== */
.has-tip { position: relative; }
.tip { position: absolute; z-index: 40; top: -13px; right: -13px; }
.tip--inline { position: relative; top: auto; right: auto; display: inline-block; vertical-align: middle; }
.tip__dot {
  position: relative; width: 30px; height: 30px; border-radius: 50%;
  border: 2px solid var(--paper); background: var(--lime); color: var(--ink);
  cursor: pointer; padding: 0; display: grid; place-items: center;
  font: 600 0.8125rem/1 var(--f-head); font-variant-numeric: tabular-nums;
  box-shadow: 0 0 0 1px var(--ink);
  transition: transform .15s, background-color .15s;
}
.tip__dot:hover, .tip__dot[aria-expanded="true"] { transform: scale(1.08); background: #D6DC63; }
@media (prefers-reduced-motion: no-preference) {
  .tip__dot::before { content: ""; position: absolute; inset: -7px; border-radius: 50%; border: 2px solid var(--lime); animation: ping 2.4s ease-out 1.6s 3 both; pointer-events: none; }
}
@keyframes ping { 0% { opacity: .9; transform: scale(.7); } 80%, 100% { opacity: 0; transform: scale(1.45); } }
.tip__card {
  position: absolute; top: calc(100% + 10px); right: 0; width: min(330px, calc(100vw - 32px));
  background: var(--paper); color: var(--ink); border: 1.5px solid var(--ink); border-radius: var(--radius);
  padding: 16px 18px; text-align: left; display: none;
  font: 400 0.9375rem/1.45 var(--f-body); letter-spacing: 0; text-transform: none; white-space: normal;
}
.tip--inline .tip__card { right: auto; left: 0; }
.tip__card--up { top: auto; bottom: calc(100% + 10px); }
.tip.is-open .tip__card { display: block; }
@media (hover: hover) { .tip:hover .tip__card { display: block; } }
.tip__card-title { display: block; font: 500 1.0625rem/1.25 var(--f-head); margin-bottom: 10px; }
.tip__row { display: grid; grid-template-columns: 50px minmax(0, 1fr); gap: 8px; padding: 7px 0; border-top: 1px solid var(--line); font-size: .90625rem; }
.tip__row b { font: 500 0.75rem/1.75 var(--f-head); color: var(--muted); }
.tip__row--now b { color: var(--green); }
.tip__close { display: none; }
@media (max-width: 640px) {
  .tip.is-open .tip__card { position: fixed; left: 12px; right: 12px; bottom: 12px; top: auto; width: auto; z-index: 200; transform: none !important; box-shadow: 0 0 0 100vmax rgb(38 42 41 / .35); }
  .tip.is-open .tip__close { display: flex; margin-top: 12px; min-height: 44px; width: 100%; justify-content: center; align-items: center; background: var(--ink); color: var(--paper); border: 0; border-radius: var(--radius); font: 500 .9375rem/1 var(--f-head); cursor: pointer; }
  .tip { top: -11px; right: -8px; }
}
html.tips-off .tip { display: none; }
.has-tip:has(.tip.is-open), .has-tip:has(.tip:hover) { z-index: 30; }
.head-row:has(.tip.is-open), .head-row:has(.tip:hover) { position: relative; z-index: 30; }
.section:has(.tip.is-open), .section:has(.tip:hover), .hero:has(.tip.is-open), .hero:has(.tip:hover) { position: relative; z-index: 60; }

/* ==========================================================================
   Interesse-Seite (Skillfleet)
   ========================================================================== */
.interest { padding-block: clamp(56px, 8vw, 120px); }
.interest__grid { display: grid; gap: 56px; align-items: start; }
@media (min-width: 1000px) { .interest__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(48px, 6vw, 112px); } }
.interest h1 { font-size: clamp(2.25rem, 4.4vw, 3.75rem); line-height: 1.04; letter-spacing: -0.018em; max-width: 16ch; }
.interest__lead { margin-top: 24px; font-size: 1.1875rem; line-height: 1.55; color: #3B4341; max-width: 52ch; }
.interest__note { margin-top: 28px; padding: 16px 18px; border: 1px solid var(--ink); background: var(--paper); display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: center; font-size: 1rem; line-height: 1.5; max-width: 56ch; }
.interest__note .kz { min-width: 0; margin: 0; }
.included { margin-top: 44px; border-top: 1px solid var(--ink); max-width: 56ch; }
.included h2 { font-size: 1.25rem; font-weight: 500; padding: 18px 0 8px; }
.included li { padding: 11px 0 11px 22px; border-bottom: 1px solid var(--line); position: relative; font-size: 1rem; }
.included li::before { content: ""; position: absolute; left: 0; top: 1.05em; width: 8px; height: 8px; background: var(--lime); outline: 1px solid var(--ink); outline-offset: -1px; }
.back { margin-top: 32px; }
.interest__wall { padding-top: 26px; background-image: linear-gradient(to bottom, #DCE1DF 0 2px, #A7AFAC 2px 3px); background-repeat: no-repeat; background-size: 100% 3px; background-position: 0 14px; }
.fahne--contact { max-width: 440px; padding: 18px 20px 22px; gap: 0; }
.fahne--contact h2 { font-size: 1.75rem; margin-top: 8px; }
.fahne--contact .sub { font: 400 .9375rem/1.4 var(--f-head); color: var(--muted); margin-top: 4px; }
.clist { margin-top: 22px; border-top: 1px solid var(--ink); }
.clist a { display: grid; gap: 2px; padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.clist a:hover .clist__v { text-decoration: underline; text-underline-offset: 4px; }
.clist__l { font: 400 .75rem/1.2 var(--f-head); color: var(--muted); }
.clist__v { font: 500 1.1875rem/1.3 var(--f-head); }
.fahne--contact .foot { margin-top: 18px; font-size: .9375rem; color: #3B4341; }
