/*
Theme Name: Funkturm Hau Astra Child
Theme URI: https://www.nk-medien.de
Description: Astra-Child-Theme für Funkturm Hau e.V. von nk-medien.de.
Author: nk-medien.de
Author URI: https://www.nk-medien.de
Template: astra
Version: 1.0.0
Text Domain: funkturm-astra-child
*/

:root {
  --ft-red-950: #260006;
  --ft-red-900: #3a050d;
  --ft-red-800: #5f0713;
  --ft-red-700: #8f0d1d;
  --ft-red-600: #b3182b;
  --ft-red-500: #d8293e;
  --ft-cream: #fff8f5;
  --ft-white: #ffffff;
  --ft-gold: #f3c968;
  --ft-carnival-blue: #0077b8;
  --ft-carnival-green: #138f4d;
  --ft-carnival-pink: #c91e63;
  --ft-carnival-orange: #ec7a13;
  --ft-ink: #231417;
  --ft-muted: #6c5055;
  --ft-focus: #ffd85c;
  --ft-shadow: 0 20px 50px rgba(63, 0, 13, 0.18);
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  color: var(--ft-ink);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.6;
  overflow-x: clip;
}

a {
  color: var(--ft-red-700);
}

a:hover {
  color: var(--ft-red-900);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
.main-header-menu a:focus-visible {
  outline: 3px solid var(--ft-focus);
  outline-offset: 4px;
}

.ast-primary-header-bar {
  border-bottom: 4px solid var(--ft-red-600);
  box-shadow: 0 8px 24px rgba(38, 0, 6, 0.08);
}

.site-title a,
.site-title a:focus,
.site-title a:hover {
  color: var(--ft-red-900);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 950;
  letter-spacing: 0;
}

.site-description {
  color: var(--ft-muted);
}

.main-header-menu .menu-link {
  color: var(--ft-red-900);
  font-weight: 700;
}

.main-header-menu .menu-link:hover {
  color: var(--ft-red-600);
}

.funkturm-page {
  background: var(--ft-cream);
}

.funkturm-hero {
  min-height: min(760px, calc(100vh - 96px));
  display: grid;
  align-items: end;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  color: var(--ft-white);
  background-color: var(--ft-red-950);
}

.funkturm-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: linear-gradient(90deg, rgba(38, 0, 6, 0.94) 0%, rgba(58, 5, 13, 0.82) 38%, rgba(58, 5, 13, 0.18) 72%), var(--hero-image);
  background-position: center;
  background-size: cover;
}

.funkturm-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 190px;
  background: linear-gradient(0deg, var(--ft-cream), rgba(255, 248, 245, 0));
}

.funkturm-wrap {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.funkturm-hero__content {
  max-width: 730px;
  padding: clamp(72px, 12vw, 136px) 0 clamp(82px, 12vw, 132px);
}

.funkturm-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 24px;
  color: var(--ft-gold);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.funkturm-kicker::before {
  content: "";
  width: 48px;
  height: 3px;
  background: currentColor;
}

.funkturm-hero .funkturm-kicker,
.funkturm-elementor-hero .elementor-widget-wrap > .elementor-widget-text-editor:first-child {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
  width: fit-content !important;
  max-width: 100%;
  margin: 0 0 26px !important;
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  background:
    radial-gradient(circle at 18% 35%, rgba(255, 255, 255, 0.34), transparent 1.4rem),
    linear-gradient(135deg, var(--ft-red-700), var(--ft-carnival-orange) 44%, var(--ft-carnival-green) 72%, #0876bd);
  color: var(--ft-white);
  box-shadow: 0 16px 34px rgba(38, 0, 6, 0.28);
  font-size: 0.86rem;
  font-weight: 950;
  letter-spacing: 0.07em;
  line-height: 1;
  text-transform: uppercase;
  text-shadow: 0 1px 2px rgba(38, 0, 6, 0.28);
  animation: funkturmBadgeFloat 4.5s ease-in-out infinite;
}

.funkturm-hero .funkturm-kicker::before,
.funkturm-elementor-hero .elementor-widget-wrap > .elementor-widget-text-editor:first-child::before {
  content: "";
  width: 28px;
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.1);
}

.funkturm-hero .funkturm-kicker::after,
.funkturm-elementor-hero .elementor-widget-wrap > .elementor-widget-text-editor:first-child::after {
  content: "";
  position: absolute;
  inset: -40% auto -40% -34%;
  z-index: -1;
  width: 38%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.44), transparent);
  transform: skewX(-18deg);
  animation: funkturmBadgeShine 5.2s ease-in-out infinite;
}

@keyframes funkturmBadgeFloat {
  0%,
  100% {
    transform: translateY(0) rotate(-0.35deg);
  }

  50% {
    transform: translateY(-2px) rotate(0.35deg);
  }
}

@keyframes funkturmBadgeShine {
  0%,
  52% {
    transform: translateX(0) skewX(-18deg);
    opacity: 0;
  }

  63% {
    opacity: 1;
  }

  78%,
  100% {
    transform: translateX(390%) skewX(-18deg);
    opacity: 0;
  }
}

.funkturm-hero h1 {
  max-width: 680px;
  margin: 0;
  color: var(--ft-white);
  font-size: clamp(2.7rem, 7vw, 6.5rem);
  line-height: 0.78;
  letter-spacing: 0;
}

.funkturm-hero__lead {
  max-width: 650px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.94);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
}

.funkturm-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.funkturm-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border: 2px solid transparent;
  border-radius: 6px;
  background: linear-gradient(135deg, #0b86df, #0758bd);
  color: var(--ft-white);
  box-shadow: 0 14px 28px rgba(3, 41, 104, 0.28);
  font-weight: 900;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.funkturm-button:hover {
  transform: translateY(-1px);
  background: linear-gradient(135deg, #12a1ff, #086ad4);
  color: var(--ft-white);
}

.funkturm-button--ghost {
  border-color: rgba(255, 255, 255, 0.34);
  background: linear-gradient(135deg, rgba(11, 134, 223, 0.88), rgba(7, 88, 189, 0.88));
  color: var(--ft-white);
  backdrop-filter: blur(6px);
}

.funkturm-button--ghost:hover {
  background: linear-gradient(135deg, #12a1ff, #086ad4);
  border-color: rgba(255, 255, 255, 0.48);
  color: var(--ft-white);
}

.funkturm-band {
  padding: clamp(58px, 8vw, 104px) 0;
}

.funkturm-band--white {
  background: var(--ft-white);
}

.funkturm-band--red {
  background: linear-gradient(145deg, var(--ft-red-900), var(--ft-red-700));
  color: var(--ft-white);
}

.funkturm-band--red h2,
.funkturm-band--red h3,
.funkturm-band--red p {
  color: var(--ft-white);
}

.funkturm-section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.funkturm-section-head h2 {
  margin: 0;
  color: var(--ft-red-900);
  font-size: clamp(2rem, 4.5vw, 3.7rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.funkturm-section-head p {
  margin: 16px 0 0;
  color: var(--ft-muted);
  font-size: 1.1rem;
}

.funkturm-band--red .funkturm-section-head p {
  color: rgba(255, 255, 255, 0.88);
}

.funkturm-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.funkturm-grid--four {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.funkturm-card {
  min-height: 100%;
  padding: 28px;
  border: 1px solid rgba(143, 13, 29, 0.16);
  border-radius: 8px;
  background: var(--ft-white);
  box-shadow: var(--ft-shadow);
}

.funkturm-card h3 {
  margin: 0 0 12px;
  color: var(--ft-red-900);
  font-size: 1.45rem;
  line-height: 1.2;
}

.funkturm-card p {
  margin: 0;
}

.funkturm-card__meta {
  display: block;
  margin-bottom: 12px;
  color: var(--ft-red-700);
  font-size: 0.95rem;
  font-weight: 800;
}

.funkturm-path-card {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 14px;
  align-content: start;
  background:
    radial-gradient(circle at 92% 12%, rgba(243, 201, 104, 0.26), transparent 92px),
    linear-gradient(145deg, #ffffff 0%, #fff8ef 100%);
}

.funkturm-path-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 7px;
  background: linear-gradient(180deg, var(--ft-red-700), #f28c22, #f3c968, #138f4d, #0077b8);
}

.funkturm-path-card h3 {
  margin-bottom: 4px;
}

.funkturm-path-card p {
  color: var(--ft-muted);
  line-height: 1.65;
}

.funkturm-path-card .funkturm-button {
  align-self: end;
  justify-self: start;
  margin-top: 8px;
}

.funkturm-list {
  display: grid;
  gap: 16px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.funkturm-list li {
  position: relative;
  padding-left: 34px;
}

.funkturm-list li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 16px;
  height: 16px;
  border: 4px solid var(--ft-gold);
  border-radius: 50%;
  background: var(--ft-red-700);
}

.funkturm-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 430px);
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
}

.funkturm-panel {
  padding: clamp(28px, 5vw, 44px);
  border-left: 8px solid var(--ft-gold);
  border-radius: 8px;
  background: var(--ft-white);
  color: var(--ft-ink);
  box-shadow: var(--ft-shadow);
}

.funkturm-panel h3 {
  margin-top: 0;
  color: var(--ft-red-900);
}

.funkturm-contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.funkturm-contact a {
  word-break: break-word;
}

.funkturm-note {
  display: inline-block;
  margin-top: 22px;
  padding: 10px 14px;
  border-radius: 6px;
  background: rgba(255, 216, 92, 0.18);
  color: var(--ft-white);
  font-weight: 700;
}

#mitmachen.funkturm-band--red,
.funkturm-band--red.funkturm-elementor-split {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(76px, 9vw, 128px);
  background:
    radial-gradient(circle at 18% 18%, rgba(243, 201, 104, 0.14), transparent 18rem),
    radial-gradient(circle at 86% 72%, rgba(19, 143, 77, 0.1), transparent 20rem),
    linear-gradient(135deg, #3b0008 0%, var(--ft-red-950) 42%, #8f0d1d 100%);
}

#mitmachen.funkturm-band--red::before,
.funkturm-band--red.funkturm-elementor-split::before {
  content: "";
  position: absolute;
  inset: 0 8vw auto;
  height: 5px;
  border-radius: 0 0 999px 999px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--ft-gold) 16%,
    var(--ft-carnival-orange) 38%,
    var(--ft-carnival-green) 62%,
    var(--ft-carnival-blue) 84%,
    transparent
  );
  opacity: 0.7;
  pointer-events: none;
}

#mitmachen.funkturm-band--red::after,
.funkturm-band--red.funkturm-elementor-split::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    radial-gradient(circle, rgba(243, 201, 104, 0.5) 0 2px, transparent 3px),
    radial-gradient(circle, rgba(0, 119, 184, 0.34) 0 2px, transparent 3px),
    radial-gradient(circle, rgba(19, 143, 77, 0.28) 0 2px, transparent 3px);
  background-position: 44px 58px, 160px 146px, 280px 94px;
  background-size: 260px 230px, 320px 270px, 380px 310px;
  opacity: 0.16;
  pointer-events: none;
}

#mitmachen.funkturm-elementor-split > .elementor-container,
.funkturm-band--red.funkturm-elementor-split > .elementor-container {
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 430px);
}

#mitmachen .elementor-widget-heading:first-child .elementor-heading-title,
.funkturm-band--red.funkturm-elementor-split .elementor-widget-heading:first-child .elementor-heading-title,
#mitmachen #mitmachen-title {
  position: relative;
  display: inline-block;
  margin-bottom: 4px;
}

#mitmachen .elementor-widget-heading:first-child .elementor-heading-title::after,
.funkturm-band--red.funkturm-elementor-split .elementor-widget-heading:first-child .elementor-heading-title::after,
#mitmachen #mitmachen-title::after {
  content: "";
  display: block;
  width: min(210px, 62%);
  height: 7px;
  margin-top: 16px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--ft-gold), var(--ft-carnival-orange), var(--ft-carnival-green), var(--ft-carnival-blue));
}

#mitmachen .funkturm-elementor-lead,
.funkturm-band--red.funkturm-elementor-split .funkturm-elementor-lead,
#mitmachen .funkturm-section-head p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.1rem, 1.4vw, 1.32rem);
  line-height: 1.6;
}

.funkturm-join-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: clamp(20px, 3vw, 30px) 0 6px;
}

.funkturm-join-highlight {
  display: grid;
  gap: 4px;
  min-height: 104px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 16px 32px rgba(24, 0, 5, 0.18);
  backdrop-filter: blur(4px);
}

.funkturm-join-highlight::before {
  content: "";
  width: 34px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--ft-gold), var(--ft-carnival-orange), var(--ft-carnival-green));
}

.funkturm-join-highlight strong {
  color: var(--ft-gold);
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  font-weight: 950;
  line-height: 1;
}

.funkturm-join-highlight span {
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.96rem;
  font-weight: 800;
  line-height: 1.35;
}

.funkturm-join-cta {
  margin: clamp(18px, 3vw, 28px) 0 0 !important;
}

.funkturm-join-cta .ft-modern-button {
  color: var(--ft-red-950);
  box-shadow: 0 18px 34px rgba(24, 0, 5, 0.26);
}

.funkturm-join-cta .ft-modern-button:hover,
.funkturm-join-cta .ft-modern-button:focus-visible {
  color: var(--ft-red-950);
}

#mitmachen .funkturm-note,
.funkturm-band--red.funkturm-elementor-split .funkturm-note {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.9);
}

#mitmachen .funkturm-panel,
.funkturm-band--red.funkturm-elementor-split .funkturm-panel {
  position: relative;
  overflow: hidden;
  border-left: 0;
  background:
    radial-gradient(circle at 98% 0%, rgba(243, 201, 104, 0.28), transparent 7rem),
    linear-gradient(145deg, #ffffff 0%, #fff8ef 100%);
}

#mitmachen .funkturm-panel::before,
.funkturm-band--red.funkturm-elementor-split .funkturm-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 7px;
  background: linear-gradient(90deg, var(--ft-gold), var(--ft-red-500), var(--ft-carnival-orange), var(--ft-carnival-green));
}

