/*
Theme Name: Lernforum Lauchheim
Theme URI: https://lernforum-lauchheim.de
Author: Lernforum Lauchheim
Description: Individuelles Theme für das Lernforum Lauchheim — Nachhilfe von der Grundschule bis zum Abitur. Alle Inhalte sind über Design → Anpassen (Customizer) bearbeitbar.
Version: 1.1.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lernforum-lauchheim
*/

/* =========================================================================
   Lernforum Lauchheim — Design System
   Themes: akademie (default) · frisch · minimal
   Type:   Spectral (serif/display) + Hanken Grotesk (sans/body)
   ========================================================================= */

/* ---- Theme: AKADEMIE (default) — Marineblau / Messing / Papier ---------- */
:root {
  --bg:          #F4EFE6;   /* warm paper */
  --bg-deep:     #ECE4D5;
  --surface:     #FBF8F2;
  --surface-2:   #F2EBDD;
  --ink:         #16263E;   /* deep navy */
  --ink-soft:    #3A4A60;
  --muted:       #6C7689;
  --accent:      #A9794A;   /* brass */
  --accent-deep: #8A5E34;
  --accent-soft: #EBDDC8;
  --on-accent:   #FBF8F2;
  --line:        #DDD2BF;
  --line-soft:   #E7DECE;
  --hero-ink:    #16263E;
  --hero-bg:     #16263E;
  --hero-on:     #F4EFE6;
  --shadow:      0 1px 2px rgba(22,38,62,.06), 0 18px 40px -24px rgba(22,38,62,.28);
  --shadow-sm:   0 1px 2px rgba(22,38,62,.06), 0 8px 20px -16px rgba(22,38,62,.30);

  --font-serif: "Spectral", Georgia, "Times New Roman", serif;
  --font-sans:  "Hanken Grotesk", system-ui, -apple-system, sans-serif;

  --radius:   6px;
  --radius-lg: 12px;
  --maxw: 1180px;
  --gutter: clamp(20px, 5vw, 64px);
  --section-y: clamp(72px, 9vw, 132px);
}

/* ---- Theme: FRISCH — helles Tannengrün / klar / motivierend ------------ */
[data-theme="frisch"] {
  --bg:          #F6F8F5;
  --bg-deep:     #EAF0EA;
  --surface:     #FFFFFF;
  --surface-2:   #F0F5F0;
  --ink:         #173B30;
  --ink-soft:    #335448;
  --muted:       #5F7268;
  --accent:      #1E7A5E;   /* fresh green */
  --accent-deep: #155E48;
  --accent-soft: #D6EBE0;
  --on-accent:   #FFFFFF;
  --line:        #DDE7DF;
  --line-soft:   #E9F0EA;
  --hero-ink:    #173B30;
  --hero-bg:     #143A2E;
  --hero-on:     #EFF6F0;
  --shadow:      0 1px 2px rgba(20,58,46,.05), 0 18px 40px -24px rgba(20,58,46,.22);
  --shadow-sm:   0 1px 2px rgba(20,58,46,.05), 0 8px 20px -16px rgba(20,58,46,.26);
}

/* ---- Theme: MINIMAL — Schwarz / Weiß / viel Weißraum -------------------- */
[data-theme="minimal"] {
  --bg:          #FFFFFF;
  --bg-deep:     #F5F5F4;
  --surface:     #FFFFFF;
  --surface-2:   #F7F7F6;
  --ink:         #18181B;
  --ink-soft:    #3F3F46;
  --muted:       #71717A;
  --accent:      #1B3A6B;   /* ink blue */
  --accent-deep: #122A50;
  --accent-soft: #E7ECF4;
  --on-accent:   #FFFFFF;
  --line:        #E4E4E7;
  --line-soft:   #EFEFF1;
  --hero-ink:    #18181B;
  --hero-bg:     #111113;
  --hero-on:     #FAFAFA;
  --shadow:      0 1px 2px rgba(0,0,0,.04), 0 18px 40px -26px rgba(0,0,0,.22);
  --shadow-sm:   0 1px 2px rgba(0,0,0,.04), 0 8px 20px -18px rgba(0,0,0,.24);
  --section-y: clamp(84px, 10vw, 150px);
}

