/* ===========================================================================
   Denis Oetken — CDU Hatten · Globale Styles
   Pures CSS, mobile-first, ohne Framework.
   Breakpoints:  sm 640 · md 768 · lg 1024 · xl 1280
   =========================================================================== */

/* -- Tokens -------------------------------------------------------------- */
:root {
  --cdu-orange: #ffa600;
  --cdu-orange-deep: #ffa600;
  --cdu-red: #ffa600;
  --ink: #0d0d0d;
  --ink-soft: #2a2a2a;
  --muted: #5b6470;
  --line: #e3e6ea;
  --line-strong: #c8ccd2;
  --paper: #ffffff;
  --paper-soft: #f5f6f8;
  --paper-strong: #ebedf1;
  --topbar-bg: #2d3c4b;
  --topbar-fg: #cfcfcf;
  --night: #2d3c4b;

  --container: 1280px;
  --pad-x: 24px;
  --pad-x-lg: 40px;
  --radius: 2px;
  --shadow-card: 0 14px 36px rgba(0,0,0,0.08);

  --warn-bg: #FFF6E0;
  --warn-line: #F5B400;
  --warn-ink: #5b4400;
}

/* -- Reset / Base -------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; background: var(--paper); color: var(--ink); }
body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4, h5, h6, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }

/* -- Layout-Helpers ------------------------------------------------------ */
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--pad-x); }
.no-print {}
.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;
}

@media (min-width: 1024px) {
  .container { padding: 0 var(--pad-x-lg); }
}

/* -- Typografie-Bausteine ----------------------------------------------- */
.font-display { font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; letter-spacing: -0.02em; }
.eyebrow {
  display: inline-block;
  text-transform: uppercase; letter-spacing: 0.18em;
  font-size: 11px; font-weight: 600; color: var(--ink-soft);
}

/* -- CDU-Bausteine ------------------------------------------------------- */
.accent-bars { display: inline-flex; gap: 3px; align-items: flex-end; flex-shrink: 0; }
.accent-bars span { display: block; width: 6px; }
.accent-bars span:nth-child(1) { height: 6px; background: var(--cdu-red); }
.accent-bars span:nth-child(2) { height: 12px; background: var(--cdu-orange); }
.accent-bars span:nth-child(3) { height: 18px; background: var(--ink); }
.accent-bars--inverted span:nth-child(3) { background: #fff; }

.accent-rule { border-left: 3px solid var(--cdu-orange); padding-left: 32px; }

.name-tag {
  display: inline-block; background: #2d3c4b; color: #fff;
  padding: 14px 24px; border-radius: var(--radius);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; font-weight: 800;
  letter-spacing: -0.01em; line-height: 1;
}
.name-tag .first { color: var(--cdu-orange); }

.check-tile {
  width: 28px; height: 28px;
  background: var(--cdu-orange); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--radius); flex-shrink: 0;
}
.check-tile .ic { width: 18px; height: 18px; }

.placeholder-box {
  background: var(--warn-bg);
  border-left: 3px solid var(--warn-line);
  color: var(--warn-ink);
  font-size: 12px; padding: 6px 12px; border-radius: var(--radius);
  display: inline-block; margin-top: 12px;
}

/* -- Icons --------------------------------------------------------------- */
.ic { width: 1em; height: 1em; display: inline-block; vertical-align: -0.125em; flex-shrink: 0; }
.ic-14 { width: 14px; height: 14px; }
.ic-16 { width: 16px; height: 16px; }
.ic-18 { width: 18px; height: 18px; }
.ic-22 { width: 22px; height: 22px; }
.ic-24 { width: 24px; height: 24px; }
.ic-28 { width: 28px; height: 28px; }
.ic-48 { width: 48px; height: 48px; }

