/* =================================================================
   LAS-PALMAS-24.COM · Template CSS v2.0
   Datei: phpwcms_template/inc_css/lp24.css
   Einbinden im Head: <link rel="stylesheet" href="{TEMPLATE}inc_css/lp24.css">

   Architektur:
   - CSS Custom Properties für alle Farben/Abstände
   - Mobile-first, kein Float, CSS Grid + Flexbox
   - Tailwind CDN wird für Prototyping genutzt;
     für Produktion: Tailwind CLI standalone binary
     (kein npm nötig, läuft auf Ubuntu 24)
   ================================================================= */

/* ─── Design Tokens ─── */
:root {
  /* Markenfarbe */
  --lp24-brand:        #cc6601;
  --lp24-brand-dark:   #a85200;
  --lp24-brand-light:  #fdf5e8;
  --lp24-brand-mid:    #fae8c8;

  /* Grautöne */
  --lp24-gray-50:  #f9fafb;
  --lp24-gray-100: #f3f4f6;
  --lp24-gray-200: #e5e7eb;
  --lp24-gray-300: #d1d5db;
  --lp24-gray-400: #9ca3af;
  --lp24-gray-500: #6b7280;
  --lp24-gray-600: #4b5563;
  --lp24-gray-700: #374151;
  --lp24-gray-800: #1f2937;
  --lp24-gray-900: #111827;

  /* Typografie */
  --lp24-font-heading: 'Playfair Display', Georgia, serif;
  --lp24-font-body:    'Source Sans 3', system-ui, sans-serif;

  /* Layout */
  --lp24-max-width:    1280px;
  --lp24-header-h:     56px;
  --lp24-sidebar-w:    320px;
  --lp24-gap:          2.5rem;

  /* Radii */
  --lp24-radius:       0.75rem;
  --lp24-radius-sm:    0.5rem;

  /* Schatten */
  --lp24-shadow-sm:    0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.05);
  --lp24-shadow:       0 4px 12px rgba(0,0,0,.10);
  --lp24-shadow-lg:    0 10px 30px rgba(0,0,0,.15);

  /* Transitions */
  --lp24-ease:         cubic-bezier(.4,0,.2,1);
}

/* ─── Reset / Base ─── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--lp24-font-body);
  color: var(--lp24-gray-700);
  background: #fff;
  margin: 0;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 {
  font-family: var(--lp24-font-heading);
  color: var(--lp24-gray-700);
  line-height: 1.2;
  margin-top: 0;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { margin: 0; padding: 0; list-style: none; }
body.lp24-noscroll { overflow: hidden; }


/* ═══════════════════════════════════════════
   TOP BAR
═══════════════════════════════════════════ */
.lp24-topbar {
  background: var(--lp24-gray-800);
  color: var(--lp24-gray-400);
  font-size: .75rem;
  height: 2rem;
}
.lp24-topbar-inner {
  max-width: var(--lp24-max-width);
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.lp24-lang { display: flex; align-items: center; gap: .5rem; }
.lp24-lang a { color: var(--lp24-gray-400); transition: color .15s; }
.lp24-lang a:hover, .lp24-lang-active { color: #fff !important; font-weight: 600; }
.lp24-sep { opacity: .4; }
.lp24-searchform { display: flex; align-items: center; gap: .25rem; }
.lp24-searchinput {
  background: var(--lp24-gray-700);
  color: #fff;
  border: none;
  border-radius: .25rem;
  padding: .2rem .5rem;
  font-size: .75rem;
  width: 9rem;
  outline: none;
}
.lp24-searchinput:focus { box-shadow: 0 0 0 2px var(--lp24-brand); }
.lp24-searchbtn { background: none; border: none; cursor: pointer; color: var(--lp24-gray-400); padding: .2rem; }
.lp24-searchbtn:hover { color: #fff; }


/* ═══════════════════════════════════════════
   HEADER / NAVBAR
═══════════════════════════════════════════ */
.lp24-header {
  background: #fff;
  border-bottom: 1px solid var(--lp24-gray-200);
  position: sticky;
  top: 0;
  z-index: 200;
  transition: box-shadow .2s var(--lp24-ease);
}
.lp24-header.has-shadow { box-shadow: var(--lp24-shadow); }
.lp24-header-inner {
  max-width: var(--lp24-max-width);
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--lp24-header-h);
  gap: 1rem;
}

/* Logo */
.lp24-logo { display: flex; align-items: center; gap: .4rem; flex-shrink: 0; }
.lp24-logo-text { font-family: var(--lp24-font-heading); font-size: 1.25rem; font-weight: 700; color: var(--lp24-brand); line-height: 1; }
.lp24-logo-badge { background: var(--lp24-brand); color: #fff; font-size: .7rem; font-weight: 700; padding: .15rem .35rem; border-radius: .25rem; }

/* Desktop Nav – phpwcms gibt hier HTML aus Content-Part zurück.
   Der Content-Part sollte folgende Klassen verwenden: */
.lp24-mainnav { display: none; }
@media (min-width: 1024px) { .lp24-mainnav { display: flex; align-items: center; gap: .1rem; font-size: .875rem; font-weight: 600; } }

/* Nav-Item-Muster (im Content-Part verwenden) */
.lp24-nav-item { position: relative; }
.lp24-nav-btn {
  display: flex; align-items: center; gap: .25rem;
  padding: 1rem .75rem;
  color: var(--lp24-gray-700);
  background: none; border: none; cursor: pointer;
  font: inherit; font-weight: 600;
  white-space: nowrap;
  transition: color .15s;
}
.lp24-nav-btn:hover, .lp24-nav-btn:focus-visible { color: var(--lp24-brand); outline: none; }
.lp24-nav-btn svg { opacity: .5; transition: transform .2s; }
.lp24-nav-item:hover .lp24-nav-btn svg,
.lp24-nav-item:focus-within .lp24-nav-btn svg { transform: rotate(180deg); }

/* Dropdown */
.lp24-dropdown {
  display: none;
  position: absolute;
  top: 100%; left: 0;
  background: #fff;
  border: 1px solid var(--lp24-gray-200);
  box-shadow: var(--lp24-shadow-lg);
  border-radius: 0 0 var(--lp24-radius) var(--lp24-radius);
  min-width: 15rem;
  z-index: 300;
  padding: .5rem 0;
}
.lp24-nav-item:hover .lp24-dropdown,
.lp24-nav-item:focus-within .lp24-dropdown { display: block; }
.lp24-dropdown a {
  display: block; padding: .5rem 1rem;
  font-size: .8125rem; color: var(--lp24-gray-600);
  transition: background .1s, color .1s;
}
.lp24-dropdown a:hover { background: var(--lp24-gray-50); color: var(--lp24-brand); }
.lp24-dropdown-group {
  padding: .25rem .75rem .15rem;
  font-size: .6875rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--lp24-gray-400);
}
.lp24-dropdown hr { border: none; border-top: 1px solid var(--lp24-gray-100); margin: .25rem 0; }

/* Off-Canvas Trigger */
.lp24-header-actions { display: flex; align-items: center; gap: .5rem; }
.lp24-oc-trigger {
  display: flex; align-items: center; gap: .375rem;
  padding: .375rem .625rem;
  background: none;
  border: 1px solid var(--lp24-gray-200);
  border-radius: var(--lp24-radius-sm);
  cursor: pointer;
  color: var(--lp24-gray-600);
  font: inherit; font-size: .8125rem; font-weight: 600;
  transition: border-color .15s, color .15s;
}
.lp24-oc-trigger:hover { border-color: var(--lp24-brand); color: var(--lp24-brand); }
.lp24-oc-label { display: none; }
@media (min-width: 640px) { .lp24-oc-label { display: inline; } }


/* ═══════════════════════════════════════════
   OFF-CANVAS
═══════════════════════════════════════════ */
.lp24-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,.5);
  backdrop-filter: blur(2px);
  z-index: 400;
}
.lp24-overlay.is-open { display: block; }