#mitmachen .funkturm-panel::after,
.funkturm-band--red.funkturm-elementor-split .funkturm-panel::after {
  content: "Helau!";
  position: absolute;
  right: -12px;
  bottom: 10px;
  color: rgba(143, 13, 29, 0.06);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.8rem, 7vw, 5.8rem);
  font-weight: 950;
  line-height: 1;
  pointer-events: none;
}

#mitmachen .funkturm-panel .elementor-widget-wrap,
.funkturm-band--red.funkturm-elementor-split .funkturm-panel .elementor-widget-wrap {
  position: relative;
  z-index: 1;
}

#mitmachen .funkturm-panel h3,
.funkturm-band--red.funkturm-elementor-split .funkturm-panel h3,
.funkturm-band--red.funkturm-elementor-split .funkturm-panel .elementor-heading-title,
#mitmachen .funkturm-panel .elementor-heading-title {
  font-size: clamp(1.55rem, 2vw, 2rem);
}

.site-footer {
  border-top: 4px solid var(--ft-red-600);
}

.funkturm-footer-menu {
  border-top: 1px solid rgba(255, 216, 92, 0.22);
  background:
    linear-gradient(135deg, rgba(58, 5, 13, 0.96), rgba(24, 0, 5, 0.98)),
    var(--ft-red-950);
}

.funkturm-footer-menu__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  align-items: center;
  padding-block: 18px;
}

.funkturm-footer-menu__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.funkturm-footer-menu__list a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 9px 14px;
  border: 1px solid rgba(255, 216, 92, 0.28);
  border-radius: 6px;
  color: var(--ft-white);
  font-size: 0.98rem;
  font-weight: 850;
  text-decoration: none;
}

.funkturm-footer-menu__list a:hover,
.funkturm-footer-menu__list a:focus-visible {
  background: var(--ft-gold);
  color: var(--ft-red-950);
  outline: 3px solid rgba(255, 255, 255, 0.78);
  outline-offset: 3px;
}

.funkturm-footer-menu__document {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 14px;
  border: 1px solid rgba(255, 216, 92, 0.34);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--ft-white);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.16);
  font-size: 0.98rem;
  font-weight: 900;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.funkturm-footer-menu__document:hover,
.funkturm-footer-menu__document:focus-visible {
  background: linear-gradient(135deg, var(--ft-gold), #fff2a8);
  color: var(--ft-red-950);
  outline: 3px solid rgba(255, 255, 255, 0.78);
  outline-offset: 3px;
  transform: translateY(-1px);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.24);
}

.funkturm-footer-menu__document-icon {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  fill: currentColor;
}

.funkturm-footer-menu__document-type {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: currentColor;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

.funkturm-footer-menu__social {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 216, 92, 0.34);
  border-radius: 999px;
  background: linear-gradient(135deg, #1877f2, #0b57bf);
  color: var(--ft-white);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.funkturm-footer-menu__social:hover,
.funkturm-footer-menu__social:focus-visible {
  background: linear-gradient(135deg, var(--ft-gold), #fff2a8);
  color: var(--ft-red-950);
  outline: 3px solid rgba(255, 255, 255, 0.78);
  outline-offset: 3px;
  transform: translateY(-1px);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.26);
}

.funkturm-footer-menu__social-icon {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

@media (max-width: 921px) {
  .funkturm-grid,
  .funkturm-split,
  .funkturm-contact {
    grid-template-columns: 1fr;
  }

  .funkturm-hero {
    min-height: auto;
  }

  .funkturm-hero::before {
    background-image: linear-gradient(180deg, rgba(38, 0, 6, 0.94) 0%, rgba(58, 5, 13, 0.78) 58%, rgba(58, 5, 13, 0.45) 100%), var(--hero-image);
    background-position: 62% center;
  }
}

@media (max-width: 544px) {
  .funkturm-wrap {
    width: min(100% - 28px, 1180px);
  }

  .funkturm-hero__content {
    padding-top: 68px;
  }

  .funkturm-actions {
    flex-direction: row;
    align-items: center;
  }

  .funkturm-button {
    flex: 1 1 150px;
    width: auto;
  }

  .funkturm-card {
    padding: 22px;
  }

  .funkturm-footer-menu__list {
    width: 100%;
  }

  .funkturm-footer-menu__list li,
  .funkturm-footer-menu__list a {
    width: 100%;
  }

  .funkturm-footer-menu__list a {
    justify-content: center;
  }

  .funkturm-footer-menu__document {
    width: 100%;
  }

  .funkturm-footer-menu__social {
    width: 56px;
    height: 56px;
    margin-top: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

.ft-modern-page {
  --ft-page-bg: #fffaf8;
  --ft-page-line: rgba(143, 13, 29, 0.16);
  --ft-page-soft: #fff2ec;
  background:
    linear-gradient(180deg, rgba(255, 248, 245, 0.8), rgba(255, 255, 255, 0.96)),
    var(--ft-page-bg);
  font-size: clamp(1.08rem, 0.98rem + 0.35vw, 1.3rem);
  line-height: 1.72;
}

.ft-modern-wrap {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.ft-page-hero {
  padding: clamp(70px, 9vw, 132px) 0 clamp(54px, 7vw, 92px);
  color: var(--ft-white);
  background:
    linear-gradient(135deg, rgba(38, 0, 6, 0.96), rgba(143, 13, 29, 0.9)),
    var(--ft-red-900);
}

.ft-page-hero h1 {
  max-width: 980px;
  margin: 0;
  color: var(--ft-white);
  font-size: clamp(2.7rem, 6vw, 5.8rem);
  line-height: 1;
  letter-spacing: 0;
}

.ft-page-hero p {
  max-width: 860px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1.18rem, 1rem + 0.7vw, 1.55rem);
}

.ft-page-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 22px;
  color: var(--ft-gold);
  font-size: 0.92rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ft-page-kicker::before {
  content: "";
  width: 52px;
  height: 4px;
  background: currentColor;
}

.ft-modern-section {
  padding: clamp(54px, 8vw, 104px) 0;
}

.ft-section-heading {
  max-width: 860px;
  margin-bottom: 34px;
}

.ft-section-heading h2 {
  margin: 0;
  color: var(--ft-red-900);
  font-size: clamp(2rem, 4.2vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.ft-section-heading p {
  margin: 14px 0 0;
  color: var(--ft-muted);
  font-size: 1.12em;
}

.ft-contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 310px), 1fr));
  gap: 18px;
}

.ft-contact-card,
.ft-price-card,
.ft-statute-section,
.ft-document-card,
.ft-history-entry,
.ft-highlight-panel {
  border: 1px solid var(--ft-page-line);
  border-radius: 8px;
  background: var(--ft-white);
  box-shadow: 0 18px 45px rgba(63, 0, 13, 0.11);
}

.ft-contact-card {
  min-height: 100%;
  padding: clamp(22px, 3.5vw, 32px);
  border-top: 6px solid var(--ft-red-600);
}

.ft-card-label,
.ft-history-year {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 14px;
  padding: 6px 10px;
  border-radius: 6px;
  background: var(--ft-page-soft);
  color: var(--ft-red-800);
  font-size: 0.82em;
  font-weight: 900;
  line-height: 1.2;
}

.ft-contact-card h2,
.ft-price-card h2,
.ft-statute-section h2,
.ft-document-card h2,
.ft-highlight-panel h2 {
  margin: 0 0 12px;
  color: var(--ft-red-900);
  font-size: clamp(1.35rem, 1.1rem + 0.8vw, 1.85rem);
  line-height: 1.16;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.ft-contact-card p,
.ft-statute-section p,
.ft-document-card p,
.ft-history-entry p,
.ft-highlight-panel p {
  margin: 0 0 1em;
  overflow-wrap: anywhere;
}

.ft-contact-card p:last-child,
.ft-statute-section p:last-child,
.ft-document-card p:last-child,
.ft-history-entry p:last-child,
.ft-highlight-panel p:last-child {
  margin-bottom: 0;
}

.ft-modern-page a {
  font-weight: 800;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
}

.ft-contact-card a[href^="mailto:"] {
  display: block;
  max-width: 100%;
  margin-top: 8px;
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: normal;
  font-size: clamp(0.74rem, 0.68rem + 0.18vw, 0.88rem);
  line-height: 1.18;
}

.ft-modern-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 13px 18px;
  border: 2px solid var(--ft-red-800);
  border-radius: 6px;
  background: var(--ft-red-800);
  color: var(--ft-white);
  font-weight: 900;
  text-decoration: none;
}

.ft-modern-button:hover,
.ft-modern-button:focus {
  background: var(--ft-red-950);
  border-color: var(--ft-red-950);
  color: var(--ft-white);
}

.ft-price-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.ft-price-card {
  padding: clamp(24px, 4vw, 38px);
}

.ft-price-card ul {
  display: grid;
  gap: 14px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.ft-price-card li {
  display: flex;
  gap: 14px;
  align-items: baseline;
  justify-content: space-between;
  padding: 13px 0;
  border-top: 1px solid var(--ft-page-line);
}

.ft-price-card strong {
  color: var(--ft-red-800);
  font-size: 1.2em;
  white-space: nowrap;
}

.ft-highlight-panel {
  margin-top: 22px;
  padding: clamp(24px, 4vw, 38px);
  border-left: 8px solid var(--ft-gold);
}

.ft-document-tools {
  margin-bottom: 24px;
}

.ft-readable {
  max-width: 920px;
}

.ft-document-card,
.ft-statute-section {
  padding: clamp(24px, 4vw, 42px);
}

.ft-document-card ul,
.ft-accessibility-list {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.ft-document-card li,
.ft-accessibility-list li {
  position: relative;
  padding-left: 30px;
}

.ft-document-card li::before,
.ft-accessibility-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 13px;
  height: 13px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--ft-red-700), var(--ft-gold));
  box-shadow: 0 0 0 4px rgba(243, 201, 104, 0.18);
}

.ft-statute-list {
  display: grid;
  gap: 18px;
}

.ft-history-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(28px, 5vw, 54px);
  align-items: start;
  margin-bottom: clamp(46px, 7vw, 74px);
}

.ft-history-intro > div {
  padding: clamp(24px, 4vw, 38px);
  border-left: 8px solid var(--ft-gold);
  border-radius: 8px;
  background: var(--ft-white);
  box-shadow: 0 18px 45px rgba(63, 0, 13, 0.1);
}

.ft-history-intro figure {
  margin: 0;
}

.ft-history-images {
  display: grid;
  gap: 16px;
}

.ft-history-images img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 18px 40px rgba(63, 0, 13, 0.18);
}

.ft-history-intro figcaption {
  margin-top: 12px;
  color: var(--ft-muted);
  font-size: 0.92em;
}

.ft-section-heading--history {
  margin-bottom: 26px;
}

.ft-history-list {
  display: grid;
  gap: 16px;
}

.ft-history-entry {
  position: relative;
  padding: clamp(22px, 3.5vw, 34px);
}

