/* --- assets/design.css --- */
:root {
  --xeno-text: #1a1a1a;
  --xeno-accent: #c49a3c;
  --xeno-primary: #1a365d;
  --xeno-secondary: #2d4a7a;
  --xeno-background: #ffffff;
  --xeno-heading-font: Playfair Display, Georgia, serif;
  --xeno-body-font: Source Sans 3, Open Sans, Arial, sans-serif;
}


/* --- assets/style.css --- */
/**
 * LAO Events – Hauptstylesheet
 * 
 * Visueller Klon der Landesakademie Ochsenhausen (landesakademie-ochsenhausen.de).
 * Nutzt Bootstrap 3 Grid-Logik (container 1170px), Montserrat für UI-Elemente,
 * serif-nah für Überschriften. Farbschema: Grün (#6a8c3a), Lila (#8b6aad),
 * Blau (#4a90b8), Gelb (#c9a52c), Orange (#d67c2a), Rot (#c04040).
 */

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; -webkit-font-smoothing: antialiased; scroll-behavior: smooth; }
body {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: #333;
  background: #fff;
}
a { color: #337ab7; text-decoration: none; }
a:hover { color: #23527c; text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
h1, h2, h3, h4, h5 { line-height: 1.3; }

/* ===== CONTAINER ===== */
.container {
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 15px;
}
.row { display: flex; flex-wrap: wrap; margin: 0 -15px; }
.row > * { padding: 0 15px; }

/* ===== UTILITIES ===== */
.text-center { text-align: center; }
.to-uppercase { text-transform: uppercase; }
.montserrat { font-family: 'Montserrat', 'Helvetica Neue', sans-serif; }
.clearfix::after { content: ''; display: table; clear: both; }
.mobile-padding { padding: 0 15px; }
.img-responsive { max-width: 100%; height: auto; }

/* ===== HEADER / NAVBAR ===== */
.navbar {
  background: #fff;
  border-bottom: none;
  padding: 0;
  position: relative;
  z-index: 100;
}
.navbar .container {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
.navbar-header {
  flex-shrink: 0;
  padding: 10px 0;
}
.navbar-header .logo {
  display: block;
}
.navbar-header .logo img {
  height: 80px;
  width: auto;
}
.navbar-collapse {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

/* Top menu bar (Kontakt | Stellenangebote | Anreise | Suche) */
.top-menu {
  font-size: 12px;
  padding: 5px 0;
  color: #666;
}
.top-menu a {
  color: #666;
  margin: 0 8px;
  text-decoration: none;
  font-size: 12px;
}
.top-menu a:hover { color: #333; }
.top-menu .separator { color: #ccc; }

/* Main navigation – generiert als <nav class="xeno-menu xeno-menu-main"><ul><li>... */
.xeno-menu-main {
  display: block;
}
.xeno-menu-main > ul {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 0;
  margin: 0;
  list-style: none;
}
.xeno-menu-main > ul > li {
  position: relative;
}
.xeno-menu-main > ul > li > a {
  display: block;
  padding: 15px 16px;
  color: #333;
  font-size: 14px;
  font-weight: 400;
  text-decoration: none;
  transition: color 0.2s;
  white-space: nowrap;
}
.xeno-menu-main > ul > li > a:hover {
  color: #6a8c3a;
}
/* Dropdown submenus */
.xeno-menu-main > ul > li > ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  min-width: 220px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  z-index: 200;
  padding: 8px 0;
  list-style: none;
  margin: 0;
}
.xeno-menu-main > ul > li:hover > ul { display: block; }
.xeno-menu-main > ul > li > ul > li > a {
  display: block;
  padding: 6px 20px;
  color: #333;
  font-size: 13px;
  text-decoration: none;
}
.xeno-menu-main > ul > li > ul > li > a:hover {
  background: #f5f5f5;
  color: #6a8c3a;
}

/* Footer nav menu */
.xeno-menu-footer > ul {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
}
.xeno-menu-footer a {
  color: #aaa;
  font-size: 12px;
  text-decoration: none;
}
.xeno-menu-footer a:hover { color: #fff; }

/* ===== SOCIAL LINKS (right side icons) ===== */
.social-links-bar {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 500;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.social-links-bar a {
  display: block;
  width: 36px;
  height: 36px;
  background: rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.social-links-bar a:hover { background: rgba(0,0,0,0.6); }
.social-links-bar img { width: 20px; height: 20px; }

/* ===== HERO SLIDER ===== */
.head-slider {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-height: 600px;
}
.head-slider .slider-list {
  display: flex;
  transition: transform 0.8s ease;
}
.head-slider .slider-list li {
  flex: 0 0 100%;
  min-width: 100%;
}
.head-slider .slider-list img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 600px;
}
.slider-controls {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  pointer-events: none;
}
.slider-controls button {
  pointer-events: auto;
  background: rgba(0,0,0,0.3);
  color: #fff;
  border: none;
  width: 50px;
  height: 50px;
  font-size: 24px;
  cursor: pointer;
  transition: background 0.2s;
}
.slider-controls button:hover { background: rgba(0,0,0,0.6); }

/* ===== INTRO / WELCOME SECTION ===== */
.bereich-content {
  padding: 50px 0 40px;
  text-align: center;
}
.bereich-content .intro-col {
  max-width: 700px;
  margin: 0 auto;
}
.bereich-content h2 {
  font-size: 24px;
  font-weight: 400;
  line-height: 1.5;
  color: #333;
  margin-bottom: 15px;
  font-style: italic;
}
.bereich-content .author {
  font-size: 14px;
  color: #666;
  margin-bottom: 20px;
}
.bereich-content .welcome-text {
  font-size: 14px;
  line-height: 1.8;
  color: #555;
}
.bereich-content .welcome-text a {
  color: #337ab7;
  font-weight: 600;
}

/* ===== KURSE SECTION ===== */
.bereich-kurse {
  text-align: center;
  padding-bottom: 40px;
}
.bereich-kurse .head-img {
  margin-bottom: 30px;
}
.bereich-kurse .head-img img {
  width: 100%;
  height: auto;
}
.bereich-kurse h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #6a8c3a;
  margin-bottom: 10px;
}
.bereich-kurse .kurse-text {
  max-width: 700px;
  margin: 0 auto 20px;
}
.bereich-kurse .kurse-text h2 {
  font-size: 28px;
  font-weight: 400;
  margin-bottom: 15px;
  color: #333;
}
.bereich-kurse .kurse-text p {
  font-size: 14px;
  line-height: 1.8;
  color: #555;
}

/* Green button */
.btn-green {
  display: inline-block;
  margin: 15px 0 30px;
}
.btn-green a {
  display: inline-block;
  background: #6a8c3a;
  color: #fff;
  padding: 10px 30px;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  transition: background 0.2s;
}
.btn-green a:hover { background: #5a7a2e; text-decoration: none; }

/* Kategorie-Icon-Grid (dynamisch aus {{menu:categories-grid}}, menuStyle: 'icon-grid').
   Ersetzt die alten hardcoded .kurs-icons / .kurs-icon-teaser Klassen.
   --cat-color: individuelle Kategorie-Farbe (gesetzt als inline style am <a>). */
.xeno-menu-icon-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-bottom: 30px;
}
.xeno-menu-icon-item {
  display: block;
  text-align: center;
  text-decoration: none;
  width: 130px;
}
.xeno-menu-icon-img {
  width: 100px;
  height: 100px;
  margin: 0 auto 8px;
  border-radius: 50%;
  object-fit: cover;
}
.xeno-menu-icon-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  color: #555;
  line-height: 1.3;
}

/* Kurstypen-Select dropdown */
.kurstypen-select {
  max-width: 350px;
  margin: 0 auto 40px;
}
.kurstypen-select select {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #ccc;
  font-size: 14px;
  background: #fff;
}

/* ===== AKTUELLE KURSANGEBOTE (horizontal slider) ===== */
.kurse-slider-section {
  text-align: left;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 15px 50px;
}
.kurse-slider-section h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
  color: #333;
}
/* ===== DATES-LIST CONTAINER (template-agnostisch) =====
   Drei Layout-Modi für <xeno-extension type="dates-list">:
   - .xeno-dates-slider: Horizontaler Scroll-Container (displayMode: "slider")
   - .xeno-dates-list:   CSS-Grid Karten-Raster (displayMode: "grid", default)
   - .xeno-dates-rows:   Kompakte Listenansicht (displayMode: "rows")
   Container steuern Layout über > *, das Template ist austauschbar. */

/* --- Slider: horizontaler Scroll --- */
.kurse_teaser_start,
.xeno-dates-slider {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 15px;
}
.kurse_teaser_start::-webkit-scrollbar,
.xeno-dates-slider::-webkit-scrollbar { height: 6px; }
.kurse_teaser_start::-webkit-scrollbar-thumb,
.xeno-dates-slider::-webkit-scrollbar-thumb { background: #ccc; border-radius: 3px; }
.xeno-dates-slider > * {
  flex: 0 0 300px;
  scroll-snap-align: start;
}

/* --- Rows: kompakte Zeilenansicht --- */
.xeno-dates-rows {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* kurse_teaser_start_item im Rows-Modus: horizontal, randlos, Trennlinie */
.xeno-dates-rows .kurse_teaser_start_item {
  flex: none;
  width: 100%;
}
.xeno-dates-rows .kurse_teaser_start_item_inner {
  flex-direction: row;
  align-items: center;
  gap: 20px;
  border: none;
  border-bottom: 1px solid #e8e8e8;
  border-radius: 0;
  padding: 15px 0;
}
.xeno-dates-rows .kurse_teaser_start_item .date {
  flex: 0 0 auto;
  min-width: 130px;
  margin-bottom: 0;
}
.xeno-dates-rows .kurse_teaser_start_item h3 {
  flex: 1;
  margin-bottom: 0;
}
.xeno-dates-rows .kurse_teaser_start_item .kurs-desc {
  display: none;
}
.xeno-dates-rows .teaser_bottom {
  margin-top: 0;
}
.xeno-dates-rows .kurse_teaser_start_item .event-categories {
  flex: 0 0 auto;
  margin-bottom: 0;
}

/* --- Legacy Template: kurse_teaser_start_item --- */
.kurse_teaser_start_item {
  flex: 0 0 280px;
  scroll-snap-align: start;
}
.kurse_teaser_start_item_inner {
  border: 1px solid #e0e0e0;
  padding: 20px;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.kurse_teaser_start_item .date {
  font-size: 13px;
  color: #888;
  margin-bottom: 8px;
}
.kurse_teaser_start_item .view-hk {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  padding: 3px 8px;
  display: inline-block;
}
.hk_1 { color: #d67c2a; background: rgba(214,124,42,0.1); }
.hk_2 { color: #4a90b8; background: rgba(74,144,184,0.1); }
.hk_3 { color: #c04040; background: rgba(192,64,64,0.1); }
.hk_4 { color: #c9a52c; background: rgba(201,165,44,0.1); }
.hk_5 { color: #8b6aad; background: rgba(139,106,173,0.1); }
.hk_6 { color: #6a8c3a; background: rgba(106,140,58,0.1); }
.kurse_teaser_start_item .event-categories { margin-bottom: 8px; display: flex; flex-wrap: wrap; gap: 4px; }
.kurse_teaser_start_item .event-categories .xeno-dates-category {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 3px 8px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border-radius: 3px;
}
.xeno-dates-category[data-icon]::before {
  content: '';
  display: inline-block;
  width: 14px;
  height: 14px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  background-image: var(--cat-icon);
  filter: brightness(0) invert(1);
}
.kurse_teaser_start_item h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #333;
  line-height: 1.3;
  text-transform: none;
  letter-spacing: 0;
  font-family: inherit;
}
.kurse_teaser_start_item h3 a { color: inherit; text-decoration: none; }
.kurse_teaser_start_item h3 a:hover { color: #6a8c3a; text-decoration: none; }
.kurse_teaser_start_item .kurs-desc {
  font-size: 13px;
  color: #666;
  margin-bottom: 12px;
  flex: 1;
}
.teaser_bottom {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.teaser_bottom .plaetze {
  font-size: 18px;
  font-weight: 600;
  color: #333;
}
.teaser_bottom .plaetze .label {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 600;
}
.plaetze_voll {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: #c04040;
}
.btn-green.inline { margin: 0; }
.btn-green.inline a {
  padding: 6px 16px;
  font-size: 11px;
}
.btn-green-txt {
  display: inline-block;
}
.btn-green-txt a {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  color: #6a8c3a;
  text-decoration: none;
  letter-spacing: 0.5px;
}
.btn-green-txt a:hover { text-decoration: underline; }

/* ===== AKTUELLES (News) SECTION ===== */
.bereich-aktuelles {
  background: #f7f6f2;
  padding: 50px 0;
}
.bereich-aktuelles > h3 {
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #333;
  margin-bottom: 30px;
}
.aktuelles_slider_start {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 15px;
}
.aktuelles_start_item {
  margin-bottom: 30px;
}
.aktuelles_start_item_inner {
  display: flex;
  gap: 30px;
  align-items: flex-start;
}
.aktuelles_slider_image {
  flex: 0 0 300px;
}
.aktuelles_slider_image img {
  width: 100%;
  height: auto;
}
.aktuelles_start_item h2 {
  font-size: 22px;
  font-weight: 600;
  color: #333;
  margin-bottom: 10px;
}
.aktuelles_start_item .news-text {
  font-size: 14px;
  color: #555;
  margin-bottom: 12px;
  line-height: 1.6;
}
.btn-purple-txt {
  display: inline-block;
  margin-top: 8px;
}
.btn-purple-txt a {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  color: #8b6aad;
  text-decoration: none;
  letter-spacing: 0.5px;
}
.btn-purple-txt a:hover { text-decoration: underline; }

/* ===== IMPRESSIONEN (image slider) ===== */
.bereich-impressionen {
  padding: 50px 0;
  text-align: center;
}
.bereich-impressionen h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #333;
  margin-bottom: 25px;
}
.impressionen-slider {
  position: relative;
  max-width: 920px;
  margin: 0 auto;
  overflow: hidden;
}
.impressionen-slider .slides {
  display: flex;
  transition: transform 0.6s ease;
}
.impressionen-slider .slide {
  flex: 0 0 100%;
  min-width: 100%;
}
.impressionen-slider .slide img {
  width: 100%;
  height: auto;
}
.impressionen-slider .slide-caption {
  font-size: 13px;
  color: #888;
  margin-top: 10px;
  font-style: italic;
}
.impressionen-nav {
  margin-top: 15px;
  display: flex;
  justify-content: center;
  gap: 10px;
}
.impressionen-nav button {
  background: #ddd;
  border: none;
  width: 40px;
  height: 40px;
  font-size: 18px;
  cursor: pointer;
  color: #555;
  transition: background 0.2s;
}
.impressionen-nav button:hover { background: #bbb; }

/* ===== BUCHUNG & KONZERTE (two columns) ===== */
.bereich-buchungen-konzerte {
  display: flex;
  flex-wrap: wrap;
  max-width: 1170px;
  margin: 0 auto;
  padding: 50px 15px;
  gap: 60px;
}
.bereich-buchungen-konzerte > div {
  flex: 1;
  min-width: 280px;
}
.bereich-buchungen-konzerte h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #333;
  margin-bottom: 15px;
  padding-left: 15px;
}
.view-buchungen img,
.view-konzerte img {
  width: 100%;
  height: auto;
  margin-bottom: 15px;
}
.view-buchungen h2,
.view-konzerte h2 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #333;
}
.view-buchungen p,
.view-konzerte p {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
}

/* Konzert items */
.konzert-item {
  border-bottom: 1px solid #e8e8e8;
  padding: 15px 0;
}
.konzert-item .konzert-title a {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  text-decoration: none;
}
.konzert-item .konzert-title a:hover { color: #4a90b8; }
.konzert-item .konzert-details {
  font-size: 13px;
  color: #666;
  margin: 5px 0;
  line-height: 1.5;
}
.konzert-item .konzert-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
}
.konzert-item .konzert-date {
  font-size: 13px;
  color: #555;
}
.konzert-item .konzert-info {
  font-size: 12px;
}
.konzert-item .konzert-info a {
  color: #337ab7;
  text-decoration: none;
}
.view-status {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  color: #888;
}

/* Section CTAs */
.btn-yellow-txt a {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  color: #c9a52c;
  text-decoration: none;
}
.btn-yellow-txt a:hover { text-decoration: underline; }
.btn-blue-txt a {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  color: #4a90b8;
  text-decoration: none;
}
.btn-blue-txt a:hover { text-decoration: underline; }
.view-link { margin-top: 15px; }

/* ===== FOOTER ===== */
.site-footer {
  background: #3c3c3c;
  color: #ccc;
  padding: 40px 0 0;
  font-size: 13px;
}
.footer-blocks {
  display: flex;
  flex-wrap: wrap;
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 15px;
  gap: 30px;
}
.footer-block {
  flex: 1;
  min-width: 200px;
}
.footer-block .block-title {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.footer-block a {
  color: #ccc;
  text-decoration: none;
  display: block;
  margin-bottom: 6px;
}
.footer-block a:hover { color: #fff; }
.footer-block h2 {
  font-size: 20px;
  color: #fff;
  margin-bottom: 10px;
}

/* Footer logos */
.footer-logos {
  text-align: center;
  padding: 30px 15px;
  max-width: 1170px;
  margin: 0 auto;
  border-top: 1px solid #555;
}
.footer-logos .logo-title {
  font-size: 13px;
  color: #999;
  margin-bottom: 15px;
}
.footer-logos-row {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.footer-logos-row img {
  height: 50px;
  width: auto;
  filter: brightness(0.9);
}

/* Footer nav */
.footer-nav {
  text-align: center;
  padding: 15px 0;
  border-top: 1px solid #555;
}
.footer-nav ul {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-nav a {
  color: #aaa;
  font-size: 12px;
  text-decoration: none;
}
.footer-nav a:hover { color: #fff; }

.footer-copyright {
  text-align: center;
  padding: 15px 0;
  font-size: 12px;
  color: #888;
}

/* ===== COLORED BOTTOM BARS ===== */
.bottom-bars {
  display: flex;
  height: 6px;
}
.bottom-bars span {
  flex: 1;
}
.bottom-bars .bar-lila { background: #8b6aad; }
.bottom-bars .bar-blau { background: #4a90b8; }
.bottom-bars .bar-gruen { background: #6a8c3a; }
.bottom-bars .bar-gelb { background: #c9a52c; }
.bottom-bars .bar-orange { background: #d67c2a; }
.bottom-bars .bar-rot { background: #c04040; }

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
  .navbar .container { flex-wrap: wrap; }
  .navbar-collapse { align-items: stretch; }
  .nav-main { flex-direction: column; }
  .nav-main > li > a { padding: 10px 16px; }
  .head-slider { max-height: 400px; }
  .aktuelles_start_item_inner { flex-direction: column; }
  .aktuelles_slider_image { flex: none; width: 100%; max-width: 400px; }
  .bereich-buchungen-konzerte { flex-direction: column; gap: 40px; }
}
@media (max-width: 767px) {
  .head-slider { max-height: 250px; }
  .bereich-content h2 { font-size: 18px; }
  .kurse_teaser_start_item { flex: 0 0 240px; }
  .xeno-menu-icon-item { width: 100px; }
  .xeno-menu-icon-img { width: 70px; height: 70px; }
  .footer-blocks { flex-direction: column; }
  .social-links-bar { display: none; }
  /* Rows-Modus: auf Mobile zurueck zu vertikalem Stack */
  .xeno-dates-rows .kurse_teaser_start_item_inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .xeno-dates-rows .kurse_teaser_start_item .date { min-width: auto; }
}

/* ===== INNER PAGES (Unterseiten: Kontakt, Über uns, Veranstaltungen) ===== */

/* Page header – Seitenkopf auf allen Unterseiten */
.page-header {
  background: #f7f6f2;
  padding: 40px 0 30px;
  text-align: center;
  margin-bottom: 0;
}
.page-header h1 {
  font-size: 28px;
  font-weight: 600;
  color: #333;
  margin-bottom: 10px;
}
.page-intro {
  font-size: 16px;
  color: #555;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Sections – abwechselnde Blöcke */
.section { padding: 50px 0; }
.section-alt {
  background: #f7f6f2;
  padding: 50px 0;
}
.section-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: #333;
  margin-bottom: 25px;
  text-align: center;
}
.content-narrow {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 15px;
}
.content-narrow h2 {
  font-size: 22px;
  font-weight: 600;
  color: #333;
  margin-bottom: 15px;
}
.content-narrow p {
  font-size: 14px;
  color: #555;
  line-height: 1.8;
  margin-bottom: 15px;
}

/* Full-width page content (Fließtext-Seiten) */
.page-header-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
}
.page-content {
  max-width: 800px;
  margin: 40px auto;
  padding: 0 15px;
  line-height: 1.8;
}
.page-content h1 { font-size: 28px; margin-bottom: 20px; }
.page-content h2 { font-size: 22px; margin: 25px 0 10px; }
.page-content p { margin-bottom: 15px; }

/* Kontakt – Grid (Formular links, Info rechts) */
.contact-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
}
.contact-form-col { flex: 1; min-width: 300px; }
.contact-info-col { flex: 0 0 320px; }
.contact-info-card {
  background: #fff;
  border: 1px solid #e0e0e0;
  padding: 25px;
  border-radius: 4px;
}
.contact-info-card h2 {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #6a8c3a;
}
.contact-detail { margin-bottom: 18px; }
.contact-detail:last-child { margin-bottom: 0; }
.contact-detail h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #6a8c3a;
  margin-bottom: 6px;
}
.contact-detail p {
  font-size: 14px;
  color: #555;
  line-height: 1.5;
  margin: 0;
}
.contact-detail a { color: #337ab7; text-decoration: none; }
.contact-detail a:hover { text-decoration: underline; }

/* Anfahrt-Karten */
.directions-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
  justify-content: center;
}
.direction-card {
  flex: 1;
  min-width: 250px;
  max-width: 400px;
  background: #fff;
  border: 1px solid #e0e0e0;
  padding: 25px;
  border-radius: 4px;
}
.direction-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #6a8c3a;
  margin-bottom: 12px;
}
.direction-card p {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
  margin: 0;
}

/* ===== ÜBER UNS – Leitbild-Grid ===== */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 25px;
  margin-top: 20px;
}
.value-card {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  padding: 30px 25px;
  text-align: center;
}
.value-icon {
  font-size: 28px;
  color: #6a8c3a;
  margin-bottom: 15px;
}
.value-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #333;
  margin-bottom: 10px;
}
.value-card p {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
  margin: 0;
}

/* Team-Grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 25px;
  margin-top: 25px;
}
.team-member {
  text-align: center;
  padding: 20px 10px;
}
.team-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #6a8c3a;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 22px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}
.team-member h3 {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin-bottom: 4px;
}
.team-role {
  font-size: 13px;
  color: #888;
}

/* CTA-Banner */
.section-cta-banner {
  background: #6a8c3a;
  padding: 50px 0;
  text-align: center;
}
.cta-inner h2 {
  font-size: 26px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 10px;
}
.cta-inner p {
  font-size: 16px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 20px;
}

/* ===== VERANSTALTUNGEN – Filter & Event-Liste ===== */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 30px;
}
.filter-btn {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 8px 20px;
  border: 1px solid #ddd;
  background: #fff;
  color: #555;
  cursor: pointer;
  transition: all 0.2s;
  border-radius: 3px;
}
.filter-btn:hover { border-color: #6a8c3a; color: #6a8c3a; }
.filter-btn.active {
  background: #6a8c3a;
  color: #fff;
  border-color: #6a8c3a;
}

/* Event-Items */
.event-list { display: flex; flex-direction: column; gap: 0; }
.event-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 25px 0;
  border-bottom: 1px solid #e8e8e8;
}
.event-item:first-child { padding-top: 0; }
.event-date {
  flex: 0 0 60px;
  text-align: center;
  background: #f7f6f2;
  padding: 10px 5px;
  border-radius: 4px;
}
.event-day {
  display: block;
  font-size: 26px;
  font-weight: 700;
  color: #333;
  line-height: 1;
}
.event-month {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  color: #888;
  margin-top: 3px;
}
.event-content { flex: 1; }
.event-category {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #6a8c3a;
  margin-bottom: 6px;
}
.event-content h3 {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
  line-height: 1.3;
}
.event-content p {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 8px;
}
.event-meta {
  display: block;
  font-size: 13px;
  color: #888;
}
.event-action {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  padding-top: 4px;
}

/* Badges */
.badge {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  padding: 4px 10px;
  border-radius: 3px;
  white-space: nowrap;
}
.badge-available { background: rgba(106,140,58,0.12); color: #6a8c3a; }
.badge-few { background: rgba(214,124,42,0.12); color: #d67c2a; }
.badge-full { background: rgba(192,64,64,0.1); color: #c04040; }

/* Buttons */
.btn {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 9px 22px;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  background: #6a8c3a;
  color: #fff;
}
.btn:hover { background: #5a7a2e; text-decoration: none; color: #fff; }
.btn-small { font-size: 11px; padding: 6px 16px; }
.btn-light {
  background: #fff;
  color: #333;
}
.btn-light:hover { background: rgba(255,255,255,0.9); color: #333; }

/* ===== EVENT-CARDS (Template-Klassen) =====
   .event-card ist das Standard-Template für Terminlisten.
   Funktioniert in allen drei Containern (.xeno-dates-slider, .xeno-dates-list, .xeno-dates-rows).
   Andere Templates (z. B. .kurse_teaser_start_item) funktionieren ebenfalls in den Containern –
   die Container steuern nur das Layout, nicht das Aussehen der Kinder. */

/* --- Grid-Container: 3 Spalten Desktop, 2 Tablet, 1 Mobile --- */
.xeno-dates-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* --- event-card: Basis-Styles (vertikal, Bild oben, Body unten) --- */
.event-card {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.15s;
  display: flex;
  flex-direction: column;
}
.event-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}
.event-card__image {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #f0f0f0;
}
.event-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.event-card:hover .event-card__image img {
  transform: scale(1.03);
}
.event-card__body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.event-card__meta {
  font-size: 13px;
  color: #888;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}
.event-card__date {
  font-weight: 500;
  color: #6a8c3a;
}
.event-card__location {
  color: #999;
}
.event-card__title {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin: 0 0 8px;
  line-height: 1.3;
}
.event-card__title a { color: inherit; text-decoration: none; }
.event-card__title a:hover { color: #6a8c3a; text-decoration: none; }
.event-card__subtitle {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
  margin: 0 0 10px;
}
.event-card__categories {
  font-size: 12px;
  color: #888;
}
.event-card__categories .xeno-dates-category {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 3px 8px;
  display: inline-block;
  border-radius: 2px;
}
.event-card__actions {
  margin-top: auto;
  padding-top: 12px;
}

/* --- event-card im Slider: kompakter, kein Hover-Lift --- */
.xeno-dates-slider .event-card {
  height: 100%;
}
.xeno-dates-slider .event-card:hover {
  transform: none;
}
.xeno-dates-slider .event-card__title {
  font-size: 16px;
}

/* --- event-card in Rows: horizontal (Bild links, Body rechts) --- */
.xeno-dates-rows .event-card {
  flex-direction: row;
  border-radius: 0;
  border-left: none;
  border-right: none;
  border-top: none;
  border-bottom: 1px solid #e8e8e8;
}
.xeno-dates-rows .event-card:hover {
  transform: none;
  box-shadow: none;
  background: #fafaf8;
}
.xeno-dates-rows .event-card__image {
  flex: 0 0 180px;
  aspect-ratio: 4 / 3;
  border-radius: 0;
}
.xeno-dates-rows .event-card__body {
  padding: 15px 20px;
  justify-content: center;
}
.xeno-dates-rows .event-card__title {
  font-size: 16px;
  margin-bottom: 4px;
}
.xeno-dates-rows .event-card__subtitle {
  font-size: 13px;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.xeno-dates-rows .event-card__actions {
  padding-top: 8px;
}

/* ===== EVENT-DETAIL (Detailseite – Template-Klassen) ===== */

.event-detail__hero {
  width: 100%;
  max-height: 500px;
  overflow: hidden;
  margin-bottom: 0;
}
.event-detail__hero img {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: cover;
  display: block;
}
.event-detail__header {
  padding: 40px 0 20px;
}
.event-detail__header h1 {
  font-size: 32px;
  font-weight: 700;
  color: #333;
  margin-bottom: 8px;
  line-height: 1.2;
}
.event-detail__subtitle {
  font-size: 18px;
  color: #666;
  line-height: 1.5;
  margin: 0;
}
.event-detail__info {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 40px;
  padding: 25px 0;
  border-top: 1px solid #e8e8e8;
  border-bottom: 1px solid #e8e8e8;
  margin-bottom: 30px;
}
.event-detail__info-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.event-detail__info-item strong {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #6a8c3a;
}
.event-detail__info-item span {
  font-size: 15px;
  color: #333;
}
.event-detail__description {
  font-size: 15px;
  line-height: 1.8;
  color: #444;
  padding-bottom: 30px;
}
.event-detail__description p {
  margin-bottom: 15px;
}
.event-detail__description img {
  max-width: 100%;
  height: auto;
  margin: 15px 0;
  border-radius: 4px;
}
.event-detail__actions {
  padding: 30px 0 50px;
  border-top: 1px solid #e8e8e8;
}
.btn-outline {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 9px 22px;
  border: 2px solid #6a8c3a;
  border-radius: 3px;
  color: #6a8c3a;
  background: transparent;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.btn-outline:hover {
  background: #6a8c3a;
  color: #fff;
  text-decoration: none;
}

/* ===== INNER PAGES – Responsive ===== */
@media (max-width: 991px) {
  .xeno-dates-list { grid-template-columns: repeat(2, 1fr); }
  .xeno-dates-slider > * { flex: 0 0 260px; }
  .xeno-dates-rows .event-card__image { flex: 0 0 140px; }
  .event-detail__header h1 { font-size: 26px; }
  .event-detail__hero { max-height: 350px; }
  .event-detail__hero img { max-height: 350px; }
}
@media (max-width: 767px) {
  .contact-grid { flex-direction: column; }
  .contact-info-col { flex: 1 1 100%; }
  .event-item { flex-direction: column; gap: 12px; }
  .event-date { flex: none; display: inline-flex; gap: 6px; align-items: baseline; padding: 6px 12px; }
  .event-day { font-size: 20px; }
  .event-action { flex-direction: row; align-items: center; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .xeno-dates-list { grid-template-columns: 1fr; }
  .xeno-dates-slider > * { flex: 0 0 240px; }
  .xeno-dates-rows .event-card { flex-direction: column; }
  .xeno-dates-rows .event-card__image { flex: none; aspect-ratio: 16 / 9; }
  .event-detail__header { padding: 25px 0 15px; }
  .event-detail__header h1 { font-size: 22px; }
  .event-detail__info { gap: 15px 25px; }
  .event-detail__hero { max-height: 250px; }
  .event-detail__hero img { max-height: 250px; }
}

/* =====================================================================
   NEWS-CARDS (Template-Klassen fuer Posts)
   .news-card ist das Standard-Template fuer Beitragslisten.
   Funktioniert in allen drei Containern (.xeno-posts-slider, .xeno-posts-list, .xeno-posts-rows).
   Analog zu .event-card bei Terminen – selbes Layout-Prinzip.
   ===================================================================== */

/* --- Grid-Container: 3 Spalten Desktop, 2 Tablet, 1 Mobile --- */
.xeno-posts-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* --- Slider: horizontaler Scroll --- */
.xeno-posts-slider {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 10px;
  max-width: 1000px;
  margin: 0 auto;
  padding-left: 15px;
  padding-right: 15px;
}
.xeno-posts-slider::-webkit-scrollbar { height: 6px; }
.xeno-posts-slider::-webkit-scrollbar-thumb { background: #ccc; border-radius: 3px; }
.xeno-posts-slider > * {
  flex: 0 0 300px;
  scroll-snap-align: start;
}

/* --- Rows: kompakte Zeilenansicht --- */
.xeno-posts-rows {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* --- news-card: Basis-Styles (vertikal, Body) --- */
.news-card {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.15s;
  display: flex;
  flex-direction: column;
}
.news-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}
.news-card__body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.news-card__meta {
  font-size: 13px;
  color: #888;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.news-card__date {
  font-weight: 500;
  color: #8b6aad;
}
.news-card__title {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin: 0 0 8px;
  line-height: 1.3;
}
.news-card__title a { color: inherit; text-decoration: none; }
.news-card__title a:hover { color: #8b6aad; text-decoration: none; }
.news-card__excerpt {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin: 0 0 10px;
}
.news-card__categories {
  font-size: 12px;
  color: #888;
}
.news-card__categories .xeno-posts-category {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 3px 8px;
  display: inline-block;
  border-radius: 2px;
}
.news-card__actions {
  margin-top: auto;
  padding-top: 12px;
}

/* --- news-card im Slider: kompakter, kein Hover-Lift --- */
.xeno-posts-slider .news-card {
  height: 100%;
}
.xeno-posts-slider .news-card:hover {
  transform: none;
}
.xeno-posts-slider .news-card__title {
  font-size: 16px;
}

/* --- news-card in Rows: horizontal --- */
.xeno-posts-rows .news-card {
  flex-direction: row;
  border-radius: 0;
  border-left: none;
  border-right: none;
  border-top: none;
  border-bottom: 1px solid #e8e8e8;
}
.xeno-posts-rows .news-card:hover {
  transform: none;
  box-shadow: none;
  background: #fafaf8;
}
.xeno-posts-rows .news-card__body {
  padding: 15px 20px;
  justify-content: center;
}
.xeno-posts-rows .news-card__title {
  font-size: 16px;
  margin-bottom: 4px;
}
.xeno-posts-rows .news-card__excerpt {
  font-size: 13px;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.xeno-posts-rows .news-card__actions {
  padding-top: 8px;
}

/* --- Aktuelles-Bereich auch fuer xeno-posts-slider Container --- */
.bereich-aktuelles .xeno-posts-slider {
  max-width: 1000px;
  margin: 0 auto;
}

/* ===== NEWS-DETAIL (Detailseite) ===== */
.news-detail {
  padding: 40px 0 60px;
}
.news-detail__header {
  margin-bottom: 30px;
}
.news-detail__header h1 {
  font-size: 30px;
  font-weight: 700;
  color: #333;
  line-height: 1.3;
  margin: 0 0 12px;
}
.news-detail__meta {
  font-size: 14px;
  color: #888;
  margin-bottom: 10px;
}
.news-detail__date {
  font-weight: 500;
  color: #8b6aad;
}
.news-detail__categories {
  margin-top: 10px;
}
.news-detail__categories .xeno-posts-category {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 3px 10px;
  border-radius: 2px;
}
.news-detail__excerpt {
  font-size: 16px;
  color: #555;
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 25px;
  padding: 15px 0;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}
.news-detail__excerpt p {
  margin: 0;
}
.news-detail__content {
  font-size: 15px;
  color: #444;
  line-height: 1.8;
  margin-bottom: 30px;
}
.news-detail__content h2 { font-size: 22px; font-weight: 600; margin: 25px 0 12px; color: #333; }
.news-detail__content h3 { font-size: 18px; font-weight: 600; margin: 20px 0 10px; color: #333; }
.news-detail__content p { margin-bottom: 12px; }
.news-detail__content img { max-width: 100%; height: auto; border-radius: 4px; margin: 15px 0; }
.news-detail__content a { color: #8b6aad; text-decoration: underline; }
.news-detail__content a:hover { color: #6a4f8a; }
.news-detail__actions {
  padding-top: 20px;
  border-top: 1px solid #eee;
}
.news-detail__actions .btn-outline {
  display: inline-block;
  padding: 10px 24px;
  border: 1px solid #8b6aad;
  color: #8b6aad;
  text-decoration: none;
  border-radius: 3px;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: background 0.2s, color 0.2s;
}
.news-detail__actions .btn-outline:hover {
  background: #8b6aad;
  color: #fff;
}

/* ===== NEWS – Responsive ===== */
@media (max-width: 991px) {
  .xeno-posts-list { grid-template-columns: repeat(2, 1fr); }
  .xeno-posts-slider > * { flex: 0 0 260px; }
  .news-detail__header h1 { font-size: 26px; }
}
@media (max-width: 767px) {
  .xeno-posts-list { grid-template-columns: 1fr; }
  .xeno-posts-slider > * { flex: 0 0 240px; }
  .xeno-posts-rows .news-card { flex-direction: column; }
  .news-detail__header h1 { font-size: 22px; }
  .news-detail__excerpt { font-size: 15px; }
}


/* --- assets/form.css --- */
/**
 * Formular-Extension – Styles fuer xeno-form.
 *
 * Wird von der Formular-Erweiterung (<xeno-extension type="form" />) verwendet.
 * Eingebunden ueber stylesheet_paths in system_websites.
 */

/* ===== FORM CONTAINER ===== */
.xeno-form {
  max-width: 600px;
}
.xeno-form h3 {
  font-size: 22px;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
}
.xeno-form-description {
  font-size: 14px;
  color: #666;
  margin-bottom: 24px;
  line-height: 1.6;
}

/* ===== FORM GROUPS ===== */
.xeno-form .form-group {
  margin-bottom: 20px;
}
.xeno-form label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  margin-bottom: 6px;
}
.xeno-form .form-group small {
  display: block;
  font-size: 12px;
  color: #888;
  margin-bottom: 6px;
}

/* ===== INPUTS ===== */
.xeno-form input[type="text"],
.xeno-form input[type="email"],
.xeno-form input[type="tel"],
.xeno-form input[type="date"],
.xeno-form input[type="time"],
.xeno-form input[type="file"],
.xeno-form input[type="number"],
.xeno-form textarea,
.xeno-form select {
  width: 100%;
  padding: 10px 12px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background: #fff;
  color: #333;
  transition: border-color 0.2s;
  font-family: inherit;
}
.xeno-form input:focus,
.xeno-form textarea:focus,
.xeno-form select:focus {
  outline: none;
  border-color: #6a8c3a;
  box-shadow: 0 0 0 2px rgba(106, 140, 58, 0.15);
}
.xeno-form textarea {
  min-height: 120px;
  resize: vertical;
}

/* ===== RADIO & CHECKBOX ===== */
.xeno-form .radio-label,
.xeno-form .checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 400;
  cursor: pointer;
  padding: 4px 0;
}
.xeno-form .radio-label input,
.xeno-form .checkbox-label input {
  width: auto;
  margin: 0;
}

/* ===== RATING ===== */
.xeno-form .rating-label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 400;
  cursor: pointer;
  padding: 4px 8px;
}

/* ===== RANGE (SCALE) ===== */
.xeno-form input[type="range"] {
  width: 100%;
  margin: 8px 0;
}

/* ===== SUBMIT BUTTON ===== */
.xeno-form-submit {
  display: inline-block;
  background: #6a8c3a;
  color: #fff;
  padding: 12px 32px;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 8px;
}
.xeno-form-submit:hover {
  background: #5a7a2e;
}

/* ===== SUCCESS / ERROR MESSAGES ===== */
.xeno-form-success {
  background: #e8f5e9;
  color: #2e7d32;
  padding: 16px 20px;
  border-radius: 4px;
  font-size: 14px;
  margin-top: 16px;
}
.xeno-form-error {
  background: #fbe9e7;
  color: #c62828;
  padding: 16px 20px;
  border-radius: 4px;
  font-size: 14px;
  margin-top: 16px;
}

/* --- xeno-system.css (System-Klassen) --- */
/**
 * xeno-system.css – System-CSS für alle Xeno-Websites.
 *
 * SINGLE SOURCE OF TRUTH für Block-Alignment- und Layout-Klassen.
 * Diese Datei wird an ZWEI Stellen verwendet (null Duplikation):
 *
 * 1. Im XenoEditor (Admin): Importiert via Vite in XenoEditor.tsx.
 *    Die Klassen wirken global auf den Editor-Content.
 *
 * 2. Im Deploy / Editor-CSS-API: PHP liest diese Datei von Disk
 *    (class_website_parser.php → getSystemCss()) und fuegt sie
 *    zum kombinierten CSS hinzu.
 *
 * WICHTIG:
 *   - Alle Klassennamen mit Prefix `xeno-` (Konfliktvermeidung).
 *   - Hier NUR Klassen die AUCH auf der deployed Website gelten.
 *   - Editor-spezifische Styles (Strukturlinien, Handles, Active-States)
 *     gehoeren in xeno-editor.css, NICHT hierher.
 *   - Neue Klassen hier hinzufuegen → wirken sofort ueberall.
 *
 * Zusammenhaenge:
 *   - components/XenoEditor/XenoEditor.tsx     → importiert diese Datei
 *   - components/XenoEditor/xeno-editor.css    → Editor-spezifische Styles
 *   - class_website_parser.php getSystemCss()  → liest diese Datei fuer Deploy
 *   - class_website_deploy.php writeCombinedCss() → haengt System-CSS an
 *   - templates/sectionTemplates.ts            → nutzt diese Klassen in HTML-Vorlagen
 */

/* =========================================================================
   SPALTEN-SYSTEM
   Flexbox-basiert. Spalten sind standardmaessig gleich breit (flex: 1).
   ========================================================================= */

.xeno-row {
  display: flex;
  gap: 20px;
  margin-bottom: 16px;
}

.xeno-row > .xeno-col {
  flex: 1;
  min-width: 0;
}

/* Spezifische Spaltenbreiten (Bruchteile der Gesamtbreite minus Gap) */
.xeno-row > .xeno-col-1-3 { flex: 0 0 calc(33.333% - 14px); }
.xeno-row > .xeno-col-2-3 { flex: 0 0 calc(66.666% - 7px); }
.xeno-row > .xeno-col-1-4 { flex: 0 0 calc(25% - 15px); }
.xeno-row > .xeno-col-3-4 { flex: 0 0 calc(75% - 5px); }

/* =========================================================================
   ABSTAENDE (Spacing)
   Einheitliches Spacing-System mit 4 Stufen.
   ========================================================================= */

.xeno-mt-0 { margin-top: 0; }
.xeno-mt-1 { margin-top: 8px; }
.xeno-mt-2 { margin-top: 16px; }
.xeno-mt-3 { margin-top: 32px; }
.xeno-mt-4 { margin-top: 64px; }

.xeno-mb-0 { margin-bottom: 0; }
.xeno-mb-1 { margin-bottom: 8px; }
.xeno-mb-2 { margin-bottom: 16px; }
.xeno-mb-3 { margin-bottom: 32px; }
.xeno-mb-4 { margin-bottom: 64px; }

.xeno-p-0 { padding: 0; }
.xeno-p-1 { padding: 8px; }
.xeno-p-2 { padding: 16px; }
.xeno-p-3 { padding: 32px; }
.xeno-p-4 { padding: 64px; }

.xeno-py-1 { padding-top: 8px; padding-bottom: 8px; }
.xeno-py-2 { padding-top: 16px; padding-bottom: 16px; }
.xeno-py-3 { padding-top: 32px; padding-bottom: 32px; }
.xeno-py-4 { padding-top: 64px; padding-bottom: 64px; }

.xeno-px-1 { padding-left: 8px; padding-right: 8px; }
.xeno-px-2 { padding-left: 16px; padding-right: 16px; }
.xeno-px-3 { padding-left: 32px; padding-right: 32px; }
.xeno-px-4 { padding-left: 64px; padding-right: 64px; }

/* =========================================================================
   CONTAINER & SECTION
   Seiten-Abschnitte mit optionalem Hintergrund und zentriertem Inhalt.
   ========================================================================= */

.xeno-section {
  padding: 40px 20px;
}

.xeno-container {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

/* =========================================================================
   TEXT-UTILITIES
   ========================================================================= */

.xeno-text-center { text-align: center; }
.xeno-text-left   { text-align: left; }
.xeno-text-right  { text-align: right; }