/* -- Buttons ------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 20px; border-radius: var(--radius);
  font-size: 14px; font-weight: 600;
  border: 1px solid transparent;
  transition: background .15s, color .15s, border-color .15s;
  cursor: pointer; white-space: nowrap;
}
.btn--small { padding: 8px 16px; }
.btn--primary { background: var(--cdu-orange); color: #fff; }
.btn--primary:hover { background: var(--cdu-orange-deep); }
.btn--ghost { color: var(--ink); border-color: var(--line-strong); background: transparent; }
.btn--ghost:hover { border-color: var(--ink); }
.btn--white { background: #fff; color: var(--night); }
.btn--white:hover { background: var(--cdu-orange); color: #fff; }
.btn--outline-white {
  color: #fff; border-color: rgba(255,255,255,.25); background: transparent;
}
.btn--outline-white:hover { border-color: rgba(255,255,255,.6); }

/* -- TopBar -------------------------------------------------------------- */
.topbar { background: var(--topbar-bg); color: var(--topbar-fg); font-size: 12px; }
.topbar .container {
  min-height: 36px; padding-top: 8px; padding-bottom: 8px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 8px 16px;
}
.topbar a { transition: color .15s; }
.topbar a:hover { color: #fff; }
.topbar-left { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.topbar-sep { opacity: .3; }
.topbar-right { display: none; align-items: center; gap: 18px; }
.topbar-link { display: inline-flex; align-items: center; gap: 6px; }
.topbar-link span { display: none; }
@media (min-width: 640px) { .topbar-right { display: flex; } }
@media (min-width: 768px) { .topbar-link span { display: inline; } }

/* -- Header / Main-Nav --------------------------------------------------- */
.header {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-row {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 16px; padding: 12px 0; }
.brand img { height: 36px; width: auto; }
.brand-text { display: none; flex-direction: column; }
.brand-name {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; font-weight: 800;
  font-size: 18px; line-height: 1; color: var(--ink);
}
.brand-claim {
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  font-weight: 600; margin-top: 4px; color: var(--cdu-orange-deep);
}
@media (min-width: 640px) { .brand-text { display: flex; } }

.mainnav { display: none; align-items: center; gap: 36px; }
.mainnav-link {
  position: relative;
  padding: 22px 4px;
  font-size: 14px; font-weight: 600; letter-spacing: 0.02em;
  color: var(--ink); transition: color .15s;
  display: inline-flex; align-items: center; gap: 4px;
}
.mainnav-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px;
  height: 3px; background: var(--cdu-orange);
  transform: scaleX(0); transform-origin: left;
  transition: transform .2s ease-out;
}
.mainnav-link:hover { color: var(--cdu-orange-deep); }
.mainnav-link:hover::after,
.mainnav-link.is-active::after { transform: scaleX(1); }

.has-submenu { position: relative; }
.submenu {
  position: absolute; top: 100%; left: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 3px solid var(--cdu-orange);
  min-width: 240px; padding: 8px 0;
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
  opacity: 0; visibility: hidden;
  transform: translateY(4px);
  transition: opacity .15s, transform .15s, visibility .15s;
  z-index: 50;
}
.has-submenu:hover > .submenu,
.has-submenu:focus-within > .submenu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.submenu a {
  display: block; padding: 10px 18px; font-size: 14px;
  color: var(--ink-soft); transition: background .12s, color .12s;
}
.submenu a:hover { background: var(--paper-soft); color: var(--cdu-orange-deep); }
.submenu strong { font-weight: 600; }

.header-cta { display: none; }
.burger {
  background: transparent; border: 0; padding: 8px;
  display: inline-flex; color: var(--ink);
}
.burger .ic { width: 28px; height: 28px; }

@media (min-width: 768px) { .header-cta { display: inline-flex; } }
@media (min-width: 1024px) {
  .mainnav { display: flex; }
  .burger { display: none; }
}

/* Mobile-Menu */
.mobile-nav {
  display: none;
  border-top: 1px solid var(--line);
  padding: 12px 0 16px;
}
.mobile-nav.is-open { display: block; }
.mobile-nav a {
  display: block; padding: 10px 0;
  font-size: 15px; font-weight: 600; color: var(--ink);
}
.mobile-nav .btn {
  display: flex; justify-content: center; margin-top: 8px;
}
@media (min-width: 1024px) { .mobile-nav, .mobile-nav.is-open { display: none; } }

/* -- Sections ------------------------------------------------------------ */
.section { padding: 64px 0; }
.section--soft { background: var(--paper-soft); }
.section--bordered { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--dark { background: var(--night); color: #2d3c4b; }
@media (min-width: 1024px) { .section { padding: 96px 0; } }

.section-divider {
  display: flex; align-items: center; gap: 16px; margin-bottom: 48px;
}
.section-divider .line { flex: 1; height: 1px; background: var(--line); }
.section--dark .section-divider .line { background: rgba(255,255,255,.15); }
.section--dark .section-divider .eyebrow { color: #cfcfcf; }

.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; flex-wrap: wrap; margin-bottom: 48px;
}
.section-head__title { margin-top: 12px; }
.eyebrow-row { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }

/* -- Hero ---------------------------------------------------------------- */
.hero { padding: 56px 0 64px; }
@media (min-width: 1024px) { .hero { padding: 80px 0 96px; } }
.hero-grid {
  display: grid; gap: 48px; align-items: center;
}
@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: 1.1fr 1fr; gap: 80px; }
}
.hero-text { max-width: 100%; }
.hero h1 {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 0.95;
  color: var(--ink);
  font-size: clamp(40px, 8vw, 80px);
  margin-bottom: 32px;
}
.hero h1 .name-tag { margin-bottom: 0px; }
.hero-claim {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; font-weight: 600;
  font-size: clamp(20px, 2.5vw, 24px); line-height: 1.2;
  margin-bottom: 40px; color: var(--ink);
}
.hero-claim .row { display: inline-flex; align-items: center; gap: 12px; }
.hero-lead {
  max-width: 560px;
  font-size: 17px; line-height: 1.6; color: var(--ink-soft);
  margin-bottom: 40px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-portrait { position: relative; }
.text-orange { color: var(--cdu-orange); }
.portrait {
  position: relative; overflow: hidden; border-radius: 4px;
  box-shadow: 0 20px 60px -20px rgba(0,0,0,0.25);
}
.portrait::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 6px; background: var(--cdu-orange); z-index: 2;
}
.portrait-card {
  display: none;
  position: absolute; left: -24px; bottom: -24px;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 16px 20px;
  box-shadow: 0 8px 32px rgba(15,23,42,0.10);
  max-width: 280px;
}
.portrait-card .eyebrow { color: var(--cdu-orange-deep); margin-bottom: 4px; }
.portrait-card .name {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; font-weight: 700;
  font-size: 17px; line-height: 1.2; color: var(--ink);
}
.portrait-card .meta { font-size: 12px; color: var(--muted); margin-top: 2px; }
@media (min-width: 1024px) { .portrait-card { display: block; } }

/* -- Aktuelles ----------------------------------------------------------- */
.news-grid { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 768px)  { .news-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .news-grid { grid-template-columns: repeat(3, 1fr); } }
.news-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .18s, box-shadow .18s, border-color .18s;
}
.news-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
  border-color: var(--cdu-orange);
}
.img-ph {
  aspect-ratio: 16 / 10;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--paper-strong) 0%, var(--paper-soft) 100%);
  position: relative; overflow: hidden;
}
.img-ph::after {
  content: ""; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(45deg, transparent 0 12px, rgba(0,0,0,0.025) 12px 13px);
}
.img-ph .ic { color: var(--cdu-orange); opacity: .5; }
.news-card__body { padding: 24px; }
.news-meta {
  display: flex; align-items: center; gap: 12px;
  font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase;
  font-weight: 600; margin-bottom: 12px;
}
.news-meta .kat { color: var(--cdu-orange-deep); }
.news-meta .sep, .news-meta .date { color: var(--muted); }
.news-title {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; font-weight: 700;
  font-size: 18px; line-height: 1.25; color: var(--ink);
  margin-bottom: 12px;
}
.news-text { font-size: 14px; line-height: 1.55; color: var(--ink-soft); margin-bottom: 16px; }
.news-link {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 13px; font-weight: 600; color: var(--cdu-orange-deep);
}

