  :root {
    /* JuMi Corporate Design v2 - exakte Hex-Codes aus der Markenpalette */
    --pink: #F5ABC3;
    --pink-light: #FBD9E6;
    --yellow: #F2E291;
    --blue-soft: #C0DDFF;
    --ink: #432818;
    --maroon: #445477;
    --cream: #EAE9D6;
    --coral: #B296CD;
    --lilac: #BA9FD7;

    /* Pastell-Töne für die Kontraste */
    --pastel-blue: #9AC9FC;
    --pastel-yellow: #F5F5BF;
    --pastel-purple: #D5B5F5;
    --white: #FFFFFF;

    /* Zusätzliche Blau- und Lila-Abstufungen */
    --slate: #8DABC9;
    --purple-deep: #A98ED1;

    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  }

  * { 
    box-sizing: border-box; 
    margin: 0; 
    padding: 0; 
  }
  
  html {
    scroll-behavior: smooth;
  }

  /* Custom Scrollbars im JuMi-Design */
  * {
    scrollbar-width: thin;
    scrollbar-color: var(--pink) var(--cream);
  }
  ::-webkit-scrollbar {
    width: 10px;
    height: 10px;
  }
  ::-webkit-scrollbar-track {
    background: var(--cream);
  }
  ::-webkit-scrollbar-thumb {
    background: var(--pink);
    border: 2px solid var(--cream);
    border-radius: 999px;
  }
  ::-webkit-scrollbar-thumb:hover {
    background: var(--pink);
  }
  ::-webkit-scrollbar-corner {
    background: var(--cream);
  }

  /* Die Pop-up-Scrollbar sitzt in einer eigenen, abgerundeten Innenebene. */
  .subpage-scroll {
    scrollbar-width: thin;
    scrollbar-color: var(--popup-shadow) transparent;
  }
  .subpage-scroll::-webkit-scrollbar {
    width: 10px;
  }
  .subpage-scroll::-webkit-scrollbar-track {
    margin-block: 20px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.34);
  }
  .subpage-scroll::-webkit-scrollbar-thumb {
    border: 3px solid transparent;
    border-radius: 999px;
    background: var(--popup-shadow);
    background-clip: content-box;
  }
  .subpage-scroll::-webkit-scrollbar-thumb:hover {
    background: var(--maroon);
    background-clip: content-box;
  }

  body {
    font-family: 'Space Grotesk', sans-serif;
    background: var(--cream);
    color: var(--ink);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    opacity: 0;
    animation: pageLoadIn 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    top: 0 !important;
    /* Sorgt dafuer, dass der Footer auf kurzen Seiten (z. B. Downloads ohne
       viele Eintraege) trotzdem unten buendig sitzt statt mitten im leeren
       Viewport zu haengen - siehe "margin-top: auto" bei footer. */
    display: flex;
    flex-direction: column;
    min-height: 100svh;
  }

  @keyframes pageLoadIn {
    to { opacity: 1; }
  }

  /* LADE-SCREEN: "Jugend" + "Migration" verschmelzen zu "JuMi" */
  .loading-screen {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    background: linear-gradient(145deg, var(--pastel-yellow), var(--yellow));
    overflow: hidden;
  }
  .loading-screen[hidden] {
    display: none;
  }
  .loading-screen.lp-removed {
    display: none;
  }
  .loading-screen.lp-playing {
    animation: lpScreenFadeOut 0.65s cubic-bezier(0.4, 0, 0.2, 1) 2.75s forwards;
  }
  @keyframes lpScreenFadeOut {
    to { opacity: 0; visibility: hidden; transform: scale(1.025); }
  }

  .lp-orbs {
    position: absolute;
    inset: 0;
    pointer-events: none;
  }
  .lp-orb {
    position: absolute;
    display: block;
    border-radius: 50%;
    opacity: 0;
    will-change: transform, opacity;
  }
  .lp-orb--one {
    width: clamp(220px, 34vw, 540px);
    aspect-ratio: 1;
    top: -19%;
    right: -8%;
    background: var(--pink);
  }
  .lp-orb--two {
    width: clamp(180px, 26vw, 410px);
    aspect-ratio: 1;
    bottom: -23%;
    left: -7%;
    background: var(--pastel-blue);
  }
  .lp-orb--three {
    width: clamp(80px, 10vw, 150px);
    aspect-ratio: 1;
    top: 18%;
    left: 12%;
    background: var(--purple-deep);
  }
  .loading-screen.lp-playing .lp-orb--one {
    animation: lpOrbOne 3.25s cubic-bezier(0.16, 1, 0.3, 1) both;
  }
  .loading-screen.lp-playing .lp-orb--two {
    animation: lpOrbTwo 3.25s cubic-bezier(0.16, 1, 0.3, 1) both;
  }
  .loading-screen.lp-playing .lp-orb--three {
    animation: lpOrbThree 3.25s cubic-bezier(0.16, 1, 0.3, 1) both;
  }
  @keyframes lpOrbOne {
    0% { opacity: 0; transform: translate(18%, -18%) scale(0.76); }
    24%, 78% { opacity: 0.72; }
    100% { opacity: 0; transform: translate(-4%, 5%) scale(1.08); }
  }
  @keyframes lpOrbTwo {
    0% { opacity: 0; transform: translate(-16%, 20%) scale(0.78); }
    18%, 78% { opacity: 0.8; }
    100% { opacity: 0; transform: translate(7%, -5%) scale(1.1); }
  }
  @keyframes lpOrbThree {
    0% { opacity: 0; transform: translateY(30px) scale(0.5); }
    30%, 72% { opacity: 0.9; }
    100% { opacity: 0; transform: translateY(-24px) scale(1.16); }
  }

  .lp-stage {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Finales "JuMi" als eigenes Element - garantiert ohne Lücke zwischen "Ju" und "Mi",
     da es echte nebeneinanderstehende Buchstaben sind statt zusammengeschobener Fragmente.
     Nur auf dem Handy sichtbar (siehe Media Query weiter unten); am Desktop bleibt die
     bewährte Wisch-Animation die einzige Quelle für "JuMi". */
  .lp-final.jumi-word-logo {
    display: none;
    position: absolute;
    inset: 0;
    align-items: center;
    justify-content: center;
    text-shadow: 0 2px 6px rgba(67, 40, 24, 0.35);
    opacity: 0;
  }

  .lp-row {
    display: flex;
    align-items: baseline;
    font-family: 'Matemasie', 'Fredoka', sans-serif;
    font-weight: 900;
    font-size: clamp(1.4rem, 9vw, 11rem);
    white-space: nowrap;
    text-shadow: 0 2px 6px rgba(67, 40, 24, 0.35);
    opacity: 0;
  }
  .loading-screen.lp-playing .lp-row {
    opacity: 1;
    animation: lpFinalPulse 0.5s cubic-bezier(0.16, 1, 0.3, 1) 2.05s both;
  }
  @keyframes lpFinalPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.15); }
    100% { transform: scale(1); }
  }

  /* Ganz zum Schluss "fliegt" das JuMi verkleinert an die Stelle des echten Logos im
     Hero - die genaue Position/Grösse wird per JS berechnet (siehe main.js) und über
     die --fly-* Custom Properties hier eingespeist. */
  .loading-screen.lp-playing .lp-row.lp-fly-to-logo {
    animation: lpFlyToLogo 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }
  @keyframes lpFlyToLogo {
    to {
      transform: translate(var(--fly-x, 0px), var(--fly-y, 0px)) scale(var(--fly-scale, 1));
      opacity: 0.55;
    }
  }
  .lp-word {
    display: inline-flex;
  }
  .lp-left {
    color: var(--blue-soft);
  }
  .lp-right {
    color: var(--pastel-purple);
  }
  .loading-screen.lp-playing .lp-left {
    animation: lpSlideInLeft 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
  }
  .loading-screen.lp-playing .lp-right {
    animation: lpSlideInRight 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
  }
  @keyframes lpSlideInLeft {
    from { transform: translateX(-130%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
  }
  @keyframes lpSlideInRight {
    from { transform: translateX(130%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
  }

  .lp-amp {
    display: inline-block;
    overflow: hidden;
    margin: 0 0.3em;
    color: var(--pink);
  }
  .loading-screen.lp-playing .lp-amp {
    animation: lpAmpLifecycle 1.35s ease-in-out both;
  }
  @keyframes lpAmpLifecycle {
    0% { opacity: 0; max-width: 1.2em; margin: 0 0.3em; }
    41% { opacity: 0; }
    52% { opacity: 1; }
    63% { opacity: 1; max-width: 1.2em; margin: 0 0.3em; }
    100% { opacity: 0; max-width: 0; margin: 0; }
  }

  .lp-wipe {
    display: inline-block;
    overflow: hidden;
    max-width: 7em;
  }
  .loading-screen.lp-playing .lp-wipe {
    animation: lpWipeAway 0.5s ease-in 0.85s both;
  }
  @keyframes lpWipeAway {
    from { max-width: 7em; opacity: 1; }
    to { max-width: 0; opacity: 0; }
  }

  .lp-keep {
    display: inline-block;
  }
  .loading-screen.lp-playing .lp-keep {
    animation: lpKeepPop 0.4s ease-out 1.35s both;
  }
  @keyframes lpKeepPop {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
  }

  .loading-screen.lp-playing .lp-shift-u {
    animation: lpShiftU 0.4s ease-out 1.35s both;
  }
  @keyframes lpShiftU {
    0% { color: var(--blue-soft); }
    100% { color: var(--slate); }
  }
  .loading-screen.lp-playing .lp-shift-i {
    animation: lpShiftI 0.4s ease-out 1.35s both;
  }
  @keyframes lpShiftI {
    0% { color: var(--pastel-purple); }
    100% { color: var(--lilac); }
  }

  .lp-progress {
    position: absolute;
    z-index: 2;
    bottom: clamp(22px, 4vw, 42px);
    left: 50%;
    width: min(280px, calc(100% - 48px));
    height: 7px;
    border: 1px solid rgba(67, 40, 24, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.42);
    overflow: hidden;
    transform: translateX(-50%);
  }
  .lp-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--pastel-blue), var(--lilac), var(--pink));
    border-radius: inherit;
    box-shadow: 0 0 10px rgba(154, 201, 252, 0.55);
  }
  .loading-screen.lp-playing .lp-progress-bar {
    animation: lpProgressFill 2.8s cubic-bezier(0.33, 1, 0.68, 1) forwards;
  }
  @keyframes lpProgressFill {
    0% { width: 0; }
    35% { width: 46%; }
    72% { width: 78%; }
    100% { width: 100%; }
  }

  h1, h2, h3, .display { 
    font-family: 'Fredoka', sans-serif; 
    line-height: 1.1; 
    font-weight: 700;
  }
  
  .handwritten { 
    font-family: 'Caveat', cursive; 
    font-size: 1.5em;
    color: var(--maroon);
  }
  
  a { 
    color: inherit; 
    text-decoration: none; 
  }
  
  ::selection { 
    background: var(--pink);
    color: var(--ink); 
  }
  
  .wrap { 
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 0 24px; 
    position: relative;
    z-index: 2; 
  }

  /* Custom Interactive Trail Dots */
  .drop { 
    position: fixed; 
    width: 16px; 
    height: 16px; 
    border-radius: 50%; 
    pointer-events: none; 
    z-index: 9999; 
    opacity: 0.9; 
    transform: translate(-50%, -50%) scale(1);
    animation: dropFade 1.6s cubic-bezier(0.1, 0.8, 0.3, 1) forwards; 
  }
  @keyframes dropFade { 
    to { 
      transform: translate(-50%, -40px) scale(0.2); 
      opacity: 0; 
    } 
  }

  /* CUSTOM LANGUAGE SELECTOR STYLING */
  .translate-wrapper {
    position: fixed;
    top: 24px;
    right: 95px; 
    z-index: 99999;
  }
  
  .jumi-select-box {
    background: var(--cream);
    border: 3px solid var(--ink);
    padding: 10px 36px 10px 16px;
    border-radius: 100px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--ink);
    box-shadow: 4px 4px 0px var(--pastel-blue);
    transition: var(--transition-smooth);
    cursor: pointer;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23432818' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'></polyline></svg>");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 14px;
  }
  
  .jumi-select-box:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0px var(--ink);
    background: var(--pastel-yellow);
  }

  /* HAMBURGER BUTTON */
  .menu-toggle {
    position: fixed;
    top: 24px;
    right: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 56px;
    height: 56px;
    background: var(--yellow); 
    border: 3px solid var(--ink);
    border-radius: 50%;
    padding: 15px;
    cursor: pointer;
    z-index: 99999; 
    box-shadow: 4px 4px 0px var(--pink);
    transition: var(--transition-smooth);
  }
  .menu-toggle:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0px var(--ink);
    background: var(--pink);
  }
  .menu-toggle-inner {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    height: 100%;
  }
  .menu-toggle span {
    display: block;
    width: 100%;
    height: 4px;
    background-color: var(--ink);
    border-radius: 2px;
    transition: var(--transition-smooth);
    transform-origin: left center;
  }
  .menu-toggle.active {
    background: var(--pink);
  }
  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(3px, -1px);
  }
  .menu-toggle.active span:nth-child(2) {
    width: 0%;
    opacity: 0;
  }
  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(3px, 1px);
  }

  /* Full-Screen Overlay Menu */
  .nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--pink);
    z-index: 9994;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .nav-overlay.open {
    opacity: 1;
    visibility: visible;
    background: radial-gradient(circle at center, var(--yellow) 0%, var(--pink) 100%);
  }
  .nav-menu-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    transform: translateY(40px);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    width: 100%;
    padding: 0 20px;
  }
  .nav-overlay.open .nav-menu-links {
    transform: translateY(0);
  }
  .nav-menu-links a {
    font-family: 'Fredoka', sans-serif;
    font-size: clamp(2rem, 8vw, 3rem);
    font-weight: 700;
    color: var(--ink);
    transition: var(--transition-smooth);
    position: relative;
    padding: 4px 12px;
    text-align: center;
  }
  .nav-menu-links a:hover {
    color: var(--white);
    transform: scale(1.1) rotate(-2deg);
  }
  .nav-menu-links .nav-cta-menu {
    margin-top: 10px;
    background: var(--ink);
    color: var(--cream);
    padding: 14px 36px;
    border-radius: 100px;
    font-size: clamp(1.1rem, 5vw, 1.3rem);
    border: 3px solid var(--ink);
    box-shadow: 4px 4px 0px var(--yellow);
  }
  .nav-menu-links .nav-cta-menu:hover {
    background: var(--pink);
    color: var(--ink);
    box-shadow: 6px 6px 0px var(--ink);
    transform: translate(-2px, -2px);
  }

  /* BUBBLE MENU – native JuMi-Adaption des React-Bits-Konzepts */
  .bubble-menu {
    position: fixed;
    top: 24px;
    left: 0;
    right: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 0 24px;
    pointer-events: none;
  }
  .bubble-menu .bubble,
  .bubble-language {
    min-height: 56px;
    border: 3px solid var(--ink);
    background: var(--cream);
    box-shadow: 4px 4px 0 var(--pink);
    pointer-events: auto;
  }
  .bubble-menu .bubble {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .logo-bubble {
    width: 146px;
    padding: 8px 18px;
    border-radius: 999px;
    transition: transform .22s ease, box-shadow .22s ease;
  }
  .logo-bubble:hover { transform: translate(-2px,-2px); box-shadow: 7px 7px 0 var(--pastel-blue); }
  .bubble-logo { display: block; width: 100%; max-height: 38px; object-fit: contain; }
  /* Hamburger + Sprache (+ Social, wo sichtbar) sitzen fest unten rechts -
     einheitlich auf jeder Seite und jeder Breite, statt oben in der Leiste
     neben dem Logo. Das Logo bleibt als einziges Element oben links. */
  .bubble-actions {
    position: fixed;
    top: auto;
    bottom: 18px;
    right: 16px;
    left: auto;
    display: flex;
    align-items: center;
    gap: 10px;
    pointer-events: auto;
  }
  @media (min-width: 860px) {
    .bubble-actions { bottom: 28px; right: 28px; gap: 12px; }
  }
  .nav-social-bubble {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    color: var(--ink);
    text-decoration: none;
    transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
  }
  .nav-social-bubble svg { width: 22px; height: 22px; }
  .nav-social-bubble:hover { transform: translate(-2px,-2px); background: var(--pastel-yellow); }
  .nav-social-bubble--instagram:hover { box-shadow: 7px 7px 0 var(--purple-deep); }
  .nav-social-bubble--tiktok:hover { box-shadow: 7px 7px 0 var(--pastel-blue); }

  /* Segmentierte Nav (jede Seite, ab genug Breite): ersetzt komplett den
     Hamburger auf Desktop. Auf der Startseite haengt sie unten mittig als
     Reihe, waehrend die Hero-Sektion im Blick ist; sobald man in Wir/Angebote/
     Philosophie/Team/Footer weiterscrollt, wandert sie rechts mittig und
     stapelt sich vertikal (Scrollspy markiert das Segment der aktuell
     sichtbaren Sektion). Auf Unterseiten bleibt sie dauerhaft im rechten/
     gestapelten Modus, mit dem Segment der aktuellen Seite hervorgehoben
     (siehe components.js). Insta/TikTok/Sprache bleiben davon unberuehrt fest
     unten rechts. Auf schmaleren Screens (kein Platz dafuer) bleibt es beim
     gewohnten Hamburger. */
  .hero-segment-nav {
    display: none;
  }
  @media (min-width: 860px) {
    jumi-nav.has-segment-nav .toggle-bubble {
      display: none;
    }
    jumi-nav.has-segment-nav .hero-segment-nav {
      display: flex;
      position: fixed;
      top: 50%;
      right: 28px;
      bottom: auto;
      left: auto;
      transform: translateY(-50%);
      flex-direction: column;
      align-items: stretch;
      gap: 8px;
      padding: 10px;
      border: 3px solid var(--ink);
      border-radius: 28px;
      background: var(--cream);
      box-shadow: 4px 4px 0 var(--pink);
      transition: top .3s ease, bottom .3s ease, left .3s ease, right .3s ease, transform .3s ease, border-radius .3s ease;
    }
    jumi-nav.has-segment-nav.nav-hero-mode .hero-segment-nav {
      top: auto;
      bottom: 28px;
      left: 50%;
      right: auto;
      transform: translateX(-50%);
      flex-direction: row;
      align-items: center;
    }
    .hero-segment-link {
      display: flex;
      align-items: center;
      justify-content: center;
      height: 44px;
      padding: 0 20px;
      border-radius: 999px;
      background: color-mix(in srgb, var(--seg-bg, var(--pink)) 30%, var(--cream));
      color: var(--ink);
      font-weight: 800;
      font-size: .82rem;
      white-space: nowrap;
      text-decoration: none;
      transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
    }
    jumi-nav.has-segment-nav.nav-hero-mode .hero-segment-link:hover { transform: translateY(-3px); }
    jumi-nav.has-segment-nav.nav-hero-mode .hero-segment-link.is-active { transform: translateY(-4px); }
    .hero-segment-link:hover {
      background: var(--seg-bg, var(--pink));
      transform: translateX(-4px);
    }
    .hero-segment-link.is-active {
      background: var(--seg-bg, var(--pink));
      box-shadow: 3px 3px 0 var(--ink);
      transform: translateX(-6px);
    }
  }
  .bubble-language { position: relative; border-radius: 999px; }
  .bubble-language .jumi-select-box {
    width: 100%;
    min-height: 50px;
    border: 0;
    box-shadow: none;
    background-color: transparent;
  }
  .bubble-language .jumi-select-box:hover { transform: none; box-shadow: none; }
  /* Kompakt: nur noch das Sprachkuerzel (z.B. "DE") statt Flagge + vollem
     Namen - die Flagge bleibt im ausgeklappten Menue je Option sichtbar. */
  .language-trigger {
    min-width: 0;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 8px 16px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--ink);
    font: 800 .85rem/1 'Space Grotesk', sans-serif;
    cursor: pointer;
  }
  .language-current-flag { display: none; }
  .language-current-name { text-transform: uppercase; letter-spacing: .02em; }
  .language-chevron { width: 17px; height: 17px; transition: transform .22s ease; }
  .language-trigger[aria-expanded="true"] .language-chevron { transform: rotate(180deg); }
  /* Menue klappt nach oben auf, weil der Trigger jetzt unten rechts im
     Viewport sitzt - nach unten wuerde es sonst am Bildschirmrand abgeschnitten. */
  .language-menu {
    position: absolute;
    bottom: calc(100% + 12px);
    top: auto;
    right: 0;
    width: 224px;
    max-height: min(410px, calc(100vh - 110px));
    overflow-y: auto;
    padding: 8px;
    border: 3px solid var(--ink);
    border-radius: 20px;
    background: var(--cream);
    box-shadow: 7px 7px 0 var(--pink), 10px 10px 0 var(--ink);
    opacity: 0;
    transform: translateY(8px) scale(.96);
    transform-origin: bottom right;
    transition: opacity .2s ease, transform .2s ease;
  }
  .language-menu[hidden] { display: none; }
  .language-menu.is-open { opacity: 1; transform: translateY(0) scale(1); }
  .language-option {
    width: 100%;
    min-height: 44px;
    display: grid;
    grid-template-columns: 28px 1fr 22px;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border: 2px solid transparent;
    border-radius: 13px;
    background: transparent;
    color: var(--ink);
    font: 700 .88rem/1.2 'Space Grotesk', sans-serif;
    text-align: left;
    cursor: pointer;
    transition: background .16s ease, border-color .16s ease, transform .16s ease;
  }
  .language-option:hover,
  .language-option:focus-visible { background: var(--pastel-yellow); border-color: var(--ink); outline: none; transform: translateX(2px); }
  .language-option.is-active { background: var(--pastel-blue); border-color: var(--ink); }
  .language-check { opacity: 0; font-size: 1rem; }
  .language-option.is-active .language-check { opacity: 1; }
  .toggle-bubble {
    width: 56px;
    height: 56px;
    flex-direction: column;
    gap: 7px;
    padding: 0;
    border-radius: 50%;
    cursor: pointer;
    transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
  }
  .toggle-bubble:hover { transform: translate(-2px,-2px); box-shadow: 7px 7px 0 var(--yellow); }
  .menu-line {
    display: block;
    width: 25px;
    height: 3px;
    border-radius: 999px;
    background: var(--ink);
    transition: transform .28s ease;
  }
  .menu-line--short { width: 17px; margin-left: 8px; }
  .toggle-bubble.open { background: var(--yellow); }
  .toggle-bubble.open .menu-line:first-child { transform: translateY(5px) rotate(45deg); }
  .toggle-bubble.open .menu-line:last-child { width: 25px; margin-left: 0; transform: translateY(-5px) rotate(-45deg); }
  .bubble-menu :is(a, button, select):focus-visible,
  .pill-link:focus-visible { outline: 3px solid var(--maroon); outline-offset: 4px; }

  .bubble-menu-items {
    position: fixed;
    inset: 0;
    z-index: 99990;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 110px 24px 40px;
    overflow-y: auto;
    background:
      radial-gradient(circle 360px at 105% -4%, var(--pink) 0 99%, transparent 100%),
      radial-gradient(circle 300px at -6% 105%, var(--pastel-blue) 0 99%, transparent 100%),
      rgba(234, 233, 214, .96);
    backdrop-filter: blur(12px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .28s ease, visibility .28s ease;
  }
  .bubble-menu-items.open { opacity: 1; visibility: visible; pointer-events: auto; }
  .pill-list {
    width: min(1180px, 100%);
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    align-items: center;
    gap: 12px;
    margin: auto;
    padding: 0;
    list-style: none;
  }
  .pill-col { grid-column: span 2; min-width: 0; }
  .pill-link {
    width: 100%;
    min-height: clamp(116px, 14vw, 170px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 18px;
    border: 3px solid var(--ink);
    border-radius: 999px;
    background: var(--pill-bg, var(--cream));
    color: var(--ink);
    box-shadow: 6px 6px 0 var(--ink);
    font: 700 clamp(1.25rem, 3vw, 2.4rem)/1 'Fredoka', sans-serif;
    text-align: center;
    opacity: 0;
    transform: rotate(var(--item-rot, 0deg)) scale(.35);
    transition: transform .22s ease, box-shadow .22s ease, filter .22s ease;
  }
  .bubble-menu-items.open .pill-link {
    animation: bubblePillIn .52s cubic-bezier(.34,1.56,.64,1) forwards;
  }
  .bubble-menu-items.open .pill-col:nth-child(2) .pill-link { animation-delay: .07s; }
  .bubble-menu-items.open .pill-col:nth-child(3) .pill-link { animation-delay: .14s; }
  .bubble-menu-items.open .pill-col:nth-child(4) .pill-link { animation-delay: .21s; }
  .bubble-menu-items.open .pill-col:nth-child(5) .pill-link { animation-delay: .28s; }
  .bubble-menu-items.open .pill-col:nth-child(6) .pill-link { animation-delay: .35s; }
  @keyframes bubblePillIn {
    to { opacity: 1; transform: rotate(var(--item-rot, 0deg)) scale(1); }
  }
  .pill-link:hover {
    transform: rotate(var(--item-rot, 0deg)) translate(-3px,-3px) scale(1.025);
    box-shadow: 10px 10px 0 var(--ink);
    filter: saturate(1.08);
  }
  .pill-link:active { transform: rotate(var(--item-rot, 0deg)) scale(.97); }

  @media (max-width: 899px) {
    .bubble-menu { top: 16px; padding: 0 16px; }
    .bubble-menu .bubble, .bubble-language { min-height: 50px; }
    .logo-bubble { width: 116px; padding: 7px 14px; }
    .bubble-logo { max-height: 32px; }
    .toggle-bubble { width: 50px; height: 50px; }
    .nav-social-bubble { width: 50px; height: 50px; }
    .nav-social-bubble svg { width: 19px; height: 19px; }
    .bubble-language .jumi-select-box { min-height: 44px; padding: 8px 30px 8px 12px; font-size: .82rem; background-position: right 10px center; }
    .language-trigger { min-height: 44px; padding: 7px 14px; font-size: .78rem; }
    .language-menu { width: 210px; max-height: min(360px, calc(100vh - 88px)); }
    .bubble-menu-items { align-items: flex-start; padding: 96px 16px 28px; }
    .pill-list { grid-template-columns: 1fr; gap: 12px; }
    .pill-col { grid-column: auto; }
    .pill-link { min-height: 72px; font-size: clamp(1.15rem, 6vw, 1.65rem); transform: scale(.35); }
    @keyframes bubblePillIn { to { opacity: 1; transform: scale(1); } }
    .pill-link:hover { transform: translate(-2px,-2px) scale(1.01); }
  }

  @media (max-width: 430px) {
    .bubble-menu { gap: 8px; }
    .logo-bubble { width: 92px; }
    .bubble-actions { gap: 8px; }
    /* Auf den schmalsten Screens keinen Platz mehr - Social Links bleiben
       ueber "Let's Connect" im Hamburger-Menue und im Footer erreichbar.
       Muss ".bubble-menu .bubble" (display:inline-flex) an Spezifitaet
       schlagen, daher hier ebenfalls mit .bubble-menu qualifiziert. */
    .bubble-menu .nav-social-bubble { display: none; }
    .bubble-language .jumi-select-box { font-size: .76rem; padding-left: 10px; }
    .language-trigger { padding: 7px 12px; font-size: .74rem; }
    .language-menu { width: 206px; }
  }

  @media (prefers-reduced-motion: reduce) {
    .bubble-menu-items,
    .toggle-bubble,
    .menu-line,
    .pill-link { transition: none; }
    .hero-shape { animation: none; }
    .bubble-menu-items.open .pill-link {
      animation: none;
      opacity: 1;
      transform: none;
    }
  }

  /* Section Styling Tokens */
  .section-tag {
    display: inline-block;
    background: var(--yellow);
    color: var(--ink);
    padding: 6px 16px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
    border: 2px solid var(--ink);
  }
  .section-title {
    font-size: clamp(2rem, 6vw, 2.8rem);
    color: var(--ink);
    margin-bottom: 24px;
  }

  /* Eine gemeinsame Musterfläche verbindet Hero und Flaggenbühne nahtlos. */
  .hero-pattern-world {
    background-color: var(--pastel-yellow);
    background-repeat: repeat;
    background-position: 50% 50%;
    background-size: 198px 168px;
    background-image:
      conic-gradient(from -296deg at 100% 59%, #f2e291 0 133deg, #fff0 0 100%),
      conic-gradient(from -296deg at 85% 67%, #dcc15a 0 134.5deg, #fff0 0 100%),
      conic-gradient(from -296deg at 68% 77%, #f2e291 0 137deg, #fff0 0 100%),
      conic-gradient(from -296deg at 55% 85%, #dcc15a 0 150deg, #fff0 0 100%),
      conic-gradient(from -248deg at 38% 77%, #f2e291 0 97deg, #fff0 0 100%),
      conic-gradient(from -248deg at 15% 66%, #dcc15a 0 95deg, #fff0 0 100%),
      conic-gradient(from 207deg at 15% 66%, #f2e291 0 84deg, #fff2ad 0 138deg, #fff0 0 100%),
      conic-gradient(from 23deg at 85% 12%, #f2e291 0 34deg, #fff2ad 0 136deg, #fff0 0 100%),
      conic-gradient(from 22deg at 66% 27%, #dcc15a 0 34deg, #e8d36e 0 128deg, #fff0 0 100%),
      conic-gradient(from 17deg at 50% 40%, #f2e291 0 39deg, #fff2ad 0 133deg, #fff0 0 100%),
      conic-gradient(from 31deg at 33% 26%, #dcc15a 0 94deg, #e8d36e 0 125deg, #fff0 0 100%),
      conic-gradient(from -57deg at 19% 15%, #dcc15a 0 90deg, #f2e291 0 181deg, #fff2ad 0 217deg, #e8d36e 0 360deg, #fff0 0 100%);
  }

/* JuMi Liveboard: gemeinsamer Event-Pass und redaktionelle Story-Bühne */
.hero-dashboard {
  grid-template-columns: minmax(330px, .92fr) minmax(0, 1.4fr);
  gap: 8px;
  padding: 8px;
  background: var(--ink);
  border-radius: 22px;
  box-shadow: 10px 10px 0 var(--pink);
}
.clock-date-widget,
.news-widget {
  border: 0;
  border-radius: 14px;
  box-shadow: none;
}
.clock-date-widget {
  min-height: 306px;
  padding: 64px 22px 20px;
  background: var(--pastel-blue);
  justify-content: flex-start;
}
.clock-date-widget:hover {
  transform: none;
  box-shadow: inset 0 0 0 4px var(--yellow);
}
.meeting-widget-head .clock-date-label {
  top: 18px;
  left: 20px;
  transform: none;
  padding: 7px 13px;
  border-radius: 8px;
  background: var(--pink);
  color: var(--ink);
  box-shadow: none;
  letter-spacing: .02em;
}
.meeting-countdown {
  top: 17px;
  right: 18px;
  background: var(--yellow);
  box-shadow: none;
  transform: rotate(3deg);
}
@keyframes meetingPulse {
  0%, 100% { transform: rotate(3deg) translateY(0); }
  50% { transform: rotate(1deg) translateY(-3px); }
}
.scroll-container {
  --wheel-size: 82px;
  gap: 10px;
  margin: 5px 0 14px;
}
.scroll-wheel {
  border: 3px solid var(--ink);
  background: var(--cream);
  box-shadow: inset 0 0 0 6px var(--yellow);
}
.program-tag {
  margin-top: 0;
  border: 0;
  background: var(--ink);
  color: var(--white);
}
.time-badge {
  margin-top: 8px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  padding: 2px 8px;
  font-size: .84rem;
}
.meeting-open-hint {
  margin-top: auto;
  padding-top: 12px;
  border: 0;
  font-size: .76rem;
}
.news-widget {
  min-height: 306px;
  padding: 18px;
  background: var(--cream);
  overflow: hidden;
}
.news-widget-head {
  align-items: center;
  margin-bottom: 12px;
}
.news-widget-head h3 {
  font-size: clamp(1.35rem, 2.3vw, 1.7rem);
}
.news-eyebrow { color: var(--maroon); opacity: 1; }
.news-filter { background: var(--white); border-width: 1.5px; }
.news-filter.is-active { background: var(--pink); color: var(--ink); box-shadow: none; }
.news-ticker-viewport { border-radius: 12px; }
.news-item,
.news-item--featured {
  min-height: 166px;
  display: grid;
  grid-template-columns: minmax(135px, .82fr) minmax(0, 1.18fr);
  grid-template-rows: auto auto 1fr auto;
  column-gap: 16px;
  align-items: start;
  padding: 14px;
  border: 0;
  border-radius: 12px;
  background: var(--pastel-yellow);
  box-shadow: none;
}
.news-item:not(:has(.news-item-image)) { grid-template-columns: 1fr; }
.news-item-image,
.news-item--featured .news-item-image,
.news-item-image--report,
.news-item--featured .news-item-image--report {
  grid-column: 1;
  grid-row: 1 / 5;
  width: 100%;
  height: 138px;
  margin: 0;
  border: 0;
  border-radius: 9px;
  object-fit: cover;
}
.news-item .news-meta { grid-column: 2; grid-row: 1; }
.news-item h4 { grid-column: 2; grid-row: 2; font-size: 1.1rem; line-height: 1.12; }
.news-item p { grid-column: 2; grid-row: 3; margin: 4px 0; font-size: .8rem; }
.news-item .news-card-action { grid-column: 2; grid-row: 4; }
.news-item:not(:has(.news-item-image)) > * { grid-column: 1; }
.news-item:hover { transform: none; background: var(--yellow); box-shadow: inset 0 0 0 3px var(--ink); }
.news-slideshow-controls {
  justify-content: flex-start;
  margin-top: 9px;
}
.news-slide-button {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  box-shadow: none;
  background: var(--white);
}
.news-slide-button:hover:not(:disabled) { transform: none; background: var(--pink); box-shadow: none; }
.news-footer { margin-top: -36px; }

@media (max-width: 992px) {
  .hero-dashboard {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .clock-date-widget,
  .news-widget { min-height: 0; }
}

@media (max-width: 576px) {
  .hero-dashboard {
    margin-inline: -8px;
    padding: 6px;
    border-radius: 18px;
    box-shadow: 7px 7px 0 var(--pink);
  }
  .clock-date-widget {
    min-height: 300px;
    margin: 0;
    padding: 62px 12px 18px;
    border-radius: 12px;
  }
  .meeting-widget-head .clock-date-label { left: 14px; }
  .meeting-countdown { right: 12px; }
  .scroll-container {
    --wheel-size: clamp(88px, 23.5vw, 94px);
    gap: 5px;
  }
  .news-widget {
    margin: 0;
    padding: 16px 0 14px;
    border-radius: 12px;
    box-shadow: none;
  }
  .news-widget-head { margin: 0 14px 12px; }
  .news-item,
  .news-item--featured {
    display: flex;
    min-height: 212px;
    max-height: none;
    padding: 12px;
    border-radius: 10px;
  }
  .news-item-image,
  .news-item--featured .news-item-image,
  .news-item-image--report,
  .news-item--featured .news-item-image--report {
    width: calc(100% + 24px);
    height: 104px;
    margin: -12px -12px 10px;
    border-radius: 10px 10px 0 0;
  }
  .news-item .news-meta,
  .news-item h4,
  .news-item p,
  .news-item .news-card-action { grid-column: auto; grid-row: auto; }
  .news-item p { display: none; }
  .news-slideshow-controls { justify-content: center; }
  .news-slide-button { width: 44px; height: 44px; }
  .news-footer { margin: 8px 14px 0; }
}

/* Editorial Hero Board — Plakatdatum statt Karten- und Kreisoptik */
.hero-dashboard {
  grid-template-columns: minmax(330px, .9fr) minmax(0, 1.45fr);
  gap: 0;
  padding: 0;
  background: transparent;
  border: 4px solid var(--ink);
  border-radius: 0;
  box-shadow: 12px 12px 0 var(--pink);
  overflow: visible;
}
.clock-date-widget,
.news-widget {
  min-height: 292px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.clock-date-widget {
  padding: 62px 24px 18px;
  background: var(--yellow);
  justify-content: flex-start;
  border-right: 4px solid var(--ink);
}
.clock-date-widget:hover { transform: none; box-shadow: none; background: var(--pastel-yellow); }
.meeting-widget-head .clock-date-label {
  top: 20px; left: 22px; transform: none;
  padding: 0; border: 0; border-radius: 0;
  background: transparent; color: var(--ink); box-shadow: none;
  font: 900 .82rem 'Space Grotesk', sans-serif;
  letter-spacing: .02em;
}
.meeting-countdown {
  top: 13px; right: 16px;
  padding: 7px 10px;
  border: 2px solid var(--ink);
  background: var(--pink);
  box-shadow: none;
  transform: rotate(3deg);
}
.scroll-container {
  --wheel-size: 82px;
  gap: 20px;
  margin: 2px 0 14px;
  overflow: visible;
}
.scroll-wheel,
.scroll-wheel.wide {
  width: var(--wheel-size);
  height: var(--wheel-size);
  overflow: hidden;
  border: 0;
  border-bottom: 5px solid var(--ink);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.scroll-wheel + .scroll-wheel::before {
  content: "/";
  position: absolute;
  left: -15px;
  top: 50%;
  transform: translate(-50%, -52%) rotate(8deg);
  font: 900 2.1rem 'Fredoka', sans-serif;
  color: var(--ink);
}
.wheel-list li,
.scroll-wheel.wide .wheel-list li {
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  letter-spacing: -.03em;
}
.program-tag {
  align-self: flex-start;
  margin: 0;
  padding: 4px 8px;
  border: 0;
  border-radius: 0;
  background: var(--ink);
  color: var(--white);
}
.time-badge {
  align-self: flex-start;
  margin: 8px 0 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  font-size: .84rem;
  text-align: left;
}
.meeting-open-hint {
  align-self: flex-start;
  margin-top: auto;
  padding-top: 10px;
  border-bottom: 2px solid currentColor;
}
.news-widget {
  padding: 18px 20px 14px;
  background: var(--pastel-blue);
  overflow: hidden;
}
.news-widget-head { align-items: flex-end; margin-bottom: 12px; }
.news-widget-head h3 { font-size: clamp(1.5rem, 2.8vw, 2rem); line-height: .95; }
.news-eyebrow { color: var(--ink); opacity: .68; }
.news-filter {
  padding: 5px 8px;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  background: transparent;
}
.news-filter.is-active {
  border-bottom-color: var(--ink);
  background: transparent;
  color: var(--ink);
  box-shadow: none;
}
.news-ticker-viewport { border-radius: 0; }
.news-item,
.news-item--featured {
  min-height: 158px;
  display: grid;
  grid-template-columns: minmax(140px, .78fr) minmax(0, 1.22fr);
  grid-template-rows: auto auto 1fr auto;
  column-gap: 18px;
  padding: 12px 0;
  border: 0;
  border-top: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.news-item:not(:has(.news-item-image)) { grid-template-columns: 1fr; }
.news-item-image,
.news-item--featured .news-item-image,
.news-item-image--report,
.news-item--featured .news-item-image--report {
  grid-column: 1; grid-row: 1 / 5;
  width: 100%; height: 128px; margin: 0;
  border: 0; border-radius: 0;
  object-fit: cover;
  filter: saturate(.88) contrast(1.04);
}
.news-item .news-meta { grid-column: 2; grid-row: 1; }
.news-item h4 { grid-column: 2; grid-row: 2; font-size: 1.18rem; line-height: 1.08; }
.news-item p { grid-column: 2; grid-row: 3; margin: 4px 0; font-size: .8rem; }
.news-item .news-card-action { grid-column: 2; grid-row: 4; }
.news-item:not(:has(.news-item-image)) > * { grid-column: 1; }
.news-item:hover { transform: none; background: rgba(255,255,255,.24); box-shadow: none; }
.news-tag { border: 0; border-radius: 0; background: var(--yellow); }
.news-tag--social { background: var(--pink); color: var(--ink); }
.news-slideshow-controls { justify-content: flex-start; margin-top: 9px; }
.news-slide-button {
  width: 38px; height: 34px;
  border: 0; border-radius: 0;
  background: var(--ink); color: var(--white); box-shadow: none;
}
.news-slide-button:hover:not(:disabled) { transform: none; background: var(--pink); color: var(--ink); box-shadow: none; }
.news-footer { margin-top: -34px; }

@media (max-width: 992px) {
  .hero-dashboard { grid-template-columns: 1fr; }
  .clock-date-widget { border-right: 0; border-bottom: 4px solid var(--ink); }
  .clock-date-widget,
  .news-widget { min-height: 0; }
}

@media (max-width: 576px) {
  .hero-dashboard {
    margin-inline: -8px;
    padding: 0;
    border-radius: 0;
    box-shadow: 8px 8px 0 var(--pink);
  }
  .clock-date-widget {
    min-height: 288px;
    margin: 0;
    padding: 60px 15px 16px;
    border-radius: 0;
  }
  .meeting-widget-head .clock-date-label { left: 14px; }
  .meeting-countdown { right: 10px; }
  .scroll-container {
    --wheel-size: clamp(76px, 22vw, 88px);
    gap: 18px;
  }
  .scroll-wheel + .scroll-wheel::before { left: -13px; font-size: 1.7rem; }
  .wheel-list li,
  .scroll-wheel.wide .wheel-list li { font-size: clamp(1.25rem, 6vw, 1.55rem); }
  .news-widget { margin: 0; padding: 16px 14px 13px; border-radius: 0; box-shadow: none; }
  .news-widget-head { margin: 0 0 12px; }
  .news-item,
  .news-item--featured {
    display: flex;
    min-height: 206px;
    max-height: none;
    padding: 10px 0;
    border-radius: 0;
  }
  .news-item-image,
  .news-item--featured .news-item-image,
  .news-item-image--report,
  .news-item--featured .news-item-image--report {
    width: 100%; height: 104px; margin: 0 0 9px; border-radius: 0;
  }
  .news-item .news-meta,
  .news-item h4,
  .news-item p,
  .news-item .news-card-action { grid-column: auto; grid-row: auto; }
  .news-item p { display: none; }
  .news-slideshow-controls { justify-content: center; }
  .news-slide-button { width: 46px; height: 42px; }
  .news-footer { margin: 8px 0 0; }
}

  /* Eigenständige JuMi-Hero-Welt */
  .hero {
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 94px 0 72px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: 3px solid var(--ink);

    background: transparent;
  }

  /* Schwungvoller Wellenübergang statt gerader Trennlinie zwischen Sektionen.
     Liegt als letztes Kind in der oberen (position:relative) Sektion, an deren
     Unterkante angedockt; die Fuellung entspricht der Farbe der naechsten Sektion. */
  .wave-divider {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    width: 100%;
    height: clamp(46px, 8vw, 96px);
    line-height: 0;
  }
  .wave-divider svg {
    display: block;
    width: 100%;
    height: 100%;
  }

  .hero-scene {
    display: none;
  }
  .hero-shape {
    position: absolute;
    display: block;
    border: 3px solid var(--ink);
    box-shadow: 7px 7px 0 var(--ink);
    will-change: transform;
  }
  .hero-shape--pink {
    width: clamp(260px, 36vw, 580px);
    aspect-ratio: 1;
    top: -22%;
    right: -10%;
    border-radius: 50%;
    background: var(--pink);
    animation: heroFloatOne 8s ease-in-out infinite alternate;
  }
  .hero-shape--blue {
    width: clamp(230px, 31vw, 480px);
    aspect-ratio: 1;
    left: -11%;
    bottom: 4%;
    border-radius: 43% 57% 60% 40% / 52% 41% 59% 48%;
    background: var(--pastel-blue);
    animation: heroFloatTwo 9s ease-in-out infinite alternate;
  }
  .hero-shape--yellow {
    width: clamp(110px, 13vw, 190px);
    aspect-ratio: 1;
    top: 28%;
    left: 8%;
    border-radius: 50%;
    background: var(--yellow);
    box-shadow: 5px 5px 0 var(--ink);
    animation: heroFloatThree 6.5s ease-in-out infinite alternate;
  }
  .hero-shape--lilac {
    width: clamp(130px, 17vw, 250px);
    aspect-ratio: 1;
    right: 3%;
    bottom: 12%;
    border-radius: 58% 42% 39% 61% / 43% 56% 44% 57%;
    background: var(--pastel-purple);
    box-shadow: 5px 5px 0 var(--ink);
    animation: heroFloatTwo 7.5s ease-in-out -2s infinite alternate-reverse;
  }
  @keyframes heroFloatOne { to { transform: translate(-18px, 24px) rotate(5deg); } }
  @keyframes heroFloatTwo { to { transform: translate(20px, -18px) rotate(-6deg); } }
  @keyframes heroFloatThree { to { transform: translateY(-20px) rotate(8deg); } }
  .hero-float-tag {
    position: absolute;
    padding: 8px 14px;
    border: 2px solid var(--ink);
    border-radius: 999px;
    background: var(--cream);
    box-shadow: 3px 3px 0 var(--ink);
    font: 700 clamp(.72rem, 1.2vw, .9rem)/1 'Space Grotesk', sans-serif;
  }
  .hero-float-tag--one { top: 20%; left: 4%; transform: rotate(-8deg); }
  .hero-float-tag--two { top: 17%; right: 18%; transform: rotate(7deg); background: var(--pastel-purple); }
  .hero-float-tag--three { right: 5%; top: 48%; transform: rotate(-5deg); background: var(--yellow); }

  .hero .wrap {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-grow: 1;
    z-index: 2;
  }
  .hero-kicker {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    margin-bottom: 24px;
    padding: 8px 16px;
    border: 2px solid var(--ink);
    border-radius: 999px;
    background: var(--cream);
    box-shadow: 4px 4px 0 var(--yellow);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    transform: rotate(-2deg);
  }

.eyebrow {
    display: inline-flex; 
    align-items: center; 
    gap: 8px; 
    background: var(--ink); 
    color: var(--yellow);
    padding: 10px 22px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 24px;
    border: 2px solid var(--ink);
    box-shadow: 3px 3px 0px var(--pink);
    animation: eyebrowPulse 3s ease-in-out infinite alternate;
  }

  @keyframes eyebrowPulse {
    0% { transform: translateY(0) rotate(-1deg); }
    100% { transform: translateY(-4px) rotate(1deg); box-shadow: 5px 5px 0px var(--pink); }
  }

  .hero-slogan {
    max-width: 760px;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: 'Fredoka', sans-serif;
    font-weight: 700;
    font-size: clamp(1.8rem, 4.3vw, 3.8rem);
    line-height: .98;
    margin-bottom: 24px;
    color: var(--ink);
    letter-spacing: -0.04em;
    text-wrap: balance;
  }
  .hero-title-accent {
    position: relative;
    z-index: 0;
    color: var(--maroon);
  }
  .hero-title-accent::after {
    content: '';
    position: absolute;
    z-index: -1;
    left: -3%;
    right: -3%;
    bottom: .02em;
    height: .28em;
    border-radius: 999px;
    background: var(--pink);
    transform: rotate(-1.5deg);
  }
  /* Text-Fallback der Wortmarke - Farben pro Buchstabe wie im Original-Logo */
  .jumi-word-logo {
    font-family: 'Matemasie', 'Fredoka', sans-serif;
    font-weight: 900;
    display: inline-flex;
    letter-spacing: -0.01em;
  }
  .jumi-word-logo .jw-j { color: var(--blue-soft); }
  .jumi-word-logo .jw-u { color: var(--slate); }
  .jumi-word-logo .jw-m { color: var(--pastel-purple); }
  .jumi-word-logo .jw-i { color: var(--purple-deep); }
  .jumi-wordmark-logo {
    height: 1.05em;
    width: auto;
    vertical-align: middle;
    display: inline-block;
    transform: translateY(-0.05em);
    filter: drop-shadow(3px 3px 0 rgba(67,40,24,.16));
  }
  .hero-signoff {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 18px;
    font-family: 'Caveat', cursive;
    font-size: clamp(2.7rem, 6.8vw, 5.9rem);
    font-weight: 700;
    line-height: .95;
    letter-spacing: normal;
    color: var(--ink);
    transform: rotate(-1deg);
  }
  .hero-signoff .jumi-wordmark-logo {
    height: 1.3em;
    transform: none;
  }
  .lead {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1rem, 2vw, 1.22rem);
    max-width: 660px;
    margin: 0 auto 32px;
    line-height: 1.55;
    color: var(--maroon);
    font-weight: 500;
    padding: 0 10px;
  }

  .hero-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    width: 100%;
    padding: 0 16px;
  }
  .btn-primary, .btn-ghost {
    padding: 14px 28px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 1.05rem;
    border: 3px solid var(--ink);
    transition: var(--transition-smooth);
    text-align: center;
  }
  .btn-primary {
    background: var(--pink);
    color: var(--ink);
    box-shadow: 4px 4px 0px var(--ink);
  }
  .btn-primary:hover {
    transform: translate(-4px, -4px);
    box-shadow: 8px 8px 0px var(--ink);
    background: var(--yellow);
    color: var(--ink);
  }
  .btn-ghost {
    background: var(--yellow);
    color: var(--ink);
  }
  .btn-ghost:hover {
    background: var(--pink);
    transform: translateY(-2px);
  }

  /* DASHBOARD MIT DATUM-WHEEL & NEWS */
  .hero-dashboard {
    width: 100%;
    max-width: 1040px;
    display: grid;
    grid-template-columns: .88fr 1.35fr;
    grid-template-areas: "meeting news";
    gap: 28px;
    margin-top: 20px;
    align-items: stretch;
  }

  .clock-date-widget {
    min-height: 210px;
    background:
      radial-gradient(circle 95px at 91% 10%, var(--yellow) 0 99%, transparent 100%),
      var(--blue-soft);
    border: 4px solid var(--ink);
    border-radius: 32px;
    padding: 29px 18px 11px;
    box-shadow: 9px 9px 0 var(--pink), 13px 13px 0 var(--ink);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
    transition: transform .25s ease, box-shadow .25s ease;
  }
  .clock-date-widget:hover {
    transform: translate(-4px, -4px);
    box-shadow: 13px 13px 0 var(--pink), 18px 18px 0 var(--ink);
  }
  .clock-date-label {
    font-family: 'Fredoka', sans-serif;
    font-size: 0.8rem;
    font-weight: 900;
    background: var(--coral);
    color: var(--white);
    padding: 6px 16px;
    border-radius: 100px;
    border: 2px solid var(--ink);
    position: absolute;
    top: 22px;
    left: 50%;
    transform: translateX(-50%);
    letter-spacing: 0.05em;
    z-index: 10;
    white-space: nowrap;
    box-shadow: 3px 3px 0 var(--ink);
  }
  .scroll-container {
    --wheel-size: 78px;
    --wheel-stop: calc(var(--wheel-size) * -3);
    --wheel-overshoot: calc(var(--wheel-size) * -3 - 13px);
    --wheel-settle: calc(var(--wheel-size) * -3 + 8px);
    display: flex;
    gap: 8px;
    justify-content: center;
    align-items: center;
    margin-top: 8px;
    width: 100%;
  }
  .scroll-wheel {
    width: var(--wheel-size);
    height: var(--wheel-size);
    overflow: hidden;
    position: relative;
    border: 2px solid var(--ink);
    border-radius: 50%;
    background: var(--cream);
    box-shadow: 3px 3px 0 var(--ink), inset 0 0 0 5px var(--cream);
    pointer-events: none;
  }
  .scroll-wheel.wide {
    width: var(--wheel-size);
    height: var(--wheel-size);
  }
  .wheel-list {
    list-style: none;
    padding: 0;
    margin: 0;
    transform: translateY(var(--wheel-stop));
  }
  /* Der Slot-Machine-Scroll-Effekt wird erst per JS ausgelöst (Klasse "spin"),
     sobald der echte "Nächster Treff"-Wert aus der CSV geladen und eingesetzt ist -
     so scrollt das Rad wirklich zum richtigen Wert statt zu einem Platzhalter. */
  .wheel-list.spin {
    animation: scrollWheelInit 2.35s cubic-bezier(0.16, 1, 0.3, 1) both;
  }
  .scroll-wheel:nth-child(2) .wheel-list.spin { animation-delay: .12s; }
  .scroll-wheel:nth-child(3) .wheel-list.spin { animation-delay: .24s; }
  @keyframes scrollWheelInit {
    0% { transform: translateY(0) scale(.82); filter: blur(2px); }
    68% { transform: translateY(var(--wheel-overshoot)) scale(1.04); filter: blur(0); }
    84% { transform: translateY(var(--wheel-settle)) scale(.98); }
    100% { transform: translateY(var(--wheel-stop)) scale(1); }
  }
  .wheel-list li {
    height: var(--wheel-size);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Fredoka', sans-serif;
    font-size: 1.38rem;
    font-weight: 900;
    color: var(--ink);
  }
  .scroll-wheel.wide .wheel-list li {
    font-size: 1rem;
  }

  .program-tag {
    margin-top: 10px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    background: var(--lilac);
    color: var(--ink);
    padding: 4px 12px;
    border-radius: 999px;
    border: 2px solid var(--ink);
    letter-spacing: 0.02em;
  }
  .time-badge {
    margin-top: 6px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    background: var(--pastel-yellow);
    padding: 6px 16px;
    border-radius: 100px;
    border: 2px solid var(--ink);
    text-align: center;
  }

  .news-widget {
    background:
      radial-gradient(circle 130px at 102% -6%, var(--pastel-purple) 0 99%, transparent 100%),
      var(--pink);
    border: 4px solid var(--ink);
    border-radius: 58px 34px 58px 34px;
    padding: 30px;
    box-shadow: 9px 9px 0 var(--yellow), 13px 13px 0 var(--ink);
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    min-height: 286px;
    cursor: pointer;
  }
  .news-widget h3 {
    font-size: clamp(1.4rem, 3vw, 1.8rem);
    margin-bottom: 18px;
    z-index: 2;
    max-width: calc(100% - 90px);
  }
  
  .news-ticker-viewport {
    overflow: visible;
    flex-grow: 1;
    position: relative;
  }
  .news-ticker-track {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 14px;
    position: relative;
    width: 100%;
  }

  .news-item {
    background: var(--cream);
    border: 3px solid var(--ink);
    border-radius: 24px;
    padding: 15px 17px;
    box-shadow: 4px 4px 0px var(--yellow);
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    color: inherit;
    font: inherit;
    text-align: left;
  }
  .news-item--featured { grid-row: span 2; justify-content: center; background: var(--pastel-yellow); }
  .news-item:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0px var(--ink);
    background: var(--cream);
  }
  .news-item:focus-visible {
    outline: 3px solid var(--maroon);
    outline-offset: 4px;
  }
  .news-tag {
    display: inline-block;
    background: var(--lilac);
    color: var(--ink);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 999px;
    margin-bottom: 4px;
    border: 1.5px solid var(--ink);
    text-transform: uppercase;
  }
  .news-item h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 4px;
    color: var(--ink);
  }
  .news-item--featured h4 { font-size: 1.18rem; }
  .news-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; margin-bottom: 8px; }
  .news-date { color: var(--maroon); font-size: .7rem; font-weight: 700; }
  .news-item p {
    font-size: 0.9rem;
    color: var(--maroon);
    line-height: 1.4;
  }

  .news-footer {
    margin-top: 18px;
    text-align: right;
    z-index: 2;
  }
  .btn-all-news {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    font-size: 0.85rem;
    background: var(--ink);
    color: var(--white);
    padding: 8px 18px;
    border-radius: 100px;
    border: 2px solid var(--ink);
    transition: var(--transition-smooth);
    box-shadow: 3px 3px 0px var(--yellow);
    cursor: pointer;
  }
  .btn-all-news:hover {
    background: var(--cream);
    color: var(--ink);
    transform: translate(-2px, -2px);
    box-shadow: 5px 5px 0px var(--ink);
  }

  /* Hero-Liveboard: Termine und Inhalte wirken wie ein gemeinsamer, aktueller Feed. */
  .meeting-widget-head {
    position: absolute; inset: 0; z-index: 10; pointer-events: none;
    display: block;
  }
  .meeting-widget-head .clock-date-label {
    position: absolute; top: -17px; left: 50%; transform: translateX(-50%);
    pointer-events: auto;
  }
  .meeting-countdown {
    position: absolute; top: -12px; right: -15px;
    padding: 7px 11px; border: 2px solid var(--ink); border-radius: 999px;
    background: var(--yellow); box-shadow: 2px 2px 0 var(--ink);
    font: 800 .72rem 'Space Grotesk', sans-serif; white-space: nowrap;
    transform: rotate(7deg); animation: meetingPulse 2.8s ease-in-out infinite;
  }
  @keyframes meetingPulse {
    0%, 100% { transform: rotate(7deg) scale(1); }
    50% { transform: rotate(4deg) scale(1.055); }
  }
  .clock-date-widget::after { content: none; }
  .meeting-open-hint { margin-top: 8px; font: 800 .72rem 'Space Grotesk',sans-serif; border-bottom: 2px solid currentColor; }
  .clock-date-widget:hover .meeting-open-hint span { display: inline-block; animation: meetingArrow .55s ease both; }
  @keyframes meetingArrow { 50% { transform: translate(3px,-3px); } }

  .meeting-column {
    grid-area: meeting;
    min-width: 0;
  }
  .clock-date-widget { height: 100%; margin: 0; }
  .news-widget { grid-area: news; min-height: 248px; cursor: default; padding: 18px 21px 16px; }
  .news-widget-head { position: relative; z-index: 3; display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; margin-bottom: 11px; }
  .news-widget-head h3 { margin: 1px 0 0; max-width: none; }
  .news-eyebrow { font: 800 .66rem 'Space Grotesk',sans-serif; text-transform: uppercase; letter-spacing: .09em; opacity: .64; }
  .news-filters { display: flex; gap: 5px; flex-wrap: wrap; justify-content: flex-end; }
  .news-filter { padding: 6px 9px; border: 2px solid var(--ink); border-radius: 999px; background: rgba(255,255,255,.55); font: 800 .68rem 'Space Grotesk',sans-serif; cursor: pointer; }
  .news-filter.is-active { background: var(--ink); color: var(--white); box-shadow: 2px 2px 0 var(--yellow); }
  .news-ticker-viewport { overflow: hidden; border-radius: 25px; }
  .news-ticker-viewport:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }
  .news-ticker-track { display: block; }
  .news-ticker-track.is-changing .news-item { animation: newsSlideNext .48s cubic-bezier(.16,1,.3,1) both; }
  .news-ticker-track.is-changing[data-direction="previous"] .news-item { animation-name: newsSlidePrevious; }
  @keyframes newsSlideNext { from { opacity:0; transform: translateX(38px) rotate(1deg); clip-path: inset(0 0 0 22% round 16px); } to { opacity:1; transform:none; clip-path: inset(0 round 16px); } }
  @keyframes newsSlidePrevious { from { opacity:0; transform: translateX(-38px) rotate(-1deg); clip-path: inset(0 22% 0 0 round 16px); } to { opacity:1; transform:none; clip-path: inset(0 round 16px); } }
  .news-item { position: relative; overflow: hidden; text-decoration: none; min-height: 82px; padding: 12px 14px; }
  .news-item--featured { width: 100%; min-height: 144px; }
  .news-item-image { width: calc(100% + 28px); height: 70px; object-fit: cover; margin: -12px -14px 10px; border-bottom: 3px solid var(--ink); }
  .news-item--featured .news-item-image { height: 86px; }
  .news-item-image--report { height: 78px; }
  .news-item--featured .news-item-image--report { height: 92px; }
  .news-tag--social { background: var(--purple-deep); color: var(--ink); }
  .news-item--tiktok .news-tag--social { background: var(--ink); }
  .news-card-action { margin-top: auto; padding-top: 8px; font: 800 .7rem 'Space Grotesk',sans-serif; }
  .news-item:hover .news-card-action span { display: inline-block; transform: translate(3px,-2px); }
  .news-slideshow-controls { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 10px; }
  .news-slide-button {
    display: grid; place-items: center; width: 38px; height: 38px; padding: 0;
    border: 2px solid var(--ink); border-radius: 50%; background: var(--cream); color: var(--ink);
    box-shadow: 2px 2px 0 var(--ink); font: 900 1rem 'Space Grotesk',sans-serif; cursor: pointer;
    transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
  }
  .news-slide-button:hover:not(:disabled) { transform: translate(-2px,-2px); background: var(--yellow); box-shadow: 4px 4px 0 var(--ink); }
  .news-slide-button:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
  .news-slide-button:disabled { opacity: .42; cursor: default; }
  .news-slide-counter { min-width: 48px; text-align: center; font: 800 .72rem 'Space Grotesk',sans-serif; }
  .news-footer { display: flex; align-items: center; justify-content: flex-end; gap: 12px; margin-top: 7px; }
  .btn-all-news[hidden] { display: none; }
  .news-empty { grid-column: 1/-1; padding: 40px 18px; border: 2px dashed var(--ink); border-radius: 22px; text-align: center; font-weight: 700; }

  @media (prefers-reduced-motion: reduce) {
    .meeting-countdown, .news-ticker-track.is-changing .news-item { animation: none; }
  }
  @media (max-width: 700px) {
    .meeting-countdown { right: -9px; }
    .news-widget-head { display: grid; }
    .news-filters { justify-content: flex-start; }
    .news-item--featured { grid-row: auto; min-height: 160px; }
    .news-footer { align-items: flex-end; }
  }

  /* SUBPAGE OVERLAY SYSTEM */
  .subpage-overlay {
    --popup-orb-one: var(--yellow);
    --popup-orb-two: var(--pastel-blue);
    --popup-shadow: var(--pink);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(67, 40, 24, 0.48);
    backdrop-filter: blur(10px);
    z-index: 99990; 
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    display: grid;
    place-items: center;
    padding: clamp(14px, 3vw, 30px);
  }
  .subpage-overlay.active {
    opacity: 1;
    visibility: visible;
  }
  
  .subpage-box {
    background:
      radial-gradient(circle clamp(150px, 25vw, 250px) at 106% -3%, var(--popup-orb-one) 0 99%, transparent 100%),
      radial-gradient(circle clamp(120px, 20vw, 190px) at -5% 103%, var(--popup-orb-two) 0 99%, transparent 100%),
      var(--cream);
    border: 4px solid var(--ink);
    border-radius: 32px;
    width: 100%;
    max-width: 700px;
    max-height: min(88vh, 900px);
    overflow: hidden;
    box-shadow:
      9px 9px 0 var(--popup-shadow),
      14px 14px 0 var(--ink),
      inset 0 0 0 5px rgba(255, 255, 255, 0.42);
    position: relative;
    transform: translateY(22px) scale(0.96) rotate(-0.4deg);
    transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .subpage-scroll {
    width: 100%;
    max-height: min(88vh, 900px);
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
    border-radius: 28px;
    padding: clamp(34px, 5vw, 52px);
  }
  .subpage-overlay.active .subpage-box {
    transform: translateY(0) scale(1) rotate(0);
  }
  .subpage-close {
    position: absolute;
    top: 18px;
    right: 18px;
    background: var(--cream);
    border: 3px solid var(--ink);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 3px 3px 0 var(--popup-shadow);
    z-index: 10;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  }
  .subpage-close:hover {
    background: var(--pink);
    color: var(--ink);
    transform: translate(-2px, -2px);
    box-shadow: 4px 4px 0 var(--ink);
  }
  .subpage-close:focus-visible {
    outline: 3px solid var(--maroon);
    outline-offset: 4px;
  }
  .subpage-back {
    position: absolute;
    top: 18px;
    left: 18px;
    z-index: 10;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 14px 8px 10px;
    border: 3px solid var(--ink);
    border-radius: 999px;
    background: var(--cream);
    color: var(--ink);
    box-shadow: 3px 3px 0 var(--popup-shadow);
    font: 700 .82rem/1 'Space Grotesk', sans-serif;
    cursor: pointer;
    animation: subpageBackIn .3s cubic-bezier(.34,1.56,.64,1) both;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  }
  .subpage-back[hidden] { display: none; }
  .subpage-back svg { width: 20px; height: 20px; transition: transform .2s ease; }
  .subpage-back:hover { transform: translate(-2px,-2px); box-shadow: 5px 5px 0 var(--ink); background: var(--pastel-yellow); }
  .subpage-back:hover svg { transform: translateX(-3px); }
  .subpage-back:focus-visible { outline: 3px solid var(--maroon); outline-offset: 4px; }
  .subpage-back:not([hidden]) ~ .subpage-scroll { padding-top: clamp(82px, 10vw, 96px); }
  @keyframes subpageBackIn { from { opacity: 0; transform: translateX(-12px) scale(.85); } }
  .subpage-scroll > h2,
  .subpage-scroll > .md-render h1 {
    max-width: calc(100% - 54px);
    letter-spacing: -0.035em;
    line-height: 1.05;
  }
  .subpage-scroll > .legal-kicker {
    margin-top: 6px;
  }
  .subpage-scroll > .md-render {
    position: relative;
    padding-top: 8px;
  }

  /* Aufklappbare Treffregeln im JuMi-Treff-Popup. */
  .popup-treffregeln {
    margin-top: 30px;
    border: 3px solid var(--ink);
    border-radius: 16px;
    background: rgba(255, 255, 255, .58);
    box-shadow: 5px 5px 0 var(--popup-shadow);
    overflow: hidden;
  }
  .popup-treffregeln summary {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 30px;
    align-items: center;
    gap: 13px;
    min-height: 76px;
    padding: 14px 16px;
    cursor: pointer;
    list-style: none;
    transition: background .2s ease;
  }
  .popup-treffregeln summary::-webkit-details-marker { display: none; }
  .popup-treffregeln summary:hover { background: var(--pastel-yellow); }
  .popup-treffregeln summary:focus-visible {
    outline: 3px solid var(--maroon);
    outline-offset: -6px;
  }
  .popup-treffregeln-icon {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 2px solid var(--ink);
    border-radius: 50%;
    background: var(--purple-deep);
    font-weight: 900;
  }
  .popup-treffregeln-summary { min-width: 0; }
  .popup-treffregeln-summary small {
    display: block;
    margin-bottom: 3px;
    color: var(--maroon);
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
  }
  .popup-treffregeln-summary strong {
    display: block;
    font: 700 clamp(1rem, 3vw, 1.18rem)/1.2 'Fredoka', sans-serif;
  }
  .popup-treffregeln-toggle {
    position: relative;
    width: 26px;
    height: 26px;
    border: 2px solid var(--ink);
    border-radius: 50%;
    background: var(--cream);
  }
  .popup-treffregeln-toggle::before,
  .popup-treffregeln-toggle::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 11px;
    height: 2px;
    border-radius: 2px;
    background: var(--ink);
    transform: translate(-50%, -50%);
    transition: transform .25s cubic-bezier(.16, 1, .3, 1);
  }
  .popup-treffregeln-toggle::after { transform: translate(-50%, -50%) rotate(90deg); }
  .popup-treffregeln[open] .popup-treffregeln-toggle::after { transform: translate(-50%, -50%) rotate(0); }
  .popup-treffregeln[open] summary { border-bottom: 2px solid var(--ink); background: var(--pastel-yellow); }
  .popup-treffregeln-body { padding: 20px 18px 18px; }
  .popup-treffregeln-lead {
    margin: 0 0 16px;
    font: 700 1.05rem/1.35 'Fredoka', sans-serif;
  }
  .popup-treffregeln ol { margin: 0; padding: 0; list-style: none; }
  .popup-treffregeln li {
    --rule-accent: var(--pink);
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 12px;
    padding: 13px 0;
    border-bottom: 1px solid rgba(67, 40, 24, .22);
  }
  .popup-treffregeln li:nth-child(3n + 2) { --rule-accent: var(--pastel-blue); }
  .popup-treffregeln li:nth-child(3n) { --rule-accent: var(--yellow); }
  .popup-treffregeln li:last-child { border-bottom: 0; }
  .popup-rule-number {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 2px solid var(--ink);
    border-radius: 50%;
    background: var(--rule-accent);
    font-size: .67rem;
    font-weight: 800;
  }
  .popup-treffregeln li strong {
    display: block;
    margin-bottom: 3px;
    font: 700 .98rem/1.25 'Fredoka', sans-serif;
  }
  .popup-treffregeln li p {
    margin: 0;
    color: var(--maroon);
    font-size: .88rem;
    line-height: 1.45;
  }
  .popup-treffregeln-thanks {
    margin: 16px 0 0;
    padding: 12px 14px;
    border-radius: 12px;
    background: var(--yellow);
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
  }
  .popup-schedule-cta {
    margin-top: 24px;
    text-align: center;
  }
  .popup-treffregeln[open] .popup-treffregeln-body {
    animation: popupRulesOpen .42s cubic-bezier(.16, 1, .3, 1) both;
  }
  .popup-treffregeln[open] li {
    animation: popupRuleIn .38s cubic-bezier(.16, 1, .3, 1) both;
    animation-delay: calc(var(--rule-index) * 42ms);
  }
  @keyframes popupRulesOpen {
    from { opacity: .35; clip-path: inset(0 0 100%); }
    to { opacity: 1; clip-path: inset(0); }
  }
  @keyframes popupRuleIn {
    from { opacity: .2; transform: translateX(-10px); }
    to { opacity: 1; transform: translateX(0); }
  }
  @media (prefers-reduced-motion: reduce) {
    .popup-treffregeln[open] .popup-treffregeln-body,
    .popup-treffregeln[open] li { animation: none; }
  }

  /* Solange ein Pop-up (Angebote, Berichte, Termine, ...) offen ist, verschwindet die
     schwebende Nav-Bubble komplett statt nur dahinter zu liegen (sie lag vorher sogar
     ueber dem Pop-up, weil ihr z-index hoeher war). */
  body.popup-open .bubble-menu,
  body.popup-open .bubble-menu-items {
    display: none !important;
  }

  @media (max-width: 600px) {
    .subpage-overlay { padding: 10px 10px 20px; }
    .subpage-box {
      border-width: 3px;
      border-radius: 24px;
      max-height: 90vh;
      box-shadow: 6px 6px 0 var(--popup-shadow), 10px 10px 0 var(--ink);
    }
    .subpage-scroll {
      max-height: 90vh;
      border-radius: 21px;
      padding: 30px 18px 34px 22px;
    }
    .subpage-scroll::-webkit-scrollbar-track { margin-block: 16px; }
    .subpage-close { top: 12px; right: 12px; }
  }
  
  /* Markdown Style Render */
  .md-render h1 { font-size: clamp(1.6rem, 5vw, 2.2rem); margin-bottom: 16px; color: var(--ink); font-family: 'Fredoka', sans-serif;}
  .md-render h2 { font-size: clamp(1.2rem, 4vw, 1.5rem); margin-top: 24px; margin-bottom: 12px; font-family: 'Fredoka', sans-serif;}
  .md-render p { font-size: 1.05rem; line-height: 1.6; margin-bottom: 16px; color: var(--maroon); }
  .md-render ul { margin-left: 20px; margin-bottom: 16px; }
  .md-render li { margin-bottom: 6px; font-size: 1.05rem; }
  .md-render blockquote { border-left: 4px solid var(--pink); padding-left: 14px; font-style: italic; margin: 16px 0; color: var(--ink); }
  .md-render .meta-info { font-weight: 700; color: var(--maroon); text-transform: uppercase; font-size: 0.8rem; margin-bottom: 8px; display: block; }
  .md-render a { color: var(--maroon); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
  .md-render a:hover { color: var(--coral); }
  .md-render img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 4px 0 20px;
    border: 3px solid var(--ink);
    border-radius: 16px;
    box-shadow: 5px 5px 0px var(--pink);
    object-fit: cover;
  }
  .social-cta-block {
    margin-top: 30px;
    padding-top: 26px;
    border-top: 3px dashed var(--ink);
  }
  .social-cta-block h2 { margin-top: 4px; }
  .social-cta-row,
  .social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
  }
  .social-round-link {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 16px 7px 7px;
    border: 3px solid var(--ink);
    border-radius: 999px;
    background: var(--cream);
    color: var(--ink);
    box-shadow: 4px 4px 0 var(--ink);
    font-weight: 700;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  }
  .social-round-icon {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--ink);
    border-radius: 50%;
    background: var(--pink);
  }
  .social-round-icon svg { width: 19px; height: 19px; }
  .social-round-link--tiktok .social-round-icon { background: var(--pastel-blue); }
  .social-round-link:hover { transform: translate(-3px,-3px) rotate(-1deg); box-shadow: 7px 7px 0 var(--purple-deep); background: var(--pastel-yellow); }
  .social-round-link--tiktok:hover { transform: translate(-3px,-3px) rotate(1deg); box-shadow: 7px 7px 0 var(--pastel-blue); }
  .social-round-link:focus-visible { outline: 3px solid var(--maroon); outline-offset: 4px; }
  @media (max-width: 600px) {
    .md-render img {
      border-radius: 12px;
      box-shadow: 4px 4px 0px var(--pink);
    }
  }

  /* Eigenständige Rechtsseiten (Impressum, Datenschutz) */
  .legal-page-header {
    position: relative;
    z-index: 1;
    padding: clamp(36px, 7vw, 72px) 24px 0;
  }
  .legal-back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--ink);
    transition: transform 0.2s;
  }
  .legal-back-link:hover {
    transform: translateX(-4px);
    color: var(--maroon);
  }
  .legal-page-main {
    position: relative;
    z-index: 1;
    padding: 32px 24px clamp(70px, 10vw, 110px);
    max-width: 860px;
  }
  body.legal-page--pink,
  body.legal-page--blue {
    background:
      radial-gradient(circle clamp(220px, 34vw, 520px) at 105% 7%, var(--yellow) 0 99%, transparent 100%),
      radial-gradient(circle clamp(170px, 25vw, 390px) at -7% 42%, var(--pink) 0 99%, transparent 100%),
      radial-gradient(circle clamp(190px, 27vw, 430px) at 105% 80%, var(--pastel-blue) 0 99%, transparent 100%),
      var(--cream);
    background-attachment: fixed;
  }
  .legal-page-main > .md-render {
    padding: clamp(26px, 6vw, 56px);
    border: 4px solid var(--ink);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 10px 10px 0 var(--pink), 14px 14px 0 var(--ink);
  }
  .legal-kicker {
    display: inline-block;
    margin-bottom: 14px;
    padding: 7px 13px;
    border: 2px solid var(--ink);
    border-radius: 999px;
    background: var(--yellow);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transform: rotate(-1.5deg);
  }
  .legal-intro {
    font-size: clamp(1.08rem, 2vw, 1.2rem) !important;
    color: var(--ink) !important;
  }
  @media (max-width: 600px) {
    .legal-page-main > .md-render {
      border-width: 3px;
      border-radius: 22px;
      box-shadow: 6px 6px 0 var(--pink), 9px 9px 0 var(--ink);
    }
  }

  /* Übersicht-Liste inside modal */
  .reports-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
  }
  .list-item {
    width: 100%;
    background: var(--cream);
    border: 3px solid var(--ink);
    padding: 16px;
    border-radius: 16px;
    cursor: pointer;
    box-shadow: 4px 4px 0px var(--pastel-blue);
    transition: var(--transition-smooth);
    color: var(--ink);
    font: inherit;
    text-align: left;
  }
  .list-item:hover {
    transform: translate(-3px, -3px);
    box-shadow: 7px 7px 0px var(--ink);
    background: var(--pastel-yellow);
  }
  .list-item:focus-visible { outline: 3px solid var(--maroon); outline-offset: 4px; }

  /* Termine Tabelle Style (RESTAURIERT) */
  .schedule-table-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-top: 16px;
  }
  .schedule-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 12px;
    min-width: 500px;
  }
  .schedule-table th {
    text-align: left;
    padding: 8px 16px;
    font-size: 0.9rem;
    text-transform: uppercase;
    opacity: 0.6;
  }
  .schedule-row {
    background: var(--cream);
  }
  .schedule-row td {
    padding: 16px;
    border-top: 3px solid var(--ink);
    border-bottom: 3px solid var(--ink);
    font-weight: 600;
  }
  .schedule-row td:first-child {
    border-left: 3px solid var(--ink);
    border-top-left-radius: 14px;
    border-bottom-left-radius: 14px;
    font-family: 'Fredoka', sans-serif;
    color: var(--maroon);
  }
  .schedule-row td:last-child {
    border-right: 3px solid var(--ink);
    border-top-right-radius: 14px;
    border-bottom-right-radius: 14px;
  }
  .schedule-row--next td {
    background: var(--yellow);
  }
  .schedule-row--next td:first-child {
    color: var(--ink);
  }
  .schedule-row .table-tag {
    background: var(--pastel-blue);
    padding: 4px 10px;
    border-radius: 6px;
    border: 1.5px solid var(--ink);
    font-size: 0.8rem;
  }

  /* About / Wir Section */
  .about-section {
    position: relative;
    padding: clamp(60px, 10vw, 120px) 0;
    background: var(--pastel-blue);
    border-top: 3px solid var(--ink);
    border-bottom: 3px solid var(--ink);
  }

  .about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
  }
  .illus {
    position: relative;
    height: clamp(340px, 45vw, 520px);
    border: 3px solid var(--ink);
    border-radius: 24px;
    background: var(--pastel-blue);
    overflow: hidden;
    width: 100%;
    box-shadow: 5px 5px 0 var(--ink);
    transform: rotate(-1.2deg);
    transition: var(--transition-smooth);
  }
  .illus:hover {
    transform: rotate(.4deg) translateY(-4px);
    box-shadow: 8px 8px 0 var(--purple-deep);
  }
  .illus img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    transition: transform .65s cubic-bezier(.22, 1, .36, 1);
  }
  .illus:hover img {
    transform: scale(1.025);
  }
  .illus-tag {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: var(--ink);
    color: var(--yellow);
    padding: 8px 16px;
    border-radius: 8px;
    font-family: 'Permanent Marker', 'Fredoka', sans-serif;
    font-weight: 400;
    font-size: 1rem;
    transform: rotate(-3deg);
  }
  .about-text p {
    font-size: clamp(1.05rem, 3vw, 1.2rem);
    line-height: 1.6;
    color: var(--ink);
  }
  .about-more-toggle {
    display: inline-block;
    margin-top: 24px;
    cursor: pointer;
  }
  .about-more-toggle.is-open {
    background: var(--pink);
  }
  .toggle-arrow {
    display: inline-block;
    margin-left: 2px;
    transition: transform .35s cubic-bezier(.34,1.56,.64,1);
  }
  .about-more-toggle.is-open .toggle-arrow {
    transform: rotate(90deg);
  }
  .about-more-toggle:hover .toggle-arrow {
    transform: translateX(3px);
  }
  .about-more-toggle.is-open:hover .toggle-arrow {
    transform: rotate(90deg) translateX(3px);
  }

  /* "Über uns"-Erweiterung: statt schlichter Textliste vier farbige Karten mit
     Icon, die beim Aufklappen gestaffelt einfliegen (gleiche Technik wie das
     Hamburger-Overlay und der JuMi Code). */
  .wir-more {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 22px;
    margin-top: 32px;
    padding-top: 32px;
    border-top: 2px dashed var(--ink);
  }
  .wir-more[hidden] { display: none; }
  .wir-more-card {
    padding: 26px 24px 22px;
    border: 3px solid var(--ink);
    border-radius: 22px;
    background: color-mix(in srgb, var(--wir-bg, var(--pink)) 30%, var(--cream));
    box-shadow: 4px 4px 0 var(--ink);
    opacity: 0;
    transform: translateY(16px);
    transition: transform .22s ease, box-shadow .22s ease;
  }
  .wir-more-card:hover {
    transform: translate(-3px, -3px);
    box-shadow: 7px 7px 0 var(--ink);
  }
  .wir-more.is-open .wir-more-card {
    animation: wirCardIn .5s cubic-bezier(.34,1.56,.64,1) forwards;
  }
  .wir-more.is-open .wir-more-card:nth-child(1) { animation-delay: .05s; }
  .wir-more.is-open .wir-more-card:nth-child(2) { animation-delay: .12s; }
  .wir-more.is-open .wir-more-card:nth-child(3) { animation-delay: .19s; }
  .wir-more.is-open .wir-more-card:nth-child(4) { animation-delay: .26s; }
  .wir-more.is-open .wir-more-card:nth-child(5) { animation-delay: .33s; }
  .wir-more.is-open .wir-more-card:nth-child(6) { animation-delay: .40s; }
  @keyframes wirCardIn {
    to { opacity: 1; transform: translateY(0); }
  }
  .wir-more-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-bottom: 14px;
    border: 3px solid var(--ink);
    border-radius: 50%;
    background: var(--cream);
    font-size: 1.6rem;
  }
  .wir-more-card h3 {
    font: 800 1.3rem 'Fredoka', sans-serif;
    margin-bottom: 8px;
  }
  .wir-more-card p {
    font-size: 0.95rem;
    line-height: 1.55;
    color: var(--ink);
  }
  .wir-more-card p + p { margin-top: 10px; }
  @media (prefers-reduced-motion: reduce) {
    .wir-more-card { opacity: 1; transform: none; }
    .wir-more.is-open .wir-more-card { animation: none; }
  }

  /* JuMi Code ("For You & Me") - Do's/Dont's, aufgeklappt in der Philosophie-Sektion.
     Listeneintraege animieren gestaffelt ein, sobald .is-open gesetzt wird
     (gleiche Technik wie beim Hamburger-Overlay: bubblePillIn + nth-child-Delays). */
  .jumi-code {
    margin-top: 32px;
    padding-top: 32px;
    border-top: 2px dashed var(--ink);
  }
  .jumi-code[hidden] { display: none; }
  .jumi-code-banner {
    padding: 24px 28px;
    border: 3px solid var(--ink);
    border-radius: 22px;
    background: var(--pink);
    box-shadow: 5px 5px 0 var(--ink);
    text-align: center;
    margin-bottom: 28px;
  }
  .jumi-code-banner h3 {
    font: 900 clamp(1.6rem, 4vw, 2.3rem) 'Fredoka', sans-serif;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
  }
  .jumi-code-banner p {
    font-size: 0.95rem;
    color: var(--ink);
    opacity: 0.85;
  }
  .jumi-code-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
  }
  .jumi-code-col {
    padding: 22px 24px;
    border: 3px solid var(--ink);
    border-radius: 20px;
    background: var(--cream);
    box-shadow: 4px 4px 0 var(--ink);
  }
  .jumi-code-col h4 {
    font: 800 1.3rem 'Fredoka', sans-serif;
    margin-bottom: 14px;
  }
  .jumi-code-col--do h4 { color: #3a7d44; }
  .jumi-code-col--dont h4 { color: #b5384a; }
  .jumi-code-col ul {
    list-style: none;
    display: grid;
    gap: 12px;
  }
  .jumi-code-col li {
    position: relative;
    padding-left: 32px;
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--ink);
    opacity: 0;
    transform: translateX(-10px);
  }
  .jumi-code-col li::before {
    position: absolute;
    left: 0;
    top: 0;
    font-weight: 900;
    font-size: 1.05rem;
  }
  .jumi-code-col--do li::before { content: '✓'; color: #3a7d44; }
  .jumi-code-col--dont li::before { content: '✕'; color: #b5384a; }
  .jumi-code.is-open li {
    animation: jumiCodeItemIn .45s cubic-bezier(.34,1.56,.64,1) forwards;
  }
  .jumi-code.is-open li:nth-child(1) { animation-delay: .04s; }
  .jumi-code.is-open li:nth-child(2) { animation-delay: .09s; }
  .jumi-code.is-open li:nth-child(3) { animation-delay: .14s; }
  .jumi-code.is-open li:nth-child(4) { animation-delay: .19s; }
  .jumi-code.is-open li:nth-child(5) { animation-delay: .24s; }
  .jumi-code.is-open li:nth-child(6) { animation-delay: .29s; }
  .jumi-code.is-open li:nth-child(7) { animation-delay: .34s; }
  .jumi-code.is-open li:nth-child(8) { animation-delay: .39s; }
  @keyframes jumiCodeItemIn {
    to { opacity: 1; transform: translateX(0); }
  }
  @media (prefers-reduced-motion: reduce) {
    .jumi-code-col li { opacity: 1; transform: none; }
    .jumi-code.is-open li { animation: none; }
  }
  .about-more {
    display: grid;
    gap: 26px;
    margin-top: 28px;
    padding-top: 28px;
    border-top: 2px dashed var(--ink);
  }
  .about-more[hidden] {
    display: none;
  }
  .downloads-list {
    display: grid;
    gap: 16px;
    max-width: 720px;
  }
  .download-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 22px;
    border: 3px solid var(--ink);
    border-radius: 18px;
    background: var(--cream);
    box-shadow: 4px 4px 0 var(--ink);
    color: var(--ink);
    transition: var(--transition-smooth);
  }
  .download-item:hover {
    transform: translate(-3px, -3px);
    box-shadow: 7px 7px 0 var(--ink);
    background: var(--yellow);
  }
  .download-icon {
    flex: none;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 2px solid var(--ink);
    border-radius: 50%;
    background: var(--yellow);
    font-weight: 900;
    font-size: 1.1rem;
  }
  .download-copy {
    display: grid;
    gap: 2px;
  }
  .download-copy small {
    color: var(--maroon);
  }
  .about-more-item h3 {
    font: 700 1.15rem 'Fredoka', sans-serif;
    margin-bottom: 6px;
  }
  /* Eine Textfarbe fuer normalen Fliesstext (--ink), damit es nicht wie zwei
     verschiedene "Arten" von Text wirkt. Das gedaempfte Blaugrau (--maroon)
     bleibt gezielt Zitaten und Q&A vorbehalten, siehe .pull-quote und die
     FAQ-Regel direkt darunter. */
  .about-more-item p {
    font-size: clamp(1.05rem, 3vw, 1.2rem);
    line-height: 1.6;
    color: var(--ink);
  }
  .pull-quote {
    color: var(--maroon);
    font-style: italic;
  }
  /* FAQ-Antworten duerfen kompakter bleiben als der uebrige Fliesstext und
     nutzen bewusst die gedaempfte Farbe, um sich vom Haupttext abzuheben. */
  .angebote .about-more-item p {
    font-size: 0.98rem;
    color: var(--maroon);
  }

  /* Orientierung auf Unterseiten: Breadcrumb zurueck zur Startseite. */
  .page-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    font-size: 0.92rem;
    font-weight: 700;
  }
  .page-breadcrumb .legal-back-link {
    font-size: inherit;
  }
  .page-breadcrumb .breadcrumb-sep {
    opacity: 0.5;
  }
  .page-breadcrumb .breadcrumb-current {
    color: var(--ink);
  }

  /* Angebote Section */
  .angebote {
    position: relative;
    padding: clamp(60px, 10vw, 120px) 0;
    background: var(--pink);
    border-bottom: 3px solid var(--ink);
  }
  
  .card-grid, .team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 32px;
  }
  
  .team-grid {
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 20px;
  }
  .team-cta {
    margin-top: 44px;
    padding: clamp(28px, 5vw, 44px);
    border: 3px solid var(--ink);
    border-radius: 28px;
    background: var(--yellow);
    box-shadow: 6px 6px 0 var(--ink);
    text-align: center;
  }
  .team-cta h3 {
    font: 700 clamp(1.6rem, 3vw, 2.1rem)/1.15 'Fredoka', sans-serif;
    margin-bottom: 10px;
  }
  .team-cta p {
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.6;
  }
  .team-cta a {
    font-weight: 700;
    text-decoration: underline;
  }

  .offer-card {
    background: var(--cream);
    border: 3px solid var(--ink);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 4px 4px 0px var(--ink);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    cursor: pointer; 
  }
  .offer-card:hover {
    transform: translate(-4px, -4px);
    box-shadow: 8px 8px 0px var(--yellow);
  }
  .photo-ph {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: var(--pink);
    border-bottom: 3px solid var(--ink);
  }
  .photo-ph::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 42%, rgba(37, 24, 16, .58) 100%);
    pointer-events: none;
  }
  .photo-ph img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .55s cubic-bezier(.22, 1, .36, 1), filter .55s ease;
  }
  .photo-ph--treff img { object-position: center 55%; }
  .photo-ph--socials img { object-position: center 38%; }
  .photo-ph--events img { object-position: center 48%; }
  .photo-ph span {
    position: absolute;
    z-index: 1;
    left: 16px;
    bottom: 14px;
    padding: 7px 12px;
    border: 2px solid var(--ink);
    border-radius: 999px;
    background: var(--cream);
    box-shadow: 3px 3px 0 var(--ink);
    color: var(--ink);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
  }
  .offer-card:hover .photo-ph img {
    transform: scale(1.055);
    filter: saturate(1.08);
  }
  .offer-card .body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
  }
  .tag-time {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--maroon);
    margin-bottom: 8px;
    text-transform: uppercase;
  }
  .offer-card h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
  }
  .offer-card p {
    font-size: 1rem;
    line-height: 1.5;
    color: var(--maroon);
    margin-bottom: 20px;
    flex-grow: 1;
  }
  .btn-mehr {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: var(--ink);
    transition: gap 0.2s;
  }
  .btn-mehr svg {
    width: 18px;
    height: 18px;
    transition: transform 0.2s;
  }
  .offer-card:hover .btn-mehr svg {
    transform: translateX(6px);
  }

  .philosophie {
    position: relative;
    padding: clamp(60px, 10vw, 120px) 0;
    background: var(--yellow);
    color: var(--ink);
    border-bottom: 3px solid var(--ink);
  }
  .philo-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
  }
  .philo-text p {
    font-size: clamp(1.1rem, 3vw, 1.3rem);
    line-height: 1.6;
    font-weight: 500;
  }

  .philo-img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 1.38 / 1;
    max-height: 420px;
    overflow: hidden;
    border: 3px solid var(--ink);
    border-radius: 24px;
    background: var(--cream);
    box-shadow: 4px 4px 0px var(--pink);
    transform: rotate(2deg);
    transition: var(--transition-smooth);
  }
  .philo-img-wrap:hover {
    transform: rotate(-1deg) scale(1.02);
    box-shadow: 6px 6px 0px var(--ink);
  }
  .philo-img-wrap img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform .6s cubic-bezier(.22, 1, .36, 1);
  }
  .philo-img-wrap:hover img {
    transform: scale(1.035);
  }
  .philo-img-wrap span {
    position: absolute;
    left: 18px;
    bottom: 16px;
    padding: 8px 14px;
    border: 2px solid var(--ink);
    border-radius: 999px;
    background: var(--cream);
    box-shadow: 3px 3px 0 var(--ink);
    font-family: 'Fredoka', sans-serif;
    font-weight: 700;
    font-size: clamp(.8rem, 2vw, 1rem);
  }

  #heroSection { border-bottom: 0; }
  .hero-pattern-world + .about-section { border-top: 0; }

  /* Team Section */
  .team {
    position: relative;
    padding: clamp(60px, 10vw, 120px) 0;
    background: var(--pastel-blue);
    border-bottom: 3px solid var(--ink);
  }
  
  .team-card {
    border: 3px solid var(--ink);
    border-radius: 24px;
    padding: 24px 20px;
    text-align: center;
    box-shadow: 4px 4px 0px var(--ink);
    transition: var(--transition-smooth);
    background: var(--cream);
    position: relative;
    z-index: 2;
  }
  .team-card:hover {
    transform: translateY(-6px);
    box-shadow: 8px 8px 0px var(--ink);
  }
  
  .avatar-ring {
    position: relative;
    width: clamp(110px, 16vw, 150px);
    height: clamp(110px, 16vw, 150px);
    margin: 0 auto 16px;
  }
  .avatar-ring::before,
  .avatar-ring::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 3px solid var(--pink);
    opacity: 0;
    pointer-events: none;
    z-index: 4;
  }
  .team-card.audio-playing .avatar-ring::before,
  .team-card.audio-playing .avatar-ring::after {
    animation: soundRing 1.3s ease-out infinite;
  }
  .team-card.audio-playing .avatar-ring::after {
    animation-delay: 0.55s;
    border-color: var(--coral);
  }
  @keyframes soundRing {
    0% {
      transform: scale(1) rotate(0deg);
      opacity: 0.9;
      border-radius: 50%;
    }
    35% {
      border-radius: 47% 53% 51% 49% / 53% 49% 51% 47%;
    }
    70% {
      border-radius: 53% 47% 49% 51% / 49% 53% 47% 51%;
    }
    100% {
      transform: scale(1.6) rotate(10deg);
      opacity: 0;
      border-radius: 50%;
    }
  }

  .avatar-wrap {
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    border: 4px solid var(--ink);
    overflow: hidden;
    background: var(--cream);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: transform 0.5s cubic-bezier(.16, 1, .3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
    box-shadow: 0 0 0 0 rgba(246, 43, 126, 0);
    z-index: 5;
  }
  .team-card:hover .avatar-wrap {
    transform: scale(1.12) rotate(-6deg);
    border-color: var(--pink);
    box-shadow: 0 0 0 6px var(--pastel-yellow), 0 0 26px 6px rgba(246, 43, 126, 0.45);
    animation: avatarPop 0.55s cubic-bezier(.16, 1, .3, 1);
  }
  @keyframes avatarPop {
    0% { transform: scale(1) rotate(0deg); }
    35% { transform: scale(1.2) rotate(-10deg); }
    65% { transform: scale(1.05) rotate(4deg); }
    100% { transform: scale(1.12) rotate(-6deg); }
  }
  /* Gewinnt gegen :hover per Reihenfolge, da beide Klassen gleichzeitig aktiv sind */
  .team-card.audio-playing .avatar-wrap {
    border-color: var(--coral);
    box-shadow: 0 0 0 6px var(--pastel-yellow), 0 0 30px 8px rgba(255, 90, 54, 0.5);
    animation: avatarBeat 0.6s ease-in-out infinite;
  }
  @keyframes avatarBeat {
    0%, 100% { transform: scale(1.12) rotate(0deg); }
    50% { transform: scale(1.2) rotate(0deg); }
  }
  .avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
  }
  .team-card:hover .avatar-img {
    filter: saturate(1.15);
  }

  .team-card .hover-hint {
    display: none;
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--yellow);
    color: var(--ink);
    font-size: 0.68rem;
    font-weight: 700;
    padding: 4px 11px;
    border-radius: 100px;
    border: 2px solid var(--ink);
    white-space: nowrap;
    pointer-events: none;
    z-index: 7;
  }
  .team-card .hover-hint::before {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 8px solid var(--ink);
  }
  .team-card .hover-hint::after {
    content: '';
    position: absolute;
    bottom: -4.5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 6px solid var(--yellow);
  }
  .team-card.has-audio .hover-hint {
    display: inline-block;
    animation: hintFloat 2.4s ease-in-out infinite;
  }
  .team-card.has-audio:hover .hover-hint {
    display: none;
  }
  @keyframes hintFloat {
    0%, 100% { transform: translateX(-50%) translateY(0) rotate(-2deg); }
    50% { transform: translateX(-50%) translateY(-5px) rotate(2deg); }
  }

  .team-card p {
    font-style: italic;
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 16px;
    color: var(--ink);
    font-weight: 500;
  }
  .team-card h4 {
    font-size: 1.2rem;
    margin-bottom: 4px;
  }
  .team-card span {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--maroon);
  }
  .team-card > span {
    display: inline-flex;
    align-items: center;
    align-self: center;
    min-height: 30px;
    padding: 5px 11px;
    border: 2px solid var(--ink);
    border-radius: 999px;
    background: var(--pink-light);
    color: var(--ink);
    box-shadow: 2px 2px 0 var(--ink);
    letter-spacing: .02em;
  }

  /* Footer-Bereich */
  footer {
    background: var(--yellow);
    color: var(--ink);
    border-top: 4px solid var(--ink);
    padding: clamp(50px, 8vw, 100px) 0 30px;
    position: relative;
    overflow: hidden;
    margin-top: auto;
  }
  /* Der Footer darf auf breiten Desktop-Screens ueber die sonst uebliche
     1200px-Inhaltsbreite hinaus atmen, statt schmal in der Mitte zu wirken.
     Etwas moderater als volle Bildschirmbreite, sonst wirkt die Mitte leer,
     weil Text/Karten ihre eigene Maximalbreite haben. */
  footer .wrap {
    max-width: min(94vw, 1500px);
  }
  footer .section-tag {
    background: var(--ink);
    color: var(--yellow);
  }
  footer h2 {
    color: var(--ink);
    font-size: clamp(1.8rem, 5vw, 2.9rem);
    margin-bottom: 18px;
  }
  .connect-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: clamp(40px, 6vw, 90px);
    margin-bottom: 40px;
  }
  footer p {
    font-size: 1rem;
    opacity: 0.9;
    line-height: 1.6;
    max-width: 500px;
  }
  .contact-list {
    margin-top: 24px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    max-width: 720px;
  }
  .contact-card {
    min-width: 0;
    min-height: 104px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    border: 3px solid var(--ink);
    border-radius: 18px;
    background: rgba(255,255,255,.55);
    box-shadow: 4px 4px 0 var(--ink);
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  }
  a.contact-card:hover,
  .contact-card--phone:hover {
    transform: translate(-2px, -2px);
    box-shadow: 7px 7px 0 var(--pink);
    background: var(--cream);
  }
  .contact-icon {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--ink);
    border-radius: 50%;
    background: var(--pink);
  }
  .contact-icon svg { width: 22px; height: 22px; }
  .contact-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
  }
  .contact-label {
    color: var(--maroon);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
  }
  .contact-copy strong {
    overflow-wrap: anywhere;
    font-size: clamp(.95rem, 2vw, 1.12rem);
  }
  .contact-card--phone {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .contact-phone-link {
    display: flex;
    align-items: center;
    gap: 14px;
  }
  .phone-availability {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 7px;
    margin-left: 58px;
    padding: 5px 9px;
    border: 1.5px solid var(--ink);
    border-radius: 999px;
    background: var(--pastel-yellow);
    font-size: .7rem;
    font-weight: 700;
    line-height: 1.2;
  }
  .availability-dot {
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
    border-radius: 50%;
    background: var(--pastel-blue);
    box-shadow: 0 0 0 2px var(--ink);
  }
  footer .social-links {
    grid-column: 1 / -1;
    padding: 8px 2px 0;
  }
  .contact-card:focus-visible,
  .contact-phone-link:focus-visible,
  .social-links a:focus-visible {
    outline: 3px solid var(--maroon);
    outline-offset: 3px;
  }
  .connect-side {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-self: start;
  }
  .partner-note {
    background: linear-gradient(135deg, var(--pastel-yellow), var(--cream));
    color: var(--ink);
    border: 3px solid var(--ink);
    padding: 24px;
    border-radius: 20px;
    font-size: 1rem;
    line-height: 1.5;
    box-shadow: 4px 4px 0px var(--ink);
    position: relative;
    z-index: 2;
  }
  .partner-link {
    font-weight: 700;
    color: var(--maroon);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.2s;
  }
  .partner-link:hover {
    color: var(--coral);
  }
  .partner-logos {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 2px dashed var(--ink);
  }
  .partner-logos img {
    height: 36px;
    width: auto;
    max-width: 140px;
    object-fit: contain;
    transition: var(--transition-smooth);
  }
  .partner-logos a:hover img {
    transform: scale(1.05);
  }

  .footer-downloads-box {
    background: var(--cream);
    color: var(--ink);
    border: 3px solid var(--ink);
    padding: 24px;
    border-radius: 20px;
    box-shadow: 4px 4px 0px var(--ink);
    position: relative;
    z-index: 2;
  }
  .footer-downloads-label {
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    opacity: 0.75;
  }
  .footer-downloads-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 10px 0 10px;
  }
  .footer-download-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px 8px 8px;
    border: 2px solid var(--ink);
    border-radius: 999px;
    background: var(--cream);
    color: var(--ink);
    font-size: 0.85rem;
    font-weight: 700;
    box-shadow: 3px 3px 0 var(--ink);
    transition: var(--transition-smooth);
  }
  .footer-download-item:hover {
    transform: translate(-2px, -2px);
    box-shadow: 5px 5px 0 var(--ink);
    background: var(--yellow);
  }
  .footer-download-item .download-icon {
    width: 24px;
    height: 24px;
    font-size: 0.85rem;
    border-width: 2px;
  }
  .footer-downloads-empty {
    opacity: 0.75;
    font-size: 0.9rem;
    margin: 14px 0 12px;
  }
  .footer-downloads-all {
    font-weight: 700;
    text-decoration: underline;
  }

  .footer-legal-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 50px;
    padding-top: 24px;
  }
  .footer-legal-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px;
    font-size: 0.85rem;
    font-weight: 600;
  }
  .footer-legal-links .footer-link {
    opacity: 0.75;
  }
  .footer-legal-links .footer-link:hover {
    opacity: 1;
    color: var(--maroon);
  }
  .footer-copyright {
    opacity: 0.6;
    font-size: 0.85rem;
    font-weight: 600;
  }

  /* RISIWORKS WORDMARK "POWERED BY" */
  .powered-by {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-smooth);
  }
  .powered-by:hover {
    transform: translateY(-2px);
  }
  .powered-by-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.6;
  }
  .logo {
    font-family: 'Archivo', 'Fredoka', sans-serif;
    font-weight: 900;
    line-height: 1;
    white-space: nowrap;
  }
  .logo__risi {
    color: var(--ink);
  }
  .logo__works {
    color: #0439d9;
  }
  .logo__copyright {
    font-size: 0.32em;
    vertical-align: top;
    margin-left: 2px;
    opacity: 0.85;
    color: #0439d9;
  }
  .logo--footer {
    font-size: 1.1rem;
    letter-spacing: -0.01em;
  }

  /* RESPONSIVE LAYOUT MEDIA QUERIES */
  @media(max-width: 992px) {
    .about-grid, .connect-grid, .philo-grid, .hero-dashboard {
      grid-template-columns: 1fr;
      gap: 32px;
    }
    .hero-dashboard {
      grid-template-areas: "meeting" "news";
      grid-template-rows: auto;
    }
    .footer-legal-bar {
      flex-direction: column;
      justify-content: center;
      align-items: center;
      text-align: center;
    }
    .footer-legal-links {
      justify-content: center;
    }
    .translate-wrapper {
      position: absolute;
      top: 24px;
      left: 24px;
      right: auto;
    }
  }

  @media(max-width: 620px) {
    .contact-list { grid-template-columns: 1fr; }
    .social-links { grid-column: auto; }
  }
  @media(max-width: 576px) {
    /* Kompaktere Variante statt komplett auszublenden: "Für Eltern" ist sonst
       auf dem Handy nirgends direkt sichtbar (nur versteckt im Hamburger-Menü). */
    .hero-actions { gap: 10px; margin-bottom: 26px; padding: 0 6px; }
    .hero-actions .btn-primary,
    .hero-actions .btn-ghost { min-height: 48px; padding: 12px 18px; font-size: 0.9rem; }

    /* Hero füllt den ganzen ersten Screen - Dashboard (Nächster Treff/Aktuelles) erscheint erst nach dem Scrollen. */
    .hero {
      min-height: 100svh;
      padding: 0 0 40px;
    }
    .hero .wrap {
      justify-content: flex-start;
    }
    .hero-intro {
      width: 100%;
      min-height: 100svh;
      box-sizing: border-box;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      padding: 70px 0 32px;
    }
    .hero-shape--pink { width: 250px; top: -75px; right: -125px; }
    .hero-shape--blue { width: 230px; left: -145px; bottom: 24%; }
    .hero-shape--yellow,
    .hero-shape--lilac,
    .hero-float-tag--two,
    .hero-float-tag--three { display: none; }
    .hero-float-tag--one { top: 92px; left: 16px; }
    .hero-kicker { margin-bottom: 20px; font-size: .68rem; }
    .hero-slogan {
      gap: 4px;
      font-size: clamp(1.7rem, 8.4vw, 2.65rem);
      line-height: .95;
    }
    .hero-signoff {
      flex-wrap: wrap;
      gap: 7px;
      margin-bottom: 14px;
      font-size: clamp(2.35rem, 11vw, 3.45rem);
    }
    .hero-signoff .jumi-wordmark-logo { height: 1.18em; }
    .lead { max-width: 34ch; font-size: .98rem; }
    .hero-dashboard { margin-top: 12px; gap: 26px; }
    .meeting-column { display: block; }
    .clock-date-widget {
      min-height: 286px;
      margin-bottom: 20px;
      padding: 48px 14px 22px;
      border-radius: 28px;
    }
    .scroll-container {
      --wheel-size: clamp(88px, 23.5vw, 94px);
      --wheel-stop: calc(var(--wheel-size) * -3);
      --wheel-overshoot: calc(var(--wheel-size) * -3 - 15px);
      --wheel-settle: calc(var(--wheel-size) * -3 + 9px);
      gap: 6px;
    }
    .wheel-list li { font-size: 1.58rem; }
    .scroll-wheel.wide .wheel-list li { font-size: 1.12rem; }
    .news-widget {
      min-height: 0;
      margin-inline: -4px;
      padding: 20px 0 18px;
      border-radius: 26px;
      box-shadow: 7px 7px 0 var(--yellow), 10px 10px 0 var(--ink);
    }
    .news-widget-head { gap: 12px; margin: 0 16px 14px; }
    .news-widget-head h3 { font-size: 1.45rem; }
    .news-filters {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      width: 100%;
      gap: 6px;
    }
    .news-filter {
      min-height: 44px;
      padding: 7px 6px;
      font-size: .65rem;
      white-space: nowrap;
    }
    .news-ticker-viewport { overflow: hidden; border-radius: 0; touch-action: pan-y; }
    .news-ticker-track {
      display: block;
      width: auto;
      padding: 2px 16px 7px;
    }
    .news-item,
    .news-item--featured {
      width: 100%;
      min-height: 174px;
      max-height: 270px;
      padding: 14px 15px;
      border-radius: 16px;
    }
    .news-item--featured { grid-row: auto; justify-content: flex-start; }
    .news-item-image,
    .news-item--featured .news-item-image,
    .news-item-image--report,
    .news-item--featured .news-item-image--report {
      width: calc(100% + 30px);
      height: 88px;
      margin: -14px -15px 10px;
    }
    .news-item h4,
    .news-item--featured h4 { font-size: .98rem; line-height: 1.14; }
    .news-item p { display: none; }
    .news-meta { margin-bottom: 6px; }
    .news-card-action { padding-top: 6px; }
    .news-slide-button { width: 44px; height: 44px; }
    .news-footer { margin: 8px 16px 0; }
    .btn-all-news { min-height: 44px; }


    /* Sprachwahl + Hamburger sitzen unten rechts nebeneinander statt übereinander. */
    .menu-toggle {
      position: fixed;
      top: auto;
      bottom: calc(16px + env(safe-area-inset-bottom, 0px));
      right: 16px;
      width: 48px;
      height: 48px;
      padding: 12px;
    }
    .translate-wrapper {
      position: fixed;
      top: auto;
      left: auto;
      bottom: calc(20px + env(safe-area-inset-bottom, 0px));
      right: 76px;
      transform: none;
      z-index: 99999;
    }

    /* JuMi-Wortmarke im Hero auf eigene Zeile, etwas tiefer und grösser */
    .hero h1 {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 10px;
    }
    .jumi-wordmark-logo {
      height: 1.7em;
      margin-top: 6px;
      transform: none;
    }

    /* Lade-Screen: "Jugend" / "&" / "Migration" stehen auf eigenen Zeilen (statt
       nebeneinander abgeschnitten zu werden). Sobald sie zu "Ju"/"Mi" weggewischt
       sind, lösen sie sich weich auf und machen Platz für das echte, grosse
       "JuMi"-Wort - garantiert ohne jede Lücke, weil es echte Buchstaben
       nebeneinander sind statt zusammengeschobene Fragmente. */
    .loading-screen {
      padding: 0 12px;
    }
    .lp-row {
      flex-direction: column;
      align-items: center;
      justify-content: center;
      white-space: normal;
      font-size: clamp(2.2rem, 15vw, 4.5rem);
      gap: 0.3em;
    }
    .loading-screen.lp-playing .lp-left {
      animation: lpDropInTop 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
    }
    .loading-screen.lp-playing .lp-right {
      animation: lpDropInBottom 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
    }
    @keyframes lpDropInTop {
      from { transform: translateY(-36px); opacity: 0; }
      to { transform: translateY(0); opacity: 1; }
    }
    @keyframes lpDropInBottom {
      from { transform: translateY(36px); opacity: 0; }
      to { transform: translateY(0); opacity: 1; }
    }
    /* "&" schrumpft in der Höhe statt in der Breite, damit sich die Zeile darüber
       und darunter beim Verschwinden vertikal schliessen. */
    .loading-screen.lp-playing .lp-amp {
      animation: lpAmpCollapseMobile 1.35s ease-in-out both;
    }
    @keyframes lpAmpCollapseMobile {
      0% { opacity: 0; max-height: 1.8em; }
      41% { opacity: 0; }
      52% { opacity: 1; }
      63% { opacity: 1; max-height: 1.8em; }
      100% { opacity: 0; max-height: 0; margin: 0; }
    }
    /* Sobald "Ju"/"Mi" gepoppt sind (ab 1.35s, wie die bestehende Pop-Animation),
       löst sich die gestapelte Zeile weich auf ... */
    .loading-screen.lp-playing .lp-row {
      animation: lpRowDissolve 0.5s ease-in 1.4s both;
    }
    @keyframes lpRowDissolve {
      to { opacity: 0; transform: scale(0.85); }
    }
    /* ... und das grosse, garantiert lückenlose "JuMi" poppt zentriert rein - nutzt
       den Screen voll aus, bleibt aber innerhalb der Ränder. */
    .lp-final.jumi-word-logo {
      display: flex;
      font-size: clamp(3.4rem, 22vw, 7rem);
    }
    .loading-screen.lp-playing .lp-final.jumi-word-logo {
      animation: lpFinalPopIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) 1.5s both;
    }
    @keyframes lpFinalPopIn {
      0% { opacity: 0; transform: scale(0.6); }
      70% { opacity: 1; transform: scale(1.08); }
      100% { opacity: 1; transform: scale(1); }
    }
    .jumi-select-box {
      font-size: 0.8rem;
      padding: 8px 30px 8px 12px;
      box-shadow: 3px 3px 0px var(--pastel-blue);
    }

    /* Termine-Popup: Tabelle wird zu gestapelten Karten statt seitlich
       scrollbarer Tabelle - jeder Termin bekommt eine eigene, übersichtliche Karte. */
    .schedule-table-wrapper {
      overflow-x: visible;
    }
    .schedule-table {
      min-width: 0;
      width: 100%;
      border-spacing: 0;
      display: block;
    }
    .schedule-table thead {
      display: none;
    }
    .schedule-table tbody {
      display: flex;
      flex-direction: column;
      gap: 14px;
    }
    .schedule-row {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 10px 16px;
      background: var(--cream);
      border: 3px solid var(--ink);
      border-radius: 16px;
      padding: 16px;
      box-shadow: 4px 4px 0px var(--ink);
    }
    .schedule-row--next {
      background: var(--yellow);
    }
    .schedule-row td {
      display: block;
      border: none !important;
      border-radius: 0 !important;
      padding: 0 !important;
      font-weight: 600;
      background: transparent !important;
      color: var(--ink) !important;
    }
    .schedule-row td::before {
      content: attr(data-label);
      display: block;
      font-size: 0.65rem;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      opacity: 0.55;
      font-weight: 700;
      margin-bottom: 3px;
    }
    .schedule-row td:nth-child(1) {
      grid-column: 1 / -1;
      font-family: 'Fredoka', sans-serif;
      font-size: 1.15rem;
    }
    .schedule-row td:nth-child(4) {
      grid-column: 1 / -1;
    }
  }

