/* ===========================================================
   Björn Kerkmann – Bürgermeister von Heiligenhaus
   Design System
   =========================================================== */

:root {
  /* Palette – CDU-Spektrum, eigenständig interpretiert */
  --c-ink:        #333333;    /* anthrazit statt reinem schwarz */
  --c-ink-2:      #3a3a3a;    /* surfaces */
  --c-ink-3:      #424246;    /* cards */
  --c-line:       #4a4a4e;    /* hairlines */
  --c-line-2:     #5a5a5e;
  --c-cream:      #f4efe6;    /* warmes papier-creme */
  --c-cream-2:    #ecdfca;    /* dezent gelblich */
  --c-paper:      #faf6ee;
  --c-orange:     #f7a418;    /* primär – Logo-Gold, einzige Akzentfarbe */
  --c-orange-2:   #f7a418;    /* alias — eine Akzentfarbe */
  --c-orange-3:   #f7a418;    /* alias — eine Akzentfarbe */
  --c-text:       #f5f1ea;
  --c-muted:      #b8b8bc;
  --c-muted-dk:   #56575b;

  /* Type */
  --font-display: 'Archivo', 'Archivo Black', system-ui, sans-serif;
  --font-body:    'Manrope', system-ui, sans-serif;

  /* Sizing */
  --container: 1320px;
  --gutter: clamp(20px, 4vw, 56px);
  --radius: 4px;

  /* Motion */
  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; }

html {
  overflow-x: hidden;
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--c-ink);
  color: var(--c-text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  overflow-x: hidden;
  position: relative;
}

h1, h2, h3, h4 { overflow-wrap: break-word; }

img { max-width: 100%; display: block; }

a {
  color: inherit;
  text-decoration: none;
}

/* Selection */
::selection { background: var(--c-orange); color: #fff; }

/* ---------- Layout helpers ---------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--gutter);
  width: 100%;
}

.section {
  padding-block: clamp(80px, 10vw, 140px);
  position: relative;
  overflow: hidden;
  max-width: 100%;
}

.section--dark   { background: var(--c-ink);   color: var(--c-text); }
.section--ink    { background: var(--c-ink-2); color: var(--c-text); }
.section--cream  { background: var(--c-cream); color: var(--c-ink); }
.section--paper  { background: var(--c-paper); color: var(--c-ink); }

/* ---------- Type ---------- */
.eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--c-orange);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--c-orange);
}
.section--cream .eyebrow { color: var(--c-orange-3); }
.section--cream .eyebrow::before { background: var(--c-orange-3); }

.display {
  font-family: var(--font-display);
  font-weight: 900;
  line-height: .92;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin: 0;
}
.display--xl { font-size: clamp(40px, 9vw, 148px); }
.display--lg { font-size: clamp(32px, 6.4vw, 96px); }
.display--md { font-size: clamp(26px, 4.6vw, 64px); }
.display--sm { font-size: clamp(22px, 3vw, 40px); }

.lede {
  font-size: clamp(18px, 1.4vw, 22px);
  line-height: 1.5;
  color: var(--c-muted);
  max-width: 56ch;
}
.section--cream .lede,
.section--paper .lede { color: #4a4a4d; }

.kicker {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-size: 13px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 26px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: .08em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform .15s var(--ease), background-color .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--c-orange);
  color: #fff;
}
.btn--primary:hover { background: var(--c-orange-2); }

.btn--ghost {
  background: transparent;
  color: currentColor;
  border-color: currentColor;
}
.btn--ghost:hover {
  background: currentColor;
  color: var(--c-ink);
}

.btn .arrow {
  width: 14px; height: 14px;
  display: inline-block;
}

/* ---------- Top Nav ---------- */
.topnav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 18px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background-color .25s var(--ease), backdrop-filter .25s var(--ease);
}
.topnav::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(51,51,51,.55) 0%, rgba(51,51,51,0) 100%);
  pointer-events: none;
  z-index: -1;
  transition: opacity .25s var(--ease);
}
.topnav.is-scrolled::before { opacity: 0; }
.topnav.is-scrolled {
  background: rgba(51,51,51, .88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--c-line);
}
.topnav__brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.topnav__mark {
  width: 44px; height: 44px;
  display: grid; place-items: center;
}
.topnav__mark img { width: 100%; height: 100%; object-fit: contain; }
.topnav__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: .14em;
  text-transform: uppercase;
  line-height: 1;
}
.topnav__name small {
  display: block;
  font-size: 10px;
  letter-spacing: .22em;
  color: var(--c-muted);
  margin-top: 4px;
  font-weight: 600;
}
.topnav__links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 700;
  font-family: var(--font-display);
}
.topnav__links a {
  color: var(--c-text);
  opacity: .8;
  transition: opacity .2s, color .2s;
  position: relative;
  padding-block: 6px;
}
.topnav__links a:hover { opacity: 1; color: var(--c-orange); }

