/* EURADON website – Farbwelt „Thermal“, Schrift „Modern“, Motiv „Bögen“.
   Schriften liegen lokal (keine Verbindung zu Google). */

@font-face { font-family: "Lexend"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/lexend-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Lexend"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/lexend-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Lexend"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/lexend-latin-500-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Lexend"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/lexend-latin-ext-500-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Lexend"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/lexend-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Lexend"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/lexend-latin-ext-600-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Atkinson Hyperlegible"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/atkinson-hyperlegible-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Atkinson Hyperlegible"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/atkinson-hyperlegible-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Atkinson Hyperlegible"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/atkinson-hyperlegible-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Atkinson Hyperlegible"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/atkinson-hyperlegible-latin-ext-700-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Atkinson Hyperlegible"; font-weight: 400; font-style: italic; font-display: swap; src: url("../fonts/atkinson-hyperlegible-latin-400-italic.woff2") format("woff2"); }

:root {
  --ink: #102e2c;        /* Tiefpetrol: Text, dunkle Flächen */
  --petrol: #0f6b66;     /* Thermalpetrol: Logo, Links, Überschriften-Akzente */
  --gold: #d9a441;       /* Quellgold: Handlungsaufforderungen */
  --sinter: #e6dccb;     /* Sinter: Linien, Bögen */
  --mineral: #eaf2ef;    /* Mineral: Flächen, Kästen */
  --paper: #faf8f3;      /* Papier: Seitenhintergrund */
  --white: #ffffff;
  --muted: #4a5a57;
  --line: #ddd7cc;
  --on-dark: #cfe5e1;
  --display: "Lexend", "Segoe UI", system-ui, sans-serif;
  --body: "Atkinson Hyperlegible", "Segoe UI", system-ui, sans-serif;
  --radius: 6px;
  --max: 1160px;
  color-scheme: light;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 1.125rem; line-height: 1.65; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--petrol); text-underline-offset: .18em; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; margin: 0; text-wrap: balance; color: var(--ink); }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.3rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.1rem; }
p { margin: 0; }
.wrap { max-width: var(--max); margin: 0 auto; padding-inline: clamp(16px, 4vw, 40px); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--white); padding: 8px 12px; z-index: 50; }
.eyebrow { font-family: var(--display); font-size: .8125rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--petrol); }
.lead { font-size: 1.25rem; color: var(--muted); max-width: 62ch; }
.prose { max-width: 68ch; display: grid; gap: 1em; }
.prose ul, .prose ol { margin: 0; padding-left: 1.2em; display: grid; gap: .35em; }
.prose h2 { margin-top: .6em; }
.prose h3 { margin-top: .4em; }
.muted { color: var(--muted); }
.small { font-size: .9375rem; }

/* Draft banner */
.draft { background: var(--ink); color: var(--on-dark); font-size: .875rem; text-align: center; padding: 6px 16px; }
.draft b { color: var(--gold); font-weight: 700; }

