/*
Theme Name:  Aikido Sursee
Theme URI:   https://www.aikido-sursee.ch
Author:      Andy Felber
Author URI:  https://www.felber-communication.ch
Description: Theme für Aikido Sursee
Version:     1.0.0
License:     GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: aikido-sursee
*/

/* ================================================================
   CSS CUSTOM PROPERTIES – Aikido Sursee Farbpalette
   ================================================================ */
:root {
  /* Farben */
  --color-header-footer:  #3d3d3d;   /* Header / Footer / Trennlinien     */
  --color-bg:             #f5f0e6;   /* Seitenhintergrund                  */
  --color-bg-box:         #FAF8F4;   /* Box-Hintergrund                    */
  --color-title-large:    #2c2c2c;   /* Grosser Titel (AIKIDO.)            */
  --color-accent:         #cc1a1a;   /* Roter Akzent / FÜR ALLE.           */
  --color-title-normal:   #cc1a1a;   /* Sektionsüberschriften              */
  --color-menu:           #ffffff;   /* Header-Menü Text                   */
  --color-table-bg:       #f9f6f0;   /* Tabellen-Hintergrund               */
  --color-line:           #c8c0b0;   /* Trennlinien                        */
  --color-text:           #353535;   /* Fliesstext                         */
  --color-text-light:     #6a6a6a;   /* Subtext / Captions                 */
  --color-white:          #ffffff;

  /* Typografie */
  --font-body:    'Open Sans', 'Segoe UI', sans-serif;
  --font-display: 'Open Sans', 'Segoe UI', sans-serif;
  --fs-xl:   36px;
  --fs-l:    18px;
  --fs-base: 16px;
  --fs-sm:   12px;
  --fs-xs:   10px;
  --fw-light:  150;
  --fw-normal: 300;
  --fw-medium: 300;
  --fw-bold:   500;
  --fw-black:  800;
  --fc-grey:   rgba(255,255,255,0.88);

  /* Layout */
  --max-width:   1140px;
  --radius:      4px;
  --shadow:      0 2px 8px rgba(0,0,0,0.10);
  --shadow-lg:   0 6px 20px rgba(0,0,0,0.14);
}

/* ================================================================
   RESET & BASE
   ================================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  font-weight: var(--fw-normal);
  background-color: var(--color-bg);
  color: var(--fc-grey);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color 0.18s;
}

a:hover { text-decoration: underline; }

ul, ol { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  line-height: 1.15;
  color: var(--color-title-large);
  letter-spacing: 0.02em;
}

/* ================================================================
   LAYOUT CONTAINERS
   ================================================================ */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section-wrap {
  padding: 56px 0;
}

.section-wrap--tight {
  padding: 32px 0;
}

/* ================================================================
   TYPOGRAPHY UTILITIES
   ================================================================ */
.section-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--color-title-normal);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin-bottom: 28px;
  position: relative;
}

.section-title--sub {
  margin-top: 40px;
}

.section-title::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: var(--color-accent);
  margin-top: 8px;
  border-radius: 2px;
}

.text-red    { color: var(--color-accent); }
.text-muted  { color: var(--color-text-light); font-size: var(--fs-sm); }
.text-white  { color: var(--color-white); }
.text-upper  { text-transform: uppercase; letter-spacing: 0.06em; }
.text-center { text-align: center; }

/* ================================================================
   BUTTONS
   ================================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  padding: 12px 28px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, transform 0.12s, border-color 0.18s;
  text-decoration: none !important;
}

.btn-primary {
  background: var(--color-accent);
  color: var(--color-white);
  border-color: var(--color-accent);
}

.btn-primary:hover {
  background: #a81515;
  border-color: #a81515;
  color: var(--color-white);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255,255,255,0.6);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.12);
  color: var(--color-white);
  border-color: var(--color-white);
}

.btn-dark {
  background: var(--color-header-footer);
  color: var(--color-white);
  border-color: var(--color-header-footer);
}

.btn-dark:hover {
  background: #2a2a2a;
  border-color: #2a2a2a;
  color: var(--color-white);
  transform: translateY(-1px);
}

/* ================================================================
   HEADER / NAVIGATION
   ================================================================ */
@media (min-width: 861px) {
  .site-header  { height: 85px; }
  .header-inner { height: 85px; }
  .site-logo .custom-logo,
  .site-logo__img { height: 95px !important; margin-top: 2em; }
  .nav-menu li > a {
    margin-top: 1.5em;
    font-weight: 300 !important;
    font-size: 15px !important;
    padding: 10px 25px !important;
    letter-spacing: 0.07em;
  }
}

@media (max-width: 1500px) {
  .nav-menu li.current-menu-item > a { background: transparent !important; }
  .nav-menu li > a:hover             { background: transparent !important; }
  .nav-menu li > a                   { font-size: 16px !important; }
}

.site-header {
  background: var(--color-header-footer);
  position: sticky; top: 0; z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.40);
}

.header-inner {
  display: flex; align-items: center;
  height: 68px; gap: 20px;
}

/* Logo */
.site-logo {
  flex-shrink: 0; display: flex;
  align-items: center; gap: 12px;
  text-decoration: none !important;
}
.site-logo__img {
  height: 52px; width: auto; display: block;
  object-fit: contain; transition: opacity 0.2s;
}
.site-logo__img:hover { opacity: 0.88; }
.site-logo .custom-logo-link { display: flex; align-items: center; }
.site-logo .custom-logo { height: 52px; width: auto; display: block; object-fit: contain; }

/* Primary Navigation */
.site-nav { flex: 1; display: flex; align-items: center; justify-content: flex-end; }
.nav-menu { display: flex; align-items: center; gap: 2px; }
.nav-menu li { position: relative; }

.nav-menu li > a {
  color: rgba(255,255,255,0.80);
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 8px 13px;
  border: none; outline: none;
  transition: color 0.18s, background 0.18s;
  display: flex; align-items: center; gap: 5px;
  text-decoration: none !important;
  white-space: nowrap;
  position: relative;
}

.nav-menu li > a:hover {
  color: var(--color-white);
  background: rgba(255,255,255,0.08);
}

/* ── Aktives Element ── */
.nav-menu li.current-menu-item > a,
.nav-menu li.current-menu-ancestor > a {
  color: var(--color-white);
  background: rgba(255,255,255,0.06);
}

/* ── Roter Strich via ::before (funktioniert immer, unabhängig vom Pfeil) ── */
.nav-menu li.current-menu-item > a::before,
.nav-menu li.current-menu-ancestor > a::before {
  content: '';
  position: absolute;
  bottom: 0; left: 13px; right: 13px;
  height: 2px;
  background: var(--color-accent);
  border-radius: 2px 2px 0 0;
}

/* ── Pfeil via ::after (nur bei Dropdown-Items) ── */
.nav-menu .menu-item-has-children > a > .dropdown-arrow {
  display: none; /* JS-Span deaktivieren */
}

.nav-menu .menu-item-has-children > a::after {
  content: '▾';
  font-size: 9px;
  opacity: 0.65;
  margin-left: 2px;
}

/* Dropdown */
.nav-menu .sub-menu {
  display: none;
  position: absolute;
  top: calc(100% + 4px); left: 0;
  min-width: 200px;
  background: var(--color-header-footer);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 6px 0; z-index: 200;
}
.nav-menu .sub-menu li a { padding: 9px 18px; font-size: var(--fs-sm); border-radius: 0; }
.nav-menu li:hover > .sub-menu { display: block; }

/* Mobile Burger */
.nav-toggle {
  display: none;
  background: none;
  border: 2px solid rgba(255,255,255,0.4);
  border-radius: var(--radius);
  color: var(--color-white);
  padding: 6px 10px; font-size: 18px;
  cursor: pointer; margin-left: auto;
}