.lp24-offcanvas {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: min(22rem, 100vw);
  background: #fff;
  z-index: 500;
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform .28s var(--lp24-ease);
  box-shadow: var(--lp24-shadow-lg);
}
.lp24-offcanvas.is-open { transform: translateX(0); }

.lp24-offcanvas-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--lp24-gray-100);
  background: var(--lp24-gray-50);
  position: sticky; top: 0; z-index: 1;
}
.lp24-offcanvas-heading { font-family: var(--lp24-font-heading); font-size: 1.1rem; font-weight: 700; color: var(--lp24-gray-800); }
.lp24-offcanvas-close {
  background: none; border: none; cursor: pointer;
  color: var(--lp24-gray-400); padding: .375rem;
  border-radius: .375rem; transition: background .15s, color .15s;
}
.lp24-offcanvas-close:hover { background: var(--lp24-gray-200); color: var(--lp24-gray-700); }
.lp24-offcanvas-nav { padding: .75rem 1rem 2rem; }

/* Accordion */
.lp24-acc-group {
  border: 1px solid var(--lp24-gray-100);
  border-radius: var(--lp24-radius-sm);
  overflow: hidden;
  margin-bottom: .375rem;
}
.lp24-acc-toggle {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: .75rem 1rem;
  background: #fff;
  border: none; cursor: pointer;
  font: inherit; font-size: .875rem; font-weight: 600; color: var(--lp24-gray-700);
  text-align: left;
  transition: background .15s;
}
.lp24-acc-toggle:hover { background: var(--lp24-gray-50); }
.lp24-acc-icon { transition: transform .2s; flex-shrink: 0; }
.lp24-acc-body {
  max-height: 0; overflow: hidden;
  background: var(--lp24-gray-50);
  padding: 0 1rem;
  transition: max-height .3s var(--lp24-ease);
}
.lp24-acc-body.is-open { max-height: 800px; }
.lp24-acc-body a {
  display: block; padding: .4rem 0;
  font-size: .8125rem; color: var(--lp24-gray-600);
  border-bottom: 1px solid transparent;
  transition: color .1s;
}
.lp24-acc-body a:hover { color: var(--lp24-brand); }
.lp24-acc-sub-label {
  margin-top: .5rem; padding-top: .5rem;
  border-top: 1px solid var(--lp24-gray-200);
  font-size: .6875rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .06em; color: var(--lp24-gray-400);
}


/* ═══════════════════════════════════════════
   HERO
═══════════════════════════════════════════ */
.lp24-hero {
  background: var(--lp24-gray-100);
  position: relative;
  overflow: hidden;
}
.lp24-hero-inner {
  max-width: var(--lp24-max-width);
  margin: 0 auto;
  position: relative;
  min-height: 280px;
  display: flex;
  align-items: center;
}
@media (min-width: 768px)  { .lp24-hero-inner { min-height: 340px; } }
@media (min-width: 1024px) { .lp24-hero-inner { min-height: 400px; } }

.lp24-hero-img-wrap {
  position: absolute;
  inset: 0;
  left: 0;
}
@media (min-width: 1024px) { .lp24-hero-img-wrap { left: 28%; } }

.lp24-hero-img-wrap img,
.lp24-hero-img-wrap .lp24-hero-bg {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  display: block;
}
/* Gradient Overlay */
.lp24-hero-img-wrap::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg,
    rgba(243,244,246,1)   0%,
    rgba(243,244,246,.95) 25%,
    rgba(243,244,246,.6)  50%,
    rgba(243,244,246,0)   72%
  );
}
@media (max-width: 1023px) {
  .lp24-hero-img-wrap::after {
    background: linear-gradient(180deg,
      rgba(243,244,246,.2)  0%,
      rgba(243,244,246,.85) 60%,
      rgba(243,244,246,1)   100%
    );
  }
}

.lp24-hero-text {
  position: relative;
  z-index: 1;
  padding: 2.5rem 1.25rem;
  width: 100%;
  max-width: 36rem;
}
@media (min-width: 1024px) {
  .lp24-hero-text { padding: 3rem 2.5rem; width: 50%; }
}

.lp24-hero-label {
  font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--lp24-brand); margin-bottom: .5rem;
}
.lp24-page-title {
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--lp24-gray-700);
  margin-bottom: 1rem;
  line-height: 1.15;
}

/* CATNAVI – kurze Einleitung / Teaser unter dem Titel */
.lp24-hero-text .catnavi,
.lp24-hero-text p {
  color: var(--lp24-gray-600);
  font-size: 1rem;
  line-height: 1.65;
  max-width: 30rem;
  margin-bottom: 1.5rem;
}


