/* ═══════════════════════════════════════════════════════════
   FAHRSCHULE HERZER – main.css  v3.0
   ═══════════════════════════════════════════════════════════ */

:root {
  --green:#1e8c3a; --green-dark:#155f28; --green-light:#e8f5ec;
  --dark:#1a1f1c; --dark-footer:#1c2120; --grey-bg:#f4f4f2;
  --text:#1a1f1c; --text-muted:#555e59; --white:#ffffff;
  --border:rgba(0,0,0,.08); --radius:8px; --radius-lg:12px;
}

*, *::before, *::after { box-sizing:border-box; margin:0; padding:0; }
html { scroll-behavior:smooth; }
body { font-family:'DM Sans',sans-serif; color:var(--text); background:var(--white); overflow-x:hidden; font-size:16px; line-height:1.5; }
a { text-decoration:none; color:inherit; }
img { max-width:100%; display:block; }

/* ── TOPBAR ── */
.topbar { background:var(--green); color:var(--white); font-size:.82rem; padding:8px 40px; display:flex; justify-content:space-between; align-items:center; gap:12px; }
.topbar-left { display:flex; gap:22px; align-items:center; flex-wrap:wrap; }
.topbar-left a,.topbar-left span { color:var(--white); display:flex; align-items:center; gap:6px; font-size:.82rem; }
.topbar-left a:hover { opacity:.8; }
.topbar-right { display:flex; gap:14px; align-items:center; flex-shrink:0; }
.topbar-right a { color:var(--white); font-size:1rem; line-height:1; }
.topbar-right a:hover { opacity:.8; }

/* ── STICKY HEADER ── */
.site-header { position:sticky; top:0; z-index:200; }

/* ── NAVBAR ── */
nav { background:var(--white); box-shadow:0 1px 0 var(--border); }
.nav-inner { display:flex; align-items:center; padding:0 40px; height:64px; position:relative; }
.nav-left,.nav-right { display:flex; gap:28px; align-items:center; flex:1; }
.nav-right { justify-content:flex-end; }
.nav-logo { text-align:center; cursor:pointer; position:absolute; left:50%; transform:translateX(-50%); }
.nav-logo .brand { font-family:'Playfair Display',serif; font-size:1.5rem; font-weight:900; letter-spacing:.06em; color:var(--text); line-height:1.1; }
.nav-logo .sub { font-size:.62rem; letter-spacing:.22em; text-transform:uppercase; color:var(--text-muted); }
.nav-link { font-size:.88rem; font-weight:500; color:var(--text); white-space:nowrap; transition:color .2s; background:none; border:none; cursor:pointer; padding:0; font-family:inherit; }
.nav-link:hover,.nav-link.active,.nav-link.current-menu-item { color:var(--green); }
.nav-dropdown { position:relative; }
.nav-dropdown-toggle { display:flex; align-items:center; gap:5px; }
.nav-dropdown-toggle svg { transition:transform .2s; }
.nav-dropdown:hover .nav-dropdown-toggle svg { transform:rotate(180deg); }
.dropdown-menu { position:absolute; top:calc(100% + 8px); left:0; background:var(--white); border:1px solid var(--border); border-radius:var(--radius); min-width:210px; box-shadow:0 8px 28px rgba(0,0,0,.12); opacity:0; visibility:hidden; transform:translateY(-6px); transition:all .2s; }
.nav-dropdown:hover .dropdown-menu { opacity:1; visibility:visible; transform:translateY(0); }
.dropdown-menu a { display:block; padding:11px 18px; font-size:.88rem; color:var(--text); border-bottom:1px solid rgba(0,0,0,.05); transition:background .15s,color .15s; }
.dropdown-menu a:last-child { border-bottom:none; }
.dropdown-menu a:hover,.dropdown-menu a.current { color:var(--green); background:var(--green-light); }

/* ── BURGER ── */
.nav-burger { display:none; flex-direction:column; gap:5px; background:none; border:none; cursor:pointer; padding:6px; margin-left:auto; flex-shrink:0; }
.nav-burger span { display:block; width:24px; height:2px; background:var(--text); border-radius:2px; transition:transform .3s,opacity .3s; }
.nav-burger.open span:nth-child(1) { transform:translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity:0; }
.nav-burger.open span:nth-child(3) { transform:translateY(-7px) rotate(-45deg); }

