/* ============================================
   Z+ DESIGN SYSTEM
   Berufsbildung Zeichner:innen Aargau
   ============================================ */

* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Brand colors */
  --zg: #c7cc10;
  --zg80: #d2d640;
  --zg60: #dde166;
  --zg40: #e9eb99;
  --zg20: #f3f4d3;
  --zg10: #f9fae9;

  --za: #384649;
  --za80: #607073;
  --za60: #8a9d9f;
  --za40: #b4c2c3;
  --za20: #e8eaeb;
  --za10: #f4f5f5;

  --zs: #111111;
  --w: #ffffff;
  --bg: #f2f2f0;

  --rfull: 999px;

  /* Font: DINosaur (Type-Ø-Tones) — 3 Schnitte lizenziert (Book/Bold/Black), lokal gehostet */
  --font: 'DINosaur', sans-serif;
}

/* DINosaur — Web-Lizenz Type-Ø-Tones via MyFonts (siehe brand/fonts/dinosaur/_LICENSE-myfonts.css) */
@font-face {
  font-family: 'DINosaur';
  src: url('../fonts/DINosaur-Book.woff2') format('woff2'),
       url('../fonts/DINosaur-Book.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'DINosaur';
  src: url('../fonts/DINosaur-Bold.woff2') format('woff2'),
       url('../fonts/DINosaur-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'DINosaur';
  src: url('../fonts/DINosaur-Black.woff2') format('woff2'),
       url('../fonts/DINosaur-Black.woff') format('woff');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--w); color: var(--zs); overflow-x: hidden; }

/* ============================================
   45° DESIGN ELEMENT — single-corner clip-paths
   The "+" in the Z+ logo is cut diagonally at 45°.
   This motif repeats across cards, images, buttons.
   IMPORTANT: clip only ONE corner per element — looks
   too mechanical with multiple corners cut.
   ============================================ */
.clip-tr { clip-path: polygon(0 0, calc(100% - 32px) 0, 100% 32px, 100% 100%, 0 100%); }
.clip-br { clip-path: polygon(0 0, 100% 0, 100% calc(100% - 32px), calc(100% - 32px) 100%, 0 100%); }
.clip-tl { clip-path: polygon(32px 0, 100% 0, 100% 100%, 0 100%, 0 32px); }
.clip-bl { clip-path: polygon(0 0, 100% 0, 100% 100%, 32px 100%, 0 calc(100% - 32px)); }

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: sticky; top: 0; z-index: 200;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0,0,0,0.07);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px; height: 90px;
}
.nav-logo { display: flex; align-items: center; }
.nav-logo img { height: 60px; display: block; }
.nav-links { display: flex; gap: 36px; list-style: none; }
.nav-links a {
  color: var(--zs); text-decoration: none; font-size: 16px; font-weight: 700;
  padding-bottom: 3px; border-bottom: 2.5px solid transparent; transition: border-color .2s;
}
.nav-links a:hover, .nav-links a.active { border-bottom-color: var(--zg); }

/* Dropdown-Menü in Navigation */
.nav-links li.has-dropdown { position: relative; }
/* Unsichtbare Hover-Brücke über den 8px Gap zwischen Trigger und Dropdown —
   verhindert dass das Menü verschwindet, wenn die Maus zum Dropdown wandert */
.nav-links li.has-dropdown::before {
  content: '';
  position: absolute;
  top: 100%;
  left: -10px; right: -10px;
  height: 16px;
}
.has-dropdown > a {
  display: inline-flex; align-items: center; gap: 5px;
}
.has-dropdown > a::after {
  content: '';
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  margin-top: 2px;
  transition: transform .25s;
}
.has-dropdown:hover > a::after,
.has-dropdown:focus-within > a::after { transform: rotate(180deg); }

.nav-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: var(--w);
  border: 1px solid var(--za20);
  border-radius: 14px;
  padding: 10px;
  min-width: 280px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.10);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s ease-out, transform .25s ease-out, visibility 0s linear .25s;
  z-index: 100;
}
.has-dropdown:hover .nav-dropdown,
.has-dropdown:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
  transition: opacity .25s ease-out, transform .25s ease-out, visibility 0s linear 0s;
}
.nav-dropdown::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px; height: 12px;
  background: var(--w);
  border-left: 1px solid var(--za20);
  border-top: 1px solid var(--za20);
}
.nav-dropdown a {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  border-bottom: none;
  text-decoration: none;
  align-items: flex-start;
  transition: background .15s;
}
.nav-dropdown a:hover {
  background: var(--zg20);
  border-bottom: none;
}
.nav-dropdown-tag {
  background: var(--zg);
  color: var(--zs);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  padding: 5px 8px;
  border-radius: var(--rfull);
  align-self: center;
  line-height: 1;
}
.nav-dropdown a.zfi-link .nav-dropdown-tag {
  background: var(--za);
  color: var(--w);
}
.nav-dropdown-text strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--zs);
  margin-bottom: 2px;
}
.nav-dropdown-text small {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: var(--za60);
  letter-spacing: 0;
  text-transform: none;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative; min-height: 600px; overflow: hidden;
  background: #eeeeec; display: flex; align-items: center;
}
.hero-photo {
  position: absolute; right: 0; top: 0; width: 58%; height: 100%;
  object-fit: cover; opacity: 0.5;
  clip-path: polygon(80px 0, 100% 0, 100% 100%, 0 100%);
}
.hero-fade {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to right, #eeeeec 32%, rgba(238,238,236,0) 62%);
}
.hero-zbg {
  position: absolute; right: -2%; top: 50%;
  z-index: 2; pointer-events: none;
  animation: heroZ 14s ease-in-out infinite;
  transform-origin: center center;
  will-change: transform, opacity;
}
.hero-zbg img {
  width: 720px; display: block;
  filter: drop-shadow(0 18px 40px rgba(199, 204, 16, 0.08));
}
@keyframes heroZ {
  0% {
    transform: translateY(-50%) rotate(-3deg) scale(1);
    opacity: 0.12;
  }
  25% {
    transform: translateY(calc(-50% - 18px)) rotate(-0.5deg) scale(1.04);
    opacity: 0.18;
  }
  50% {
    transform: translateY(calc(-50% - 8px)) rotate(2deg) scale(1.07);
    opacity: 0.22;
  }
  75% {
    transform: translateY(calc(-50% + 12px)) rotate(0.5deg) scale(1.03);
    opacity: 0.16;
  }
  100% {
    transform: translateY(-50%) rotate(-3deg) scale(1);
    opacity: 0.12;
  }
}
.hero-content { position: relative; z-index: 3; padding: 80px 48px; }
.hero-title {
  font-size: 64px; font-weight: 700; line-height: 0.98;
  color: var(--zs); margin-bottom: 22px; letter-spacing: -.02em;
}
.hero-sub { font-size: 18px; font-weight: 400; color: var(--za); line-height: 1.5; margin-bottom: 38px; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }

.btn-zfa, .btn-zfi {
  font-size: 14px; font-weight: 700; padding: 13px 30px; border: none; cursor: pointer;
  border-radius: var(--rfull); transition: all .15s; text-decoration: none; display: inline-flex; align-items: center;
}
.btn-zfa { background: var(--zg); color: var(--zs); }
.btn-zfa:hover { background: #b8bc0e; transform: translateY(-1px); }
.btn-zfi { background: var(--za); color: var(--w); }
.btn-zfi:hover { opacity: .82; transform: translateY(-1px); }

/* ============================================
   AGENDA STRIP (homepage preview)
   ============================================ */
.agenda-strip { background: var(--zg); display: flex; align-items: stretch; overflow-x: auto; }
.agenda-strip-label {
  background: var(--za); color: var(--w);
  font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: 0 22px; display: flex; align-items: center; gap: 7px; white-space: nowrap; flex-shrink: 0;
}
.agenda-strip-label i { color: var(--zg); font-size: 15px; }
.agenda-strip-items { display: flex; flex: 1; }
.agenda-strip-item {
  display: flex; flex-direction: column; justify-content: center;
  padding: 13px 20px; border-right: 1px solid rgba(0,0,0,.1);
  cursor: pointer; transition: background .15s; min-width: 165px;
  text-decoration: none; color: inherit;
}
.agenda-strip-item:hover { background: rgba(0,0,0,.06); }
.agenda-strip-date { font-size: 11px; font-weight: 700; color: rgba(0,0,0,.45); letter-spacing: .04em; text-transform: uppercase; }
.agenda-strip-name { font-size: 14px; font-weight: 700; color: var(--zs); margin-top: 2px; }
.agenda-strip-badges { display: flex; gap: 4px; margin-top: 3px; flex-wrap: wrap; }
.strip-badge {
  font-size: 9px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 2px 7px; border-radius: var(--rfull);
}
.strip-badge.badge-zfa { background: rgba(0,0,0,.12); color: var(--zs); }
.strip-badge.badge-zfi { background: var(--za); color: var(--w); }
.agenda-strip-all {
  display: flex; align-items: center; padding: 0 20px;
  font-size: 12px; font-weight: 700; color: var(--zs); gap: 5px;
  white-space: nowrap; cursor: pointer; flex-shrink: 0; text-decoration: none;
}

/* ============================================
   SECTIONS — generic
   ============================================ */
.s { padding: 72px 48px; }
.eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .12em; color: var(--za60); text-transform: uppercase; margin-bottom: 10px; }
.s-title { font-size: 38px; font-weight: 700; color: var(--zs); margin-bottom: 32px; line-height: 1.1; letter-spacing: -.01em; }

/* ============================================
   QUICK ACCESS CARDS
   ============================================ */
.quick-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }
.qcard {
  background: var(--za10); padding: 26px 22px 22px; cursor: pointer;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 28px), calc(100% - 28px) 100%, 0 100%);
  transition: background .2s, transform .15s; text-decoration: none; display: block; color: var(--zs);
}
.qcard:hover { background: var(--zg20); transform: translateY(-2px); }
.qcard-icon { width: 44px; height: 44px; background: var(--w); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.qcard-icon i { font-size: 20px; color: var(--za); }
.qcard h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.qcard p { font-size: 13px; color: var(--za60); line-height: 1.5; }
.qcard-link { font-size: 13px; font-weight: 700; color: var(--za); letter-spacing: .04em; text-transform: uppercase; margin-top: 14px; display: flex; align-items: center; gap: 4px; }

/* ============================================
   BERUFSBILDER (split cards)
   ============================================ */
.berufe { display: grid; grid-template-columns: 1fr 1fr; }
.bcard {
  position: relative; overflow: hidden; min-height: 400px;
  display: flex; flex-direction: column; justify-content: flex-end; padding: 36px;
  cursor: pointer; text-decoration: none; color: inherit;
}
.bcard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bcard::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.85) 0%, rgba(0,0,0,0) 60%); }
.bcard.left { clip-path: polygon(0 0, calc(100% - 40px) 0, 100% 40px, 100% 100%, 0 100%); }
.bcard.right { clip-path: polygon(40px 0, 100% 0, 100% 100%, 0 100%, 0 40px); }
.bcard-content { position: relative; z-index: 1; }
.bcard-tag {
  display: inline-block; background: var(--zg); color: var(--zs);
  font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: 4px 12px; border-radius: var(--rfull); margin-bottom: 12px;
}
.bcard-title { font-size: 26px; font-weight: 700; color: var(--w); margin-bottom: 8px; line-height: 1.15; }
.bcard-sub { font-size: 14px; color: rgba(255,255,255,.65); margin-bottom: 20px; line-height: 1.5; }
.bcard-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--w); color: var(--zs); font-size: 13px; font-weight: 700;
  padding: 10px 22px; border: none; cursor: pointer; border-radius: var(--rfull); transition: background .2s;
}
.bcard:hover .bcard-btn { background: var(--zg); }

/* ============================================
   ÜK CARDS (anthracite on lime)
   ============================================ */
