:root {
  --red: #e3000f;
  --black: #000;
  --white: #fff;
  --site-max: 1680px;
  --frame-pad: clamp(24px, 4vw, 72px);
  --panel-pad: clamp(32px, 5vw, 88px);
  --content: min(1180px, calc(100% - 48px));
}

* { box-sizing: border-box; }
html { min-height: 100%; scroll-behavior: smooth; scroll-padding-top: 82px; background: #e8e8e8; }
body { width: min(100%, var(--site-max)); min-height: 100vh; margin: 0 auto; overflow-x: clip; background: var(--white); box-shadow: 0 0 50px rgba(0,0,0,.16); color: var(--black); font-family: Arial, Helvetica, sans-serif; font-size: 17px; line-height: 1.58; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.content-width { width: var(--content); margin-inline: auto; }
.skip-link { position: fixed; z-index: 100; top: 8px; left: 8px; padding: 10px 14px; background: var(--black); color: var(--white); transform: translateY(-160%); }
.skip-link:focus { transform: none; }

.site-header { position: sticky; z-index: 30; top: 0; display: flex; min-height: 76px; align-items: center; justify-content: space-between; padding: 9px var(--frame-pad); border-bottom: 0; background: var(--red); box-shadow: 0 5px 16px rgba(0,0,0,.24); }
.brand { display: block; flex: 0 0 auto; }
.brand img { width: 230px; height: auto; }
nav { display: flex; align-items: center; gap: 26px; color: var(--white); font-size: .84rem; font-weight: 800; }
nav a:hover, nav a:focus-visible { color: var(--black); }
.nav-legal { display: none; }
.nav-button { padding: 8px 14px; border: 2px solid var(--white); background: var(--red); color: var(--white); }
.nav-button:hover, .nav-button:focus-visible { background: var(--white); color: var(--red); }
.menu-toggle { display: none; border: 0; background: transparent; color: var(--white); font: inherit; font-size: .78rem; font-weight: 900; text-transform: uppercase; }
.menu-icon { display: grid; width: 27px; gap: 5px; }
.menu-icon i { display: block; height: 3px; background: currentColor; transition: transform .2s ease, opacity .2s ease; }

.eyebrow, .section-label { margin: 0 0 18px; font-size: .75rem; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; }
.hero { position: relative; height: clamp(680px, calc(100svh - 76px), 900px); min-height: 680px; overflow: hidden; background: var(--black); }
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center bottom; }
.hero::after { position: absolute; z-index: 0; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.05), rgba(0,0,0,.22)); content: ""; pointer-events: none; }
.hero-panel { position: relative; z-index: 1; display: flex; width: min(820px, 55%); height: 100%; min-height: 0; flex-direction: column; justify-content: center; padding: clamp(56px, 6vh, 82px) var(--panel-pad); background: var(--red); clip-path: polygon(0 0, 90% 0, 100% 50%, 90% 100%, 0 100%); color: var(--white); }
.hero h1, .manifest h2, .section-intro h2, .photo-statement blockquote, .closing h2, .legal-page h1 { margin: 0; font-weight: 900; letter-spacing: -.06em; line-height: .92; }
.hero h1 { max-width: 680px; font-size: clamp(4rem, 5.7vw, 6.3rem); text-transform: uppercase; }
.hero h1 span { color: var(--black); }
.hero-lead { max-width: 600px; margin: 32px 0 0; font-size: clamp(1.04rem, 1.4vw, 1.28rem); font-weight: 700; }
.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; padding: 12px 20px; border: 2px solid currentColor; font-weight: 900; }
.button-black { border-color: var(--black); background: var(--black); color: var(--white); }

.manifest { padding-block: 125px; }
.manifest h2 { max-width: 1000px; font-size: clamp(3rem, 6vw, 6.2rem); text-transform: uppercase; }
.manifest h2, .team .section-intro h2 { color: var(--red); }
.manifest .section-label, .manifest-copy, .team .section-label, .team .section-intro > p { color: var(--black); }
.manifest-copy { display: grid; max-width: 790px; grid-template-columns: 1fr 1fr; gap: 42px; margin: 48px 0 0 auto; font-size: 1.08rem; }
.manifest-copy p { margin: 0; }

