/* Shared typography and spacing. The portrait stays an unchanged photograph. */
/* Fraunces (SIL Open Font License, siehe /assets/fonts/OFL.txt) – lokal gehostet, keine Verbindung zu Google */
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/assets/fonts/fraunces.woff2") format("woff2"); }
@font-face { font-family: "Fraunces"; font-style: italic; font-weight: 100 900; font-display: swap; src: url("/assets/fonts/fraunces-italic.woff2") format("woff2"); }
:root {
  --ink: #17334d;
  --muted: #526879;
  --cream: #f7f1e8;
  --paper: #fffdf9;
  --coral: #b4432f;
  --peach-strong: #eea27c;
  --hero-bg: #f4e6d8;
  --peach: #ffc9a8;
  --line: #17334d26;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --gutter: clamp(24px, 5vw, 64px);
  --content: 1120px;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 28px; }
body { margin: 0; color: var(--ink); background: var(--cream); font-family: var(--sans); font-size: 18px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, p, figure { margin: 0; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; letter-spacing: -.02em; text-wrap: balance; }
h2, .story-heading h3 { font-size: clamp(36px, 4.4vw, 58px); line-height: 1.12; }
h4 { font-size: clamp(27px, 2.6vw, 34px); line-height: 1.2; letter-spacing: -.01em; }
p + p { margin-top: 1.1em; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .3em; }
a:hover { text-decoration-color: currentColor; }
a:focus-visible { outline: 3px solid currentColor; outline-offset: 6px; border-radius: 3px; }
.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; }
.skip-link { position: absolute; top: -100px; left: 24px; z-index: 10; background: var(--paper); padding: 12px 20px; }
.skip-link:focus { top: 12px; }
.anchor-target { display: block; }
.nav { max-width: 1280px; margin: auto; padding: 28px var(--gutter); display: flex; align-items: center; gap: 32px; font-size: 16px; font-weight: 650; }
.nav a { text-decoration: none; }
.wordmark { display: flex; align-items: center; gap: 12px; white-space: nowrap; font-size: 19px; font-weight: 650; }
.wordmark span { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: var(--paper); background: var(--ink); font-size: 13px; letter-spacing: .04em; }
.nav-links { display: flex; gap: 30px; margin-left: auto; }
.nav-links a:hover { text-decoration: underline; }
.nav-contact { padding: 9px 23px; border: 1px solid var(--ink); border-radius: 40px; }
.nav-contact:hover { background: var(--ink); color: var(--paper); }
.hero { max-width: 1280px; margin: auto; padding: 24px var(--gutter) 84px; }
/* Canva only removed the background. Portrait and backdrop share one crop. */
.hero-visual { position: relative; isolation: isolate; display: grid; grid-template-columns: 1fr 1fr; min-height: 530px; overflow: hidden; border-radius: 32px; background: var(--hero-bg); }
.hero-title { z-index: 3; align-self: center; padding: 40px 0 56px 50px; }
.hero-title h1 { font-size: clamp(76px, 9.6vw, 132px); line-height: .9; letter-spacing: -.03em; font-weight: 380; }
.hero-title h1 span { display: block; }
.hero-topics { display: flex; flex-direction: column; gap: 0; margin-top: 28px; font-size: clamp(15px, 1.5vw, 19px); line-height: 1.5; font-weight: 500; }
.hero-topics span { white-space: nowrap; }
.hero-portrait { position: absolute; right: 0; bottom: 0; width: 58%; height: 100%; }
.hero-portrait { z-index: 2; }
/* Ruhige Kreisform hinter dem freigestellten Porträt */
.hero-portrait::before { content: ""; position: absolute; z-index: -1; width: min(78%, 470px); aspect-ratio: 1; border-radius: 50%; left: 47%; top: 52%; transform: translate(-50%, -50%); background: var(--peach-strong); }
.hero-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 44%; }
.hero-intro { padding: 35px 12px 0; max-width: 970px; }
.eyebrow, .section-label { font-size: 12px; font-weight: 750; letter-spacing: .18em; text-transform: uppercase; line-height: 1.5; }
.eyebrow { display: flex; align-items: center; gap: 16px; color: var(--coral); margin-bottom: 23px; }
.eyebrow::before { content: ""; flex: 0 0 34px; height: 2px; background: currentColor; }
.intro { font-size: 21px; line-height: 1.65; color: var(--muted); }
.section { padding: 80px max(var(--gutter), calc((100vw - var(--content)) / 2)); }
.section-label { display: flex; gap: 12px; margin-bottom: 40px; }
.section-label span { color: var(--coral); }
.about, .district { background: var(--paper); }
.about h2 { margin-bottom: 34px; }
.text-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; color: var(--muted); }
.text-columns p + p { margin: 0; }
.engagement { color: var(--paper); background: var(--ink); }
.engagement .section-label span, .engagement .eyebrow { color: var(--peach); }
.engagement .eyebrow { margin-bottom: 32px; }
.story-heading { margin-bottom: 29px; }
.story-heading h3 { max-width: 25ch; }
.story-copy { max-width: 76ch; color: #dce6ed; }
.activity-links { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 15px 27px; margin-top: 25px; font-size: 15px; line-height: 1.6; }
.activity-links a, .research-note > a { color: var(--peach); font-weight: 650; text-decoration-color: #ffc9a866; }
.activity-links a span, .research-note > a span { white-space: nowrap; }
.event-photo { margin: 0; }
.event-photo img { width: 100%; border-radius: 24px; }
.event-photo figcaption { margin-top: 13px; font-size: 14px; line-height: 1.6; }
.panel-photo, .animal-photo { max-width: 900px; margin-top: 42px; }
.panel-photo figcaption, .animal-photo figcaption { color: #c7d7e1; }
.panel-photo .activity-links { margin-top: 12px; font-size: 15px; }
.research-note { max-width: 76ch; margin-top: 43px; padding-top: 32px; border-top: 1px solid #ffffff30; color: #dce6ed; }
.research-note h4 { color: var(--paper); margin-bottom: 22px; }
.research-note > a { display: inline-block; margin-top: 22px; font-size: 15px; }
.parade-photo { margin-top: 42px; }
.parade-photo figcaption { color: #c7d7e1; }
.animal-story { margin-top: 65px; padding-top: 53px; border-top: 1px solid #ffc9a880; }
/* Zitat im Über-mich-Teil */
.about-quote { margin: 52px 0 0; padding: 0 0 0 28px; border-left: 3px solid var(--coral); max-width: 820px; }
.about-quote p { font-family: var(--serif); font-style: italic; font-size: clamp(26px, 2.8vw, 36px); line-height: 1.3; letter-spacing: -.01em; color: var(--ink); }
/* Stadtbezirk */
.district-content h2 { max-width: 22ch; margin-bottom: 28px; }
.district-intro { max-width: 52ch; font-size: 21px; line-height: 1.6; color: var(--muted); }
.district-roles { list-style: none; margin: 44px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.district-roles li { padding: 30px 28px 32px; border-radius: 24px; background: var(--cream); }
.district-roles li::before { content: ""; display: block; width: 34px; height: 2px; margin-bottom: 20px; background: var(--coral); }
.district-roles h3 { font-size: 26px; line-height: 1.2; letter-spacing: -.01em; margin-bottom: 12px; }
.district-roles p { color: var(--muted); font-size: 17px; line-height: 1.6; }
.permit-card { display: flex; align-items: center; gap: 24px; margin-top: 24px; padding: 26px 30px; border-radius: 24px; background: var(--ink); color: var(--paper); text-decoration: none; }
.permit-card strong { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.25; }
.permit-card small { display: block; margin-top: 6px; font-size: 16px; line-height: 1.55; color: #c7d7e1; }
.permit-arrow { margin-left: auto; flex: 0 0 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: var(--peach-strong); color: var(--ink); font-size: 22px; transition: transform .2s; }
.permit-card:hover .permit-arrow { transform: translateX(4px); }
.permit-card:focus-visible { outline: 3px solid var(--coral); outline-offset: 4px; }
.district-cta { margin-top: 36px; font-size: 19px; }
.district-cta a { color: var(--coral); font-weight: 650; white-space: nowrap; }
.connect { display: grid; grid-template-columns: 1.2fr 1fr; gap: 75px; background: var(--coral); color: var(--paper); }
.connect .eyebrow { color: var(--paper); }
.connect h2 { margin-bottom: 27px; }
.connect-copy > p:not(.eyebrow) { max-width: 45ch; }
.mail-link { display: inline-flex; gap: 22px; margin-top: 26px; font-size: 22px; font-weight: 650; text-decoration-color: #ffffff88; }
.socials { align-self: center; }
.socials > a { display: flex; align-items: center; gap: 20px; padding: 23px 0; border-top: 1px solid #ffffff70; text-decoration: none; }
.socials > a:last-child { border-bottom: 1px solid #ffffff70; }
.socials > a > span:last-child { margin-left: auto; }
.social-mark { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid #ffffffa0; border-radius: 50%; flex-shrink: 0; }
.social-mark svg { width: 18px; height: 20px; }
.socials strong, .socials small { display: block; }
.socials strong { font-size: 17px; }
.socials small { font-size: 14px; font-weight: 400; }
footer { display: flex; flex-wrap: wrap; gap: 25px 40px; justify-content: space-between; align-items: center; padding: 36px max(var(--gutter), calc((100vw - var(--content)) / 2)); background: var(--ink); color: var(--paper); font-size: 14px; }
footer strong { font-size: 17px; }
footer p { font-size: 13px; color: #c7d7e1; margin-top: 5px; }
.legal-links { display: flex; gap: 24px; }
.copyright { margin: 0; }
.legal-nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; max-width: 1120px; padding: 28px var(--gutter); margin: auto; font-size: 15px; }
.legal-nav .wordmark { text-decoration: none; }
.legal-page { background: var(--paper); min-height: 65vh; padding: 60px var(--gutter) 80px; }
.legal-document { max-width: 760px; margin: auto; overflow-wrap: break-word; }
.legal-document h1 { font-size: clamp(38px, 5vw, 62px); line-height: 1.15; margin-bottom: 38px; }
.legal-document h2 { font-size: 28px; line-height: 1.25; letter-spacing: -.02em; text-wrap: initial; margin-bottom: 18px; }
.legal-document section { margin-top: 36px; }
.legal-document p, .legal-document li { color: var(--muted); }
.legal-footer { justify-content: space-between; }
@media (max-width: 1000px) {
  .hero-visual { min-height: 440px; }
  .hero-title { padding-left: 32px; }
  .hero-title h1 { font-size: clamp(72px, 11vw, 110px); }
  .hero-topics { max-width: none; }
  .connect { gap: 40px; }
}
@media (max-width: 760px) {
  body { font-size: 17px; }
  .nav { flex-wrap: wrap; gap: 20px; padding-top: 22px; padding-bottom: 20px; }
  .nav-contact { margin-left: auto; }
  .nav-links { order: 3; width: 100%; margin: 0; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 18px; gap: 15px; }
  .hero { padding-top: 18px; padding-bottom: 56px; }
  .hero-visual { min-height: 360px; border-radius: 25px; }
  .hero-title { padding: 30px 0 30px 28px; }
  .hero-title h1 { font-size: 11vw; }
  .hero-topics { font-size: 15px; max-width: none; margin-top: 22px; }
  .hero-intro { padding: 28px 0 0; }
  .intro { font-size: 18px; }
  .eyebrow, .section-label { font-size: 11px; }
  .section { padding-top: 58px; padding-bottom: 58px; }
  .section-label { margin-bottom: 30px; }
  .text-columns { grid-template-columns: 1fr; gap: 22px; }
  .district-roles { grid-template-columns: 1fr; gap: 16px; }
  .about-quote { margin-top: 34px; padding-left: 20px; }
  .about h2 { margin-bottom: 28px; }
  .animal-story { margin-top: 48px; padding-top: 43px; }
  .activity-links { gap: 16px 24px; }
  .connect { grid-template-columns: 1fr; gap: 38px; }
  .socials { max-width: 560px; }
  .event-photo img { border-radius: 20px; }
}
@media (max-width: 480px) {
  .nav { font-size: 14px; }
  .wordmark { font-size: 17px; gap: 9px; }
  .wordmark span { width: 35px; height: 35px; font-size: 11px; }
  .nav-contact { padding: 7px 17px; }
  .hero-visual { grid-template-columns: 1fr; min-height: clamp(540px, calc(340px + 60vw), 600px); align-content: start; }
  .hero-title { padding: 30px 28px 28px; align-self: start; }
  .hero-title h1 { font-size: clamp(60px, 17vw, 78px); line-height: .93; }
  .hero-topics { max-width: none; font-size: 14px; margin-top: 20px; }
  .hero-portrait { width: 100%; height: 380px; }
  .hero-portrait::before { width: min(300px, 86%); top: 58%; }
  h2, .story-heading h3 { font-size: 34px; }
  .eyebrow { gap: 12px; letter-spacing: .13em; }
  .eyebrow::before { flex-basis: 25px; }
  .activity-links { flex-direction: column; font-size: 14px; }
  .event-photo figcaption { font-size: 13px; }
  .mail-link { font-size: 20px; }
  footer { align-items: flex-start; flex-direction: column; gap: 22px; }
}
/* Engagement: Text und Foto nebeneinander, Seiten wechseln (nur Desktop) */
@media (min-width: 1001px) {
  .engagement-story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 64px; align-items: start; }
  .story-heading { grid-column: 1 / -1; }
  .story-copy { grid-column: 1; grid-row: 2; }
  .panel-photo { grid-column: 2; grid-row: 2; margin-top: 6px; }
  .animal-story .story-copy { grid-column: 2; }
  .animal-photo { grid-column: 1; grid-row: 2; margin-top: 6px; }
  .parade-photo { grid-column: 1 / -1; margin-top: 56px; max-width: none; }
  .research-note { grid-column: 1 / -1; max-width: none; margin-top: 56px; padding: 40px 44px; border: 0; border-radius: 24px; background: #ffffff0d; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); column-gap: 56px; }
  .research-note h4 { grid-row: 1 / span 3; }
  .research-note > p:first-of-type { margin-top: 0; }
  .research-note > a { justify-self: start; grid-column: 2; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
}

/* Formular Zufahrtserlaubnis */
.form-intro { color: var(--muted); }
.form-intro + .form-intro { margin-top: 1em; }
.permit-form { margin-top: 44px; display: grid; gap: 28px; }
.permit-form fieldset { margin: 0; padding: 28px 28px 30px; border: 0; border-radius: 24px; background: var(--cream); display: grid; gap: 18px; }
.permit-form legend { float: left; width: 100%; padding: 0; margin-bottom: 4px; font-family: var(--serif); font-size: 24px; line-height: 1.25; }
.permit-form legend + * { clear: both; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field-row.address { grid-template-columns: 2fr 1fr; }
.field-row.city { grid-template-columns: 1fr 2fr; }
.field { display: grid; gap: 6px; }
.field label, .consent { font-size: 15px; font-weight: 650; }
.field .req { color: var(--coral); }
.field input, .field textarea { width: 100%; font: inherit; font-size: 17px; color: var(--ink); padding: 12px 14px; border: 1px solid #17334d40; border-radius: 12px; background: var(--paper); }
.field input:focus, .field textarea:focus { outline: 3px solid #b4432f55; border-color: var(--coral); }
.field input[type="file"] { padding: 10px; }
.field textarea { min-height: 120px; resize: vertical; }
.hint { font-size: 14px; color: var(--muted); line-height: 1.5; }
.permit-form details summary { cursor: pointer; font-size: 15px; font-weight: 650; color: var(--coral); }
.permit-form details[open] summary { margin-bottom: 14px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; color: var(--muted); line-height: 1.55; }
.consent input { margin-top: 5px; width: 18px; height: 18px; flex-shrink: 0; accent-color: var(--coral); }
.submit-row { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; }
.btn { font: inherit; font-size: 17px; font-weight: 650; padding: 14px 30px; border: 0; border-radius: 40px; background: var(--ink); color: var(--paper); cursor: pointer; }
.btn:hover { background: var(--coral); }
.btn:focus-visible { outline: 3px solid var(--coral); outline-offset: 4px; }
@media (max-width: 760px) {
  .permit-card { padding: 22px; gap: 16px; }
  .field-row, .field-row.address, .field-row.city { grid-template-columns: 1fr; }
  .permit-form fieldset { padding: 22px 20px 24px; }
}

/* Form readiness, status and spam protection. */
.form-status { padding: 1rem; border-left: 3px solid var(--coral); background: var(--cream); }
.form-status[data-state="success"] { border-color: var(--ink); }
.form-status:focus { outline: 2px solid var(--coral); outline-offset: 3px; }
.form-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.permit-form button:disabled { opacity: .6; cursor: not-allowed; }