/* ── MOBILE MENU ── */
.mobile-menu { display:none; background:var(--white); border-top:1px solid rgba(0,0,0,.07); }
.mobile-menu.open { display:block; }
.mob-link { display:block; width:100%; text-align:left; padding:14px 20px; font-size:.95rem; font-weight:500; color:var(--text); border:none; border-bottom:1px solid rgba(0,0,0,.05); background:none; cursor:pointer; font-family:inherit; }
.mob-link:hover { color:var(--green); background:var(--green-light); }
.mob-sub-toggle { display:flex; justify-content:space-between; align-items:center; }
.mob-sub-toggle svg { transition:transform .25s; flex-shrink:0; }
.mob-sub-toggle.open svg { transform:rotate(180deg); }
.mob-submenu { display:none; background:var(--grey-bg); }
.mob-submenu.open { display:block; }
.mob-submenu .mob-link { padding-left:36px; font-size:.88rem; color:var(--text-muted); }

/* ── BUTTONS ── */
.btn-primary { display:inline-flex; align-items:center; gap:8px; background:var(--green); color:var(--white); font-size:.9rem; font-weight:600; padding:13px 24px; border-radius:6px; border:none; cursor:pointer; transition:background .2s; font-family:inherit; }
.btn-primary:hover { background:var(--green-dark); color:var(--white); }
.btn-outline { display:inline-flex; align-items:center; gap:8px; background:transparent; color:var(--white); font-size:.9rem; font-weight:600; padding:12px 22px; border-radius:6px; border:1.5px solid rgba(255,255,255,.5); transition:all .2s; }
.btn-outline:hover { border-color:var(--white); background:rgba(255,255,255,.07); color:var(--white); }
.btn-group { display:flex; gap:14px; flex-wrap:wrap; align-items:center; }

/* ── PARALLAX HERO (Unterseiten) ── */
.p-hero { position:relative; min-height:340px; display:flex; align-items:center; overflow:hidden; background:var(--dark); }
.p-hero-bg { position:absolute; inset:-60px; background-size:cover; background-position:center; background-attachment:fixed; opacity:.22; }
.p-hero-content { position:relative; padding:80px 40px; max-width:1100px; margin:0 auto; width:100%; text-align:center; }
.p-hero h1 { font-family:'Playfair Display',serif; font-size:clamp(2.2rem,4.5vw,3.8rem); font-weight:900; color:var(--white); margin-bottom:12px; }
.p-hero p { color:rgba(255,255,255,.7); font-size:1rem; max-width:560px; margin:0 auto; line-height:1.6; }
.hero-eyebrow { font-size:.75rem; font-weight:700; letter-spacing:.18em; text-transform:uppercase; color:var(--green); margin-bottom:16px; }

/* ── STARTSEITE HERO ── */
.home-hero { position:relative; min-height:520px; display:flex; align-items:center; overflow:hidden; background:var(--dark); }
.home-hero-bg { position:absolute; inset:-60px; background:url('../images/hero-bg.jpg') center/cover no-repeat; background-attachment:fixed; opacity:.22; }
.home-hero-content { position:relative; padding:80px 40px; max-width:660px; }
.home-hero h1 { font-family:'Playfair Display',serif; font-size:clamp(3rem,6vw,5rem); line-height:1; font-weight:900; color:var(--white); margin-bottom:6px; }
.home-hero h1 span { color:var(--green); display:block; }
.home-hero-sub { font-size:1rem; color:rgba(255,255,255,.7); line-height:1.6; margin-top:20px; margin-bottom:36px; max-width:440px; }

/* ── SECTIONS ── */
.section { padding:80px 40px; }
.section-grey { background:var(--grey-bg); }
.section-label { font-size:.75rem; font-weight:700; letter-spacing:.18em; text-transform:uppercase; color:var(--green); text-align:center; margin-bottom:10px; }
.section-title { font-family:'Playfair Display',serif; font-size:clamp(1.8rem,3vw,2.6rem); font-weight:700; text-align:center; color:var(--text); margin-bottom:12px; }
.section-sub { text-align:center; color:var(--text-muted); font-size:.97rem; max-width:560px; margin:0 auto 52px; line-height:1.6; }