/* radius tweak */
[data-radius="sharp"] { --radius: 2px; --radius-lg: 4px; }
[data-radius="soft"]  { --radius: 12px; --radius-lg: 20px; }

/* ---- Reset / base ------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 600; color: var(--ink); margin: 0; line-height: 1.1; letter-spacing: -0.01em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--accent); color: var(--on-accent); }

/* ---- Layout helpers ----------------------------------------------------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.section--tint { background: var(--surface); border-block: 1px solid var(--line-soft); }
.section--deep { background: var(--bg-deep); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-sans);
  font-size: 13px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--accent-deep);
}
.eyebrow::before { content: ""; width: 26px; height: 1.5px; background: var(--accent); display: inline-block; }
.eyebrow--center::after { content: ""; width: 26px; height: 1.5px; background: var(--accent); display: inline-block; }

.section-head { max-width: 660px; }
.section-head.is-center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(30px, 4.4vw, 48px); margin-top: 18px; }
.section-head p { margin-top: 18px; color: var(--ink-soft); font-size: clamp(17px, 1.6vw, 19px); }

.lead { font-size: clamp(18px, 1.9vw, 21px); line-height: 1.6; color: var(--ink-soft); }

/* ---- Buttons ------------------------------------------------------------ */
.btn {
  --_pad-y: 14px; --_pad-x: 26px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-sans); font-size: 16px; font-weight: 700; letter-spacing: .01em;
  padding: var(--_pad-y) var(--_pad-x);
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  cursor: pointer; transition: transform .18s ease, background .18s ease, box-shadow .18s ease, color .18s ease, border-color .18s ease;
  white-space: nowrap; line-height: 1;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--accent); color: var(--on-accent); box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--accent-deep); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn--on-dark { background: var(--hero-on); color: var(--hero-bg); }
.btn--on-dark:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -16px rgba(0,0,0,.5); }
.btn--ghost-dark { background: transparent; color: var(--hero-on); border-color: rgba(255,255,255,.3); }
.btn--ghost-dark:hover { border-color: var(--hero-on); transform: translateY(-2px); }
.btn--lg { --_pad-y: 17px; --_pad-x: 32px; font-size: 17px; }
.btn--block { width: 100%; }

/* ---- Cards -------------------------------------------------------------- */
.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 30px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card--hover:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--accent-soft); }

/* ---- Header / nav ------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, background .25s ease, box-shadow .25s ease;
}
.site-header.is-stuck { border-bottom-color: var(--line); box-shadow: 0 10px 30px -26px rgba(22,38,62,.5); }
.nav { display: flex; align-items: center; gap: 28px; height: 76px; }
.brand { display: flex; align-items: center; gap: 13px; margin-right: auto; }
.brand__mark { flex: none; }
.brand__mark img { width: 42px; height: 42px; object-fit: contain; }
.brand__name { font-family: var(--font-serif); font-weight: 600; font-size: 21px; line-height: 1.05; letter-spacing: -0.01em; }
.brand__name small { display: block; font-family: var(--font-sans); font-weight: 600; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--accent-deep); }
.nav__links { display: flex; align-items: center; gap: 4px; }
.nav__links a {
  font-size: 15px; font-weight: 600; color: var(--ink-soft);
  padding: 9px 13px; border-radius: var(--radius); position: relative; transition: color .15s ease, background .15s ease;
}
.nav__links a:hover { color: var(--ink); background: var(--surface-2); }
.nav__links a.is-active { color: var(--accent-deep); }
.nav__cta { display: flex; align-items: center; gap: 12px; }
.nav__toggle { display: none; }

@media (max-width: 940px) {
  .nav__links, .nav__cta .btn { display: none; }
  .nav__toggle {
    display: inline-flex; flex-direction: column; gap: 5px; justify-content: center;
    width: 46px; height: 46px; border: 1px solid var(--line); border-radius: var(--radius);
    background: var(--surface); cursor: pointer; padding: 0; align-items: center;
  }
  .nav__toggle span { width: 20px; height: 2px; background: var(--ink); transition: transform .25s ease, opacity .2s ease; }
  body.menu-open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.menu-open .nav__toggle span:nth-child(2) { opacity: 0; }
  body.menu-open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* mobile menu drawer */