.ft-history-entry--motto {
  border-color: rgba(243, 201, 104, 0.72);
  background: linear-gradient(135deg, #fff9e8, #fff);
}

.ft-history-entry--motto p {
  color: var(--ft-red-900);
  font-size: clamp(1.25rem, 1.05rem + 0.75vw, 1.7rem);
  font-weight: 900;
  line-height: 1.35;
}

.funkturm-logo-strip {
  padding: clamp(46px, 7vw, 82px) 0;
  background:
    radial-gradient(circle at 20% 0%, rgba(243, 201, 104, 0.18), transparent 30%),
    linear-gradient(135deg, var(--ft-red-950), var(--ft-red-800));
  color: var(--ft-white);
}

.funkturm-logo-strip-template .elementor {
  background:
    radial-gradient(circle at 20px 18px, rgba(243, 201, 104, 0.28) 0 3px, transparent 4px) 0 0 / 126px 104px,
    radial-gradient(circle at 70px 52px, rgba(0, 119, 184, 0.2) 0 3px, transparent 4px) 0 0 / 156px 126px,
    radial-gradient(circle at 20% 0%, rgba(243, 201, 104, 0.2), transparent 30%),
    linear-gradient(135deg, var(--ft-red-950), var(--ft-red-800));
}

.funkturm-logo-strip-template {
  position: relative;
}

.funkturm-logo-strip-edit-link {
  position: absolute;
  top: 18px;
  right: max(18px, calc((100vw - 1180px) / 2));
  z-index: 5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 9px 14px;
  border: 2px solid rgba(255, 255, 255, 0.78);
  border-radius: 999px;
  background: linear-gradient(135deg, var(--ft-gold), #fff2a8);
  color: var(--ft-red-950);
  box-shadow: 0 14px 30px rgba(38, 0, 6, 0.22);
  font-size: 0.92rem;
  font-weight: 950;
  line-height: 1;
  text-decoration: none;
}

.funkturm-logo-strip-edit-link:hover,
.funkturm-logo-strip-edit-link:focus-visible {
  background: var(--ft-white);
  color: var(--ft-red-950);
  transform: translateY(-1px);
}

.funkturm-logo-strip--elementor {
  padding-block: 0;
  background: transparent;
}

.funkturm-logo-strip--elementor .elementor-container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.funkturm-logo-strip-template .elementor > .funkturm-logo-strip--elementor:first-child {
  padding-top: clamp(46px, 7vw, 82px);
  padding-bottom: clamp(22px, 3vw, 28px);
}

.funkturm-logo-strip-template .elementor > .funkturm-logo-list {
  display: block;
  padding-bottom: clamp(46px, 7vw, 82px);
}

.funkturm-logo-strip__inner {
  display: grid;
  gap: clamp(28px, 4vw, 44px);
}

.funkturm-logo-strip__header {
  max-width: none;
}

.funkturm-logo-strip--elementor .funkturm-logo-strip__header {
  width: 100%;
}

.funkturm-logo-strip .funkturm-kicker {
  margin-bottom: 16px;
}

.funkturm-logo-strip .funkturm-kicker p {
  margin: 0;
}

.funkturm-logo-strip h2 {
  margin: 0;
  color: var(--ft-white);
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.04;
  letter-spacing: 0;
  white-space: nowrap;
}

.funkturm-logo-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.funkturm-logo-list .elementor-container {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
  width: min(960px, calc(100% - 40px));
  margin-inline: auto;
}

.funkturm-logo-list .elementor-container > .elementor-column {
  width: auto !important;
  max-width: none !important;
  min-width: 0;
}

.funkturm-logo-card {
  display: grid;
  grid-template-rows: auto minmax(138px, 1fr) auto;
  gap: 14px;
  align-items: center;
  min-height: 260px;
  padding: clamp(18px, 2.6vw, 26px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 18px 40px rgba(38, 0, 6, 0.28);
  text-align: center;
}

.funkturm-logo-card .elementor-widget-wrap {
  display: grid;
  grid-template-rows: auto minmax(138px, 1fr) auto;
  gap: 14px;
  align-items: center;
  width: 100%;
  min-width: 0;
}

.funkturm-logo-card__group {
  justify-self: center;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(243, 201, 104, 0.18);
  color: var(--ft-gold);
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

.funkturm-logo-card__group p,
.funkturm-logo-card__name-wrap p {
  margin: 0;
}

.funkturm-logo-card img {
  align-self: center;
  justify-self: center;
  max-width: min(160px, 100%);
  max-height: 132px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 12px 16px rgba(38, 0, 6, 0.32));
}

.funkturm-logo-card__name {
  display: inline-block;
  color: var(--ft-white);
  font-size: clamp(0.78rem, 0.72rem + 0.22vw, 0.96rem);
  font-weight: 900;
  line-height: 1.25;
  max-width: 100%;
  overflow-wrap: normal;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.22em;
  white-space: nowrap;
  word-break: normal;
  hyphens: none;
}

a.funkturm-logo-card__name:hover,
a.funkturm-logo-card__name:focus-visible {
  color: var(--ft-gold);
  text-decoration: underline;
}

@media (max-width: 921px) {
  .funkturm-logo-strip h2 {
    white-space: normal;
  }

  .funkturm-logo-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ft-price-grid,
  .ft-history-intro {
    grid-template-columns: 1fr;
  }

  .ft-page-hero {
    padding-top: 62px;
  }
}

@media (max-width: 544px) {
  .funkturm-logo-strip-edit-link {
    position: static;
    width: calc(100% - 28px);
    margin: 14px auto -8px;
  }

  .funkturm-logo-list {
    grid-template-columns: 1fr;
  }

  .funkturm-logo-card {
    min-height: 220px;
  }

  .ft-modern-wrap {
    width: min(100% - 28px, 1180px);
  }

  .ft-price-card li {
    display: grid;
    gap: 4px;
  }

  .ft-modern-button {
    width: 100%;
  }
}

/* Polished content pages: full-width editorial layout for imported legacy pages. */
.funkturm-modern-content-page {
  background: #fff7f2;
  overflow-x: clip;
}

.funkturm-modern-content-page .site-content > .ast-container {
  width: 100%;
  max-width: none;
  padding: 0;
}

.funkturm-modern-content-page #primary {
  margin: 0 !important;
  padding: 0 !important;
}

.funkturm-modern-content-page .ast-article-single,
.funkturm-modern-content-page.ast-separate-container .ast-article-single:not(.ast-related-post) {
  padding: 0;
  background: transparent;
}

.funkturm-modern-content-page .entry-header {
  display: none;
}

.funkturm-modern-content-page .entry-content {
  margin: 0;
}

.funkturm-modern-content-page .entry-content > .ft-modern-page {
  margin: 0;
}

.ft-modern-page {
  background:
    radial-gradient(circle at 88% 12%, rgba(243, 201, 104, 0.2), transparent 28rem),
    radial-gradient(circle at 8% 42%, rgba(179, 24, 43, 0.12), transparent 24rem),
    linear-gradient(180deg, #fff7f2 0%, #fff 42%, #fff7f2 100%);
}

.ft-page-hero {
  position: relative;
  display: grid;
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  min-height: clamp(380px, 46vw, 520px);
  align-items: end;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(72px, 9vw, 124px) 0 clamp(52px, 7vw, 88px);
  background:
    radial-gradient(circle at 78% 18%, rgba(243, 201, 104, 0.34), transparent 16rem),
    linear-gradient(110deg, rgba(38, 0, 6, 0.98) 0%, rgba(95, 7, 19, 0.95) 46%, rgba(179, 24, 43, 0.88) 100%);
}

.ft-page-hero::before {
  content: "";
  position: absolute;
  right: max(24px, calc((100vw - 1180px) / 2));
  bottom: -42px;
  z-index: -1;
  width: clamp(190px, 29vw, 360px);
  aspect-ratio: 230 / 282;
  background: var(--ft-logo-image) center / contain no-repeat;
  opacity: 0.16;
  filter: drop-shadow(0 24px 50px rgba(0, 0, 0, 0.28));
}

.ft-page-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 96px;
  background: linear-gradient(0deg, #fff7f2, rgba(255, 247, 242, 0));
}

.ft-page-hero .ft-modern-wrap {
  position: relative;
  z-index: 1;
}

.ft-page-kicker {
  padding: 8px 12px;
  border: 1px solid rgba(243, 201, 104, 0.58);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 14px 35px rgba(38, 0, 6, 0.2);
}

.ft-page-hero h1 {
  max-width: 1040px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(2.35rem, 4.8vw, 4.85rem);
  font-weight: 950;
  line-height: 0.98;
  text-wrap: balance;
  text-shadow: 0 16px 42px rgba(0, 0, 0, 0.32);
}

.ft-page-hero p:not(.ft-page-kicker) {
  max-width: 790px;
  font-weight: 650;
}

.ft-modern-section {
  position: relative;
}

.ft-modern-section::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(143, 13, 29, 0.24), transparent);
}

.ft-section-heading {
  padding-left: clamp(18px, 3vw, 28px);
  border-left: 8px solid var(--ft-gold);
}

.ft-section-heading h2 {
  text-wrap: balance;
}

.ft-contact-card,
.ft-price-card,
.ft-statute-section,
.ft-document-card,
.ft-highlight-panel {
  position: relative;
  overflow: hidden;
  border-color: rgba(143, 13, 29, 0.14);
  box-shadow: 0 22px 60px rgba(63, 0, 13, 0.12);
}

.ft-contact-card::before,
.ft-price-card::before,
.ft-statute-section::before,
.ft-document-card::before,
.ft-highlight-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 7px;
  background: linear-gradient(90deg, var(--ft-red-800), var(--ft-red-500), var(--ft-gold));
}

.ft-contact-card:hover,
.ft-price-card:hover,
.ft-statute-section:hover,
.ft-document-card:hover,
.ft-highlight-panel:hover,
.ft-history-entry:hover {
  transform: translateY(-2px);
  box-shadow: 0 28px 70px rgba(63, 0, 13, 0.16);
}

.ft-history-intro {
  align-items: stretch;
}

.ft-history-stats {
  position: relative;
  z-index: 2;
  margin-top: -42px;
}

.ft-history-stats dl {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: clamp(16px, 2.8vw, 26px);
  border: 1px solid rgba(143, 13, 29, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 28px 70px rgba(63, 0, 13, 0.16);
  backdrop-filter: blur(12px);
}

.ft-history-stats div {
  padding: 14px;
  border-radius: 6px;
  background: linear-gradient(180deg, #fff7f2, #fff);
}

.ft-history-stats dt {
  margin: 0 0 6px;
  color: var(--ft-muted);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.ft-history-stats dd {
  margin: 0;
  color: var(--ft-red-900);
  font-size: clamp(1.2rem, 1.04rem + 0.9vw, 2rem);
  font-weight: 950;
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.ft-history-intro > div {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(143, 13, 29, 0.14);
  border-left: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 248, 245, 0.96)),
    #fff;
}

.ft-history-intro > div::before {
  content: "1967";
  display: inline-flex;
  margin-bottom: 18px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--ft-red-900);
  color: var(--ft-gold);
  font-size: 0.88rem;
  font-weight: 950;
  letter-spacing: 0.08em;
}

.ft-history-images {
  height: 100%;
}

.ft-history-images img {
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}

.ft-history-list {
  position: relative;
  display: block;
  max-width: 1120px;
  margin-inline: auto;
  padding: 18px 0;
}

.ft-history-list::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 5px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--ft-red-900), var(--ft-red-500), var(--ft-gold), var(--ft-red-700));
  transform: translateX(-50%);
}

.ft-history-entry {
  width: calc(50% - 54px);
  margin: 0 0 26px;
  padding: clamp(24px, 3.3vw, 38px);
  border: 1px solid rgba(143, 13, 29, 0.14);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 248, 245, 0.94)),
    #fff;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.ft-history-entry:nth-child(even) {
  margin-left: calc(50% + 54px);
}

.ft-history-entry::after {
  content: "";
  position: absolute;
  top: 34px;
  right: -68px;
  width: 22px;
  height: 22px;
  border: 5px solid #fff7f2;
  border-radius: 50%;
  background: var(--ft-gold);
  box-shadow: 0 0 0 5px rgba(143, 13, 29, 0.18), 0 12px 28px rgba(63, 0, 13, 0.22);
}

.ft-history-entry:nth-child(even)::after {
  right: auto;
  left: -68px;
}