.program { padding-block: 115px; background: var(--red); color: var(--white); }
.section-intro { display: grid; grid-template-columns: 1.35fr .65fr; gap: 50px; align-items: end; margin-bottom: 58px; }
.section-intro h2 { font-size: clamp(3rem, 5.4vw, 5.7rem); text-transform: uppercase; }
.section-intro > p { max-width: 480px; margin: 0; font-weight: 700; }
.program-grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 2px solid var(--white); border-left: 2px solid var(--white); }
.program-card { display: flex; min-height: 485px; flex-direction: column; padding: 34px; border-right: 2px solid var(--white); border-bottom: 2px solid var(--white); }
.card-number { margin: 0 0 48px; font-size: .8rem; font-weight: 900; }
.program-card h3 { margin: 0; font-size: clamp(2.1rem, 3.5vw, 3.7rem); font-weight: 900; letter-spacing: -.055em; line-height: .96; }
.program-card ul { margin: 30px 0; padding: 0; list-style: none; }
.program-card li { position: relative; padding: 9px 0 9px 23px; border-top: 1px solid rgba(255,255,255,.65); }
.program-card li::before { position: absolute; left: 2px; content: "●"; font-size: .55rem; }
.responsible { margin: auto 0 0; padding-top: 18px; border-top: 2px solid var(--white); font-size: .86rem; }
.responsible b { display: block; text-transform: uppercase; }
.download-row { margin: 42px 0 0; text-align: center; }

.photo-statement { display: grid; min-height: 720px; grid-template-columns: .9fr 1.1fr; }
.photo-statement-image { background: url("images/scheune-schmarbeck.jpg") center/cover no-repeat; }
.photo-statement-copy { display: flex; flex-direction: column; justify-content: center; padding: 90px var(--panel-pad); background: var(--black); color: var(--white); }
.photo-statement-copy .section-label { color: var(--red); }
.photo-statement blockquote { margin: 0; font-size: clamp(3rem, 5.4vw, 5.8rem); }