/* ── Mobile: Menüpunkte zentriert ── */
@media (max-width: 860px) {
  .nav-menu li > a {
    font-size: 16px !important;
    justify-content: center;   /* ← zentriert in Flexbox */
    text-align: center;
    padding: 13px 24px !important;
    margin-top: 0 !important;
  }

  /* Roter Strich auf Mobile zentrieren */
  .nav-menu li.current-menu-item > a::before,
  .nav-menu li.current-menu-ancestor > a::before {
    left: 50%;
    transform: translateX(-50%);
    width: 32px;
    right: auto;
  }
}

/* ── Dropdown: helleres Grau ── */
.nav-menu .sub-menu {
  background: #4f4f4f;   /* ← heller als --color-header-footer (#3d3d3d) */
  border: 1px solid rgba(255,255,255,0.18);
}

.nav-menu .sub-menu li a {
  color: rgba(255,255,255,0.85);
}

.nav-menu .sub-menu li a:hover {
  background: rgba(255,255,255,0.10);
  color: #fff;
}

/* Mobile Submenu */
@media (max-width: 860px) {
  .nav-menu .sub-menu {
    background: #4a4a4a;
    border: none;
    border-top: 1px solid rgba(255,255,255,0.10);
    padding-left: 0;
  }

  .nav-menu .sub-menu li a {
    text-align: center;
    justify-content: center;
    padding: 11px 24px;
  }
}

/* Roter Strich nur beim Hauptmenüpunkt, nicht bei Untermenüpunkten */
.nav-menu .sub-menu li.current-menu-item > a::before,
.nav-menu .sub-menu li > a::before {
  display: none;
}

/* ── Subnav ── */
.subnav {
  background: var(--color-header-footer);
  border-bottom: 3px solid var(--color-accent);
  position: sticky; top: 85px; z-index: 50;
}
.subnav .container {
  max-width: var(--max-width);   /* gleiche Breite wie Seiteninhalt */
  margin: 0 auto;                /* zentrieren */
  padding: 0 24px;               /* gleicher Seitenabstand */
}
.subnav__links { display: flex; justify-content: flex-end; overflow-x: auto; scrollbar-width: none; }
.subnav__links::-webkit-scrollbar { display: none; }
.subnav__links a {
  font-family: var(--font-body);
  font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: rgba(255,255,255,0.60);
  padding: 14px 22px;
  text-decoration: none; white-space: nowrap;
  border-right: 1px solid rgba(255,255,255,0.12);
  border-bottom: 2px solid transparent;
  margin-bottom: -3px;
  transition: color 0.18s, background 0.18s, border-color 0.18s;
  display: inline-block;
}
.subnav__links a:first-child { border-left: 1px solid rgba(255,255,255,0.12); }
.subnav__links a:hover { color: #fff; background: rgba(255,255,255,0.06); text-decoration: none; }
.subnav__links a.is-active { color: #fff; background: rgba(255,255,255,0.06); border-bottom-color: var(--color-accent); }

@media (max-width: 860px) { .subnav { display: none; } }

/* ── Seiten-Sidebar (rechts, sticky) ── */
.page-sidebar {
  position: fixed;
  /* Fallback – wird per JS exakt auf die Höhe der Hero-Section gesetzt
     (siehe assets/js/navigation.js, positionSidebar) */
  top: 160px;
  right: 0;
  z-index: 40;
  background: var(--color-header-footer);
  border-radius: var(--radius) 0 0 var(--radius);
  border-left: 3px solid var(--color-accent);
  box-shadow: var(--shadow-lg);
  padding: 8px 0;
  min-width: 180px;

  /* Nur anzeigen wenn genug Platz vorhanden */
  display: none;
}

@media (min-width: 1500px) {
  .page-sidebar {
    display: block;
  }
}

.page-sidebar__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-sidebar__list li {
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.page-sidebar__list li:last-child {
  border-bottom: none;
}

.page-sidebar__list a {
  display: block;
  padding: 10px 18px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color 0.18s, background 0.18s, padding-left 0.18s;
  white-space: nowrap;
}

.page-sidebar__list a:hover {
  color: #fff;
  background: rgba(255,255,255,0.06);
  padding-left: 22px;
}

.page-sidebar__list a.is-active {
  color: #fff;
  background: rgba(255,255,255,0.06);
  padding-left: 22px;
}

@media (min-width: 1500px) {
  /* Pfeil ausblenden da Dropdown durch Sidebar ersetzt */
  .nav-menu .menu-item-has-children > a::after {
    display: none !important;
  }
    .nav-menu .menu-item-has-children:hover > .sub-menu {
    display: none !important;
  }
}

/* Alle Anchor-Ziele bekommen einen unsichtbaren Abstand nach oben */
/* Seiten ohne Subnav */
[id] {
  scroll-margin-top: 85px;
}

/* Seiten mit Subnav (Klasse auf body oder main setzen) */
.has-subnav [id] {
  scroll-margin-top: calc(125px);
}

@media (max-width: 860px) {
  [id] {
    scroll-margin-top: 68px;
  }
}

/* ================================================================
   HERO SECTION
   ================================================================ */

/* Navbar-Höhe als Variable – einmal setzen, überall verwenden */
:root {
  --navbar-height: 85px; /* Desktop */
}

@media (max-width: 860px) {
  :root {
    --navbar-height: 68px; /* Mobile */
  }
}

.hero {
  position: relative;
  display: flex;
  flex-direction: column;

  /* Fallback alte Browser */
  min-height: calc(100vh - 85px);

  /* 100svh = immer kleinstes Viewport = immer vollständig sichtbar */
  min-height: calc(100svh - 85px);
}

@media (max-width: 860px) {
  .hero {
    min-height: calc(100vh - 68px);
    min-height: calc(100svh - 68px);
    min-height: var(--hero-height);
    height: var(--hero-height);
  }

  .hero__inner {
    margin-bottom: 0;
    padding-bottom: 40px;
  }
}

.hero--has-bg {
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(235,225,200,0.88) 0%,
    rgba(210,195,165,0.72) 50%,
    rgba(180,165,135,0.40) 100%
  );
  z-index: 0;
}

.hero--has-bg .hero__overlay {
  background: linear-gradient(
    100deg,
    rgba(30,20,10,0.68) 0%,
    rgba(20,12,5,0.42) 55%,
    rgba(0,0,0,0.18) 100%
  );
}

.hero--has-bg .hero__eyebrow     { color: rgba(255,255,255,0.70); }
.hero--has-bg .hero__title-black { color: var(--color-white); }
.hero--has-bg .hero__text        { color: rgba(255,255,255,0.88); }

@media (min-width: 861px) {
  .hero .hero__eyebrow     { font-size: 18px; }
  .hero .hero__title-black { font-size: 107px; }
  .hero .hero__title-red   { font-size: 80px; }
  .hero .hero__text        { font-size: 18px; }
}

.hero > .container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 100%;
  padding: 0;
  display: flex;
  flex-direction: column;
  flex: 1;
  align-items: center;
  justify-content: center;
}

.hero__inner {
  width: fit-content;
  max-width: 640px;
  padding: clamp(24px, 3vw, 40px) clamp(24px, 4vw, 48px) clamp(24px, 3vw, 40px);
  margin-bottom: 80px;
  background: rgba(44, 44, 44, 0.9);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-radius: 4px;
}

.hero__eyebrow {
  font-size: var(--fs-sm);
  font-family: var(--font-body);
  font-weight: var(--fw-medium);
  color: var(--color-text-light);
  letter-spacing: 0.10em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.hero__title-black {
  font-family: var(--font-display);
  font-size: 62px;
  font-weight: 300;
  color: var(--color-title-large);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.0;
}

.hero__title-red {
  font-family: var(--font-display);
  font-size: 46.5px;
  font-weight: 300;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.0;
  margin-bottom: 22px;
}

.hero__text {
  font-size: var(--fs-base);
  font-weight: var(--fw-light);
  color: var(--color-text);
  max-width: 500px;
  margin-bottom: 28px;
  line-height: 1.65;
}

.hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

/* ================================================================
   SCROLL-PFEIL
   ================================================================ */
.scroll-arrow {
  position: absolute;
  bottom: 120px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
}

.scroll-arrow a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1.5px solid rgba(255,255,255,0.30);
  border-radius: 50%;
  color: rgba(255,255,255,0.60);
  transition: border-color 0.3s ease, color 0.3s ease;
  animation: bounceDown 2s ease-in-out infinite;
}

.scroll-arrow a:hover {
  border-color: #CC2020;
  color: #fff;
  animation: none;
  transform: translateY(2px);
}

@keyframes bounceDown {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(7px); }
}

