/* Focusing Zentrum Saarland — modern theme */

/* Self-hosted fonts (Fraunces, Source Sans 3): no request to Google's
   servers on page load, so no visitor IP is sent to a third party just to
   render text. Files are variable fonts — one file per subset covers the
   whole 400–700 weight range. */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/fraunces-latin.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: 'Fraunces';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/fraunces-latin-ext.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: 'Source Sans 3';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/source-sans-3-latin.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: 'Source Sans 3';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/source-sans-3-latin-ext.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;
}

:root {
  --bg: #faf6ef;
  --bg-alt: #f1ebdf;
  --surface: #ffffff;
  --ink: #2b2a24;
  --ink-soft: #5c584d;
  --ink-faint: #8a8477;
  --primary: #5e762e;
  --primary-dark: #3a471f;
  --primary-soft: #f1f5ea;
  --accent: #c0504d;
  --accent-soft: #f7e4e3;
  --border: #e6e0d2;
  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 4px 14px -6px rgba(43, 42, 36, 0.12);
  --shadow-md: 0 16px 40px -18px rgba(43, 42, 36, 0.28);
  --container: 1160px;
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Source Sans 3', 'Segoe UI', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}
img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--accent); }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--primary-dark);
  line-height: 1.2;
  font-weight: 600;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 600; }
h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.15rem; }
h5, h6 { font-size: 1.02rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--accent); }
p { margin: 0 0 1.1em; color: var(--ink-soft); }
ul, ol { color: var(--ink-soft); padding-left: 1.3em; }
li { margin-bottom: 0.4em; }
hr { border: none; border-top: 1px solid var(--border); margin: 2.2em 0; }
strong { color: var(--ink); }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--primary-dark);
  color: #fff; padding: 10px 18px; z-index: 200; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 246, 239, 0.92);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header__bar {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 14px; padding-bottom: 14px;
  gap: 20px;
}
.brand {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-display); font-weight: 600; font-size: 1.2rem;
  color: var(--primary-dark);
}
.brand__mark {
  width: 42px; height: 42px; object-fit: contain; flex-shrink: 0;
}
.brand small { display: block; font-family: var(--font-body); font-weight: 400; font-size: 0.72rem; color: var(--ink-faint); }

.nav-toggle {
  display: none;
  background: none; border: 1px solid var(--border); border-radius: var(--radius-sm);
  width: 44px; height: 44px; cursor: pointer; padding: 0;
  align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ''; display: block; width: 20px; height: 2px; background: var(--ink);
  position: relative; transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.main-nav > ul { align-items: center; }
.main-nav li { position: relative; }
.main-nav a {
  display: flex; align-items: center; padding: 10px 14px; border-radius: 999px;
  color: var(--ink-soft); font-weight: 600; font-size: 0.95rem;
  white-space: nowrap;
}
.main-nav > ul > li > a.is-active,
.main-nav > ul > li > a:hover { background: var(--primary-soft); color: var(--primary-dark); }
.main-nav > ul > li > a.nav-cta { background: var(--accent); color: #fff; }
.main-nav > ul > li > a.nav-cta:hover,
.main-nav > ul > li > a.nav-cta.is-active { background: #993633; color: #fff; }

.nav-caret {
  display: inline-block; width: 0; height: 0; margin-left: 6px;
  border-left: 4px solid transparent; border-right: 4px solid transparent;
  border-top: 5px solid currentColor; vertical-align: middle;
  opacity: .55; transition: transform .2s ease; flex-shrink: 0;
}
.main-nav li:hover > a .nav-caret,
.main-nav li:focus-within > a .nav-caret,
.main-nav li.is-expanded > a .nav-caret { transform: rotate(180deg); }

.main-nav .sub-menu {
  display: none;
  position: absolute; top: 100%; left: 0; min-width: 240px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-md); box-shadow: var(--shadow-md);
  padding: 8px; flex-direction: column; z-index: 50;
}
.main-nav li:hover > .sub-menu,
.main-nav li:focus-within > .sub-menu { display: flex; }
.main-nav .sub-menu a { padding: 9px 12px; border-radius: var(--radius-sm); font-weight: 500; }
.main-nav .sub-menu a:hover { background: var(--bg-alt); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 76px 0 90px;
  overflow: hidden;
  background: linear-gradient(160deg, var(--primary-soft) 0%, var(--bg) 55%);
}
.hero__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  font-size: 0.78rem; color: var(--accent); margin-bottom: 14px;
}
.eyebrow::before { content: ''; width: 22px; height: 2px; background: var(--accent); display: inline-block; }
.hero p.lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 46ch; }
.hero__figure {
  overflow: hidden; box-shadow: var(--shadow-md);
  aspect-ratio: 4/3;
}
.hero__figure img { width: 100%; height: 100%; object-fit: cover; }
.hero__quote {
  font-family: var(--font-display); font-style: italic; font-size: 1.3rem;
  color: var(--primary-dark); border-left: 3px solid var(--accent);
  padding-left: 18px; margin: 26px 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px; font-weight: 700;
  font-size: 0.95rem; border: 2px solid transparent; cursor: pointer;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); color: #fff; }