/* ═══════════════════════════════════════════
   INFO-BAR
═══════════════════════════════════════════ */
.lp24-infobar {
  background: #fff;
  border-bottom: 1px solid var(--lp24-gray-200);
  box-shadow: var(--lp24-shadow-sm);
}
.lp24-infobar-inner {
  max-width: var(--lp24-max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 1024px) { .lp24-infobar-inner { grid-template-columns: repeat(4, 1fr); } }

/* Einzelne Kacheln (phpwcms Content-Part liefert diese Klassen) */
.lp24-info-tile {
  display: flex; align-items: center; gap: .75rem;
  padding: .75rem 1rem;
  border-right: 1px solid var(--lp24-gray-200);
  text-decoration: none;
  transition: background .15s;
}
.lp24-info-tile:last-child { border-right: none; }
.lp24-info-tile:hover { background: var(--lp24-gray-50); }
.lp24-info-tile:hover .lp24-info-value { color: var(--lp24-brand); }

.lp24-info-icon {
  flex-shrink: 0;
  width: 2.5rem; height: 2.5rem;
  border-radius: 50%;
  background: var(--lp24-gray-100);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem;
}
.lp24-info-label { font-size: .7rem; color: var(--lp24-gray-500); font-weight: 600; }
.lp24-info-value { font-size: .875rem; font-weight: 700; color: var(--lp24-gray-800); }
.lp24-info-sub   { font-size: .7rem; color: var(--lp24-gray-400); }


/* ═══════════════════════════════════════════
   BREADCRUMB
   phpwcms gibt {BREADCRUMB} als <ul> aus –
   Klassen via conf.template_default.inc.php setzen
═══════════════════════════════════════════ */
.lp24-breadcrumb-bar {
  background: #fff;
  border-bottom: 1px solid var(--lp24-gray-100);
}
.lp24-breadcrumb-inner {
  max-width: var(--lp24-max-width);
  margin: 0 auto;
  padding: .625rem 1rem;
}
/* phpwcms Breadcrumb-Output-Anpassung */
.lp24-breadcrumb-inner nav ul,
.lp24-breadcrumb-inner nav ol {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: .25rem;
  list-style: none; margin: 0; padding: 0;
  font-size: .75rem; color: var(--lp24-gray-500);
}
.lp24-breadcrumb-inner nav a { color: var(--lp24-gray-500); transition: color .1s; }
.lp24-breadcrumb-inner nav a:hover { color: var(--lp24-brand); }
.lp24-breadcrumb-inner nav li + li::before {
  content: '›';
  margin-right: .25rem;
  opacity: .5;
}


/* ═══════════════════════════════════════════
   HAUPTINHALT
═══════════════════════════════════════════ */
.lp24-main { padding: 2rem 0 4rem; }
.lp24-main-inner {
  max-width: var(--lp24-max-width);
  margin: 0 auto;
  padding: 0 1rem;
}

/* ── Mobile Carousel ── */
.lp24-mob-carousel-wrap { margin-bottom: 1.5rem; }
@media (min-width: 1024px) { .lp24-mob-carousel-wrap { display: none; } }

.lp24-mob-carousel-label {
  font-size: .6875rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; color: var(--lp24-gray-400);
  margin-bottom: .5rem;
}
.lp24-mob-carousel {
  display: flex; gap: .75rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: .75rem;
  margin: 0 -1rem; padding-left: 1rem; padding-right: 1rem;
}
.lp24-mob-carousel::-webkit-scrollbar { height: 3px; }
.lp24-mob-carousel::-webkit-scrollbar-thumb { background: var(--lp24-gray-200); border-radius: 2px; }

/* Carousel-Kachel (Content-Part gibt diese Klasse) */
.lp24-mob-card {
  flex-shrink: 0;
  width: 13rem;
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid var(--lp24-gray-200);
  border-radius: var(--lp24-radius);
  padding: 1rem;
  box-shadow: var(--lp24-shadow-sm);
}
.lp24-mob-card-icon { font-size: 1.25rem; margin-bottom: .375rem; }
.lp24-mob-card-title { font-size: .8125rem; font-weight: 600; color: var(--lp24-gray-700); margin-bottom: .25rem; }
.lp24-mob-card-value { font-size: 1.5rem; font-weight: 700; color: var(--lp24-gray-900); line-height: 1; }
.lp24-mob-card-sub   { font-size: .7rem; color: var(--lp24-gray-500); margin-top: .2rem; }
.lp24-mob-card-link  { font-size: .7rem; color: var(--lp24-brand); font-weight: 600; margin-top: .5rem; display: block; }

/* ── CSS Grid: Content + Sidebar ── */
.lp24-content-grid { display: block; }
@media (min-width: 1024px) {
  .lp24-content-grid {
    display: grid;
    grid-template-columns: 1fr var(--lp24-sidebar-w);
    gap: var(--lp24-gap);
    align-items: start;
  }
}

/* ── Artikel ── */
.lp24-article { min-width: 0; }

/* "In diesem Bereich"-Box */
.lp24-sibling-box {
  background: var(--lp24-gray-50);
  border: 1px solid var(--lp24-gray-200);
  border-radius: var(--lp24-radius);
  padding: 1rem;
  margin-bottom: 1.75rem;
}
.lp24-sibling-label {
  font-size: .6875rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; color: var(--lp24-gray-400);
  margin-bottom: .75rem;
}
.lp24-sibling-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .375rem;
}
@media (min-width: 640px) { .lp24-sibling-links { grid-template-columns: repeat(3, 1fr); } }

.lp24-sibling-list li a,
.lp24-sibling-links a {
  display: flex; align-items: center; gap: .375rem;
  padding: .5rem .75rem;
  background: #fff;
  border: 1px solid var(--lp24-gray-200);
  border-radius: var(--lp24-radius-sm);
  font-size: .8125rem; color: var(--lp24-gray-600);
  transition: border-color .15s, color .15s, background .15s;
}
.lp24-sibling-list li a:hover,
.lp24-sibling-links a:hover { border-color: var(--lp24-brand); color: var(--lp24-brand); background: var(--lp24-brand-light); }