.uek-s { background: var(--zg); padding: 72px 48px; }
.uek-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.uek-card {
  background: var(--za); padding: 26px 26px 24px; cursor: pointer;
  transition: opacity .2s, transform .15s;
  clip-path: polygon(0 0, calc(100% - 32px) 0, 100% 32px, 100% 100%, 0 100%);
  text-decoration: none; display: block;
}
.uek-card:hover { opacity: .88; transform: translateY(-2px); }
.uek-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 14px; }
.uek-tag { font-size: 13px; font-weight: 700; color: var(--zg); letter-spacing: .04em; margin-bottom: 2px; }
.uek-name { font-size: 22px; font-weight: 700; color: var(--w); }
.uek-cal {
  width: 38px; height: 38px; border: 1.5px solid var(--zg); border-radius: 10px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.uek-cal i { font-size: 18px; color: var(--zg); }
.uek-date { font-size: 14px; font-weight: 700; color: var(--w); margin-bottom: 4px; }
.uek-desc { font-size: 12px; color: rgba(255,255,255,.5); line-height: 1.5; }

/* ============================================
   NEWS — 3-card grid
   ============================================ */
.news-s { background: var(--w); padding: 72px 48px; }
.news-header { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-bottom: 48px; align-items: end; }
.news-hl { width: 64px; height: 3px; background: var(--zg); margin-top: 12px; }
.news-header-right p, .news-header p { font-size: 15px; color: var(--za); line-height: 1.65; }
.news-grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.news-card { cursor: pointer; transition: transform .2s; text-decoration: none; color: inherit; display: block; }
.news-card:hover { transform: translateY(-3px); }
.news-img-wrap { position: relative; overflow: hidden; margin-bottom: 16px; }
.news-img {
  width: 100%; height: 220px; object-fit: cover; display: block;
  clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 0 100%);
}
.news-arrow {
  position: absolute; bottom: 12px; right: 12px; width: 40px; height: 40px;
  background: var(--w); border-radius: 50%; display: flex; align-items: center; justify-content: center;
}
.news-arrow i { font-size: 16px; color: var(--zs); }
.news-cat {
  display: inline-block; background: var(--zg20); color: var(--za);
  font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 3px 10px; border-radius: var(--rfull); margin-bottom: 10px;
}
.news-date { font-size: 13px; color: var(--za60); margin-bottom: 6px; }
.news-title { font-size: 18px; font-weight: 700; line-height: 1.25; margin-bottom: 8px; }
.news-text { font-size: 13px; color: var(--za); line-height: 1.6; }
.news-link { display: inline-flex; align-items: center; gap: 4px; margin-top: 12px; font-size: 13px; font-weight: 700; color: var(--za); letter-spacing: .04em; text-transform: uppercase; }

/* ============================================
   MARKTPLATZ TEASER
   ============================================ */
.markt-s { background: var(--bg); padding: 72px 48px; }
.markt-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.markt-text p { font-size: 16px; color: var(--za); line-height: 1.65; margin-bottom: 28px; max-width: 400px; }
.markt-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mcard {
  background: var(--w); padding: 18px 16px; border-left: 3.5px solid var(--zg);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%);
}
.mcard h4 { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.mcard p { font-size: 12px; color: var(--za60); line-height: 1.45; }

/* ============================================
   VEREIN
   ============================================ */
.verein-s { background: var(--w); padding: 72px 48px; }
.verein-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.verein-text p { font-size: 15px; color: var(--za); line-height: 1.65; margin-bottom: 28px; }
.stats { display: flex; gap: 32px; margin-bottom: 28px; }
.stat-n { font-size: 40px; font-weight: 700; color: var(--zs); line-height: 1; }
.stat-n span { color: var(--zg); }
.stat-l { font-size: 13px; color: var(--za60); margin-top: 4px; font-weight: 700; }
.verein-img img {
  width: 100%; height: 320px; object-fit: cover;
  clip-path: polygon(32px 0, 100% 0, 100% 100%, 0 100%, 0 32px);
}

/* ============================================
   GALERIE
   ============================================ */
.galerie-s { background: var(--za); padding: 72px 48px; }
.galerie-s .eyebrow { color: var(--zg); }
.galerie-s .s-title { color: var(--w); }
.gal-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.gal-item {
  position: relative; aspect-ratio: 16/10; overflow: hidden; cursor: pointer;
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 0 100%);
  text-decoration: none; display: block;
}
.gal-item img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(15%); transition: filter .35s, transform .4s; }
.gal-item:hover img { filter: grayscale(0%); transform: scale(1.05); }
.gal-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(0,0,0,.78), transparent);
  padding: 22px 16px 14px; color: var(--w); font-size: 13px; font-weight: 700;
}
.gal-overlay span { display: block; font-size: 11px; font-weight: 400; color: rgba(255,255,255,.55); margin-top: 2px; }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--za20);
  padding: 56px 48px 28px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1.2fr 1.2fr 1fr;
  gap: 40px;
  max-width: 1280px;
  margin: 0 auto 36px;
}
.footer-col h4 {
  font-size: 11px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--za60);
  margin-bottom: 14px;
}
.footer-brand img { height: 56px; display: block; margin-bottom: 32px; }
.footer-brand p {
  font-size: 14px; line-height: 1.55; color: var(--za);
  max-width: 240px;
}
.footer-col address,
.footer-col .footer-contact {
  font-style: normal; font-size: 14px; line-height: 1.7; color: var(--za);
}
.footer-col a {
  color: var(--za); text-decoration: none;
  transition: color .2s;
}
.footer-col a:hover { color: var(--zg); }
.footer-links {
  display: flex; flex-direction: column;
  gap: 10px;
  list-style: none;
}
.footer-links a {
  color: var(--za);
  font-size: 15px; font-weight: 700;
  text-decoration: none;
  transition: color .2s;
}
.footer-links a:hover { color: var(--zg); }
.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid var(--za20);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
}
.footer-copy { font-size: 13px; color: var(--za60); }
.footer-bottom-links {
  display: flex; gap: 22px; list-style: none;
}
.footer-bottom-links a {
  font-size: 13px; color: var(--za60); text-decoration: none;
}
.footer-bottom-links a:hover { color: var(--za); }

/* ============================================
   PAGE HERO (subpages: ÜK, QV, etc.)
   ============================================ */
.page-hero {
  position: relative;
  background: #eeeeec;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: 420px;
  padding: 0 48px;
}
/* Bild-/Slideshow-Bereich rechts mit 45°-Schnitt links — wie Startseite-Hero */
.page-hero-slideshow,
.page-hero-photo {
  position: absolute;
  right: 0;
  top: 0;
  width: 58%;
  height: 100%;
  clip-path: polygon(80px 0, 100% 0, 100% 100%, 0 100%);
}
.page-hero-photo {
  object-fit: cover;
  opacity: 0.5;
}
.page-hero-fade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to right, #eeeeec 32%, rgba(238,238,236,0) 62%);
  pointer-events: none;
}
.page-hero-zbg {
  position: absolute;
  right: -2%;
  top: 50%;
  z-index: 2;
  pointer-events: none;
  animation: pageHeroZ 14s ease-in-out infinite;
  transform-origin: center center;
}
.page-hero-zbg img {
  width: 540px;
  display: block;
  filter: drop-shadow(0 14px 32px rgba(199, 204, 16, 0.07));
}
@keyframes pageHeroZ {
  0% {
    transform: translateY(-50%) rotate(-3deg) scale(1);
    opacity: 0.11;
  }
  25% {
    transform: translateY(calc(-50% - 12px)) rotate(-0.5deg) scale(1.03);
    opacity: 0.16;
  }
  50% {
    transform: translateY(calc(-50% - 6px)) rotate(2deg) scale(1.05);
    opacity: 0.20;
  }
  75% {
    transform: translateY(calc(-50% + 8px)) rotate(0.5deg) scale(1.02);
    opacity: 0.14;
  }
  100% {
    transform: translateY(-50%) rotate(-3deg) scale(1);
    opacity: 0.11;
  }
}
.page-hero-content {
  position: relative;
  z-index: 3;
  padding: 56px 0;
  max-width: 540px;
}
.page-hero-image {
  position: relative; z-index: 1;
  width: 100%; height: 340px;
  overflow: hidden;
  clip-path: polygon(0 0, calc(100% - 48px) 0, 100% 48px, 100% 100%, 0 100%);
}
.page-hero-image img {
  width: 100%; height: 100%; object-fit: cover;
  display: block;
}

/* Z+ Art — ruhige Variante für Seiten ohne Foto (z.B. Kontakt) */
.page-hero-zplus-art {
  position: relative; z-index: 1;
  width: 100%; height: 340px;
  display: flex; align-items: center; justify-content: center;
}
.zplus-main {
  width: 300px; height: 242px;
  display: flex; align-items: center; justify-content: center;
  animation: zplusFloat 9s ease-in-out infinite;
}
.zplus-main img {
  width: 100%; height: 100%; object-fit: contain;
  filter: drop-shadow(0 16px 32px rgba(56, 70, 73, 0.10));
}
@keyframes zplusFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}
/* hide the small "page-hero-zbg" decoration on pages that use the art */
.page-hero:has(.page-hero-zplus-art) .page-hero-zbg { display: none; }
.breadcrumb { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--za60); margin-bottom: 16px; }
.breadcrumb a { color: var(--za60); text-decoration: none; }
.page-title { font-size: 50px; font-weight: 700; line-height: 1.0; letter-spacing: -.02em; margin-bottom: 14px; }
.page-title span { color: var(--zg); }
.page-sub { font-size: 16px; color: var(--za); line-height: 1.55; margin-bottom: 28px; max-width: 420px; }
.tab-btns { display: flex; gap: 10px; }
.tab-btn {
  padding: 11px 24px; border-radius: var(--rfull); font-size: 14px; font-weight: 700;
  border: none; cursor: pointer; transition: all .2s; text-decoration: none; display: inline-flex; align-items: center;
}
.tab-btn.zfa { background: var(--zg); color: var(--zs); }
.tab-btn.zfi { background: var(--za); color: var(--w); }
.tab-btn:hover { opacity: .85; transform: translateY(-1px); }

/* Anchor sub-navigation on subpages */
.anchor-nav { background: var(--zg); padding: 0 48px; display: flex; align-items: stretch; gap: 0; overflow-x: auto; }
.anchor-tab {
  padding: 17px 26px; cursor: pointer; font-size: 14px; font-weight: 700;
  color: rgba(0,0,0,.5); border-bottom: 3px solid transparent;
  transition: color .2s, border-color .2s; white-space: nowrap; text-decoration: none; display: inline-flex; align-items: center;
}
.anchor-tab:hover { color: var(--zs); }
.anchor-tab.active { color: var(--zs); border-bottom-color: var(--za); }

/* ============================================
   KONTAKT-SEITE
   ============================================ */
.kontakt-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
}
.kontakt-info {
  background: var(--w);
  border: 1px solid var(--za20);
  border-radius: 18px;
  padding: 36px;
  clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 0 100%);
}
.kontakt-info h3 {
  font-size: 11px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--za60);
  margin-bottom: 14px;
}
.kontakt-info h3:not(:first-of-type) { margin-top: 28px; }
.kontakt-info-line {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 15px; line-height: 1.55; color: var(--zs);
  margin-bottom: 6px;
}
.kontakt-info-line i {
  font-size: 18px; color: var(--zg);
  margin-top: 2px; flex-shrink: 0;
}
.kontakt-info-line a { color: var(--zs); text-decoration: none; transition: color .2s; }
.kontakt-info-line a:hover { color: var(--zg); }

.kontakt-form {
  background: var(--za10);
  border-radius: 18px;
  padding: 40px;
  clip-path: polygon(28px 0, 100% 0, 100% 100%, 0 100%, 0 28px);
}
.kontakt-form h2 {
  font-size: 26px; font-weight: 700;
  color: var(--zs);
  margin-bottom: 8px;
  line-height: 1.2;
}
.kontakt-form-sub {
  font-size: 15px; color: var(--za);
  margin-bottom: 28px;
}
.form-row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-group label {
  font-size: 12px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--za60);
}
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--w);
  border: 1.5px solid var(--za20);
  border-radius: 10px;
  padding: 14px 16px;
  font-family: var(--font);
  font-size: 15px;
  color: var(--zs);
  transition: border-color .2s, box-shadow .2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--zg);
  box-shadow: 0 0 0 4px rgba(199, 204, 16, 0.15);
}
.form-group textarea { resize: vertical; min-height: 140px; }
.form-checkbox {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13px; color: var(--za); line-height: 1.5;
  margin-bottom: 22px;
}
.form-checkbox input { margin-top: 3px; flex-shrink: 0; }
.form-checkbox a { color: var(--za); }
.btn-submit {
  background: var(--zg);
  color: var(--zs);
  border: none;
  border-radius: var(--rfull);
  padding: 15px 32px;
  font-family: var(--font);
  font-size: 15px; font-weight: 700;
  cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
  transition: transform .15s, box-shadow .2s;
}
.btn-submit:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(199, 204, 16, 0.3); }
.form-success {
  display: none;
  background: var(--zg20);
  border: 1.5px solid var(--zg);
  border-radius: 12px;
  padding: 20px;
  margin-top: 20px;
  color: var(--zs);
  font-size: 14px;
  align-items: center; gap: 12px;
}
.form-success.show { display: flex; }
.form-success i { font-size: 22px; color: var(--zg); }