.ft-history-year {
  margin-bottom: 18px;
  padding: 8px 13px;
  border-radius: 999px;
  background: var(--ft-red-900);
  color: var(--ft-gold);
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.ft-history-entry p {
  font-size: clamp(1.05rem, 0.98rem + 0.22vw, 1.18rem);
}

.ft-history-entry--motto {
  border-color: rgba(243, 201, 104, 0.64);
  background:
    radial-gradient(circle at 88% 12%, rgba(243, 201, 104, 0.26), transparent 10rem),
    linear-gradient(135deg, #fff6d8, #fffaf0);
}

.ft-history-entry--motto .ft-history-year {
  background: var(--ft-gold);
  color: var(--ft-red-950);
}

.ft-history-entry--motto p {
  color: var(--ft-red-950);
  text-wrap: balance;
}

@media (max-width: 921px) {
  .funkturm-modern-content-page .site-content > .ast-container {
    padding: 0;
  }

  .ft-page-hero {
    min-height: 410px;
  }

  .ft-history-list {
    padding-left: 34px;
  }

  .ft-history-stats {
    margin-top: -24px;
  }

  .ft-history-stats dl {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ft-history-list::before {
    left: 10px;
  }

  .ft-history-entry,
  .ft-history-entry:nth-child(even) {
    width: 100%;
    margin-left: 0;
  }

  .ft-history-entry::after,
  .ft-history-entry:nth-child(even)::after {
    left: -34px;
    right: auto;
  }
}

@media (max-width: 544px) {
  .ft-page-hero {
    min-height: 360px;
    padding-top: 70px;
  }

  .ft-page-kicker {
    align-items: flex-start;
  }

  .ft-history-stats dl {
    grid-template-columns: 1fr;
  }

  .ft-history-list {
    padding-left: 24px;
  }

  .ft-history-entry::after,
  .ft-history-entry:nth-child(even)::after {
    left: -27px;
    width: 18px;
    height: 18px;
  }
}

/* Chronik v2: readable editor-friendly year cards, no alternating timeline. */
.ft-modern-page--history .ft-history-list {
  display: grid;
  max-width: 1080px;
  margin-inline: auto;
  padding: 0;
  gap: 24px;
}

.ft-modern-page--history .ft-history-list::before {
  display: none;
}

.ft-modern-page--history .ft-history-entry,
.ft-modern-page--history .ft-history-entry:nth-child(even) {
  display: grid;
  grid-template-columns: minmax(112px, 150px) minmax(0, 1fr);
  column-gap: clamp(22px, 4vw, 42px);
  row-gap: 12px;
  width: 100%;
  margin: 0;
  padding: clamp(24px, 3.4vw, 42px);
}

.ft-modern-page--history .ft-history-entry::after,
.ft-modern-page--history .ft-history-entry:nth-child(even)::after {
  display: none;
}

.ft-modern-page--history .ft-history-entry::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 9px;
  background: linear-gradient(180deg, var(--ft-red-900), var(--ft-red-500), var(--ft-gold));
}

.ft-modern-page--history .ft-history-year {
  grid-column: 1;
  align-self: start;
  justify-self: start;
  min-width: 88px;
  margin: 0;
  text-align: center;
}

@media (min-width: 922px) {
  .ft-modern-page--history .ft-history-year {
    position: sticky;
    top: 110px;
  }
}

.ft-modern-page--history .ft-history-entry p {
  grid-column: 2;
  max-width: 82ch;
  margin: 0;
  color: #211417;
  font-size: clamp(1.08rem, 1rem + 0.22vw, 1.22rem);
  line-height: 1.72;
}

.ft-modern-page--history .ft-history-entry p + p {
  margin-top: 1.05em;
}

.ft-modern-page--history .ft-history-entry:not(:has(.ft-history-year)) {
  grid-template-columns: 1fr;
}

.ft-modern-page--history .ft-history-entry:not(:has(.ft-history-year)) p {
  grid-column: 1;
}

.ft-modern-page--history .ft-history-entry--motto {
  align-items: center;
  background:
    radial-gradient(circle at 92% 10%, rgba(243, 201, 104, 0.28), transparent 12rem),
    linear-gradient(135deg, #fff6d8, #fffaf0);
}

.ft-modern-page--history .ft-history-entry--motto p {
  max-width: 64ch;
  color: var(--ft-red-950);
  font-size: clamp(1.35rem, 1.14rem + 0.72vw, 1.85rem);
  font-weight: 950;
  line-height: 1.28;
}

.ft-modern-page--history .ft-section-heading--history {
  max-width: 1080px;
  margin-inline: auto;
}

@media (max-width: 921px) {
  .ft-modern-page--history .ft-history-list {
    padding-left: 0;
  }

  .ft-modern-page--history .ft-history-entry,
  .ft-modern-page--history .ft-history-entry:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .ft-modern-page--history .ft-history-entry p,
  .ft-modern-page--history .ft-history-entry:not(:has(.ft-history-year)) p {
    grid-column: 1;
    max-width: none;
  }
}

/* Carnival polish: warm, festive details without external assets. */
.site-header {
  position: relative;
  z-index: 20;
}

.ast-primary-header-bar {
  position: relative;
  min-height: 104px;
  padding-block: 12px 16px;
  border-bottom: 0;
  background:
    radial-gradient(circle at 14% 28%, rgba(243, 201, 104, 0.22), transparent 8rem),
    radial-gradient(circle at 72% 16%, rgba(0, 119, 184, 0.1), transparent 8rem),
    linear-gradient(90deg, #fffdfb 0%, #fff4ee 52%, #fff8ed 100%);
  box-shadow: 0 12px 34px rgba(63, 0, 13, 0.12);
}

.ast-primary-header-bar::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 5px;
  background: repeating-linear-gradient(
    90deg,
    var(--ft-red-700) 0 56px,
    var(--ft-gold) 56px 92px,
    var(--ft-carnival-blue) 92px 126px,
    var(--ft-carnival-green) 126px 160px,
    var(--ft-carnival-orange) 160px 196px
  );
}

.site-header .site-branding.ast-site-identity {
  display: inline-flex;
  align-items: center;
  gap: clamp(10px, 1.4vw, 14px);
  min-height: 82px;
}

.site-header .site-branding.ast-site-identity::before {
  content: "";
  flex: 0 0 clamp(38px, 4.4vw, 52px);
  width: clamp(38px, 4.4vw, 52px);
  height: clamp(48px, 5.2vw, 64px);
  background: var(--ft-header-logo-image) center / contain no-repeat;
  filter: drop-shadow(0 8px 12px rgba(63, 0, 13, 0.16));
  opacity: 0.82;
}

.site-header .ast-site-title-wrap {
  min-width: 0;
}

.site-title {
  line-height: 1.05;
}

.site-title a,
.site-title a:focus,
.site-title a:hover {
  display: block;
  color: var(--ft-red-950);
}

.main-header-menu > .menu-item > .menu-link {
  min-height: 42px;
  padding-inline: 14px;
  border-radius: 999px;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.main-header-menu > .menu-item.current-menu-item > .menu-link,
.main-header-menu > .menu-item.current_page_item > .menu-link {
  background: rgba(243, 201, 104, 0.24);
  color: var(--ft-red-950);
}

.main-header-menu > .menu-item > .menu-link:hover {
  background: linear-gradient(135deg, rgba(243, 201, 104, 0.35), rgba(255, 255, 255, 0.88));
  color: var(--ft-red-950);
  transform: translateY(-1px);
}

.funkturm-hero::before {
  background-image:
    radial-gradient(circle at 18px 18px, rgba(243, 201, 104, 0.72) 0 3px, transparent 4px),
    radial-gradient(circle at 54px 42px, rgba(0, 119, 184, 0.55) 0 3px, transparent 4px),
    radial-gradient(circle at 92px 28px, rgba(19, 143, 77, 0.5) 0 3px, transparent 4px),
    linear-gradient(90deg, rgba(38, 0, 6, 0.94) 0%, rgba(58, 5, 13, 0.82) 38%, rgba(58, 5, 13, 0.18) 72%),
    var(--hero-image);
  background-position: 0 0, 30px 18px, 58px 52px, center, center;
  background-repeat: repeat, repeat, repeat, no-repeat, no-repeat;
  background-size: 122px 98px, 148px 116px, 172px 132px, auto, cover;
}

.ft-page-hero {
  background-color: var(--ft-red-950);
  background-image:
    radial-gradient(circle at 22px 20px, rgba(243, 201, 104, 0.48) 0 3px, transparent 4px),
    radial-gradient(circle at 76px 48px, rgba(0, 119, 184, 0.28) 0 3px, transparent 4px),
    radial-gradient(circle at 118px 30px, rgba(19, 143, 77, 0.28) 0 3px, transparent 4px),
    radial-gradient(circle at 78% 18%, rgba(243, 201, 104, 0.34), transparent 16rem),
    linear-gradient(110deg, rgba(38, 0, 6, 0.98) 0%, rgba(95, 7, 19, 0.95) 46%, rgba(179, 24, 43, 0.88) 100%),
    var(--hero-image);
  background-position: 0 0, 36px 20px, 72px 54px, center, center, center;
  background-repeat: repeat, repeat, repeat, no-repeat, no-repeat, no-repeat;
  background-size: 138px 112px, 166px 132px, 196px 150px, auto, auto, cover;
}

.funkturm-card,
.funkturm-panel {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 96% 10%, rgba(243, 201, 104, 0.3), transparent 5.5rem),
    linear-gradient(180deg, #ffffff 0%, #fff9f4 100%);
}

.funkturm-card::before,
.funkturm-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 6px;
  background: linear-gradient(90deg, var(--ft-red-800), var(--ft-carnival-orange), var(--ft-gold), var(--ft-carnival-green));
}

.funkturm-button:not(.funkturm-button--ghost) {
  border-color: transparent;
  background: linear-gradient(135deg, var(--ft-gold), #fff2a8);
  color: var(--ft-red-950);
  box-shadow: 0 14px 28px rgba(38, 0, 6, 0.22);
}

.funkturm-button--ghost {
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(6px);
}

.ft-modern-button {
  border-color: transparent;
  background: linear-gradient(135deg, var(--ft-red-800), var(--ft-red-500) 58%, var(--ft-carnival-orange));
  box-shadow: 0 16px 34px rgba(63, 0, 13, 0.18);
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.ft-modern-button:hover,
.ft-modern-button:focus {
  transform: translateY(-1px);
  box-shadow: 0 20px 42px rgba(63, 0, 13, 0.22);
}

.ft-contact-card,
.ft-price-card,
.ft-statute-section,
.ft-document-card,
.ft-highlight-panel,
.ft-modern-page--history .ft-history-entry:not(.ft-history-entry--motto) {
  background:
    radial-gradient(circle at 98% 8%, rgba(243, 201, 104, 0.26), transparent 6rem),
    radial-gradient(circle at 92% 96%, rgba(0, 119, 184, 0.08), transparent 8rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(255, 249, 244, 0.98));
}

.ft-contact-card::before,
.ft-price-card::before,
.ft-statute-section::before,
.ft-document-card::before,
.ft-highlight-panel::before {
  background: linear-gradient(
    90deg,
    var(--ft-red-900),
    var(--ft-red-600),
    var(--ft-carnival-orange),
    var(--ft-gold),
    var(--ft-carnival-green)
  );
}

.ft-modern-page--history .ft-history-entry::before {
  background: linear-gradient(
    180deg,
    var(--ft-red-900),
    var(--ft-red-600),
    var(--ft-carnival-orange),
    var(--ft-gold)
  );
}

.ft-contact-card::after,
.ft-price-card::after,
.ft-statute-section::after,
.ft-document-card::after,
.ft-highlight-panel::after {
  content: "";
  position: absolute;
  top: -30px;
  right: -30px;
  width: 100px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: conic-gradient(
    from 20deg,
    rgba(243, 201, 104, 0.24),
    rgba(0, 119, 184, 0.16),
    rgba(19, 143, 77, 0.14),
    rgba(201, 30, 99, 0.12),
    rgba(243, 201, 104, 0.24)
  );
  pointer-events: none;
}

.ft-modern-page--history .ft-history-year,
.ft-card-label {
  box-shadow: inset 0 -2px 0 rgba(243, 201, 104, 0.42);
}

.ft-modern-page--history .ft-history-entry--motto {
  background:
    radial-gradient(circle at 92% 10%, rgba(243, 201, 104, 0.32), transparent 12rem),
    radial-gradient(circle at 10% 88%, rgba(201, 30, 99, 0.08), transparent 10rem),
    linear-gradient(135deg, #fff6d8, #fffaf0);
}

.funkturm-logo-strip {
  background:
    radial-gradient(circle at 20px 18px, rgba(243, 201, 104, 0.28) 0 3px, transparent 4px) 0 0 / 126px 104px,
    radial-gradient(circle at 70px 52px, rgba(0, 119, 184, 0.2) 0 3px, transparent 4px) 0 0 / 156px 126px,
    radial-gradient(circle at 20% 0%, rgba(243, 201, 104, 0.2), transparent 30%),
    linear-gradient(135deg, var(--ft-red-950), var(--ft-red-800));
}

.funkturm-logo-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.08));
}

/* Bildergalerie: polished local gallery and lightbox styling. */
.ft-modern-page--gallery .ft-gallery-lead {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(280px, 0.62fr);
  gap: clamp(22px, 4vw, 42px);
  align-items: stretch;
}

.ft-modern-page--gallery .ft-gallery-note {
  position: relative;
  overflow: hidden;
  align-self: stretch;
  padding: clamp(24px, 4vw, 34px);
  border: 1px solid rgba(143, 13, 29, 0.16);
  border-radius: 8px;
  background:
    radial-gradient(circle at 92% 14%, rgba(243, 201, 104, 0.28), transparent 6rem),
    linear-gradient(180deg, #ffffff, #fff7f1);
  box-shadow: 0 18px 44px rgba(63, 0, 13, 0.12);
}

.ft-modern-page--gallery .ft-gallery-note::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 6px;
  background: linear-gradient(90deg, var(--ft-red-900), var(--ft-red-500), var(--ft-carnival-orange), var(--ft-gold));
}

.ft-modern-page--gallery .ft-gallery-note strong {
  display: block;
  color: var(--ft-red-950);
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  line-height: 1.15;
}

.ft-modern-page--gallery .ft-gallery-note span {
  display: block;
  margin-top: 12px;
  color: var(--ft-muted);
}

/* Links page: curated carnival network with accessible cards. */
.ft-modern-page--links {
  background:
    radial-gradient(circle at 82% 18%, rgba(243, 201, 104, 0.2), transparent 22rem),
    radial-gradient(circle at 12% 80%, rgba(0, 119, 184, 0.1), transparent 18rem),
    linear-gradient(180deg, #fff7f2 0%, #ffffff 44%, #fff7f2 100%);
}

.ft-links-lead {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(280px, 0.56fr);
  gap: clamp(22px, 4vw, 42px);
  align-items: stretch;
  margin-bottom: clamp(28px, 5vw, 52px);
}

.ft-links-note {
  position: relative;
  overflow: hidden;
  align-self: stretch;
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid rgba(143, 13, 29, 0.16);
  border-radius: 8px;
  background:
    radial-gradient(circle at 92% 12%, rgba(243, 201, 104, 0.3), transparent 6rem),
    linear-gradient(180deg, #ffffff, #fff7f1);
  box-shadow: 0 18px 44px rgba(63, 0, 13, 0.12);
}

.ft-links-note::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 6px;
  background: linear-gradient(90deg, var(--ft-red-900), var(--ft-red-500), var(--ft-carnival-orange), var(--ft-gold));
}

.ft-links-note strong {
  display: block;
  color: var(--ft-red-950);
  font-size: clamp(1.25rem, 1.8vw, 1.65rem);
  line-height: 1.15;
}

.ft-links-note span {
  display: block;
  margin-top: 12px;
  color: var(--ft-muted);
}

.ft-links-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 26px);
}

.ft-link-card {
  position: relative;
  overflow: hidden;
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 100%;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid rgba(143, 13, 29, 0.16);
  border-radius: 8px;
  background:
    radial-gradient(circle at 94% 10%, rgba(243, 201, 104, 0.26), transparent 6rem),
    radial-gradient(circle at 90% 96%, rgba(0, 119, 184, 0.08), transparent 8rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(255, 249, 244, 0.98));
  box-shadow: 0 18px 45px rgba(63, 0, 13, 0.11);
}

.ft-link-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 6px;
  background: linear-gradient(90deg, var(--ft-red-900), var(--ft-red-600), var(--ft-carnival-orange), var(--ft-gold), var(--ft-carnival-green));
}

.ft-link-card h2 {
  margin: 0;
  color: var(--ft-red-950);
  font-size: clamp(1.45rem, 2.2vw, 2.1rem);
  line-height: 1.12;
}

.ft-link-card p {
  margin: 0;
  color: var(--ft-muted);
}

.ft-link-card__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: start;
  min-height: 50px;
  margin-top: 8px;
  padding: 12px 18px;
  border: 2px solid var(--ft-red-800);
  border-radius: 999px;
  background: linear-gradient(135deg, var(--ft-red-800), var(--ft-red-500) 58%, var(--ft-carnival-orange));
  color: var(--ft-white);
  box-shadow: 0 14px 30px rgba(63, 0, 13, 0.18);
  font-weight: 950;
  line-height: 1;
  text-decoration: none;
}

.ft-link-card__button:hover,
.ft-link-card__button:focus {
  transform: translateY(-1px);
  background: linear-gradient(135deg, var(--ft-red-950), var(--ft-red-700) 58%, var(--ft-gold));
  color: var(--ft-white);
}

.ft-link-card--featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: clamp(18px, 4vw, 48px);
  align-items: center;
}

.ft-link-card--featured .ft-card-label,
.ft-link-card--featured h2,
.ft-link-card--featured p {
  grid-column: 1;
}

