/* FAPTec GmbH – Website-Stylesheet. Lokal, keine externen Ressourcen. */

:root {
  --navy: #0B1628;
  --navy-2: #111A29;
  --interact: #213D63;
  --steel: #9AAFC3;
  --surface: #F2F4F7;
  --muted: #5A6572;
  --muted-2: #6B7684;
  --on-dark: #C6D2DE;
  --on-dark-2: #A9B7C6;
  --line: #E3E7EC;
  --line-dark: rgba(154, 175, 195, .28);
  --field-border: #8793A0;
  --error: #8A2A2A;
  --success: #1E5233;
  --body: #3D4753;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  --gutter: 18px;
  --header-h: 60px;
  --shell: 1280px;
}

@media (min-width: 620px) {
  :root { --gutter: 32px; --header-h: 76px; }
}
@media (min-width: 1100px) {
  :root { --gutter: 56px; }
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  overflow-x: clip;
  background: #FFFFFF;
  color: var(--navy-2);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: var(--interact); text-decoration: none; }
a:hover { color: var(--navy); }
input, textarea, button, select { font: inherit; color: inherit; }
h1, h2, h3, h4 { text-wrap: balance; }
p { text-wrap: pretty; }

:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 2px;
  box-shadow: 0 0 0 6px rgba(154, 175, 195, .95);
}
.on-dark :focus-visible, header :focus-visible, footer :focus-visible {
  outline-color: #FFFFFF;
  box-shadow: 0 0 0 6px rgba(154, 175, 195, .6);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* ---------- Grundbausteine ---------- */

.shell {
  max-width: var(--shell);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.shell--narrow { max-width: 900px; }

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 90;
  padding: 14px 20px;
  background: #FFFFFF;
  color: var(--navy);
  font-weight: 600;
  font-size: 15px;
}
.skip:focus { left: 12px; top: 12px; }

.eyebrow {
  margin: 0;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .2em;
  color: var(--muted);
}
.eyebrow--dark { color: var(--steel); }

.rule-row { display: flex; align-items: center; gap: 12px; }
.rule-row .rule { flex: 1; height: 1px; max-width: 120px; background: var(--line-dark); }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(11, 22, 40, .96);
  border-bottom: 1px solid rgba(154, 175, 195, .22);
}
@supports (backdrop-filter: blur(10px)) {
  .site-header { background: rgba(11, 22, 40, .9); backdrop-filter: blur(10px); }
}

.header-bar {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand { display: flex; align-items: center; flex: none; min-height: 44px; }
.brand img { height: 21px; width: auto; }
@media (min-width: 620px) { .brand img { height: 28px; } }

.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 20px;
  border: 1px solid var(--steel);
  color: #FFFFFF;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .05em;
  white-space: nowrap;
}
.btn-cta:hover { background: var(--steel); color: var(--navy); }

.menu-wrap { position: relative; flex: none; display: flex; align-items: center; }