/* ============================================
   ÜK / QV SEITEN — gemeinsame Bausteine
   ============================================ */
.lead {
  max-width: 760px;
  font-size: 20px; line-height: 1.6;
  color: var(--za);
  font-weight: 400;
  margin-bottom: 12px;
}

/* Page-Hero Slideshow — als Hintergrundbild im Startseite-Stil */
.page-hero-slideshow .slide {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  animation: heroSlideshow 24s infinite;
}
.page-hero-slideshow .slide:nth-child(1) { animation-delay: 0s; }
.page-hero-slideshow .slide:nth-child(2) { animation-delay: 6s; }
.page-hero-slideshow .slide:nth-child(3) { animation-delay: 12s; }
.page-hero-slideshow .slide:nth-child(4) { animation-delay: 18s; }
@keyframes heroSlideshow {
  0%, 23%, 100% { opacity: 0; }
  4%, 21%       { opacity: 0.55; }
}

/* Schnellzugriff (direkt nach Lead) */
.quick-jump {
  display: flex; gap: 14px; flex-wrap: wrap; align-items: center;
  margin-top: 24px;
  padding: 22px 28px;
  background: var(--za10);
  border-radius: 16px;
  border-left: 4px solid var(--zg);
}
.quick-jump-label {
  font-size: 11px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--za60);
  margin-right: 4px;
}
.quick-jump-btn {
  background: var(--zg);
  color: var(--zs);
  border-radius: var(--rfull);
  padding: 12px 24px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
  transition: transform .15s, box-shadow .2s;
}
.quick-jump-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(199, 204, 16, 0.3);
}
.quick-jump-btn.zfi {
  background: var(--za);
  color: var(--w);
}
.quick-jump-btn.zfi:hover { box-shadow: 0 6px 18px rgba(56, 70, 73, 0.25); }
.quick-jump-btn i { font-size: 16px; }

/* Ausbildungsphasen — 3 Karten mit Hover, statische Verbindungslinie oben */
.phasen-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 56px;
  position: relative;
  padding-top: 44px;
}
/* Hintergrund-Linie über alle 3 Phasen */
.phasen-steps::before {
  content: '';
  position: absolute;
  top: 32px;
  left: calc(100% / 6);
  right: calc(100% / 6);
  height: 3px;
  background: var(--za20);
  border-radius: var(--rfull);
  z-index: 0;
}
.phasen-step {
  position: relative;
  background: var(--w);
  border: 1.5px solid var(--za20);
  border-radius: 18px;
  padding: 44px 30px 30px;
  transition: transform .35s cubic-bezier(.4, 0, .2, 1),
              border-color .35s,
              box-shadow .35s;
  display: flex;
  flex-direction: column;
}
.phasen-step:hover {
  transform: translateY(-8px);
  border-color: var(--zg);
  box-shadow: 0 20px 44px rgba(56, 70, 73, 0.10);
}
.step-number {
  position: absolute;
  top: -32px;
  left: 50%;
  transform: translateX(-50%);
  width: 64px; height: 64px;
  background: var(--w);
  border: 3px solid var(--za20);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  font-weight: 700;
  color: var(--za60);
  z-index: 2;
  transition: background .35s cubic-bezier(.4, 0, .2, 1),
              border-color .35s,
              color .35s,
              transform .35s cubic-bezier(.4, 0, .2, 1),
              box-shadow .35s;
}
.phasen-step:hover .step-number {
  background: var(--zg);
  border-color: var(--zg);
  color: var(--zs);
  transform: translateX(-50%) scale(1.15);
  box-shadow: 0 10px 28px rgba(199, 204, 16, 0.45),
              0 0 0 8px rgba(199, 204, 16, 0.12);
}
.step-semester {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--zg);
  margin-bottom: 10px;
}
.step-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--zs);
  margin-bottom: 14px;
  line-height: 1.2;
}
.step-text {
  font-size: 15px;
  line-height: 1.65;
  color: var(--za);
  flex: 1;
  margin-bottom: 18px;
}
.step-uek-tag {
  display: inline-block;
  align-self: flex-start;
  padding: 5px 12px;
  background: var(--zg20);
  color: var(--zs);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  border-radius: var(--rfull);
  transition: background .35s, color .35s;
}
.phasen-step:hover .step-uek-tag {
  background: var(--zg);
  color: var(--zs);
}

/* QV-Qualifikationsbereiche — 4 Karten */
.quali-areas {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 36px;
}
.quali-area {
  background: var(--w);
  border: 1.5px solid var(--za20);
  border-radius: 18px;
  padding: 28px 24px;
  transition: transform .35s cubic-bezier(.4, 0, .2, 1),
              border-color .35s,
              box-shadow .35s;
  display: flex;
  flex-direction: column;
}
.quali-area:hover {
  transform: translateY(-6px);
  border-color: var(--zg);
  box-shadow: 0 16px 36px rgba(56, 70, 73, 0.08);
}
.quali-area-num {
  font-size: 38px;
  font-weight: 700;
  color: var(--zg);
  line-height: 1;
  margin-bottom: 14px;
  font-feature-settings: "tnum";
}
.quali-area-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--za60);
  margin-bottom: 8px;
}
.quali-area h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--zs);
  margin-bottom: 10px;
  line-height: 1.25;
}
.quali-area p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--za);
  flex: 1;
  margin-bottom: 16px;
}
.quali-area-meta {
  padding-top: 14px;
  border-top: 1px solid var(--za20);
  display: flex; gap: 6px; flex-wrap: wrap;
}
.quali-area-meta span {
  background: var(--zg20);
  color: var(--zs);
  padding: 5px 11px;
  border-radius: var(--rfull);
  font-size: 12px;
  font-weight: 700;
}

/* Bestehens-Highlight-Box */
.passing-rule {
  background: linear-gradient(135deg, var(--zg) 0%, #d4d92a 100%);
  color: var(--zs);
  border-radius: 22px;
  padding: 36px 44px;
  margin-top: 8px;
  display: flex; align-items: center; gap: 28px;
  clip-path: polygon(0 0, calc(100% - 40px) 0, 100% 40px, 100% 100%, 0 100%);
}
.passing-rule-icon {
  font-size: 72px;
  color: var(--zs);
  flex-shrink: 0;
  line-height: 1;
}
.passing-rule-content { flex: 1; }
.passing-rule-content h3 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--zs);
  line-height: 1.2;
}
.passing-rule-content p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--zs);
}
.passing-rule-content strong {
  background: rgba(0, 0, 0, 0.14);
  padding: 2px 9px;
  border-radius: 6px;
  font-weight: 700;
  white-space: nowrap;
}

/* ============================================
   BERUFSBILD-SEITEN — für Berufsinteressierte
   ============================================ */

/* Hero für Berufsbild — höher als normale Page-Hero (60vh, mit grossem Foto) */
.bb-hero {
  position: relative;
  min-height: 540px;
  overflow: hidden;
  background: var(--zs);
  display: flex; align-items: flex-end;
  padding: 0 48px 64px;
}
.bb-hero-photo {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.55;
}
.bb-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.4) 60%, rgba(0,0,0,0.2) 100%);
  z-index: 1;
}
.bb-hero-content {
  position: relative; z-index: 2;
  max-width: 720px;
  color: var(--w);
}
.bb-hero-breadcrumb {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; color: rgba(255,255,255,.65); margin-bottom: 20px;
}
.bb-hero-breadcrumb a { color: rgba(255,255,255,.65); text-decoration: none; }
.bb-hero-breadcrumb a:hover { color: var(--zg); }
.bb-hero-eyebrow {
  display: inline-block;
  background: var(--zg);
  color: var(--zs);
  font-size: 11px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  padding: 7px 14px;
  border-radius: var(--rfull);
  margin-bottom: 22px;
}
.bb-hero-title {
  font-size: 68px; font-weight: 700;
  line-height: 1.0; letter-spacing: -.02em;
  margin-bottom: 18px;
  color: var(--w);
}
.bb-hero-hook {
  font-size: 22px; line-height: 1.4;
  color: rgba(255,255,255,.88);
  max-width: 580px;
  margin-bottom: 28px;
}
.bb-hero-meta {
  display: flex; gap: 24px; flex-wrap: wrap;
}
.bb-hero-meta-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 700;
  color: var(--w);
}
.bb-hero-meta-item i { color: var(--zg); font-size: 20px; }

/* Lead-Sektion */
.bb-lead-section {
  padding: 80px 48px 40px;
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}
.bb-lead-section .eyebrow { display: inline-block; margin-bottom: 14px; }
.bb-lead-section h2 {
  font-size: 36px; font-weight: 700;
  color: var(--zs); margin-bottom: 18px;
  line-height: 1.15;
}
.bb-lead-section p {
  font-size: 19px; line-height: 1.65; color: var(--za);
  max-width: 720px; margin: 0 auto;
}

/* Aktivitäten-Grid (Arbeitsalltag) */
.bb-activities {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 30px;
}
.bb-activity {
  background: var(--w);
  border: 1.5px solid var(--za20);
  border-radius: 18px;
  padding: 30px 26px;
  transition: transform .3s, border-color .3s, box-shadow .3s;
  position: relative;
  overflow: hidden;
}
.bb-activity:hover {
  transform: translateY(-6px);
  border-color: var(--zg);
  box-shadow: 0 14px 32px rgba(56, 70, 73, 0.08);
}
.bb-activity-icon {
  width: 56px; height: 56px;
  background: var(--zg20);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  color: var(--zs);
  font-size: 28px;
  margin-bottom: 18px;
  transition: background .3s, color .3s;
}
.bb-activity:hover .bb-activity-icon {
  background: var(--zg);
}
.bb-activity h3 {
  font-size: 18px; font-weight: 700;
  margin-bottom: 8px;
  color: var(--zs);
}
.bb-activity p {
  font-size: 14px; line-height: 1.55;
  color: var(--za);
}

/* YouTube Lite-Embed */
.bb-video-section {
  position: relative;
  background: var(--za);
  padding: 80px 48px;
  margin: 60px 0;
}
.bb-video-inner {
  max-width: 980px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1.2fr;
  gap: 48px; align-items: center;
}
.bb-video-text { color: var(--w); }
.bb-video-text .eyebrow { color: var(--zg); }
.bb-video-text h2 {
  font-size: 36px; font-weight: 700;
  line-height: 1.15;
  margin-bottom: 14px;
  color: var(--w);
}
.bb-video-text p {
  font-size: 17px; line-height: 1.6;
  color: rgba(255,255,255,.78);
}
.yt-lite {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  background: #000;
  clip-path: polygon(28px 0, 100% 0, 100% 100%, 0 100%, 0 28px);
}
.yt-lite img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s, filter .3s;
}
.yt-lite:hover img {
  transform: scale(1.04);
  filter: brightness(0.85);
}
.yt-play {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 88px; height: 88px;
  background: var(--zg);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--zs);
  font-size: 38px;
  transition: transform .3s, box-shadow .3s;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4);
}
.yt-lite:hover .yt-play {
  transform: translate(-50%, -50%) scale(1.08);
  box-shadow: 0 16px 36px rgba(199, 204, 16, 0.5);
}

/* Skills-Bubbles */
.bb-skills {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 30px;
}
.bb-skill {
  background: var(--za10);
  border-radius: 14px;
  padding: 22px 24px;
  display: flex; align-items: center; gap: 16px;
  transition: background .3s, transform .3s;
}
.bb-skill:hover {
  background: var(--zg20);
  transform: translateX(4px);
}
.bb-skill i {
  color: var(--zg);
  font-size: 28px;
  flex-shrink: 0;
}
.bb-skill-text strong {
  display: block;
  font-size: 15px; font-weight: 700;
  color: var(--zs);
}
.bb-skill-text small {
  display: block;
  font-size: 12px; color: var(--za60);
  margin-top: 2px;
}