.topnav__cta {
  padding: 10px 18px;
  font-size: 12px;
}

/* Burger (mobile only) */
.topnav__burger {
  display: none;
  width: 44px; height: 44px;
  background: transparent;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: var(--radius);
  padding: 0;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  flex: none;
}
.topnav__burger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--c-text);
  transition: transform .25s var(--ease), opacity .2s;
}
.topnav__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.topnav__burger.is-open span:nth-child(2) { opacity: 0; }
.topnav__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 49;
  background: rgba(51,51,51,.97);
  backdrop-filter: blur(12px);
  display: none;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 14px;
  padding: 100px var(--gutter) 60px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.mobile-menu a {
  color: var(--c-text);
  padding: 16px 4px;
  border-bottom: 1px solid var(--c-line);
}
.mobile-menu a.btn {
  margin-top: 24px;
  border-bottom: 0;
  text-align: center;
  justify-content: center;
}
.mobile-menu.is-open { display: flex; }
body.menu-locked { overflow: hidden; }

@media (max-width: 880px) {
  .topnav__links { display: none; }
  .topnav__burger { display: flex; }
  .topnav__name small { font-size: 9px; }
}
@media (max-width: 480px) {
  .topnav { padding: 14px var(--gutter); }
  .topnav__mark { width: 36px; height: 36px; }
  .topnav__name { font-size: 12px; }
  .topnav__name small { display: none; }
}

/* ---------- HERO ---------- */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: stretch;
  background: var(--c-ink);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(80% 60% at 80% 30%, rgba(226,88,34,.18), transparent 60%),
    radial-gradient(50% 40% at 10% 90%, rgba(226,88,34,.10), transparent 60%),
    var(--c-ink);
  pointer-events: none;
}

.hero__grid {
  position: relative;
  z-index: 2;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: stretch;
  padding-top: 110px;
}

.hero__left {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: 60px var(--gutter) 60px var(--gutter);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 36px;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--c-muted);
  font-weight: 700;
}
.hero__pulse {
  width: 8px; height: 8px;
  background: var(--c-orange);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(226,88,34,.7);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(226,88,34,.7); }
  70%  { box-shadow: 0 0 0 14px rgba(226,88,34,0); }
  100% { box-shadow: 0 0 0 0 rgba(226,88,34,0); }
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(44px, 5.6vw, 96px);
  line-height: .9;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin: 0;
}
.hero__title span.accent { color: var(--c-orange); }
.hero__title span.line {
  display: block;
}
.hero__title em {
  font-style: normal;
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: var(--c-cream);
}

.hero__sub {
  max-width: 52ch;
  font-size: clamp(16px, 1.2vw, 19px);
  line-height: 1.6;
  color: var(--c-muted);
}

.hero__cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Bleed: Portrait füllt den ganzen Hero-Bereich, Text liegt drüber */
.hero__right {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: var(--c-ink-2);
  overflow: hidden;
}
.hero__portrait {
  position: absolute;
  inset: 0;
  background-image: url('assets/portrait.jpg');
  background-size: cover;
  background-position: 95% 22%;
  filter: contrast(1.05) saturate(.95);
}
.hero__portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(95deg,
      rgba(20,20,22,.82) 0%,
      rgba(20,20,22,.55) 20%,
      rgba(20,20,22,.20) 38%,
      rgba(20,20,22,0) 58%),
    linear-gradient(180deg, rgba(20,20,22,0) 60%, rgba(20,20,22,.45) 100%);
}
.hero__rightMeta {
  position: absolute;
  bottom: 28px;
  left: 28px;
  right: 28px;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
  font-weight: 700;
}
.hero__rightMeta .city {
  font-size: 14px;
  letter-spacing: .22em;
}