/* ================================================================
   INFO BAR
   ================================================================ */
.info-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 4;
  background: rgba(44,44,44,0.9);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-top: 1px solid rgba(255,255,255,0.10);
}

@media (max-width: 860px) {
  .info-bar {
    position: static;   /* ← aus dem Hero herausnehmen */
    width: 100%;
  }
}

.info-bar__grid {
  display: flex;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(20px, 6vw, 80px);
}

.info-box {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px clamp(12px, 2.5vw, 32px);
  border-right: 1px solid rgba(255,255,255,0.08);
}
.info-box:last-child { border-right: none; }

.info-box__icon {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: var(--color-white);
  font-weight: 800;
  flex-shrink: 0;
}

.info-box__title {
  font-size: 18px;
  font-weight: 500;
  color: #fff;
}

.info-box__sub {
  font-size: var(--fs-base);
  color: rgba(255,255,255,0.88);
  margin-top: 2px;
}

/* ── Mobile ── */
@media (max-width: 860px) {
  :root {
    --navbar-height: 56px;
  }
  
  .info-bar__grid {
    flex-direction: column;
    padding: 0;
  }
  .info-box {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding: 16px 24px;
  }
  .info-box:last-child { border-bottom: none; }
  .scroll-arrow        { display: none; }
}

/* ================================================================
   TWO-COLUMN LAYOUT
   ================================================================ */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: start;
}

.two-col--aside {
  grid-template-columns: 2fr 1fr;
}

/* ================================================================
   CARDS GRID
   ================================================================ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  background-color: var(--color-bg-box);
  border: 1px solid var(--color-line);
  border-top: 3px solid var(--color-accent);
  border-radius: var(--radius);
  padding: 20px 24px;
}

.card__icon {
  font-size: 30px;
  margin-bottom: 14px;
  line-height: 1;
}

.card__title {
  font-size: var(--fs-base);
  font-weight: 700;
  color: var(--color-title-large);
  margin-bottom: 8px;
}

.card__text {
  font-size: var(--fs-sm);
  color: var(--color-text-light);
  line-height: 1.6;
  margin-bottom: 0;
}

/* ================================================================
   Single Post
   ================================================================ */

/* ── Post Meta ── */
.post-meta {
  font-size: 12px;
  color: var(--color-text-light);
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.post-meta__sep { opacity: 0.4; }

/* ── Post Navigation ── */
.post-nav {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--color-line);
  flex-wrap: wrap;
}

.post-nav__prev,
.post-nav__next {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-decoration: none;
  max-width: 48%;
}

.post-nav__next { text-align: right; margin-left: auto; }

.post-nav__label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-light);
}

.post-nav__title {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-accent);
  transition: color 0.18s;
}

.post-nav__prev:hover .post-nav__title,
.post-nav__next:hover .post-nav__title {
  color: var(--color-title-large);
}

/* ================================================================
   SINGLE AKTUELLES
   ================================================================ */
.aktuelles-layout {
  display: block;   /* ← Standard: volle Breite */
}

.aktuelles-layout--has-foto {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 40px;
  align-items: start;
}

@media (max-width: 860px) {
  .aktuelles-layout--has-foto {
    grid-template-columns: 1fr;
  }

  .aktuelles-layout--has-foto .aktuelles-foto {
    order: -1;
  }
}
 
/* Foto */
.aktuelles-foto__img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: block;
  position: sticky;
  top: calc(85px + 20px);
}
 
/* Downloads */
.aktuelles-downloads,
.aktuelles-links {
  margin-top: 32px;
  padding-top: 24px;
}
 
.aktuelles-downloads__title,
.aktuelles-links__title {
  font-size: var(--fs-base);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-light);
  margin-bottom: 12px;
}
 
.aktuelles-download-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--color-bg-box);
  border-radius: var(--radius);
  text-decoration: none;
  margin-bottom: 8px;
  transition: background 0.18s, border-color 0.18s;
}
 
.aktuelles-download-item svg {
  color: var(--color-accent);
  flex-shrink: 0;
}
 
.aktuelles-download-item__name {
  flex: 1;
  font-size: var(--fs-base);
  color: var(--color-text);
  font-weight: 500;
}
 
.aktuelles-download-item__name:hover {
  color: var(--color-accent);
}

.aktuelles-download-item__ext {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-white);
  background: var(--color-accent);
  padding: 2px 6px;
  border-radius: 2px;
  letter-spacing: 0.05em;
}
 
/* Links */
.aktuelles-link-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 0;
  font-size: var(--fs-base);
  color: var(--color-accent);
  text-decoration: none;
  transition: color 0.18s, gap 0.18s;
}
 
.aktuelles-link-item:last-child { border-bottom: none; }
 
.aktuelles-link-item:hover {
  color: var(--color-title-large);
  gap: 12px;
}
 
.aktuelles-link-item svg { flex-shrink: 0; }

.aktuelles-download-item__preview {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 2px;
  flex-shrink: 0;
  border: 1px solid var(--color-line);
}

.aktuelles-download-item--has-preview {
  align-items: center;
}
 
/* Zurück-Button */
.aktuelles-back {
  margin-top: 40px;
  padding-top: 24px;
}

/* ================================================================
   SINGLE events
   ================================================================ */
.events-layout {
  display: block;   /* ← Standard: volle Breite */
}

.events-layout--has-foto {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 40px;
  align-items: start;
}

@media (max-width: 860px) {
  .events-layout--has-foto {
    grid-template-columns: 1fr;
  }

  .events-layout--has-foto .events-foto {
    order: -1;
  }
}
 
/* Foto */
.events-foto__img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: block;
  position: sticky;
  top: calc(85px + 20px);
}
 
/* Downloads */
.events-downloads,
.events-links {
  margin-top: 32px;
  padding-top: 24px;
}
 
.events-downloads__title,
.events-links__title {
  font-size: var(--fs-base);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-light);
  margin-bottom: 12px;
}
 
.events-download-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--color-bg-box);
  border-radius: var(--radius);
  text-decoration: none;
  margin-bottom: 8px;
  transition: background 0.18s, border-color 0.18s;
}
 
.events-download-item svg {
  color: var(--color-accent);
  flex-shrink: 0;
}
 
.events-download-item__name {
  flex: 1;
  font-size: var(--fs-base);
  color: var(--color-text);
  font-weight: 500;
}
 
.events-download-item__name:hover {
  color: var(--color-accent);
}

.events-download-item__ext {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-white);
  background: var(--color-accent);
  padding: 2px 6px;
  border-radius: 2px;
  letter-spacing: 0.05em;
}
 
/* Links */
.events-link-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 0;
  font-size: var(--fs-base);
  color: var(--color-accent);
  text-decoration: none;
  transition: color 0.18s, gap 0.18s;
}
 
.events-link-item:last-child { border-bottom: none; }
 