.mobile-menu {
  position: fixed; inset: 76px 0 auto 0; z-index: 55;
  background: var(--surface); border-bottom: 1px solid var(--line);
  padding: 18px var(--gutter) 28px; box-shadow: var(--shadow);
  transform: translateY(-12px); opacity: 0; pointer-events: none; transition: transform .25s ease, opacity .25s ease;
}
body.menu-open .mobile-menu { transform: translateY(0); opacity: 1; pointer-events: auto; }
.mobile-menu a { display: block; padding: 13px 6px; font-size: 18px; font-weight: 600; border-bottom: 1px solid var(--line-soft); }
.mobile-menu .btn { margin-top: 18px; }

/* ---- Hero --------------------------------------------------------------- */
.hero { position: relative; background: var(--hero-bg); color: var(--hero-on); overflow: hidden; }
.hero__grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px);
  align-items: center; padding-block: clamp(72px, 9vw, 124px);
}
.hero h1 { color: var(--hero-on); font-size: clamp(40px, 6vw, 70px); font-weight: 600; line-height: 1.02; }
.hero h1 em { font-style: italic; color: var(--accent); font-weight: 500; }
.hero__eyebrow { color: color-mix(in srgb, var(--accent) 78%, #fff); }
.hero__eyebrow::before { background: var(--accent); }
.hero p.lead { color: color-mix(in srgb, var(--hero-on) 82%, transparent); margin-top: 24px; max-width: 46ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 26px 36px; margin-top: 48px; padding-top: 30px; border-top: 1px solid rgba(255,255,255,.14); }
.hero__trust div { display: flex; flex-direction: column; gap: 2px; }
.hero__trust b { font-family: var(--font-serif); font-size: 30px; font-weight: 600; color: var(--hero-on); }
.hero__trust span { font-size: 13.5px; color: color-mix(in srgb, var(--hero-on) 68%, transparent); letter-spacing: .02em; }

.hero__media { position: relative; }
.hero__media .img-frame { width: 100%; height: 480px; box-shadow: 0 30px 70px -30px rgba(0,0,0,.6); }
.hero__badge {
  position: absolute; left: -26px; bottom: 34px; background: var(--surface); color: var(--ink);
  border-radius: var(--radius-lg); padding: 16px 20px; box-shadow: var(--shadow); max-width: 230px;
  display: flex; gap: 13px; align-items: center; border: 1px solid var(--line);
}
.hero__badge svg { width: 34px; height: 34px; flex: none; color: var(--accent); }
.hero__badge b { display: block; font-family: var(--font-serif); font-size: 16px; }
.hero__badge span { font-size: 13px; color: var(--muted); line-height: 1.35; }

/* decorative academic motif */
.hero__motif { position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,.10) 1px, transparent 0);
  background-size: 26px 26px; mask-image: linear-gradient(105deg, transparent 40%, #000 100%); }

@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { order: -1; }
  .hero__media .img-frame { height: 300px; }
  .hero__badge { left: 16px; bottom: 16px; }
}

/* ---- Bild-Rahmen (ersetzt image-slot aus dem Prototyp) ------------------- */
.img-frame { position: relative; display: block; border-radius: 14px; overflow: hidden; background: var(--surface-2); }
.img-frame img { width: 100%; height: 100%; object-fit: cover; }
.img-frame--empty { display: grid; place-items: center; border: 1.5px dashed var(--line); }
.img-frame--empty span {
  font-family: var(--font-sans); font-size: 14px; color: var(--muted);
  text-align: center; padding: 24px; max-width: 260px; line-height: 1.5;
}

/* ---- Subjects / Angebot ------------------------------------------------- */
.subject-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 52px; }
.subject {
  display: flex; align-items: flex-start; gap: 16px; padding: 24px 24px 26px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.subject:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); border-color: var(--accent-soft); }