.team { padding-block: 115px; }
.group-photo { position: relative; margin: 0; }
.group-photo img { width: 100%; max-height: 760px; object-fit: cover; object-position: center; }
.group-photo figcaption { position: absolute; right: 0; bottom: 0; padding: 12px 18px; background: var(--black); color: var(--white); font-size: .78rem; font-weight: 800; }
.candidate-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin-top: 26px; border-top: 2px solid var(--black); border-left: 2px solid var(--black); }
.candidate-card { display: flex; min-width: 0; appearance: none; flex-direction: column; overflow: hidden; padding: 0; border: 0; border-right: 2px solid var(--black); border-bottom: 2px solid var(--black); border-radius: 0; background: var(--white); color: var(--black); font: inherit; text-align: left; cursor: pointer; }
.candidate-card img { width: 100%; height: auto; max-height: none; aspect-ratio: 1 / 1.12; flex: 0 0 auto; object-fit: cover; object-position: center 24%; filter: saturate(.9); transition: transform .25s ease, filter .25s ease; }
.candidate-card:hover img { transform: scale(1.025); filter: saturate(1); }
.candidate-card:focus-visible { position: relative; z-index: 1; outline: 5px solid var(--red); outline-offset: -5px; }
.candidate-copy { display: flex; min-height: 310px; flex: 1; flex-direction: column; padding: 20px 18px; }
.list-place { margin: 0 0 8px; color: var(--red); font-size: .72rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.candidate-name { display: block; margin: 0 0 18px; color: var(--red); font-size: 1.48rem; font-weight: 900; letter-spacing: -.045em; line-height: 1; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 20px; padding: 0; list-style: none; }
.tags span { padding: 4px 8px; background: var(--red); color: var(--white); font-size: .71rem; font-weight: 800; }
.candidate-action { margin-top: auto; font-size: .8rem; font-weight: 900; text-decoration: underline; text-underline-offset: 4px; }

body.dialog-open { overflow: hidden; }
.candidate-dialog { width: min(1400px, calc(100vw - 48px)); height: min(900px, calc(100dvh - 48px)); max-width: none; max-height: none; padding: 0; border: 0; background: var(--white); box-shadow: 0 24px 80px rgba(0,0,0,.5); color: var(--black); font-family: Arial, Helvetica, sans-serif; }
.candidate-dialog::backdrop { background: rgba(0,0,0,.88); }
.candidate-dialog-shell { position: relative; height: 100%; min-height: 0; overflow-x: hidden; overflow-y: auto; }
.candidate-dialog form { position: absolute; z-index: 3; top: 20px; right: 20px; margin: 0; }
.candidate-dialog-close { display: grid; width: 54px; height: 54px; place-items: center; padding: 0 0 5px; border: 2px solid var(--white); border-radius: 50%; background: var(--red); color: var(--white); font: inherit; font-size: 2.3rem; line-height: 1; cursor: pointer; }
.candidate-dialog-close:focus-visible { outline: 4px solid var(--black); outline-offset: 3px; }
.candidate-profile { display: grid; height: auto; min-height: 100%; grid-template-columns: minmax(360px, .9fr) minmax(440px, 1.1fr); }
.candidate-profile-image { width: 100%; height: 100%; min-height: 100%; object-fit: cover; object-position: center top; background: #ddd; }
.candidate-profile-copy { display: flex; min-height: 0; align-items: flex-start; flex-direction: column; overflow: visible; padding: clamp(64px, 7vw, 110px); }
.candidate-profile-copy h2 { max-width: 700px; margin: 0; color: var(--red); font-size: clamp(3.2rem, 5vw, 6.5rem); font-weight: 900; letter-spacing: -.06em; line-height: .9; }
.candidate-profile-label { margin: 48px 0 12px; font-size: .76rem; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.candidate-profile-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.candidate-profile-tags li { padding: 7px 11px; background: var(--red); color: var(--white); font-size: .83rem; font-weight: 900; }
.candidate-profile-facts { width: 100%; margin-top: 42px; padding: 25px 0; border-top: 2px solid var(--black); border-bottom: 2px solid var(--black); }
.candidate-profile-facts h3 { margin: 0 0 16px; color: var(--red); font-size: 1.25rem; }
.candidate-profile-fact-grid { display: grid; gap: 2px; margin: 0; background: var(--black); }
.candidate-profile-fact-grid[hidden] { display: none; }
.candidate-profile-fact-row { display: grid; grid-template-columns: minmax(125px, .38fr) minmax(0, 1fr); background: var(--white); }
.candidate-profile-fact-row dt, .candidate-profile-fact-row dd { margin: 0; padding: 10px 12px; }
.candidate-profile-fact-row dt { color: var(--red); font-size: .76rem; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.candidate-profile-fact-row dd { font-size: .94rem; font-weight: 700; line-height: 1.4; }
.candidate-profile-facts-empty { margin: 0; }
.candidate-profile-facts-empty[hidden] { display: none; }
.candidate-profile-link { margin-top: 34px; }
.candidate-profile-link[hidden] { display: none; }

.focus { padding-block: 115px; background: var(--black); color: var(--white); }
.focus-heading .section-label { color: var(--red); }
.focus-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--white); }
.focus-card { position: relative; min-height: 470px; overflow: hidden; background: var(--black); }
.focus-card img { width: 100%; height: 100%; object-fit: cover; opacity: .72; transition: transform .4s ease, opacity .4s ease; }
.focus-card img.focus-image-bildung { object-position: 82% center; }
.focus-card:hover img { transform: scale(1.025); opacity: .55; }
.focus-card::after { position: absolute; inset: 35% 0 0; background: linear-gradient(transparent, rgba(0,0,0,.94)); content: ""; }
.focus-card > div { position: absolute; z-index: 1; right: 0; bottom: 0; left: 0; padding: 28px; }
.focus-card span { display: inline-block; padding: 4px 8px; background: var(--red); font-size: .72rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.focus-card h3 { margin: 12px 0 6px; font-size: clamp(2rem, 3.1vw, 3.2rem); font-weight: 900; letter-spacing: -.05em; line-height: .96; }
.focus-card p { margin: 0; font-size: .86rem; font-weight: 700; }

.closing { display: grid; min-height: 650px; grid-template-columns: 1fr 1fr; }
.closing-image { background: url("images/heidesee.jpg") center/cover no-repeat; }
.closing-copy { display: flex; flex-direction: column; justify-content: center; padding: 80px var(--panel-pad); background: var(--red); color: var(--white); }
.closing h2 { font-size: clamp(3.5rem, 6.8vw, 7rem); text-transform: uppercase; }
.closing-copy p:not(.eyebrow) { max-width: 550px; font-size: 1.12rem; }
.closing-copy a { margin-top: 14px; font-size: clamp(1.2rem, 2.2vw, 1.8rem); font-weight: 900; text-decoration: underline; text-underline-offset: 5px; }

footer { padding: 70px 0 28px; background: var(--red); color: var(--white); }
.footer-main { display: flex; align-items: end; justify-content: space-between; gap: 40px; padding-bottom: 46px; }
.footer-title { margin: 0; font-size: 1.15rem; font-weight: 900; }
.footer-main p:last-child { margin: 6px 0 0; }
.footer-main img { width: min(430px, 44vw); height: auto; aspect-ratio: 1040 / 258; object-fit: contain; }
.footer-meta { display: flex; flex-wrap: wrap; gap: 20px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.75); font-size: .82rem; }
.footer-meta p { margin: 0 0 0 auto; color: var(--white); }

.legal-page { max-width: 900px; padding-block: 90px 120px; }
.legal-page h1 { margin-bottom: 50px; color: var(--red); font-size: clamp(3.5rem, 8vw, 7rem); text-transform: uppercase; }
.legal-page section { padding: 38px; border: 2px solid var(--black); }
.legal-page h2 { margin: 38px 0 10px; color: var(--red); font-size: 1.35rem; }
.legal-page h2:first-child { margin-top: 0; }
.legal-page a:not(.button) { text-decoration: underline; }
.legal-page > p:last-child { margin-top: 40px; }
.simple-footer { min-height: 120px; }
.back-to-top { position: fixed; z-index: 40; right: max(18px, calc((100vw - var(--site-max)) / 2 + 18px)); bottom: 18px; display: flex; min-width: 52px; min-height: 52px; align-items: center; justify-content: center; gap: 8px; padding: 10px 14px; border: 2px solid var(--white); background: var(--red); color: var(--white); font-size: .78rem; opacity: 0; pointer-events: none; transform: translateY(14px); transition: opacity .2s ease, transform .2s ease; }
.back-to-top span { font-size: 1.35rem; line-height: 1; }
.back-to-top.is-visible { opacity: 1; pointer-events: auto; transform: none; }
.back-to-top:focus-visible { opacity: 1; pointer-events: auto; transform: none; outline: 3px solid var(--black); outline-offset: 2px; }

@media (min-width: 641px) {
  .hero-photo { object-position: center 80%; }
}

@media (min-width: 961px) {
  .candidate-grid { width: min(calc(100vw - 48px), calc(var(--site-max) - 96px)); margin-left: 50%; transform: translateX(-50%); }
}

@media (max-width: 960px) {
  body.menu-open { overflow: hidden; }
  .menu-toggle { display: flex; align-items: center; gap: 10px; cursor: pointer; }
  .menu-toggle[aria-expanded="true"] .menu-icon i:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-icon i:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] .menu-icon i:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .site-header nav { position: fixed; z-index: 29; top: 76px; right: 0; left: 0; display: none; max-height: calc(100svh - 76px); align-items: stretch; flex-direction: column; gap: 0; overflow-y: auto; border-top: 1px solid var(--black); background: var(--white); box-shadow: 0 20px 40px rgba(0,0,0,.2); color: var(--black); }
  .menu-open .site-header nav { display: flex; }
  .site-header nav a { display: block; padding: 18px 24px; border-bottom: 1px solid var(--black); font-size: 1rem; }
  .site-header nav .nav-legal { display: block; }
  .site-header nav .nav-button { border-color: var(--red); background: var(--red); color: var(--white); }
  .hero-panel { width: min(760px, 72%); }
  .section-intro { grid-template-columns: 1fr; }
  .program-grid, .focus-grid { grid-template-columns: 1fr; }
  .photo-statement, .closing { grid-template-columns: 1fr; }
  .photo-statement-image, .closing-image { min-height: 520px; }
  .candidate-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 800px) {
  .candidate-dialog { width: calc(100vw - 24px); height: calc(100dvh - 24px); }
  .candidate-dialog-shell { overflow-y: auto; }
  .candidate-profile { height: auto; min-height: 100%; grid-template-columns: 1fr; }
  .candidate-profile-image { height: 62svh; min-height: 440px; }
  .candidate-profile-copy { overflow: visible; padding: 58px 28px 72px; }
  .candidate-profile-copy h2 { font-size: clamp(3rem, 12vw, 5rem); }
}

@media (max-width: 640px) {
  :root { --content: calc(100% - 32px); }
  .site-header { min-height: 68px; padding: 8px 16px; }
  .brand img { width: 190px; }
  .site-header nav { top: 68px; max-height: calc(100svh - 68px); }
  .nav-button { padding: 8px 11px; font-size: .74rem; }
  .menu-label { display: none; }
  .hero { height: auto; min-height: auto; }
  .hero-photo { position: relative; width: 100%; height: 46svh; min-height: 0; object-position: center bottom; }
  .hero-panel { width: 100%; height: auto; min-height: auto; padding: 64px 16px 70px; clip-path: none; }
  .hero h1 { font-size: clamp(3.2rem, 16vw, 5rem); }
  .manifest, .team { padding-block: 85px; }
  .manifest-copy { grid-template-columns: 1fr; gap: 20px; margin-left: 0; }
  .program, .focus { padding-block: 85px; }
  .program-card { min-height: 0; padding: 26px 22px; }
  .card-number { margin-bottom: 34px; }
  .photo-statement-image, .closing-image { min-height: 62vw; }
  .photo-statement-copy, .closing-copy { padding: 70px 16px; }
  .group-photo img { width: 100%; height: auto; max-height: none; object-fit: contain; }
  .group-photo figcaption { position: static; }
  .candidate-grid { grid-template-columns: 1fr; }
  .candidate-copy { min-height: 0; }
  .candidate-dialog { width: 100vw; height: 100dvh; margin: 0; }
  .candidate-profile-image { height: 56svh; min-height: 390px; }
  .candidate-dialog form { top: 12px; right: 12px; }
  .candidate-profile-fact-row { grid-template-columns: 1fr; }
  .candidate-profile-fact-row dt { padding-bottom: 2px; }
  .candidate-profile-fact-row dd { padding-top: 2px; }
  .focus-card { min-height: 390px; }
  .focus-card img.focus-image-bildung { object-position: right center; }
  .footer-main { align-items: flex-start; flex-direction: column; }
  .footer-main img { width: min(430px, 100%); height: auto; }
  .footer-meta p { width: 100%; margin-left: 0; }
  .legal-page { padding-block: 70px 90px; }
  .legal-page section { padding: 24px 20px; }
  .back-to-top b { display: none; }
  .back-to-top { right: 12px; bottom: 12px; padding: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .candidate-card img { transition: none; }
  .focus-card img { transition: none; }
  .back-to-top { transition: none; }
}