.btn-outline { border-color: var(--primary); color: var(--primary-dark); background: transparent; }
.btn-outline:hover { background: var(--primary-soft); }
.btn-group { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }

/* ---------- Section ---------- */
.section { padding: 78px 0; }
.section--alt { background: var(--bg-alt); }
.section-head { max-width: 680px; margin: 0 auto 46px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }

/* ---------- Cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card {
  background: var(--surface); border-radius: var(--radius-md);
  border: 1px solid var(--border); padding: 30px;
  box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .18s ease;
  height: 100%; min-width: 0;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card__icon {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent);
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
  font-size: 1.3rem;
}

/* ---------- Course cards ---------- */
.course-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.course-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 24px 26px; box-shadow: var(--shadow-sm); min-width: 0;
}
.course-card h3 { margin-bottom: 8px; font-size: 1.2rem; }
.course-card h3 a { color: var(--primary-dark); }
.course-card h3 a:hover { color: var(--accent); }
.course-card p { margin-bottom: 12px; }
.course-card .more-link { font-weight: 700; font-size: 0.9rem; }
.pill {
  display: inline-block; padding: 4px 12px; border-radius: 999px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase;
  background: var(--primary-soft); color: var(--primary-dark); margin-bottom: 10px;
}
.pill.accent { background: var(--accent-soft); color: var(--accent); }

.category-nav { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 34px; }
.category-nav a {
  padding: 9px 18px; border-radius: 999px; border: 1px solid var(--border);
  font-weight: 600; font-size: 0.9rem; color: var(--ink-soft); background: var(--surface);
}
.category-nav a:hover { border-color: var(--primary); color: var(--primary-dark); }

/* ---------- Team ---------- */
.team-list { display: flex; flex-direction: column; gap: 20px; }
.team-row {
  display: flex; align-items: center; gap: 36px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 30px; box-shadow: var(--shadow-sm); min-width: 0;
}
.team-row:nth-child(even) { flex-direction: row-reverse; }
.team-row:nth-child(even) > div { text-align: right; }
.team-row img, .team-row__initial {
  width: 120px; height: 120px; border-radius: 50%; object-fit: cover; flex-shrink: 0;
  border: 4px solid var(--primary-soft);
}
.team-row__initial {
  display: flex; align-items: center; justify-content: center; background: var(--bg-alt);
  font-family: var(--font-display); font-size: 2.2rem; color: var(--primary);
}
.team-row--featured { box-shadow: var(--shadow-md); border-color: var(--accent); }
.team-row--featured img, .team-row--featured .team-row__initial {
  width: 140px; height: 140px; border-color: var(--accent-soft);
}
.team-row > div { flex: 1; min-width: 0; }
.team-row h3 { font-size: 1.15rem; margin-bottom: 6px; }
.team-row p { font-size: 0.92rem; margin: 0; color: var(--ink-soft); }
.team-row--former { opacity: 0.75; background: var(--bg-alt); }
.team-row--former img, .team-row--former .team-row__initial { filter: grayscale(1); }

/* ---------- Content blocks (WP-derived rich text) ---------- */
.prose { max-width: 74ch; }
.prose h3, .prose h4, .prose h5 { margin-top: 1.4em; }
.prose ul { margin-bottom: 1.1em; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }

.resource-links { display: flex; flex-wrap: wrap; gap: 10px; margin: 4px 0 24px; }
.resource-link {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--primary-soft); color: var(--primary-dark) !important;
  border-radius: 999px; padding: 10px 18px; font-weight: 700; font-size: 0.9rem;
  text-decoration: none !important;
}
.resource-link:hover { background: var(--accent-soft); color: var(--accent) !important; }

/* ---------- Table (Termine) ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius-md); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
table.schedule { width: 100%; border-collapse: collapse; background: var(--surface); font-size: 0.94rem; }
table.schedule caption { text-align: left; padding: 14px 20px; font-weight: 700; }
table.schedule th, table.schedule td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
table.schedule thead th { background: var(--primary-soft); color: var(--primary-dark); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.03em; }
table.schedule tr.group-row td { background: var(--accent-soft); font-weight: 700; color: var(--primary-dark); }
table.schedule tbody tr:last-child td { border-bottom: none; }
table.schedule tbody tr:hover td { background: var(--bg-alt); }
.schedule-note { font-size: 0.85rem; color: var(--ink-faint); margin-top: 18px; }

/* ---------- Termine (course dates) ---------- */
.term-list { display: flex; flex-direction: column; gap: 16px; margin-bottom: 50px; }
.term-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 24px 26px; box-shadow: var(--shadow-sm);
  display: grid; grid-template-columns: 1fr 240px; gap: 24px; align-items: start;
}
.term-card__title { font-size: 1.1rem; margin-bottom: 4px; }
.term-card__title a { color: var(--primary-dark); }
.term-card__title a:hover { color: var(--accent); }
.term-card__staff { font-size: 0.85rem; color: var(--ink-faint); margin-bottom: 14px; }
.term-card__meta { display: flex; flex-wrap: wrap; gap: 8px 10px; margin: 0; }
.term-card__meta .tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.82rem; color: var(--ink-soft); background: var(--bg-alt);
  border-radius: 999px; padding: 5px 12px;
}
.term-card__dates {
  background: var(--primary-soft); border-radius: var(--radius-sm);
  padding: 16px 18px;
}
.term-card__dates .next-label { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--primary-dark); margin-bottom: 4px; }
.term-card__dates .next-date { font-family: var(--font-display); font-size: 1.15rem; color: var(--primary-dark); font-weight: 600; margin-bottom: 8px; }
.term-card__dates .fee { font-weight: 700; color: var(--accent); }
.term-card__dates details summary { cursor: pointer; font-size: 0.82rem; color: var(--ink-faint); margin-top: 8px; }
.term-card__dates .all-dates { margin: 8px 0 0; padding-left: 0; list-style: none; font-size: 0.85rem; }
.term-card__dates .all-dates li { margin-bottom: 3px; color: var(--ink-soft); }
.term-card.is-linked { border-color: var(--primary); }

.next-termine-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.next-termine-strip .term-mini {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 20px 20px 22px; box-shadow: var(--shadow-sm); display: block; min-width: 0;
}
.next-termine-strip .term-mini:hover { border-color: var(--primary); transform: translateY(-3px); transition: transform .15s ease; }
.term-mini__date {
  display: inline-block; font-family: var(--font-display); font-weight: 600;
  font-size: 0.95rem; color: var(--accent); margin-bottom: 10px;
}
.term-mini__title { font-size: 1rem; color: var(--primary-dark); font-weight: 600; margin: 0; }

.course-card__date {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.82rem; font-weight: 700; color: var(--accent);
  margin-bottom: 10px;
}

/* ---------- Gallery ---------- */
.gallery-grid {
  columns: 3 260px; column-gap: 18px;
}
.gallery-grid figure { break-inside: avoid; margin: 0 0 18px; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); }
.gallery-grid img { width: 100%; display: block; transition: transform .3s ease; }
.gallery-grid a:hover img { transform: scale(1.04); }

/* ---------- Contact / location cards ---------- */
.locations { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.location-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 26px 28px; box-shadow: var(--shadow-sm);
}
.location-card h3 { margin-bottom: 10px; }
.location-card address { font-style: normal; color: var(--ink-soft); }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--primary-dark); color: #f2ece0; border-radius: var(--radius-lg);
  padding: 56px; text-align: center; margin: 0 auto;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #d9d4c4; max-width: 60ch; margin: 0 auto 6px; }