/* phpwcms {CONTENT} Output – Typografie */
.lp24-article p { line-height: 1.75; margin-bottom: 1.25rem; color: var(--lp24-gray-600); }
.lp24-article h2 { font-size: clamp(1.35rem, 2.5vw, 1.75rem); margin: 2rem 0 1rem; scroll-margin-top: 5rem; }
.lp24-article h3 { font-size: 1.2rem; margin: 1.5rem 0 .75rem; scroll-margin-top: 5rem; }
.lp24-article figure { margin: 1.5rem 0; }
.lp24-article figure img { border-radius: var(--lp24-radius); width: 100%; }
.lp24-article figcaption { font-size: .75rem; color: var(--lp24-gray-500); margin-top: .375rem; padding: 0 .25rem; }
.lp24-article ul, .lp24-article ol { list-style: disc; padding-left: 1.5rem; margin-bottom: 1.25rem; color: var(--lp24-gray-600); }
.lp24-article ol { list-style: decimal; }
.lp24-article li { margin-bottom: .375rem; line-height: 1.65; }
.lp24-article table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: .875rem; }
.lp24-article th { background: var(--lp24-gray-100); padding: .625rem .875rem; text-align: left; font-weight: 600; border: 1px solid var(--lp24-gray-200); }
.lp24-article td { padding: .5rem .875rem; border: 1px solid var(--lp24-gray-200); }
.lp24-article tr:nth-child(even) td { background: var(--lp24-gray-50); }
.lp24-article a { color: var(--lp24-brand); text-decoration: underline; text-decoration-color: transparent; transition: text-decoration-color .15s; }
.lp24-article a:hover { text-decoration-color: var(--lp24-brand); }

/* "Mehr zu diesem Thema" Tags */
.lp24-related-tags {
  background: var(--lp24-brand-light);
  border: 1px solid var(--lp24-brand-mid);
  border-radius: var(--lp24-radius);
  padding: 1.25rem;
  margin-top: 2.5rem;
}
.lp24-related-label {
  font-size: .6875rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; color: var(--lp24-brand);
  margin-bottom: .75rem;
}
.lp24-related-tags .lp24-tag-links { display: flex; flex-wrap: wrap; gap: .5rem; }
.lp24-tag-link {
  background: #fff;
  border: 1px solid var(--lp24-brand-mid);
  color: var(--lp24-brand);
  font-size: .8125rem; font-weight: 500;
  padding: .375rem .875rem;
  border-radius: var(--lp24-radius-sm);
  transition: background .15s;
}
.lp24-tag-link:hover { background: var(--lp24-brand-mid); }


/* ─── Sidebar ─── */
.lp24-sidebar {
  display: none;
}
@media (min-width: 1024px) {
  .lp24-sidebar {
    display: block;
    /* Kein sticky/overflow hier – TOC-Widget macht das selbst */
  }
}

/* Sidebar Scrollbar */
.lp24-sidebar::-webkit-scrollbar { width: 4px; }
.lp24-sidebar::-webkit-scrollbar-thumb { background: var(--lp24-gray-200); border-radius: 2px; }

/* Sidebar-Karten (phpwcms RIGHT Content-Part gibt diese aus) */
.lp24-sidebar-card {
  background: #fff;
  border: 1px solid var(--lp24-gray-200);
  border-radius: var(--lp24-radius);
  padding: 1rem;
  margin-bottom: 1.25rem;
  box-shadow: var(--lp24-shadow-sm);
}
.lp24-sidebar-card-title {
  font-size: .75rem;            /* war .6875rem */
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--lp24-gray-500); /* etwas dunkler als vorher */
  margin-bottom: .875rem;
}

/* TOC Widget – sticky im normalen Dokumentfluss */
.lp24-toc-widget { display: none; }
.lp24-toc-widget.is-visible {
  display: block;
  background: #fff;
  border: 1px solid var(--lp24-gray-200);
  border-radius: var(--lp24-radius);
  padding: 1rem;
  margin-bottom: 1.25rem;
  box-shadow: var(--lp24-shadow-sm);
  /* Sticky: funktioniert nur wenn kein overflow-Elternteil */
  position: sticky;
  top: calc(var(--lp24-header-h) + 1rem);
  /* Max-Height damit sehr lange TOCs scrollen */
  max-height: calc(100vh - var(--lp24-header-h) - 3rem);
  overflow-y: auto;
}
.lp24-toc-widget::-webkit-scrollbar { width: 3px; }
.lp24-toc-widget::-webkit-scrollbar-thumb { background: var(--lp24-gray-200); border-radius: 2px; }
.lp24-toc-label {
  font-size: .75rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .07em; color: var(--lp24-gray-500);
  margin-bottom: .75rem;
}
.lp24-toc-list { list-style: none; padding: 0; margin: 0; }
.lp24-toc-link {
  display: flex; align-items: center; gap: .5rem;
  padding: .35rem .5rem;
  font-size: .875rem;           /* war .8125rem */
  color: var(--lp24-gray-600);
  border-radius: .375rem;
  transition: background .1s, color .1s;
}
.lp24-toc-link:hover { background: var(--lp24-gray-50); color: var(--lp24-brand); }
.lp24-toc-link.is-active { background: var(--lp24-brand-light); color: var(--lp24-brand); font-weight: 600; }
.lp24-toc-sub { padding-left: 1.5rem; font-size: .8125rem; } /* war .75rem */


