:root {
  --primary-red: #ff3b30; 
  --deep-red: #b91c1c; 
  --bg-color: #09090b; 
  --text-color: #ffffff; 
  --text-muted: #a1a1aa; 
  --glass-bg: rgba(20, 20, 25, 0.45); 
  --glass-border: rgba(255, 255, 255, 0.08); 
  --glass-highlight: rgba(255, 255, 255, 0.15); 
  --glass-shadow: 0 10px 40px rgba(0, 0, 0, 0.8); 
}

/* ==========================================
   GLOBALES SETUP & APP-FEELING
   ========================================== */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
    -webkit-tap-highlight-color: transparent; 
}

html, body { 
    width: 100%; 
    max-width: 100vw; 
    overflow-x: clip;
    scroll-behavior: smooth;
}

body { 
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; 
  background-color: var(--bg-color); 
  color: var(--text-color); 
  line-height: 1.6; 
  background-image: radial-gradient(circle at 15% 20%, rgba(255, 59, 48, 0.2), transparent 45%), 
                    radial-gradient(circle at 85% 80%, rgba(211, 47, 47, 0.15), transparent 45%); 
  background-attachment: fixed; 
}

/* Typografie: Schutz vor Worttrennungen mitten im Wort */
h1, h2, h3, h4 { 
    font-weight: 700; 
    letter-spacing: -0.02em; 
    line-height: 1.2; 
    hyphens: auto;
    -webkit-hyphens: auto;
}
h1 { font-size: 3.5rem; margin-bottom: 1rem; color: #ffffff; text-shadow: 0 2px 10px rgba(0,0,0,0.5); }
h2 { font-size: 2.2rem; margin-bottom: 1.5rem; }
p { color: var(--text-muted); }
a { text-decoration: none !important; color: var(--text-color); transition: color 0.3s ease; outline: none; }
a:hover { color: var(--primary-red); }

img, video { max-width: 100%; height: auto; object-fit: contain; }
table { width: 100%; max-width: 100%; border-collapse: collapse; }

/* ==========================================
   LOGO & NAVIGATION (DESKTOP)
   ========================================== */
.corner-logo { 
    position: absolute !important; 
    top: 80px !important; 
    left: 30px !important; 
    z-index: 10005 !important; 
    display: block !important; 
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    text-decoration: none !important;
    transition: transform 0.3s ease !important; 
}
.corner-logo:hover { transform: scale(1.05) !important; }
.corner-logo img { 
    height: 80px !important; width: auto !important; border: none !important; box-shadow: none !important; display: block !important; 
}

.cf-header-wrapper { 
    position: fixed !important; 
    top: 25px !important; 
    left: 50% !important; 
    transform: translateX(-50%) !important; 
    display: flex !important; 
    align-items: center !important; 
    gap: 10px !important; 
    z-index: 9999 !important; 
    pointer-events: none !important; 
    background: transparent !important; 
    border: 1px solid transparent !important; 
    border-radius: 50px !important; 
    padding: 0 !important; 
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1) !important; 
    width: calc(100% - 40px) !important; 
    max-width: 1400px !important; 
}
.cf-header-wrapper.scrolled { 
    top: 15px !important; 
    background: rgba(20, 20, 25, 0.6) !important; 
    backdrop-filter: blur(25px) !important; 
    -webkit-backdrop-filter: blur(25px) !important; 
    border: 1px solid rgba(255, 255, 255, 0.15) !important; 
    box-shadow: 0 15px 40px rgba(0,0,0,0.6) !important; 
    padding: 5px 8px !important; 
    pointer-events: auto !important; 
    width: max-content !important; 
}

.cf-spacer { flex-grow: 1 !important; width: auto !important; transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.1s !important; }
.scrolled .cf-spacer { flex-grow: 0 !important; width: 0 !important; }

.cf-pill { 
    flex-shrink: 0 !important; 
    background: var(--glass-bg) !important; 
    backdrop-filter: blur(20px) !important; 
    -webkit-backdrop-filter: blur(20px) !important; 
    border: 1px solid var(--glass-border) !important; 
    border-radius: 40px !important; 
    box-shadow: var(--glass-shadow) !important; 
    color: #ffffff !important; 
    pointer-events: auto !important; 
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1) !important; 
}
.scrolled .cf-pill { background: transparent !important; border-color: transparent !important; box-shadow: none !important; backdrop-filter: none !important; }