.cta-band .btn-primary { background: var(--accent); }
.cta-band .btn-primary:hover { background: #993633; }

/* ---------- Split layout (content + sidebar) ---------- */
.split-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 50px; align-items: start; }
.split-layout.split-narrow { grid-template-columns: 1fr 320px; }

/* ---------- Trust bar ---------- */
.trust-bar {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 14px;
  padding-top: 22px; padding-bottom: 6px;
}
.trust-bar__item {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 999px;
  padding: 9px 18px; font-size: 0.85rem; font-weight: 600; color: var(--ink-soft);
  box-shadow: var(--shadow-sm);
}
.trust-bar__item strong { color: var(--primary-dark); }

/* ---------- Step journey ---------- */
.step-journey { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: step; position: relative; }
.step-journey::before {
  content: ''; position: absolute; top: 26px; left: 12%; right: 12%; height: 2px;
  background: repeating-linear-gradient(90deg, var(--accent) 0 10px, transparent 10px 18px);
}
.step {
  position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 28px 24px 24px; box-shadow: var(--shadow-sm); text-align: left; min-width: 0;
}
.step__number {
  width: 40px; height: 40px; border-radius: 50%; background: var(--primary);
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; margin-bottom: 16px;
  position: relative; z-index: 1;
}
.step__number--label {
  width: auto; height: auto; min-width: 40px; border-radius: 999px;
  padding: 7px 16px; font-size: 0.88rem;
}
.step h3 { font-size: 1.05rem; margin-bottom: 8px; }
.step p { font-size: 0.92rem; margin-bottom: 10px; }
.step .more-link { font-size: 0.85rem; }

/* ---------- Audience / benefit cards ---------- */
.audience-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.audience-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 32px; box-shadow: var(--shadow-sm); min-width: 0;
}
.audience-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.audience-card ul { list-style: none; padding: 0; margin: 0 0 20px; }
.audience-card li { padding-left: 26px; position: relative; margin-bottom: 8px; font-size: 0.94rem; }
.audience-card li::before { content: '✓'; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

/* ---------- FAQ accordion ---------- */
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 4px 24px; box-shadow: var(--shadow-sm);
}
.faq-item summary {
  cursor: pointer; padding: 18px 0; font-weight: 700; color: var(--primary-dark);
  font-size: 1rem; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; font-size: 1.3rem; color: var(--accent); flex-shrink: 0;
  transition: transform .2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding-bottom: 18px; margin: 0; }