/* ── CARDS ── */
.cards-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; max-width:1100px; margin:0 auto; }
.card { background:var(--white); border:1.5px solid var(--border); border-radius:var(--radius-lg); padding:36px 28px; text-align:center; transition:box-shadow .25s,border-color .25s; }
.card:hover { box-shadow:0 8px 32px rgba(30,140,58,.1); border-color:rgba(30,140,58,.28); }
.card-icon { width:52px; height:52px; background:var(--green-light); border-radius:50%; display:flex; align-items:center; justify-content:center; margin:0 auto 20px; font-size:1.4rem; }
.card h3 { font-size:1.05rem; font-weight:700; margin-bottom:10px; }
.card p { font-size:.9rem; color:var(--text-muted); line-height:1.6; }

/* ── ROAD DIVIDER ── */
.road-divider { height:160px; background:url('../images/road-bg.jpg') center/cover fixed; position:relative; }
.road-divider::after { content:''; position:absolute; inset:0; background:rgba(26,31,28,.72); }

/* ── CTA ── */
.cta-section { padding:90px 40px; text-align:center; background:var(--white); }
.cta-section h2 { font-family:'Playfair Display',serif; font-size:clamp(1.8rem,3vw,2.8rem); font-weight:700; margin-bottom:14px; color:var(--text); }
.cta-section p { color:var(--text-muted); margin-bottom:36px; font-size:.97rem; }

/* ── FÜHRERSCHEINKLASSEN ── */
.klassen-section { padding:60px 40px; background:var(--grey-bg); }
.klassen-category { max-width:1100px; margin:0 auto 52px; }
.klassen-category-title { display:flex; align-items:center; gap:12px; font-size:1.1rem; font-weight:700; margin-bottom:24px; color:var(--text); }
.klassen-category-icon { width:42px; height:42px; background:var(--green-light); border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:1.1rem; flex-shrink:0; }
.klassen-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:16px; }
.klasse-card { background:var(--white); border:1.5px solid rgba(0,0,0,.07); border-radius:10px; padding:24px 22px; transition:box-shadow .2s; }
.klasse-card:hover { box-shadow:0 6px 20px rgba(0,0,0,.08); }
.klasse-card h4 { font-size:1rem; font-weight:700; margin-bottom:8px; color:var(--text); }
.klasse-card p { font-size:.88rem; color:var(--text-muted); line-height:1.5; margin-bottom:10px; }
.klasse-age { font-size:.8rem; font-weight:600; color:var(--green); }

/* ── THEORIEPLAN ── */
.theorie-list { max-width:860px; margin:0 auto; display:flex; flex-direction:column; gap:12px; }
.theorie-month-label { font-family:'Playfair Display',serif; font-size:1.2rem; font-weight:700; max-width:860px; margin:32px auto 14px; padding:0 4px; color:var(--text); }
.theorie-row { background:var(--white); border:1.5px solid rgba(0,0,0,.07); border-radius:10px; padding:18px 28px; display:grid; grid-template-columns:180px 160px 1fr 160px; align-items:center; gap:16px; transition:box-shadow .2s; }
.theorie-row:hover { box-shadow:0 4px 16px rgba(0,0,0,.08); }
.theorie-date { display:flex; align-items:center; gap:8px; font-weight:600; font-size:.9rem; }
.theorie-time { display:flex; align-items:center; gap:8px; font-size:.88rem; color:var(--text-muted); }
.theorie-title { font-size:.92rem; font-weight:500; }
.theorie-room { display:flex; align-items:center; gap:6px; font-size:.82rem; color:var(--text-muted); justify-content:flex-end; }
.t-icon { color:var(--green); flex-shrink:0; }

/* ── BERUFSKRAFTFAHRER ── */
.bkf-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:24px; max-width:1000px; margin:0 auto; }
.bkf-card { background:var(--white); border:1.5px solid rgba(0,0,0,.07); border-radius:var(--radius-lg); padding:32px 28px; display:flex; gap:20px; transition:box-shadow .2s; }
.bkf-card:hover { box-shadow:0 8px 28px rgba(0,0,0,.08); }
.bkf-icon { width:48px; height:48px; background:var(--green-light); border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:1.3rem; flex-shrink:0; }
.bkf-card h4 { font-size:1rem; font-weight:700; margin-bottom:8px; color:var(--text); }
.bkf-card p { font-size:.88rem; color:var(--text-muted); line-height:1.6; }