.cf-logo-box { max-width: 0 !important; opacity: 0 !important; overflow: hidden !important; transform: translateX(-20px) !important; transition: all 0.2s ease 0s !important; pointer-events: none; }
.scrolled .cf-logo-box { max-width: 50px !important; opacity: 1 !important; transform: translateX(0) !important; margin-left: 10px !important; pointer-events: auto; }
.cf-logo-box img { height: 35px !important; width: auto !important; display: block !important; }

/* Warnampel */
.cf-warning { padding: 6px 15px !important; display: flex !important; align-items: center !important; gap: 8px !important; font-size: 0.85rem !important; }
.pulsing-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.dot-green { background: #4caf50 !important; box-shadow: 0 0 12px #4caf50 !important; }
.dot-red { background: #d32f2f !important; box-shadow: 0 0 15px #d32f2f !important; animation: pulse 1.5s infinite !important; }
.warn-text { display: inline-block !important; max-width: 320px !important; white-space: nowrap !important; overflow: hidden; text-overflow: ellipsis; transition: all 0.4s ease; }
.scrolled .warn-text { max-width: 0 !important; opacity: 0 !important; margin-left: -10px !important; }

.cf-nav { padding: 4px 6px 4px 18px !important; display: flex !important; align-items: center !important; }
.cf-nav-brand a { color: #ffffff !important; font-weight: 800 !important; font-size: 1.05rem !important; white-space: nowrap; }
.cf-nav-links { display: flex !important; align-items: center !important; gap: 2px !important; }
.cf-nav-links a { color: #ffffff !important; font-size: 0.85rem !important; font-weight: 500 !important; padding: 6px 12px !important; border-radius: 20px !important; white-space: nowrap; }
.cf-nav-links a:hover { background: rgba(255, 255, 255, 0.15) !important; }
.cf-nav-links a.cf-notruf-btn { background: #d32f2f !important; font-weight: 700 !important; padding: 6px 14px !important; border-radius: 20px !important; margin-left: 5px; box-shadow: 0 4px 10px rgba(211, 47, 47, 0.3) !important; }
.cf-nav-links a.cf-notruf-btn:hover { background: #b71c1c !important; transform: scale(1.05) !important; }

/* Desktop Dropdown mit Maus-Hover */
.cf-dropdown { position: relative !important; }
.cf-dropdown-menu { 
    position: absolute !important; top: 100% !important; left: 50% !important; transform: translateX(-50%) translateY(15px) !important; 
    background: rgba(20, 20, 25, 0.85) !important; backdrop-filter: blur(25px) !important; -webkit-backdrop-filter: blur(25px) !important; 
    border: 1px solid var(--glass-border) !important; border-top: 1px solid var(--glass-highlight) !important; border-radius: 18px !important; 
    padding: 8px 0 !important; min-width: 200px !important; opacity: 0 !important; visibility: hidden !important; 
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important; display: flex !important; flex-direction: column !important; pointer-events: none; 
    box-shadow: var(--glass-shadow) !important;
}
.cf-dropdown:hover .cf-dropdown-menu { opacity: 1 !important; visibility: visible !important; transform: translateX(-50%) translateY(10px) !important; pointer-events: auto; }
.cf-dropdown-menu a { border-radius: 0 !important; padding: 9px 18px !important; text-align: left !important; }
.cf-dropdown-menu::before { content: ''; position: absolute; top: -20px; left: 0; width: 100%; height: 20px; background: transparent; }

.cf-mobile-btn { display: none !important; color: white !important; font-size: 1.4rem !important; cursor: pointer !important; padding: 4px 10px; user-select: none; }

/* Preloader */
#preloader { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background-color: var(--bg-color); z-index: 10000; display: flex; justify-content: center; align-items: center; transition: opacity 0.6s ease-out; }
.loader-logo { color: var(--primary-red); font-size: 2rem; font-weight: bold; animation: pulse 1.5s infinite; text-shadow: 0 0 20px rgba(255, 59, 48, 0.4); }
@keyframes pulse { 0% { opacity: 1; } 50% { opacity: 0.5; } 100% { opacity: 1; } }

/* ==========================================
   STARTSEITE (HERO & GLAS-WIDGETS)
   ========================================== */
.hero-home { 
    position: relative; 
    min-height: 100svh; 
    display: flex; 
    flex-direction: column; 
    justify-content: space-between; 
    padding-top: 140px; 
    padding-bottom: 40px; 
    box-sizing: border-box; 
    background-color: #09090b; 
}
.hero-bg-image { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(9, 9, 11, 0.95) 100%); z-index: 1; }

.hero-text-container { 
    position: relative; 
    z-index: 2; 
    text-align: center; 
    padding: 0 20px; 
    margin-bottom: 25px; 
}
.hero-text-container h1 { font-size: clamp(2.4rem, 4.5vw, 4.2rem); text-shadow: 2px 2px 12px rgba(0,0,0,0.7); }
.hero-text-container p { font-size: clamp(1rem, 1.6vw, 1.25rem); color: #e4e4e7; max-width: 650px; margin: 0 auto; text-shadow: 1px 1px 6px rgba(0,0,0,0.7); }

.widgets-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    width: 100%;
    padding: 0 4vw;
    box-sizing: border-box;
    position: relative;
    z-index: 10;
    margin-top: auto;
    gap: 20px;
}

.glass-box {
    background: rgba(20, 20, 25, 0.28);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-top: 1px solid rgba(255, 255, 255, 0.28);
    border-left: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 20px;
    padding: 22px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.5);
    width: 100%;
    max-width: 320px;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, border-color 0.3s ease;
}
.glass-box:hover { transform: translateY(-4px); border-color: rgba(255, 255, 255, 0.3); }

.live-badge {
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(211,47,47,0.2); border: 1px solid #d32f2f; color: #ffcccc; 
    padding: 4px 10px; border-radius: 14px; font-size: 0.68rem; font-weight: bold; text-transform: uppercase; 
    margin-bottom: 12px; width: fit-content;
}
.live-badge-verein { background: rgba(76, 175, 80, 0.2); border-color: #4caf50; color: #c8e6c9; }

.pulse-dot { width: 7px; height: 7px; background-color: #ff5252; border-radius: 50%; animation: pulseLive 2s infinite; }
.pulse-dot-green { background-color: #4caf50; animation: pulseLiveGreen 2s infinite; }

@keyframes pulseLive {
    0% { box-shadow: 0 0 0 0 rgba(255, 82, 82, 0.7); }
    70% { box-shadow: 0 0 0 7px rgba(255, 82, 82, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 82, 82, 0); }
}
@keyframes pulseLiveGreen {
    0% { box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.7); }
    70% { box-shadow: 0 0 0 7px rgba(76, 175, 80, 0); }
    100% { box-shadow: 0 0 0 0 rgba(76, 175, 80, 0); }
}

.widget-btn {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: white;
    padding: 9px 12px;
    border-radius: 10px;
    text-decoration: none;
    text-align: center;
    font-size: 0.82rem;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-top: auto;
}
.widget-btn:hover { background: rgba(255, 255, 255, 0.16); color: #ffffff; }

/* ==========================================
   LAYOUT, KACHELN & INHALT
   ========================================== */
.container { width: 100%; max-width: 1300px; margin: 0 auto; padding: 50px 30px; }
.grid-asymmetric { display: grid; grid-template-columns: repeat(12, 1fr); gap: 30px; width: 100%; }
.grid-item-large { grid-column: span 8; min-width: 0; }
.grid-item-small { grid-column: span 4; min-width: 0; }

.card { 
    background: var(--glass-bg); 
    backdrop-filter: blur(20px); 
    -webkit-backdrop-filter: blur(20px); 
    padding: 35px; 
    border-radius: 20px; 
    border: 1px solid var(--glass-border); 
    border-top: 1px solid var(--glass-highlight); 
    box-shadow: var(--glass-shadow); 
    display: flex; 
    flex-direction: column; 
    transition: transform 0.3s ease, border-color 0.3s ease; 
    width: 100%; 
    overflow: hidden; 
}
.card:hover { transform: translateY(-4px); border-color: rgba(255, 59, 48, 0.3); }

.safe-text-box { border-left: 4px solid var(--primary-red); padding: 25px; background: rgba(255, 59, 48, 0.05); border-radius: 0 14px 14px 0; margin: 15px 0; width: 100%; }

.pdf-btn-dark { display: block; padding: 14px 20px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 59, 48, 0.3); border-radius: 999px; color: #ffffff !important; text-align: center; font-weight: bold; margin-top: 10px; transition: all 0.3s ease; backdrop-filter: blur(10px); }
.pdf-btn-dark:hover { background: var(--primary-red); border-color: var(--primary-red); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(255, 59, 48, 0.4); }

.reveal { opacity: 0; transform: translateY(25px); transition: all 0.7s cubic-bezier(0.2, 0.8, 0.2, 1); }
.reveal.active { opacity: 1; transform: translateY(0); }

.consent-wrapper { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(20, 20, 25, 0.95); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 20px; z-index: 10; }
.consent-btn { background: var(--primary-red); color: #fff; border: 1px solid rgba(255,255,255,0.1); padding: 12px 24px; border-radius: 8px; cursor: pointer; font-weight: bold; font-size: 1rem; margin-top: 20px; transition: background 0.3s ease, transform 0.2s ease; box-shadow: 0 5px 15px rgba(211,47,47,0.3); }
.consent-btn:hover { background: var(--deep-red); transform: translateY(-2px); }

.site-footer { background: var(--glass-bg); backdrop-filter: blur(30px); -webkit-backdrop-filter: blur(30px); padding: 50px 30px; padding-bottom: calc(30px + env(safe-area-inset-bottom)); border-top: 1px solid var(--glass-border); margin-top: 50px; width: 100%; }
.footer-grid { max-width: 1300px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 30px; }
.footer-col h4 { margin-bottom: 15px; color: var(--text-color); font-size: 1.15rem; }
.footer-col a, .footer-col p { display: block; color: var(--text-muted); margin-bottom: 8px; font-size: 0.9rem; }
.footer-bottom { text-align: center; padding-top: 30px; margin-top: 30px; border-top: 1px solid var(--glass-border); font-size: 0.82rem; color: var(--text-muted); }

/* =========================================================
   TABLET & MOBILE: DAS KOMPAKTE, ECHTE GLAS-MENÜ
   Breakpoint: Bis 1250px (iPads, Tablets, Smartphones)
   ========================================================= */
@media (max-width: 1250px) {
  .corner-logo { display: none !important; }

  /* Skalierung auf Tablets */
  h1 { font-size: 2.5rem !important; line-height: 1.2 !important; }
  h2 { font-size: 1.8rem !important; }

  /* Die Leiste oben bleibt formstabil */
  .cf-header-wrapper,
  .cf-header-wrapper.scrolled { 
      top: 12px !important; 
      left: 0 !important; 
      right: 0 !important; 
      margin: 0 auto !important; 
      width: calc(100% - 24px) !important; 
      max-width: 620px !important; 
      transform: none !important; 
      background: transparent !important; 
      border: none !important; 
      box-shadow: none !important; 
      padding: 0 !important; 
      backdrop-filter: none !important; 
      -webkit-backdrop-filter: none !important; 
  }

  .cf-pill { 
      background: rgba(18, 18, 24, 0.82) !important; 
      backdrop-filter: blur(15px) !important;
      -webkit-backdrop-filter: blur(15px) !important;
  }
  .scrolled .cf-pill { 
      background: rgba(18, 18, 24, 0.92) !important; 
      border: 1px solid var(--glass-border) !important; 
      box-shadow: var(--glass-shadow) !important; 
  }

  .cf-nav { position: static !important; }
  .cf-mobile-btn { display: block !important; }

  /* DAS SCHWEBENDE GLAS-DROPDOWN:
     Feste Position rechts oben, kein horizontales Wackeln möglich
  */
  .cf-nav-links { 
      display: none !important; 
      position: fixed !important; 
      top: 65px !important; 
      right: 15px !important; 
      left: auto !important; 
      transform: none !important; 
      width: 300px !important; 
      max-width: calc(100vw - 30px) !important; 
      max-height: calc(100svh - 80px) !important; 
      overflow-y: auto !important; 
      overflow-x: hidden !important; /* Verhindert seitliches Scrollen komplett */
      -webkit-overflow-scrolling: touch; 

      background: rgba(14, 14, 18, 0.88) !important; 
      backdrop-filter: blur(30px) saturate(180%) !important; 
      -webkit-backdrop-filter: blur(30px) saturate(180%) !important; 
      border: 1px solid rgba(255, 255, 255, 0.12) !important; 
      border-top: 1px solid rgba(255, 255, 255, 0.28) !important; 
      border-radius: 20px !important; 
      box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8) !important; 
      
      flex-direction: column !important; 
      padding: 12px 10px !important; 
      gap: 2px !important; 
      z-index: 100000 !important; 
      pointer-events: auto !important; 
  }
  .cf-nav-links.active { display: flex !important; }

  .cf-dropdown { 
      width: 100% !important; 
      background: transparent !important; 
      border: none !important; 
      border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important; 
      border-radius: 0 !important; 
      padding: 4px 0 6px 0 !important; 
      margin-bottom: 2px !important; 
  }

  /* Rubrik-Überschriften */
  .cf-dropdown > a { 
      color: #ff5252 !important; 
      font-size: 0.7rem !important; 
      font-weight: 800 !important; 
      text-transform: uppercase !important; 
      letter-spacing: 0.8px !important; 
      padding: 4px 8px 2px 8px !important; 
      display: block !important; 
      pointer-events: none !important; 
  }

  /* WICHTIGSTE REPARATUR:
     Behebt die Schiebebewegung ins Leere! 
     Sowohl im Ruhezustand als auch bei Berührung (:hover / :active) 
     wird jede Verschiebung rigoros auf transform: none verriegelt.
  */
  .cf-dropdown-menu,
  .cf-dropdown:hover .cf-dropdown-menu,
  .cf-dropdown:active .cf-dropdown-menu { 
      position: static !important; 
      transform: none !important; /* Kein Wegschieben um -50% mehr */
      transition: none !important; 
      opacity: 1 !important; 
      visibility: visible !important; 
      background: transparent !important; 
      backdrop-filter: none !important; 
      -webkit-backdrop-filter: none !important; 
      border: none !important; 
      box-shadow: none !important; 
      padding: 0 !important; 
      min-width: 0 !important; 
      display: flex !important; 
      flex-direction: column !important; 
      gap: 1px !important; 
      pointer-events: auto !important; 
  }
  
  .cf-dropdown-menu a,
  .cf-nav-links a { 
      pointer-events: auto !important; 
      cursor: pointer !important; 
      touch-action: manipulation !important; 
  }

  /* Ruhiges Antippen: Reines Farb-Highlight statt seitlicher Bewegung */
  .cf-dropdown-menu a { 
      color: #f4f4f5 !important; 
      font-size: 0.88rem !important; 
      font-weight: 500 !important; 
      padding: 7px 10px !important; 
      border-radius: 8px !important; 
      display: flex !important; 
      align-items: center !important; 
      transform: none !important; 
      transition: background 0.15s ease !important; 
  }
  .cf-dropdown-menu a:hover, 
  .cf-dropdown-menu a:active { 
      background: rgba(255, 255, 255, 0.12) !important; 
      color: #ffffff !important; 
      transform: none !important; /* Verhindert das Wegrutschen des Links um 4px */
  }

  /* Einzel-Links (Intern, Mach mit) */
  .cf-nav-links > a:not(.cf-notruf-btn) { 
      color: #ffffff !important; 
      font-size: 0.88rem !important; 
      font-weight: 600 !important; 
      padding: 8px 10px !important; 
      border-radius: 8px !important; 
      background: transparent !important; 
      border: none !important; 
      border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important; 
      display: flex !important; 
      align-items: center !important; 
      transform: none !important; 
      transition: background 0.15s ease !important; 
  }
  .cf-nav-links > a:not(.cf-notruf-btn):hover,
  .cf-nav-links > a:not(.cf-notruf-btn):active { 
      background: rgba(255, 255, 255, 0.12) !important; 
      transform: none !important; 
  }

  /* Notruf-Button: Ruhig und stabil */
  .cf-nav-links a.cf-notruf-btn { 
      margin-top: 6px !important; 
      margin-left: 0 !important; 
      text-align: center !important; 
      justify-content: center !important; 
      display: flex !important; 
      padding: 9px !important; 
      font-size: 0.9rem !important; 
      border-radius: 10px !important; 
      background: #d32f2f !important; 
      box-shadow: 0 4px 14px rgba(211, 47, 47, 0.4) !important; 
      transform: none !important; 
  }
  .cf-nav-links a.cf-notruf-btn:hover,
  .cf-nav-links a.cf-notruf-btn:active { 
      transform: none !important; 
      background: #b71c1c !important; 
  }

  .hero-home { padding-top: 130px; padding-bottom: 35px; }
  .hero-text-container { margin-bottom: 20px; }
  .widgets-wrapper { padding: 0 3vw; gap: 15px; }
  .glass-box { max-width: 320px; padding: 18px; }
  .grid-asymmetric { display: flex; flex-direction: column; gap: 25px; }
}

/* =========================================================
   SMARTPHONE-OPTIMIERUNG (Bis 768px)
   ========================================================= */
@media (max-width: 768px) {
  h1 { 
      font-size: 1.85rem !important; 
      line-height: 1.2 !important; 
      margin-bottom: 0.6rem !important; 
  }
  h2 { 
      font-size: 1.45rem !important; 
      line-height: 1.25 !important; 
  }
  h3 { 
      font-size: 1.2rem !important; 
  }

  main.container { 
      margin-top: 85px !important; 
      padding-top: 15px !important; 
  }

  .cf-header-wrapper { top: 10px !important; width: calc(100% - 20px) !important; }
  .cf-warning { padding: 4px 10px !important; font-size: 0.72rem !important; max-width: 48% !important; }
  .warn-text { max-width: 120px !important; }
  .cf-nav { padding: 3px 6px 3px 12px !important; }
  .cf-nav-brand a { font-size: 0.9rem !important; }

  /* Menü-Position mobil */
  .cf-nav-links { 
      top: 58px !important; 
      right: 10px !important; 
      width: 280px !important; 
      padding: 10px 8px !important; 
  }

  .hero-home { padding-top: 100px; padding-bottom: 25px; min-height: auto; }
  .hero-text-container { margin-bottom: 18px; padding: 0 10px; }
  .hero-text-container h1 { font-size: 2.1rem !important; line-height: 1.15; margin-bottom: 6px; }
  .hero-text-container p { font-size: 0.88rem !important; line-height: 1.4; }

  .widgets-wrapper { flex-direction: column; align-items: center; gap: 12px; padding: 0 12px; }
  .glass-box { max-width: 100%; padding: 15px 16px; border-radius: 16px; background: rgba(18, 18, 22, 0.32); }
  .widget-einsatz { order: 1; }
  .widget-verein { order: 2; }

  .glass-box h3 { font-size: 1.15rem !important; margin-bottom: 6px !important; }
  .glass-box p { font-size: 0.82rem !important; margin-bottom: 10px !important; }
  .live-badge { margin-bottom: 8px; font-size: 0.62rem; padding: 3px 8px; }
  .widget-btn { padding: 8px 10px; font-size: 0.78rem; }
  
  .container { padding: 25px 15px; }
  .card { padding: 20px 16px; border-radius: 16px; }
  .safe-text-box { padding: 16px; font-size: 0.88rem; }
  .pdf-btn-dark, .consent-btn { padding: 11px 15px; font-size: 0.9rem; }
  .site-footer { padding: 35px 15px; }
}

@media (max-width: 400px) {
  .warn-text { max-width: 85px !important; }
  .cf-nav-brand a { font-size: 0.82rem !important; }
  .hero-text-container h1 { font-size: 1.85rem !important; }
  h1 { font-size: 1.65rem !important; }
  .cf-nav-links { width: calc(100vw - 20px) !important; }
}
/* Einheitliche, klickbare Checkboxen für alle Anträge */
.form-checkbox-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    cursor: pointer;
}

.custom-checkbox {
    width: 20px !important;
    height: 20px !important;
    min-width: 20px !important;
    min-height: 20px !important;
    max-width: 20px !important;
    max-height: 20px !important;
    accent-color: #d32f2f !important;
    cursor: pointer;
    margin-top: 3px !important;
    flex-shrink: 0 !important; /* Verhindert, dass das Kästchen bei langem Text zusammengedrückt wird */
}

.checkbox-label {
    color: #e4e4e7;
    font-size: 0.9rem;
    line-height: 1.5;
    cursor: pointer;
    user-select: none;
}