.hero__ticker {
  position: relative;
  z-index: 3;
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
  margin-top: -1px;
  padding: 18px 0;
  background: var(--c-ink);
  overflow: hidden;
}
.hero__ticker-track {
  display: flex;
  gap: 56px;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-size: 13px;
  color: var(--c-muted);
  white-space: nowrap;
  animation: marquee 40s linear infinite;
  width: max-content;
}
.hero__ticker-track span.dot {
  color: var(--c-orange);
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (max-width: 980px) {
  .hero__grid { padding-top: 90px; }
  .hero__left { max-width: none; padding: 40px var(--gutter) 60px var(--gutter); }
  .hero__portrait { background-position: 70% 18%; }
  .hero__portrait::after {
    background:
      linear-gradient(180deg,
        rgba(51,51,51,.35) 0%,
        rgba(51,51,51,.15) 30%,
        rgba(51,51,51,.7) 65%,
        rgba(51,51,51,.95) 100%);
  }
  .hero__rightMeta { bottom: 18px; left: 18px; right: 18px; }
}

@media (max-width: 640px) {
  .hero { min-height: 88vh; }
  .hero__title { font-size: clamp(30px, 11vw, 56px); }
  .hero__sub { font-size: 15px; }
  .hero__cta .btn { padding: 14px 18px; font-size: 13px; }
  .hero__left { max-width: 100%; padding: 30px var(--gutter) 50px; gap: 28px; }
  .hero__meta { font-size: 11px; gap: 8px; flex-wrap: wrap; }
  .hero__rightMeta { font-size: 9px; bottom: 12px; left: 14px; right: 14px; }
  .hero__rightMeta .city { font-size: 11px; }
}

/* ---------- STATEMENT ---------- */
.statement {
  padding: clamp(100px, 14vw, 200px) var(--gutter);
}
.statement__inner {
  max-width: 1100px;
  margin: 0 auto;
}
.statement__quote {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(26px, 6vw, 88px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--c-ink);
  overflow-wrap: break-word;
}
.statement__quote .em {
  color: var(--c-orange-3);
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -.01em;
}
.statement__attr {
  margin-top: 40px;
  display: flex;
  align-items: center;
  gap: 18px;
  color: #555;
}
.statement__attr .rule {
  width: 60px;
  height: 2px;
  background: var(--c-ink);
  flex: none;
}
.statement__signoff { display: flex; flex-direction: column; gap: 2px; }
.statement__signoff .signature { line-height: .95; }
.statement__where {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #888;
}

/* ---------- SCHWERPUNKTE ---------- */
.fields {
  background: var(--c-paper);
  color: var(--c-ink);
}
.fields__head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 80px;
}
.fields__head h2 { max-width: 14ch; }

.fields__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--c-line);
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
}
.fields__grid {
  background: #e0d6c4;
  border-color: #e0d6c4;
}
.field {
  background: var(--c-paper);
  padding: 44px 36px 52px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  transition: background-color .25s var(--ease);
  min-height: 360px;
}
.field:hover { background: #fffaf0; }
.field__num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 14px;
  color: var(--c-orange);
  letter-spacing: .12em;
}
.field__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin: 4px 0 12px;
  color: var(--c-ink);
}
.field__body {
  color: #4a4a4d;
  font-size: 15px;
  line-height: 1.6;
}
.field__more {
  margin-top: auto;
  padding-top: 24px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--c-orange);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
@media (max-width: 880px) {
  .fields__head { grid-template-columns: 1fr; gap: 24px; }
  .fields__grid { grid-template-columns: 1fr; }
}

/* ---------- ÜBER MICH ---------- */
.about {
  background: var(--c-paper);
  color: var(--c-ink);
}
.about__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: start;
}
.about__media {
  position: sticky;
  top: 100px;
  display: grid;
  gap: 16px;
}
.about__photo {
  background-image: url('assets/portrait.jpg');
  background-size: cover;
  background-position: 50% 20%;
  aspect-ratio: 4/5;
  border-radius: 2px;
}
.about__photo--field {
  background-image: url('assets/vor-ort.png');
  background-position: 50% 50%;
  aspect-ratio: 16/10;
}
.about__cap {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #777;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.about__body p {
  font-size: 18px;
  line-height: 1.65;
  color: #2a2a2a;
  margin: 0 0 18px;
}
.about__body p.first::first-letter {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 4em;
  float: left;
  line-height: .85;
  margin: 6px 14px 0 -2px;
  color: var(--c-orange-3);
}
.about__sig {
  margin-top: 30px;
  display: flex;
  align-items: center;
  gap: 20px;
  border-top: 1px solid #d8cdb8;
  padding-top: 24px;
}
.about__sig > div { display: flex; flex-direction: column; gap: 4px; }
.about__sig .signature { line-height: .9; font-size: clamp(36px, 3.6vw, 48px); }
.about__sig .role {
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #777;
  font-weight: 700;
}