.burger {
  width: 46px;
  height: 46px;
  flex: none;
  background: none;
  border: 1px solid rgba(154, 175, 195, .42);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 0;
}
.burger span {
  width: 18px;
  height: 1.5px;
  background: var(--steel);
  display: block;
  transition: transform .2s ease, opacity .2s ease;
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.menu-panel {
  position: absolute;
  right: calc(var(--gutter) * -1);
  left: auto;
  top: calc(100% + 11px);
  width: calc(100vw - var(--gutter) * 2);
  max-width: 340px;
  background: var(--navy);
  border: 1px solid rgba(154, 175, 195, .28);
  padding: 14px 18px 18px;
  display: flex;
  flex-direction: column;
  max-height: calc(100dvh - var(--header-h) - 24px);
  overflow-y: auto;
  box-shadow: 0 24px 48px rgba(0, 0, 0, .38);
  z-index: 70;
}
.js .menu-panel[hidden] { display: none; }
@media (min-width: 620px) { .menu-panel { right: 0; } }

.menu-label {
  margin: 12px 0 8px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .2em;
  color: var(--steel);
  text-transform: uppercase;
}
.menu-label:first-child { margin-top: 2px; }

.lang-row { display: flex; gap: 8px; }
.lang-opt {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  font-size: 14.5px;
  color: #DDE4EC;
  border: 1px solid rgba(154, 175, 195, .32);
}
.lang-opt:hover { color: #FFFFFF; border-color: var(--steel); }
.lang-opt[aria-current="true"] { background: rgba(154, 175, 195, .16); color: #FFFFFF; border-color: var(--steel); }

.menu-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 50px;
  padding: 0;
  font-size: 16px;
  text-align: left;
  color: #FFFFFF;
  background: none;
  border: 0;
  border-bottom: 1px solid rgba(154, 175, 195, .16);
  font-family: inherit;
  cursor: pointer;
}
.menu-item:hover { color: var(--steel); }
.menu-group { display: flex; flex-direction: column; }
.menu-parent .chev {
  width: 8px;
  height: 8px;
  border-right: 1.5px solid var(--steel);
  border-bottom: 1.5px solid var(--steel);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform .2s ease;
}
.menu-parent[aria-expanded="true"] .chev { transform: rotate(-135deg) translate(-2px, -2px); }
.js .submenu[hidden] { display: none; }
.submenu { display: flex; flex-direction: column; padding-left: 14px; border-left: 1px solid rgba(154, 175, 195, .28); }
.menu-sub { min-height: 46px; font-size: 15px; color: #DDE4EC; }

.menu-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 16px;
  background: var(--steel);
  color: var(--navy);
  font-weight: 600;
  letter-spacing: .05em;
}
.menu-cta:hover { background: #FFFFFF; color: var(--navy); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  background: var(--navy);
  isolation: isolate;
}
.hero picture {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero .hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; opacity: .55; }
@media (min-width: 900px) { .hero .hero-img { object-position: 50% 50%; } }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(100deg, #0B1628 6%, rgba(11, 22, 40, .88) 48%, rgba(11, 22, 40, .46) 100%);
}
.hero-inner { position: relative; z-index: 2; }
.hero-inner {
  padding-top: clamp(64px, 12vw, 152px);
  padding-bottom: clamp(56px, 9vw, 104px);
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 3vw, 30px);
}
.hero-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: clamp(10px, 1.3vw, 12px);
  letter-spacing: .2em;
  color: var(--steel);
}
.hero-kicker .dash { width: clamp(28px, 6vw, 56px); height: 1px; background: var(--steel); flex: none; }
h1 {
  margin: 0;
  font-weight: 700;
  font-size: clamp(34px, 6.6vw, 74px);
  line-height: 1.02;
  letter-spacing: -.028em;
  color: #FFFFFF;
  max-width: 17ch;
}
.hero-lead {
  margin: 0;
  font-size: clamp(16px, 1.9vw, 19px);
  line-height: 1.65;
  color: var(--on-dark);
  max-width: 56ch;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  padding: 0 clamp(20px, 3vw, 32px);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: .04em;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn--primary { background: var(--steel); color: var(--navy); }
.btn--primary:hover { background: #FFFFFF; color: var(--navy); }
.btn--ghost { border-color: rgba(154, 175, 195, .55); color: #FFFFFF; }
.btn--ghost:hover { border-color: var(--steel); background: rgba(154, 175, 195, .14); color: #FFFFFF; }
.btn--dark { background: var(--navy-2); color: #FFFFFF; }
.btn--dark:hover { background: var(--interact); color: #FFFFFF; }
.btn--dark[disabled] { background: #4B5766; color: #FFFFFF; cursor: progress; }

@media (max-width: 479px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
}

/* ---------- Abschnitte ---------- */

.section { scroll-margin-top: calc(var(--header-h) + 18px); }
.section-inner {
  padding-top: clamp(56px, 9vw, 112px);
  padding-bottom: clamp(56px, 9vw, 112px);
}
.section--light { background: #FFFFFF; }
.section--tint { background: var(--surface); }
.section--dark { background: var(--navy); color: #FFFFFF; }

h2 {
  margin: 0;
  font-weight: 700;
  font-size: clamp(26px, 3.5vw, 42px);
  line-height: 1.16;
  letter-spacing: -.025em;
}
.section--dark h2, .on-dark h2 { color: #FFFFFF; }
.on-dark h3 { color: #FFFFFF; }
.lead {
  margin: 0;
  font-size: clamp(16px, 1.7vw, 18px);
  line-height: 1.7;
  color: var(--muted);
  max-width: 62ch;
}
.section--dark .lead, .on-dark .lead { color: var(--on-dark); }

/* ---------- Leistungen mit Inhaltsrail ---------- */

.services-layout { display: flex; gap: clamp(28px, 5vw, 72px); align-items: flex-start; }
.rail { display: none; }
@media (min-width: 1024px) {
  .rail {
    display: flex;
    flex-direction: column;
    gap: 18px;
    flex: 0 0 220px;
    position: sticky;
    top: 110px;
  }
}
.rail nav {
  display: flex;
  flex-direction: column;
  padding-left: 16px;
  border-left: 1px solid var(--line);
}
.rail a {
  display: flex;
  gap: 12px;
  align-items: center;
  min-height: 44px;
  font-size: 15px;
  color: var(--muted-2);
}
.rail a:hover { color: var(--interact); }
.rail a .num { font-family: var(--mono); font-size: 11px; color: var(--muted-2); }
.rail a[aria-current="true"] { color: var(--navy-2); font-weight: 600; }
.rail a[aria-current="true"] .num { color: var(--interact); }

.services-main { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: clamp(24px, 4vw, 44px); }
.section-label-inline { display: block; }
@media (min-width: 1024px) { .section-label-inline { display: none; } }
.services-intro { display: flex; flex-direction: column; gap: 16px; }

.accordion { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-h { margin: 0; }
.acc-btn {
  width: 100%;
  display: flex;
  gap: clamp(14px, 2.5vw, 28px);
  align-items: flex-start;
  text-align: left;
  background: none;
  border: 0;
  padding: clamp(20px, 3vw, 28px) clamp(8px, 1.5vw, 16px);
  cursor: pointer;
  color: inherit;
}
.acc-btn:hover { background: #F7F9FB; }
.acc-btn:hover .acc-title, .acc-btn:hover .acc-sign { color: var(--interact); }
.acc-num { font-family: var(--mono); font-size: 12px; color: var(--muted); padding-top: 7px; flex: none; }
.acc-text { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.acc-title {
  font-weight: 600;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.3;
  letter-spacing: -.015em;
  color: var(--navy-2);
}
.acc-sub { font-size: 15px; line-height: 1.6; color: var(--muted); max-width: 52ch; }
.acc-sign { font-family: var(--mono); font-size: 20px; line-height: 1; color: var(--interact); flex: none; padding-top: 6px; }

.acc-panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(18px, 3vw, 32px);
  padding: 0 clamp(8px, 1.5vw, 16px) clamp(24px, 3.5vw, 34px);
}
@media (min-width: 720px) { .acc-panel { grid-template-columns: 1fr 1fr; } }
.js .acc-panel[hidden] { display: none; }
.acc-panel img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.acc-body { display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.acc-body p { margin: 0; font-size: 16px; line-height: 1.7; color: var(--muted); }

.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  padding: 7px 13px;
  background: var(--surface);
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .06em;
  color: var(--interact);
}
.focus-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.focus-grid span { padding: 12px 14px; border: 1px solid var(--line); font-size: 14px; line-height: 1.4; color: var(--navy-2); }

/* ---------- Über uns ---------- */

.about-layout { display: flex; flex-wrap: wrap; gap: clamp(28px, 5vw, 64px); align-items: center; }
.about-text { flex: 1 1 320px; display: flex; flex-direction: column; gap: 20px; }
.about-text .lead { max-width: 56ch; }
.about-media { flex: 1 1 320px; min-width: 280px; }
.about-media img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.about-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; margin-top: 4px; }
.about-cards div {
  padding: 18px 20px;
  border: 1px solid rgba(154, 175, 195, .3);
  font-size: 15px;
  line-height: 1.45;
  color: #FFFFFF;
}

/* ---------- Vorgehen ---------- */

.steps-section { position: relative; background: var(--navy-2); isolation: isolate; }
.steps-section .bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .28;
  z-index: 0;
}
.steps-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(17, 26, 41, .92), rgba(11, 22, 40, .95));
}
.steps-section > .shell { position: relative; z-index: 2; }
.steps-head { display: flex; flex-direction: column; gap: 16px; margin-bottom: clamp(26px, 4vw, 44px); }
.steps-head h2 { max-width: 30ch; }
.steps-grid { display: grid; grid-template-columns: 1fr; gap: 14px; align-items: stretch; }
@media (min-width: 640px) { .steps-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .steps-grid { grid-template-columns: repeat(4, 1fr); } }
.step {
  background: var(--navy);
  border: 1px solid rgba(154, 175, 195, .28);
  padding: clamp(22px, 3vw, 30px);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.step .num { font-family: var(--mono); font-size: 12px; color: var(--steel); }
.step h3 { margin: 0; font-weight: 600; font-size: clamp(18px, 2vw, 22px); color: #FFFFFF; }
.step p { margin: 0; font-size: 15px; line-height: 1.65; color: var(--on-dark-2); }

.steps-cta {
  margin-top: clamp(26px, 4vw, 40px);
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(154, 175, 195, .28);
  padding-top: clamp(22px, 3vw, 32px);
}
.steps-cta p { margin: 0; font-size: 17px; line-height: 1.6; color: var(--on-dark); max-width: 52ch; }

/* ---------- Kontakt ---------- */

.contact-layout { display: flex; flex-wrap: wrap; gap: clamp(28px, 5vw, 64px); align-items: flex-start; }
.contact-info { flex: 1 1 300px; display: flex; flex-direction: column; gap: 22px; }
.contact-info h2 { max-width: 20ch; }
.contact-head { display: flex; flex-direction: column; gap: 14px; }
.contact-head p { margin: 0; font-size: clamp(16px, 1.7vw, 17px); line-height: 1.7; color: var(--muted); max-width: 46ch; }
.contact-list { display: flex; flex-direction: column; gap: 10px; padding-top: 20px; border-top: 1px solid #DEE3EA; }
.contact-row { display: flex; gap: 14px; align-items: baseline; }
.contact-row dt {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--muted);
  width: 78px;
  flex: none;
}
.contact-row dd { margin: 0; font-size: 16px; line-height: 1.55; color: var(--navy-2); }
.contact-row a { display: inline-flex; align-items: center; min-height: 44px; color: var(--navy-2); text-decoration: underline; text-underline-offset: 3px; }
.contact-row a:hover { color: var(--interact); }

.contact-form {
  flex: 1 1 380px;
  background: #FFFFFF;
  padding: clamp(22px, 3.5vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 18px;
  border: 1px solid var(--line);
}
.field-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 560px) { .field-grid { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: 7px; }
.field > span, .field > label:not(.consent) {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .12em;
  color: var(--muted);
}
.field input, .field textarea {
  padding: 13px 14px;
  border: 1px solid var(--field-border);
  background: #FFFFFF;
  font-size: 16px;
  line-height: 1.55;
  color: var(--navy-2);
}
.field input { height: 48px; padding-top: 0; padding-bottom: 0; }
.field textarea { resize: vertical; min-height: 132px; }
.field input:focus, .field textarea:focus { border-color: var(--interact); }
.field [aria-invalid="true"] { border-color: var(--error); border-width: 2px; }
.field-error { margin: 0; font-size: 14px; line-height: 1.5; color: var(--error); }
.js .field-error:empty { display: none; }
.hint { margin: 0; font-size: 14px; color: var(--muted); }

.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.consent { display: flex; gap: 11px; align-items: flex-start; cursor: pointer; }
.consent input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--interact); flex: none; }
.consent span { font-size: 14px; line-height: 1.6; color: var(--muted); }
.consent a { text-decoration: underline; text-underline-offset: 3px; }

.form-actions { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.form-actions .btn { align-self: flex-start; }
@media (max-width: 479px) {
  .form-actions { align-items: stretch; }
  .form-actions .btn { width: 100%; align-self: stretch; }
}
.form-status { margin: 0; min-height: 22px; font-size: 15px; line-height: 1.55; color: var(--muted); }
.form-status[data-state="error"] { color: var(--error); }
.form-status[data-state="ok"] { color: var(--success); }

/* ---------- Footer ---------- */

.site-footer { background: var(--navy-2); }
.footer-inner {
  padding-top: clamp(28px, 4vw, 44px);
  padding-bottom: clamp(28px, 4vw, 44px);
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}
@media (min-width: 760px) {
  .footer-inner { flex-direction: row; align-items: center; justify-content: space-between; }
}
.footer-inner img { height: 24px; width: auto; }
.footer-links { display: flex; flex-direction: column; gap: 4px; }
@media (min-width: 560px) { .footer-links { flex-direction: row; align-items: center; gap: 24px; } }
.footer-links a {
  display: flex;
  align-items: center;
  min-height: 44px;
  font-size: 14px;
  color: var(--on-dark);
}
.footer-links a:hover { color: var(--steel); }
.footer-copy { font-size: 13px; color: var(--on-dark-2); }

/* ---------- Rechtstexte ---------- */

.legal-main { padding-top: clamp(40px, 7vw, 84px); padding-bottom: clamp(52px, 8vw, 96px); }
.legal-main h1 {
  color: var(--navy-2);
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.1;
  max-width: none;
  margin: 14px 0 clamp(24px, 3.5vw, 40px);
}
.legal-toc {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: clamp(18px, 2.5vw, 24px);
  background: var(--surface);
  margin-bottom: clamp(30px, 4vw, 44px);
}
.legal-toc h2 {
  margin: 0 0 4px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .16em;
  font-weight: 500;
  color: var(--muted);
}
.legal-toc a { display: flex; align-items: center; min-height: 44px; font-size: 16px; }
.legal-section {
  scroll-margin-top: calc(var(--header-h) + 20px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(26px, 3.5vw, 38px) 0;
  border-bottom: 1px solid var(--line);
}
.legal-section:first-of-type { padding-top: 0; }
.legal-section h2 {
  margin: 0;
  font-weight: 700;
  font-size: clamp(21px, 2.4vw, 28px);
  line-height: 1.2;
  letter-spacing: -.02em;
  color: var(--navy-2);
}
.legal-section h3 {
  margin: 8px 0 0;
  font-weight: 600;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.3;
  color: var(--navy-2);
}
.legal-section h4 { margin: 4px 0 0; font-weight: 600; font-size: 16.5px; color: var(--interact); }
.legal-section p, .legal-section li { font-size: 16px; line-height: 1.75; color: var(--body); max-width: 72ch; }
.legal-section p { margin: 0; }
.legal-section ul { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 10px; }
.legal-block { padding: clamp(16px, 2.4vw, 22px); background: var(--surface); display: flex; flex-direction: column; gap: 8px; }
.uppercase { text-transform: uppercase; }
.to-top {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 14.5px;
  color: var(--interact);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legal-source { margin: clamp(24px, 3.5vw, 34px) 0 0; font-size: 14px; line-height: 1.7; color: var(--muted); }

/* ---------- 404 ---------- */

.error-main {
  min-height: calc(100dvh - var(--header-h) - 140px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  padding-top: clamp(56px, 10vw, 120px);
  padding-bottom: clamp(56px, 10vw, 120px);
  align-items: flex-start;
}
.error-main h1 { color: var(--navy-2); font-size: clamp(30px, 4vw, 52px); line-height: 1.1; }
.error-main p { margin: 0; font-size: 17px; color: var(--muted); }


/* ---------- Personenprofil ---------- */

.profile {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: clamp(20px, 3vw, 40px);
  align-items: start;
}
.profile-photo {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: var(--surface);
  border: 1px solid var(--line);
}
.profile-body { display: flex; flex-direction: column; gap: 14px; }
.profile-name { margin: 0; font-weight: 700; font-size: clamp(21px, 2.4vw, 27px); line-height: 1.2; color: var(--navy-2); }
.profile-role { margin: 0; font-family: var(--mono); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--interact); }
.profile-meta { margin: 0; font-size: 15px; line-height: 1.7; color: var(--muted); }
@media (max-width: 680px) {
  .profile { grid-template-columns: 1fr; }
  .profile-photo { max-width: 220px; }
}