/* "Passt das zu dir" — interaktive Persönlichkeits-Checkliste */
.bb-personality {
  background: var(--bg);
  border-radius: 22px;
  padding: 44px 48px;
  margin-top: 30px;
  clip-path: polygon(0 0, calc(100% - 36px) 0, 100% 36px, 100% 100%, 0 100%);
}
.bb-personality h3 {
  font-size: 26px; font-weight: 700;
  margin-bottom: 20px;
  color: var(--zs);
}
.bb-personality-list {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 12px 32px;
  margin-bottom: 24px;
}
.bb-personality-item {
  display: flex; align-items: center; gap: 14px;
  background: var(--w);
  border: 1.5px solid var(--za20);
  border-radius: 12px;
  padding: 14px 18px;
  font-size: 15px;
  color: var(--zs);
  cursor: pointer;
  transition: all .25s;
  user-select: none;
}
.bb-personality-item:hover {
  border-color: var(--zg);
  background: var(--zg10);
}
.bb-personality-item.checked {
  background: var(--zg);
  border-color: var(--zg);
  color: var(--zs);
  font-weight: 700;
}
.bb-personality-checkbox {
  width: 22px; height: 22px;
  border: 2px solid var(--za40);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: all .2s;
}
.bb-personality-item:hover .bb-personality-checkbox { border-color: var(--zg); }
.bb-personality-item.checked .bb-personality-checkbox {
  background: var(--zs); border-color: var(--zs);
}
.bb-personality-checkbox i { color: var(--zg); font-size: 16px; opacity: 0; transition: opacity .2s; }
.bb-personality-item.checked .bb-personality-checkbox i { opacity: 1; }
.bb-personality-result {
  font-size: 15px; color: var(--za);
  padding-top: 18px;
  border-top: 1px solid var(--za20);
  display: flex; align-items: center; gap: 10px;
}
.bb-personality-result strong { color: var(--zs); }

/* Berufsfakten in Zahlen */
.bb-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 30px;
}
.bb-fact {
  background: var(--w);
  border: 1.5px solid var(--za20);
  border-radius: 18px;
  padding: 32px 24px;
  text-align: center;
  transition: transform .3s, border-color .3s;
}
.bb-fact:hover {
  transform: translateY(-4px);
  border-color: var(--zg);
}
.bb-fact-number {
  font-size: 48px; font-weight: 700;
  color: var(--zg); line-height: 1;
  margin-bottom: 8px;
  font-feature-settings: "tnum";
}
.bb-fact-number small { font-size: 22px; font-weight: 700; color: var(--zs); margin-left: 8px; }
.bb-fact-label {
  font-size: 12px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--za60);
  margin-bottom: 4px;
}
.bb-fact-text {
  font-size: 14px;
  color: var(--za);
  line-height: 1.4;
}

/* Galerie Berufsbild */
.bb-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 30px;
}
.bb-gallery-item {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 0 100%);
}
.bb-gallery-item:nth-child(3n+2) {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 24px 100%, 0 calc(100% - 24px));
}
.bb-gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s;
}
.bb-gallery-item:hover img { transform: scale(1.06); }

/* Karriere-Pfade */
.bb-career {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  margin-top: 30px;
}
.bb-career-step {
  background: var(--w);
  border: 1.5px solid var(--za20);
  border-radius: 18px;
  padding: 28px 26px;
  position: relative;
  transition: transform .3s, border-color .3s;
}
.bb-career-step:hover {
  transform: translateY(-4px);
  border-color: var(--zg);
}
.bb-career-step-tag {
  display: inline-block;
  background: var(--zg);
  color: var(--zs);
  font-size: 11px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  padding: 5px 12px;
  border-radius: var(--rfull);
  margin-bottom: 14px;
}
.bb-career-step h4 {
  font-size: 17px; font-weight: 700;
  margin-bottom: 8px;
  color: var(--zs);
}
.bb-career-step p {
  font-size: 14px; line-height: 1.55;
  color: var(--za);
}

/* CTA-Box am Ende */
.bb-cta {
  background: linear-gradient(135deg, var(--zg) 0%, var(--zg80) 100%);
  border-radius: 22px;
  padding: 48px 56px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 28px; flex-wrap: wrap;
  margin-top: 40px;
  clip-path: polygon(0 0, calc(100% - 40px) 0, 100% 40px, 100% 100%, 0 100%);
}
.bb-cta-text h3 {
  font-size: 28px; font-weight: 700;
  color: var(--zs); margin-bottom: 8px;
  line-height: 1.2;
}
.bb-cta-text p {
  font-size: 16px;
  color: var(--zs);
  opacity: 0.85;
  max-width: 540px;
}
.bb-cta-btns {
  display: flex; gap: 12px; flex-wrap: wrap;
}
.bb-cta-btn {
  background: var(--zs);
  color: var(--w);
  border-radius: var(--rfull);
  padding: 14px 28px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
  transition: transform .15s, box-shadow .2s;
}
.bb-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}
.bb-cta-btn.outline {
  background: transparent;
  color: var(--zs);
  border: 2px solid var(--zs);
}

/* ============================================
   GALERIE-SEITE — Karten mit Google-Fotos-Link
   ============================================ */
.galerie-hint {
  background: var(--za10);
  border-left: 4px solid var(--zg);
  border-radius: 14px;
  padding: 22px 28px;
  display: flex; align-items: flex-start; gap: 16px;
  margin-top: 8px;
  margin-bottom: 8px;
}
.galerie-hint-icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  background: var(--zg);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--zs);
  font-size: 22px;
}
.galerie-hint-text strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--zs);
  margin-bottom: 4px;
}
.galerie-hint-text p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--za);
}

.galerie-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
}
.galerie-card {
  background: var(--w);
  border: 1px solid var(--za20);
  border-radius: 18px;
  overflow: hidden;
  display: flex; flex-direction: column;
  text-decoration: none;
  transition: transform .35s cubic-bezier(.4, 0, .2, 1),
              border-color .35s,
              box-shadow .35s;
}
.galerie-card:hover {
  transform: translateY(-6px);
  border-color: var(--zg);
  box-shadow: 0 20px 40px rgba(56, 70, 73, 0.10);
}
.galerie-card-image {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  clip-path: polygon(0 0, calc(100% - 32px) 0, 100% 32px, 100% 100%, 0 100%);
}
.galerie-card-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.2, 0, .2, 1);
}
.galerie-card:hover .galerie-card-image img {
  transform: scale(1.06);
}
.galerie-card-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0) 50%);
  opacity: 0;
  transition: opacity .3s;
}
.galerie-card:hover .galerie-card-image-overlay { opacity: 1; }
.galerie-card-google-badge {
  position: absolute;
  top: 16px; right: 16px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(6px);
  border-radius: var(--rfull);
  padding: 6px 12px 6px 9px;
  display: flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 700;
  color: var(--zs);
  z-index: 1;
}
.galerie-card-google-badge i { color: #4285F4; font-size: 14px; }

.galerie-card-body {
  padding: 24px 26px 26px;
  flex: 1;
  display: flex; flex-direction: column;
}
.galerie-card-meta {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 10px;
}
.galerie-card-eyebrow {
  display: inline-block;
  font-size: 10px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--zg);
  background: var(--zg20);
  padding: 4px 10px;
  border-radius: var(--rfull);
}
.galerie-card-eyebrow.berufsschau {
  background: var(--za10);
  color: var(--za);
}
.galerie-card-date {
  font-size: 12px; font-weight: 700;
  color: var(--za60);
}
.galerie-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--zs);
  margin-bottom: 10px;
  line-height: 1.25;
}
.galerie-card-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--za);
  flex: 1;
  margin-bottom: 18px;
}
.galerie-card-cta {
  display: inline-flex; align-items: center;
  gap: 8px;
  font-size: 13px; font-weight: 700;
  color: var(--zs);
  letter-spacing: .02em;
  padding-top: 14px;
  border-top: 1px solid var(--za20);
  transition: color .25s;
}
.galerie-card-cta i.external { font-size: 16px; color: var(--za60); margin-left: auto; transition: color .25s, transform .25s; }
.galerie-card:hover .galerie-card-cta { color: var(--zg); }
.galerie-card:hover .galerie-card-cta i.external {
  color: var(--zg);
  transform: translate(2px, -2px);
}

/* ============================================
   VEREIN-SEITE — Z+ Vorstand & Tätigkeiten
   ============================================ */

/* Tätigkeitsbereiche */
.taetigkeiten-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}
.taetigkeit-card {
  background: var(--w);
  border: 1.5px solid var(--za20);
  border-radius: 18px;
  padding: 32px 28px;
  transition: transform .35s cubic-bezier(.4, 0, .2, 1),
              border-color .35s,
              box-shadow .35s;
  display: flex; flex-direction: column;
}
.taetigkeit-card:hover {
  transform: translateY(-6px);
  border-color: var(--zg);
  box-shadow: 0 14px 32px rgba(56, 70, 73, 0.08);
}
.taetigkeit-icon {
  width: 60px; height: 60px;
  background: var(--zg20);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  color: var(--zs);
  font-size: 30px;
  margin-bottom: 22px;
  transition: background .3s;
}
.taetigkeit-card:hover .taetigkeit-icon { background: var(--zg); }
.taetigkeit-card h3 {
  font-size: 20px; font-weight: 700;
  color: var(--zs);
  margin-bottom: 12px;
}
.taetigkeit-card p {
  font-size: 15px; line-height: 1.6;
  color: var(--za);
  flex: 1;
}

/* Anlaufstelle-Block (Anja Kalbermatten) — personenzentriert */
.anlaufstelle {
  background: var(--za10);
  border-radius: 22px;
  padding: 44px 48px 36px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 36px;
  align-items: flex-start;
  margin-top: 30px;
  position: relative;
  overflow: hidden;
  clip-path: polygon(0 0, calc(100% - 40px) 0, 100% 40px, 100% 100%, 0 100%);
}
.anlaufstelle::before {
  content: '';
  position: absolute;
  bottom: -110px;
  right: -110px;
  width: 320px; height: 320px;
  background-image: url('../images/zplus-plus.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.22;
  pointer-events: none;
}
.anlaufstelle-avatar {
  width: 120px; height: 120px;
  background: var(--zg);
  color: var(--zs);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -.01em;
  flex-shrink: 0;
  box-shadow: 0 14px 32px rgba(199, 204, 16, 0.35);
  position: relative; z-index: 1;
}
.anlaufstelle-content {
  position: relative; z-index: 1;
  padding-top: 8px;
}
.anlaufstelle-name {
  font-size: 30px;
  font-weight: 700;
  color: var(--zs);
  margin-bottom: 4px;
  line-height: 1.15;
}
.anlaufstelle-role {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--zg);
  margin-bottom: 16px;
}
.anlaufstelle-desc {
  font-size: 16px;
  line-height: 1.6;
  color: var(--za);
  margin-bottom: 24px;
  max-width: 580px;
}
.anlaufstelle-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.anlaufstelle-action {
  background: var(--w);
  border: 1.5px solid var(--za20);
  border-radius: 14px;
  padding: 16px 22px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  font-weight: 700;
  color: var(--zs);
  transition: all .25s;
}
.anlaufstelle-action:hover {
  border-color: var(--zg);
  background: var(--zg);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(199, 204, 16, 0.3);
}
.anlaufstelle-action i {
  font-size: 24px;
  color: var(--zg);
  transition: color .25s;
}
.anlaufstelle-action:hover i { color: var(--zs); }
.anlaufstelle-action-text small {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--za60);
  margin-bottom: 4px;
  transition: color .25s;
}
.anlaufstelle-action:hover small { color: rgba(0, 0, 0, 0.55); }
.anlaufstelle-action-text span {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--zs);
}
.anlaufstelle-footnote {
  grid-column: 1 / -1;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--za20);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--za60);
  line-height: 1.5;
  position: relative; z-index: 1;
}
.anlaufstelle-footnote i {
  font-size: 20px;
  color: var(--za60);
  flex-shrink: 0;
}
.anlaufstelle-footnote strong { color: var(--za); font-weight: 700; }