.events-link-item:hover {
  color: var(--color-title-large);
  gap: 12px;
}
 
.events-link-item svg { flex-shrink: 0; }

.events-download-item__preview {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 2px;
  flex-shrink: 0;
  border: 1px solid var(--color-line);
}

.events-download-item--has-preview {
  align-items: center;
}
 
/* Zurück-Button */
.events-back {
  margin-top: 40px;
  padding-top: 24px;
}

/* ── Event Info-Box (rechte Spalte) ── */
.event-info-box {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--color-bg-box);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin-bottom: 16px;
}

.event-info-box__item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--fs-base);
  color: var(--color-text);
}

.event-info-box__item svg {
  flex-shrink: 0;
  color: var(--color-accent);
}
/* ================================================================
   TRAINING TABLE
   ================================================================ */
.training-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--fs-base);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  overflow: hidden;
}

.training-table thead tr {
  background: var(--color-header-footer);
  color: var(--color-menu);
}

.training-table thead th {
  padding: 13px 20px;
  text-align: left;
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.training-table tbody tr {
  background: var(--color-table-bg);
  border-bottom: 1px solid var(--color-line);
  transition: background 0.15s;
}

.training-table tbody tr:nth-child(even) {
  background: var(--color-bg-box);
}

.training-table tbody tr:hover {
  background: #e8e0d0;
}

.training-table td {
  padding: 12px 20px;
  color: var(--color-text);
}

/* ================================================================
   CONTENT AREA (WordPress Editor Output)
   ================================================================ */
.entry-content {
  font-size: var(--fs-base);
  line-height: 1.7;
  color: var(--color-text);
}

.entry-content h1 { font-size: 26px; color: var(--color-title-large); font-weight: 800; margin-bottom: 10px; }
.entry-content h2 { font-size: 26px; color: var(--color-title-normal); margin: 0px 0 14px; }
.entry-content h3 { font-size: 20px; color: var(--color-title-large);  margin: 0px 0 10px; }
.entry-content h4 { font-size: 17px; color: var(--color-title-large);  margin: 0px 0 8px; }

.entry-content ul,
.entry-content ol {
  padding-left: 22px;
  margin-bottom: 1.1em;
}

.entry-content ul { list-style: disc; }
.entry-content ol { list-style: decimal; }
.entry-content li { margin-bottom: 4px; }

.entry-content strong { font-weight: 700; }
.entry-content em     { font-style: italic; }

.entry-content a {
  color: var(--color-accent);
  text-decoration: underline;
}

.entry-content blockquote {
  border-left: 4px solid var(--color-accent);
  padding: 12px 20px;
  background: var(--color-bg-box);
  margin: 20px 0;
  font-style: italic;
  color: var(--color-text-light);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.entry-content table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.2em;
}

.entry-content table th,
.entry-content table td {
  padding: 10px 16px;
  border: 1px solid var(--color-line);
  text-align: left;
}

.entry-content table th {
  background: var(--color-header-footer);
  color: var(--color-white);
  font-size: var(--fs-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.entry-content table tr:nth-child(even) td {
  background: var(--color-bg-box);
}

.entry-content img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 12px;
}

/* WordPress alignment classes */
.alignleft  { float: left; margin: 0 20px 12px 0; }
.alignright { float: right; margin: 0 0 12px 20px; }
.aligncenter { display: block; margin: 0 auto 12px; }

/* ================================================================
   SIDEBAR / WIDGETS
   ================================================================ */
.sidebar {
  padding-left: 24px;
}

.widget {
  background: var(--color-bg-box);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: var(--shadow);
}

.widget-title {
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--color-title-normal);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--color-accent);
}

.widget ul { list-style: none; }

.widget ul li {
  padding: 7px 0;
  border-bottom: 1px solid var(--color-line);
  font-size: var(--fs-sm);
}

.widget ul li:last-child { border-bottom: none; }

.widget ul li a {
  color: var(--color-text);
}

.widget ul li a:hover { color: var(--color-accent); }

/* ================================================================
   POSTS / BLOG
   ================================================================ */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.post-card {
  background: var(--color-bg-box);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.post-card__thumb {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--color-bg-box);
}

.post-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-card__body {
  padding: 20px;
}

.post-card__meta {
  font-size: var(--fs-sm);
  color: var(--color-text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.post-card__title {
  font-size: var(--fs-base);
  font-weight: 700;
  color: var(--color-title-large);
  margin-bottom: 8px;
  line-height: 1.3;
}

.post-card__title a {
  color: inherit;
  text-decoration: none;
}

.post-card__title a:hover { color: var(--color-accent); }

.post-card__excerpt {
  font-size: var(--fs-sm);
  color: var(--color-text-light);
  line-height: 1.55;
  margin-bottom: 14px;
}

/* ================================================================
   PAGINATION
   ================================================================ */
.pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 32px 0;
}

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--color-text);
  transition: background 0.18s, color 0.18s;
  text-decoration: none;
}

.pagination a:hover { background: var(--color-bg-box); }

.pagination .current {
  background: var(--color-accent);
  color: var(--color-white);
  border-color: var(--color-accent);
}

/* ================================================================
   FOOTER
   ================================================================ */
.site-footer {
  background: var(--color-header-footer);
  border-top: 3px solid var(--color-accent);
}

.footer-widgets {
  padding: 48px 0 32px;
  border-bottom: 1px solid rgba(255,255,255,0.10);
}

.footer-widgets__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-widget__title {
  font-size: var(--fs-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.75);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.14);
}

.footer-widget p,
.footer-widget li,
.footer-widget a {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  text-decoration: none;
}

.footer-widget a:hover { color: var(--color-white); }

.footer-widget ul li {
  padding: 4px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-widget ul li:last-child { border-bottom: none; }

/* Partner logos row */
.footer-logos {
  padding: 28px 0;
  border-bottom: 1px solid rgba(255,255,255,0.10);
}

.footer-logos__grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}

.footer-logo-box {
  background: none !important;
  border: none !important
  padding: 0 !important;
}

.footer-logo-box img {
    height: 80px;
    width: auto;
    display: block;

}

.footer-logo-box span {
  display: block;
  font-size: var(--fs-xs);
  color: rgba(255,255,255,0.55);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Bottom bar */
.footer-bottom {
  padding: 18px 0;
}

.footer-bottom__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-bottom__copy,
.footer-bottom__links a {
  font-size: var(--fs-base);
  color: rgba(255,255,255,0.40);
}

.footer-bottom__links {
  display: flex;
  gap: 16px;
}

.footer-bottom__links a:hover { color: var(--color-white); }

/* ================================================================
   TRAINING PAGE
   ================================================================ */
 
/* ── Trainingszeiten ── */
.zeiten-table {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* Desktop: Header */
.zeiten-header {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-bottom: 6px;
  min-width: 600px;
}

.zeiten-header__day {
  font-size: var(--fs-base);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--color-title-large);
  padding: 4px 0;
}

/* Desktop: Spalten mit expliziter Grid-Platzierung */
@media (min-width: 861px) {
  .zeiten-days {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
    min-width: 600px;
  }

  .zeiten-day-col {
    display: contents;
  }

  .zeiten-day-col:nth-child(1) > .zeiten-card:nth-child(2) { grid-column: 1; grid-row: 1; }
  .zeiten-day-col:nth-child(1) > .zeiten-card:nth-child(3) { grid-column: 1; grid-row: 2; }
  .zeiten-day-col:nth-child(2) > .zeiten-card:nth-child(2) { grid-column: 2; grid-row: 1; }
  .zeiten-day-col:nth-child(2) > .zeiten-card:nth-child(3) { grid-column: 2; grid-row: 2; }
  .zeiten-day-col:nth-child(3) > .zeiten-card:nth-child(2) { grid-column: 3; grid-row: 1; }
  .zeiten-day-col:nth-child(3) > .zeiten-card:nth-child(3) { grid-column: 3; grid-row: 2; }
  .zeiten-day-col:nth-child(4) > .zeiten-card:nth-child(2) { grid-column: 4; grid-row: 1; }
  .zeiten-day-col:nth-child(4) > .zeiten-card:nth-child(3) { grid-column: 4; grid-row: 2; }
  .zeiten-day-col:nth-child(5) > .zeiten-card:nth-child(2) { grid-column: 5; grid-row: 1; }
  .zeiten-day-col:nth-child(5) > .zeiten-card:nth-child(3) { grid-column: 5; grid-row: 2; }
}

/* Tag-Label – auf Desktop versteckt */
.zeiten-day-label {
  display: none;
}

/* Mobile */
@media (max-width: 860px) {
  .zeiten-table  { overflow-x: visible; }
  .zeiten-header { display: none; }

  .zeiten-days {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 0;
  }

  .zeiten-day-col {
    display: flex;
    flex-direction: column;
    gap: 6px;
  }

  /* Tag-Überschrift einblenden */
  .zeiten-day-label {
    display: block;
    font-size: var(--fs-base);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--color-title-large);
    padding: 6px 0 4px;
    margin-bottom: 4px;
  }

  /* Leere und inaktive Karten ausblenden */
  .zeiten-card--empty,
  .zeiten-card--hidden-mobile,
  .zeiten-day--hidden-mobile {
    display: none !important;
  }
}

