/* Breakpoints: Tablet ab 601px, Desktop ab 821px, breit ab 1081px, XL ab 1600px */

/* ---------- Grundlagen ---------- */

:root {
  --blue: #315f87;
  --blue-dark: #234b70;
  --blue-deep: #173b5d;
  --yellow: #f4c21a;
  --yellow-dark: #d7a600;
  --ink: #163b64;
  --text: #263746;
  --muted: #667786;
  --line: #dce4ea;
  --soft: #f2f4f7;
  --white: #ffffff;
  --shadow: 0 18px 48px rgba(28, 61, 88, .11);
  --radius: 6px;
  font-family: "Source Sans 3", "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: #fff;
  font-synthesis: none;
}

* { box-sizing: border-box; }
/* ausgeblendete Einträge (Filter) auch bei display: grid/flex verstecken */
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: #fff; color: var(--text); font-size: 18px; line-height: 1.68; }
button, input, select, textarea { font: inherit; }
button { border: 0; cursor: pointer; }
a { color: inherit; }
img { display: block; max-width: 100%; }
svg { width: 1.25em; height: 1.25em; stroke-width: 1.8; }

.wrap { width: min(100% - 24px, 1180px); margin-inline: auto; }

h1, h2, h3 { font-family: Montserrat, "Avenir Next", Arial, sans-serif; color: var(--ink); line-height: 1.17; margin-top: 0; }
h1 { font-size: 2.55rem; letter-spacing: -.035em; }
h2 { font-size: 1.8rem; letter-spacing: -.02em; }
h3 { font-size: 1.25rem; }

/* Inhaltsbereich unter dem Seiten-Hero, von mehreren Seiten genutzt */
.page-content { padding-top: 64px; padding-bottom: 84px; }

.eyebrow { display: inline-block; color: var(--blue); text-transform: uppercase; letter-spacing: .08em; font-size: .92rem; font-weight: 800; margin-bottom: 20px; }

.button { min-width: 190px; min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 12px 22px; border-radius: 3px; font-weight: 800; text-transform: uppercase; letter-spacing: .035em; font-size: .93rem; text-decoration: none; transition: transform .2s, box-shadow .2s, background .2s; }
.button:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(23, 59, 93, .18); }
.button-blue { background: var(--blue); color: white; }
.button-blue:hover { background: var(--blue-dark); }
.button-yellow { background: var(--yellow); color: var(--ink); }
.button-yellow:hover { background: #ffd13b; }

.text-link { display: inline-flex; align-items: center; gap: 8px; background: transparent; color: var(--blue); padding: 0; font-size: .92rem; font-weight: 850; text-transform: uppercase; letter-spacing: .025em; text-decoration: none; }
.text-link:hover { color: var(--yellow-dark); }
.text-link svg { width: 17px; height: 17px; }

.site-shell { min-height: 100vh; }

@media screen and (min-width: 601px) {
  .wrap { width: min(100% - 32px, 1180px); }
  h1 { font-size: clamp(2.7rem, 5.5vw, 5.1rem); }
  h2 { font-size: clamp(1.8rem, 3vw, 2.65rem); }
  .button { min-width: auto; }
}

@media screen and (min-width: 821px) {
  body { font-size: 19px; }
  .wrap { width: min(1180px, calc(100% - 48px)); }
}

/* ---------- Marke / Logo ---------- */

.brand { display: inline-flex; flex-direction: column; align-items: flex-start; background: transparent; color: white; padding: 0; letter-spacing: 0; text-decoration: none; }
.brand strong { font-family: Montserrat, "Avenir Next", Arial, sans-serif; font-size: 1.08rem; font-weight: 650; letter-spacing: .11em; text-transform: uppercase; line-height: 1.15; }
.brand span { display: block; margin-top: 2px; font-family: "Caveat", cursive; font-size: 1.15rem; font-weight: 700; letter-spacing: .015em; opacity: .95; }

.brand-footer { color: rgba(255,255,255,.78); padding: 5px 0; }
.brand-footer:hover { color: var(--yellow); }
/* doppelte Klasse, damit die Breakpoint-Regeln von .brand span hier nicht greifen */
.brand.brand-footer span { font-size: 1.85rem; margin-top: 6px; }

@media screen and (min-width: 601px) {
  .brand strong { font-size: 1.25rem; letter-spacing: .14em; }
  .brand span { font-size: 1.3rem; margin-top: 4px; }
}

@media screen and (min-width: 821px) {
  .brand strong { font-size: 1.58rem; }
  .brand span { font-size: 1.7rem; }
  .brand-compact strong { font-size: 1.35rem; }
}

/* ---------- Social-Media-Links ---------- */

.socials { display: flex; gap: 10px; }
.socials a, .socials span { width: 39px; height: 39px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.35); border-radius: 3px; color: white; }

/* ---------- Kopfbereich ---------- */