/* ── FUHRPARK ── */
.fuhrpark-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:24px; max-width:1100px; margin:0 auto; }
.fuhrpark-card { border-radius:var(--radius-lg); overflow:hidden; background:var(--dark); position:relative; aspect-ratio:4/3; display:block; }
.fuhrpark-card img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; opacity:.75; transition:opacity .3s,transform .4s; display:block; }
.fuhrpark-card:hover img { opacity:.9; transform:scale(1.04); }
.fuhrpark-card-label { position:absolute; bottom:0; left:0; right:0; padding:24px 22px; background:linear-gradient(transparent,rgba(0,0,0,.78)); z-index:1; }
.fuhrpark-card-label h3 { font-family:'Playfair Display',serif; font-size:1.3rem; font-weight:700; color:var(--white); margin-bottom:4px; }
.fuhrpark-card-label p { font-size:.82rem; color:rgba(255,255,255,.72); }

/* ── TEAM ── */
.team-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:24px; max-width:1100px; margin:0 auto; }
.team-card { background:var(--white); border:1.5px solid rgba(0,0,0,.07); border-radius:var(--radius-lg); overflow:hidden; text-align:center; transition:box-shadow .25s; }
.team-card:hover { box-shadow:0 8px 28px rgba(0,0,0,.1); }
.team-avatar { width:100%; aspect-ratio:1; background:var(--grey-bg); display:flex; align-items:center; justify-content:center; font-size:4rem; color:rgba(0,0,0,.1); overflow:hidden; position:relative; }
.team-avatar img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:center top; display:block; }
.team-card-body { padding:20px 16px; }
.team-card h4 { font-size:1rem; font-weight:700; margin-bottom:4px; color:var(--text); }
.team-card .team-role { font-size:.82rem; color:var(--green); font-weight:600; margin-bottom:8px; }
.team-card p { font-size:.82rem; color:var(--text-muted); line-height:1.5; }

/* ── HERZER CLASSIC TIMELINE ── */
.timeline { position:relative; max-width:900px; margin:0 auto; padding:20px 0 60px; }
.timeline::before { content:''; position:absolute; left:50%; top:0; bottom:0; width:2px; background:linear-gradient(var(--green),var(--green-dark)); transform:translateX(-50%); }
.tl-item { display:flex; justify-content:flex-end; padding-right:calc(50% + 40px); margin-bottom:56px; opacity:0; transform:translateX(-40px); transition:opacity .65s,transform .65s; }
.tl-item.right { justify-content:flex-start; padding-right:0; padding-left:calc(50% + 40px); transform:translateX(40px); }
.tl-item.visible { opacity:1; transform:translateX(0); }
.tl-dot { position:absolute; left:50%; top:24px; width:14px; height:14px; background:var(--green); border-radius:50%; transform:translateX(-50%); border:3px solid var(--white); box-shadow:0 0 0 2px var(--green); }
.tl-card { background:var(--white); border:1.5px solid rgba(0,0,0,.08); border-radius:var(--radius-lg); padding:24px; max-width:340px; box-shadow:0 4px 16px rgba(0,0,0,.06); position:relative; }
.tl-year { font-size:.75rem; font-weight:700; letter-spacing:.14em; color:var(--green); text-transform:uppercase; margin-bottom:6px; }
.tl-card h4 { font-family:'Playfair Display',serif; font-size:1.1rem; font-weight:700; margin-bottom:8px; color:var(--text); }
.tl-card p { font-size:.87rem; color:var(--text-muted); line-height:1.6; }

/* ── STANDARD SEITEN ── */
.page-content-inner { max-width:820px; margin:0 auto; }
.page-content-inner h2 { font-family:'Playfair Display',serif; font-size:1.8rem; font-weight:700; margin:36px 0 14px; color:var(--text); }
.page-content-inner p { color:var(--text-muted); line-height:1.7; margin-bottom:16px; }
.page-content-inner ul { padding-left:20px; margin-bottom:16px; }
.page-content-inner li { color:var(--text-muted); line-height:1.7; margin-bottom:6px; }