/* ── Karten ── */
.zeiten-card {
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-top: 3px solid var(--color-accent);
  border-radius: var(--radius);
  padding: 14px 16px;
}

.zeiten-card--empty {
  background: var(--color-bg-box);
  border: 1px solid var(--color-line);
  border-top: 1px solid var(--color-line);
  opacity: 0.5;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.zeiten-card__time {
  font-size: var(--fs-base);
  font-weight: 800;
  color: var(--color-accent);
  margin-bottom: 6px;
  line-height: 1.2;
}

.zeiten-card__group {
  font-size: var(--fs-base);
  font-weight: 700;
  color: var(--color-title-large);
  margin-bottom: 2px;
}

.zeiten-card__note {
  font-size: var(--fs-base);
  color: var(--color-text);
}

.zeiten-card__empty-label {
  font-size: 20px;
  color: var(--color-line);
  text-align: center;
  padding: 8px 0;
}
 
/* ── Preise Einstieg ── */
.preise-einstieg {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 32px;
}
 
@media (max-width: 860px) {
  .preise-einstieg {
    grid-template-columns: 1fr;
  }
}
 
.preise-box {
  background: var(--color-bg-box);
  border: 1px solid var(--color-line);
  border-top: 3px solid var(--color-accent);
  border-radius: var(--radius);
  padding: 20px 24px;
}
 
.preise-box__title {
  font-size: var(--fs-base);
  font-weight: 700;
  color: var(--color-title-large);
  margin-bottom: 10px;
}

.preise-box__text {
  font-size: var(--fs-base);
  color: var(--color-text);
  font-weight: 500;
  margin-top: 10px;
  padding-top: 10px;
  line-height: 1.6;
}
 
.preise-box__title span {
  font-weight: 300;
  font-size: var(--fs-base);
  color: var(--color-text);
  margin-left: 4px;
}
 
.preise-box__value {
  font-size: var(--fs-base);
  font-weight: 700;
  color: var(--color-accent);
}
 
.preise-box__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  border-bottom: 1px solid var(--color-line);
  font-size: var(--fs-base);
  color: var(--color-text);
}
 
.preise-box__row:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}
 
.preise-box__row strong {
  font-weight: 700;
  color: var(--color-accent);
}
 
/* ── Mitgliederbeiträge ── */
.preise-subtitle {
  font-size: var(--fs-base);
  font-weight: 700;
  color: var(--color-title-large);
  margin-bottom: 16px;
  margin-top: 8px;
}
 
/* ── Weg zum Dojo ── */
.dojo-text {
  font-size: var(--fs-base);
  color: var(--color-text);
  margin-bottom: 24px;
  max-width: 680px;
  line-height: 1.7;
}
 
.dojo-media {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}
 
@media (max-width: 860px) {
  .dojo-media {
    grid-template-columns: 1fr;
  }
}
 
.dojo-map {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-line);
  height: 320px;
}
 
.dojo-map iframe {
  width: 100%;
  height: 100%;
  display: block;
}
 
.dojo-foto {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-line);
  height: 320px;
}
 
.dojo-foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
 
/* ── Adresse ── */
.dojo-adresse {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  padding: 16px 20px;
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  border-top: 3px solid var(--color-accent);
  margin-bottom: 16px;
}
 
.dojo-adresse__item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-base);
  color: var(--color-text);
}
 
 .dojo-adresse__icon {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-white);
}
 
 
.dojo-adresse__item svg {
  color: var(--color-white);
  flex-shrink: 0;
}
 
@media (max-width: 860px) {
  .dojo-adresse {
    flex-direction: column;
    gap: 12px;
  }
}

/* ================================================================
   EINSTIEG PAGE
   ================================================================ */
 
/* ── Intro ── */
.einstieg-intro {
  margin-bottom: 24px;
}

.einstieg-intro__text {
  font-size: var(--fs-base);
  color: var(--color-text);
  line-height: 1.7;
}

/* ── Warum Aikido ── */
.warum-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
 
@media (max-width: 860px) {
  .warum-grid { grid-template-columns: 1fr; }
}
 
.warum-card {
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-top: 3px solid var(--color-accent);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.warum-card__icon {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-white);
}
 
.warum-card__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-title-large);
  margin-bottom: 5px;
}
 
.warum-card__text {
  font-size: var(--fs-base);
  color: var(--color-text-light);
  line-height: 1.6;
}
 
/* ── So startest du ── */
.schritte {
  display: flex;
  flex-direction: column;
  gap: 0;
}
 
.schritt {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--color-line);
}
 
.schritt:last-child {
  border-bottom: none;
}
 
.schritt__num {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: 2px solid var(--color-title-large);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  font-weight: 700;
  color: var(--color-title-large);
  flex-shrink: 0;
}
 
.schritt__body {
  flex: 1;
}
 
.schritt__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-title-large);
  margin-bottom: 4px;
}
 
.schritt__text {
  font-size: var(--fs-base);
  color: var(--color-text);
  line-height: 1.6;
  margin-bottom: 6px;
}
 
.schritt__tag {
  font-size: var(--fs-base);
  color: var(--color-accent);
  display: block;
}
 
.schritt__tag a {
  color: var(--color-accent);
  text-decoration: none;
}
 
.schritt__tag a:hover {
  text-decoration: underline;
}
 
.schritt__btn {
  flex-shrink: 0;
  white-space: nowrap;
}
 
@media (max-width: 860px) {
  .schritt {
    flex-wrap: wrap;
  }
  .schritt__btn {
    width: 100%;
    text-align: center;
    justify-content: center;
    margin-top: 8px;
  }
}
 