/* Geschäftsstelle-Block (alt, ungenutzt) */
.geschaeftsstelle {
  background: var(--za10);
  border-radius: 22px;
  padding: 40px 44px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 36px;
  align-items: center;
  margin-top: 30px;
  clip-path: polygon(0 0, calc(100% - 36px) 0, 100% 36px, 100% 100%, 0 100%);
}
.geschaeftsstelle-icon {
  width: 96px; height: 96px;
  background: var(--zg);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--zs);
  font-size: 44px;
  flex-shrink: 0;
}
.geschaeftsstelle-content h3 {
  font-size: 22px; font-weight: 700;
  color: var(--zs);
  margin-bottom: 8px;
}
.geschaeftsstelle-content > p {
  font-size: 15px; line-height: 1.6;
  color: var(--za);
  margin-bottom: 16px;
}
.geschaeftsstelle-details {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 24px;
  align-items: center;
}
.geschaeftsstelle-detail {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; color: var(--zs);
  font-weight: 700;
}
.geschaeftsstelle-detail i { color: var(--zg); font-size: 18px; }
.geschaeftsstelle-detail a { color: var(--zs); text-decoration: none; }
.geschaeftsstelle-detail a:hover { color: var(--zg); }

/* Vorstand-Grid */
.vorstand-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 32px;
}
.vorstand-card {
  background: var(--w);
  border: 1.5px solid var(--za20);
  border-radius: 18px;
  padding: 28px 22px 24px;
  text-align: center;
  transition: transform .3s, border-color .3s, box-shadow .3s;
  display: flex; flex-direction: column; align-items: center;
}
.vorstand-card:hover {
  transform: translateY(-4px);
  border-color: var(--zg);
  box-shadow: 0 12px 28px rgba(56, 70, 73, 0.08);
}
.vorstand-initials {
  width: 80px; height: 80px;
  background: var(--zg);
  color: var(--zs);
  border-radius: 50%;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -.01em;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  transition: transform .3s, box-shadow .3s;
}
.vorstand-card:hover .vorstand-initials {
  transform: scale(1.06);
  box-shadow: 0 10px 24px rgba(199, 204, 16, 0.4);
}
.vorstand-card.vakant .vorstand-initials {
  background: var(--za20);
  color: var(--za60);
}
.vorstand-card.extern .vorstand-initials {
  background: var(--za);
  color: var(--w);
}
.vorstand-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--zs);
  margin-bottom: 4px;
  line-height: 1.25;
}
.vorstand-name.vakant-name {
  color: var(--za60);
  font-style: italic;
}
.vorstand-role {
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--za60);
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.4;
  min-height: 32px;
}
.vorstand-mail {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--za10);
  color: var(--zs);
  padding: 9px 16px;
  border-radius: var(--rfull);
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: all .2s;
  margin-top: auto;
}
.vorstand-mail:hover {
  background: var(--zg);
  color: var(--zs);
}
.vorstand-mail i { font-size: 14px; }
.vorstand-mail.disabled {
  background: transparent;
  border: 1px dashed var(--za40);
  color: var(--za60);
  pointer-events: none;
}

/* Mitgliedsbetriebe-Teaser */
.mitglieder-teaser {
  background: linear-gradient(135deg, var(--za) 0%, #2a3437 100%);
  color: var(--w);
  border-radius: 22px;
  padding: 56px 56px;
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  position: relative;
  overflow: hidden;
  clip-path: polygon(40px 0, 100% 0, 100% 100%, 0 100%, 0 40px);
}
.mitglieder-teaser::before {
  content: '';
  position: absolute;
  right: -80px; bottom: -80px;
  width: 320px; height: 320px;
  background: var(--zg);
  opacity: 0.08;
  border-radius: 50%;
  pointer-events: none;
}
.mitglieder-teaser-content {
  position: relative; z-index: 1;
}
.mitglieder-teaser-eyebrow {
  display: inline-block;
  background: var(--zg);
  color: var(--zs);
  font-size: 11px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--rfull);
  margin-bottom: 18px;
}
.mitglieder-teaser h3 {
  font-size: 32px; font-weight: 700;
  color: var(--w);
  line-height: 1.15;
  margin-bottom: 12px;
}
.mitglieder-teaser p {
  font-size: 16px; line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
  max-width: 540px;
}
.mitglieder-teaser-btn {
  position: relative; z-index: 1;
  background: var(--zg);
  color: var(--zs);
  border-radius: var(--rfull);
  padding: 16px 32px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 10px;
  transition: transform .15s, box-shadow .2s;
  white-space: nowrap;
}
.mitglieder-teaser-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(199, 204, 16, 0.35);
}

/* Externe Kursbewertung — Hinweis-Box auf ÜK-Seite */
.uek-rating-hint {
  background: linear-gradient(135deg, var(--za) 0%, #2a3437 100%);
  color: var(--w);
  border-radius: 22px;
  padding: 32px 40px;
  margin-top: 28px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
  position: relative;
  overflow: hidden;
  clip-path: polygon(0 0, calc(100% - 36px) 0, 100% 36px, 100% 100%, 0 100%);
}
.uek-rating-hint::before {
  content: '';
  position: absolute;
  right: -100px; bottom: -100px;
  width: 280px; height: 280px;
  background: var(--zg);
  opacity: 0.08;
  border-radius: 50%;
}
.uek-rating-hint-icon {
  width: 64px; height: 64px;
  background: var(--zg);
  color: var(--zs);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 30px;
  flex-shrink: 0;
  position: relative; z-index: 1;
}
.uek-rating-hint-content {
  position: relative; z-index: 1;
}
.uek-rating-hint-eyebrow {
  display: inline-block;
  background: var(--zg);
  color: var(--zs);
  font-size: 10px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--rfull);
  margin-bottom: 12px;
}
.uek-rating-hint-content h3 {
  font-size: 22px; font-weight: 700;
  color: var(--w);
  margin-bottom: 6px;
  line-height: 1.2;
}
.uek-rating-hint-content p {
  font-size: 14px; line-height: 1.55;
  color: rgba(255, 255, 255, .75);
  max-width: 520px;
}
.uek-rating-hint-btn {
  position: relative; z-index: 1;
  background: var(--zg);
  color: var(--zs);
  border-radius: var(--rfull);
  padding: 14px 24px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
  white-space: nowrap;
  transition: transform .15s, box-shadow .2s;
  opacity: 0.5;
  pointer-events: none;
}
.uek-rating-hint-btn.live {
  opacity: 1;
  pointer-events: auto;
}
.uek-rating-hint-btn.live:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(199, 204, 16, 0.4);
}
.uek-rating-hint-soon {
  display: inline-block;
  font-size: 11px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--zg);
  margin-top: 6px;
}

/* Mitgliedsbetriebe-Liste — Verein-Seite mit ABC-Sprungregister */
.lb-simple-info {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
  font-size: 13px;
  color: var(--za60);
  margin-bottom: 18px;
}

/* Sticky ABC-Sprungleiste mit Prev/Next-Pfeilen */
.lb-abc-bar {
  position: sticky;
  top: 16px;
  z-index: 10;
  background: var(--w);
  border: 1px solid var(--za20);
  border-radius: var(--rfull);
  padding: 8px 12px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 16px rgba(56, 70, 73, .06);
}
.lb-abc-letters {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  justify-content: center;
}
.lb-abc-link {
  font-size: 14px;
  font-weight: 700;
  color: var(--zs);
  background: transparent;
  border: none;
  font-family: var(--font);
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 8px;
  transition: background .15s, color .15s, transform .1s;
  min-width: 28px;
  text-align: center;
}
.lb-abc-link:hover { background: var(--za10); }
.lb-abc-link.is-active {
  background: var(--zg);
  color: var(--zs);
  transform: scale(1.05);
}
.lb-abc-link.is-empty {
  color: var(--za20);
  cursor: default;
  background: transparent;
}
/* Prev/Next-Pfeile */
.lb-abc-arrow {
  background: var(--za10);
  border: none;
  width: 36px; height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  color: var(--zs);
  flex-shrink: 0;
  transition: background .15s;
}
.lb-abc-arrow:hover:not(:disabled) { background: var(--zg); }
.lb-abc-arrow:disabled { opacity: .3; cursor: not-allowed; }

/* Buchstaben-Gruppe */
.lb-abc-list {
  position: relative;
  min-height: 280px;
}
.lb-abc-group {
  display: flex;
  flex-direction: column;
  animation: lb-fade-in .25s ease-out;
}
@keyframes lb-fade-in {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.lb-abc-letter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  background: var(--zg);
  color: var(--zs);
  font-weight: 900;
  font-size: 28px;
  border-radius: 14px;
  margin-bottom: 6px;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%);
}
.lb-abc-count {
  font-size: 13px;
  color: var(--za60);
  font-weight: 600;
  margin-bottom: 14px;
}
.lb-abc-items {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px 24px;
  border-top: 1px solid var(--za10);
}
.lb-abc-item {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--za10);
  font-size: 14px;
  line-height: 1.4;
}
.lb-abc-name {
  font-weight: 700;
  color: var(--zs);
  flex: 1;
  min-width: 0;
}
.lb-abc-ort {
  font-size: 12px;
  color: var(--za60);
  white-space: nowrap;
}

/* ============================================
   AUSBILDUNG-SEITE — Lehrbetriebe, Diplomfeier, BiVo
   ============================================ */

/* Statistik-Sektion (215 Betriebe etc.) */
.aus-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 32px;
}
.aus-stat {
  background: var(--w);
  border: 1.5px solid var(--za20);
  border-radius: 18px;
  padding: 32px 28px;
  text-align: center;
  transition: transform .3s, border-color .3s;
}
.aus-stat:hover { transform: translateY(-4px); border-color: var(--zg); }
.aus-stat-num {
  font-size: 64px; font-weight: 700;
  color: var(--zg); line-height: 1;
  margin-bottom: 10px;
  font-feature-settings: "tnum";
}
.aus-stat-label {
  font-size: 14px; font-weight: 700;
  color: var(--zs);
  margin-bottom: 4px;
}
.aus-stat-sub {
  font-size: 12px;
  color: var(--za60);
}

/* Diplomfeier: gemeinsame dunkle Box mit Einladungskarte + Save-the-date */
.dpf-header-grid {
  position: relative;
  background: linear-gradient(135deg, var(--za) 0%, #2a3437 100%);
  color: var(--w);
  border-radius: 24px;
  padding: 44px 48px;
  display: grid;
  grid-template-columns: minmax(260px, 360px) 1fr;
  gap: 44px;
  margin-top: 30px;
  align-items: center;
  overflow: hidden;
  clip-path: polygon(0 0, calc(100% - 48px) 0, 100% 48px, 100% 100%, 0 100%);
}
.dpf-header-grid::before {
  content: '';
  position: absolute;
  right: -110px; top: -110px;
  width: 360px; height: 360px;
  background-image: url('../images/zplus-plus.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.22;
  pointer-events: none;
  z-index: 0;
}
.dpf-header-grid .dpfh {
  margin-top: 0;
  height: auto;
}
.einladungskarte {
  background: var(--w);
  border-radius: 18px;
  padding: 16px 16px 12px;
  display: flex;
  flex-direction: column;
  clip-path: polygon(0 0, calc(100% - 32px) 0, 100% 32px, 100% 100%, 0 100%);
  position: relative;
  z-index: 1;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}
.einladungskarte-eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--zg);
  color: var(--zs);
  font-size: 10px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  padding: 5px 11px;
  border-radius: var(--rfull);
  margin-bottom: 14px;
  align-self: flex-start;
}
.einladungskarte-eyebrow i { font-size: 12px; }
.einladungskarte-img {
  flex: 1;
  background: var(--bg);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  position: relative;
  cursor: zoom-in;
  border: none;
  padding: 0;
  font: inherit;
}
.einladungskarte-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform .25s;
}
.einladungskarte-img:hover img { transform: scale(1.04); }
.einladungskarte-zoom {
  position: absolute;
  bottom: 12px; right: 12px;
  background: rgba(56, 70, 73, .85);
  color: var(--w);
  font-size: 12px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: var(--rfull);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .2s, transform .2s;
  pointer-events: none;
}
.einladungskarte-zoom i { font-size: 14px; }
.einladungskarte-img:hover .einladungskarte-zoom,
.einladungskarte-img:focus-visible .einladungskarte-zoom {
  opacity: 1;
  transform: translateY(0);
}

