/* Haidong Gumdo Kreis Köln – Baek Ho Dojang e.V.
   Gestaltung: Tusche (Schwarz), Papier (warmes Weiß), Siegelrot – abgeleitet vom Vereinslogo. */

:root {
  --ink: #151515;
  --ink-2: #2a2a2a;
  --ink-soft: #55524c;
  --paper: #f6f3ee;
  --paper-2: #ece7df;
  --white: #ffffff;
  --red: #c8102e;
  --red-dark: #9e0b23;
  --line: #d9d2c6;
  --blue: #1f2f5a;          /* Dobok-Blau der Dan-Träger */

  --font-head: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 4px;
  --header-h: 64px;
  --shadow: 0 1px 2px rgb(0 0 0 / .06), 0 8px 24px rgb(0 0 0 / .08);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--red-dark); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: .01em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 6.5vw, 5rem); text-transform: uppercase; }
h2 { font-size: clamp(2rem, 4vw, 3rem); text-transform: uppercase; }
h3 { font-size: clamp(1.4rem, 2.2vw, 1.75rem); }
h4 { font-size: 1.25rem; }
p { margin: 0 0 1em; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.narrow { max-width: 760px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; }
.skip-link:focus { top: 8px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--font-head); font-weight: 600; font-size: 1.125rem;
  letter-spacing: .06em; text-transform: uppercase; text-decoration: none;
  padding: .7em 1.4em; border: 2px solid currentColor; border-radius: var(--radius);
  color: var(--ink); background: transparent; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-red { background: var(--red); border-color: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); border-color: var(--red-dark); color: #fff; }
.btn-light { color: #fff; }
.btn-light:hover { background: #fff; color: var(--ink); }
.btn-ink { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--ink-2); color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgb(255 255 255 / .96);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line);
}
/* Logo groß und zentriert über dem Menü; beim Scrollen bleibt nur die Menüzeile stehen */
.site-header { --brand-row: 152px; top: calc(-1 * var(--brand-row)); }
.header-inner { display: flex; flex-direction: column; align-items: center; }
.brand { display: flex; align-items: center; justify-content: center; height: var(--brand-row); }
.brand img { height: 112px; width: auto; }
.main-nav { min-height: var(--header-h); justify-content: center; width: 100%; border-top: 1px solid var(--line); }
.main-nav { display: flex; align-items: center; gap: 20px; }
.main-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.main-nav li a {
  display: block; padding: 8px 10px;
  font-family: var(--font-head); font-weight: 600; font-size: 1.125rem; letter-spacing: .04em; text-transform: uppercase;
  color: var(--ink); text-decoration: none; position: relative;
}
.main-nav li a::after {
  content: ""; position: absolute; left: 10px; right: 10px; bottom: 2px; height: 2px;
  background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.main-nav li a:hover::after, .main-nav li a[aria-current="page"]::after { transform: scaleX(1); }
.nav-cta { padding: .5em 1.1em; font-size: 1rem; }
.nav-toggle { display: none; }

@media (max-width: 1080px) {
  .nav-toggle {
    display: grid; place-items: center; width: 48px; height: 48px;
    background: none; border: 0; cursor: pointer; color: var(--ink);
  }
  .nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
    display: block; width: 26px; height: 2px; background: currentColor; position: relative; transition: transform .25s, background .25s;
  }
  .nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle-bars::before { top: -8px; }
  .nav-toggle-bars::after { top: 8px; }
  .nav-open .nav-toggle-bars { background: transparent; }
  .nav-open .nav-toggle-bars::before { transform: translateY(8px) rotate(45deg); }
  .nav-open .nav-toggle-bars::after { transform: translateY(-8px) rotate(-45deg); }

  .main-nav {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 49;
    flex-direction: column; align-items: stretch; gap: 24px;
    padding: 24px var(--gutter) 40px; background: var(--white);
    overflow-y: auto; visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .2s, transform .2s, visibility 0s .2s;
  }
  .nav-open .main-nav { visibility: visible; opacity: 1; transform: none; transition: opacity .2s, transform .2s; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav li a { font-size: 1.6rem; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .main-nav li a::after { display: none; }
  .main-nav li a[aria-current="page"] { color: var(--red); }
  .nav-cta { justify-content: center; font-size: 1.2rem; padding: .8em; }
  .nav-open { overflow: hidden; }
}
@media (max-width: 1080px) {
  :root { --header-h: 96px; }
  .site-header { top: 0; background: var(--white); backdrop-filter: none; }
  .header-inner { position: relative; justify-content: center; min-height: var(--header-h); }
  .brand { height: var(--header-h); }
  .brand img { height: 72px; }
  .nav-toggle { position: absolute; right: -8px; top: 50%; transform: translateY(-50%); }
  .main-nav { border-top: 0; justify-content: flex-start; min-height: 0; }
}
@media (max-width: 480px) {
  :root { --header-h: 84px; }
  .brand img { height: 56px; margin-right: 32px; }
}

/* ---------- Hero (Startseite) ---------- */
.hero {
  position: relative; isolation: isolate; color: #fff; background: var(--ink);
  min-height: min(88vh, 760px); display: flex; align-items: flex-end;
  overflow: hidden;
}
.hero-img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgb(10 10 10 / .85) 0%, rgb(10 10 10 / .55) 45%, rgb(10 10 10 / .1) 100%),
    linear-gradient(0deg, rgb(10 10 10 / .7) 0%, transparent 50%);
}
.hero-inner { padding-block: 120px clamp(48px, 8vw, 96px); }
.hero h1 { max-width: 12ch; margin-bottom: .3em; }
.hero h1 em { font-style: normal; color: var(--red); display: block; }
.hero-lead { font-size: clamp(1.125rem, 1.8vw, 1.35rem); max-width: 34rem; opacity: .92; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-hangul {
  position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%);
  writing-mode: vertical-rl; white-space: nowrap; font-size: min(7vw, 13vh, 6.5rem); font-weight: 700; line-height: 1;
  color: rgb(255 255 255 / .14); letter-spacing: .1em; pointer-events: none; user-select: none;
  font-family: "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", sans-serif;
}
@media (max-width: 700px) { .hero-hangul { display: none; } .hero::before { background: linear-gradient(0deg, rgb(10 10 10 / .9) 0%, rgb(10 10 10 / .45) 70%, rgb(10 10 10 / .3) 100%); } }

/* ---------- Seitenkopf (Unterseiten) ---------- */
.page-head {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--ink); color: #fff;
  padding-block: clamp(72px, 12vw, 140px) clamp(40px, 6vw, 64px);
}
.page-head-img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; opacity: .45; }
.page-head::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgb(10 10 10 / .85), rgb(10 10 10 / .2)); }
.page-head h1 { font-size: clamp(2.4rem, 6vw, 4.5rem); margin: 0; max-width: 20ch; }
.page-head .lead { font-size: 1.2rem; max-width: 40rem; margin: .6em 0 0; opacity: .9; }
.page-head.plain { background: var(--paper-2); color: var(--ink); padding-block: clamp(56px, 8vw, 96px) 40px; }
.page-head.plain::before { display: none; }