.subject__icon {
  flex: none; width: 48px; height: 48px; border-radius: var(--radius); display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent-deep);
}
.subject__icon svg { width: 26px; height: 26px; }
.subject h3 { font-size: 20px; }
.subject p { margin-top: 6px; font-size: 14.5px; color: var(--muted); }

.levels { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.levels-intro { margin-top: 42px; font-weight: 600; color: var(--ink-soft); }
.level-chip {
  display: inline-flex; align-items: center; gap: 9px; padding: 11px 18px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--surface);
  font-size: 15px; font-weight: 600; color: var(--ink-soft);
}
.level-chip svg { width: 16px; height: 16px; color: var(--accent); }

@media (max-width: 900px) { .subject-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .subject-grid { grid-template-columns: 1fr; } }

/* ---- Über uns ----------------------------------------------------------- */
.about-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.about-media { position: relative; }
.about-media .img-frame { width: 100%; height: 440px; }
.about-media .frame-tag {
  position: absolute; right: -18px; top: 28px; writing-mode: vertical-rl;
  font-family: var(--font-serif); font-style: italic; font-size: 15px; color: var(--muted);
  background: var(--bg); padding: 12px 6px;
}
.about-copy h2 { font-size: clamp(30px, 4.4vw, 46px); margin-top: 18px; }
.about-copy .lead { margin-top: 20px; }
.feature-list { margin-top: 34px; display: grid; gap: 22px; }
.feature { display: flex; gap: 16px; }
.feature__num { font-family: var(--font-serif); font-size: 15px; font-weight: 600; color: var(--accent-deep); border: 1px solid var(--accent-soft); border-radius: 50%; width: 38px; height: 38px; display: grid; place-items: center; flex: none; }
.feature h3 { font-size: 18.5px; }
.feature p { margin-top: 4px; color: var(--ink-soft); font-size: 15.5px; }

@media (max-width: 820px) { .about-grid { grid-template-columns: 1fr; } .about-media .img-frame { height: 320px; } }