.vita {
  margin-top: 56px;
  border-top: 2px solid var(--c-ink);
  padding-top: 28px;
}
.vita__head {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: .2em;
  margin-bottom: 28px;
}
.vita__list {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 4px 0 4px 32px;
}
.vita__list::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 18px;
  bottom: 18px;
  width: 2px;
  background: linear-gradient(180deg, var(--c-orange) 0%, var(--c-orange) 70%, transparent 100%);
}
.vita__item {
  position: relative;
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 24px;
  padding: 18px 16px 18px 0;
  border-bottom: 1px solid #e5dfd0;
  border-radius: 4px;
  transition: background-color .25s var(--ease), transform .25s var(--ease), padding .25s var(--ease);
  opacity: 0;
  transform: translateY(12px);
}
.vita__item.is-in { opacity: 1; transform: none; }
.vita__item:nth-child(1).is-in { transition-delay: 0ms; }
.vita__item:nth-child(2).is-in { transition-delay: 70ms; }
.vita__item:nth-child(3).is-in { transition-delay: 140ms; }
.vita__item:nth-child(4).is-in { transition-delay: 210ms; }
.vita__item:nth-child(5).is-in { transition-delay: 280ms; }
.vita__item:nth-child(6).is-in { transition-delay: 350ms; }
.vita__item:last-child { border-bottom: 0; }
.vita__item::before {
  content: "";
  position: absolute;
  left: -32px;
  top: 24px;
  width: 12px; height: 12px;
  background: var(--c-orange);
  border-radius: 50%;
  border: 3px solid var(--c-paper);
  box-shadow: 0 0 0 2px var(--c-orange);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .2s;
}
.vita__item:hover {
  background: rgba(247,164,24,.06);
  transform: translateX(4px);
  padding-left: 14px;
}
.vita__item:hover::before {
  transform: scale(1.45);
  box-shadow: 0 0 0 5px rgba(247,164,24,.22);
}
.vita__year {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 13px;
  color: var(--c-orange-3);
  letter-spacing: .06em;
  line-height: 1.35;
}
.vita__what { font-size: 15px; color: #333; line-height: 1.55; }
.vita__what strong { display: block; margin-top: 2px; }

@media (max-width: 540px) {
  .vita__list { padding-left: 24px; }
  .vita__list::before { left: 3px; }
  .vita__item { grid-template-columns: 1fr; gap: 6px; padding: 16px 0; }
  .vita__item::before { left: -24px; top: 22px; }
  .vita__item:hover { transform: none; padding-left: 0; background: transparent; }
}

@media (max-width: 980px) {
  .about__grid { grid-template-columns: 1fr; gap: 40px; }
  .about__media { position: static; }
}

/* ---------- SPRECHSTUNDE / KONTAKT ---------- */
.contact {
  background: var(--c-cream);
  color: var(--c-ink);
}
.contact__head {
  margin-bottom: 64px;
  max-width: 700px;
}
.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
.contact__panel {
  background: var(--c-paper);
  color: var(--c-ink);
  padding: 44px 44px 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-radius: 6px;
}
.contact__panel--form { position: relative; padding-top: 52px; }
.contact__rule {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 6px;
  background: var(--c-orange);
  border-radius: 6px 6px 0 0;
}
.contact__panel h3 {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(22px, 2.2vw, 30px);
  letter-spacing: -0.01em;
  line-height: 1;
  margin: 0;
}
.contact__panel > p { color: #4a4a4d; margin: 0; line-height: 1.55; max-width: 52ch; }

/* Inputs on cream/paper — high contrast */
.contact__panel .form input[type="text"],
.contact__panel .form input[type="email"],
.contact__panel .form textarea {
  background: #fdfaf3;
  border: 1px solid #d8cdb8;
  color: var(--c-ink);
  padding: 13px 14px;
  border-radius: 4px;
  font-size: 15px;
  transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.contact__panel .form input[type="text"]::placeholder,
.contact__panel .form input[type="email"]::placeholder,
.contact__panel .form textarea::placeholder { color: #a59d8a; }
.contact__panel .form input[type="text"]:focus,
.contact__panel .form input[type="email"]:focus,
.contact__panel .form textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--c-orange);
  box-shadow: 0 0 0 3px rgba(247,164,24,.20);
}
.contact__panel .form__lbl { color: #5a5a5e; }
.contact__panel .form__check { color: #4a4a4d; }
.contact__panel .form__check a { color: var(--c-ink); }
.contact__panel .form__submit { width: 100%; justify-content: center; padding: 16px 22px; }
.contact__panel .form__status.is-ok    { color: #2f7a2f; }
.contact__panel .form__status.is-error { color: #b03030; }

/* Info-aside: stacked small cards */
.contact__aside {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.info-card {
  background: var(--c-paper);
  border-radius: 6px;
  padding: 24px 26px;
  border-left: 3px solid var(--c-orange);
}
.info-card .eyebrow { margin-bottom: 10px; }
.info-card__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -.01em;
  margin: 0 0 8px;
  text-transform: none;
}
.info-card__body {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: #4a4a4d;
}
.info-card__body small { color: #777; font-size: 12.5px; }
.info-card__addr {
  margin: 12px 0 0;
  font-size: 13px;
  color: #6a6a6e;
  line-height: 1.5;
  padding-top: 12px;
  border-top: 1px solid #ece4d2;
}
.info-card__link {
  color: var(--c-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
}
.info-card__link:hover { color: var(--c-orange); }
.info-card__social {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.info-card__social a {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--c-ink);
  padding: 12px 14px;
  background: #fdfaf3;
  border: 1px solid #ece4d2;
  border-radius: 4px;
  transition: border-color .2s, color .2s, background .2s;
}
.info-card__social a:hover {
  border-color: var(--c-orange);
  color: var(--c-orange);
  background: #fff;
}
.info-card__ico { width: 18px; height: 18px; flex: none; }
.info-card__lbl { flex: 1; }
.info-card__arr { opacity: .55; transition: transform .2s var(--ease), opacity .2s; }
.info-card__social a:hover .info-card__arr { transform: translateX(3px); opacity: 1; }

@media (max-width: 880px) {
  .contact__grid { grid-template-columns: 1fr; }
  .contact__panel { padding: 36px 28px 32px; }
  .contact__panel--form { padding-top: 44px; }
}

/* ---------- Signature ---------- */
.signature {
  font-family: 'Caveat', cursive;
  font-weight: 600;
  font-size: clamp(40px, 4vw, 56px);
  line-height: 1;
  color: var(--c-ink);
  margin: 6px 0 0;
  display: inline-block;
}
.signature--dark { color: var(--c-ink); }
.signature--light { color: var(--c-cream); }

/* ---------- AKTUELLES ---------- */
.news__head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 40px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}
.news__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.news__card {
  background: var(--c-paper);
  border: 1px solid #d8cdb8;
  color: var(--c-ink);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color .2s, background-color .2s, transform .2s;
  cursor: pointer;
  min-height: 320px;
}
.news__card:hover { border-color: var(--c-orange); transform: translateY(-2px); }
.news__card .date {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--c-orange);
}
.news__card .cat {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #777;
  border: 1px solid #d8cdb8;
  padding: 4px 8px;
  display: inline-block;
  align-self: flex-start;
  border-radius: 2px;
}
.news__card h3 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 22px;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: -.01em;
  margin: 8px 0 4px;
  color: var(--c-ink);
}
.news__card p {
  margin: 0;
  color: #4a4a4d;
  font-size: 14px;
  line-height: 1.55;
}
.news__card .more {
  margin-top: auto;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--c-orange);
}

@media (max-width: 880px) {
  .news__grid { grid-template-columns: 1fr; }
}

/* ---------- FOOTER ---------- */
.foot {
  background: #2a2a2c;
  color: var(--c-muted);
  padding: 80px var(--gutter) 30px;
  border-top: 1px solid var(--c-line);
}
.foot__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--c-line);
}
.foot__brand {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}
.foot__brand-mark {
  width: 72px; height: 72px;
  flex-shrink: 0;
}
.foot__brand-mark img { width: 100%; height: 100%; object-fit: contain; }
.foot__brand h4 {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -.01em;
  font-size: 22px;
  color: var(--c-text);
  margin: 0 0 6px;
  line-height: 1;
}
.foot__brand p {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
}
.foot__col h5 {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: .2em;
  color: var(--c-text);
  margin: 0 0 16px;
}
.foot__col ul {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  gap: 10px;
}
.foot__col a { font-size: 14px; color: var(--c-muted); transition: color .2s; }
.foot__col a:hover { color: var(--c-orange); }

.foot__social {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}
.foot__social a {
  width: 38px; height: 38px;
  border: 1px solid var(--c-line-2);
  display: grid; place-items: center;
  color: var(--c-muted);
  transition: all .2s;
}
.foot__social a:hover { color: var(--c-orange); border-color: var(--c-orange); }
.foot__social svg { width: 16px; height: 16px; }

.foot__bot {
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-size: 12px;
  letter-spacing: .04em;
  flex-wrap: wrap;
}
.foot__legal {
  display: flex;
  gap: 22px;
}
.foot__legal a:hover { color: var(--c-orange); }

@media (max-width: 880px) {
  .foot__top { grid-template-columns: 1fr 1fr; gap: 36px; }
  .foot__brand { grid-column: 1 / -1; }
}

/* ---------- Inline icons ---------- */
.i-arrow {
  display: inline-block;
  width: 14px; height: 14px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.5'><path d='M5 12h14M13 5l7 7-7 7'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  vertical-align: middle;
}

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Co-branding: CDU Logo ---------- */
.topnav__cobrand {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-left: 16px;
  margin-left: 4px;
  border-left: 1px solid rgba(255,255,255,.18);
  cursor: pointer;
  transition: opacity .2s;
}
.topnav__cobrand:hover { opacity: .85; }
.topnav__cobrand img { height: 28px; width: auto; display: block; background: #fff; padding: 4px 6px; border-radius: 2px; transition: transform .25s var(--ease); }
.topnav__cobrand:hover img { transform: translateY(-1px); }
@media (max-width: 640px) {
  .topnav__cobrand { display: none; }
}

.foot__cdu {
  margin-top: 14px;
  background: #fff;
  padding: 8px 10px;
  border-radius: 2px;
  display: inline-block;
  transition: opacity .2s, transform .25s var(--ease);
}
.foot__cdu:hover { opacity: .85; transform: translateY(-1px); }
.foot__cdu img { height: 28px; display: block; }

/* ---------- Cookie banner ---------- */
.cookie {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 100;
  max-width: 560px;
  background: #fff;
  color: var(--c-ink);
  border: 1px solid #e5dfd0;
  box-shadow: 0 20px 60px rgba(0,0,0,.28);
  padding: 22px 24px;
  border-radius: 6px;
  display: none;
}
.cookie.is-open { display: block; animation: cookieIn .35s var(--ease); }
@keyframes cookieIn {
  from { transform: translateY(20px); opacity: 0; }
  to   { transform: none;             opacity: 1; }
}
.cookie h3 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 16px;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin: 0 0 8px;
}
.cookie p {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.55;
  color: #444;
}
.cookie p a { color: var(--c-orange-3); text-decoration: underline; text-underline-offset: 3px; }
.cookie__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie__actions .btn { font-size: 12px; padding: 12px 18px; }
.cookie__actions .btn--ghost { color: var(--c-ink); border-color: var(--c-ink); }
.cookie__actions .btn--ghost:hover { background: var(--c-ink); color: #fff; }

/* ---------- Legal pages ---------- */
.legal {
  max-width: 820px;
  margin: 0 auto;
  padding: 140px var(--gutter) 100px;
  color: var(--c-ink);
  background: var(--c-paper);
}
.legal-wrap { background: var(--c-paper); min-height: 100vh; }
.legal h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(40px, 6vw, 72px);
  line-height: .95;
  letter-spacing: -.02em;
  text-transform: uppercase;
  margin: 0 0 40px;
}
.legal h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -.01em;
  margin: 40px 0 12px;
  text-transform: uppercase;
}
.legal h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin: 28px 0 8px;
}
.legal p, .legal li {
  font-size: 16px;
  line-height: 1.65;
  color: #2a2a2a;
}
.legal p { margin: 0 0 14px; }
.legal ul { padding-left: 20px; margin: 0 0 14px; }
.legal a { color: var(--c-orange-3); text-decoration: underline; text-underline-offset: 3px; }
.legal strong { font-weight: 700; }
.legal__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--c-orange-3);
  margin-bottom: 40px;
  text-decoration: none !important;
}