.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 600; font-size: 1rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--red); margin: 0 0 12px;
}
.kicker::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.page-head .kicker, .hero .kicker, .section-dark .kicker { color: #ff5a6e; }

/* ---------- Sektionen ---------- */
.section { padding-block: clamp(56px, 9vw, 112px); }
.section + .section { padding-top: 0; }
.section-white { background: var(--white); }
.section-white + .section, .section + .section-white, .section-dark + .section, .section + .section-dark { padding-top: clamp(56px, 9vw, 112px); }
.section-dark { background: var(--ink); color: #f0ede8; }
.section-dark a { color: #ff7a8a; }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head h2 { margin: 0; }
.section-head p { margin: 0; max-width: 36rem; color: var(--ink-soft); }
.section-dark .section-head p { color: #bdb7ad; }

.prose { max-width: 760px; }
.prose > :last-child { margin-bottom: 0; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.6em; }
.prose h4 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .35em; }
.prose li::marker { color: var(--red); }
.prose blockquote { margin: 1.5em 0; padding: .2em 0 .2em 1.2em; border-left: 3px solid var(--red); font-size: 1.15em; font-style: italic; }
.prose figure { margin: 2em 0; }
.prose figure img { border-radius: var(--radius); }
.prose figcaption { font-size: .9rem; color: var(--ink-soft); margin-top: .5em; }
.lead-text { font-size: clamp(1.15rem, 1.6vw, 1.3rem); line-height: 1.55; }

.split > *, .event > * { min-width: 0; }
.split { display: grid; gap: clamp(32px, 5vw, 72px); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .split-wide { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); }
  .split-side { grid-template-columns: 260px minmax(0, 1fr); }
}

/* ---------- Veranstaltung ---------- */
.event { display: grid; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (min-width: 900px) { .event { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
.event-flyer { border-radius: var(--radius); box-shadow: var(--shadow); background: #fff; }
.event-flyer img { border-radius: var(--radius); }
.event-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 12px; margin: 24px 0; }
.event-meta div { background: var(--paper); border-left: 3px solid var(--red); padding: 12px 16px; }
.event-meta dt { font-family: var(--font-head); font-size: .95rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
.event-meta dd { margin: 0; font-weight: 600; }

.lang-switch { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; margin-bottom: 20px; background: var(--white); }
.lang-switch button {
  border: 0; background: none; padding: 6px 16px; border-radius: 999px; cursor: pointer;
  font-family: var(--font-head); font-weight: 600; letter-spacing: .1em; color: var(--ink-soft);
}
.lang-switch button[aria-selected="true"] { background: var(--ink); color: #fff; }
[data-lang-panel][hidden] { display: none; }

/* ---------- Karten / News ---------- */
.cards { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.card {
  position: relative; display: flex; flex-direction: column;
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgb(0 0 0 / .06), 0 16px 32px rgb(0 0 0 / .12); }
.card-img { aspect-ratio: 16 / 10; background: var(--paper-2); overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card-img img { transform: scale(1.04); }
.card-img.placeholder { display: grid; place-items: center; background: var(--ink); }
.card-img.placeholder span { font-size: 3rem; color: rgb(255 255 255 / .2); font-family: "Apple SD Gothic Neo", "Malgun Gothic", sans-serif; }
.card-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.card-date { font-family: var(--font-head); font-size: .95rem; letter-spacing: .12em; text-transform: uppercase; color: var(--red); margin-bottom: 6px; }
.card h3 { font-size: 1.5rem; margin-bottom: .4em; }
.card h3 a { color: var(--ink); text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; }
.card p { color: var(--ink-soft); font-size: .98rem; margin: 0; }

.news-year { margin-top: 56px; }
.news-year:first-child { margin-top: 0; }
.news-year h2 { display: flex; align-items: center; gap: 16px; font-size: 2.2rem; }
.news-year h2::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* ---------- Trainingsorte ---------- */
.schedule { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.slot {
  background: var(--white); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow);
  border-top: 4px solid var(--ink); display: flex; flex-direction: column; gap: 4px;
}
.slot.beginner { border-top-color: var(--red); }
.slot-day { font-family: var(--font-head); font-weight: 700; font-size: 2rem; text-transform: uppercase; line-height: 1; }
.slot-time { font-family: var(--font-head); font-weight: 600; font-size: 1.35rem; color: var(--red); }
.slot-tag { display: inline-block; align-self: flex-start; font-size: .85rem; font-weight: 600; letter-spacing: .04em; background: var(--paper-2); padding: 2px 10px; border-radius: 999px; margin: 8px 0; }
.slot address { font-style: normal; color: var(--ink-soft); font-size: .98rem; }
.slot .slot-club { font-size: .95rem; margin: 0; }
.slot-links { margin-top: auto; padding-top: 12px; display: flex; gap: 16px; flex-wrap: wrap; font-size: .95rem; }
.section-dark .slot { background: var(--ink-2); color: #f0ede8; border-top-color: #555; }
.section-dark .slot.beginner { border-top-color: var(--red); }
.section-dark .slot address, .section-dark .slot-tag { color: #cfc9bf; }
.section-dark .slot-tag { background: rgb(255 255 255 / .08); }

/* ---------- Personen ---------- */
.people { display: grid; gap: 28px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }
.person { text-align: left; }
.person img { aspect-ratio: 1; object-fit: cover; width: 100%; border-radius: var(--radius); filter: grayscale(.15); }
.person h3 { margin: 16px 0 4px; font-size: 1.5rem; }
.person p { margin: 0; color: var(--ink-soft); font-size: .98rem; }
.person .role { color: var(--red); font-family: var(--font-head); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; font-size: .95rem; }

.board { display: grid; gap: 40px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.board-member { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; }
.board-member > img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.board-body { padding: 24px 26px 28px; }
.board-body h3 { font-size: 1.9rem; margin-bottom: 2px; }
.board-body .role { color: var(--red); font-family: var(--font-head); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 16px; }
.board-body h4 { font-size: 1.1rem; letter-spacing: .08em; text-transform: uppercase; margin: 1.4em 0 .4em; }
.board-body ul { padding-left: 1.2em; margin: 0 0 1em; }
.board-body li::marker { color: var(--red); }
.board-body blockquote { margin: 1em 0 0; font-style: italic; border-left: 3px solid var(--red); padding-left: 14px; }
details.more summary {
  cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--red); margin: 8px 0;
}
details.more summary::-webkit-details-marker { display: none; }
details.more summary::after { content: "+"; font-size: 1.3em; line-height: 1; transition: transform .2s; }
details.more[open] summary::after { transform: rotate(45deg); }
details.more[open] summary .closed, details.more:not([open]) summary .opened { display: none; }

/* ---------- Haidong Gumdo: Inhalt mit Seitennavigation ---------- */
.toc { position: sticky; top: calc(var(--header-h) + 24px); }
.toc p { font-family: var(--font-head); letter-spacing: .15em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 8px; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.toc a { display: block; padding: 6px 0 6px 16px; margin-left: -2px; border-left: 2px solid transparent; color: var(--ink); text-decoration: none; font-weight: 600; }
.toc a:hover, .toc a.active { color: var(--red); border-left-color: var(--red); }
@media (max-width: 899px) { .toc { position: static; } .toc ol { display: flex; flex-wrap: wrap; gap: 8px; border: 0; } .toc a { border: 1px solid var(--line); border-radius: 999px; padding: 4px 14px; margin: 0; background: var(--white); font-size: .95rem; } }

.chapter { padding-bottom: clamp(48px, 7vw, 80px); margin-bottom: clamp(48px, 7vw, 80px); border-bottom: 1px solid var(--line); }
.chapter:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.chapter-num { font-family: var(--font-head); font-weight: 700; font-size: 1rem; color: var(--red); letter-spacing: .2em; }

.gear { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); margin: 24px 0 40px; }
.gear-item { background: var(--white); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.gear-imgs { display: flex; gap: 8px; justify-content: center; align-items: center; height: 200px; margin-bottom: 16px; background: var(--paper); border-radius: var(--radius); padding: 12px; }
.gear-imgs img { max-height: 100%; width: auto; object-fit: contain; min-width: 0; flex: 1 1 0; }
.gear-wide { grid-column: 1 / -1; }
.gear-item h4 { font-size: 1.5rem; margin-bottom: .2em; }
.gear-item .sub { font-size: .9rem; color: var(--red); font-weight: 600; margin-bottom: .6em; }
.gear-item p { font-size: .98rem; color: var(--ink-soft); }
.gear-item p:last-child { margin-bottom: 0; }

.disciplines { display: grid; gap: 2px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.discipline { background: var(--white); padding: 28px; }
.discipline .num { font-family: var(--font-head); font-weight: 700; font-size: 2.6rem; line-height: 1; color: var(--paper-2); -webkit-text-stroke: 1px var(--red); }
.discipline h3 { margin: 10px 0 10px; }
.discipline p, .discipline li { font-size: .98rem; color: var(--ink-soft); }
.discipline ul { padding-left: 1.2em; }
.discipline li::marker { color: var(--red); }

.note { background: var(--paper-2); border-left: 4px solid var(--red); padding: 20px 24px; border-radius: 0 var(--radius) var(--radius) 0; }
.note > :last-child { margin-bottom: 0; }
.quote-big { font-family: var(--font-head); font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 600; line-height: 1.15; margin: 1em 0; }
.quote-big::before { content: "„"; color: var(--red); }
.quote-big::after { content: "“"; color: var(--red); }

/* ---------- Dojang-Regeln ---------- */
.rules { list-style: none; counter-reset: rule; padding: 0; margin: 0; display: grid; gap: 0 48px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.rules li { counter-increment: rule; position: relative; padding: 22px 0 22px 72px; border-bottom: 1px solid rgb(255 255 255 / .12); }
.rules li::before {
  content: counter(rule, decimal-leading-zero); position: absolute; left: 0; top: 16px;
  font-family: var(--font-head); font-weight: 700; font-size: 2.4rem; line-height: 1; color: var(--red);
}
.rules strong { display: block; font-family: var(--font-head); font-size: 1.3rem; font-weight: 600; letter-spacing: .02em; margin-bottom: 4px; color: #fff; }
.rules p { margin: 0 0 .5em; color: #cfc9bf; }
.rules p:last-child { margin: 0; }

/* ---------- Galerie ---------- */
.gallery { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 180px), 1fr)); margin: 2em 0; }
.gallery figure { margin: 0; position: relative; overflow: hidden; border-radius: var(--radius); background: var(--paper-2); }
.gallery a { display: block; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .4s, opacity .3s; }
.gallery a:hover img { transform: scale(1.05); }
.gallery figcaption { position: absolute; inset: auto 0 0 0; padding: 18px 10px 6px; font-size: .82rem; line-height: 1.3; color: #fff; background: linear-gradient(transparent, rgb(0 0 0 / .75)); pointer-events: none; }
.gallery-home { grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); grid-auto-flow: dense; }
@media (min-width: 700px) { .gallery-home figure:nth-child(5n + 1) { grid-column: span 2; grid-row: span 2; } .gallery-home figure:nth-child(5n + 1) img { height: 100%; aspect-ratio: auto; } }

.lightbox { position: fixed; inset: 0; z-index: 200; background: rgb(8 8 8 / .94); display: grid; place-items: center; padding: 56px 64px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 140px); width: auto; object-fit: contain; }
.lightbox button { position: absolute; background: none; border: 0; color: #fff; font-size: 3rem; line-height: 1; cursor: pointer; padding: 8px 16px; opacity: .8; }
.lightbox button:hover { opacity: 1; }
.lightbox-close { top: 8px; right: 8px; }
.lightbox-prev { left: 4px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 4px; top: 50%; transform: translateY(-50%); }
.lightbox-caption { position: absolute; bottom: 16px; left: 0; right: 0; text-align: center; color: #ddd; margin: 0; padding: 0 16px; }
@media (max-width: 600px) { .lightbox { padding: 56px 8px; } .lightbox-prev, .lightbox-next { top: auto; bottom: 8px; transform: none; } }

/* ---------- Eingebettete Inhalte (Zwei-Klick-Lösung) ---------- */
.video, .map-embed {
  position: relative; aspect-ratio: 16 / 9; background: var(--ink); border-radius: var(--radius); overflow: hidden;
  margin: 1.5em 0; color: #fff;
}
.video iframe, .map-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.embed-consent {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  text-align: center; padding: 24px; background-size: cover; background-position: center;
}
.embed-consent::before { content: ""; position: absolute; inset: 0; background: rgb(10 10 10 / .7); }
.embed-consent > * { position: relative; }
.embed-consent p { max-width: 30rem; font-size: .9rem; margin: 0; color: #ddd; }
.embed-consent .play { width: 72px; height: 72px; border-radius: 50%; background: var(--red); border: 0; display: grid; place-items: center; cursor: pointer; }
.embed-consent .play::before { content: ""; border-left: 22px solid #fff; border-top: 14px solid transparent; border-bottom: 14px solid transparent; margin-left: 6px; }
.map-embed { aspect-ratio: 4 / 3; }

/* ---------- Formulare ---------- */
.form { display: grid; gap: 18px; grid-template-columns: 1fr 1fr; }
.form .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form { grid-template-columns: 1fr; } }
.form label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 6px; }
.form input, .form select, .form textarea {
  width: 100%; font: inherit; font-size: 1rem; padding: 12px 14px; color: var(--ink);
  background: var(--white); border: 1px solid #bdb5a8; border-radius: var(--radius);
}
.form textarea { min-height: 140px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--red); outline-offset: 0; border-color: var(--red); }
.form .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.form .check input { width: auto; margin-top: 5px; }
.form-hint { font-size: .9rem; color: var(--ink-soft); }
.form-card { background: var(--white); padding: clamp(24px, 4vw, 48px); border-radius: var(--radius); box-shadow: var(--shadow); }

/* ---------- Beitrag ---------- */
.post-head { padding-block: clamp(48px, 7vw, 88px) 32px; }
.post-head h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); text-transform: none; max-width: 22ch; }
.post-meta { color: var(--red); font-family: var(--font-head); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.post-cover { margin: 0 0 clamp(32px, 5vw, 56px); }
.post-cover img { width: 100%; max-height: 640px; object-fit: cover; border-radius: var(--radius); }
.post-body .gallery { max-width: none; }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 64px; padding-top: 32px; border-top: 1px solid var(--line); }
.post-nav a { text-decoration: none; color: var(--ink); display: block; }
.post-nav small { display: block; font-family: var(--font-head); letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
.post-nav span { font-family: var(--font-head); font-weight: 600; font-size: 1.25rem; line-height: 1.2; }
.post-nav .next { text-align: right; }

/* ---------- CTA-Band ---------- */
.cta-band { background: var(--red); color: #fff; padding-block: clamp(48px, 7vw, 80px); position: relative; overflow: hidden; }
.cta-band::after {
  content: "검"; position: absolute; right: -0.05em; top: 50%; transform: translateY(-50%);
  font-size: clamp(10rem, 28vw, 22rem); line-height: 1; color: rgb(255 255 255 / .1); font-weight: 700;
  font-family: "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", sans-serif; pointer-events: none;
}
.cta-band .wrap { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta-band h2 { margin: 0 0 .2em; }
.cta-band p { margin: 0; font-size: 1.15rem; max-width: 36rem; }
.cta-band .btn { color: #fff; }
.cta-band .btn:hover { background: #fff; color: var(--red); border-color: #fff; }

/* ---------- Liste von Partnern ---------- */
.link-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.link-list a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); color: var(--ink); text-decoration: none; font-weight: 600; height: 100%; }
.link-list a::after { content: "↗"; color: var(--red); }
.link-list a:hover { color: var(--red); }

.services { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.services li { background: var(--white); padding: 20px 22px; border-radius: var(--radius); border-top: 3px solid var(--red); }
.services li ul { margin: .5em 0 0; padding-left: 1.2em; color: var(--ink-soft); }

/* ---------- Footer ---------- */
.site-footer { background: #0e0e0e; color: #bdb7ad; padding-top: 72px; font-size: .98rem; }
.site-footer a { color: #f0ede8; text-decoration: none; }
.site-footer a:hover { color: #ff7a8a; }
.footer-grid { display: grid; gap: 40px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); padding-bottom: 48px; }
.footer-brand strong { color: #fff; font-family: var(--font-head); font-size: 1.35rem; letter-spacing: .03em; line-height: 1.15; display: block; }
.footer-hangul { font-size: 2.4rem; font-weight: 700; color: var(--red); margin: 0 0 8px; line-height: 1; font-family: "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", sans-serif; }
.footer-title { font-size: 1.1rem; letter-spacing: .16em; color: #fff; margin-bottom: 14px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 24px; border-top: 1px solid #262626; font-size: .9rem; }
.footer-bottom p { margin: 0; }

/* ---------- Kleinkram ---------- */
.center { text-align: center; }
.mt-l { margin-top: clamp(32px, 5vw, 56px); }
.text-soft { color: var(--ink-soft); }
.img-frame img { border-radius: var(--radius); box-shadow: var(--shadow); }
.img-frame figcaption { font-size: .9rem; color: var(--ink-soft); margin-top: 10px; }
.stack > * + * { margin-top: 16px; }
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.pill-row li { background: var(--paper-2); padding: 4px 14px; border-radius: 999px; font-weight: 600; font-size: .95rem; }
.not-found { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.prose .pill-row { padding-left: 0; }
.slot .map-embed { aspect-ratio: 16 / 10; margin-bottom: 0; }
