/* ==========================================================
   R-M-E – styles.css
   Erstellt mit dem Theme-Baukasten für PHP-Fusion v9
   Farben & Maße zentral als CSS-Variablen anpassbar.
   ========================================================== */
:root {
  --ft-primary: #ff0080;      --ft-on-primary: #ffffff;
  --ft-secondary: #000080;    --ft-on-secondary: #ffffff;
  --ft-accent: #ff0080;       --ft-on-accent: #ffffff;
  --ft-bg: #11161d; --ft-surface: #18202a; --ft-text: #e8ecf1;
  --ft-muted: #969ba0; --ft-border: #2d3239; --ft-alt: #221424;
  --ft-radius: 4px;
  --ft-container: 1240px;
  --ft-side: 280px;
  --ft-font-head: 'Rajdhani', 'Segoe UI', Arial, sans-serif;
  --ft-font-body: 'Barlow', 'Segoe UI', Arial, sans-serif;
}
/* Zweite Farbpalette für den Hell/Dunkel-Umschalter */
html[data-ft-mode="alt"] {
  --ft-bg: #f6f0f5; --ft-surface: #ffffff; --ft-text: #141948;
  --ft-muted: #6a6b8a; --ft-border: #d9d4df; --ft-alt: #f6e4ef;
}

/* ---------- Grundlagen ---------- */
html body { margin: 0; background: var(--ft-bg); color: var(--ft-text); font-family: var(--ft-font-body); font-size: 16px; line-height: 1.65; }
html body h1, html body h2, html body h3, html body h4, html body h5 { font-family: var(--ft-font-head); font-weight: 700; line-height: 1.2; color: inherit; text-wrap: balance; }
html body a { color: var(--ft-primary); }
html body a:hover { color: var(--ft-primary); opacity: .85; }
html body img { max-width: 100%; height: auto; }
.ft-page { position: relative; overflow-x: clip; }
.ft-container { max-width: var(--ft-container); margin: 0 auto; padding: 0 20px; box-sizing: border-box; }

/* ---------- Buttons ---------- */
html body .ft-btn { display: inline-block; padding: 12px 26px; border-radius: var(--ft-radius); font-weight: 600; text-decoration: none; line-height: 1.2; border: 2px solid transparent; transition: transform .15s ease, opacity .15s ease; }
html body .ft-btn:hover { transform: translateY(-1px); opacity: .92; text-decoration: none; }
html body .ft-btn-primary { background: var(--ft-primary); color: var(--ft-on-primary); }
html body .ft-btn-accent { background: var(--ft-accent); color: var(--ft-on-accent); }
html body .ft-btn-ghost { border-color: currentColor; color: inherit; background: transparent; }
html body .ft-btn-sm { padding: 6px 14px; font-size: .9em; }

/* ---------- Topbar ---------- */
.ft-topbar { background: var(--ft-secondary); color: var(--ft-on-secondary); font-size: .85em; }
.ft-topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 6px 20px; flex-wrap: wrap; min-height: 38px; }
.ft-topbar-text { opacity: .8; }
.ft-social { display: flex; flex-wrap: wrap; gap: 4px 14px; }
html body .ft-social a { color: inherit; text-decoration: none; opacity: .75; font-weight: 600; }
html body .ft-social a:hover { opacity: 1; }