.ft-link-card--featured .ft-link-card__button {
  grid-column: 2;
  grid-row: 1 / span 4;
  align-self: center;
  white-space: nowrap;
}

.ft-modern-page--session,
.ft-modern-page--dance,
.ft-modern-page--join,
.ft-modern-page--archive {
  background:
    radial-gradient(circle at 82% 18%, rgba(243, 201, 104, 0.18), transparent 22rem),
    radial-gradient(circle at 12% 78%, rgba(0, 119, 184, 0.09), transparent 18rem),
    linear-gradient(180deg, #fff8f4 0%, #ffffff 46%, #fff8f4 100%);
}

.ft-feature-grid {
  display: grid;
  gap: clamp(18px, 3vw, 28px);
  margin-block: clamp(24px, 4vw, 44px);
}

.ft-feature-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ft-feature-grid--three {
  grid-template-columns: repeat(3, minmax(300px, 1fr));
}

.ft-feature-card,
.ft-motto-card,
.ft-cta-band {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid rgba(143, 13, 29, 0.16);
  border-radius: 8px;
  background:
    radial-gradient(circle at 94% 10%, rgba(243, 201, 104, 0.24), transparent 6rem),
    radial-gradient(circle at 92% 96%, rgba(0, 119, 184, 0.07), transparent 8rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(255, 249, 244, 0.98));
  box-shadow: 0 18px 45px rgba(63, 0, 13, 0.11);
}

.ft-feature-card::before,
.ft-motto-card::before,
.ft-cta-band::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 6px;
  background: linear-gradient(90deg, var(--ft-red-900), var(--ft-red-500), var(--ft-carnival-orange), var(--ft-gold), var(--ft-carnival-green), var(--ft-carnival-blue));
}

.ft-feature-card h2,
.ft-motto-card h2,
.ft-cta-band h2 {
  margin: 0 0 12px;
  color: var(--ft-red-950);
  font-size: clamp(1.45rem, 2.2vw, 2.15rem);
  line-height: 1.12;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: manual;
}

.ft-feature-grid--three .ft-feature-card h2 {
  font-size: clamp(1.42rem, 1.65vw, 1.9rem);
}

.ft-feature-card p,
.ft-motto-card p,
.ft-cta-band p {
  margin: 0 0 14px;
  color: var(--ft-muted);
}

.ft-feature-card p:last-child,
.ft-motto-card p:last-child,
.ft-cta-band p:last-child {
  margin-bottom: 0;
}

.ft-card-label,
.ft-motto-card span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  margin-bottom: 14px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(243, 201, 104, 0.28);
  color: var(--ft-red-800);
  font-size: 0.84rem;
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
}

.ft-motto-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 28px);
}

.ft-cta-band {
  margin-top: clamp(28px, 5vw, 56px);
  background:
    radial-gradient(circle at 90% 20%, rgba(243, 201, 104, 0.34), transparent 9rem),
    linear-gradient(135deg, var(--ft-red-950), var(--ft-red-800));
}

.ft-cta-band h2,
.ft-cta-band p {
  color: var(--ft-white);
}

.ft-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.ft-modern-button--light {
  background: #fff8f1;
  color: var(--ft-red-900);
}

.ft-modern-button--light:hover,
.ft-modern-button--light:focus {
  background: var(--ft-gold);
  color: var(--ft-red-950);
}

.main-header-menu .sub-menu {
  overflow: hidden;
  min-width: 230px;
  padding: 10px;
  border: 1px solid rgba(143, 13, 29, 0.14);
  border-radius: 8px;
  background:
    radial-gradient(circle at 92% 10%, rgba(243, 201, 104, 0.24), transparent 6rem),
    linear-gradient(180deg, #ffffff, #fff6ef);
  box-shadow: 0 18px 44px rgba(63, 0, 13, 0.16);
}

.main-header-menu .sub-menu .menu-link {
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 6px;
  color: var(--ft-red-950);
  font-weight: 850;
}

.main-header-menu .sub-menu .menu-link:hover,
.main-header-menu .sub-menu .menu-link:focus-visible {
  background: rgba(243, 201, 104, 0.24);
  color: var(--ft-red-950);
}

@keyframes funkturm-ribbon-shimmer {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .ft-feature-card::before,
  .ft-motto-card::before,
  .ft-cta-band::before,
  .funkturm-path-card::before,
  .funkturm-song-card::before {
    background-size: 180% 100%;
    animation: funkturm-ribbon-shimmer 8s linear infinite alternate;
  }

  .ft-modern-button,
  .funkturm-elementor-button .elementor-button,
  .ft-next-event__button {
    will-change: transform;
  }
}

/* Termine: accessible event cards with carnival accents. */
.ft-modern-page--events {
  background:
    radial-gradient(circle at 82% 18%, rgba(243, 201, 104, 0.24), transparent 24rem),
    radial-gradient(circle at 12% 72%, rgba(0, 119, 184, 0.1), transparent 20rem),
    linear-gradient(180deg, #fff7f2 0%, #fff 42%, #fff7f2 100%);
}

.ft-modern-page--events .ft-page-hero {
  width: 100vw;
}

.ft-modern-page--events .ft-events-hero {
  min-height: clamp(440px, 42vw, 620px);
}

.ft-events-heading {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  align-items: end;
  justify-content: space-between;
}

.ft-events-edit-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--ft-red-700), var(--ft-red-900));
  color: #fff;
  font-size: 0.95rem;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 14px 30px rgba(102, 0, 18, 0.18);
}

.ft-events-edit-button:hover,
.ft-events-edit-button:focus-visible {
  color: #fff;
  transform: translateY(-1px);
}

.ft-section-heading--compact {
  max-width: 820px;
  margin-bottom: clamp(24px, 4vw, 40px);
}

.ft-event-list {
  display: grid;
  gap: clamp(18px, 3vw, 26px);
  max-width: min(980px, 100%);
  margin-inline: auto;
}

.ft-event-card {
  position: relative;
  display: grid;
  grid-template-columns: clamp(132px, 18vw, 176px) minmax(0, 1fr);
  gap: clamp(18px, 3vw, 32px);
  align-items: center;
  overflow: hidden;
  padding: clamp(20px, 3vw, 32px);
  border: 1px solid rgba(143, 13, 29, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 247, 237, 0.96)),
    #fff;
  box-shadow: 0 22px 58px rgba(63, 0, 13, 0.12);
}

.ft-event-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 8px;
  background: linear-gradient(90deg, var(--ft-red-800), var(--ft-red-500), var(--ft-gold), var(--ft-carnival-green));
}

.ft-event-card::after {
  content: "";
  position: absolute;
  inset: 8px 8px 8px auto;
  width: 5px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--ft-carnival-green), var(--ft-gold), var(--ft-red-500));
  opacity: 0.88;
}

.ft-event-card--featured {
  border-color: rgba(243, 201, 104, 0.58);
  background:
    linear-gradient(120deg, rgba(95, 7, 19, 0.96), rgba(143, 13, 29, 0.92)),
    var(--ft-red-900);
  color: var(--ft-white);
}

.ft-event-date {
  position: relative;
  display: flex;
  min-height: 178px;
  padding: 22px 18px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid rgba(63, 0, 13, 0.12);
  background:
    linear-gradient(180deg, #ffe38f, #fff4bc);
  color: var(--ft-red-950);
  text-align: center;
  text-decoration: none;
  box-shadow: 0 18px 34px rgba(63, 0, 13, 0.1);
}

.ft-event-date::before {
  content: "";
  position: absolute;
  top: 14px;
  left: 18px;
  right: 18px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--ft-red-800), var(--ft-carnival-orange), var(--ft-carnival-green));
}

.ft-event-date__day {
  display: block;
  font-size: clamp(3.25rem, 2.5rem + 2.5vw, 4.55rem);
  font-weight: 950;
  line-height: 0.95;
}

.ft-event-date__month,
.ft-event-date__year {
  display: block;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ft-event-date__month {
  margin-top: 14px;
  color: var(--ft-red-800);
  font-size: 1.02rem;
}

.ft-event-date__year {
  margin-top: 44px;
  color: rgba(38, 0, 6, 0.72);
  font-size: 0.82rem;
}

.ft-event-card__body {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  gap: 12px;
  max-width: 680px;
}

.ft-event-card__eyebrow {
  justify-self: start;
  margin: 0;
  padding: 9px 13px;
  border-radius: 999px;
  background: rgba(143, 13, 29, 0.09);
  color: var(--ft-red-800);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
}

.ft-event-card--featured .ft-event-card__eyebrow {
  background: rgba(255, 255, 255, 0.14);
  color: var(--ft-gold);
}

.ft-event-card h3 {
  margin: 0;
  color: var(--ft-red-900);
  font-size: clamp(1.65rem, 1.35rem + 1.4vw, 2.65rem);
  font-weight: 950;
  line-height: 1.08;
}

.ft-event-card--featured h3,
.ft-event-card--featured p,
.ft-event-card--featured dt,
.ft-event-card--featured dd {
  color: var(--ft-white);
}

.ft-event-card p {
  max-width: 760px;
  margin: 0;
  color: var(--ft-ink);
  font-size: clamp(1.03rem, 0.94rem + 0.32vw, 1.18rem);
  line-height: 1.55;
}

.ft-event-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(150px, 1fr));
  gap: 10px;
  width: min(100%, 430px);
  margin: 10px 0 0;
}

.ft-event-meta div {
  min-width: 0;
  padding: 13px 14px;
  border: 1px solid rgba(143, 13, 29, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 10px 24px rgba(63, 0, 13, 0.06);
}

.ft-event-card--featured .ft-event-meta div {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.1);
}

.ft-event-meta dt {
  margin: 0 0 4px;
  color: var(--ft-muted);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ft-event-meta dd {
  margin: 0;
  color: var(--ft-red-900);
  font-weight: 850;
}

@media (max-width: 921px) {
  .ft-event-card {
    grid-template-columns: minmax(104px, 140px) minmax(0, 1fr);
  }
}

@media (max-width: 620px) {
  .ft-event-card {
    grid-template-columns: 1fr;
  }

  .ft-event-date {
    min-height: auto;
    width: 100%;
    flex-direction: row;
    align-items: center;
    justify-content: start;
    gap: 12px;
    padding: 18px;
    text-align: left;
  }

  .ft-event-date::before {
    top: 10px;
    left: 18px;
    right: 18px;
  }

  .ft-event-date__day {
    font-size: 2.5rem;
  }

  .ft-event-date__month,
  .ft-event-date__year {
    margin-top: 0;
  }

  .ft-event-meta {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }
}

body.funkturm-gallery-page .wp-block-gallery,
body.funkturm-gallery-page .gallery,
body.funkturm-gallery-page .elementor-image-gallery .gallery,
body.funkturm-gallery-page .elementor-gallery__container,
body.funkturm-gallery-page .funkturm-gallery-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: clamp(14px, 2vw, 24px) !important;
  align-items: stretch;
  width: min(1180px, calc(100% - 40px));
  margin: clamp(28px, 5vw, 54px) auto;
}

body.funkturm-gallery-page .gallery.gallery-columns-1,
body.funkturm-gallery-page .wp-block-gallery.columns-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

body.funkturm-gallery-page .gallery.gallery-columns-2,
body.funkturm-gallery-page .wp-block-gallery.columns-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.funkturm-gallery-page .gallery.gallery-columns-3,
body.funkturm-gallery-page .wp-block-gallery.columns-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.funkturm-gallery-page .gallery.gallery-columns-4,
body.funkturm-gallery-page .wp-block-gallery.columns-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

body.funkturm-gallery-page .gallery.gallery-columns-5,
body.funkturm-gallery-page .wp-block-gallery.columns-5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

body.funkturm-gallery-page .gallery.gallery-columns-6,
body.funkturm-gallery-page .wp-block-gallery.columns-6 {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

body.funkturm-gallery-page .gallery.gallery-columns-7,
body.funkturm-gallery-page .wp-block-gallery.columns-7 {
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

body.funkturm-gallery-page .gallery.gallery-columns-8,
body.funkturm-gallery-page .wp-block-gallery.columns-8 {
  grid-template-columns: repeat(8, minmax(0, 1fr));
}

body.funkturm-gallery-page .gallery.gallery-columns-9,
body.funkturm-gallery-page .wp-block-gallery.columns-9 {
  grid-template-columns: repeat(9, minmax(0, 1fr));
}

body.funkturm-gallery-page .wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image),
body.funkturm-gallery-page .wp-block-gallery .wp-block-image,
body.funkturm-gallery-page .gallery-item,
body.funkturm-gallery-page .elementor-image-gallery .gallery-item,
body.funkturm-gallery-page .elementor-gallery-item {
  position: relative;
  overflow: hidden;
  display: grid !important;
  grid-template-rows: 1fr auto;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  border: 1px solid rgba(143, 13, 29, 0.16);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(63, 0, 13, 0.12);
}

body.funkturm-gallery-page .wp-block-gallery img,
body.funkturm-gallery-page .gallery img,
body.funkturm-gallery-page .elementor-image-gallery img,
body.funkturm-gallery-page .elementor-gallery__container img,
body.funkturm-gallery-page .funkturm-gallery-grid img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 230px;
  aspect-ratio: 4 / 3;
  border: 0 !important;
  object-fit: cover;
  transition: transform 220ms ease, filter 220ms ease;
}

body.funkturm-gallery-page .funkturm-gallery-trigger {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 230px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  cursor: zoom-in;
}

body.funkturm-gallery-page .funkturm-gallery-trigger:hover img,
body.funkturm-gallery-page .funkturm-gallery-trigger:focus-visible img {
  transform: scale(1.035);
  filter: saturate(1.08) contrast(1.04);
}

body.funkturm-gallery-page .funkturm-gallery-trigger:focus-visible {
  outline: 4px solid var(--ft-focus);
  outline-offset: -4px;
}