/* Lightbox */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(20, 25, 27, .92);
  z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  padding: 48px;
  animation: lb-in .2s ease-out;
}
.lightbox[hidden] { display: none; }
@keyframes lb-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.lightbox-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .6);
}
.lightbox-close {
  position: absolute;
  top: 24px; right: 24px;
  background: var(--w);
  color: var(--zs);
  border: none;
  width: 48px; height: 48px;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s, transform .15s;
}
.lightbox-close:hover { background: var(--zg); transform: rotate(90deg); }
@media (max-width: 768px) {
  .lightbox { padding: 16px; }
  .lightbox-close { top: 12px; right: 12px; width: 40px; height: 40px; font-size: 20px; }
}
.einladungskarte-caption {
  font-size: 12px;
  color: var(--za60);
  text-align: center;
  padding: 12px 8px 4px;
  line-height: 1.5;
}
.einladungskarte-caption strong {
  color: var(--zs);
  font-weight: 700;
}

/* Diplomfeier-Text-Sektion — sitzt jetzt direkt in der gemeinsamen dunklen Box */
.dpfh {
  position: relative;
  z-index: 1;
  color: var(--w);
}
.dpfh-tag {
  display: inline-block;
  background: var(--zg);
  color: var(--zs);
  font-size: 11px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--rfull);
  margin-bottom: 22px;
  position: relative; z-index: 1;
}
.dpfh h2 {
  font-size: 44px; font-weight: 700;
  color: var(--w);
  line-height: 1.05;
  margin-bottom: 16px;
  position: relative; z-index: 1;
}
.dpfh-sub {
  font-size: 18px; line-height: 1.55;
  color: rgba(255,255,255,.78);
  margin-bottom: 30px;
  max-width: 640px;
  position: relative; z-index: 1;
}
.dpfh-meta {
  display: flex; gap: 32px; flex-wrap: wrap;
  position: relative; z-index: 1;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}
.dpfh-meta-item {
  display: flex; align-items: center; gap: 12px;
}
.dpfh-meta-item i {
  width: 44px; height: 44px;
  background: rgba(199, 204, 16, 0.15);
  color: var(--zg);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.dpfh-meta-item small {
  display: block;
  font-size: 10px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255,255,255,.55);
  margin-bottom: 2px;
}
.dpfh-meta-item strong {
  display: block;
  font-size: 15px; font-weight: 700;
  color: var(--w);
}

/* Diplomfeier-Anmeldeformular */
.dpf-form {
  background: var(--w);
  border: 1.5px solid var(--za20);
  border-radius: 22px;
  padding: 48px 52px;
  margin-top: 32px;
}
.dpf-form-header {
  margin-bottom: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--za20);
}
.dpf-form-header h3 {
  font-size: 28px; font-weight: 700;
  color: var(--zs);
  margin-bottom: 8px;
}
.dpf-form-header p {
  font-size: 16px; line-height: 1.55;
  color: var(--za);
  max-width: 640px;
}
.dpf-form-group { margin-bottom: 26px; }
.dpf-form-label {
  display: block;
  font-size: 13px; font-weight: 700;
  color: var(--zs);
  margin-bottom: 12px;
}
.dpf-form-label .required { color: var(--zg); margin-left: 4px; }
.dpf-form-input {
  width: 100%;
  background: var(--bg);
  border: 1.5px solid transparent;
  border-radius: 12px;
  padding: 16px 18px;
  font-family: var(--font);
  font-size: 16px;
  color: var(--zs);
  transition: border-color .2s, background .2s;
}
.dpf-form-input:focus {
  outline: none;
  border-color: var(--zg);
  background: var(--w);
  box-shadow: 0 0 0 4px rgba(199, 204, 16, 0.12);
}
.dpf-form-row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 18px;
}
/* Choice-Buttons */
.dpf-choices {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px;
}
.dpf-choice {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  background: var(--bg);
  border: 1.5px solid transparent;
  border-radius: 12px;
  cursor: pointer;
  user-select: none;
  font-size: 14px; font-weight: 700;
  color: var(--zs);
  transition: all .2s;
}
.dpf-choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.dpf-choice-box {
  width: 22px; height: 22px;
  border: 2px solid var(--za40);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: all .2s;
}
.dpf-choice.radio .dpf-choice-box { border-radius: 50%; }
.dpf-choice-box i { color: var(--w); font-size: 14px; opacity: 0; transition: opacity .15s; }
.dpf-choice:hover {
  border-color: var(--zg);
  background: var(--zg10);
}
.dpf-choice input:checked ~ .dpf-choice-box {
  background: var(--zg);
  border-color: var(--zg);
}
.dpf-choice input:checked ~ .dpf-choice-box i { opacity: 1; color: var(--zs); }
.dpf-choice:has(input:checked) {
  background: var(--zg);
  border-color: var(--zg);
}
.dpf-form-submit {
  background: var(--zg);
  color: var(--zs);
  border: none;
  border-radius: var(--rfull);
  padding: 18px 36px;
  font-family: var(--font);
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  display: inline-flex; align-items: center; gap: 10px;
  transition: transform .15s, box-shadow .2s;
  margin-top: 12px;
}
.dpf-form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(199, 204, 16, 0.4);
}
.dpf-form-success {
  display: none;
  background: var(--zg20);
  border: 1.5px solid var(--zg);
  border-radius: 14px;
  padding: 22px 24px;
  margin-top: 24px;
  color: var(--zs);
  display: none;
  align-items: flex-start; gap: 14px;
}
.dpf-form-success.show { display: flex; }
.dpf-form-success i { font-size: 26px; color: var(--zg); flex-shrink: 0; }

/* Galerie-Teaser zu vergangenen Diplomfeiern */
.diplomfeier-galerie {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 30px;
}
.diplomfeier-galerie a {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%);
}
.diplomfeier-galerie img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s;
}
.diplomfeier-galerie a:hover img { transform: scale(1.06); }
.diplomfeier-galerie .dg-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0) 50%);
  display: flex; align-items: flex-end;
  padding: 14px 18px;
  color: var(--w);
  font-size: 13px; font-weight: 700;
}

/* BiVo-Sektion */
.bivo-comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 32px;
}
.bivo-side {
  background: var(--w);
  border: 1.5px solid var(--za20);
  border-radius: 18px;
  padding: 32px 28px;
  transition: border-color .3s, transform .3s;
}
.bivo-side:hover { border-color: var(--zg); transform: translateY(-4px); }
.bivo-side.alt { background: var(--za10); }
.bivo-year-tag {
  display: inline-block;
  background: var(--za);
  color: var(--w);
  font-size: 11px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  padding: 5px 11px;
  border-radius: var(--rfull);
  margin-bottom: 14px;
}
.bivo-side.neu .bivo-year-tag { background: var(--zg); color: var(--zs); }
.bivo-side h3 {
  font-size: 22px; font-weight: 700;
  color: var(--zs);
  margin-bottom: 10px;
}
.bivo-side p {
  font-size: 14px; line-height: 1.6; color: var(--za);
  margin-bottom: 16px;
}
.bivo-side-lehrstart {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700;
  color: var(--zs);
  background: var(--bg);
  padding: 12px 16px;
  border-radius: 10px;
}
.bivo-side-lehrstart i { color: var(--zg); font-size: 18px; }

.bivo-videos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 30px;
}
.bivo-video {
  background: var(--w);
  border: 1.5px solid var(--za20);
  border-radius: 16px;
  padding: 14px;
}
.bivo-video .yt-lite {
  margin-bottom: 14px;
  aspect-ratio: 16 / 9;
}
.bivo-video h4 {
  font-size: 14px; font-weight: 700;
  color: var(--zs);
  margin-bottom: 4px;
  padding: 0 4px;
}
.bivo-video p {
  font-size: 12px;
  color: var(--za60);
  padding: 0 4px 6px;
}

/* Lehrbetriebe-Liste mit Suche */
.lb-search-bar {
  position: relative;
  margin-bottom: 24px;
}
.lb-search-bar i {
  position: absolute;
  left: 22px; top: 50%;
  transform: translateY(-50%);
  color: var(--za60);
  font-size: 20px;
  pointer-events: none;
}
.lb-search {
  width: 100%;
  background: var(--w);
  border: 1.5px solid var(--za20);
  border-radius: 14px;
  padding: 18px 22px 18px 56px;
  font-family: var(--font);
  font-size: 16px;
  color: var(--zs);
  transition: border-color .2s, box-shadow .2s;
}
.lb-search:focus {
  outline: none;
  border-color: var(--zg);
  box-shadow: 0 0 0 4px rgba(199, 204, 16, 0.12);
}
.lb-info {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 13px;
  color: var(--za60);
  margin-bottom: 16px;
}
.lb-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.lb-card {
  background: var(--w);
  border: 1px solid var(--za20);
  border-radius: 14px;
  padding: 18px 20px;
  transition: border-color .2s, transform .2s, box-shadow .25s;
  display: flex; flex-direction: column;
}
.lb-card:hover {
  border-color: var(--zg);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(56, 70, 73, 0.06);
}
.lb-name {
  font-size: 14px; font-weight: 700;
  color: var(--zs);
  line-height: 1.3;
  margin-bottom: 8px;
}
.lb-address {
  font-size: 12px;
  line-height: 1.5;
  color: var(--za60);
  margin-bottom: 12px;
}
.lb-foot {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 10px;
  border-top: 1px solid var(--za20);
  margin-top: auto;
  gap: 8px;
}
.lb-tel {
  font-size: 11px; font-weight: 700;
  color: var(--zs);
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 4px;
}
.lb-tel:hover { color: var(--zg); }
.lb-tel i { font-size: 13px; color: var(--za60); }
.lb-lernende {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--zs);
  background: var(--zg20);
  padding: 3px 9px;
  border-radius: var(--rfull);
  text-transform: uppercase;
}
.lb-no-results {
  grid-column: 1 / -1;
  padding: 40px;
  text-align: center;
  color: var(--za60);
  font-size: 14px;
}
.lb-load-more {
  display: block;
  margin: 24px auto 0;
  background: var(--za10);
  border: none;
  border-radius: var(--rfull);
  padding: 14px 32px;
  font-family: var(--font);
  font-size: 14px; font-weight: 700;
  color: var(--zs);
  cursor: pointer;
  transition: background .2s;
}
.lb-load-more:hover { background: var(--zg); }

/* ============================================
   LEGAL PAGES — Impressum / Datenschutz / AGB
   ============================================ */
.legal-page {
  max-width: 880px;
  margin: 0 auto;
  padding: 48px 48px 80px;
}
.legal-toc {
  background: var(--za10);
  border-radius: 16px;
  padding: 28px 32px;
  margin-bottom: 48px;
}
.legal-toc h3 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--za60);
  margin-bottom: 14px;
}
.legal-toc ol {
  list-style: none;
  counter-reset: toc;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px 24px;
}
.legal-toc li {
  counter-increment: toc;
  font-size: 14px;
  line-height: 1.5;
}
.legal-toc li::before {
  content: counter(toc, decimal-leading-zero) ".";
  color: var(--zg);
  font-weight: 700;
  margin-right: 8px;
  font-feature-settings: "tnum";
}
.legal-toc a {
  color: var(--zs);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color .15s;
}
.legal-toc a:hover { border-bottom-color: var(--zg); }

.legal-section {
  margin-bottom: 44px;
  scroll-margin-top: 110px;
}
.legal-section h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--zs);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--za20);
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.legal-section h2 .num {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--zg);
  flex-shrink: 0;
}
.legal-section h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--zs);
  margin-top: 24px;
  margin-bottom: 10px;
}
.legal-section p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--za);
  margin-bottom: 14px;
}
.legal-section ul {
  font-size: 15px;
  line-height: 1.7;
  color: var(--za);
  margin-bottom: 14px;
  padding-left: 20px;
}
.legal-section li { margin-bottom: 4px; }
.legal-section a {
  color: var(--zs);
  text-decoration: underline;
  text-decoration-color: var(--zg);
  text-underline-offset: 3px;
}
.legal-section a:hover { color: var(--zg); }
.legal-meta {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 8px 32px;
  background: var(--bg);
  border-radius: 12px;
  padding: 22px 26px;
  font-size: 14px;
  margin-bottom: 16px;
}
.legal-meta dt {
  font-weight: 700;
  color: var(--za60);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  align-self: center;
}
.legal-meta dd {
  color: var(--zs);
  font-weight: 700;
}
.legal-meta dd a { color: var(--zs); }