/* Liveboard-Finalisierung: steht bewusst nach allen responsiven Grundregeln. */
.hero-dashboard {
  grid-template-columns: minmax(330px, .92fr) minmax(0, 1.4fr);
  gap: 8px;
  padding: 8px;
  background: var(--ink);
  border-radius: 22px;
  box-shadow: 10px 10px 0 var(--pink);
}
.clock-date-widget,
.news-widget {
  min-height: 306px;
  border: 0;
  border-radius: 14px;
  box-shadow: none;
}
.clock-date-widget {
  padding: 64px 22px 20px;
  background: var(--pastel-blue);
  justify-content: flex-start;
}
.clock-date-widget:hover { transform: none; box-shadow: inset 0 0 0 4px var(--yellow); }
.meeting-widget-head .clock-date-label {
  top: 18px; left: 20px; transform: none;
  padding: 7px 13px; border-radius: 8px;
  background: var(--pink); color: var(--ink); box-shadow: none; letter-spacing: .02em;
}
.meeting-countdown { top: 17px; right: 18px; background: var(--yellow); box-shadow: none; }
.scroll-container { --wheel-size: 82px; gap: 10px; margin: 5px 0 14px; }
.scroll-wheel { border: 3px solid var(--ink); background: var(--cream); box-shadow: inset 0 0 0 6px var(--yellow); }
.program-tag { margin-top: 0; border: 0; background: var(--ink); color: var(--white); }
.time-badge { margin-top: 8px; border: 0; border-radius: 8px; background: transparent; padding: 2px 8px; font-size: .84rem; }
.meeting-open-hint { margin-top: auto; padding-top: 12px; border: 0; font-size: .76rem; }
.news-widget { padding: 18px; background: var(--cream); overflow: hidden; }
.news-widget-head { align-items: center; margin-bottom: 12px; }
.news-widget-head h3 { font-size: clamp(1.35rem, 2.3vw, 1.7rem); }
.news-filter { background: var(--white); border-width: 1.5px; }
.news-filter.is-active { background: var(--pink); color: var(--ink); box-shadow: none; }
.news-ticker-viewport { border-radius: 12px; }
.news-item,
.news-item--featured {
  min-height: 166px;
  display: grid;
  grid-template-columns: minmax(135px, .82fr) minmax(0, 1.18fr);
  grid-template-rows: auto auto 1fr auto;
  column-gap: 16px;
  align-items: start;
  padding: 14px;
  border: 0;
  border-radius: 12px;
  background: var(--pastel-yellow);
  box-shadow: none;
}
.news-item:not(:has(.news-item-image)) { grid-template-columns: 1fr; }
.news-item-image,
.news-item--featured .news-item-image,
.news-item-image--report,
.news-item--featured .news-item-image--report {
  grid-column: 1; grid-row: 1 / 5;
  width: 100%; height: 138px; margin: 0;
  border: 0; border-radius: 9px; object-fit: cover;
}
.news-item .news-meta { grid-column: 2; grid-row: 1; }
.news-item h4 { grid-column: 2; grid-row: 2; font-size: 1.1rem; line-height: 1.12; }
.news-item p { grid-column: 2; grid-row: 3; margin: 4px 0; font-size: .8rem; }
.news-item .news-card-action { grid-column: 2; grid-row: 4; }
.news-item:not(:has(.news-item-image)) > * { grid-column: 1; }
.news-item:hover { transform: none; background: var(--yellow); box-shadow: inset 0 0 0 3px var(--ink); }
.news-slideshow-controls { justify-content: flex-start; margin-top: 9px; }
.news-slide-button { width: 36px; height: 36px; border-radius: 8px; box-shadow: none; background: var(--white); }
.news-slide-button:hover:not(:disabled) { transform: none; background: var(--pink); box-shadow: none; }
.news-footer { margin-top: -36px; }