/* ---------- Contact form ---------- */
.form { display: grid; gap: 14px; margin-top: 22px; }
.form__row { display: grid; gap: 6px; }
.form__lbl {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  opacity: .85;
}
.form input[type="text"],
.form input[type="email"],
.form textarea {
  width: 100%;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.30);
  color: inherit;
  font: inherit;
  padding: 14px 14px;
  border-radius: var(--radius);
  transition: border-color .2s, background-color .2s;
}
.form input[type="text"]:focus,
.form input[type="email"]:focus,
.form textarea:focus {
  outline: none;
  border-color: #fff;
  background: rgba(255,255,255,.16);
}
.form textarea { resize: vertical; min-height: 120px; font-family: inherit; }
.form__check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  line-height: 1.5;
  margin-top: 4px;
  cursor: pointer;
}
.form__check input { margin-top: 4px; flex: none; }
.form__check a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.form { position: relative; }
.form__hp { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; opacity: 0; pointer-events: none; }
.form__actions { margin-top: 8px; }
.form__submit { border: none; }
.form__submit[disabled] { opacity: .6; cursor: progress; }
.form__status {
  margin: 8px 0 0;
  min-height: 1.4em;
  font-size: 14px;
  font-weight: 500;
}
.form__status.is-ok    { color: #b8f5b8; }
.form__status.is-error { color: #ffb8b8; }

/* ---------- Topic teaser cards (Startseite) ---------- */
.topics {
  background: var(--c-ink);
  color: var(--c-text);
}
.topics__head {
  margin-bottom: 56px;
  max-width: 720px;
}
.topics__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.topic-card {
  display: flex;
  flex-direction: column;
  background: var(--c-ink-2);
  border: 1px solid var(--c-line);
  border-radius: 6px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform .25s var(--ease), border-color .25s, background-color .25s;
}
.topic-card:hover {
  transform: translateY(-4px);
  border-color: var(--c-orange);
  background: var(--c-ink-3);
}
.topic-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.topic-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.topic-card:hover .topic-card__media img { transform: scale(1.04); }
.topic-card__num {
  position: absolute;
  top: 12px; left: 14px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: .2em;
  color: #fff;
  background: rgba(0,0,0,.55);
  padding: 6px 10px;
  border-radius: 2px;
}
.topic-card__body {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.topic-card__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 22px;
  letter-spacing: -.01em;
  text-transform: uppercase;
  margin: 0;
  line-height: 1.05;
}
.topic-card__excerpt {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--c-muted);
}
.topic-card__more {
  margin-top: auto;
  padding-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--c-orange);
}
@media (max-width: 980px) {
  .topics__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .topics__grid { grid-template-columns: 1fr; }
}