/* Header */
.site-head { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.site-head .wrap { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.brand { color: var(--petrol); display: block; flex: none; }
.brand svg { width: 230px; height: auto; display: block; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a { font-family: var(--display); font-size: .9375rem; font-weight: 500; color: var(--ink); text-decoration: none; padding: 8px 12px; border-radius: var(--radius); }
.nav a:hover, .nav a[aria-current="page"] { background: var(--mineral); color: var(--petrol); }
.lang { display: flex; gap: 2px; margin-left: 8px; font-family: var(--display); font-size: .8125rem; font-weight: 600; }
.lang a, .lang span { padding: 4px 7px; border-radius: 4px; text-decoration: none; }
.lang a[aria-current="true"] { background: var(--ink); color: var(--paper); }
.lang span { color: #9aa5a3; cursor: not-allowed; }
.menu { display: none; margin-left: auto; }
.menu summary { list-style: none; cursor: pointer; font-family: var(--display); font-weight: 600; padding: 8px 14px; border: 1.5px solid var(--ink); border-radius: var(--radius); }
.menu summary::-webkit-details-marker { display: none; }
.menu nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px 16px 16px; display: grid; }
.menu nav a { font-family: var(--display); font-weight: 500; color: var(--ink); text-decoration: none; padding: 12px 4px; border-bottom: 1px solid var(--line); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; font-family: var(--display); font-weight: 600; font-size: 1rem; padding: 13px 22px; border-radius: var(--radius); text-decoration: none; border: 1.5px solid transparent; }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: #e6b65a; color: var(--ink); }
.btn-line { border-color: currentColor; color: var(--white); }
.btn-line:hover { background: rgba(255,255,255,.1); color: var(--white); }
.btn-ink { border-color: var(--ink); color: var(--ink); }
.btn-ink:hover { background: var(--ink); color: var(--paper); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* Hero */
.hero { background: linear-gradient(150deg, var(--petrol), var(--ink)); color: var(--white); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 48px; align-items: end; padding-block: 64px 0; }
.hero h1 { color: var(--white); }
.hero .lead { color: var(--on-dark); margin-top: 18px; }
.hero .btns { margin-top: 30px; }
.hero .eyebrow { color: var(--gold); margin-bottom: 14px; display: block; }
.hero-text { padding-bottom: 64px; }
.arch { border-radius: 999px 999px 0 0; overflow: hidden; position: relative; }
.arch img { width: 100%; height: 100%; object-fit: cover; }
.hero .arch { aspect-ratio: 4 / 5; border: 2px solid rgba(230, 220, 203, .45); border-bottom: 0; max-width: 440px; justify-self: end; width: 100%; }

.page-head { background: var(--mineral); border-bottom: 1px solid var(--line); }
.page-head .wrap { padding-block: 52px 44px; display: grid; gap: 14px; }
.crumbs { font-size: .875rem; color: var(--muted); }
.crumbs a { color: var(--muted); }

/* Sections */
.section { padding-block: 72px; }
.section + .section { padding-top: 0; }
.section-head { display: grid; gap: 12px; margin-bottom: 36px; max-width: 720px; }
.band { background: var(--white); border-block: 1px solid var(--line); }

.stats { background: var(--white); border-bottom: 1px solid var(--line); }
.stats .wrap { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stats .wrap > div { padding: 22px clamp(16px, 3vw, 32px); border-right: 1px solid var(--line); }
.stats .wrap > div:first-child { padding-left: 0; }
.stats .wrap > div:last-child { border-right: 0; }
.stats b { display: block; font-family: var(--display); font-size: 2rem; font-weight: 600; color: var(--petrol); line-height: 1.1; }
.stats span { color: var(--muted); font-size: .9375rem; }

.paths { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.path { background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 26px; display: grid; gap: 10px; align-content: start; text-decoration: none; color: var(--ink); }
.path:hover { border-color: var(--petrol); color: var(--ink); }
.path .who { font-family: var(--display); font-size: .8125rem; letter-spacing: .12em; text-transform: uppercase; color: var(--petrol); font-weight: 500; }
.path p { color: var(--muted); font-size: 1rem; }
.path .go { font-family: var(--display); font-weight: 600; color: var(--petrol); font-size: .9375rem; margin-top: 6px; }

.forms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.form-card { display: grid; gap: 14px; align-content: start; }
.form-card .arch { aspect-ratio: 3 / 4; background: var(--sinter); }
.form-card p { color: var(--muted); font-size: 1rem; }

.note { background: var(--mineral); border-left: 4px solid var(--petrol); border-radius: 0 10px 10px 0; padding: 20px 24px; display: grid; gap: 8px; max-width: 820px; }
.note h3 { font-size: 1.1rem; }
.note p { font-size: 1rem; }
.note.pending { border-left-color: var(--gold); background: #fbf3e2; }

.event { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 24px; align-items: center; background: var(--ink); color: var(--white); border-radius: 12px; padding: 28px 32px; }
.event .date { font-family: var(--display); text-align: center; border: 2px solid var(--gold); border-radius: 999px 999px 0 0; padding: 18px 16px 12px; min-width: 120px; }
.event .date b { display: block; font-size: 1.6rem; color: var(--gold); line-height: 1; }
.event .date span { font-size: .875rem; color: var(--on-dark); }
.event h3 { color: var(--white); }
.event p { color: var(--on-dark); font-size: 1rem; }

/* Member cards + filter */
.filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filter button { font: inherit; font-family: var(--display); font-weight: 500; font-size: .9375rem; border: 1.5px solid var(--line); background: var(--white); color: var(--ink); border-radius: 999px; padding: 7px 16px; cursor: pointer; }
.filter button[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.members { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.member { background: var(--white); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; display: grid; grid-template-rows: auto 1fr; text-decoration: none; color: var(--ink); }
.member:hover { border-color: var(--petrol); color: var(--ink); }
.member .pic { aspect-ratio: 16 / 10; background: var(--sinter); overflow: hidden; }
.member .pic img { width: 100%; height: 100%; object-fit: cover; }
.member .txt { padding: 18px 20px 20px; display: grid; gap: 4px; align-content: start; }
.member .country { font-family: var(--display); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--petrol); font-weight: 500; }
.member .reg { font-size: .9375rem; color: var(--muted); }
.member .tag { justify-self: start; margin-top: 8px; font-size: .8125rem; background: var(--mineral); border-radius: 4px; padding: 2px 8px; }
.placeholder { width: 100%; height: 100%; display: grid; place-items: center; background: linear-gradient(160deg, var(--sinter), #d5c7ae); color: var(--muted); font-family: var(--display); font-size: .875rem; text-align: center; padding: 12px; }
.placeholder svg { width: 38px; height: auto; color: var(--petrol); opacity: .55; margin-bottom: 8px; }

/* Profile */
.profile { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 48px; align-items: start; }
.gallery { display: grid; gap: 16px; }
.gallery .arch { aspect-ratio: 4 / 5; background: var(--sinter); }
.gallery .row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.gallery .row img { border-radius: 8px; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.facts { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 20px; margin: 0; padding: 20px 0; border-block: 1px solid var(--line); }
.facts dt { font-family: var(--display); font-weight: 500; font-size: .9375rem; color: var(--muted); }
.facts dd { margin: 0; }
.contact-card { background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 22px 24px; display: grid; gap: 6px; font-size: 1rem; }
.contact-card h3 { font-size: 1.1rem; margin-bottom: 4px; }
.contact-card .k { color: var(--muted); display: inline-block; min-width: 3.2em; }

/* Timeline */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-left: 2px solid var(--sinter); margin-left: 8px; max-width: 760px; }
.timeline li { position: relative; padding: 0 0 26px 30px; }
.timeline li::before { content: ""; position: absolute; left: -9px; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--paper); border: 3px solid var(--petrol); }
.timeline b { font-family: var(--display); font-weight: 600; color: var(--petrol); display: block; }

/* Tables, lists */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; background: var(--white); }
table { width: 100%; border-collapse: collapse; font-size: 1rem; min-width: 620px; }
th, td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { font-family: var(--display); font-weight: 500; font-size: .8125rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); background: var(--mineral); }
tbody tr:last-child td { border-bottom: 0; }
td.num { white-space: nowrap; font-variant-numeric: tabular-nums; }
.faq { display: grid; gap: 12px; max-width: 820px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 0 22px; }
.faq summary { cursor: pointer; font-family: var(--display); font-weight: 600; font-size: 1.1rem; padding: 18px 0; list-style-position: outside; }
.faq details[open] summary { border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.faq details > div { padding-bottom: 20px; display: grid; gap: 10px; }
.cols2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 24px; display: grid; gap: 10px; align-content: start; }
.card p, .card li { font-size: 1rem; }
.card ul { margin: 0; padding-left: 1.1em; display: grid; gap: 4px; }

/* Footer */
.site-foot { background: var(--ink); color: var(--on-dark); margin-top: 96px; }
.site-foot .wrap { padding-block: 56px 28px; display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.site-foot svg { width: 240px; color: var(--white); }
.site-foot h4 { color: var(--white); font-size: .875rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 500; margin-bottom: 10px; }
.site-foot a { color: var(--on-dark); text-decoration: none; }
.site-foot a:hover { color: var(--gold); }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 1rem; }
.site-foot address { font-style: normal; font-size: 1rem; margin-top: 18px; }
.foot-base { border-top: 1px solid rgba(207, 229, 225, .2); }
.foot-base .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; padding-block: 18px; font-size: .875rem; grid-template-columns: none; }

/* Download-Kasten und Studienkarten */
.download { max-width: 760px; }
.download h2 { font-size: 1.5rem; }
.is-disabled { opacity: .55; cursor: not-allowed; }
.study { max-width: 860px; }
.study h3 { font-size: 1.25rem; }
.study-links a { font-weight: 600; }

@media (max-width: 980px) {
  .nav, .lang { display: none; }
  .menu { display: block; }
  .hero .wrap { grid-template-columns: minmax(0, 1fr); padding-top: 48px; }
  .hero .arch { justify-self: start; max-width: 360px; }
  .hero-text { padding-bottom: 8px; }
  .paths, .forms, .members { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .profile, .cols2 { grid-template-columns: minmax(0, 1fr); }
  .site-foot .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  body { font-size: 1.0625rem; }
  .brand svg { width: 190px; }
  .paths, .forms, .members, .stats .wrap { grid-template-columns: minmax(0, 1fr); }
  .stats .wrap > div { border-right: 0; border-bottom: 1px solid var(--line); padding-inline: 0; }
  .stats .wrap > div:last-child { border-bottom: 0; }
  .event { grid-template-columns: minmax(0, 1fr); }
  .event .date { justify-self: start; }
  .site-foot .wrap { grid-template-columns: minmax(0, 1fr); }
  .section { padding-block: 52px; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }

/* Bildausschnitte */
img[src*="wannenbad"] { object-position: 68% 50%; }
img[src*="brambach-wettinquelle"] { object-position: 50% 70%; }

/* Mitgliederkarte */
.map { position: relative; max-width: 760px; margin-inline: auto; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--white); }
.map svg { display: block; width: 100%; height: auto; }
.map-sea { fill: #f3f1ec; }
.map-nb { fill: #ece8e0; stroke: #d8d1c4; stroke-width: 1.2; }
.map-land { fill: var(--mineral); stroke: #9cbfb6; stroke-width: 1.6; stroke-linejoin: round; }
.map-label { font-family: var(--display); font-size: 26px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; fill: #7c9a94; }
.map-label.nb { font-size: 19px; fill: #b7ae9f; font-weight: 400; }
.pin { position: absolute; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; border: 3px solid var(--white); background: var(--petrol); box-shadow: 0 2px 6px rgba(16, 46, 44, .4); cursor: pointer; padding: 0; color: var(--white); font: 600 11px/1 var(--display); display: grid; place-items: center; }
.pin.multi { width: 28px; height: 28px; margin: -14px 0 0 -14px; }
.pin:hover, .pin[aria-expanded="true"] { background: var(--gold); color: var(--ink); z-index: 2; }
.pop { position: absolute; z-index: 5; width: min(280px, calc(100% - 16px)); background: var(--white); border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 12px 28px -12px rgba(16, 46, 44, .45); padding: 14px 16px; display: grid; gap: 12px; font-size: .9375rem; line-height: 1.45; }
.pop-ort { display: grid; gap: 2px; }
.pop-ort + .pop-ort { border-top: 1px solid var(--line); padding-top: 10px; }
.pop-ort b { font-family: var(--display); font-weight: 600; font-size: 1.0625rem; }
.pop-reg { color: var(--muted); font-size: .875rem; }
.pop-ort a { overflow-wrap: anywhere; }
.pop-more { font-family: var(--display); font-weight: 600; font-size: .875rem; margin-top: 4px; text-decoration: none; }
.map-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.map-layout .map { max-width: 600px; margin: 0; width: 100%; }
.map-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.map-list li { border-bottom: 1px solid var(--line); }
.map-list button { font: inherit; width: 100%; text-align: left; background: transparent; border: 0; padding: 12px 6px; cursor: pointer; display: grid; gap: 2px; color: var(--ink); }
.map-list button:hover { background: var(--mineral); }
.map-list b { font-family: var(--display); font-weight: 600; }
.map-list span { font-size: .875rem; color: var(--muted); }
@media (max-width: 980px) {
  .map-layout { grid-template-columns: minmax(0, 1fr); }
  .map-layout .map { margin-inline: auto; }
}
@media (max-width: 620px) {
  .pin { width: 18px; height: 18px; margin: -9px 0 0 -9px; border-width: 2px; }
  .pin.multi { width: 24px; height: 24px; margin: -12px 0 0 -12px; }
}

/* ===== Mega-Menü ===== */
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.nav-top { font: inherit; font-family: var(--display); font-size: .9375rem; font-weight: 500; color: var(--ink); background: transparent; border: 0; cursor: pointer; padding: 9px 12px; border-radius: var(--radius); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; position: relative; }
.nav-top .chev { width: 12px; height: 12px; transition: transform .2s ease; }
.nav-top[aria-expanded="true"] .chev { transform: rotate(180deg); }
.nav-top::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 3px; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.nav-top:hover::after, .nav-top[aria-expanded="true"]::after, .nav-top.is-current::after, .nav-top[aria-current="page"]::after { transform: scaleX(1); }
.nav-top:hover { color: var(--petrol); }
.nav a.nav-top:hover, .nav a.nav-top[aria-current="page"] { background: transparent; }

.mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -28px rgba(16, 46, 44, .45); opacity: 0; transform: translateY(-8px); transition: opacity .18s ease, transform .18s ease; }
.mega.is-open { opacity: 1; transform: none; }
.mega-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 40px; padding-block: 28px 32px; align-items: start; }
.mega-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 24px; }
.mega-links a { display: grid; gap: 2px; padding: 12px 14px; border-radius: 8px; text-decoration: none; color: var(--ink); transition: background .2s ease; }
.mega-links a:hover, .mega-links a:focus-visible { background: var(--mineral); }
.mega-links b { font-family: var(--display); font-weight: 600; font-size: 1rem; }
.mega-links span { font-size: .875rem; color: var(--muted); }
.mega-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.mega-cols ul { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 2px; }
.mega-cols a { display: block; padding: 5px 0; text-decoration: none; color: var(--ink); font-size: 1rem; transition: color .2s ease, transform .2s ease; }
.mega-cols a:hover { color: var(--petrol); transform: translateX(4px); }
.mega-feature { display: grid; gap: 6px; text-decoration: none; color: var(--ink); align-content: start; }
.mega-feature b { font-family: var(--display); font-weight: 600; font-size: 1.05rem; }
.mega-feature .arch { aspect-ratio: 16 / 10; border-radius: 160px 160px 0 0; margin-bottom: 8px; }
.mini-map { background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 10px; margin-bottom: 8px; display: grid; place-items: center; }
.mini-map svg { width: 100%; max-height: 190px; }
.mini-map path { fill: var(--mineral); stroke: #9cbfb6; stroke-width: 3; }
.mini-map circle { fill: var(--petrol); stroke: var(--white); stroke-width: 7; transition: fill .2s ease; }
.mega-map:hover circle { fill: var(--gold); }
.mega-element .tile { width: 150px; aspect-ratio: 1; border: 2px solid var(--gold); border-radius: 6px; padding: 12px; display: grid; grid-template-rows: auto 1fr auto auto; font-family: var(--display); color: var(--ink); }
.mega-element .tile b { font-size: 3rem; line-height: 1; align-self: center; }
.mega-element .tile em { font-style: normal; color: var(--petrol); font-size: .8rem; }
.mega-event .date { font-family: var(--display); text-align: center; border: 2px solid var(--gold); border-radius: 999px 999px 0 0; padding: 18px 16px 12px; width: 130px; margin-bottom: 8px; transition: background .2s ease; }
.mega-event .date b { display: block; font-size: 1.6rem; color: var(--petrol); line-height: 1; }
.mega-event .date span { font-size: .875rem; color: var(--muted); }
.mega-event:hover .date { background: #fbf3e2; }
.menu-sub { display: grid; padding-left: 16px; }
.menu-sub a { font-weight: 400 !important; font-size: .9375rem; }

/* ===== Kopfzeile beim Scrollen ===== */
.site-head .wrap { transition: min-height .25s ease; }
.brand svg { transition: width .25s ease; }
.site-head.is-scrolled { box-shadow: 0 6px 18px -14px rgba(16, 46, 44, .5); }
.site-head.is-scrolled > .wrap { min-height: 62px; }
.site-head.is-scrolled .brand svg { width: 196px; }

/* ===== Hover-Zoom: nur bei anklickbaren Bildern ===== */
.member .pic img, a.form-card .arch img, .mega-feature .arch img { transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.member:hover .pic img, .member:focus-visible .pic img,
a.form-card:hover .arch img, a.form-card:focus-visible .arch img,
.mega-feature:hover .arch img { transform: scale(1.06); }
a.form-card { text-decoration: none; color: var(--ink); }
a.form-card h3 { transition: color .2s ease; }
a.form-card:hover h3 { color: var(--petrol); }
.member, .path { transition: border-color .2s ease, box-shadow .25s ease, transform .25s ease; }
.member:hover, .path:hover { box-shadow: 0 16px 30px -22px rgba(16, 46, 44, .55); transform: translateY(-3px); }
.go .arr, .btn .arr { display: inline-block; transition: transform .2s ease; }
.path:hover .go .arr, .btn:hover .arr, a.form-card:hover .arr { transform: translateX(4px); }

/* ===== Startbild: ruhiges Hineinzoomen beim Laden ===== */
.hero .arch img { animation: settle 1.6s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes settle { from { transform: scale(1.08); } to { transform: scale(1); } }

/* ===== Einblenden beim Scrollen (nur mit JavaScript) ===== */
.js-reveal .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1); }
.js-reveal .reveal.is-in { opacity: 1; transform: none; }

/* ===== Kartenpunkte ===== */
.pins-wait .pin { opacity: 0; }
.pins-drop .pin { animation: pin-drop .45s cubic-bezier(.3, 1.4, .5, 1) backwards; }
@keyframes pin-drop { from { opacity: 0; transform: translateY(-14px) scale(.6); } to { opacity: 1; transform: none; } }
.pin { transition: background .15s ease, transform .15s ease; }
.pin:hover, .pin[aria-expanded="true"] { transform: scale(1.18); }

@media (max-width: 980px) { .mega { display: none !important; } }
@media (prefers-reduced-motion: reduce) {
  .hero .arch img, .pins-drop .pin { animation: none; }
  .js-reveal .reveal { opacity: 1; transform: none; }
  .member:hover, .path:hover { transform: none; }
  .member:hover .pic img, a.form-card:hover .arch img, .mega-feature:hover .arch img { transform: none; }
}

/* ===== Barrierefreiheit (WCAG 2.1 AA / EN 301 549) ===== */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
/* Fokus: Petrol auf hellem Grund (6:1), Weiß bzw. Gold auf dunklem Grund */
:focus-visible { outline: 3px solid var(--petrol); outline-offset: 3px; border-radius: 2px; }
.hero :focus-visible, .site-foot :focus-visible, .event :focus-visible, .draft :focus-visible { outline-color: var(--white); }
main:focus { outline: none; }
.skip:focus { outline: 3px solid var(--petrol); }
.lang span[aria-disabled] { color: var(--muted); }
.placeholder { color: var(--ink); }
.map-label { fill: #4a5a57; }
.map-label.nb { fill: #6f6759; }
.nav-top::after { background: var(--petrol); }
.pin::before { content: ""; position: absolute; inset: -11px; border-radius: 50%; }
.note-title { font-family: var(--display); font-weight: 600; font-size: 1.1rem; }
.h3 { font-size: 1.3rem; }
.event .h3 { color: var(--white); }
.foot-h { color: var(--white); font-size: .875rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 500; margin-bottom: 10px; }
.stand { font-size: .875rem; color: var(--muted); }
a:not([class]) { text-decoration-thickness: 1px; }
@media (forced-colors: active) {
  .pin { forced-color-adjust: none; border-color: CanvasText; }
  .btn, .nav-top, .filter button { border: 1px solid ButtonText; }
}