/* ── SCROLL REVEAL ── */
.reveal { opacity:0; transform:translateY(28px); transition:opacity .65s,transform .65s; }
.reveal.visible { opacity:1; transform:translateY(0); }

/* ── FOOTER ── */
.site-footer { background:var(--dark-footer); color:rgba(255,255,255,.8); padding:60px 40px 30px; }
.footer-grid { display:grid; grid-template-columns:1fr 1fr 1fr; gap:48px; max-width:1100px; margin:0 auto 48px; }
.footer-col h4 { font-size:.85rem; font-weight:700; text-transform:uppercase; letter-spacing:.1em; color:var(--white); margin-bottom:20px; }
.footer-contact-link { display:flex; align-items:flex-start; gap:10px; font-size:.88rem; color:rgba(255,255,255,.65); line-height:1.6; margin-bottom:10px; transition:color .2s; }
.footer-contact-link:hover { color:var(--green); }
.footer-contact-link svg { flex-shrink:0; margin-top:3px; }
.footer-nav a { display:block; font-size:.88rem; color:rgba(255,255,255,.65); padding:3px 0; transition:color .2s; }
.footer-nav a:hover,.footer-nav a.active { color:var(--green); }
.footer-map-placeholder { background:rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.1); border-radius:var(--radius); padding:32px 16px; text-align:center; font-size:.82rem; color:rgba(255,255,255,.35); }
.footer-bottom { border-top:1px solid rgba(255,255,255,.1); padding-top:24px; display:flex; justify-content:space-between; align-items:center; font-size:.82rem; color:rgba(255,255,255,.4); max-width:1100px; margin:0 auto; flex-wrap:wrap; gap:12px; }
.footer-bottom a { color:rgba(255,255,255,.4); transition:color .2s; }
.footer-bottom a:hover { color:var(--white); }
.footer-links { display:flex; gap:20px; }

/* ── GUTENBERG ── */
.wp-block-image img { border-radius:var(--radius); }
.wp-block-button__link { background:var(--green) !important; border-radius:6px !important; font-family:'DM Sans',sans-serif !important; }
.aligncenter { margin-left:auto; margin-right:auto; display:block; }
.alignleft { float:left; margin-right:24px; margin-bottom:16px; }
.alignright { float:right; margin-left:24px; margin-bottom:16px; }

/* ── RESPONSIVE ── */
@media(max-width:900px) {
  .cards-grid { grid-template-columns:repeat(2,1fr); }
  .klassen-grid { grid-template-columns:1fr; }
  .bkf-grid { grid-template-columns:1fr; }
  .fuhrpark-grid { grid-template-columns:1fr; }
  .team-grid { grid-template-columns:repeat(2,1fr); }
  .theorie-row { grid-template-columns:1fr 1fr; }
  .theorie-room { justify-content:flex-start; }
  .timeline::before { left:20px; }
  .tl-item { padding-right:0; padding-left:52px; justify-content:flex-start; }
  .tl-item.right { padding-left:52px; }
  .tl-dot { left:20px; }
  .tl-card { max-width:100%; }
}
@media(max-width:768px) {
  .topbar { padding:8px 16px; }
  .topbar-left span { display:none; }
  .nav-inner { padding:0 16px; }
  .nav-left,.nav-right { display:none; }
  .nav-logo { position:static; transform:none; flex:1; }
  .nav-burger { display:flex; }
  .home-hero-content { padding:56px 16px; }
  .p-hero-content { padding:52px 16px; }
  .section { padding:52px 16px; }
  .klassen-section { padding:40px 16px; }
  .cta-section { padding:60px 16px; }
  .footer-grid { grid-template-columns:1fr; gap:32px; }
  .site-footer { padding:48px 16px 24px; }
  .road-divider { background-attachment:scroll; }
  .home-hero-bg,.p-hero-bg { background-attachment:scroll; }
}
@media(max-width:540px) {
  .cards-grid { grid-template-columns:1fr; }
  .team-grid { grid-template-columns:repeat(2,1fr); }
  .theorie-row { grid-template-columns:1fr; gap:8px; }
  .btn-group { flex-direction:column; align-items:flex-start; }
}

/* ── LOGO BILD IN NAV ── */
.nav-logo-img { height: 44px; width: auto; display: block; object-fit: contain; }

/* ── LOGO IMAGE IN NAV ── */
.nav-logo-img { height: 44px; width: auto; display: block; }