/* ---- Ablauf / steps ----------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 56px; counter-reset: step; }
.step { position: relative; padding: 0 26px; border-left: 1px solid var(--line); }
.step:first-child { padding-left: 0; border-left: none; }
.step__no { counter-increment: step; font-family: var(--font-serif); font-size: 14px; font-weight: 700; letter-spacing: .12em; color: var(--accent-deep); }
.step__no::before { content: "0" counter(step); }
.step__dot { width: 13px; height: 13px; border-radius: 50%; background: var(--accent); margin: 16px 0 22px; box-shadow: 0 0 0 5px var(--accent-soft); }
.step h3 { font-size: 21px; }
.step p { margin-top: 9px; color: var(--ink-soft); font-size: 15px; }
@media (max-width: 880px) { .steps { grid-template-columns: repeat(2, 1fr); gap: 40px 24px; } .step { border-left: none; padding: 0; } }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }

/* ---- Preise ------------------------------------------------------------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 52px; align-items: stretch; }
.price { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px 30px; position: relative; }
.price.is-featured { border-color: var(--accent); box-shadow: var(--shadow); }
.price__flag { position: absolute; top: -13px; left: 30px; background: var(--accent); color: var(--on-accent); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 5px 13px; border-radius: 999px; }
.price__name { font-family: var(--font-serif); font-size: 23px; }
.price__desc { color: var(--muted); font-size: 14.5px; margin-top: 6px; min-height: 42px; }
.price__amt { display: flex; align-items: baseline; gap: 7px; margin: 20px 0 4px; }
.price__amt b { font-family: var(--font-serif); font-size: 46px; font-weight: 600; color: var(--ink); }
.price__amt span { color: var(--muted); font-size: 15px; }
.price__note { font-size: 13px; color: var(--muted); }
.price ul { margin: 22px 0 28px; display: grid; gap: 12px; }
.price li { display: flex; gap: 11px; font-size: 15px; color: var(--ink-soft); }
.price li svg { width: 19px; height: 19px; color: var(--accent); flex: none; margin-top: 1px; }
.price .btn { margin-top: auto; }
.price-disclaimer { text-align: center; margin-top: 28px; font-size: 14px; color: var(--muted); }
@media (max-width: 880px) { .price-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; } .price.is-featured { order: -1; } }

/* ---- Termin / ephilos --------------------------------------------------- */
.booking { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 64px); align-items: start; margin-top: 50px; }
.booking__tabs { display: inline-flex; padding: 5px; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius); gap: 4px; margin-bottom: 22px; }
.booking__tab { font-family: var(--font-sans); font-size: 14.5px; font-weight: 700; color: var(--muted); border: none; background: transparent; padding: 10px 18px; border-radius: calc(var(--radius) - 2px); cursor: pointer; transition: all .15s ease; }
.booking__tab.is-active { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm); }
.booking__panel { display: none; }
.booking__panel.is-active { display: block; animation: fade .3s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.ephilos-frame {
  border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface);
  min-height: 460px; display: grid; place-items: center; text-align: center; padding: 48px 32px; position: relative; overflow: hidden;
}
.ephilos-frame__inner { max-width: 360px; }
.ephilos-frame .pin { width: 58px; height: 58px; border-radius: var(--radius-lg); background: var(--accent-soft); color: var(--accent-deep); display: grid; place-items: center; margin: 0 auto 20px; }
.ephilos-frame .pin svg { width: 30px; height: 30px; }
.ephilos-frame h3 { font-size: 23px; }
.ephilos-frame p { margin-top: 10px; color: var(--ink-soft); font-size: 15px; }
.ephilos-frame .hint { margin-top: 22px; font-size: 12.5px; color: var(--muted); font-family: var(--font-sans); display: inline-flex; gap: 7px; align-items: center; background: var(--surface-2); padding: 8px 14px; border-radius: 999px; }
.ephilos-frame__bg { position: absolute; inset: 0; opacity: .5; background-image: repeating-linear-gradient(135deg, var(--line-soft) 0 1px, transparent 1px 16px); pointer-events: none; }
.ephilos-embed iframe { width: 100%; min-height: 620px; border: 0; border-radius: var(--radius-lg); background: var(--surface); }

