:root {
  --pink: #ec007a;
  --pink-dark: #c80069;
  --blue: #00aee8;
  --sky: #eaf8ff;
  --ink: #1f2430;
  --muted: #64707d;
  --white: #fff;
  --shadow: 0 18px 45px rgba(20, 61, 82, .12);
  --radius: 4px;
}

@font-face {
  font-family: "Exo 2 Local";
  src: local("Exo 2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 108px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Exo 2 Local", "Trebuchet MS", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
.skip-link {
  position: fixed; left: 16px; top: -80px; z-index: 1000;
  background: var(--ink); color: white; padding: 12px 18px;
}
.skip-link:focus { top: 16px; }
.container { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }
.section { padding: 100px 0; }
.section--sky { background: var(--sky); }
.section-title {
  margin: 0 0 48px;
  color: var(--pink);
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -.035em;
}
.section-title.center { text-align: center; }
.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--blue);
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: .8rem;
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: 132px; background: rgba(255,255,255,.98);
  box-shadow: 0 1px 0 rgba(18,31,39,.06);
  transition: height .25s ease, box-shadow .25s ease;
}
.site-header.scrolled { height: 96px; box-shadow: 0 8px 30px rgba(20,61,82,.12); }
.nav-wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.brand img { width: 132px; height: auto; transition: width .25s ease; }
.site-header.scrolled .brand img { width: 104px; }
.site-nav { display: flex; align-items: center; gap: clamp(34px, 6vw, 84px); }
.site-nav a { font-weight: 700; position: relative; padding: 8px 0; }
.site-nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0;
  height: 3px; background: var(--pink); transition: right .25s ease;
}
.site-nav a:hover::after, .site-nav a:focus-visible::after { right: 0; }
.menu-toggle {
  display: none; border: 0; width: 48px; height: 48px; color: white;
  background: var(--pink); cursor: pointer; padding: 12px;
}
.menu-toggle span { display: block; height: 3px; margin: 5px 0; background: white; transition: .25s; }

/* Home hero */
.hero {
  position: relative; min-height: calc(100vh - 132px);
  background: url("../images/hero.jpg") center 38% / cover no-repeat;
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: auto 0 0; height: 24%;
  background: linear-gradient(transparent, rgba(0,0,0,.12)); pointer-events: none;
}
.hero-scroll {
  position: absolute; z-index: 2; bottom: 28px; left: 50%; transform: translateX(-50%);
  width: 44px; height: 44px; border: 2px solid white; border-radius: 50%; color: white;
  display: grid; place-items: center; text-shadow: 0 1px 4px #000; animation: bob 1.8s ease-in-out infinite;
}
@keyframes bob { 50% { transform: translate(-50%, 8px); } }

.intro-grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: 72px; align-items: center; }
.intro-copy p { margin: 0 0 28px; }
.button {
  display: inline-flex; align-items: center; gap: 9px; padding: 13px 22px;
  color: white; background: var(--pink); border: 2px solid var(--pink);
  font-weight: 800; text-transform: uppercase; letter-spacing: .03em; font-size: .87rem;
  transition: transform .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
}
.button:hover, .button:focus-visible { transform: translateY(-2px); box-shadow: 0 10px 20px rgba(236,0,122,.22); background: var(--pink-dark); }
.button--outline { background: transparent; color: var(--pink); }
.intro-image { position: relative; }
.intro-image img { aspect-ratio: 4/5; width: 100%; object-fit: cover; box-shadow: var(--shadow); }
.intro-image::before { content: ""; position: absolute; inset: -18px 24px 24px -18px; border: 5px solid var(--blue); z-index: -1; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--pink); color: white; }
.stat { min-height: 200px; display: grid; place-content: center; text-align: center; padding: 28px 18px; border-right: 1px solid rgba(255,255,255,.35); }
.stat:last-child { border: 0; }
.stat strong { display: block; font-size: clamp(2.2rem, 4vw, 4.2rem); line-height: 1; }
.stat span { font-weight: 800; font-size: .85rem; letter-spacing: .08em; margin-top: 14px; }