body.funkturm-gallery-page .wp-block-gallery figcaption,
body.funkturm-gallery-page .gallery-caption,
body.funkturm-gallery-page .elementor-image-gallery .gallery-caption {
  position: static !important;
  display: block;
  width: 100%;
  max-height: none !important;
  margin: 0 !important;
  padding: 12px 14px 14px;
  background: linear-gradient(180deg, #ffffff, #fff8f2) !important;
  color: var(--ft-red-950) !important;
  font-size: 0.98rem;
  font-weight: 760;
  line-height: 1.35;
  text-align: left;
}

html.funkturm-lightbox-open,
html.funkturm-lightbox-open body {
  overflow: hidden;
}

.funkturm-lightbox[hidden] {
  display: none !important;
}

.funkturm-lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 16px;
  padding: clamp(16px, 3vw, 30px);
  background:
    radial-gradient(circle at 16% 18%, rgba(243, 201, 104, 0.18), transparent 16rem),
    linear-gradient(135deg, rgba(38, 0, 6, 0.96), rgba(95, 7, 19, 0.94));
  color: #ffffff;
}

.funkturm-lightbox__toolbar {
  display: flex;
  justify-content: flex-end;
}

.funkturm-lightbox__stage {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: clamp(10px, 2vw, 18px);
  align-items: center;
  min-height: 0;
}

.funkturm-lightbox__figure {
  display: grid;
  gap: 14px;
  justify-items: center;
  min-width: 0;
  margin: 0;
}

.funkturm-lightbox__image {
  max-width: min(100%, 1240px);
  max-height: calc(100vh - 188px);
  width: auto;
  height: auto;
  border-radius: 8px;
  object-fit: contain;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.42);
}

.funkturm-lightbox__caption {
  max-width: min(920px, 100%);
  color: rgba(255, 255, 255, 0.94);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.45;
  text-align: center;
}

.funkturm-lightbox__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  min-height: 52px;
  padding: 12px 16px;
  border: 2px solid rgba(255, 255, 255, 0.46);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
}

.funkturm-lightbox__button:hover,
.funkturm-lightbox__button:focus-visible {
  border-color: var(--ft-gold);
  background: var(--ft-gold);
  color: var(--ft-red-950);
  outline: 3px solid rgba(255, 255, 255, 0.82);
  outline-offset: 3px;
}

@media (max-width: 921px) {
  .ft-feature-grid--two,
  .ft-feature-grid--three,
  .ft-motto-grid {
    grid-template-columns: 1fr;
  }

  .ft-links-lead,
  .ft-links-grid,
  .ft-link-card--featured {
    grid-template-columns: 1fr;
  }

  .ft-link-card--featured .ft-link-card__button {
    grid-column: 1;
    grid-row: auto;
  }

  .ft-modern-page--gallery .ft-gallery-lead {
    grid-template-columns: 1fr;
  }

  .ast-header-break-point .main-header-menu .sub-menu {
    display: grid;
    gap: 8px;
    width: 100%;
    min-width: 0;
    margin: 8px 0 2px !important;
    padding: 8px 0 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .ast-header-break-point .main-header-menu .sub-menu .menu-link {
    justify-content: center;
    min-height: 48px;
    border: 1px solid rgba(143, 13, 29, 0.12);
    background: rgba(255, 255, 255, 0.8) !important;
    font-size: 0.96rem;
  }
}

@media (max-width: 640px) {
  body.funkturm-gallery-page .wp-block-gallery,
  body.funkturm-gallery-page .gallery,
  body.funkturm-gallery-page .elementor-image-gallery .gallery,
  body.funkturm-gallery-page .elementor-gallery__container,
  body.funkturm-gallery-page .funkturm-gallery-grid {
    width: min(100% - 28px, 1180px);
    grid-template-columns: 1fr;
  }

  body.funkturm-gallery-page .gallery[class*="gallery-columns-"],
  body.funkturm-gallery-page .wp-block-gallery[class*="columns-"] {
    grid-template-columns: 1fr !important;
  }

  .funkturm-lightbox {
    padding: 14px;
  }

  .funkturm-lightbox__stage {
    grid-template-columns: 1fr 1fr;
  }

  .funkturm-lightbox__figure {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .funkturm-lightbox__button--prev,
  .funkturm-lightbox__button--next {
    width: 100%;
  }
}

@media (max-width: 921px) {
  .funkturm-hero::before {
    background-image:
      radial-gradient(circle at 18px 18px, rgba(243, 201, 104, 0.62) 0 3px, transparent 4px),
      radial-gradient(circle at 54px 42px, rgba(0, 119, 184, 0.42) 0 3px, transparent 4px),
      radial-gradient(circle at 92px 28px, rgba(19, 143, 77, 0.38) 0 3px, transparent 4px),
      linear-gradient(180deg, rgba(38, 0, 6, 0.94) 0%, rgba(58, 5, 13, 0.78) 58%, rgba(58, 5, 13, 0.45) 100%),
      var(--hero-image);
    background-position: 0 0, 30px 18px, 58px 52px, 62% center, 62% center;
    background-repeat: repeat, repeat, repeat, no-repeat, no-repeat;
    background-size: 122px 98px, 148px 116px, 172px 132px, auto, cover;
  }

  .ast-header-break-point #ast-mobile-header .ast-primary-header-bar {
    min-height: 124px;
    padding: 18px 20px 22px;
  }

  .ast-header-break-point #ast-mobile-header .ast-primary-header-bar::after {
    height: 6px;
  }

  .ast-header-break-point #ast-mobile-header .ast-builder-grid-row,
  .ast-header-break-point #ast-mobile-header .ast-builder-grid-row-has-sides {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    row-gap: 12px;
    min-height: 0;
  }

  .ast-header-break-point #ast-mobile-header .site-header-primary-section-left,
  .ast-header-break-point #ast-mobile-header .site-header-primary-section-right {
    justify-content: center;
    width: 100%;
    min-height: 0;
  }

  .ast-header-break-point #ast-mobile-header .site-header-primary-section-right {
    align-items: center;
  }

  .ast-header-break-point #ast-mobile-header [data-section="section-header-mobile-trigger"],
  .ast-header-break-point #ast-mobile-header [data-section="section-header-mobile-trigger"] .ast-button-wrap {
    display: flex;
    justify-content: center;
    width: 100%;
  }

  .site-header .site-branding.ast-site-identity {
    min-height: 58px;
    justify-content: center;
  }

  .site-header .site-branding.ast-site-identity::before {
    flex-basis: 38px;
    width: 38px;
    height: 48px;
  }

  .ast-header-break-point #ast-mobile-header .main-header-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: min(100%, 224px);
    min-height: 58px;
    padding: 0 24px;
    border: 2px solid rgba(255, 255, 255, 0.86) !important;
    border-radius: 999px;
    background:
      linear-gradient(135deg, var(--ft-red-900), var(--ft-red-600) 56%, var(--ft-carnival-orange)) !important;
    color: var(--ft-white) !important;
    box-shadow: 0 16px 34px rgba(63, 0, 13, 0.22);
    font-weight: 950;
    line-height: 1;
  }

  .ast-header-break-point #ast-mobile-header .main-header-menu-toggle::after {
    content: "Menü";
    color: currentColor;
    font-size: 1.08rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
  }

  .ast-header-break-point #ast-mobile-header .main-header-menu-toggle[aria-expanded="true"]::after {
    content: "Schließen";
  }

  .ast-header-break-point #ast-mobile-header .main-header-menu-toggle .ast-mobile-svg {
    width: 28px;
    height: 28px;
    fill: currentColor;
  }

  .ast-header-break-point #ast-mobile-header .main-header-menu-toggle:hover,
  .ast-header-break-point #ast-mobile-header .main-header-menu-toggle:focus-visible {
    transform: translateY(-1px);
    background:
      linear-gradient(135deg, var(--ft-red-950), var(--ft-red-700) 58%, var(--ft-gold)) !important;
  }

  .ast-header-break-point #ast-mobile-header .ast-mobile-header-content {
    padding: 14px 18px 20px;
    background:
      radial-gradient(circle at 12% 16%, rgba(243, 201, 104, 0.25), transparent 7rem),
      linear-gradient(180deg, #fffdfb, #fff3ec);
    box-shadow: 0 18px 42px rgba(63, 0, 13, 0.13);
  }

  .ast-header-break-point #ast-mobile-header .ast-mobile-header-content .main-header-menu {
    display: grid;
    width: min(100%, 360px);
    gap: 10px;
    margin: 0 auto;
    padding: 4px 0 0;
    background: transparent !important;
  }

  .ast-header-break-point .main-header-menu > .menu-item > .menu-link {
    justify-content: center;
    min-height: 54px;
    padding: 13px 18px;
    border: 1px solid rgba(143, 13, 29, 0.14);
    border-radius: 8px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 248, 245, 0.98)) !important;
    color: var(--ft-red-950) !important;
    box-shadow: 0 10px 24px rgba(63, 0, 13, 0.08);
    font-size: 1.05rem;
    font-weight: 900;
    text-align: center;
  }

  .ast-header-break-point .main-header-menu > .menu-item.current-menu-item > .menu-link,
  .ast-header-break-point .main-header-menu > .menu-item.current_page_item > .menu-link {
    border-color: transparent;
    background:
      linear-gradient(135deg, var(--ft-red-900), var(--ft-red-600) 58%, var(--ft-carnival-orange)) !important;
    color: var(--ft-white) !important;
  }

  .ast-header-break-point .main-header-menu > .menu-item > .menu-link:hover,
  .ast-header-break-point .main-header-menu > .menu-item > .menu-link:focus-visible {
    transform: translateY(-1px);
    background:
      linear-gradient(135deg, rgba(243, 201, 104, 0.38), rgba(255, 255, 255, 0.96)) !important;
  }
}

@media (max-width: 544px) {
  .site-title {
    font-size: clamp(1.06rem, 5vw, 1.3rem);
  }

  .site-header .site-branding.ast-site-identity {
    gap: 9px;
  }
}

/* Chronik: show the two historical photos as a proper side-by-side gallery. */
.ft-modern-page--history .ft-history-photo-lead {
  display: grid;
  gap: 14px;
  max-width: 1120px;
  margin: 0 auto clamp(34px, 6vw, 64px);
}

.ft-modern-page--history .ft-history-intro {
  align-items: start;
  grid-template-columns: 1fr;
  max-width: 980px;
  margin-inline: auto;
}

.ft-modern-page--history .ft-history-intro figure {
  align-self: start;
  display: grid;
  gap: 12px;
}

.ft-modern-page--history .ft-history-images {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 20px);
  align-items: stretch;
  height: auto;
}

.funkturm-logo-card .elementor-widget-image,
.funkturm-logo-card .elementor-widget-image .elementor-widget-container,
.funkturm-logo-card .elementor-widget-image a {
  display: grid;
  place-items: center;
  min-height: 138px;
}

.ft-modern-page--history .ft-history-images img {
  width: 100%;
  height: auto;
  max-height: 430px;
  min-height: 0;
  border: 1px solid rgba(143, 13, 29, 0.12);
  object-fit: contain;
  object-position: center;
  background: rgba(255, 255, 255, 0.72);
}

.ft-modern-page--history .ft-history-photo-lead figcaption,
.ft-modern-page--history .ft-history-intro figcaption {
  color: var(--ft-muted);
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  text-align: center;
}

@media (max-width: 921px) {
  .ft-modern-page--history .ft-history-intro {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .ft-modern-page--history .ft-history-images {
    grid-template-columns: 1fr;
  }

  .ft-modern-page--history .ft-history-images img {
    height: auto;
    max-height: none;
  }
}

/* Elementor front page: keep sections editable while preserving the Funkturm design. */
.funkturm-page .elementor {
  width: 100%;
}

.funkturm-page .elementor-section.elementor-section-full_width > .elementor-container {
  width: min(1180px, calc(100% - 40px));
  max-width: 1180px;
  margin-inline: auto;
}

.funkturm-page .elementor-column {
  min-width: 0;
}

.funkturm-page .elementor-widget:not(:last-child) {
  margin-bottom: 0;
}

.funkturm-elementor-heading .elementor-heading-title {
  margin: 0;
  color: var(--ft-red-900);
  font-size: clamp(2rem, 4.5vw, 3.7rem);
  font-weight: 950;
  line-height: 1.08;
  letter-spacing: 0;
}

.funkturm-elementor-heading h1.elementor-heading-title {
  max-width: 680px;
  color: var(--ft-white);
  font-size: clamp(2.7rem, 7vw, 6.5rem);
  line-height: 0.78;
}

.funkturm-elementor-hero .elementor-widget-heading h1.elementor-heading-title {
  max-width: 680px;
  margin: 0;
  color: var(--ft-white);
  font-size: clamp(2.7rem, 7vw, 6.5rem);
  line-height: 0.78 !important;
  letter-spacing: 0;
}

.funkturm-elementor-heading h3.elementor-heading-title {
  color: var(--ft-red-900);
  font-size: 1.45rem;
  line-height: 1.2;
}

.funkturm-elementor-text p {
  margin: 0;
}

.funkturm-elementor-lead {
  max-width: 760px;
  margin-top: 16px;
  color: var(--ft-muted);
  font-size: 1.1rem;
}

.funkturm-elementor-hero .elementor-container {
  align-items: end;
  min-height: inherit;
}

.funkturm-elementor-hero .funkturm-hero__content.elementor-column {
  max-width: 730px;
  width: 100% !important;
  padding: clamp(72px, 12vw, 136px) 0 clamp(82px, 12vw, 132px);
}

.funkturm-elementor-hero .elementor-widget-wrap {
  display: flex !important;
  flex-wrap: wrap;
  align-content: flex-start;
  align-items: flex-start;
  column-gap: 14px;
  row-gap: 0;
  padding: 0 !important;
}

.funkturm-elementor-hero .elementor-widget-heading,
.funkturm-elementor-hero .elementor-widget-heading + .elementor-widget-text-editor {
  flex: 0 0 100%;
  width: 100% !important;
}

.funkturm-elementor-hero .elementor-widget-heading + .elementor-widget-text-editor {
  max-width: 650px;
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.94);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.5;
}