/* ═══════════════════════════════════════════
   FOOTER
   phpwcms Content-Part 9394 liefert das HTML
═══════════════════════════════════════════ */
.lp24-footer {
  background: var(--lp24-gray-900);
  color: var(--lp24-gray-400);
  padding: 3rem 0 0;
}
.lp24-footer-grid {
  max-width: var(--lp24-max-width);
  margin: 0 auto;
  padding: 0 1rem 3rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
@media (min-width: 768px) { .lp24-footer-grid { grid-template-columns: repeat(4, 1fr); } }

.lp24-footer-col-title {
  font-size: .75rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; color: #fff;
  margin-bottom: 1rem;
}
.lp24-footer-logo { font-family: var(--lp24-font-heading); font-size: 1.25rem; font-weight: 700; color: #fff; margin-bottom: 1rem; }
.lp24-footer-about { font-size: .875rem; line-height: 1.6; color: var(--lp24-gray-400); margin-bottom: 1rem; }
.lp24-footer-links li { margin-bottom: .375rem; }
.lp24-footer-links a { font-size: .8125rem; color: var(--lp24-gray-400); transition: color .15s; }
.lp24-footer-links a:hover { color: #fff; }
.lp24-footer-links .lp24-footer-highlight a { color: var(--lp24-brand); }
.lp24-footer-links .lp24-footer-highlight a:hover { color: var(--lp24-brand-dark); }

.lp24-footer-bottom {
  border-top: 1px solid var(--lp24-gray-800);
  padding: 1rem;
}
.lp24-footer-bottom-inner {
  max-width: var(--lp24-max-width);
  margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: .75rem;
  font-size: .75rem; color: var(--lp24-gray-500);
}
.lp24-footer-lang { display: flex; gap: 1rem; }
.lp24-footer-lang a { color: var(--lp24-gray-500); transition: color .15s; }
.lp24-footer-lang a:hover { color: var(--lp24-gray-300); }


/* ═══════════════════════════════════════════
   PHPWCMS BREADCRUMB – Klassen-Mapping
   In conf.template_default.inc.php setzen:
   $template_default['classes']['breadcrumb'] = 'lp24-bc-list';
   $template_default['classes']['breadcrumb-active'] = 'lp24-bc-active';
═══════════════════════════════════════════ */
.lp24-bc-list { display: flex; flex-wrap: wrap; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.lp24-bc-list li { display: flex; align-items: center; font-size: .75rem; color: var(--lp24-gray-500); }
.lp24-bc-list li + li::before { content: '›'; margin: 0 .25rem; opacity: .5; }
.lp24-bc-list a { color: var(--lp24-gray-500); transition: color .1s; }
.lp24-bc-list a:hover { color: var(--lp24-brand); }
.lp24-bc-active { color: var(--lp24-gray-700); font-weight: 500; }


/* ═══════════════════════════════════════════
   UTILITIES
═══════════════════════════════════════════ */
.lp24-sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.lp24-btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .625rem 1.25rem;
  font: inherit; font-size: .875rem; font-weight: 600;
  border-radius: var(--lp24-radius-sm);
  cursor: pointer; border: none;
  transition: background .15s, color .15s;
}
.lp24-btn-primary { background: var(--lp24-brand); color: #fff; }
.lp24-btn-primary:hover { background: var(--lp24-brand-dark); }
.lp24-btn-outline { background: #fff; color: var(--lp24-gray-700); border: 1px solid var(--lp24-gray-200); }
.lp24-btn-outline:hover { border-color: var(--lp24-brand); color: var(--lp24-brand); }


/* ═══════════════════════════════════════════
   ERGÄNZUNGEN CP-NAVBAR & OFF-CANVAS
   (Addendum zu lp24.css)
═══════════════════════════════════════════ */

/* Desktop Dropdown: Zugpferd-Links hervorheben */
.lp24-dd-highlight {
  font-weight: 600;
  color: var(--lp24-gray-800) !important;
}
.lp24-dd-highlight:hover {
  color: var(--lp24-brand) !important;
}

/* Off-Canvas Accordion: Sub-Label zwischen Links */
.lp24-acc-sub-label {
  display: block;
  margin: .6rem 0 .2rem;
  padding-top: .6rem;
  border-top: 1px solid var(--lp24-gray-200);
  font-size: .6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--lp24-gray-400);
}
/* erstes Sub-Label braucht keinen oberen Border */
.lp24-acc-body .lp24-acc-sub-label:first-child {
  border-top: none;
  margin-top: .25rem;
  padding-top: 0;
}

/* Off-Canvas: Fettgedruckte Zugpferd-Links */
.lp24-acc-body a strong {
  font-weight: 600;
  color: var(--lp24-gray-800);
}
.lp24-acc-body a:hover strong {
  color: var(--lp24-brand);
}

/* Off-Canvas: Innenabstand der Body-Sektion */
.lp24-acc-body > a,
.lp24-acc-body > .lp24-acc-sub-label {
  display: block;
  padding: .35rem 0;
}
/* Letzter Link: kein Border-Bottom */
.lp24-acc-body > a:last-child {
  padding-bottom: .6rem;
}

/* Desktop Nav: aktiver Menüpunkt (via JS oder PHP gesetzt) */
.lp24-nav-item.is-active > .lp24-nav-btn {
  color: var(--lp24-brand);
  border-bottom: 2px solid var(--lp24-brand);
}

/* Dropdown: min-width für breitere Gruppen */
.lp24-nav-item:nth-child(1) .lp24-dropdown,
.lp24-nav-item:nth-child(5) .lp24-dropdown { min-width: 17rem; }

/* Dropdown rechts ausrichten wenn am Rand */
.lp24-nav-item:last-child .lp24-dropdown,
.lp24-nav-item:nth-last-child(2) .lp24-dropdown {
  left: auto;
  right: 0;
}


/* ═══════════════════════════════════════════
   NAV_LIST_UL OUTPUT – Sibling-Box
   {NAV_LIST_UL:FP,0,1,lp24-sibling-path,lp24-sibling-active,lp24SiblingNav,0}
   phpwcms gibt <ul class="lp24-sibling-path"> mit <li> aus
═══════════════════════════════════════════ */
.lp24-sibling-links ul.lp24-sibling-path {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .375rem;
}
@media (min-width: 640px) {
  .lp24-sibling-links ul.lp24-sibling-path {
    grid-template-columns: repeat(3, 1fr);
  }
}

.lp24-sibling-links ul.lp24-sibling-path li {
  margin: 0; padding: 0;
}

.lp24-sibling-links ul.lp24-sibling-path li a {
  display: flex;
  align-items: center;
  padding: .5rem .75rem;
  background: #fff;
  border: 1px solid var(--lp24-gray-200);
  border-radius: var(--lp24-radius-sm);
  font-size: .8125rem;
  color: var(--lp24-gray-600);
  text-decoration: none;
  transition: border-color .15s, color .15s, background .15s;
  line-height: 1.3;
}
.lp24-sibling-links ul.lp24-sibling-path li a:hover {
  border-color: var(--lp24-brand);
  color: var(--lp24-brand);
  background: var(--lp24-brand-light);
}

/* Aktive/aktuelle Seite */
.lp24-sibling-links ul.lp24-sibling-path li.lp24-sibling-active > a,
.lp24-sibling-links ul.lp24-sibling-path li.act_path > a {
  border-color: var(--lp24-brand);
  color: var(--lp24-brand);
  background: var(--lp24-brand-light);
  font-weight: 600;
}

/* Keine verschachtelten Sub-Listen anzeigen */
.lp24-sibling-links ul.lp24-sibling-path ul {
  display: none;
}


/* ═══════════════════════════════════════════
   HERO – Bild-Wrapper aus lp24-hero.tmpl
   .lp24-hero-img-outer ersetzt .lp24-hero-img-wrap
   wenn Bild aus CP kommt
═══════════════════════════════════════════ */
.lp24-hero-img-outer {
  position: absolute;
  inset: 0;
  left: 0;
}
@media (min-width: 1024px) {
  .lp24-hero-img-outer { left: 28%; }
}
.lp24-hero-img-outer::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg,
    rgba(243,244,246,1)   0%,
    rgba(243,244,246,.95) 25%,
    rgba(243,244,246,.6)  50%,
    rgba(243,244,246,0)   72%
  );
}
@media (max-width: 1023px) {
  .lp24-hero-img-outer::after {
    background: linear-gradient(180deg,
      rgba(243,244,246,.2)  0%,
      rgba(243,244,246,.85) 60%,
      rgba(243,244,246,1)   100%
    );
  }
}

/* Subtitle im Hero */
.lp24-hero-subtitle {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--lp24-gray-600);
  margin-bottom: .75rem;
}


/* ═══════════════════════════════════════════
   SIDEBAR KARTEN – Wetter + Transfer
═══════════════════════════════════════════ */

/* Wetter */
.lp24-weather-display {
  display: block;
  text-decoration: none;
  background: linear-gradient(135deg, #0ea5e9, #0369a1);
  border-radius: var(--lp24-radius-sm);
  padding: 1rem;
  color: #fff;
  transition: opacity .15s;
}
.lp24-weather-display:hover { opacity: .92; }

.lp24-weather-main {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: .25rem;
}
.lp24-weather-icon { font-size: 2rem; line-height: 1; }
.lp24-weather-temp { font-size: 2rem; font-weight: 700; line-height: 1; }

.lp24-weather-desc {
  font-size: .875rem;           /* war .8rem */
  opacity: .85;
  margin-bottom: .75rem;
}

.lp24-weather-days {
  display: flex;
  gap: .25rem;
  border-top: 1px solid rgba(255,255,255,.2);
  padding-top: .6rem;
  margin-bottom: .6rem;
}
.lp24-weather-day {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .15rem;
  font-size: .75rem;            /* war .7rem */
}
.lp24-weather-day span:first-child { opacity: .7; }
.lp24-weather-day span:last-child  { font-weight: 700; }

.lp24-weather-link {
  font-size: .8125rem;          /* war .75rem */
  font-weight: 600;
  opacity: .9;
  text-align: right;
}

/* Transfer */
.lp24-sidebar-transfer-text {
  font-size: .875rem;           /* war .8125rem */
  color: var(--lp24-gray-600);
  line-height: 1.55;
  margin-bottom: .875rem;
}

.lp24-sidebar-transfer-btn {
  display: block;
  background: var(--lp24-brand);
  color: #fff;
  text-align: center;
  padding: .625rem 1rem;
  border-radius: var(--lp24-radius-sm);
  font-size: .9375rem;          /* war .875rem */
  font-weight: 700;
  text-decoration: none;
  transition: background .15s;
  margin-bottom: .875rem;
}
.lp24-sidebar-transfer-btn:hover { background: var(--lp24-brand-dark); }

.lp24-sidebar-transfer-links {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  border-top: 1px solid var(--lp24-gray-100);
  padding-top: .75rem;
}
.lp24-sidebar-transfer-links a {
  font-size: .875rem;           /* war .8rem */
  color: var(--lp24-gray-500);
  text-decoration: none;
  transition: color .1s;
}
.lp24-sidebar-transfer-links a:hover { color: var(--lp24-brand); }


/* ═══════════════════════════════════════════
   TEASER GRID – 2-spaltig, automatisch umbrechen
   template/inc_cntpart/teaser/lp24-teaser-grid.html
═══════════════════════════════════════════ */
.lp24-teaser-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 1.5rem 0;
}

.lp24-teaser-tile {
  display: flex;
  flex-direction: column;
  background: var(--lp24-gray-50);   /* ganze Kachel hellgrau */
  border: none;                       /* kein Rand */
  border-radius: var(--lp24-radius);
  overflow: hidden;
  text-decoration: none;
  box-shadow: var(--lp24-shadow-sm);
  transition: box-shadow .2s var(--lp24-ease), transform .2s var(--lp24-ease);
}
.lp24-teaser-tile:hover {
  box-shadow: var(--lp24-shadow);
  transform: translateY(-2px);
}

/* Quadratisches Bild – kein eigener Rand mehr, Kachel ist bereits grau */
.lp24-teaser-tile-img {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--lp24-gray-100);
  flex-shrink: 0;
  border-bottom: 1px solid var(--lp24-gray-200);
  padding: 3px;
}
.lp24-teaser-tile-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: calc(var(--lp24-radius) - 4px);
  transition: transform .3s var(--lp24-ease);
}
.lp24-teaser-tile:hover .lp24-teaser-tile-img img {
  transform: scale(1.04);
}
.lp24-teaser-tile-noimg {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--lp24-gray-100), var(--lp24-gray-200));
  border-radius: calc(var(--lp24-radius) - 4px);
}