@media (max-width: 992px) {
  .hero-dashboard { grid-template-columns: 1fr; gap: 8px; }
  .clock-date-widget,
  .news-widget { min-height: 0; }
}

@media (max-width: 576px) {
  .hero-dashboard { margin-inline: -8px; padding: 6px; border-radius: 18px; box-shadow: 7px 7px 0 var(--pink); }
  .clock-date-widget { min-height: 300px; margin: 0; padding: 62px 12px 18px; border-radius: 12px; }
  .meeting-widget-head .clock-date-label { left: 14px; }
  .meeting-countdown { right: 12px; }
  .scroll-container { --wheel-size: clamp(88px, 23.5vw, 94px); gap: 5px; }
  .news-widget { margin: 0; padding: 16px 0 14px; border-radius: 12px; box-shadow: none; }
  .news-widget-head { margin: 0 14px 12px; }
  .news-item,
  .news-item--featured { display: flex; min-height: 212px; max-height: none; padding: 12px; border-radius: 10px; }
  .news-item-image,
  .news-item--featured .news-item-image,
  .news-item-image--report,
  .news-item--featured .news-item-image--report {
    width: calc(100% + 24px); height: 104px; margin: -12px -12px 10px; border-radius: 10px 10px 0 0;
  }
  .news-item .news-meta,
  .news-item h4,
  .news-item p,
  .news-item .news-card-action { grid-column: auto; grid-row: auto; }
  .news-item p { display: none; }
  .news-slideshow-controls { justify-content: center; }
  .news-slide-button { width: 44px; height: 44px; }
  .news-footer { margin: 8px 14px 0; }
}