/* ── Interessiert CTA ── */
.einstieg-cta {
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-top: 3px solid var(--color-accent);
  border-radius: var(--radius);
  padding: 22px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
 
.einstieg-cta__text {
  font-size: var(--fs-base);
  color: var(--color-text);
  line-height: 1.6;
  flex: 1;
}
 
.einstieg-cta__text strong {
  font-weight: 700;
  color: var(--color-title-large);
}
 
.einstieg-cta__btn {
  flex-shrink: 0;
  white-space: nowrap;
}
 
@media (max-width: 860px) {
  .einstieg-cta {
    flex-direction: column;
    align-items: flex-start;
  }
  .einstieg-cta__btn {
    width: 100%;
    justify-content: center;
  }
}

/* ================================================================
   EVENTS PAGE
   ================================================================ */
.events-liste {
  display: flex;
  flex-direction: column;
  gap: 0;
}
 
.event-row {
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-top: 3px solid var(--color-accent);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 12px;  /* ← Abstand zwischen den Karten */
}

.event-row:last-child {
  margin-bottom: 0;
}
 
.event-row__main {
  flex: 1;
}
 
.event-row__datum {
  font-size: var(--fs-base);
  font-weight: 600;
  color: var(--color-accent);
  margin-bottom: 4px;
}
 
.event-row__titel {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-title-large);
  margin-bottom: 10px;
  line-height: 1.3;
}
 
.event-row__meta {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
 
.event-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-base);
  color: var(--color-text-light);
}
 
.event-meta-item svg {
  flex-shrink: 0;
  color: var(--color-text-light);
}
 
.event-row__btn {
  flex-shrink: 0;
  white-space: nowrap;
}
 
.events-leer {
  font-size: var(--fs-base);
  color: var(--color-text-light);
  font-style: italic;
  padding: 20px 0;
}
 
@media (max-width: 860px) {
  .event-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .event-row__meta {
    gap: 12px;
    flex-direction: column;
  }
  .event-row__btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}

/* ================================================================
   DOJO PAGE
   ================================================================ */
 
/* ── Aikido erklärt ── */
.erklaert-wrap {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}
 
@media (max-width: 860px) {
  .erklaert-wrap { flex-direction: column; }
}
 
.erklaert-foto {
  flex-shrink: 0;
  width: 200px;
}
 
.erklaert-foto img {
  width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
  aspect-ratio: 1;
}
 
.erklaert-text {
  flex: 1;
}
 
.erklaert-body {
  font-size: var(--fs-base);
  color: var(--color-text);
  line-height: 1.75;
  margin-bottom: 10px;
}
 
.erklaert-autor {
  font-size: 14px;
  font-style: italic;
  color: var(--color-text-light);
  margin-bottom: 0;
}
 
/* ── Unser Dojo Text ── */
.dojo-erklaert-text {
  font-size: var(--fs-base);
  color: var(--color-text);
  line-height: 1.7;
  margin-bottom: 20px;
}
 
/* ── Slider ── */
.dojo-slider {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: transparent;
  border: none;
}

.dojo-slider__track {
  display: flex;
  transition: transform 0.4s ease;
}

.dojo-slider__slide {
  flex: 0 0 100%;
  padding: 4px;
  box-sizing: border-box;
}

.dojo-slider .dojo-slider__track .dojo-slider__slide img {
  width: 100% !important;
  object-fit: cover !important;
}

/* Pfeile */
.dojo-slider__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.45);
  color: #fff;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}


.dojo-slider__arrow:hover    { background: rgba(204,26,26,0.85); }
.dojo-slider__arrow--prev    { left: 8px; }
.dojo-slider__arrow--next    { right: 8px; }

/* Dots */
.dojo-slider__dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 12px;
}

.dojo-slider__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #c8c0b0;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  padding: 0;
}

.dojo-slider__dot.is-active,
.dojo-slider__dot:hover {
  background: #cc1a1a;
}
 
/* ── Team ── */
.team-subtitle {
  font-size: var(--fs-base);
  font-weight: 700;
  color: var(--color-title-large);
  margin-bottom: 16px;
  margin-top: 8px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 32px;
}

.team-grid--vorstand {
  grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 860px) {
  .team-grid,
  .team-grid--vorstand {
    grid-template-columns: 1fr;
  }
}

.team-card {
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-top: 3px solid var(--color-accent);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  gap: 16px;
  padding: 16px;
  align-items: flex-start;
}

.team-card__foto {
  width: 150px;
  height: 150px;
  object-fit: cover;
  object-position: top;
  border-radius: 2px;
  flex-shrink: 0;
  display: block;
}

@media (max-width: 860px) {
  .team-card__foto {
    width: 120px;
	height: 120px;
  }
}

.team-card__foto--placeholder {
  width: 120px;
  height: 140px;
  background: var(--color-bg);
  border: 1px solid var(--color-line);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-line);
  flex-shrink: 0;
}

.team-card__name {
  font-size: var(--fs-base);
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1.3;
  margin-bottom: 3px;
}

.team-card__grad {
  font-size: var(--fs-base);
  color: var(--color-text);
  margin-bottom: 10px;
}

.team-card__rollen {
  font-size: var(--fs-base);
  color: var(--color-text);
  font-weight: 500;
  line-height: 1.6;
}

/* Vorstand */
.team-card--vorstand .team-card__grad {
  font-size: var(--fs-base);
  color: var(--color-text);
  margin-bottom: 10px;
}

.team-card--vorstand .team-card__name {
  font-size: var(--fs-base);
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 2px;
}

.team-card--vorstand .team-card__amt {
  font-size: var(--fs-base);
  color: var(--color-text);
  font-weight: 500;
  line-height: 1.4;
}

.team-card__amt-jp {
  font-weight: 400;
  color: var(--color-text);
  display: block;
  font-size: 14px;
}
 
/* ── Dojo Vermietung ── */
.vm-block {
  background: var(--color-bg-box);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  border-top: 3px solid var(--color-accent);
  padding: 18px 22px;
  margin-bottom: 12px;
}
 
.vm-block__title {
  font-size: var(--fs-base);
  font-weight: 700;
  color: var(--color-title-large);
  margin-bottom: 14px;
  padding-bottom: 8px;
}
 
.vm-block__inner {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
 
@media (max-width: 860px) {
  .vm-block__inner { flex-direction: column; }
}
 
.vm-block__foto {
  width: 450px;
  object-fit: cover;
  border-radius: var(--radius);
  flex-shrink: 0;
}
 
.vm-block__text {
  flex: 1;
  font-size: var(--fs-base);
  color: var(--color-text);
  line-height: 1.7;
}
 
.vm-zwei-spalten {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}
 
@media (max-width: 860px) {
  .vm-zwei-spalten { grid-template-columns: 1fr; }
}
 
.vm-liste {
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
}
 
.vm-liste li {
  font-size: var(--fs-base);
  color: var(--color-text);
  padding: 5px 0;
  border-bottom: 1px solid var(--color-line);
  padding-left: 14px;
  position: relative;
  line-height: 1.5;
}
 
.vm-liste li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--color-accent);
}
 
.vm-liste li:last-child { border-bottom: none; }

/* ── Mietpreise (2 Zeilen pro Abschnitt: Preis + Dauermiete) ── */
.vm-preise-liste {
  margin: 0 0 14px;
}

.vm-preise-item {
  padding: 8px 0;
  border-bottom: 1px solid var(--color-line);
}

.vm-preise-item:first-child { padding-top: 0; }
.vm-preise-item:last-child  { border-bottom: none; padding-bottom: 0; }

.vm-preise-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1px 0;
  font-size: var(--fs-base);
  color: var(--color-text);
}

.vm-preise-row strong {
  font-weight: 700;
  color: var(--color-accent);
}

.vm-note {
  font-size: var(--fs-base);
  color: var(--color-text);
  font-weight: 500;
  margin-top: 10px;
  padding-top: 10px;
  margin-bottom: 14px;
  line-height: 1.6;
}
 
.vm-btn { margin-top: 4px; }
 