/* Platzhalter — sichtbar markiert */
.legal-placeholder {
  display: inline-block;
  background: var(--zg);
  color: var(--zs);
  padding: 2px 9px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .02em;
  white-space: nowrap;
}
.legal-placeholder::before {
  content: '✎ ';
  color: var(--zs);
  opacity: 0.7;
}
.legal-warning {
  background: rgba(199, 204, 16, 0.15);
  border-left: 4px solid var(--zg);
  padding: 16px 22px;
  border-radius: 0 12px 12px 0;
  font-size: 14px;
  color: var(--za);
  margin-bottom: 40px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.legal-warning i { color: var(--zg); font-size: 22px; flex-shrink: 0; }
.legal-warning strong { color: var(--zs); }

.legal-footer {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--za20);
  font-size: 12px;
  color: var(--za60);
  font-style: italic;
}

/* ============================================
   FAQ-SEITE — GEO-optimiert mit Akkordeon
   ============================================ */
.faq-page { max-width: 920px; margin: 0 auto; }

.faq-filter-bar {
  display: flex; flex-wrap: wrap; gap: 8px;
  background: var(--za10);
  border-radius: 16px;
  padding: 14px 18px;
  margin-bottom: 28px;
  align-items: center;
}
.faq-filter-label {
  font-size: 11px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--za60);
  margin-right: 6px;
}
.faq-filter {
  background: transparent;
  border: 1.5px solid transparent;
  border-radius: var(--rfull);
  padding: 8px 16px;
  font-family: var(--font);
  font-size: 13px; font-weight: 700;
  color: var(--za);
  cursor: pointer;
  transition: all .2s;
}
.faq-filter:hover { background: var(--w); color: var(--zs); }
.faq-filter.active {
  background: var(--zg);
  color: var(--zs);
  border-color: var(--zg);
}
.faq-filter-count {
  font-size: 11px;
  background: rgba(0, 0, 0, 0.1);
  padding: 1px 8px;
  border-radius: var(--rfull);
  margin-left: 4px;
  font-weight: 700;
}
.faq-filter.active .faq-filter-count { background: rgba(0, 0, 0, 0.15); }

.faq-group {
  margin-bottom: 36px;
}
.faq-group-heading {
  font-size: 11px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--zg);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--za20);
  display: flex; align-items: center; gap: 10px;
}
.faq-group-heading i { font-size: 18px; }

.faq-list {
  display: flex; flex-direction: column;
  gap: 10px;
}
.faq-item {
  background: var(--w);
  border: 1.5px solid var(--za20);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color .2s;
}
.faq-item.open { border-color: var(--zg); }
.faq-item:hover:not(.open) { border-color: var(--za40); }
.faq-q {
  display: flex; align-items: center; gap: 14px;
  padding: 18px 22px;
  cursor: pointer;
  user-select: none;
  font-size: 16px; font-weight: 700;
  color: var(--zs);
  line-height: 1.4;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-family: var(--font);
  transition: background .15s;
}
.faq-q:hover { background: var(--bg); }
.faq-q-icon {
  width: 28px; height: 28px;
  background: var(--zg20);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background .2s, transform .25s;
}
.faq-q-icon i { font-size: 16px; color: var(--zs); }
.faq-item.open .faq-q-icon {
  background: var(--zg);
  transform: rotate(180deg);
}
.faq-q-text { flex: 1; }
.faq-q-tags {
  display: flex; gap: 5px; flex-wrap: wrap;
  margin-top: 4px;
}
.faq-q-tag {
  display: inline-block;
  background: var(--za10);
  color: var(--za60);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .04em;
  padding: 2px 8px;
  border-radius: var(--rfull);
  text-transform: uppercase;
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s cubic-bezier(.4, 0, .2, 1);
}
.faq-item.open .faq-a { max-height: 600px; }
.faq-a-inner {
  padding: 0 22px 22px 64px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--za);
}
.faq-a-inner p { margin-bottom: 12px; }
.faq-a-inner p:last-child { margin-bottom: 0; }
.faq-a-inner a {
  color: var(--zs);
  text-decoration: underline;
  text-decoration-color: var(--zg);
  text-underline-offset: 3px;
  font-weight: 700;
}
.faq-a-inner a:hover { color: var(--zg); }
.faq-a-inner ul {
  padding-left: 18px;
  margin-bottom: 12px;
}
.faq-a-inner li { margin-bottom: 4px; }

.faq-cta {
  background: var(--za10);
  border-radius: 18px;
  padding: 36px 40px;
  margin-top: 40px;
  display: flex; align-items: center; gap: 28px; flex-wrap: wrap;
}
.faq-cta-icon {
  width: 60px; height: 60px;
  background: var(--zg);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--zs);
  font-size: 28px;
  flex-shrink: 0;
}
.faq-cta-text { flex: 1; min-width: 220px; }
.faq-cta-text h3 {
  font-size: 20px; font-weight: 700;
  color: var(--zs);
  margin-bottom: 4px;
}
.faq-cta-text p {
  font-size: 14px; color: var(--za);
  line-height: 1.55;
}
.faq-cta a {
  background: var(--zg);
  color: var(--zs);
  border-radius: var(--rfull);
  padding: 14px 26px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
  transition: transform .15s;
}
.faq-cta a:hover { transform: translateY(-2px); }

/* === alte Klasse Ausbildungsphasen — Interaktive Timeline (ungenutzt) === */
.timeline {
  margin-top: 36px;
}
.timeline-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  position: relative;
  margin-bottom: 36px;
  padding-top: 8px;
}
/* Hintergrund-Linie */
.timeline-track::before {
  content: '';
  position: absolute;
  top: 38px;
  left: calc(100% / 6);
  right: calc(100% / 6);
  height: 3px;
  background: var(--za20);
  border-radius: var(--rfull);
  z-index: 0;
}
/* Progress-Linie (zeigt Fortschritt bis zur aktiven Stufe) */
.timeline-track::after {
  content: '';
  position: absolute;
  top: 38px;
  left: calc(100% / 6);
  height: 3px;
  background: var(--zg);
  border-radius: var(--rfull);
  z-index: 1;
  width: calc(var(--progress, 0) * (100% - 100% / 3));
  transition: width .5s cubic-bezier(.4, 0, .2, 1);
}
.timeline-marker {
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font);
  display: flex; flex-direction: column; align-items: center;
  gap: 18px;
  position: relative;
  z-index: 2;
  padding: 0;
  outline: none;
}
.marker-dot {
  width: 60px; height: 60px;
  background: var(--w);
  border: 3px solid var(--za20);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 700;
  color: var(--za60);
  transition: all .3s cubic-bezier(.4, 0, .2, 1);
  position: relative;
}
.timeline-marker:hover .marker-dot {
  border-color: var(--zg);
  color: var(--zs);
  transform: scale(1.06);
}
.timeline-marker.passed .marker-dot {
  background: var(--zg);
  border-color: var(--zg);
  color: var(--zs);
}
.timeline-marker.active .marker-dot {
  background: var(--zg);
  border-color: var(--zg);
  color: var(--zs);
  transform: scale(1.18);
  box-shadow: 0 14px 32px rgba(199, 204, 16, 0.4),
              0 0 0 8px rgba(199, 204, 16, 0.12);
}
.marker-label {
  text-align: center;
  transition: opacity .25s;
}
.marker-label strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: var(--zs);
  margin-bottom: 4px;
  letter-spacing: -.005em;
}
.marker-label span {
  display: block;
  font-size: 11px;
  color: var(--za60);
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 700;
}
.timeline-marker:not(.active) .marker-label { opacity: 0.65; }
.timeline-marker.active .marker-label strong { color: var(--zs); }

.timeline-panel {
  background: var(--za10);
  border-radius: 20px;
  padding: 44px 52px;
  position: relative;
  clip-path: polygon(0 0, calc(100% - 36px) 0, 100% 36px, 100% 100%, 0 100%);
  min-height: 220px;
}
.timeline-detail {
  display: none;
}
.timeline-detail.active {
  display: block;
  animation: timelineDetailIn .45s cubic-bezier(.2, 0, .2, 1);
}
@keyframes timelineDetailIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.timeline-detail .detail-eyebrow {
  display: inline-block;
  background: var(--zg);
  color: var(--zs);
  font-size: 11px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  padding: 5px 12px;
  border-radius: var(--rfull);
  margin-bottom: 18px;
}
.timeline-detail h3 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--zs);
  line-height: 1.15;
}
.timeline-detail p {
  font-size: 17px;
  line-height: 1.65;
  color: var(--za);
  max-width: 760px;
}
.timeline-progress-text {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--za20);
}
.timeline-progress-text small {
  font-size: 11px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--za60);
}
.timeline-autoplay-hint {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; color: var(--za60);
}
.timeline-autoplay-hint i { font-size: 14px; }

/* Fachrichtungs-Sektionen */
.fr-section {
  scroll-margin-top: 100px;
}
.fr-header {
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--za20);
}
.fr-header .s-title { margin-bottom: 8px; }
.fr-header .s-title span { color: var(--za60); font-weight: 400; }
.fr-sub {
  font-size: 16px; line-height: 1.55; color: var(--za);
  max-width: 640px;
}
.fr-description {
  max-width: 760px;
  margin-top: 28px;
}
.fr-description p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--za);
  margin-bottom: 18px;
}
.fr-description p:last-child { margin-bottom: 0; }
.fr-description strong { color: var(--zs); }

/* Variante mit Bild — 2-spaltig */
.fr-description-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 48px;
  align-items: center;
  margin-top: 28px;
}
.fr-description-grid .fr-description {
  max-width: none;
  margin-top: 0;
}
.fr-description-image {
  height: 420px;
  overflow: hidden;
}
.fr-description-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.fr-description-image.clip-tr {
  clip-path: polygon(0 0, calc(100% - 40px) 0, 100% 40px, 100% 100%, 0 100%);
}
.fr-description-image.clip-tl {
  clip-path: polygon(40px 0, 100% 0, 100% 100%, 0 100%, 0 40px);
}
/* Bei ZFI ist das Bild links → Text rechts */
.fr-description-grid.image-left {
  grid-template-columns: 1fr 1.15fr;
}
.section-heading {
  font-size: 13px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--za60);
  margin: 36px 0 14px;
}

/* Termin-Liste (ÜK / QV) */
.termin-list {
  display: flex; flex-direction: column; gap: 10px;
}
.termin-item {
  display: grid;
  grid-template-columns: 220px 1fr auto;
  gap: 24px;
  align-items: center;
  background: var(--w);
  border: 1px solid var(--za20);
  border-radius: 14px;
  padding: 22px 26px;
  text-decoration: none;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.termin-item:hover {
  border-color: var(--zg);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(56, 70, 73, 0.07);
}
.termin-date {
  font-size: 14px; font-weight: 700;
  color: var(--zs);
  line-height: 1.4;
}
.termin-date small {
  display: block;
  font-size: 11px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--zg);
  margin-bottom: 4px;
}
.termin-content { min-width: 0; }
.termin-title {
  font-size: 18px; font-weight: 700;
  color: var(--zs);
  line-height: 1.3;
  margin-bottom: 6px;
}
.termin-meta {
  display: flex; flex-wrap: wrap; gap: 14px;
  font-size: 14px; color: var(--za60);
}
.termin-meta span {
  display: inline-flex; align-items: center; gap: 4px;
}
.termin-meta i { font-size: 14px; color: var(--za60); }
.termin-arrow {
  font-size: 22px;
  color: var(--za40);
  transition: color .2s, transform .2s;
}
.termin-item:hover .termin-arrow {
  color: var(--zg);
  transform: translateX(4px);
}

/* Downloads-Box */
.download-box {
  background: var(--za10);
  border-radius: 14px;
  padding: 24px 28px;
}
.download-list {
  list-style: none;
  display: flex; flex-direction: column;
  gap: 2px;
}
.download-list li { display: block; }
.download-list a {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 0;
  color: var(--zs);
  text-decoration: none;
  font-size: 15px;
  border-bottom: 1px solid var(--za20);
  transition: color .2s;
}
.download-list li:last-child a { border-bottom: none; }
.download-list a:hover { color: var(--zg); }
.download-list a i {
  font-size: 18px; color: var(--za60); flex-shrink: 0;
  transition: color .2s;
}
.download-list a:hover i { color: var(--zg); }
.download-list .dl-name { flex: 1; font-weight: 700; }
.download-list .dl-date {
  font-size: 12px; color: var(--za60);
  font-weight: 400;
}