/* ---------- Founder / contact-person highlight ---------- */
.founder-row {
  display: flex; align-items: center; gap: 16px; justify-content: center;
  margin-top: 26px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,0.15);
}
.founder-row img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.founder-row__text { text-align: left; font-size: 0.88rem; color: #d9d4c4; }
.founder-row__text strong { display: block; color: #fff; font-size: 0.95rem; }

/* ---------- Breadcrumb ---------- */
.breadcrumb { font-size: 0.85rem; color: var(--ink-faint); margin-bottom: 18px; }
.breadcrumb a { color: var(--ink-faint); }
.breadcrumb a:hover { color: var(--accent); }

/* ---------- Page header (inner pages) ---------- */
.page-header { padding-top: 56px; padding-bottom: 20px; }
.page-header p.lead { max-width: none; font-size: 1.08rem; }

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  background: var(--primary-dark); color: #d9d4c4; padding: 0 0 22px; margin-top: 64px;
}
.site-footer::before {
  content: ''; display: block; height: 4px; width: 100%;
  background: linear-gradient(90deg, var(--accent) 0%, #db9694 50%, var(--accent) 100%);
}
.site-footer a { color: #f0ece0; }
.site-footer a:hover { color: var(--accent-soft); }

.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; padding-top: 40px; margin-bottom: 26px; }
.footer-col { min-width: 0; }
.footer-col h4 { color: #fff; font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 12px; font-family: var(--font-body); }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 8px; }
.footer-col p { color: #b9b3a0; }
.footer-col--about p:first-child {
  font-family: var(--font-display); font-style: italic; color: #e7e1d1; font-size: 1rem; margin-bottom: 14px;
}
.footer-cta { background: var(--accent); padding: 10px 20px; font-size: 0.88rem; }
.footer-cta:hover { background: #993633; color: #fff; }

.icon {
  width: 15px; height: 15px; flex-shrink: 0;
  vertical-align: -3px; margin-right: 2px;
}
.footer-cta .icon { width: 16px; height: 16px; vertical-align: -3px; }

.footer-locations { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.footer-location { min-width: 0; }
.footer-location__name {
  color: #fff; font-weight: 700; font-size: 0.86rem; margin-bottom: 6px;
  display: flex; align-items: center; gap: 5px;
}
.footer-location__name .icon { color: var(--accent); }
.footer-location__addr { color: #a8a291; font-size: 0.82rem; line-height: 1.5; margin: 0 0 6px; }
.footer-location__phone { display: inline-flex; align-items: center; gap: 5px; color: #d9d4c4; font-size: 0.82rem; }
.footer-location__phone:hover { color: var(--accent-soft); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12); padding-top: 16px;
  text-align: center; font-size: 0.78rem; color: #8f8977;
}

/* ---------- 404 ---------- */
.not-found { text-align: center; padding-top: 120px; padding-bottom: 120px; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__figure { order: -1; aspect-ratio: 16/9; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .course-grid { grid-template-columns: 1fr; }
  .locations { grid-template-columns: 1fr; }
  .next-termine-strip { grid-template-columns: repeat(2, 1fr); }
  .term-card { grid-template-columns: 1fr; }
  .split-layout, .split-layout.split-narrow { grid-template-columns: 1fr; }
  .split-layout aside { position: static !important; }
  .step-journey { grid-template-columns: 1fr; gap: 18px; }
  .step-journey::before { display: none; }
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; }

  /* .site-header (position:sticky) is the containing block, so the panel
     always sits flush under the real header height — no guessed offset. */
  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--surface); border-top: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    padding: 10px 20px 20px; max-height: calc(100vh - 100%); overflow-y: auto;
    visibility: hidden; opacity: 0; transform: translateY(-6px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s;
  }
  .main-nav.is-open { visibility: visible; opacity: 1; transform: translateY(0); }

  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav > ul > li { border-bottom: 1px solid var(--border); }
  .main-nav > ul > li:last-child { border-bottom: none; }
  .main-nav > ul > li > a { padding: 15px 4px; border-radius: 0; font-size: 1rem; }
  .main-nav > ul > li > a.nav-cta { border-radius: var(--radius-sm); padding: 12px 16px; margin: 8px 0; }
  .main-nav > ul > li > a.is-active, .main-nav > ul > li > a:hover { background: transparent; }

  .main-nav .sub-menu {
    position: static; display: flex !important; flex-direction: column;
    background: transparent; border: none; box-shadow: none;
    padding: 0 0 0 14px; margin: 0;
    max-height: 0; overflow: hidden; opacity: 0;
    transition: max-height .22s ease, opacity .18s ease;
  }
  .main-nav li.is-expanded > .sub-menu { max-height: 340px; opacity: 1; padding-bottom: 6px; }
  .main-nav .sub-menu a { padding: 11px 8px; font-size: 0.94rem; }
  .card-grid { grid-template-columns: 1fr; }
  .team-row, .team-row:nth-child(even) {
    flex-direction: column; text-align: center; padding: 26px 22px; gap: 18px;
  }
  .team-row > div, .team-row:nth-child(even) > div { text-align: center; }
  .team-row p { max-width: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 36px 24px; }
  .gallery-grid { columns: 2 200px; }
  .next-termine-strip { grid-template-columns: 1fr; }
  .audience-grid { grid-template-columns: 1fr; }
  .faq-item { padding: 2px 18px; }
  .trust-bar__item { font-size: 0.8rem; padding: 8px 14px; }
  .founder-row { flex-direction: column; text-align: center; gap: 10px; }
  .founder-row__text { text-align: center; }
  .hero { padding: 48px 0 56px; }
  .section { padding: 52px 0; }
}

@media (max-width: 480px) {
  .gallery-grid { columns: 1; }
  .footer-locations { grid-template-columns: 1fr; gap: 14px; }
}