.vm-anfrage {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
 
.vm-anfrage__text {
  font-size: var(--fs-base);
  color: var(--color-text);
  flex: 1;
  margin-bottom: 0;
}

/* ================================================================
   MEHR PAGE
   ================================================================ */
 
/* ── Sektions-Titel (gross, rot, keine Linie darunter) ── */
.mehr-section-title {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 900;
  color: var(--color-accent);
  text-transform: none;
  letter-spacing: 0.01em;
  margin-bottom: 28px;
}
 
.mehr-downloads {
  margin-top: 14px;
}
 
.mehr-download-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: var(--color-bg);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  text-decoration: none;
  transition: background 0.18s, border-color 0.18s, color 0.18s;
  color: var(--color-text);
}
 
.mehr-download-item:hover {
  background: var(--color-white);
  border-color: var(--color-accent);
  color: var(--color-accent);
  text-decoration: none;
}
 
/* Vorschaubild (PDF-Thumbnail) */
.mehr-download-item__preview {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 2px;
  flex-shrink: 0;
  border: 1px solid var(--color-line);
}
 
/* Download-Icon */
.mehr-download-item__icon {
  flex-shrink: 0;
  color: var(--color-accent);
  width: 22px;
  height: 22px;
}
 
/* Dateiname */
.mehr-download-item__name {
  flex: 1;
  font-size: 14px;
  font-weight: 500;
  color: inherit;
  line-height: 1.4;
}
 
/* Dateiendung */
.mehr-download-item__ext {
  font-size: 11px;
  font-weight: 700;
  color: var(--color-white);
  background: var(--color-accent);
  padding: 2px 7px;
  border-radius: 2px;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}
 
.mehr-download-item:hover .mehr-download-item__name {
  color: var(--color-accent);
}

/* ── Dok-Karten ── */
.dokumente-liste {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.dok-card {
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-top: 3px solid var(--color-accent);
  border-radius: var(--radius);
  overflow: hidden;
}

.dok-card__content {
  padding: 20px 24px 16px;
}

.dok-card__label {
  font-size: var(--fs-base);
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--color-text-light);
  margin-bottom: 6px;
}

.dok-card__title {
  font-size: var(--fs-base);
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 8px;
}

.dok-card__text {
  font-size: var(--fs-base);
  color: var(--color-text);
  line-height: 1.7;
}

.dok-card__text strong {
  font-weight: 700;
  color: var(--color-text);
}

/* Download-Leiste unten */
.dok-card__download {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: #ebebeb;
  border-top: 1px solid var(--color-line);
  text-decoration: none;
  color: var(--color-text);
  transition: background 0.18s, color 0.18s;
}

.dok-card__download:hover {
  background: var(--color-bg);
  color: var(--color-accent);
  text-decoration: none;
}

.dok-card__download svg {
  flex-shrink: 0;
  color: var(--color-accent);
}

.dok-card__download span {
  flex: 1;
  font-size: var(--fs-base);
  font-weight: 500;
}

.dok-card__ext {
  flex: none !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  color: var(--color-white) !important;
  background: var(--color-accent) !important;
  padding: 2px 7px !important;
  border-radius: 2px !important;
  letter-spacing: 0.05em !important;
}

.dok-card__inner_p {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 20px 24px 16px;
  background: var(--color-bg-box)
}

.dok-card__inner_v {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 20px 24px 16px;
}

.dok-card__preview {
  flex-shrink: 0;
  width: 80px;
  border: 1px solid var(--color-line);
  border-radius: 2px;
  overflow: hidden;
}

.dok-card__preview img {
  width: 100%;
  height: auto;
  display: block;
}

/* dok-card__content padding entfernen da jetzt in __inner */
.dok-card__content {
  padding: 0;
  flex: 1;
}

@media (max-width: 600px) {
  .dok-card__inner {
    flex-direction: column;
    gap: 12px;
  }
  .dok-card__preview {
    width: 60px;
  }
}
 
/* ── Glossar ── */
.glossar-intro {
  font-size: var(--fs-base);
  color: var(--color-text);
  margin-bottom: 20px;
}
 
.glossar-table-wrap {
  overflow-x: auto;
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-top: 3px solid var(--color-accent);
  border-radius: var(--radius);
  padding: 22px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
 
.glossar-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--fs-base);
}
 
.glossar-table thead tr {
  border-bottom: 2px solid var(--color-text);
}
 
.glossar-table thead th {
  padding: 10px 20px;
  text-align: left;
  font-size: var(--fs-base);
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: 0.04em;
}
 
.glossar-table tbody tr {
  border-bottom: 1px solid var(--color-line);
  transition: background 0.15s;
}
 
.glossar-table tbody tr:hover {
  background: var(--color-bg-box);
}
 
.glossar-table td {
  padding: 11px 20px;
  color: var(--color-text);
  vertical-align: top;
}
 
.glossar-table td:first-child {
  width: 220px;
  font-weight: 400;
}
 
.glossar-table td strong {
  font-weight: 700;
}
 
/* ── Glossar Mehr-Button ── */
.glossar-mehr-wrap {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.glossar-mehr-btn {
  background: var(--color-accent);
  color: var(--color-white);
  border-color: var(--color-accent);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  padding: 12px 28px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, transform 0.12s, border-color 0.18s;
  text-decoration: none !important;
}

.glossar-mehr-btn:hover {
  background: #a81515;
  border-color: #a81515;
  color: var(--color-white);
  transform: translateY(-1px);
}

.glossar-mehr-icon {
  transition: transform 0.3s ease;
}
 
/* ── Fotoalben ── */
.alben-intro {
  font-size: 14px;
  color: var(--color-text);
  margin-bottom: 20px;
}

.alben-leer,
.album-leer {
  font-size: var(--fs-base);
  color: var(--color-text-light);
  font-style: italic;
  padding: 20px 0;
}

.alben-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
 
@media (max-width: 860px) {
  .alben-grid { grid-template-columns: repeat(3, 1fr); }
}
 
@media (max-width: 480px) {
  .alben-grid { grid-template-columns: repeat(2, 1fr); }
}
 
.album-card {
  display: block;
  text-decoration: none;
  cursor: pointer;
}
 
.album-card__foto {
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-line);
  margin-bottom: 8px;
  background: var(--color-bg-box);
}

.album-card__foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
 
.album-card__foto--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-line);
}
 
.album-card__titel {
  font-size: var(--fs-base);
  font-weight: 500;
  color: var(--color-text);
  line-height: 1.4;
  text-align: left;
}

.album-card--placeholder .album-card__titel {
  color: var(--color-text-light);
}

.alben-archiv-link {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.alben-archiv-btn {
  background: var(--color-accent);
  color: var(--color-white);
  border-color: var(--color-accent);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  padding: 12px 28px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, transform 0.12s, border-color 0.18s;
  text-decoration: none !important;
}

.alben-archiv-btn:hover {
  background: #a81515;
  border-color: #a81515;
  color: var(--color-white);
  transform: translateY(-1px);
}


/* ================================================================
   FOTOALBUM – Einzelseite
   ================================================================ */
 
.album-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--color-text-light);
  text-decoration: none;
  margin-bottom: 8px;
  transition: color 0.18s;
}
 
.album-back:hover { color: var(--color-accent); }
 
.album-beschreibung {
  margin-bottom: 24px;
}
 
/* Fotogrid */
.album-foto-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
 
@media (max-width: 860px) {
  .album-foto-grid { grid-template-columns: repeat(3, 1fr); }
}
 
@media (max-width: 480px) {
  .album-foto-grid { grid-template-columns: repeat(2, 1fr); }
}
 
.album-foto-item {
  display: block;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--color-line);
}
 
.album-foto-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── Impressionen-Galerie (front-page.php) ── */
.impressionen-gallery {
  position: relative;
  overflow: hidden;
}

.impressionen-gallery__track {
  display: flex;
  gap: 8px;
  transition: transform 0.4s ease;
}

.impressionen-gallery__item {
  flex: 0 0 calc(50% - 4px);
}

@media (min-width: 481px) {
  .impressionen-gallery__item { flex: 0 0 calc(33.333% - 5.333px); }
}