/* ============================================
   PROMO BUBBLE — Startseite, zeitgesteuert
   Wird über js/promo-data.js + js/promo.js mit
   Aktionen befüllt (Diplomfeier-Anmeldung,
   neue Galerie etc.). Sektion wird komplett
   ausgeblendet wenn keine Promo aktiv ist.
   ============================================ */
.promo-section {
  padding: 0;
  background: var(--za); /* damit visuell nahtloser Streifen, auch wenn JS-Render kurz pendelt */
}
.promo-bubble {
  background: var(--za);
  color: var(--w);
  padding: 28px max(64px, calc((100% - 1280px) / 2));
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: background .2s;
}
.promo-bubble::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 320px; height: 320px;
  background-image: url('../images/zplus-plus.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: .22;
  z-index: 0;
  pointer-events: none;
}
.promo-bubble:hover .promo-cta { background: var(--w); color: var(--zs); }
.promo-bubble:hover .promo-cta i { transform: translateX(4px); }

.promo-icon {
  width: 68px; height: 68px;
  border-radius: 18px;
  background: var(--zg);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  z-index: 1;
}
.promo-icon i {
  font-size: 34px;
  color: var(--zs);
}

.promo-text { z-index: 1; min-width: 0; }
.promo-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--zg);
  background: rgba(199, 204, 16, .15);
  padding: 4px 10px;
  border-radius: var(--rfull);
  margin-bottom: 8px;
}
.promo-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--w);
  line-height: 1.25;
  margin-bottom: 6px;
}
.promo-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, .75);
  line-height: 1.55;
  max-width: 640px;
}

.promo-cta {
  background: var(--zg);
  color: var(--zs);
  border-radius: var(--rfull);
  padding: 14px 26px;
  font-weight: 700;
  font-size: 14px;
  display: inline-flex; align-items: center; gap: 8px;
  flex-shrink: 0;
  z-index: 1;
  transition: background .15s, color .15s;
  white-space: nowrap;
}
.promo-cta i { transition: transform .15s; }

@media (max-width: 1024px) {
  .promo-bubble { padding: 24px 32px; gap: 20px; }
  .promo-title { font-size: 19px; }
}
@media (max-width: 768px) {
  .promo-bubble {
    grid-template-columns: 1fr;
    text-align: left;
    padding: 24px 20px;
    gap: 16px;
  }
  .promo-icon { width: 56px; height: 56px; }
  .promo-icon i { font-size: 28px; }
  .promo-title { font-size: 18px; }
  .promo-cta { align-self: flex-start; }
}

/* ============================================
   NACH DEM QV — Übergang Lehrabschluss → Marktplatz
   Zwei Pfade: Stelle suchen oder Stellensuche aufgeben
   ============================================ */
.next-steps {
  margin-top: 24px;
}
.next-steps-intro {
  max-width: 720px;
  font-size: 16px;
  color: var(--za);
  line-height: 1.65;
  margin-bottom: 26px;
}
.next-steps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.next-step-card {
  position: relative;
  background: var(--w);
  border: 1px solid var(--za10);
  border-radius: 16px;
  padding: 32px 30px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 26px, 100% 100%, 0 100%);
  transition: transform .18s, box-shadow .18s, border-color .18s;
  text-decoration: none;
  color: inherit;
}
.next-step-card,
.next-step-card * { text-decoration: none; }
.next-step-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(56,70,73,.10);
  border-color: var(--zg);
}
.next-step-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--zg20);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  color: var(--zs);
}
.next-step-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--zs);
  line-height: 1.25;
  margin: 0;
}
.next-step-card p {
  font-size: 15px;
  color: var(--za);
  line-height: 1.6;
  margin: 0;
  flex: 1;
}
.next-step-cta {
  margin-top: 6px;
  align-self: flex-start;
  background: var(--zs);
  color: var(--w);
  border-radius: var(--rfull);
  padding: 12px 22px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background .15s, transform .15s;
}
.next-step-cta:hover {
  background: var(--zg);
  color: var(--zs);
  transform: translateX(3px);
}
@media (max-width: 768px) {
  .next-steps-grid { grid-template-columns: 1fr; gap: 16px; }
  .next-step-card { padding: 26px 24px 24px; }
}

/* Agenda-Teaser am Seitenende */
.agenda-teaser {
  background: var(--za);
  color: var(--w);
  border-radius: 20px;
  padding: 44px 48px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 36px), calc(100% - 36px) 100%, 0 100%);
}
.agenda-teaser-text h3 {
  font-size: 24px; font-weight: 700;
  color: var(--w);
  margin-bottom: 6px;
  line-height: 1.25;
}
.agenda-teaser-text p {
  font-size: 15px; color: rgba(255,255,255,.7);
  max-width: 540px;
}
.agenda-teaser .btn-primary {
  background: var(--zg);
  color: var(--zs);
  border-radius: var(--rfull);
  padding: 14px 28px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
  transition: transform .15s;
}
.agenda-teaser .btn-primary:hover { transform: translateY(-2px); }

/* ============================================
   RESPONSIVE — basic breakpoints
   Claude Code: extend this section for full
   mobile/tablet support (hamburger nav etc.)
   ============================================ */
@media (max-width: 1024px) {
  .hero-title { font-size: 48px; }
  .quick-grid, .berufe, .uek-grid, .news-grid-3 { grid-template-columns: 1fr 1fr; }
  .markt-inner, .verein-inner, .page-hero { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .kontakt-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 768px) {
  .nav-links { display: none; } /* TODO: implement mobile menu */
  .nav, .s, .hero-content, .uek-s, .news-s, .markt-s, .verein-s, .galerie-s, .page-hero, .footer { padding-left: 20px; padding-right: 20px; }
  .hero-title { font-size: 36px; }
  .quick-grid, .berufe, .uek-grid, .news-grid-3, .gal-grid, .markt-cards { grid-template-columns: 1fr; }
  .hero-photo { width: 100%; opacity: .25; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
  .form-row { grid-template-columns: 1fr; }
  .kontakt-info, .kontakt-form { padding: 24px; }
  .timeline-track { gap: 12px; }
  .timeline-track::before, .timeline-track::after { top: 30px; }
  .marker-dot { width: 50px; height: 50px; font-size: 18px; }
  .marker-label strong { font-size: 14px; }
  .marker-label span { font-size: 10px; letter-spacing: .06em; }
  .timeline-panel { padding: 28px 24px; }
  .timeline-detail h3 { font-size: 26px; }
  .timeline-detail p { font-size: 16px; }
  .termin-item { grid-template-columns: 1fr; gap: 8px; }
  .termin-arrow { display: none; }
  .agenda-teaser { flex-direction: column; align-items: flex-start; padding: 32px 26px; }
  .quick-jump { padding: 18px 20px; }
  .page-hero-slideshow { height: 240px; }
  .page-hero-zbg img { width: 320px; }
  .galerie-grid { grid-template-columns: 1fr; }
  .galerie-hint { padding: 18px 20px; gap: 12px; }
  .taetigkeiten-grid { grid-template-columns: 1fr; }
  .aus-stats { grid-template-columns: 1fr; }
  .dpf-header-grid { grid-template-columns: 1fr; gap: 28px; padding: 28px 24px; }
  .einladungskarte { padding: 14px; }
  .einladungskarte-img { min-height: 220px; }
  .dpfh h2 { font-size: 30px; }
  .dpfh-sub { font-size: 16px; }
  .dpfh-meta { gap: 18px; }
  .dpf-form { padding: 28px 24px; }
  .dpf-form-header h3 { font-size: 22px; }
  .dpf-form-row { grid-template-columns: 1fr; }
  .diplomfeier-galerie { grid-template-columns: 1fr 1fr; }
  .bivo-comparison { grid-template-columns: 1fr; }
  .bivo-videos { grid-template-columns: 1fr; }
  .lb-grid { grid-template-columns: 1fr; }
  .legal-page { padding: 32px 20px 56px; }
  .legal-toc ol { grid-template-columns: 1fr; }
  .legal-meta { grid-template-columns: 1fr; gap: 2px; padding: 18px 20px; }
  .legal-meta dt { margin-top: 8px; }
  .faq-q { padding: 14px 16px; font-size: 15px; gap: 10px; }
  .faq-a-inner { padding: 0 16px 18px 50px; font-size: 14px; }
  .faq-cta { padding: 24px 22px; flex-direction: column; align-items: flex-start; }
  .faq-filter-bar { padding: 12px 14px; gap: 6px; }
  .lb-abc-items { grid-template-columns: 1fr; gap: 0; }
  .lb-abc-bar { padding: 8px 10px; gap: 1px; flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; -webkit-overflow-scrolling: touch; }
  .lb-abc-bar::-webkit-scrollbar { display: none; }
  .lb-abc-link { font-size: 13px; padding: 5px 8px; min-width: 26px; flex-shrink: 0; }
  .lb-abc-item { flex-direction: column; align-items: flex-start; gap: 2px; padding: 12px 0; }
  .lb-abc-ort { white-space: normal; }
  .fr-description-grid, .fr-description-grid.image-left { grid-template-columns: 1fr; gap: 28px; }
  .fr-description-image { height: 260px; order: -1; }
  .uek-rating-hint { grid-template-columns: 1fr; padding: 28px 24px; gap: 18px; text-align: left; }
  .uek-rating-hint-icon { width: 52px; height: 52px; font-size: 24px; }
  .uek-rating-hint-content h3 { font-size: 18px; }
  .anlaufstelle { grid-template-columns: 1fr; padding: 32px 26px; gap: 20px; text-align: left; }
  .anlaufstelle-avatar { width: 88px; height: 88px; font-size: 32px; }
  .anlaufstelle-name { font-size: 24px; }
  .anlaufstelle-action { padding: 14px 18px; }
  .geschaeftsstelle { grid-template-columns: 1fr; padding: 28px 26px; gap: 20px; text-align: left; }
  .geschaeftsstelle-icon { width: 64px; height: 64px; font-size: 30px; }
  .geschaeftsstelle-details { grid-template-columns: 1fr; gap: 10px; }
  .vorstand-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .mitglieder-teaser { grid-template-columns: 1fr; padding: 32px 28px; }
  .mitglieder-teaser h3 { font-size: 24px; }
  .galerie-hint-icon { width: 36px; height: 36px; font-size: 18px; }
  .quali-areas { grid-template-columns: 1fr; }
  .passing-rule { flex-direction: column; align-items: flex-start; padding: 28px 26px; text-align: left; gap: 16px; }
  .passing-rule-icon { font-size: 52px; }
  .passing-rule-content h3 { font-size: 22px; }
  /* Berufsbild mobile */
  .bb-hero { min-height: 460px; padding: 0 20px 40px; }
  .bb-hero-title { font-size: 42px; }
  .bb-hero-hook { font-size: 18px; }
  .bb-lead-section { padding: 56px 20px 24px; }
  .bb-lead-section h2 { font-size: 28px; }
  .bb-lead-section p { font-size: 17px; }
  .bb-video-section { padding: 56px 20px; margin: 40px 0; }
  .bb-video-inner { grid-template-columns: 1fr; gap: 24px; }
  .bb-skills, .bb-facts, .bb-career, .bb-gallery { grid-template-columns: 1fr; }
  .bb-personality-list { grid-template-columns: 1fr; }
  .bb-personality { padding: 28px 24px; }
  .bb-cta { flex-direction: column; align-items: flex-start; padding: 32px 28px; }
  .bb-hero-eyebrow { padding: 5px 11px; font-size: 10px; }
}
@media (max-width: 1024px) {
  .quali-areas { grid-template-columns: 1fr 1fr; }
  .bb-skills, .bb-facts, .bb-career { grid-template-columns: 1fr 1fr; }
  .bb-gallery { grid-template-columns: 1fr 1fr; }
  .galerie-grid { grid-template-columns: 1fr 1fr; }
  .taetigkeiten-grid { grid-template-columns: 1fr 1fr; }
  .vorstand-grid { grid-template-columns: 1fr 1fr 1fr; }
  .lb-abc-items { grid-template-columns: 1fr 1fr; gap: 4px 18px; }
  .aus-stats { grid-template-columns: 1fr 1fr 1fr; }
  .diplomfeier-galerie { grid-template-columns: 1fr 1fr 1fr; }
  .bivo-videos { grid-template-columns: 1fr 1fr; }
  .lb-grid { grid-template-columns: 1fr 1fr; }
}