.site-header { background: #fff; position: relative; z-index: 30; box-shadow: 0 2px 10px rgba(18, 52, 78, .08); }
.header-top { background: linear-gradient(115deg, var(--blue-deep), var(--blue)); color: white; }
.header-top-inner { min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.yellow-rule { height: 5px; background: var(--yellow); }

.desktop-nav { display: none; align-items: stretch; justify-content: center; min-height: 54px; }
.desktop-nav a { position: relative; display: flex; align-items: center; padding: 0 11px; background: transparent; color: #3d4c58; font-size: .87rem; font-weight: 700; text-transform: uppercase; letter-spacing: .035em; text-decoration: none; }
.desktop-nav a::after { content: ""; position: absolute; left: 18px; right: 18px; bottom: 0; height: 4px; background: transparent; }
.desktop-nav a:hover, .desktop-nav a.active { color: var(--ink); }
.desktop-nav a.active::after { background: var(--yellow); }

.menu-toggle { display: inline-grid; place-items: center; background: transparent; color: white; padding: 10px; }
.menu-toggle svg { width: 30px; height: 30px; }

.mobile-menu { position: fixed; inset: 0; z-index: 100; background: linear-gradient(145deg, var(--blue-deep), var(--blue)); color: white; padding: 40px 34px; transform: translateX(100%); transition: transform .28s ease; display: flex; flex-direction: column; }
.mobile-menu.open { transform: translateX(0); }
.mobile-menu .brand { margin-bottom: 54px; }
.mobile-menu nav { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.mobile-menu nav a { background: transparent; color: white; padding: 11px 0; font-family: Montserrat, Arial, sans-serif; font-size: 1.06rem; text-transform: uppercase; letter-spacing: .04em; text-decoration: none; }
.mobile-menu nav a.active { color: var(--yellow); }
.menu-close { position: absolute; right: 24px; top: 25px; color: white; background: transparent; }
.menu-close svg { width: 34px; height: 34px; }
.mobile-menu .socials { margin-top: auto; }

@media screen and (min-width: 601px) {
  .header-top-inner { min-height: 88px; }
}

@media screen and (min-width: 821px) {
  .header-top-inner { min-height: 116px; }
  .yellow-rule { height: 7px; }
  .desktop-nav { display: flex; }
  .menu-toggle { display: none; }
}

@media screen and (min-width: 1081px) {
  .desktop-nav a { padding: 0 19px; font-size: .93rem; }
}

/* ---------- Fußbereich ---------- */

.site-footer { background: linear-gradient(135deg, var(--blue-deep), var(--blue)); color: rgba(255,255,255,.84); }
.footer-main { display: grid; grid-template-columns: 1fr; gap: 30px; padding-top: 53px; padding-bottom: 48px; }
.footer-main h3 { color: white; font-size: .97rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; }
.footer-main a:not(.brand) { display: block; background: transparent; color: rgba(255,255,255,.78); padding: 5px 0; text-align: left; text-decoration: none; }
.footer-main a:not(.brand):hover { color: var(--yellow); }
.footer-main .socials a { display: grid; padding: 0; color: white; }
.footer-brand p { margin: 17px 0 0; font-size: .97rem; }
.footer-line-art { margin-top: 25px; color: rgba(255,255,255,.5); display: flex; align-items: center; gap: 10px; font-size: .92rem; }
.footer-line-art svg { width: 42px; height: 42px; }

.footer-bottom { border-top: 1px solid rgba(255,255,255,.15); font-size: .92rem; }
.footer-bottom .wrap { min-height: 62px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 20px; padding-top: 15px; padding-bottom: 15px; }
.footer-bottom span:last-child { display: flex; gap: 23px; }
.footer-bottom a { background: transparent; color: rgba(255,255,255,.72); padding: 0; text-decoration: none; }

@media screen and (min-width: 601px) {
  .footer-main { grid-template-columns: repeat(2, 1fr); gap: 50px; }
  .footer-bottom .wrap { flex-direction: row; align-items: center; justify-content: space-between; padding-top: 0; padding-bottom: 0; }
}

@media screen and (min-width: 821px) {
  .footer-main { grid-template-columns: 1.2fr 1fr 1fr; }
  .footer-main > div:last-child { grid-column: 2 / 4; }
}

@media screen and (min-width: 1081px) {
  .footer-main { grid-template-columns: 1.4fr .7fr .7fr 1fr; }
  .footer-main > div:last-child { grid-column: auto; }
}

/* ---------- Seiten-Hero ---------- */

.page-hero { min-height: 310px; position: relative; display: flex; align-items: flex-end; background-size: cover; background-position: var(--page-image-position, center 38%); background-repeat: no-repeat; color: white; overflow: hidden; }
.page-hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(17, 53, 83, .92) 0%, rgba(25, 70, 105, .73) 42%, rgba(18, 57, 86, .25) 75%, rgba(18, 57, 86, .16) 100%); }
.page-hero .wrap { position: relative; z-index: 2; padding-bottom: 32px; }
.page-hero span { display: block; color: var(--yellow); text-transform: uppercase; font-weight: 800; letter-spacing: .08em; font-size: .91rem; margin-bottom: 8px; }
.page-hero h1 { color: white; font-size: 2.45rem; margin-bottom: 12px; }
.page-hero p { max-width: 660px; margin: 0; font-size: 1.04rem; color: rgba(255, 255, 255, .9); }

@media screen and (min-width: 601px) {
  .page-hero { min-height: 440px; }
  .page-hero.compact { min-height: 335px; }
  .page-hero .wrap { padding-bottom: 54px; }
  .page-hero h1 { font-size: clamp(2.55rem, 5vw, 4.6rem); }
  .page-hero p { font-size: 1.14rem; }
}

/* Auf großen Bildschirmen wird das Hero-Bild per cover so stark hochskaliert, dass bei der
   normalen Höhe nur noch ein Streifen davon zu sehen ist: 50% mehr Höhe. */
@media screen and (min-width: 1600px) {
  .page-hero { min-height: 660px; }
  .page-hero.compact { min-height: 503px; }
}

/* ---------- Kleine Bausteine ---------- */

.section-heading { max-width: 760px; margin-bottom: 34px; }
.section-heading.centered { text-align: center; margin-inline: auto; }
.section-heading > span { display: block; color: var(--yellow-dark); font-weight: 800; text-transform: uppercase; font-size: .92rem; letter-spacing: .09em; margin-bottom: 9px; }
.section-heading h2 { margin-bottom: 12px; }
.section-heading p { color: var(--muted); margin: 0; font-size: 1.08rem; }

.date-box { width: 58px; min-height: 62px; display: flex; flex-direction: column; justify-content: center; align-items: center; border: 1px solid var(--line); background: #fff; color: var(--blue); line-height: 1; border-radius: 3px; }
.date-box b { font-family: Montserrat, Arial, sans-serif; font-size: 1.55rem; }
.date-box small { margin-top: 7px; font-weight: 850; color: var(--blue); font-size: .86rem; }
.date-box.large { width: 67px; min-height: 72px; }
.date-box.large b { font-size: 1.7rem; }

.filter-row { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-row button { min-height: 42px; border: 1px solid var(--line); background: #fff; color: #506575; padding: 8px 14px; border-radius: 3px; font-size: .92rem; font-weight: 750; text-transform: uppercase; }
.filter-row button.active, .filter-row button:hover { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }

/* Trennlinien je nach Spaltenzahl des umgebenden Rasters (1 / 2 / 3 / 5 Spalten).
   :nth-child(n) hebt die Spezifität auf die der :nth-child-Regeln der kleineren Stufen. */
.value-item { min-width: 0; padding: 12px 20px; display: grid; grid-template-columns: 42px 1fr; column-gap: 11px; border-bottom: 1px solid #dde5ea; }
.value-item:last-child { border-bottom: 0; }
.value-item > div { grid-row: span 2; color: var(--blue); }
.value-item > div svg { width: 32px; height: 32px; }
.value-item strong { color: var(--ink); font-family: Montserrat, Arial, sans-serif; font-size: 1rem; }
.value-item span { color: var(--muted); font-size: .93rem; line-height: 1.35; }

@media screen and (min-width: 601px) {
  .date-box.large { width: 85px; min-height: 88px; }
  .date-box.large b { font-size: 2.05rem; }

  .value-item { border-right: 1px solid #dde5ea; }
  .value-item:nth-child(even) { border-right: 0; }
  .value-item:last-child { grid-column: span 2; border-bottom: 0; border-right: 0; }
}

@media screen and (min-width: 821px) {
  .value-item:nth-child(n) { border-right: 1px solid #dde5ea; border-bottom: 0; }
  .value-item:nth-child(-n+3) { border-bottom: 1px solid #dde5ea; }
  .value-item:nth-child(3) { border-right: 0; }
  .value-item:last-child { grid-column: auto; border-right: 0; border-bottom: 0; }
}

@media screen and (min-width: 1081px) {
  .value-item:nth-child(n) { border-right: 1px solid #dde5ea; border-bottom: 0; }
  .value-item:last-child { border-right: 0; }
}

/* ---------- Karten ---------- */

.event-card { display: grid; grid-template-columns: 70px 1fr; gap: 14px; align-items: center; padding: 18px 14px; border: 1px solid var(--line); background: white; border-radius: var(--radius); }
.event-card > .text-link { grid-column: 2; }
.event-category { color: var(--yellow-dark); text-transform: uppercase; font-weight: 850; font-size: .88rem; letter-spacing: .07em; }
.event-card h2 { font-size: 1.35rem; margin: 4px 0 9px; }
.event-facts { display: flex; flex-direction: column; gap: 5px; flex-wrap: wrap; color: var(--blue); font-size: .97rem; }
.event-facts span { display: inline-flex; align-items: center; gap: 7px; }
.event-card p { margin: 9px 0 0; color: var(--muted); }

.mini-event { width: 100%; display: grid; grid-template-columns: 54px 1fr auto; gap: 12px; align-items: center; text-align: left; background: white; color: var(--text); padding: 14px 12px; border-bottom: 1px solid var(--line); text-decoration: none; }
.mini-event:last-child { border-bottom: 0; }
.mini-event:hover { background: #fafcfd; }
.mini-event > span:nth-child(2) { display: flex; flex-direction: column; }
.mini-event strong { color: var(--ink); line-height: 1.25; margin-bottom: 4px; }
.mini-event small { color: var(--muted); line-height: 1.3; }
.mini-event > svg { color: var(--blue); }

.news-card { display: grid; grid-template-columns: 1fr; border: 1px solid var(--line); background: white; border-radius: var(--radius); overflow: hidden; min-height: 265px; }
.news-card img { width: 100%; height: 220px; object-fit: cover; }
.news-card > div { padding: 22px; }
.card-meta { display: flex; align-items: center; gap: 13px; color: var(--muted); font-size: .92rem; }
.card-meta span { background: #edf3f7; color: var(--blue); font-weight: 800; padding: 3px 9px; text-transform: uppercase; }
.news-card h2 { font-size: 1.55rem; margin: 12px 0 9px; }
.news-card p { color: var(--muted); margin: 0 0 18px; }

.press-card { display: grid; grid-template-columns: 1fr; gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.press-card img { width: 100%; height: 215px; min-height: 0; object-fit: cover; }
.press-card > div { padding: 22px; }
.press-type { display: inline-block; background: var(--blue); color: white; padding: 4px 9px; font-size: .87rem; font-weight: 800; text-transform: uppercase; }
.press-card h2 { font-size: 1.42rem; margin: 12px 0 2px; }
.press-card time { color: var(--muted); font-size: .93rem; }
.press-card p { color: var(--muted); margin: 12px 0 17px; }

@media screen and (min-width: 601px) {
  .event-card { grid-template-columns: 85px 1fr; gap: 25px; padding: 23px 27px; }
  .event-facts { flex-direction: row; gap: 24px; }

  .mini-event { grid-template-columns: 62px 1fr auto; gap: 16px; padding: 18px; }

  .news-card { grid-template-columns: 250px 1fr; }
  .news-card img { height: 100%; }
  .news-card > div { padding: 28px 34px; }

  .press-card { grid-template-columns: 230px 1fr; }
  .press-card img { height: 100%; min-height: 235px; }
  .press-card > div { padding: 28px 32px; }
}

@media screen and (min-width: 821px) {
  .event-card { grid-template-columns: 95px 1fr auto; }
  .event-card > .text-link { grid-column: auto; }

  .news-card { grid-template-columns: 330px 1fr; }
}

/* ---------- Detailseiten (Artikel, Themen, Termine, Presse) ---------- */

.detail-hero { height: 440px; position: relative; display: flex; align-items: flex-end; overflow: hidden; }
.detail-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.detail-hero-shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(12,42,67,.94), rgba(12,42,67,.1) 80%); }
.detail-hero .wrap { position: relative; z-index: 2; padding-bottom: 52px; }
.detail-hero span { color: var(--yellow); font-weight: 850; text-transform: uppercase; letter-spacing: .08em; font-size: .9rem; }
.detail-hero h1 { color: white; max-width: 900px; font-size: 2.4rem; margin: 10px 0 5px; }
.detail-hero time { color: rgba(255,255,255,.85); }
.detail-body { max-width: 900px; padding-top: 55px; padding-bottom: 90px; }
.detail-body > p { font-size: 1.08rem; color: #435a6b; margin: 0 0 22px; }
.back-button { display: inline-flex; align-items: center; gap: 8px; background: transparent; color: var(--blue); padding: 0; margin-bottom: 35px; font-weight: 800; text-decoration: none; }
.source-link { display: inline-flex; align-items: center; gap: 8px; background: transparent; color: var(--blue); padding: 0; margin-top: 10px; font-weight: 800; text-decoration: none; }
.source-link:hover { text-decoration: underline; }
.source-link svg { width: 16px; height: 16px; }
.detail-icon { width: 68px; height: 68px; display: grid; place-items: center; background: var(--yellow); color: var(--ink); margin-bottom: 25px; }
.detail-icon .topic-icon-fa { font-size: 30px; }
.detail-facts { display: flex; flex-wrap: wrap; gap: 25px; margin-bottom: 28px; padding: 20px 22px; background: var(--soft); color: var(--blue); font-weight: 700; }
.detail-facts span { display: inline-flex; align-items: center; gap: 7px; }

@media screen and (min-width: 601px) {
  .detail-hero { height: 520px; }
  .detail-hero h1 { font-size: clamp(2.45rem, 5vw, 4.5rem); }
}

/* ---------- Startseite ---------- */

.home-hero { position: relative; overflow: hidden; background: #fff; }
/* Bilder werden direkt im style-Attribut gesetzt: relative url() in CSS-Variablen würden
   relativ zur CSS-Datei statt zur Seite aufgelöst. */
.home-hero-photo { height: 440px; background-size: cover; background-position: var(--hero-position, 68% center); }
.home-hero-inner { display: flex; align-items: flex-start; }
.home-hero-copy { width: 100%; padding: 28px 0 40px; position: relative; z-index: 2; }
.hero-text-card { display: inline-block; max-width: 100%; }
.home-hero .eyebrow { max-width: none; font-size: .85rem; }
.home-hero h1 { margin-bottom: 14px; font-size: 2.52rem; max-width: none; }
.home-hero p { font-size: 1.05rem; max-width: none; color: #385269; margin: 0 0 28px; }
.hero-actions { display: flex; flex-direction: column; align-items: flex-start; flex-wrap: wrap; gap: 12px; }

.focus-section { padding: 54px 0 56px; }
.focus-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.focus-card { min-height: 130px; border: 1px solid var(--line); background: white; color: var(--ink); border-radius: var(--radius); padding: 16px 9px; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 16px; font-size: .94rem; font-weight: 800; line-height: 1.25; text-align: center; text-decoration: none; box-shadow: 0 6px 22px rgba(31, 72, 103, .035); transition: .22s; }
.focus-card:last-child { grid-column: span 2; }
.focus-card .topic-icon-fa { font-size: 28px; color: var(--blue); }
.focus-card:hover { transform: translateY(-5px); border-color: var(--yellow); box-shadow: var(--shadow); }

.welcome-panel { position: relative; margin-top: 24px; margin-bottom: 55px; padding: 40px 26px 32px; border: 1px solid var(--line); border-radius: var(--radius); text-align: center; background: linear-gradient(135deg, #fff, #f8fafb); }
.welcome-panel .quote-icon { color: var(--blue); width: 36px; height: 36px; opacity: .32; margin: 0 auto 11px; }
.welcome-panel h2 { margin-bottom: 15px; }
.welcome-panel p { max-width: 850px; margin: 0 auto; color: #4a5f70; font-size: 1.08rem; }
/* Grußformel in Handschrift statt eingescannter Unterschrift */
.signature { margin: 24px 0 0; font-family: "Caveat", cursive; font-size: 2.3rem; font-weight: 700; line-height: 1.1; color: var(--ink); }
.welcome-panel .signature { margin: 24px auto 0; font-size: 2.3rem; color: var(--ink); }

.home-lists { display: grid; grid-template-columns: 1fr; gap: 48px; padding-bottom: 80px; }
.list-title { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 18px; }
.list-title h2 { font-size: 1.55rem; margin: 0; }
.list-title a { display: inline-flex; align-items: center; gap: 7px; background: transparent; color: var(--blue); font-size: .85rem; font-weight: 800; text-transform: uppercase; text-decoration: none; }
.featured-news { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: grid; grid-template-columns: 1fr; background: white; min-height: 310px; }
.featured-news > img { width: 100%; height: 215px; object-fit: cover; }
.featured-news > div { padding: 22px; }
.featured-news h3 { font-size: 1.45rem; margin: 8px 0 12px; }
.featured-news p { margin: 0 0 18px; color: var(--muted); }
.meta { color: var(--blue); font-weight: 750; font-size: .92rem; text-transform: uppercase; }
.mini-events { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }

.values-strip { background: var(--soft); border-top: 1px solid #e4e9ed; border-bottom: 1px solid #e4e9ed; }
.values-grid { display: grid; grid-template-columns: 1fr; padding-top: 34px; padding-bottom: 34px; }

@media screen and (min-width: 601px) {
  .home-hero-photo { height: 560px; }
  .home-hero-copy { padding-top: 40px; }
  .home-hero .eyebrow { max-width: none; font-size: .92rem; }
  .home-hero h1 { font-size: clamp(2.45rem, 10vw, 4rem); max-width: 520px; }
  .home-hero p { font-size: 1.08rem; max-width: 520px; }
  .hero-actions { flex-direction: row; align-items: normal; }

  .focus-section { padding-top: 76px; }
  .focus-grid { gap: 13px; }
  .focus-card { min-height: 155px; padding: 24px 15px; font-size: inherit; }
  .focus-card .topic-icon-fa { font-size: 34px; }

  .welcome-panel { margin-bottom: 72px; }

  .home-lists { gap: 30px; }
  .list-title { align-items: center; }
  .list-title a { font-size: .9rem; }
  .featured-news { grid-template-columns: 46% 54%; }
  .featured-news > img { height: 100%; }
  .featured-news > div { padding: 28px; }

  .values-grid { grid-template-columns: repeat(2, 1fr); }
}

@media screen and (min-width: 821px) {
  .home-hero { min-height: 670px; }
  /* Foto vom linken Bildschirmrand bis unter den Textbereich; läuft rechts weich nach Weiß aus.
     Auf breiten Bildschirmen wird es dadurch größer und unten stärker abgeschnitten. */
  .home-hero-photo { position: absolute; top: 0; bottom: 0; left: 0; width: calc(max(0px, (100% - 1180px) / 2) + min(58%, 680px)); height: auto; background-position: left -8vw top 8%; }
  .home-hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,0) 52%, rgba(255,255,255,.9) 74%, #fff 88%); }
  .home-hero-inner { min-height: 670px; align-items: center; justify-content: flex-end; }
  .home-hero-copy { width: min(620px, 54%); padding-top: 56px; margin-left: auto; }
  .hero-actions { justify-content: flex-end; }
  .home-hero h1 { font-size: clamp(2.7rem, 5.5vw, 5.1rem); max-width: 590px; }
  .home-hero p { font-size: 1.23rem; max-width: 570px; }

  .focus-grid { grid-template-columns: repeat(3, 1fr); }
  .focus-card:last-child { grid-column: auto; }

  .welcome-panel { padding: 48px 70px 38px; }

  .home-lists { grid-template-columns: 1.12fr .88fr; }
  /* Termin-Kasten genauso hoch wie der Artikel daneben; die Termine teilen sich die Höhe */
  .home-lists > div { display: flex; flex-direction: column; }
  .home-lists .featured-news, .home-lists .mini-events { flex: 1; }
  .mini-events { display: flex; flex-direction: column; }
  .mini-event { flex: 1; }

  .values-grid { grid-template-columns: repeat(3, 1fr); }
}

@media screen and (min-width: 1081px) {
  .focus-grid { grid-template-columns: repeat(5, minmax(0,1fr)); }
  .values-grid { grid-template-columns: repeat(5, 1fr); }
}

/* ---------- Über mich ---------- */

.about-intro { display: grid; grid-template-columns: 1fr; gap: 30px; padding-top: 50px; padding-bottom: 70px; }
.about-intro p, .about-intro .section-heading p { color: #536777; font-size: 1.08rem; }
.about-subheading { margin-top: 28px; margin-bottom: 10px; }
.bio-card { background: var(--soft); border-left: 6px solid var(--yellow); padding: 30px; align-self: start; }
.bio-card h3 { margin-bottom: 22px; }
.bio-card dl { margin: 0; }
.bio-card dt { font-size: .9rem; font-weight: 800; color: var(--blue); text-transform: uppercase; letter-spacing: .05em; }
.bio-card dd { margin: 1px 0 18px; color: #354b5c; }

.timeline-section { background: var(--soft); padding: 52px 0; }
.timeline { max-width: 870px; margin-top: 35px; }
.timeline-item { display: grid; grid-template-columns: 45px 1fr; gap: 15px; position: relative; padding-bottom: 34px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-marker { position: relative; display: flex; justify-content: center; }
.timeline-marker::after { content: ""; position: absolute; top: 35px; bottom: -7px; width: 2px; background: #cbd8e1; }
.timeline-item:last-child .timeline-marker::after { display: none; }
.timeline-marker span { width: 34px; height: 34px; border-radius: 50%; background: var(--blue); color: white; display: grid; place-items: center; font-weight: 800; font-size: .92rem; position: relative; z-index: 2; }
.timeline-item strong { color: var(--blue); font-size: .93rem; text-transform: uppercase; letter-spacing: .06em; }
.timeline-item h3 { margin: 4px 0 5px; }
.timeline-item p { margin: 0; color: var(--muted); }

.about-gallery { padding: 72px 0 8px; }
.about-gallery-grid { display: grid; grid-template-columns: 1fr; gap: 26px; }
.about-gallery-grid figure { margin: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: white; box-shadow: 0 6px 24px rgba(35, 71, 99, .04); }
.about-gallery-grid img { width: 100%; height: 280px; object-fit: cover; }
.about-gallery-grid figcaption { padding: 20px 24px; color: var(--muted); font-size: 1.02rem; }

.about-quote { margin-top: 72px; margin-bottom: 62px; background: linear-gradient(130deg, #f7f9fb, #fff); border: 1px solid var(--line); padding: 35px 28px; display: grid; grid-template-columns: 1fr; text-align: center; align-items: center; gap: 25px; }
.about-quote > svg { color: var(--blue); width: 42px; height: 42px; opacity: .4; }
.about-quote > svg, .about-quote .signature { grid-column: 1; margin-inline: auto; }
.about-quote blockquote { margin: 0; color: var(--ink); font-family: Montserrat, Arial, sans-serif; font-weight: 650; font-size: 1.35rem; }
.about-quote .signature { margin-top: 0; white-space: nowrap; }

.about-values { display: grid; grid-template-columns: 1fr; border: 1px solid var(--line); margin-bottom: 85px; }
.about-values .value-item { padding: 27px 22px; }

@media screen and (min-width: 601px) {
  .about-intro { padding-top: 72px; }
  .timeline-section { padding: 72px 0; }
  .timeline-item { grid-template-columns: 58px 1fr; gap: 24px; }
  .about-quote { grid-template-columns: auto 1fr; text-align: start; }
  .about-quote > svg { grid-column: auto; margin-inline: 0; }
  .about-quote .signature { grid-column: 2; margin-inline: 0; }
  .about-values { grid-template-columns: repeat(2, 1fr); }
}

@media screen and (min-width: 821px) {
  .about-intro { grid-template-columns: 1fr 340px; gap: 72px; }
  .about-gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .about-quote { grid-template-columns: auto 1fr auto; padding: 45px 60px; }
  .about-quote .signature { grid-column: auto; }
}

@media screen and (min-width: 1081px) {
  .about-values { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- Erreicht & Ziele ---------- */

.achievements-intro, .goals-intro { padding-bottom: 8px; }
.achievements-categories { padding-bottom: 20px; display: grid; gap: 44px; }
.achievement-category-heading { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.achievement-category-heading .topic-icon-fa { color: var(--blue); font-size: 27px; flex-shrink: 0; }
.achievement-category-heading h2 { font-size: 1.45rem; margin: 0; }
.achievement-items { display: grid; grid-template-columns: 1fr; gap: 18px; }
.achievement-item { display: grid; grid-template-columns: 26px 1fr; gap: 14px; padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: white; }
.achievement-item > svg { color: var(--yellow-dark); width: 22px; height: 22px; margin-top: 3px; }
.achievement-item h3 { font-size: 1.18rem; margin: 0 0 8px; }
.achievement-item p { margin: 0; color: var(--muted); font-size: 1.08rem; }

.achievements-funding { margin-top: 56px; padding: 36px 0; background: var(--soft); border-top: 1px solid #e4e9ed; border-bottom: 1px solid #e4e9ed; }
.achievements-funding-inner { max-width: 780px; margin-inline: auto; text-align: center; }
.achievements-funding-icon { color: var(--blue); width: 38px; height: 38px; margin: 0 auto 16px; display: block; }
.achievements-funding h2 { font-size: 1.5rem; margin-bottom: 14px; }
.achievements-funding p { margin: 0 0 12px; color: #4a5f70; }
.achievements-funding p:last-child { margin-bottom: 0; }
.achievements-closing { padding-top: 56px; padding-bottom: 90px; max-width: 900px; }
.achievements-closing p { color: #435a6b; font-size: 1.05rem; }

.goals-sections { padding-bottom: 20px; display: grid; gap: 30px; }
.goal-section { padding: 26px 28px; border: 1px solid var(--line); border-radius: var(--radius); background: white; }
.goal-section-heading { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.goal-section-heading .topic-icon-fa { color: var(--blue); font-size: 27px; flex-shrink: 0; }
.goal-section-heading h2 { font-size: 1.35rem; margin: 0; }
.goal-section p { margin: 0 0 14px; color: var(--muted); font-size: 1.08rem; }
.goal-section p:last-child { margin-bottom: 0; }
.goals-closing { padding-top: 56px; padding-bottom: 90px; max-width: 900px; }
.goals-closing p { color: #435a6b; font-size: 1.05rem; margin: 0 0 18px; }
.goals-closing p:last-child { margin-bottom: 0; }

@media screen and (min-width: 601px) {
  .achievement-items { grid-template-columns: repeat(2, 1fr); }
  .achievements-funding { padding: 54px 0; }
}

/* ---------- Aktuelles ---------- */

.news-tools { margin-bottom: 34px; display: flex; align-items: stretch; justify-content: space-between; gap: 22px; flex-wrap: wrap; }
.search-field { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); min-width: 100%; padding: 0 14px; background: white; }
.search-field svg { color: var(--blue); }
.search-field input { width: 100%; min-height: 48px; border: 0; outline: 0; background: transparent; }
.news-list { display: grid; gap: 18px; }
.list-empty { color: var(--muted); }

@media screen and (min-width: 601px) {
  .news-tools { align-items: center; }
  .search-field { min-width: min(420px, 100%); }
}

/* ---------- Themen ---------- */

.topic-grid { display: grid; grid-template-columns: 1fr; gap: 22px; }
.topic-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: white; box-shadow: 0 6px 24px rgba(35, 71, 99, .04); }
.topic-card > img { width: 100%; height: 215px; object-fit: cover; }
.topic-card-body { position: relative; padding: 31px; }
.topic-icon { position: absolute; right: 26px; top: -28px; width: 58px; height: 58px; display: grid; place-items: center; background: var(--yellow); color: var(--ink); border: 6px solid white; }
.topic-icon .topic-icon-fa { font-size: 22px; }
.topic-card h2 { font-size: 1.48rem; margin-bottom: 9px; }
.topic-card p { color: var(--muted); margin: 0 0 16px; }
.topic-quote { margin-top: 42px; padding: 25px 22px; background: var(--soft); border-left: 5px solid var(--yellow); display: flex; gap: 18px; align-items: flex-start; }
.topic-quote svg { color: var(--blue); width: 36px; height: 36px; flex-shrink: 0; }
.topic-quote p { margin: 0; color: var(--ink); font-family: Montserrat, Arial, sans-serif; font-size: 1.15rem; font-weight: 650; }

@media screen and (min-width: 601px) {
  .topic-grid { grid-template-columns: repeat(2, 1fr); }
  .topic-card > img { height: 220px; }
  .topic-quote { padding: 33px 40px; align-items: center; }
}

@media screen and (min-width: 821px) {
  .topic-card > img { height: 250px; }
}

/* ---------- Termine & Presse ---------- */

.event-filters { margin-bottom: 20px; }
.event-filters:last-of-type { margin-bottom: 30px; }
.event-list { display: grid; gap: 14px; }
.press-list { display: grid; gap: 17px; }

/* ---------- Kontakt ---------- */

.contact-section { display: grid; grid-template-columns: 1fr; gap: 65px; padding-top: 68px; padding-bottom: 88px; }
.contact-copy > img { margin-top: 35px; width: 100%; height: 330px; object-fit: cover; }
.contact-details { display: grid; gap: 12px; }
.contact-details p { margin: 0; display: flex; align-items: flex-start; gap: 14px; color: #516777; }
.contact-details svg { color: var(--blue); margin-top: 3px; flex-shrink: 0; }
.contact-details span { display: flex; flex-direction: column; }
.contact-details b { color: var(--ink); }
.contact-details a { color: var(--blue); text-decoration: none; }

.contact-form { border: 1px solid var(--line); padding: 23px 18px; background: white; align-self: start; }
.contact-form label { display: block; color: var(--ink); font-weight: 750; font-size: .97rem; margin-bottom: 20px; }
.contact-form input, .contact-form select, .contact-form textarea { display: block; width: 100%; margin-top: 7px; border: 1px solid #cfd9e0; border-radius: 2px; background: #fff; padding: 12px 13px; outline: 0; color: var(--text); }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(49,95,135,.1); }
.select-wrap { display: block; position: relative; }
.select-wrap select { appearance: none; padding-right: 42px; }
.select-wrap svg { position: absolute; right: 13px; top: 50%; transform: translateY(-28%); color: var(--blue); pointer-events: none; }
.contact-form .privacy { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; color: var(--muted); }
.contact-form .privacy input { width: 18px; height: 18px; margin: 4px 0 0; flex-shrink: 0; }
.submit-button { width: 100%; }
.form-message { margin-bottom: 0; padding: 12px 14px; color: var(--muted); font-size: .97rem; }

@media screen and (min-width: 601px) {
  .contact-form { padding: 34px; }
}

@media screen and (min-width: 821px) {
  .contact-section { grid-template-columns: .9fr 1.1fr; }
  .contact-copy > img { height: 380px; }
}

/* ---------- Impressum & Datenschutz ---------- */

.legal-page { padding-top: 65px; padding-bottom: 90px; max-width: 900px; }
.legal-page > h1 { font-size: 2.7rem; }
.legal-page section { border-top: 1px solid var(--line); padding-top: 25px; margin-top: 25px; }
.legal-page h2 { font-size: 1.35rem; }
/* einfache Zeilenumbrüche innerhalb eines Absatzes (Anschrift) */
.legal-page p { color: #526878; white-space: pre-line; }
.ttpa h3 { font-size: 1.1rem; margin: 26px 0 10px; }
.ttpa p, .ttpa ul { margin: 0 0 8px; }
.ttpa ul { color: #526878; padding-left: 22px; }
.ttpa li { margin-bottom: 4px; }
.ttpa strong { color: var(--ink); }

/* ---------- 404 ---------- */

.not-found { min-height: 560px; display: flex; align-items: center; justify-content: center; flex-direction: column; text-align: center; }
.not-found > svg { width: 60px; height: 60px; color: var(--blue); }
.not-found h1 { font-size: 3rem; margin: 20px 0 5px; }
.not-found p { color: var(--muted); }

/* Startseite auf sehr breiten Bildschirmen: mehr Höhe, damit das Foto nicht zu stark heranzoomt */
@media screen and (min-width: 1600px) {
  .home-hero, .home-hero-inner { min-height: 820px; }
}