@media (min-width: 861px) {
  .impressionen-gallery__item { flex: 0 0 calc(25% - 6px); }
}

.impressionen-gallery__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.45);
  color: #fff;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.impressionen-gallery__arrow:hover { background: rgba(204,26,26,0.85); }
.impressionen-gallery__arrow--prev { left: 8px; }
.impressionen-gallery__arrow--next { right: 8px; }

.impressionen-gallery__dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 12px;
}

.impressionen-gallery__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #c8c0b0;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  padding: 0;
}

.impressionen-gallery__dot.is-active,
.impressionen-gallery__dot:hover {
  background: #cc1a1a;
}

/* Externer Link */
.album-extern {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 24px;
  background: var(--color-bg-box);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  flex-wrap: wrap;
}
 
.album-extern__text {
  flex: 1;
  font-size: 14px;
  color: var(--color-text);
  margin: 0;
}

/* ================================================================
   BACKGROUNDS / SURFACE VARIANTS
   ================================================================ */
.bg-white {
  background: var(--color-white);
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
}

.bg-cream { background: var(--color-bg); }
.bg-box   { background: var(--color-bg-box); }
.bg-dark  { background: var(--color-header-footer); }


/* ================================================================
   MINI-HERO
   ================================================================ */
.page-hero {
  position: relative;
  background: var(--color-header-footer);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.page-hero--has-bg {
  min-height: 15vh;
}

.page-hero--image-only {
  min-height: 15vh;
}

.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(20,10,5,0.55) 0%,
    rgba(10,5,2,0.30) 55%,
    rgba(0,0,0,0.10) 100%
  );
  z-index: 0;
}

/* ================================================================
   SEITENTITEL
   ================================================================ */
.page-title-wrap {
  background: var(--color-bg);
  padding: 28px 0 20px;
}
 
.page-title-wrap__title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--color-title-normal);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin-bottom: 0;
  display: inline-block;
}

.page-title-wrap__title::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: var(--color-accent);
  margin-top: 8px;
  border-radius: 2px;
}

/* ================================================================
   KONTAKTPERSON REIHE
   ================================================================ */
.kontakt-person-card {
  background: var(--color-white);
  border-radius: var(--radius);
  border-top: 3px solid var(--color-accent);
  overflow: hidden;
}

.kontakt-person-card__items {
  display: flex;
  align-items: stretch;
}

.kontakt-person-card__item {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 28px;
  border-right: 1px solid rgba(255,255,255,0.08);
  font-size: var(--fs-base);
  color: var(--color-text);
  text-decoration: none;
  transition: color 0.18s;
}

.kontakt-person-card__item:last-child {
  border-right: none;
}

a.kontakt-person-card__item:hover {
  color: var(--color-accent);
}

.kontakt-person-card__avatar {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  flex-shrink: 0;
}

.kontakt-person-card__name {
  font-size: var(--fs-base);
  font-weight: var(--fw-bold);
  color: var(--color-text);
  line-height: 1.3;
}

.kontakt-person-card__role {
  font-size: var(--fs-base);
  font-weight: var(--fw-normal);
  color: var(--color-text);
  margin-top: 1px;
}

.kontakt-person-row {
  margin-bottom: 20px;
}

/* Mobile */
@media (max-width: 860px) {
  .kontakt-person-card__items {
    flex-direction: column;
  }
  .kontakt-person-card__item {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding: 16px 24px;
  }
  .kontakt-person-card__item:last-child {
    border-bottom: none;
  }
}

/* ================================================================
   FORMULAR-WRAP (volle Breite, kein Rahmen)
   ================================================================ */
.kontakt-form-wrap {
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

@media (max-width: 860px) {
  .kontakt-form-wrap {
    padding: 24px 0;
  }
}

/* ================================================================
   FORMIDABLE FORMS – Aikido Sursee
   ================================================================ */
 
button.frm_button_submit {
  width: 100% !important;
  padding: 14px 28px !important;
  background: var(--color-accent) !important;
  color: var(--color-white) !important;
  font-family: var(--font-display) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.10em !important;
  border: 2px solid var(--color-accent) !important;
  border-radius: var(--radius) !important;
  cursor: pointer !important;
  margin: 8px 0 0 0 !important;
  box-shadow: none !important;
  text-shadow: none !important;
  line-height: normal !important;
  height: auto !important;
}

button.frm_button_submit:hover {
  background: #a81515 !important;
  border-color: #a81515 !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(204,26,26,0.35) !important;
}


/* ================================================================
   SEPARATORS
   ================================================================ */
hr.separator {
  border: none;
  border-top: 1px solid var(--color-line);
  margin: 0;
}

.dot-divider {
  border-top: 1px solid var(--color-line);
  margin: 0;
}

/* ================================================================
   404 PAGE
   ================================================================ */
.error-404 {
  text-align: center;
  padding: 80px 24px;
}

.error-404__code {
  font-size: 120px;
  font-weight: 900;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: 16px;
}

.error-404__title {
  font-size: 28px;
  margin-bottom: 12px;
}

.error-404__text {
  color: var(--color-text-light);
  margin-bottom: 24px;
}

/* ================================================================
   SEARCH FORM
   ================================================================ */
.search-form {
  display: flex;
  gap: 0;
}

.search-form input[type="search"] {
  flex: 1;
  padding: 10px 16px;
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  border: 1px solid var(--color-line);
  border-right: none;
  border-radius: var(--radius) 0 0 var(--radius);
  background: var(--color-white);
  color: var(--color-text);
  outline: none;
}

.search-form button {
  padding: 10px 18px;
  background: var(--color-accent);
  color: var(--color-white);
  border: 1px solid var(--color-accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  cursor: pointer;
  font-size: var(--fs-sm);
  transition: background 0.18s;
}

.search-form button:hover { background: #a81515; }

/* ================================================================
   RESPONSIVE – Tablet & Mobile
   ================================================================ */
@media (max-width: 1024px) {
  .footer-widgets__grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}

@media (max-width: 860px) {
  :root { --fs-xl: 28px; }

  .info-bar__grid     { grid-template-columns: 1fr; }
  .info-box           { border-right: none; border-bottom: 1px solid var(--color-line); }
  .cards-grid         { grid-template-columns: 1fr; }
  .two-col            { grid-template-columns: 1fr; gap: 28px; }
  .two-col--aside     { grid-template-columns: 1fr; }
  .posts-grid         { grid-template-columns: 1fr; }
  .footer-widgets__grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom__inner { flex-direction: column; text-align: center; }
  .footer-bottom__links { justify-content: center; }
  .sidebar            { padding-left: 0; padding-top: 32px; }

  /* Mobile Nav */
  .nav-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--color-header-footer);
    padding: 12px 0;
    box-shadow: 0 4px 16px rgba(0,0,0,0.3);
    z-index: 999;
  }

  .nav-menu.is-open { display: flex; }

  .nav-menu li > a {
    padding: 11px 24px;
    border-radius: 0;
    width: 100%;
  }

  .nav-menu .sub-menu {
    position: static;
    box-shadow: none;
  }

  .nav-menu li:hover > .sub-menu { display: none; }
  .nav-menu li.is-open > .sub-menu { display: block; }

  .nav-toggle { display: flex; }
}

@media (max-width: 860px) {
  .hero > .container {
    justify-content: center;
    padding-top: 150px;
  }

  .hero__inner {
    width: 100%;
    max-width: 100%;
    border-radius: 0;
    margin-bottom: 200px;
    padding-bottom: 25px;
  }
}

@media (max-width: 860px) {
  .hero__actions {
    flex-direction: column;
    align-items: flex-start;
  }
  .btn {
    width: 100%;
    justify-content: center;
  }
}