/* Text-Block – weniger oberes Padding */
.lp24-teaser-tile-body {
  padding: .5rem .75rem .75rem;   /* oben reduziert von .75 auf .5 */
  flex: 1;
  min-height: 0;
  overflow: hidden;
  background: transparent;        /* Kachel-Hintergrund durchscheinen lassen */
}
.lp24-teaser-tile-title {
  font-family: var(--lp24-font-heading);
  font-size: .9375rem;
  font-weight: 700;
  color: var(--lp24-gray-700);
  margin: 0 0 .2rem;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color .15s;
}
.lp24-teaser-tile:hover .lp24-teaser-tile-title {
  color: var(--lp24-brand);
}
.lp24-teaser-tile-sub {
  font-size: .875rem;              /* grösser: war .75rem */
  font-weight: 600;
  color: var(--lp24-brand);
  margin: 0 0 .25rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lp24-teaser-tile-text {
  font-size: .8125rem;
  color: var(--lp24-gray-500);
  margin: 0;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Mobile: 1 Spalte unter 480px */
@media (max-width: 479px) {
  .lp24-teaser-grid { grid-template-columns: 1fr; }
}


/* ═══════════════════════════════════════════
   TEASER LIST – 1-spaltig, Sidebar
   template/inc_cntpart/teaser/lp24-teaser-sidebar.html
═══════════════════════════════════════════ */
.lp24-teaser-list {
  display: flex;
  flex-direction: column;
  gap: .25rem;
}

.lp24-teaser-list-item {
  display: flex;
  align-items: flex-start;
  gap: .875rem;
  padding: .75rem .5rem;
  text-decoration: none;
  border-radius: var(--lp24-radius-sm);
  transition: background .15s;
}
/* Abwechselnde Hintergründe */
.lp24-teaser-list-item:nth-child(odd) {
  background: transparent;
}
.lp24-teaser-list-item:nth-child(even) {
  background: var(--lp24-gray-50);
}
.lp24-teaser-list-item:hover {
  background: var(--lp24-brand-light) !important;
}

/* Bild: 120x120, mit Rand + grauem Hintergrund */
.lp24-teaser-list-img {
  flex-shrink: 0;
  width: 5rem;     /* 80px – gut lesbar in 320px Sidebar */
  height: 5rem;
  border-radius: var(--lp24-radius-sm);
  overflow: hidden;
  background: var(--lp24-gray-100);
  border: 1px solid var(--lp24-gray-200);
  padding: 2px;
}
.lp24-teaser-list-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: calc(var(--lp24-radius-sm) - 3px);
}

.lp24-teaser-list-body {
  flex: 1;
  min-width: 0;
  padding-top: .1rem;
}
.lp24-teaser-list-title {
  font-size: .9rem;
  font-weight: 600;
  color: var(--lp24-gray-700);
  line-height: 1.35;
  margin-bottom: .3rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color .15s;
}
.lp24-teaser-list-item:hover .lp24-teaser-list-title {
  color: var(--lp24-brand);
}
.lp24-teaser-list-sub {
  font-size: .775rem;
  font-weight: 600;
  color: var(--lp24-brand);
  margin-bottom: .2rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lp24-teaser-list-text {
  font-size: .8rem;
  color: var(--lp24-gray-500);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}


/* ═══════════════════════════════════════════
   TABS – Register (CP Tabs)
   template/inc_cntpart/tabs/lp24-tabs.tmpl
═══════════════════════════════════════════ */
.lp24-tabs {
  margin: 1.5rem 0;
}

/* Tab-Navigation */
.lp24-tabs-nav {
  display: flex;
  flex-wrap: wrap;
  gap: .25rem;
  border-bottom: 2px solid var(--lp24-gray-200);
  margin-bottom: 0;
}

.lp24-tab-btn {
  padding: .6rem 1.1rem;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;        /* überlappt den Border der Nav */
  font: inherit;
  font-size: .875rem;
  font-weight: 600;
  color: var(--lp24-gray-500);
  cursor: pointer;
  border-radius: var(--lp24-radius-sm) var(--lp24-radius-sm) 0 0;
  transition: color .15s, background .15s, border-color .15s;
  white-space: nowrap;
}
.lp24-tab-btn:hover {
  color: var(--lp24-gray-700);
  background: var(--lp24-gray-50);
}
.lp24-tab-btn--active {
  color: var(--lp24-brand);
  border-bottom-color: var(--lp24-brand);
  background: #fff;
}

/* Tab-Panels */
.lp24-tabs-panels {
  border: 1px solid var(--lp24-gray-200);
  border-top: none;
  border-radius: 0 0 var(--lp24-radius) var(--lp24-radius);
  background: #fff;
}

.lp24-tab-panel {
  padding: 1.25rem 1.5rem;
  display: none;
}
.lp24-tab-panel--active {
  display: block;
}

/* Typografie im Panel */
.lp24-tab-panel h2 { font-size: 1.25rem; margin-top: 0; }
.lp24-tab-panel h3 { font-size: 1.1rem; }
.lp24-tab-panel p  { color: var(--lp24-gray-600); line-height: 1.7; }
.lp24-tab-panel ul,
.lp24-tab-panel ol { padding-left: 1.5rem; color: var(--lp24-gray-600); }
.lp24-tab-panel li { margin-bottom: .375rem; line-height: 1.65; }

/* Mobile: horizontal scrollen wenn viele Tabs */
@media (max-width: 639px) {
  .lp24-tabs-nav {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .lp24-tabs-nav::-webkit-scrollbar { display: none; }
  .lp24-tab-btn { flex-shrink: 0; }
  .lp24-tab-panel { padding: 1rem; }
}

/* ═══════════════════════════════════════════
   TABS – Register (CP Tabs)
   Variante Standard:  inc_cntpart/tabs/lp24-tabs.tmpl
   Variante Orange:    inc_cntpart/tabs/lp24-tabs-orange.tmpl
═══════════════════════════════════════════ */
.lp24-tabs {
  margin: 1.5rem 0;
}

/* ── Tab-Navigation (Standard) ── */
.lp24-tabs-nav {
  display: flex;
  flex-wrap: wrap;
  gap: .25rem;
  border-bottom: 2px solid var(--lp24-gray-200);
  margin-bottom: 0;
}

.lp24-tab-btn {
  padding: .6rem 1.1rem;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  font: inherit;
  font-size: .875rem;
  font-weight: 600;
  color: var(--lp24-gray-500);
  cursor: pointer;
  border-radius: var(--lp24-radius-sm) var(--lp24-radius-sm) 0 0;
  transition: color .15s, background .15s, border-color .15s;
  white-space: nowrap;
}
.lp24-tab-btn:hover {
  color: var(--lp24-gray-700);
  background: var(--lp24-gray-50);
}
.lp24-tab-btn--active {
  color: var(--lp24-brand);
  border-bottom-color: var(--lp24-brand);
  background: #fff;
}

/* ── Tab-Panels (Standard) ── */
.lp24-tabs-panels {
  border: 1px solid var(--lp24-gray-200);
  border-top: none;
  border-radius: 0 0 var(--lp24-radius) var(--lp24-radius);
  background: #fff;
}

.lp24-tab-panel {
  padding: 1.25rem 1.5rem;
  display: none;
}
.lp24-tab-panel--active {
  display: block;
}

/* Typografie im Panel */
.lp24-tab-panel h2 { font-size: 1.25rem; margin-top: 0; }
.lp24-tab-panel h3 { font-size: 1.1rem; }
.lp24-tab-panel p  { color: var(--lp24-gray-600); line-height: 1.7; }
.lp24-tab-panel ul,
.lp24-tab-panel ol { padding-left: 1.5rem; color: var(--lp24-gray-600); }
.lp24-tab-panel li { margin-bottom: .375rem; line-height: 1.65; }

/* Mobile: horizontal scrollen wenn viele Tabs */
@media (max-width: 639px) {
  .lp24-tabs-nav {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .lp24-tabs-nav::-webkit-scrollbar { display: none; }
  .lp24-tab-btn { flex-shrink: 0; }
  .lp24-tab-panel { padding: 1rem; }
}


/* ── Orange-Variante (.lp24-tabs--orange) ──
   Nur der Kartenreiter selbst ist farbig,
   nicht die gesamte Nav-Leiste.
   Aktiv: #cc6601 (orange) mit weißer Schrift
   Inaktiv: mittelgrau mit weißer Schrift
═══════════════════════════════════════════ */
.lp24-tabs--orange .lp24-tabs-nav {
  border-bottom: none;
  background: transparent;
  gap: .25rem;
  padding: 0;
  align-items: flex-end;
}

.lp24-tabs--orange .lp24-tab-btn {
  background: var(--lp24-gray-400);  /* mittelgrau inaktiv */
  color: #fff;
  border: none;
  border-bottom: none;
  margin-bottom: 0;
  border-radius: var(--lp24-radius-sm) var(--lp24-radius-sm) 0 0;
  padding: .55rem 1.1rem;
  font-size: .875rem;
  font-weight: 600;
  opacity: .85;
  transition: background .15s, opacity .15s;
}
.lp24-tabs--orange .lp24-tab-btn:hover {
  background: var(--lp24-gray-500);
  color: #fff;
  opacity: 1;
}
.lp24-tabs--orange .lp24-tab-btn--active {
  background: var(--lp24-brand);     /* #cc6601 aktiv */
  color: #fff;
  opacity: 1;
  padding-top: .7rem;                /* aktiver Reiter etwas höher */
}

.lp24-tabs--orange .lp24-tabs-panels {
  background: var(--lp24-gray-50);
  border: 1px solid var(--lp24-gray-200);
  border-top: 3px solid var(--lp24-brand);  /* orange Oberlinie */
  border-radius: 0 0 var(--lp24-radius) var(--lp24-radius);
}

/* ═══════════════════════════════════════════
   FAQ ACCORDION
   Template: inc_cntpart/faq/lp24-faq.tmpl
   → ans Ende der lp24.css anhängen
═══════════════════════════════════════════ */
.lp24-faq-wrap {
  margin: 1.5rem 0;
}

.lp24-faq-heading {
  font-family: var(--lp24-font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--lp24-gray-700);
  margin-bottom: 1rem;
}

/* ── FAQ-Item ── */
.lp24-faq-item {
  border-radius: var(--lp24-radius-sm);
  margin-bottom: .375rem;
  overflow: hidden;
}

/* ── Toggle-Button (Frage / Reiter) ── */
.lp24-faq-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .85rem 1.1rem;
  background: var(--lp24-gray-100);   /* inaktiv: grau */
  border: 1px solid var(--lp24-gray-200);
  border-radius: var(--lp24-radius-sm);
  cursor: pointer;
  font: inherit;
  font-size: .9375rem;
  font-weight: 600;
  color: var(--lp24-gray-700);
  text-align: left;
  transition: background .15s, color .15s, border-color .15s,
              border-radius .15s;
}
.lp24-faq-toggle:hover {
  background: var(--lp24-gray-200);
  color: var(--lp24-gray-800);
}

/* Aktiver Reiter: orange */
.lp24-faq-toggle[aria-expanded="true"] {
  background: var(--lp24-brand);
  color: #fff;
  border-color: var(--lp24-brand);
  border-radius: var(--lp24-radius-sm) var(--lp24-radius-sm) 0 0;
}

/* Pfeil-Icon */
.lp24-faq-icon {
  flex-shrink: 0;
  transition: transform .25s var(--lp24-ease);
}
.lp24-faq-toggle[aria-expanded="true"] .lp24-faq-icon {
  transform: rotate(180deg);
}

/* ── Antwort-Body ── */
.lp24-faq-body {
  max-height: 0;
  overflow: hidden;
  background: var(--lp24-gray-50);
  border: 1px solid var(--lp24-brand);
  border-top: none;
  border-radius: 0 0 var(--lp24-radius-sm) var(--lp24-radius-sm);
  transition: max-height .3s var(--lp24-ease);
}
.lp24-faq-body.is-open {
  max-height: 1200px;
}

.lp24-faq-answer {
  padding: 1rem 1.25rem 1.25rem;
  font-size: .9375rem;
  color: var(--lp24-gray-600);
  line-height: 1.7;
}
.lp24-faq-answer p  { margin-bottom: .75rem; }
.lp24-faq-answer p:last-child { margin-bottom: 0; }
.lp24-faq-answer a  { color: var(--lp24-brand); text-decoration: underline; }
.lp24-faq-answer ul,
.lp24-faq-answer ol { padding-left: 1.5rem; margin-bottom: .75rem; }
.lp24-faq-answer li { margin-bottom: .3rem; }

/* Bild im FAQ */
.lp24-faq-img {
  padding: 1rem 1.25rem 0;
}
.lp24-faq-img img {
  border-radius: var(--lp24-radius-sm);
  max-width: 100%;
}
.lp24-faq-caption {
  font-size: .75rem;
  color: var(--lp24-gray-500);
  margin-top: .375rem;
}