/* -- Themen -------------------------------------------------------------- */
.themen-grid {
  display: grid; gap: 48px; align-items: start;
}
@media (min-width: 1024px) {
  .themen-grid { grid-template-columns: 1fr 2fr; gap: 80px; }
}
.themen-cards {
  display: grid; grid-template-columns: 1fr; gap: 1px;
  background: var(--line); border: 1px solid var(--line);
}
@media (min-width: 640px) { .themen-cards { grid-template-columns: 1fr 1fr; } }
.themen-card { background: var(--paper); padding: 24px; }
@media (min-width: 1024px) { .themen-card { padding: 28px; } }
.themen-card__inner { display: flex; align-items: flex-start; gap: 16px; }
.themen-card .ic { color: var(--cdu-orange); }
.themen-card h3 {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; font-weight: 700;
  font-size: 17px; color: var(--ink); margin-bottom: 6px;
}
.themen-card p { font-size: 14px; line-height: 1.55; color: var(--ink-soft); }

.title-xl {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; font-weight: 800;
  font-size: clamp(32px, 5vw, 44px); line-height: 1.05; color: var(--ink);
}
.title-l {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; font-weight: 800;
  font-size: clamp(26px, 4vw, 36px); line-height: 1.1; color: var(--ink);
}
.lead { font-size: 16px; line-height: 1.65; color: var(--ink-soft); max-width: 420px; margin-top: 24px; }