/* ── BKF Bildkarte ── */
.bkf-card-img { position:relative; border-radius:var(--radius-lg); overflow:hidden; aspect-ratio:4/3; background:var(--dark); }
.bkf-card-img img { width:100%; height:100%; object-fit:cover; display:block; }
.bkf-img-caption { position:absolute; bottom:0; left:0; right:0; padding:14px 16px; background:linear-gradient(transparent,rgba(0,0,0,.72)); color:#fff; font-size:.88rem; font-weight:500; }

/* ── Admin Typ-Switch (BKF) ── */
.hz-typ-switch { display:flex; gap:6px; margin-bottom:4px; }
.hz-typ-btn { padding:5px 12px; border:1.5px solid #ddd; border-radius:5px; background:#f9f9f9; cursor:pointer; font-size:12px; font-family:inherit; transition:all .15s; }
.hz-typ-btn.active { background:#1e8c3a; color:#fff; border-color:#1e8c3a; }
.hz-typ-btn:hover:not(.active) { border-color:#1e8c3a; color:#1e8c3a; }

/* ── Classic Zeitstrahl Bild ── */
.tl-card img { width:100%; border-radius:6px; margin:10px 0; object-fit:cover; max-height:160px; }

/* ── Footer Badge-Logo (Since 1992 etc.) ── */
.footer-badge-logo {
  height: 48px;
  width: auto;
  opacity: .75;
  filter: brightness(0) invert(1);
  transition: opacity .2s;
}
.footer-badge-logo:hover { opacity: 1; }

/* ── Team-Avatar dynamische Größe ── */
.team-avatar {
  /* Größe wird per inline style aus den Einstellungen gesetzt */
  min-width: 60px;
  min-height: 60px;
  flex-shrink: 0;
}

/* ── Footer Öffnungszeiten ── */
.footer-oeffnung { margin-top:14px; }
.footer-oeffnung-label { display:flex; align-items:center; gap:6px; font-size:.75rem; font-weight:700; text-transform:uppercase; letter-spacing:.1em; color:rgba(255,255,255,.45); margin-bottom:8px; }
.footer-oeffnung-row { display:flex; justify-content:space-between; gap:12px; padding:3px 0; border-bottom:1px solid rgba(255,255,255,.05); }
.footer-oeffnung-row:last-child { border-bottom:none; }
.footer-oeffnung-tag  { font-size:.82rem; color:rgba(255,255,255,.55); }
.footer-oeffnung-zeit { font-size:.82rem; color:rgba(255,255,255,.75); font-weight:500; text-align:right; }

/* ── Fahrerschulung Gruppen-Trenner ── */
.fs-gruppe-trenner {
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}
.fs-gruppe-trenner::before {
  content: '';
  position: absolute;
  left: 0; right: 0;
  top: 50%;
  height: 1px;
  background: rgba(30,140,58,.2);
}
.fs-gruppe-label {
  display: inline-block;
  position: relative;
  background: var(--white);
  padding: 8px 24px;
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  border: 2px solid rgba(30,140,58,.25);
  border-radius: 30px;
}
/* Wenn Gruppe in grauem Hintergrund liegt */
.section-grey .fs-gruppe-label {
  background: var(--grey-bg);
}

/* ── BKF Themenschwerpunkte Layout ── */
.bkf-module-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  max-width: 1100px;
  margin: 0 auto;
  align-items: start;
}
.bkf-module-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 28px;
}
.bkf-module-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.bkf-module-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: .95rem;
  color: var(--text);
  line-height: 1.5;
  padding: 12px 16px;
  background: var(--grey-bg);
  border-radius: 8px;
  border-left: 3px solid var(--green);
}
.bkf-module-list li::before {
  content: '✓';
  color: var(--green);
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 1px;
}

/* BKF Intro-Box rechts */
.bkf-intro-box {
  background: var(--dark);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
}
.bkf-intro-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--green);
}
.bkf-intro-icon {
  font-size: 1.8rem;
  margin-bottom: 16px;
}
.bkf-intro-box p {
  color: rgba(255,255,255,.8);
  font-size: .95rem;
  line-height: 1.75;
}

@media (max-width: 768px) {
  .bkf-module-wrap { grid-template-columns: 1fr; gap: 32px; }
}