.booking__aside { display: grid; gap: 16px; }
.booking-note { display: flex; gap: 14px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.booking-note svg { width: 24px; height: 24px; color: var(--accent); flex: none; }
.booking-note b { font-family: var(--font-serif); font-size: 16.5px; }
.booking-note p { margin-top: 3px; font-size: 14.5px; color: var(--ink-soft); }
@media (max-width: 860px) { .booking { grid-template-columns: 1fr; } }

/* ---- FAQ ---------------------------------------------------------------- */
.faq { max-width: 820px; margin: 48px auto 0; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px; text-align: left; background: none; border: none; cursor: pointer; padding: 24px 4px; font-family: var(--font-serif); font-size: clamp(18px, 2vw, 21px); font-weight: 600; color: var(--ink); }
.faq__icon { flex: none; width: 30px; height: 30px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; transition: transform .3s ease, background .2s ease, border-color .2s ease; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; background: var(--accent-deep); }
.faq__icon::before { width: 12px; height: 2px; }
.faq__icon::after { width: 2px; height: 12px; transition: transform .3s ease; }
.faq__item.is-open .faq__icon { background: var(--accent-soft); border-color: var(--accent-soft); }
.faq__item.is-open .faq__icon::after { transform: scaleY(0); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq__a p { padding: 0 4px 26px; color: var(--ink-soft); font-size: 16px; max-width: 70ch; }

/* ---- Kontakt ------------------------------------------------------------ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.contact-info { display: grid; gap: 20px; }
.contact-row { display: flex; gap: 16px; align-items: flex-start; }
.contact-row__ic { flex: none; width: 46px; height: 46px; border-radius: var(--radius); background: var(--accent-soft); color: var(--accent-deep); display: grid; place-items: center; }
.contact-row__ic svg { width: 22px; height: 22px; }
.contact-row b { font-family: var(--font-serif); font-size: 17px; }
.contact-row p, .contact-row a { color: var(--ink-soft); font-size: 15.5px; margin-top: 3px; }
.contact-row a:hover { color: var(--accent-deep); }
.map { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; min-height: 360px; position: relative; background: var(--surface-2); }
.map iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; filter: grayscale(.2) contrast(1.02); }
.map__label { position: absolute; left: 50%; top: 48%; transform: translate(-50%,-100%); display: flex; flex-direction: column; align-items: center; gap: 6px; }
.map__label span { background: var(--surface); border: 1px solid var(--line); padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; box-shadow: var(--shadow-sm); white-space: nowrap; }
.map__hint { position: absolute; bottom: 12px; right: 14px; font-size: 12px; color: var(--muted); background: var(--surface); padding: 4px 10px; border-radius: 999px; }
.hours { margin-top: 8px; border-top: 1px solid var(--line-soft); padding-top: 20px; }
.hours > b { font-family: var(--font-serif); font-size: 17px; }
.hours dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 24px; margin: 12px 0 0; }
.hours dt { color: var(--ink-soft); font-weight: 600; font-size: 15px; }
.hours dd { margin: 0; text-align: right; color: var(--muted); font-size: 15px; }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---- CTA band ----------------------------------------------------------- */
.cta-band { background: var(--hero-bg); color: var(--hero-on); border-radius: var(--radius-lg); padding: clamp(40px, 6vw, 68px); display: grid; grid-template-columns: 1.2fr auto; gap: 30px; align-items: center; position: relative; overflow: hidden; }
.cta-band h2 { color: var(--hero-on); font-size: clamp(28px, 3.6vw, 40px); }
.cta-band p { color: color-mix(in srgb, var(--hero-on) 78%, transparent); margin-top: 12px; max-width: 52ch; }
.cta-band__content { position: relative; }
.cta-band__actions { display: flex; gap: 14px; flex-wrap: wrap; position: relative; }
.cta-band .hero__motif { opacity: .6; }
@media (max-width: 760px) { .cta-band { grid-template-columns: 1fr; } }

/* ---- Footer ------------------------------------------------------------- */
.site-footer { background: var(--bg-deep); border-top: 1px solid var(--line); padding-block: 56px 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer-grid h4 { font-family: var(--font-sans); font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a { color: var(--ink-soft); font-size: 15px; }
.footer-grid a:hover { color: var(--accent-deep); }
.footer-grid p { color: var(--muted); font-size: 14.5px; margin-top: 14px; max-width: 30ch; }
.footer-bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13.5px; color: var(--muted); }
.footer-bottom a { color: var(--muted); }
.footer-bottom__legal { display: flex; gap: 18px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---- Unterseiten (Impressum, Datenschutz, Blog) -------------------------- */
.page-plain { padding-block: clamp(56px, 7vw, 96px); }
.page-plain .wrap { max-width: 820px; }
.page-plain h1 { font-size: clamp(32px, 5vw, 52px); margin-bottom: 28px; }
.prose h2 { font-size: 26px; margin: 40px 0 14px; }
.prose h3 { font-size: 20px; margin: 30px 0 10px; }
.prose p { margin: 0 0 16px; color: var(--ink-soft); }
.prose ul, .prose ol { margin: 0 0 16px 22px; padding: 0; list-style: disc; color: var(--ink-soft); }
.prose ol { list-style: decimal; }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--accent-deep); text-decoration: underline; text-underline-offset: 3px; }
.prose img { border-radius: var(--radius-lg); }

/* ---- Reveal on scroll --------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.22,.61,.36,1), transform .7s cubic-bezier(.22,.61,.36,1); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* Customizer-Vorschau & Admin-Bar-Fix */
body.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .site-header { top: 46px; } }