.funkturm-elementor-hero .funkturm-hero__lead {
  max-width: 650px;
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.94);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
}

.funkturm-elementor-hero .elementor-widget-button {
  flex: 0 1 auto;
  display: inline-flex;
  width: auto !important;
  margin-top: 34px !important;
  margin-right: 0 !important;
}

.funkturm-elementor-hero .elementor-widget-button .elementor-button,
.funkturm-elementor-button .elementor-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border: 2px solid transparent;
  border-radius: 6px;
  background: linear-gradient(135deg, #0b86df, #0758bd);
  color: var(--ft-white);
  box-shadow: 0 14px 28px rgba(3, 41, 104, 0.28);
  font-weight: 900;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.funkturm-elementor-hero .elementor-button-text {
  white-space: nowrap;
}

.funkturm-elementor-hero .elementor-widget-button .elementor-button:hover,
.funkturm-elementor-hero .elementor-widget-button .elementor-button:focus,
.funkturm-elementor-button .elementor-button:hover,
.funkturm-elementor-button .elementor-button:focus {
  transform: translateY(-1px);
  background: linear-gradient(135deg, #12a1ff, #086ad4);
  color: var(--ft-white);
}

.funkturm-elementor-hero .elementor-widget-button + .elementor-widget-button .elementor-button,
.funkturm-elementor-button--ghost .elementor-button {
  border-color: rgba(255, 255, 255, 0.34);
  background: linear-gradient(135deg, rgba(11, 134, 223, 0.88), rgba(7, 88, 189, 0.88));
  color: var(--ft-white);
  backdrop-filter: blur(6px);
}

.funkturm-elementor-hero .elementor-widget-button + .elementor-widget-button .elementor-button:hover,
.funkturm-elementor-hero .elementor-widget-button + .elementor-widget-button .elementor-button:focus,
.funkturm-elementor-button--ghost .elementor-button:hover,
.funkturm-elementor-button--ghost .elementor-button:focus {
  background: linear-gradient(135deg, #12a1ff, #086ad4);
  color: var(--ft-white);
}

.funkturm-elementor-split > .elementor-container {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 430px);
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
}

.funkturm-elementor-split > .elementor-container > .elementor-column,
.funkturm-elementor-card-grid > .elementor-container > .elementor-column {
  width: auto !important;
}

.funkturm-panel.elementor-column,
.funkturm-card.elementor-column {
  align-self: stretch;
}

.funkturm-panel.elementor-column > .elementor-widget-wrap,
.funkturm-card.elementor-column > .elementor-widget-wrap {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 0 !important;
}

.funkturm-panel .funkturm-list,
.funkturm-card .funkturm-list {
  margin-top: 0;
}

.funkturm-elementor-section-head {
  padding-bottom: 24px;
}

.funkturm-band--cards {
  padding-top: 0;
}

.funkturm-elementor-hero + .funkturm-band--white.funkturm-elementor-split {
  position: relative;
  background:
    radial-gradient(circle at 14% 16%, rgba(255, 248, 245, 0.76), transparent 19rem),
    linear-gradient(180deg, #ffffff 0%, #fffdfb 100%);
}

.funkturm-elementor-hero + .funkturm-band--white.funkturm-elementor-split::after {
  content: "";
  position: absolute;
  right: min(6vw, 90px);
  bottom: -38px;
  width: min(34vw, 440px);
  height: 76px;
  border-radius: 999px;
  background: radial-gradient(ellipse at center, rgba(143, 13, 29, 0.1), transparent 68%);
  pointer-events: none;
}

.funkturm-quick-head,
.funkturm-quick-head + .funkturm-quick-grid {
  position: relative;
  background:
    radial-gradient(circle at 14% 16%, rgba(243, 201, 104, 0.28), transparent 16rem),
    radial-gradient(circle at 88% 84%, rgba(0, 119, 184, 0.1), transparent 18rem),
    linear-gradient(180deg, #fff8f1 0%, #fff3e9 100%);
}

.funkturm-quick-head {
  padding-top: clamp(72px, 8vw, 112px);
  border-top: 1px solid rgba(143, 13, 29, 0.12);
  box-shadow: inset 0 26px 44px rgba(63, 0, 13, 0.05);
}

.funkturm-quick-head::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 8px;
  background: repeating-linear-gradient(
    90deg,
    var(--ft-red-700) 0 58px,
    var(--ft-gold) 58px 94px,
    var(--ft-carnival-blue) 94px 128px,
    var(--ft-carnival-green) 128px 164px,
    var(--ft-carnival-orange) 164px 202px
  );
}

.funkturm-quick-head .funkturm-section-head,
.funkturm-quick-head .elementor-widget-wrap {
  position: relative;
}

.funkturm-elementor-card-grid > .elementor-container {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.funkturm-elementor-card-grid--two > .elementor-container {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.funkturm-elementor-card-grid--four > .elementor-container {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.funkturm-quick-head {
  padding-bottom: 20px;
}

.funkturm-quick-grid {
  padding-top: 0;
  padding-bottom: clamp(76px, 9vw, 118px);
}

.funkturm-path-card.elementor-column {
  min-width: 0;
}

.funkturm-path-card.elementor-column > .elementor-widget-wrap {
  position: relative;
  min-height: 100%;
  padding: 28px 28px 30px 34px !important;
  border: 1px solid rgba(143, 13, 29, 0.18);
  background:
    radial-gradient(circle at 92% 12%, rgba(243, 201, 104, 0.34), transparent 96px),
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(255, 250, 244, 0.98));
  box-shadow: 0 22px 52px rgba(63, 0, 13, 0.13);
}

.funkturm-path-card .funkturm-card__meta {
  margin-bottom: 0;
}

.funkturm-path-card .funkturm-card__meta p {
  margin: 0;
}

.funkturm-path-card .elementor-widget-button {
  align-self: end;
  margin-top: 10px;
}

.funkturm-path-card .elementor-widget-button .elementor-button,
.funkturm-path-card .funkturm-elementor-button .elementor-button {
  min-height: 52px !important;
  padding: 14px 22px !important;
  border-radius: 999px;
  box-shadow: 0 14px 28px rgba(63, 0, 13, 0.15);
}

.funkturm-page .elementor-element-8077024 {
  position: relative;
  overflow: hidden;
  background: var(--ft-red-950);
}

.funkturm-page .elementor-element-8077024::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 248, 245, 0.18), transparent 12%, transparent 84%, rgba(255, 248, 245, 0.7)),
    linear-gradient(90deg, rgba(38, 0, 6, 0.16), transparent 46%, rgba(38, 0, 6, 0.1));
}

.funkturm-page .elementor-element-8077024 .elementor-widget-image,
.funkturm-page .elementor-element-8077024 .elementor-widget-container {
  margin: 0;
}

.funkturm-page .elementor-element-8077024 img {
  display: block;
  width: 100%;
  height: clamp(460px, 48vw, 760px);
  object-fit: cover;
  object-position: center;
}

.funkturm-elementor-hero + .funkturm-band {
  padding-top: clamp(44px, 6vw, 82px);
}

.funkturm-song-section {
  position: relative;
  overflow: hidden;
  color: var(--ft-ink);
  background:
    radial-gradient(circle at 12% 18%, rgba(243, 201, 104, 0.28), transparent 15rem),
    radial-gradient(circle at 88% 12%, rgba(0, 119, 184, 0.1), transparent 18rem),
    radial-gradient(circle at 82% 86%, rgba(19, 143, 77, 0.08), transparent 15rem),
    linear-gradient(180deg, #fffaf5 0%, #ffffff 48%, #fff4ec 100%);
}

.funkturm-song-section::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 7px;
  background: linear-gradient(90deg, var(--ft-red-900), var(--ft-red-600), var(--ft-carnival-orange), var(--ft-gold), var(--ft-carnival-green), var(--ft-carnival-blue));
}

.funkturm-song-section .funkturm-elementor-heading .elementor-heading-title,
.funkturm-song-section h2.elementor-heading-title,
.funkturm-song-section .funkturm-elementor-lead,
.funkturm-song-section .funkturm-elementor-text,
.funkturm-song-section .funkturm-section-head h2,
.funkturm-song-section .funkturm-section-head p {
  color: var(--ft-red-950) !important;
}

.funkturm-song-section .funkturm-elementor-lead,
.funkturm-song-section .funkturm-section-head p,
.funkturm-song-section .funkturm-elementor-text:not(.funkturm-kicker) {
  color: var(--ft-muted) !important;
}

.funkturm-song-section .funkturm-kicker {
  color: var(--ft-red-800) !important;
}

.funkturm-song-section .funkturm-elementor-section-head {
  padding-bottom: clamp(18px, 3vw, 30px);
}

.funkturm-song-grid > .elementor-container,
.funkturm-song-section .funkturm-wrap > .funkturm-song-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: clamp(18px, 3vw, 28px);
  align-items: stretch;
}

.funkturm-song-grid > .elementor-container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.funkturm-song-grid > .elementor-container > .elementor-column {
  width: auto !important;
  max-width: none !important;
  min-width: 0;
}

.funkturm-song-card {
  position: relative;
  overflow: hidden;
  display: grid;
  align-content: start;
  gap: 14px;
  min-height: 100%;
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid rgba(143, 13, 29, 0.16);
  border-radius: 8px;
  background:
    radial-gradient(circle at 94% 12%, rgba(243, 201, 104, 0.28), transparent 6rem),
    radial-gradient(circle at 94% 100%, rgba(0, 119, 184, 0.07), transparent 7rem),
    linear-gradient(180deg, #ffffff 0%, #fff9f4 100%);
  box-shadow: 0 18px 44px rgba(63, 0, 13, 0.12);
}

.funkturm-song-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 6px;
  background: linear-gradient(90deg, var(--ft-gold), var(--ft-carnival-orange), var(--ft-carnival-green), var(--ft-carnival-blue));
}

.funkturm-song-card .funkturm-elementor-heading .elementor-heading-title,
.funkturm-song-card h3 {
  color: var(--ft-red-950);
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  line-height: 1.12;
}

.funkturm-song-card .funkturm-elementor-text,
.funkturm-song-card p {
  color: var(--ft-muted);
}

.funkturm-audio-player {
  display: grid;
  gap: 12px;
  margin-top: 6px;
}

.funkturm-audio-player audio {
  width: 100%;
  min-height: 44px;
  border-radius: 999px;
  background: #f7f7f7;
  box-shadow: 0 8px 20px rgba(63, 0, 13, 0.1);
}

.funkturm-audio-download {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  min-height: 44px;
  padding: 8px 2px;
  color: var(--ft-red-800);
  font-size: 0.96rem;
  font-weight: 950;
}

.funkturm-audio-download:hover,
.funkturm-audio-download:focus-visible {
  color: var(--ft-red-950);
}

.funkturm-song-note {
  margin-top: clamp(22px, 4vw, 36px);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.98rem;
}

.funkturm-card .funkturm-card__meta {
  margin-bottom: 0;
}

.funkturm-card .funkturm-card__meta p {
  color: var(--ft-red-700);
  font-size: 0.95rem;
  font-weight: 900;
}

.ft-next-event {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1.18fr);
  gap: clamp(24px, 5vw, 58px);
  align-items: center;
  width: 100%;
}

.ft-next-event__intro {
  display: grid;
  align-content: center;
  gap: 18px;
}

.ft-next-event__kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  margin: 0;
  padding: 9px 14px;
  border: 1px solid rgba(143, 13, 29, 0.2);
  border-radius: 999px;
  color: var(--ft-red-800);
  font-size: 0.84rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.ft-next-event__kicker::before {
  content: "";
  width: 34px;
  height: 3px;
  background: linear-gradient(90deg, var(--ft-gold), var(--ft-carnival-orange));
}

.ft-next-event h2,
.ft-next-event-card h3 {
  margin: 0;
  color: var(--ft-red-950);
  font-weight: 950;
  letter-spacing: 0;
}

.ft-next-event h2 {
  font-size: clamp(2.3rem, 4.8vw, 4.35rem);
  line-height: 1.02;
}

.ft-next-event__intro > p:not(.ft-next-event__kicker) {
  max-width: 560px;
  margin: 0;
  color: var(--ft-muted);
  font-size: clamp(1.08rem, 1.7vw, 1.34rem);
  line-height: 1.55;
}

.ft-next-event__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.ft-next-event__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 2px solid transparent;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--ft-gold), #fff1a8);
  color: var(--ft-red-950);
  font-weight: 950;
  text-decoration: none;
  box-shadow: 0 16px 30px rgba(63, 0, 13, 0.14);
}

.ft-next-event__button:hover,
.ft-next-event__button:focus-visible {
  color: var(--ft-red-950);
  transform: translateY(-1px);
}

.ft-next-event__button--ghost {
  border-color: rgba(143, 13, 29, 0.18);
  background: rgba(255, 255, 255, 0.74);
  color: var(--ft-red-800);
}

.ft-next-event-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(112px, 148px) minmax(0, 1fr);
  gap: clamp(18px, 3vw, 32px);
  align-items: center;
  overflow: hidden;
  min-height: auto;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid rgba(143, 13, 29, 0.18);
  border-radius: 8px;
  background:
    radial-gradient(circle at 92% 12%, rgba(243, 201, 104, 0.26), transparent 7rem),
    radial-gradient(circle at 8% 90%, rgba(0, 119, 184, 0.08), transparent 10rem),
    linear-gradient(135deg, #ffffff 0%, #fff7ef 100%);
  box-shadow: 0 24px 64px rgba(63, 0, 13, 0.16);
}