/* ── Aktuelles (Startseite) ── */
.aktuelles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}
.aktuelles-card {
  background: var(--white);
  border: 1.5px solid rgba(0,0,0,.08);
  border-left: 4px solid var(--green);
  border-radius: 10px;
  padding: 26px 26px 24px;
  transition: box-shadow .2s, transform .2s;
}
.aktuelles-card:hover {
  box-shadow: 0 8px 28px rgba(30,140,58,.1);
  transform: translateY(-2px);
}
.aktuelles-badge {
  display: inline-block;
  background: var(--green-light);
  color: var(--green-dark);
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 12px;
}
.aktuelles-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}
.aktuelles-card p {
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── Theoriezeiten Fixbox (Frontend) ── */
.theoriezeiten-box {
  max-width: 780px;
  margin: 0 auto 48px;
  background: var(--dark);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  position: relative;
  overflow: hidden;
}
.theoriezeiten-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--green);
}
.theoriezeiten-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
  background: rgba(255,255,255,.08);
  width: 48px; height: 48px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.theoriezeiten-text {
  color: rgba(255,255,255,.9);
  font-size: 1rem;
  line-height: 1.7;
  padding-top: 4px;
}
.theoriezeiten-text strong {
  color: var(--white);
}

/* ── Admin: Hintergründe-Liste ── */
.hz-bg-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 780px;
  margin-bottom: 24px;
}
.hz-bg-row {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 12px 16px;
}
.hz-bg-thumb {
  width: 90px;
  height: 56px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
  background: #eee;
}
.hz-bg-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hz-bg-info { flex: 1; min-width: 0; }
.hz-bg-label { font-weight: 600; font-size: .92rem; color: #222; }
.hz-bg-status { font-size: .78rem; color: #888; margin-top: 2px; }
.hz-bg-actions { display: flex; gap: 8px; flex-shrink: 0; }

/* ── Kontaktkanäle ── */
.kontakt-channels {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto 40px;
}
.kontakt-channel-card {
  background: var(--white);
  border: 1.5px solid rgba(0,0,0,.08);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: box-shadow .25s, border-color .25s, transform .25s;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.kontakt-channel-card:hover {
  box-shadow: 0 10px 32px rgba(30,140,58,.14);
  border-color: rgba(30,140,58,.3);
  transform: translateY(-3px);
}
.kontakt-channel-icon {
  width: 56px; height: 56px;
  background: var(--green-light);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 18px;
}
.kontakt-channel-card h3 {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}
.kontakt-channel-card p {
  font-size: .88rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 16px;
  word-break: break-word;
}
.kontakt-channel-cta {
  font-size: .82rem;
  font-weight: 600;
  color: var(--green);
  margin-top: auto;
}

/* ── Kontakt Öffnungszeiten ── */
.kontakt-oeffnung {
  max-width: 420px;
  margin: 0 auto;
  background: var(--white);
  border: 1.5px solid rgba(0,0,0,.08);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
}
.kontakt-oeffnung-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--green);
  margin-bottom: 14px;
}
.kontakt-oeffnung-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 0;
  border-bottom: 1px solid rgba(0,0,0,.05);
  font-size: .9rem;
}
.kontakt-oeffnung-row:last-child { border-bottom: none; }
.kontakt-oeffnung-row span:first-child { color: var(--text-muted); }
.kontakt-oeffnung-row span:last-child { color: var(--text); font-weight: 600; }

/* ── BKF Impressionen-Galerie (kompaktes Raster) ── */
.bkf-galerie-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 14px;
  max-width: 880px;
  margin: 0 auto;
}
.bkf-galerie-item {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: 10px;
  overflow: hidden;
  background: var(--dark);
}
.bkf-galerie-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s;
}
.bkf-galerie-item:hover img { transform: scale(1.06); }
.bkf-galerie-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 10px 12px;
  background: linear-gradient(transparent, rgba(0,0,0,.78));
  color: var(--white);
  font-size: .76rem;
  font-weight: 500;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .25s, transform .25s;
}
.bkf-galerie-item:hover .bkf-galerie-caption {
  opacity: 1;
  transform: translateY(0);
}
@media (max-width: 640px) {
  .bkf-galerie-grid { grid-template-columns: repeat(2, 1fr); }
}