/* ---------- Topic detail pages ---------- */
.topic-hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: flex-end;
  padding: 140px var(--gutter) 80px;
  background: var(--c-ink);
  color: var(--c-text);
  overflow: hidden;
}
.topic-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: contrast(1.05) saturate(.95);
}
.topic-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(51,51,51,.4) 0%, rgba(51,51,51,.2) 35%, rgba(51,51,51,.85) 100%),
    linear-gradient(90deg, rgba(51,51,51,.7) 0%, rgba(51,51,51,.1) 60%);
}
.topic-hero__inner {
  position: relative;
  z-index: 2;
  max-width: 820px;
}
.topic-hero__crumb {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--c-orange);
  margin-bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.topic-hero__crumb a { color: var(--c-muted); text-decoration: none; }
.topic-hero__crumb a:hover { color: #fff; }
.topic-hero__crumb .sep { opacity: .4; }
.topic-hero__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(30px, 6vw, 88px);
  line-height: .95;
  letter-spacing: -.02em;
  text-transform: uppercase;
  margin: 0 0 22px;
  overflow-wrap: break-word;
}
.topic-hero__lede {
  font-size: clamp(17px, 1.4vw, 22px);
  line-height: 1.55;
  color: var(--c-cream);
  max-width: 64ch;
  margin: 0;
}