.ft-next-event-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 8px;
  background: linear-gradient(90deg, var(--ft-red-900), var(--ft-red-500), var(--ft-carnival-orange), var(--ft-gold), var(--ft-carnival-green));
}

.ft-next-event-card__date {
  position: relative;
  z-index: 1;
  display: flex;
  width: min(100%, 142px);
  min-height: 156px;
  padding: 22px 16px 16px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  align-self: center;
  justify-self: center;
  gap: 7px;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(63, 0, 13, 0.12);
  background:
    radial-gradient(circle at 28% 18%, rgba(255, 255, 255, 0.5), transparent 40%),
    linear-gradient(180deg, #ffe08a, #fff4ba);
  color: var(--ft-red-950);
  text-align: center;
  box-shadow: 0 16px 30px rgba(63, 0, 13, 0.11);
}

.ft-next-event-card__date::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 8px;
  background: linear-gradient(90deg, var(--ft-red-900), var(--ft-carnival-orange), var(--ft-gold), var(--ft-carnival-green));
}

.ft-next-event-card__day {
  display: block;
  font-size: clamp(3rem, 2.3rem + 2.5vw, 4.25rem);
  font-weight: 950;
  line-height: 0.9;
}

.ft-next-event-card__month,
.ft-next-event-card__year {
  display: block;
  font-weight: 950;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.ft-next-event-card__month {
  margin-top: 4px;
  color: var(--ft-red-800);
  font-size: 1.02rem;
}

.ft-next-event-card__year {
  margin-top: 2px;
  color: rgba(38, 0, 6, 0.72);
  font-size: 0.84rem;
}

.ft-next-event-card__body {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  gap: 14px;
}

.ft-next-event-card__eyebrow {
  justify-self: start;
  margin: 0;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(143, 13, 29, 0.08);
  color: var(--ft-red-700);
  font-size: 0.8rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.ft-next-event-card h3 {
  font-size: clamp(1.85rem, 2.3vw, 3rem);
  line-height: 1.08;
}

.ft-next-event-card p {
  max-width: 720px;
  margin: 0;
  color: var(--ft-ink);
  font-size: clamp(1.04rem, 1.5vw, 1.22rem);
  line-height: 1.58;
}

.ft-next-event-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 6px 0 0;
}

.ft-next-event-card__meta div {
  min-width: min(100%, 160px);
  padding: 12px 14px;
  border: 1px solid rgba(143, 13, 29, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
}

.ft-next-event-card__meta dt {
  margin: 0 0 4px;
  color: var(--ft-muted);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ft-next-event-card__meta dd {
  margin: 0;
  color: var(--ft-red-900);
  font-weight: 850;
}

.ft-next-event-card--empty {
  grid-template-columns: 1fr;
}

@media (max-width: 921px) {
  .funkturm-join-highlights {
    grid-template-columns: 1fr;
  }

  .ft-next-event {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .ft-next-event-card {
    grid-template-columns: 1fr;
  }

  .ft-next-event-card__date {
    width: 100%;
    min-height: auto;
    padding: 18px;
    flex-direction: row;
    align-items: center;
    justify-content: start;
    gap: 12px;
    text-align: left;
  }

  .ft-next-event-card__date::before {
    height: 6px;
  }

  .ft-next-event-card__day {
    font-size: 2.6rem;
  }

  .ft-next-event-card__month,
  .ft-next-event-card__year {
    margin-top: 0;
  }

  .ft-next-event__actions,
  .ft-next-event__button,
  .ft-next-event-card__meta {
    width: 100%;
  }

  .ft-next-event__actions,
  .ft-next-event-card__meta {
    display: grid;
  }
}

.funkturm-band--red .funkturm-elementor-heading .elementor-heading-title,
.funkturm-band--red .funkturm-elementor-lead,
.funkturm-band--red .funkturm-elementor-text {
  color: var(--ft-white);
}

.funkturm-band--red .funkturm-panel .funkturm-elementor-heading .elementor-heading-title,
.funkturm-band--red .funkturm-panel .funkturm-elementor-text,
.funkturm-band--red .funkturm-panel .funkturm-list {
  color: var(--ft-ink);
}

.funkturm-band--red .funkturm-note {
  margin-top: 22px;
}

.funkturm-band--red.funkturm-elementor-split,
#mitmachen.funkturm-band--red {
  background:
    radial-gradient(circle at 18% 18%, rgba(243, 201, 104, 0.14), transparent 18rem),
    radial-gradient(circle at 86% 72%, rgba(19, 143, 77, 0.1), transparent 20rem),
    linear-gradient(135deg, #3b0008 0%, var(--ft-red-950) 42%, #8f0d1d 100%) !important;
}

.funkturm-band--red.funkturm-elementor-split::before,
#mitmachen.funkturm-band--red::before {
  inset: 0 8vw auto;
  height: 5px;
  border-radius: 0 0 999px 999px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--ft-gold) 16%,
    var(--ft-carnival-orange) 38%,
    var(--ft-carnival-green) 62%,
    var(--ft-carnival-blue) 84%,
    transparent
  ) !important;
  opacity: 0.7;
}

.funkturm-band--red.funkturm-elementor-split::after,
#mitmachen.funkturm-band--red::after {
  background-image:
    radial-gradient(circle, rgba(243, 201, 104, 0.5) 0 2px, transparent 3px),
    radial-gradient(circle, rgba(0, 119, 184, 0.34) 0 2px, transparent 3px),
    radial-gradient(circle, rgba(19, 143, 77, 0.28) 0 2px, transparent 3px) !important;
  background-position: 44px 58px, 160px 146px, 280px 94px !important;
  background-size: 260px 230px, 320px 270px, 380px 310px !important;
  opacity: 0.16;
}

.funkturm-band--red.funkturm-elementor-split .funkturm-join-cta .ft-modern-button,
#mitmachen .funkturm-join-cta .ft-modern-button {
  border-color: rgba(255, 232, 143, 0.96) !important;
  background: linear-gradient(135deg, #fff6c8, var(--ft-gold)) !important;
  color: var(--ft-red-950) !important;
  text-shadow: none;
}

.funkturm-band--red.funkturm-elementor-split .funkturm-join-cta .ft-modern-button .elementor-button-text,
#mitmachen .funkturm-join-cta .ft-modern-button .elementor-button-text {
  color: currentColor !important;
}

.funkturm-band--red.funkturm-elementor-split .funkturm-join-cta .ft-modern-button:hover,
.funkturm-band--red.funkturm-elementor-split .funkturm-join-cta .ft-modern-button:focus-visible,
#mitmachen .funkturm-join-cta .ft-modern-button:hover,
#mitmachen .funkturm-join-cta .ft-modern-button:focus-visible {
  border-color: var(--ft-white) !important;
  background: linear-gradient(135deg, var(--ft-white), #fff7da) !important;
  color: var(--ft-red-950) !important;
  box-shadow: 0 22px 44px rgba(24, 0, 5, 0.32);
}

#ast-scroll-top {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  right: 18px;
  bottom: 18px;
  width: 50px;
  height: 50px;
  padding: 0;
  line-height: 1;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--ft-red-700), var(--ft-red-500));
  box-shadow: 0 14px 30px rgba(63, 0, 13, 0.24);
  opacity: 0.9;
}

#ast-scroll-top .ast-icon.icon-arrow {
  display: inline-flex !important;
  width: 26px;
  height: 26px;
  align-items: center;
  justify-content: center;
  margin: 0;
  line-height: 1 !important;
}

#ast-scroll-top .ast-arrow-svg {
  position: static !important;
  display: block !important;
  width: 26px !important;
  height: 18px !important;
  margin: 0 !important;
  line-height: 1 !important;
  fill: currentColor;
  transform: rotate(180deg) !important;
  transform-origin: 50% 50%;
  overflow: visible;
}

#ast-scroll-top:hover,
#ast-scroll-top:focus-visible {
  opacity: 1;
  transform: translateY(-1px);
}

@media (max-width: 921px) {
  .funkturm-page .elementor-section.elementor-section-full_width > .elementor-container {
    width: min(100% - 40px, 1180px);
  }

  .funkturm-grid--four {
    grid-template-columns: 1fr;
  }

  .funkturm-elementor-split > .elementor-container,
  .funkturm-elementor-card-grid > .elementor-container,
  .funkturm-elementor-card-grid--two > .elementor-container,
  .funkturm-song-grid > .elementor-container,
  .funkturm-song-section .funkturm-wrap > .funkturm-song-grid {
    grid-template-columns: 1fr !important;
  }

  .funkturm-elementor-hero .funkturm-hero__content.elementor-column {
    padding-top: 68px;
  }
}

@media (max-width: 544px) {
  .funkturm-page .elementor-section.elementor-section-full_width > .elementor-container {
    width: min(100% - 28px, 1180px);
  }

  .funkturm-elementor-hero .elementor-widget-button {
    flex: 1 1 150px;
    display: inline-flex;
    width: auto !important;
    margin-right: 0;
  }

  .funkturm-elementor-hero .elementor-widget-button + .elementor-widget-button {
    margin-top: 34px !important;
  }

  .funkturm-elementor-hero .elementor-widget-button .elementor-button,
  .funkturm-elementor-button .elementor-button {
    min-height: 52px;
    padding-right: 12px;
    padding-left: 12px;
    width: 100%;
  }

  .funkturm-elementor-hero .elementor-button-text {
    font-size: 0.86rem;
    line-height: 1.1;
  }

  .funkturm-page .elementor-element-8077024 img {
    height: clamp(320px, 75vw, 460px);
  }

  #ast-scroll-top {
    right: 12px;
    bottom: 12px;
    width: 42px;
    height: 42px;
  }

  #ast-scroll-top .ast-icon.icon-arrow {
    width: 24px;
    height: 24px;
  }

  #ast-scroll-top .ast-arrow-svg {
    width: 24px !important;
    height: 17px !important;
  }

  body.admin-bar #wpadminbar #wp-admin-bar-my-account .display-name {
    display: none;
  }
}

/* 404 page: playful local fallback. */
.error404 .site-content > .ast-container {
  width: 100%;
  max-width: none;
  padding: 0;
}

.error404 #primary {
  margin: 0 !important;
  padding: 0 !important;
}

.funkturm-error-page {
  background: var(--ft-cream);
}

.funkturm-404 {
  position: relative;
  display: grid;
  min-height: clamp(680px, calc(100vh - 110px), 900px);
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(72px, 8vw, 118px) 0;
  color: var(--ft-white);
  background-color: var(--ft-red-950);
  background-image:
    radial-gradient(circle at 22px 20px, rgba(243, 201, 104, 0.62) 0 3px, transparent 4px),
    radial-gradient(circle at 76px 48px, rgba(0, 119, 184, 0.35) 0 3px, transparent 4px),
    radial-gradient(circle at 118px 30px, rgba(19, 143, 77, 0.35) 0 3px, transparent 4px),
    linear-gradient(118deg, rgba(38, 0, 6, 0.98), rgba(95, 7, 19, 0.95) 52%, rgba(179, 24, 43, 0.9));
  background-position: 0 0, 36px 20px, 72px 54px, center;
  background-repeat: repeat, repeat, repeat, no-repeat;
  background-size: 138px 112px, 166px 132px, 196px 150px, auto;
}

.funkturm-404::before {
  content: "404";
  position: absolute;
  right: max(20px, calc((100vw - 1180px) / 2));
  bottom: -0.2em;
  z-index: -1;
  color: rgba(255, 255, 255, 0.08);
  font-size: clamp(10rem, 28vw, 28rem);
  font-weight: 950;
  line-height: 0.78;
  letter-spacing: 0;
}

.funkturm-404::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 140px;
  background: linear-gradient(0deg, var(--ft-cream), rgba(255, 248, 245, 0));
}

.funkturm-404__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.funkturm-404__content h1 {
  max-width: 780px;
  margin: 0;
  color: var(--ft-white);
  font-size: clamp(2.6rem, 6vw, 5.7rem);
  font-weight: 950;
  line-height: 0.98;
  text-wrap: balance;
  text-shadow: 0 18px 46px rgba(0, 0, 0, 0.34);
}

.funkturm-404__content p:not(.funkturm-kicker) {
  max-width: 700px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.94);
  font-size: clamp(1.1rem, 1.7vw, 1.35rem);
  font-weight: 650;
}

.funkturm-404__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.funkturm-404__panel {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background:
    radial-gradient(circle at 100% 0%, rgba(243, 201, 104, 0.28), transparent 8rem),
    rgba(255, 255, 255, 0.12);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(10px);
}

.funkturm-404__badge {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 7px 11px;
  border-radius: 999px;
  background: var(--ft-gold);
  color: var(--ft-red-950);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.funkturm-404__panel h2 {
  margin: 0;
  color: var(--ft-white);
  font-size: clamp(1.55rem, 2.3vw, 2.25rem);
  font-weight: 950;
  line-height: 1.08;
}

.funkturm-404__panel p {
  margin: 12px 0 20px;
  color: rgba(255, 255, 255, 0.88);
}

.funkturm-404__panel .search-form {
  display: grid;
  gap: 10px;
}

.funkturm-404__panel .search-field {
  width: 100%;
  min-height: 52px;
  border: 2px solid transparent;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ft-ink);
  font-size: 1rem;
}

.funkturm-404__panel .search-submit {
  min-height: 52px;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--ft-gold), #fff2a8);
  color: var(--ft-red-950);
  font-weight: 950;
}

@media (max-width: 921px) {
  .funkturm-404__inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 544px) {
  .funkturm-404 {
    min-height: auto;
    padding: 58px 0 78px;
  }

  .funkturm-404__inner {
    width: min(100% - 28px, 1180px);
  }

  .funkturm-404__actions .funkturm-button {
    width: 100%;
  }
}