/* -- Vita ---------------------------------------------------------------- */
.vita-grid {
  display: grid; gap: 48px; align-items: start;
}
@media (min-width: 1024px) {
  .vita-grid { grid-template-columns: 2fr 1fr; gap: 80px; }
}
.vita-list { display: flex; flex-direction: column; gap: 32px; margin-top: 40px; }
.vita-item {
  display: grid; grid-template-columns: 100px 1fr; gap: 16px;
  padding-bottom: 32px; border-bottom: 1px solid var(--line);
}
.vita-item:last-child { border-bottom: 0; padding-bottom: 0; }
.vita-item .eyebrow { color: var(--cdu-orange-deep); padding-top: 4px; }
.vita-item h3 {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; font-weight: 700;
  font-size: 18px; color: var(--ink); margin-bottom: 4px;
}
.vita-item p { font-size: 15px; line-height: 1.6; color: var(--ink-soft); }
@media (min-width: 768px) { .vita-item { grid-template-columns: 120px 1fr; gap: 24px; } }

.fact-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.fact-card .eyebrow { color: var(--cdu-orange-deep); margin-bottom: 12px; }
.fact-card dl { display: flex; flex-direction: column; gap: 16px; }
.fact-card dt {
  font-size: 12px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--muted);
}
.fact-card dd {
  font-weight: 600; color: var(--ink); margin: 2px 0 0;
}
.fact-card dd.display { font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; font-weight: 700; }

/* -- CDU-News-Liste ------------------------------------------------------ */
.list-divider {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.list-row {
  display: grid; gap: 16px; padding: 20px 8px;
  align-items: center; border-bottom: 1px solid var(--line);
  grid-template-columns: 1fr;
  transition: background .12s;
}
.list-row:last-child { border-bottom: 0; }
.list-row:hover { background: var(--paper-soft); }
.list-row .date {
  font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  font-weight: 600; color: var(--cdu-orange-deep);
}
.list-row .title-text {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; font-weight: 600;
  font-size: 16px; line-height: 1.35; color: var(--ink);
}
.list-row .ic { color: var(--cdu-orange-deep); opacity: .5; transition: opacity .15s; display: none; }
.list-row:hover .ic { opacity: 1; }
@media (min-width: 768px) {
  .list-row { grid-template-columns: 100px 1fr auto; gap: 24px; }
  .list-row .title-text { font-size: 18px; }
  .list-row .ic { display: inline-block; }
}

.section-head__link {
  font-size: 14px; font-weight: 600; color: var(--cdu-orange-deep);
  display: inline-flex; align-items: center; gap: 6px;
}

/* -- Kontakt ------------------------------------------------------------- */
.kontakt-grid { display: grid; gap: 48px; align-items: start; }
@media (min-width: 1024px) {
  .kontakt-grid { grid-template-columns: 1.2fr 1fr; gap: 80px; }
}
.kontakt-title {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; font-weight: 800;
  font-size: clamp(32px, 6vw, 56px); line-height: 1; color: #fff;
}
.kontakt-title em { font-style: normal; color: var(--cdu-orange); }
.kontakt-lead {
  margin-top: 24px; max-width: 520px;
  color: rgba(255,255,255,.75); line-height: 1.6;
}
.kontakt-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }

.contact-cards {
  display: grid; grid-template-columns: 1fr;
  gap: 1px; background: rgba(255,255,255,0.10);
}
@media (min-width: 480px) { .contact-cards { grid-template-columns: 1fr 1fr; } }
.contact-card { background: var(--night); padding: 24px; }
.contact-card .ic { color: var(--cdu-orange); }
.contact-card .eyebrow { color: #9ca3af; margin-top: 12px; }
.contact-card .value {
  color: #fff; font-weight: 500; font-size: 14px;
  margin-top: 4px; white-space: pre-line;
}

/* -- Footer -------------------------------------------------------------- */
.footer { background: #2d3c4b; color: #9ca3af; }
.footer .container { padding-top: 56px; padding-bottom: 32px; }
.footer-grid { display: grid; gap: 40px; grid-template-columns: 1fr; }
@media (min-width: 768px)  { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-brand img { height: 32px; width: auto; filter: brightness(0) invert(1); }
.footer-brand .name {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; font-weight: 800;
  font-size: 16px; line-height: 1; color: #fff;
}
.footer-brand .claim {
  font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  font-weight: 600; margin-top: 4px; color: var(--cdu-orange);
}
.footer-text {
  font-size: 13px; line-height: 1.6; max-width: 380px;
}
.footer-social { display: flex; gap: 12px; margin-top: 24px; }
.footer-social a {
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius);
  transition: background .15s, border-color .15s, color .15s;
}
.footer-social a:hover { border-color: var(--cdu-orange); background: var(--cdu-orange); color: #fff; }
.footer-col-title {
  color: #fff; font-size: 12px; letter-spacing: 0.2em;
  text-transform: uppercase; font-weight: 700; margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; font-size: 13px; }
.footer-col a { transition: color .15s; }
.footer-col a:hover { color: #fff; }
.footer-col a.with-icon { display: inline-flex; align-items: center; gap: 4px; }

.footer-bottom {
  margin-top: 48px; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex; flex-direction: column; gap: 16px;
  font-size: 12px;
}
.footer-bottom-left { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.footer-bottom-right { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer-bottom a:hover { color: #fff; }
@media (min-width: 768px) {
  .footer-bottom { flex-direction: row; align-items: center; justify-content: space-between; }
}

/* -- Animationen --------------------------------------------------------- */
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.fade-up { animation: fadeUp .6s ease-out both; }

/* -- Legal-Pages (Impressum / Datenschutz) ------------------------------- */
.legal-page { padding: 56px 0 96px; }
.legal-page h1 {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; font-weight: 800;
  font-size: clamp(32px, 5vw, 44px); line-height: 1.05;
  color: var(--ink); margin-bottom: 32px;
}
.legal-page h2 {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; font-weight: 700;
  font-size: 22px; color: var(--ink); margin: 40px 0 16px;
}
.legal-page h3 {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; font-weight: 600;
  font-size: 17px; color: var(--ink); margin: 24px 0 8px;
}
h4 {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; font-weight: 600;
  font-size: 20px; color: var(--ink); margin: 24px 0 8px;
}
h5 {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; font-weight: 600;
  font-size: 17px; color: var(--ink); margin: 14px 0 8px;
}
.legal-page p, .legal-page li {
  font-size: 15px; line-height: 1.7; color: var(--ink-soft);
}
.legal-page p { margin-bottom: 12px; max-width: 760px; }
.legal-page ul { padding-left: 20px; list-style: disc; max-width: 760px; }
.legal-page li { margin-bottom: 6px; }
.legal-page a { color: var(--cdu-orange-deep); text-decoration: underline; }
.legal-page a:hover { color: var(--cdu-orange); }
.legal-back {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600; color: var(--cdu-orange-deep);
  margin-bottom: 24px;
}
.legal-back .ic { transform: rotate(180deg); }
.legal-stand { margin-top: 48px; font-size: 13px; color: var(--muted); }

/* -- Print --------------------------------------------------------------- */
@media print {
  .no-print, .header, .topbar, .footer, .burger, .mobile-nav { display: none !important; }
  body { color: #000; background: #fff; }
  a { color: #000; text-decoration: underline; }
  .section { padding: 16px 0; }
}

/*------------- Vorstellungstext ---------------------- */
.hero-lead-breit {
  max-width: 1280px;
  font-size: 17px; line-height: 1.6; color: var(--ink-soft);
  margin-bottom: 40px;
}