.topic-body {
  background: var(--c-paper);
  color: var(--c-ink);
  padding: clamp(60px, 8vw, 120px) var(--gutter);
}
.topic-body__inner {
  max-width: 760px;
  margin: 0 auto;
}
.topic-body h2 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.1;
  letter-spacing: -.01em;
  margin: 56px 0 18px;
  text-transform: uppercase;
}
.topic-body h2:first-child { margin-top: 0; }
.topic-body h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(18px, 1.6vw, 22px);
  margin: 36px 0 12px;
  letter-spacing: -.01em;
}
.topic-body p { font-size: 17px; line-height: 1.7; margin: 0 0 18px; color: #2e2e30; }
.topic-body ul, .topic-body ol {
  font-size: 17px;
  line-height: 1.7;
  color: #2e2e30;
  padding-left: 22px;
  margin: 0 0 22px;
}
.topic-body li { margin-bottom: 6px; }
.topic-body strong { font-weight: 700; }
.topic-body em { font-style: italic; color: #1a1a1c; }

.topic-goal {
  margin: 56px 0 0;
  background: var(--c-cream);
  border-left: 4px solid var(--c-orange);
  padding: 28px 32px;
  border-radius: 0 6px 6px 0;
}
.topic-goal .eyebrow { color: var(--c-orange); margin-bottom: 12px; }
.topic-goal p {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.35;
  color: var(--c-ink);
  margin: 0;
}

.topic-cta {
  background: var(--c-ink);
  color: var(--c-text);
  padding: clamp(60px, 8vw, 100px) var(--gutter);
  text-align: center;
}
.topic-cta__inner { max-width: 680px; margin: 0 auto; }
.topic-cta h2 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(28px, 3.6vw, 48px);
  line-height: 1.1;
  letter-spacing: -.01em;
  text-transform: uppercase;
  margin: 0 0 18px;
}
.topic-cta p { color: var(--c-muted); margin: 0 0 28px; font-size: 17px; line-height: 1.55; }

.bildnachweis {
  background: var(--c-paper);
  color: #555;
  padding: 24px var(--gutter);
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
  border-top: 1px solid #e5dfd0;
}
.bildnachweis a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

/* ---------- About: single-media variant ---------- */
.about__media--single .about__photo { aspect-ratio: 4/5; }

/* ===========================================================
   MOBILE-RESPONSIVE HARDENING
   =========================================================== */

/* Grid/flex children dürfen schrumpfen (verhindert horizontal Overflow) */
.contact__grid > *,
.topics__grid > *,
.about__grid > *,
.fields__grid > *,
.hero__grid > *,
.foot__top > *,
.about__media,
.about__body,
.contact__panel,
.contact__aside,
.info-card,
.field,
.topic-card { min-width: 0; max-width: 100%; }

img, svg, video { max-width: 100%; height: auto; }

/* Fields card padding mobile-friendly */
@media (max-width: 540px) {
  .field { padding: 32px 22px 36px; }
}

@media (max-width: 768px) {
  :root { --gutter: clamp(16px, 4vw, 24px); }
  .section { padding-block: clamp(60px, 12vw, 100px); }
  .topics__head, .contact__head, .fields__head, .hero__sub, .lede { max-width: 100%; }
  .topic-card__title { font-size: 20px; }
  .info-card { padding: 22px 22px; }
  .contact__panel { padding: 32px 24px 28px; }
  .contact__panel--form { padding-top: 40px; }
  .topic-hero { min-height: 60vh; padding: 120px var(--gutter) 60px; }
  .topic-body { padding: clamp(40px, 10vw, 80px) var(--gutter); }
  .topic-body p, .topic-body li { font-size: 16px; }
  .topic-body h2 { margin: 40px 0 14px; }
  .about__grid { gap: 32px; }
}

@media (max-width: 480px) {
  :root { --gutter: 16px; }
  .hero__title { font-size: clamp(34px, 12vw, 56px); }
  .statement__quote { font-size: clamp(22px, 7vw, 40px); }
  .hero__cta { gap: 10px; }
  .hero__cta .btn { width: 100%; justify-content: center; padding: 14px 16px; font-size: 12px; }
  .topic-hero__title { font-size: clamp(26px, 8vw, 40px); }
  .topic-hero__lede { font-size: 16px; }
  .topic-hero__crumb { font-size: 10px; flex-wrap: wrap; gap: 6px; }
}