/* News */
.news-heading { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 48px; }
.news-heading .section-title { margin-bottom: 0; }
.slider-controls { display: flex; gap: 10px; flex: 0 0 auto; }
.slider-arrow {
  width: 52px; height: 52px; border: 2px solid var(--pink); color: var(--pink);
  background: white; cursor: pointer; font-size: 1.45rem; font-weight: 900;
  transition: color .2s ease, background .2s ease, opacity .2s ease;
}
.slider-arrow:hover, .slider-arrow:focus-visible { color: white; background: var(--pink); }
.slider-arrow:disabled { opacity: .3; cursor: default; color: var(--muted); border-color: var(--muted); background: white; }
.news-slider { overflow: hidden; }
.news-slider-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 34px) / 2); gap: 34px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none;
}
.news-slider-track::-webkit-scrollbar { display: none; }
.news-slide { position: relative; scroll-snap-align: start; min-width: 0; background: #102633; }
.news-slide .news-image { aspect-ratio: 4 / 3; }
.news-slide .news-body {
  position: absolute; z-index: 2; inset: auto 0 0; padding: 24px 28px 26px;
  color: white; background: rgba(12, 34, 45, .92); border-top: 4px solid var(--pink);
  backdrop-filter: blur(3px);
}
.news-slide .news-date { color: #72dcff; }
.news-slide .news-body h3 { margin: 7px 0 8px; color: white; }
.news-slide .news-body p { margin: 0 0 15px; color: #edf7fb; line-height: 1.45; }
.news-slide .news-body .button { padding: 9px 15px; font-size: .78rem; }
.news-all { margin-top: 34px; text-align: center; }
.news-card { background: white; box-shadow: var(--shadow); overflow: hidden; transition: transform .3s ease, box-shadow .3s ease; }
.news-card:hover { transform: translateY(-8px); box-shadow: 0 24px 55px rgba(20,61,82,.18); }
.news-image { overflow: hidden; aspect-ratio: 16/9; background: #dce9ef; }
.news-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.news-card:hover .news-image img { transform: scale(1.045); }
.news-body { padding: 30px; }
.news-date { color: var(--blue); font-weight: 800; font-size: .84rem; text-transform: uppercase; letter-spacing: .06em; }
.news-card h3 { margin: 10px 0 12px; font-size: clamp(1.25rem, 2vw, 1.65rem); line-height: 1.2; }
.news-card p { color: var(--muted); margin: 0 0 20px; }
.read-more { color: var(--pink); font-weight: 900; text-transform: uppercase; font-size: .82rem; letter-spacing: .06em; }

.news-page-header { padding: 92px 0 84px; background: var(--sky); }
.news-page-header h1 { margin: 0 0 18px; color: var(--pink); font-size: clamp(2.7rem, 6vw, 5rem); line-height: 1.02; letter-spacing: -.04em; }
.news-page-header p { max-width: 700px; margin: 0; font-size: 1.15rem; }
.news-list { display: grid; gap: 34px; }
.news-list-item {
  display: grid; grid-template-columns: minmax(300px, .8fr) minmax(0, 1.2fr);
  min-height: 310px; background: white; box-shadow: var(--shadow); overflow: hidden;
}
.news-list-image { overflow: hidden; background: #dce9ef; }
.news-list-image img { width: 100%; height: 100%; min-height: 310px; object-fit: cover; transition: transform .5s ease; }
.news-list-item:hover .news-list-image img { transform: scale(1.035); }
.news-list-copy { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 42px 48px; }
.news-list-copy h2 { margin: 8px 0 14px; font-size: clamp(1.55rem, 3vw, 2.25rem); line-height: 1.15; }
.news-list-copy p { margin: 0 0 24px; color: var(--muted); }

/* History */
.history {
  min-height: 720px; display: grid; place-items: center; position: relative;
  background: linear-gradient(90deg, rgba(11,26,35,.82), rgba(11,26,35,.34)), url("../images/geschichte.jpg") center / cover fixed;
  color: white;
}
.history-copy { max-width: 800px; margin-right: auto; }
.history .section-title { color: white; }
.history p { font-size: 1.05rem; }

/* People */
.people-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.person { perspective: 1100px; min-height: 420px; }
.person-inner { position: relative; width: 100%; height: 100%; min-height: 420px; transition: transform .72s cubic-bezier(.2,.75,.2,1); transform-style: preserve-3d; }
.person:hover .person-inner, .person:focus-within .person-inner { transform: rotateY(180deg); }
.person-face { position: absolute; inset: 0; backface-visibility: hidden; overflow: hidden; background: #142430; }
.person-face img { width: 100%; height: 100%; object-fit: cover; }
.person-face::after { content: ""; position: absolute; inset: 42% 0 0; background: linear-gradient(transparent, rgba(0,0,0,.82)); }
.person-back { transform: rotateY(180deg); }
.person-label { position: absolute; z-index: 2; left: 22px; right: 22px; bottom: 20px; color: white; }
.person-label h3 { margin: 0; font-size: 1.35rem; }
.person-label p { margin: 2px 0 0; color: white; }

.council-grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: stretch; }
.council-grid img { width: 100%; height: 100%; object-fit: cover; min-height: 540px; }
.council-copy { padding: 70px; background: var(--pink); color: white; display: flex; flex-direction: column; justify-content: center; }
.council-copy .section-title { color: white; margin-bottom: 24px; }

.contact { text-align: center; background: var(--sky); }
.contact h2 { margin-bottom: 18px; }
.contact p { max-width: 620px; margin: 0 auto 28px; }
.contact-link { font-size: clamp(1.2rem, 3vw, 2rem); color: var(--pink); font-weight: 900; }

/* Articles */
.page-main { min-height: 55vh; }
.article-hero { padding: 70px 0 0; }
.article-hero img { width: 100%; max-height: 720px; object-fit: cover; }
.article-wrap { width: min(920px, calc(100% - 48px)); margin: 0 auto; padding: 58px 0 90px; }
.article-wrap h1 { margin: 0 0 14px; color: var(--pink); font-size: clamp(2rem, 5vw, 4rem); line-height: 1.05; letter-spacing: -.035em; }
.article-date { display: block; margin-bottom: 38px; color: var(--blue); font-weight: 800; }
.article-content { font-family: Arial, sans-serif; font-size: 1.06rem; line-height: 1.78; }
.article-content p { margin: 0 0 1.35em; }
.article-content h2 { margin: 2.2em 0 .7em; font-family: "Exo 2 Local", "Trebuchet MS", Arial, sans-serif; color: var(--pink); line-height: 1.2; }
.article-content blockquote { margin: 32px 0; padding: 22px 30px; border-left: 5px solid var(--pink); background: var(--sky); font-size: 1.12rem; }
.article-content .caption { margin-top: 36px; color: var(--muted); font-size: .92rem; }
.article-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; border-top: 1px solid #d7e0e5; padding-top: 32px; margin-top: 50px; }
.article-nav a { color: var(--pink); font-weight: 800; }
.article-nav a:last-child { text-align: right; }

.legal-page { padding: 78px 0 100px; }
.legal-page .container { max-width: 920px; }
.legal-page h1 { color: var(--pink); font-size: clamp(2.3rem, 5vw, 4rem); margin: 0 0 36px; }
.legal-page h2 { color: var(--pink); margin-top: 48px; }
.legal-page h3 { color: var(--blue); margin-top: 34px; }
.legal-page ul { padding-left: 1.2em; }

/* Footer */
.site-footer { color: white; background: #172936; padding: 72px 0 0; }
.footer-grid { display: grid; grid-template-columns: .8fr 1.35fr .65fr; gap: 70px; align-items: start; }
.footer-logo { width: 160px; filter: drop-shadow(0 0 0 transparent); }
.site-footer h4 { margin: 0 0 12px; font-size: 1.25rem; }
.site-footer p { color: #d7e4ec; margin: 0; }
.socials { display: flex; gap: 12px; margin-top: 16px; }
.socials a { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.4); border-radius: 50%; font-weight: 900; transition: .2s; }
.socials a:hover { background: var(--pink); border-color: var(--pink); transform: translateY(-2px); }
.footer-bottom { margin-top: 58px; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.15); display: flex; justify-content: space-between; gap: 24px; color: #c8d4dc; font-size: .88rem; }

/* Consent notice: only local preference storage, no tracking */
.consent-button { position: fixed; z-index: 89; left: 14px; bottom: 14px; border: 0; width: 44px; height: 44px; color: white; background: #163847; box-shadow: 0 5px 18px rgba(0,0,0,.2); cursor: pointer; }
.consent {
  position: fixed; inset: 0; z-index: 300; display: grid; align-items: end;
  background: rgba(6,18,27,.42); padding: 24px;
}
.consent[hidden] { display: none; }
.consent-panel { width: min(860px, 100%); margin: 0 auto; padding: 34px; background: #eef8ff; box-shadow: 0 25px 80px rgba(0,0,0,.26); }
.consent-panel h2 { margin: 0 0 12px; font-size: clamp(1.5rem, 3vw, 2.35rem); }
.consent-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 24px; }
.consent-note { font-size: .84rem; color: var(--muted); margin-top: 16px; }

.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in-view { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .site-header, .site-header.scrolled { height: 96px; }
  .brand img, .site-header.scrolled .brand img { width: 108px; }
  .menu-toggle { display: block; }
  .site-nav {
    position: fixed; inset: 96px 0 0; display: flex; flex-direction: column; justify-content: center;
    gap: 22px; background: rgba(255,255,255,.98); transform: translateX(100%); transition: transform .32s ease;
    font-size: 1.3rem;
  }
  .site-nav.open { transform: none; }
  .hero { min-height: calc(100svh - 96px); background-position: center top; }
  .intro-grid, .council-grid { grid-template-columns: 1fr; }
  .intro-image { max-width: 620px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .people-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1.5fr; }
  .footer-grid > :last-child { grid-column: 2; }
  .history { background-attachment: scroll; }
  .news-list-item { grid-template-columns: minmax(250px, .85fr) minmax(0, 1.15fr); }
  .news-list-copy { padding: 34px; }
}

@media (max-width: 660px) {
  .container, .article-wrap { width: min(100% - 32px, 1160px); }
  .section { padding: 72px 0; }
  .hero { min-height: 74svh; background-position: 52% center; }
  .intro-grid { gap: 48px; }
  .stats { grid-template-columns: 1fr; }
  .stat { min-height: 150px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.35); }
  .people-grid, .article-nav { grid-template-columns: 1fr; }
  .news-heading { align-items: center; margin-bottom: 30px; }
  .news-heading .section-title { font-size: 2.15rem; }
  .news-slider-track { grid-auto-columns: 100%; gap: 18px; }
  .news-slide .news-image { aspect-ratio: 4 / 5; }
  .news-slide .news-body { padding: 20px 20px 22px; }
  .news-slide .news-body h3 { font-size: 1.3rem; }
  .news-slide .news-body p { font-size: .92rem; }
  .slider-arrow { width: 46px; height: 46px; }
  .news-list-item { grid-template-columns: 1fr; }
  .news-list-image img { min-height: 230px; aspect-ratio: 16 / 10; }
  .news-list-copy { padding: 30px 24px 34px; }
  .person, .person-inner { min-height: 500px; }
  .council-copy { padding: 44px 28px; }
  .article-hero { padding-top: 28px; }
  .article-hero .container { width: 100%; }
  .article-wrap { padding-top: 40px; }
  .article-nav a:last-child { text-align: left; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .footer-grid > :last-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
  .consent { padding: 10px; }
  .consent-panel { padding: 25px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