/* ---------- Header & Menü ---------- */
.ft-header { background: var(--nav-bg); color: var(--nav-fg); z-index: 1000; transition: background .25s ease; }
.ft-header.ft-sticky { position: sticky; top: 0; }
.ft-nav-dark { --nav-bg: var(--ft-secondary); --nav-fg: var(--ft-on-secondary); }
.ft-nav-solid { --nav-bg: var(--ft-primary); --nav-fg: var(--ft-on-primary); }
.ft-nav-light { --nav-bg: var(--ft-surface); --nav-fg: var(--ft-text); border-bottom: 1px solid var(--ft-border); }
.ft-header-inner { display: flex; align-items: center; gap: 12px 24px; min-height: 70px; flex-wrap: wrap; }
html body .ft-brand { display: flex; align-items: center; gap: 10px; font-family: var(--ft-font-head); font-weight: 700; font-size: 1.4rem; color: inherit; text-decoration: none; }
.ft-brand img { max-height: 44px; width: auto; }
.ft-nav { display: flex; align-items: center; gap: 12px 20px; margin-left: auto; flex-wrap: wrap; order: 2; }
.ft-header-tools { display: flex; align-items: center; gap: 8px; order: 3; }
.ft-menu { display: flex; flex-wrap: wrap; gap: 2px; list-style: none; margin: 0; padding: 0; }
.ft-menu li { position: relative; }
html body .ft-menu a { display: block; padding: 8px 14px; border-radius: var(--ft-radius); color: inherit; text-decoration: none; opacity: .82; }
html body .ft-menu a:hover, html body .ft-menu li.active > a { opacity: 1; background: color-mix(in srgb, currentColor 10%, transparent); }
.ft-has-sub > a::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); opacity: .7; }
.ft-submenu { list-style: none; margin: 0; padding: 6px; position: absolute; top: 100%; left: 0; min-width: 210px; background: var(--ft-surface); color: var(--ft-text); border: 1px solid var(--ft-border); border-radius: var(--ft-radius); box-shadow: 0 12px 32px rgb(0 0 0 / .18); display: none; z-index: 20; }
.ft-has-sub:hover > .ft-submenu, .ft-has-sub:focus-within > .ft-submenu { display: block; }
.ft-user { display: flex; gap: 8px; flex-wrap: wrap; }
.ft-nav-solid .ft-user .ft-btn-primary { background: var(--ft-on-primary); color: var(--ft-primary); }
.ft-mode-toggle { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid color-mix(in srgb, currentColor 30%, transparent); border-radius: var(--ft-radius); background: transparent; color: inherit; cursor: pointer; }
.ft-mode-icon { width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; background: linear-gradient(90deg, currentColor 50%, transparent 50%); }
.ft-nav-check { position: absolute; opacity: 0; pointer-events: none; }
.ft-nav-toggle { display: none; width: 42px; height: 42px; border-radius: var(--ft-radius); cursor: pointer; position: relative; }
.ft-nav-toggle span, .ft-nav-toggle span::before, .ft-nav-toggle span::after { content: ""; position: absolute; left: 10px; right: 10px; height: 2px; background: currentColor; border-radius: 2px; }
.ft-nav-toggle span { top: 20px; }
.ft-nav-toggle span::before { left: 0; right: 0; top: -7px; }
.ft-nav-toggle span::after { left: 0; right: 0; top: 7px; }
/* Logo zentriert */
.ft-layout-center .ft-header-inner { justify-content: center; }
.ft-layout-center .ft-brand { width: 100%; justify-content: center; padding-top: 18px; }
.ft-layout-center .ft-nav { margin: 0 auto; padding-bottom: 10px; }
/* Transparent über dem Hero */
.ft-header-overlay { position: absolute; left: 0; right: 0; }
.ft-header-overlay:not(.ft-scrolled) { background: transparent; color: #fff; border-bottom-color: transparent; }
.ft-header-overlay.ft-sticky.ft-scrolled { position: fixed; top: 0; box-shadow: 0 6px 24px rgb(0 0 0 / .15); }
.ft-has-overlay .ft-sections > :first-child { --hero-offset: 90px; }
.ft-has-overlay .ft-sections > .ft-section:first-child { padding-top: calc(var(--pad) + 90px); }
@media (max-width: 900px) {
  .ft-nav-toggle { display: block; }
  .ft-header-tools { order: 2; margin-left: auto; }
  .ft-layout-center .ft-brand { width: auto; padding-top: 0; }
  .ft-nav { order: 3; display: none; width: 100%; flex-direction: column; align-items: stretch; padding-bottom: 16px; margin-left: 0; }
  .ft-nav-check:checked ~ .ft-nav { display: flex; }
  .ft-header-overlay .ft-nav-check:checked ~ .ft-nav { background: var(--nav-bg); color: var(--nav-fg); border-radius: var(--ft-radius); padding: 10px; }
  .ft-menu { flex-direction: column; }
  .ft-submenu { position: static; display: block; box-shadow: none; border: 0; background: transparent; color: inherit; padding: 0 0 0 14px; min-width: 0; }
}

/* ---------- Sektionen (hero_section.php) ---------- */
.ft-section { --pad: 80px; padding: var(--pad) 0; background-size: cover; background-position: center; }
.ft-pad-s { --pad: 48px; }
.ft-pad-l { --pad: 120px; }
.ft-tone-alt { background-color: var(--ft-alt); }
.ft-tone-dark { background-color: var(--ft-secondary); color: var(--ft-on-secondary); }
.ft-has-bgimg { color: #fff; }
.ft-div-slant { clip-path: polygon(0 0, 100% 0, 100% calc(100% - 4vw), 0 100%); padding-bottom: calc(var(--pad, 80px) + 4vw); }
.ft-div-wave { -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 40' preserveAspectRatio='none'%3E%3Cpath d='M0 0h1200v22c-150 24-300 24-450 0S450-2 300 22 75 46 0 22z'/%3E%3C/svg%3E") bottom / 100% 40px no-repeat, linear-gradient(#000, #000) top / 100% calc(100% - 39px) no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 40' preserveAspectRatio='none'%3E%3Cpath d='M0 0h1200v22c-150 24-300 24-450 0S450-2 300 22 75 46 0 22z'/%3E%3C/svg%3E") bottom / 100% 40px no-repeat, linear-gradient(#000, #000) top / 100% calc(100% - 39px) no-repeat; padding-bottom: calc(var(--pad, 80px) + 30px); }
.ft-section-head { max-width: 680px; margin: 0 auto 44px; text-align: center; }
.ft-section-head h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin: 0 0 10px; }
.ft-lead { margin: 0; font-size: 1.1em; opacity: .75; }
.ft-tone-dark .ft-card, .ft-has-bgimg .ft-card, .ft-tone-dark .ft-news-item, .ft-has-bgimg .ft-news-item, .ft-tone-dark .ft-plan, .ft-has-bgimg .ft-plan, .ft-tone-dark .ft-list-item, .ft-has-bgimg .ft-list-item, .ft-tone-dark .ft-event, .ft-has-bgimg .ft-event, .ft-tone-dark .ft-faq-item, .ft-has-bgimg .ft-faq-item { background: color-mix(in srgb, currentColor 7%, transparent); border-color: color-mix(in srgb, currentColor 14%, transparent); color: inherit; }
.ft-tone-dark .ft-card p, .ft-has-bgimg .ft-card p, .ft-tone-dark .ft-news-item p, .ft-has-bgimg .ft-news-item p { color: inherit; opacity: .75; }

/* Hero & Slider */
.ft-hero, .ft-slide { position: relative; overflow: hidden; background-size: cover; background-position: center; }
.ft-hero { --hero-pad: 120px; }
.ft-hero-s { --hero-pad: 70px; }
.ft-hero-l { --hero-pad: 170px; }
.ft-hero-overlay { position: absolute; inset: 0; background: #000; }
.ft-hero-inner { position: relative; padding-top: calc(var(--hero-pad, 120px) + var(--hero-offset, 0px)); padding-bottom: var(--hero-pad, 120px); }
html body .ft-hero h1, html body .ft-slide-title { font-size: clamp(2.3rem, 5.5vw, 4.2rem); margin: 0 0 18px; max-width: 18ch; letter-spacing: -.01em; }
.ft-hero-sub { font-size: 1.2em; max-width: 58ch; margin: 0; opacity: .9; }
.ft-hero-center { text-align: center; }
.ft-hero-center h1, .ft-hero-center .ft-slide-title, .ft-hero-center .ft-hero-sub { margin-left: auto !important; margin-right: auto !important; }
.ft-eyebrow { display: inline-block; padding: 6px 14px; border-radius: 999px; background: color-mix(in srgb, currentColor 15%, transparent); font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 20px; }
.ft-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.ft-hero-center .ft-actions { justify-content: center; }
.ft-slider { --hero-pad: 120px; position: relative; }
.ft-slider.ft-hero-s { --hero-pad: 70px; }
.ft-slider.ft-hero-l { --hero-pad: 170px; }
.ft-slides { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.ft-slides::-webkit-scrollbar { display: none; }
.ft-slide { flex: 0 0 100%; scroll-snap-align: start; }
.ft-slider-prev, .ft-slider-next { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgb(0 0 0 / .35); color: #fff; font-size: 26px; line-height: 1; cursor: pointer; }
.ft-slider-prev { left: 14px; } .ft-slider-next { right: 14px; }
.ft-dots { position: absolute; left: 0; right: 0; bottom: 22px; display: flex; justify-content: center; gap: 8px; }
.ft-div-slant .ft-dots, .ft-div-wave .ft-dots { bottom: calc(22px + 4vw); }
.ft-dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; padding: 0; background: rgb(255 255 255 / .5); cursor: pointer; }
.ft-dots button.active { background: #fff; width: 26px; border-radius: 5px; }

/* Raster & Karten */
.ft-grid { display: grid; gap: 24px; }
.ft-cols-1 { grid-template-columns: minmax(0, 520px); justify-content: center; }
.ft-cols-2 { grid-template-columns: repeat(2, 1fr); }
.ft-cols-3 { grid-template-columns: repeat(3, 1fr); }
.ft-cols-4 { grid-template-columns: repeat(4, 1fr); }
.ft-card { background: var(--ft-surface); border: 1px solid var(--ft-border); border-radius: var(--ft-radius); padding: 30px; }
.ft-card h3 { margin: 0 0 8px; font-size: 1.2em; }
.ft-card p { margin: 0; color: var(--ft-muted); }
.ft-icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: var(--ft-radius); background: var(--ft-primary); color: var(--ft-on-primary); font-size: 1.5rem; margin-bottom: 18px; }

/* Zahlen */
.ft-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 24px; text-align: center; }
.ft-stat-value { font-family: var(--ft-font-head); font-weight: 700; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.1; color: var(--ft-primary); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.ft-tone-dark .ft-stat-value, .ft-has-bgimg .ft-stat-value { color: var(--ft-accent); }
.ft-stat-label { margin-top: 4px; font-size: .85em; text-transform: uppercase; letter-spacing: .08em; opacity: .7; }

/* Bild + Text, Kontakt */
.ft-split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.ft-split-right .ft-split-media { order: 2; }
.ft-split-media img { display: block; width: 100%; border-radius: var(--ft-radius); }
.ft-placeholder { aspect-ratio: 4 / 3; max-width: 100%; border-radius: var(--ft-radius); background: linear-gradient(135deg, var(--ft-primary), var(--ft-secondary)); }
.ft-split-text h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin: 0 0 14px; }
.ft-split-text p { margin: 0 0 24px; }
.ft-contact-list { display: grid; grid-template-columns: auto 1fr; gap: 10px 24px; margin: 0; }
.ft-contact-list dt { font-weight: 700; font-size: .8em; text-transform: uppercase; letter-spacing: .08em; color: var(--ft-primary); padding-top: 3px; }
.ft-contact-list dd { margin: 0; }
.ft-contact-card .ft-actions { margin-top: 20px; }

/* Team */
.ft-member { text-align: center; }
.ft-avatar { width: 120px; height: 120px; margin: 0 auto 16px; border-radius: 50%; overflow: hidden; background: linear-gradient(135deg, var(--ft-primary), var(--ft-secondary)); color: var(--ft-on-primary); display: grid; place-items: center; font-family: var(--ft-font-head); font-size: 2.2rem; font-weight: 700; }
.ft-avatar img { width: 100%; height: 100%; object-fit: cover; }
.ft-member h3 { margin: 0; font-size: 1.15em; }
.ft-role { color: var(--ft-primary); font-weight: 600; font-size: .9em; }
.ft-tone-dark .ft-role, .ft-has-bgimg .ft-role { color: var(--ft-accent); }
.ft-member p { margin: 8px 0 0; opacity: .75; }

/* Termine */
.ft-events { list-style: none; margin: 0 auto; padding: 0; display: flex; flex-direction: column; gap: 12px; max-width: 860px; }
.ft-event { display: flex; align-items: center; gap: 20px; background: var(--ft-surface); border: 1px solid var(--ft-border); border-radius: var(--ft-radius); padding: 16px 20px; }
.ft-event-date { flex: none; width: 64px; text-align: center; border-radius: var(--ft-radius); background: var(--ft-primary); color: var(--ft-on-primary); padding: 8px 0; line-height: 1.1; }
.ft-event-day { display: block; font-family: var(--ft-font-head); font-size: 1.6rem; font-weight: 700; }
.ft-event-mon { display: block; font-size: .75em; text-transform: uppercase; letter-spacing: .1em; }
.ft-event-body { flex: 1; min-width: 0; }
.ft-event-body h3 { margin: 0; font-size: 1.1em; }
.ft-event-meta { opacity: .7; font-size: .9em; }

/* Preise */
.ft-plan { display: flex; flex-direction: column; background: var(--ft-surface); border: 1px solid var(--ft-border); border-radius: var(--ft-radius); padding: 32px; }
.ft-plan-featured { border: 2px solid var(--ft-primary); box-shadow: 0 16px 40px color-mix(in srgb, var(--ft-primary) 20%, transparent); }
.ft-plan h3 { margin: 0 0 6px; font-size: 1.1em; text-transform: uppercase; letter-spacing: .08em; }
.ft-price { font-family: var(--ft-font-head); font-size: 2.4rem; font-weight: 700; margin-bottom: 16px; }
.ft-price span { font-size: .4em; font-weight: 400; opacity: .7; }
.ft-plan ul { list-style: none; margin: 0 0 24px; padding: 0; flex: 1; }
.ft-plan li { padding: 7px 0 7px 24px; border-top: 1px solid var(--ft-border); position: relative; }
.ft-plan li::before { content: ""; position: absolute; left: 2px; top: 13px; width: 10px; height: 5px; border-left: 2px solid var(--ft-primary); border-bottom: 2px solid var(--ft-primary); transform: rotate(-45deg); }
.ft-plan .ft-btn { text-align: center; }

/* FAQ */
.ft-faq { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.ft-faq-item { background: var(--ft-surface); border: 1px solid var(--ft-border); border-radius: var(--ft-radius); }
.ft-faq-item summary { cursor: pointer; padding: 16px 20px; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.ft-faq-item summary::-webkit-details-marker { display: none; }
.ft-faq-item summary::after { content: "+"; font-size: 1.3em; line-height: 1; color: var(--ft-primary); }
.ft-faq-item[open] summary::after { content: "\2013"; }
.ft-faq-a { padding: 0 20px 18px; opacity: .85; }

/* Partner */
.ft-partners-head { text-align: center; text-transform: uppercase; letter-spacing: .12em; font-size: .8em; font-weight: 700; opacity: .6; margin: 0 0 24px; }
.ft-partners { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 20px 48px; }
html body .ft-partner { display: flex; align-items: center; justify-content: center; min-height: 56px; color: inherit; text-decoration: none; font-family: var(--ft-font-head); font-weight: 700; font-size: 1.3em; opacity: .8; transition: opacity .2s, filter .2s; }
.ft-partner img { max-height: 56px; width: auto; }
.ft-gray .ft-partner { filter: grayscale(1); opacity: .55; }
.ft-gray .ft-partner:hover { filter: none; opacity: 1; }

/* News, Artikel */
.ft-news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.ft-news-item { background: var(--ft-surface); border: 1px solid var(--ft-border); border-radius: var(--ft-radius); padding: 26px; display: flex; flex-direction: column; gap: 8px; }
.ft-news-item time { font-size: .8em; text-transform: uppercase; letter-spacing: .08em; color: var(--ft-primary); font-weight: 700; }
.ft-news-item h3 { margin: 0; font-size: 1.15em; }
html body .ft-news-item h3 a { color: inherit; text-decoration: none; }
.ft-news-item p { margin: 0; color: var(--ft-muted); flex: 1; }
html body .ft-more { font-weight: 600; text-decoration: none; }

/* Listen: Forum, Downloads */
.ft-list { list-style: none; margin: 0 auto; padding: 0; max-width: 860px; display: flex; flex-direction: column; gap: 8px; }
.ft-list-item { display: flex; justify-content: space-between; align-items: baseline; gap: 4px 20px; flex-wrap: wrap; background: var(--ft-surface); border: 1px solid var(--ft-border); border-radius: var(--ft-radius); padding: 14px 20px; }
html body .ft-list-title { color: inherit; font-weight: 700; text-decoration: none; min-width: 0; overflow-wrap: anywhere; }
.ft-list-meta { font-size: .85em; opacity: .65; }

/* Galerie */
.ft-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
html body .ft-photo { display: block; aspect-ratio: 1; border-radius: var(--ft-radius); overflow: hidden; position: relative; color: #fff; text-decoration: none; }
.ft-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.ft-photo:hover img { transform: scale(1.05); }
.ft-photo span { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px 12px 10px; background: linear-gradient(transparent, rgb(0 0 0 / .6)); font-size: .85em; font-weight: 600; }

/* Video */
.ft-video-wrap { max-width: 960px; margin: 0 auto; }
.ft-video { position: relative; aspect-ratio: 16 / 9; max-width: 100%; border-radius: var(--ft-radius); overflow: hidden; background: #000; }
.ft-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ft-video-ph { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; color: #fff; text-align: center; background: linear-gradient(135deg, var(--ft-secondary), #000); }
.ft-play { width: 72px; height: 72px; border-radius: 50%; background: var(--ft-primary); position: relative; }
.ft-play::after { content: ""; position: absolute; left: 29px; top: 22px; border-left: 22px solid var(--ft-on-primary); border-top: 14px solid transparent; border-bottom: 14px solid transparent; }

/* Aufruf */
.ft-cta-box { display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; padding: 52px; border-radius: calc(var(--ft-radius) * 2); }
.ft-cta-box h2 { margin: 0 0 8px; font-size: clamp(1.5rem, 3vw, 2.2rem); }
.ft-cta-box p { margin: 0; opacity: .85; max-width: 56ch; }
.ft-cta-primary { background: var(--ft-primary); color: var(--ft-on-primary); }
html body .ft-cta-primary .ft-btn { background: var(--ft-on-primary); color: var(--ft-primary); }
.ft-cta-dark { background: var(--ft-secondary); color: var(--ft-on-secondary); }
html body .ft-cta-dark .ft-btn { background: var(--ft-accent); color: var(--ft-on-accent); }
.ft-cta-accent { background: var(--ft-accent); color: var(--ft-on-accent); }
html body .ft-cta-accent .ft-btn { background: var(--ft-secondary); color: var(--ft-on-secondary); }

/* Textblock */
.ft-prose-narrow { max-width: 720px; margin: 0 auto; }
.ft-prose h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0 0 16px; }

/* ---------- Seiteninhalt & Panels ---------- */
.ft-main { padding: 48px 0; }
.ft-row { display: flex; gap: 28px; align-items: flex-start; }
.ft-side { flex: 0 0 var(--ft-side); min-width: 0; }
.ft-content { flex: 1; min-width: 0; }
.ft-zone { margin-bottom: 24px; }
.ft-table, .ft-panel { background: var(--ft-surface); border: 1px solid var(--ft-border); border-radius: var(--ft-radius); margin-bottom: 24px; }
.ft-table-title { margin: 0; padding: 16px 22px; border-bottom: 1px solid var(--ft-border); font-size: 1.25em; }
.ft-table-body { padding: 22px; }
.ft-panel-title { padding: 14px 18px 0; font-family: var(--ft-font-head); font-size: .8em; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--ft-primary); }
.ft-panel-body { padding: 10px 18px 18px; }

/* ---------- Footer ---------- */
.ft-footer { background: var(--ft-secondary); color: var(--ft-on-secondary); padding: 52px 0 28px; }
html body .ft-footer a { color: inherit; }
.ft-footer-grid { display: grid; grid-template-columns: 2fr repeat(auto-fit, minmax(160px, 1fr)); gap: 32px; margin-bottom: 32px; }
.ft-footer-brand { font-family: var(--ft-font-head); font-weight: 700; font-size: 1.3em; margin-bottom: 8px; }
.ft-footer-about p { opacity: .75; margin: 0 0 16px; max-width: 44ch; }
.ft-footer-col h4 { margin: 0 0 12px; font-size: .85em; text-transform: uppercase; letter-spacing: .1em; opacity: .7; }
.ft-footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
html body .ft-footer-col a { text-decoration: none; opacity: .85; }
html body .ft-footer-col a:hover { opacity: 1; text-decoration: underline; }
.ft-footer-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 28px; margin-bottom: 28px; }
.ft-footer-text { opacity: .85; margin-bottom: 8px; }
.ft-footer > .ft-container > .ft-social { margin-bottom: 12px; }
.ft-footer-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 20px; padding-top: 20px; border-top: 1px solid color-mix(in srgb, currentColor 15%, transparent); font-size: .85em; opacity: .7; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .ft-cols-4 { grid-template-columns: repeat(2, 1fr); }
  .ft-row { flex-direction: column; }
  .ft-side { flex-basis: auto; width: 100%; }
  .ft-split { grid-template-columns: 1fr; gap: 32px; }
  .ft-split-right .ft-split-media { order: 0; }
  .ft-footer-grid { grid-template-columns: 1fr 1fr; }
  .ft-footer-about { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .ft-cols-3 { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .ft-cols-2, .ft-cols-3, .ft-cols-4 { grid-template-columns: 1fr; }
  .ft-section { --pad: 56px; }
  .ft-hero, .ft-slider, .ft-hero-l, .ft-slider.ft-hero-l { --hero-pad: 80px; }
  .ft-cta-box { padding: 32px 24px; }
  .ft-footer-grid { grid-template-columns: 1fr; }
  .ft-event { flex-wrap: wrap; }
  .ft-slider-prev, .ft-slider-next { display: none; }
}
@media (prefers-reduced-motion: reduce) { html body .ft-btn { transition: none; } }
