/* ✅ Fix: verhindert weißen Abstand zwischen Header und erstem Content auf Standardseiten */
    .site-content,
    .site-content .ast-container,
    .site-content .ast-container-fluid,
    .ast-separate-container .ast-article-single,
    .ast-separate-container .ast-article-post,
    .ast-separate-container .site-main {
      padding-top: 0 !important;
      margin-top: 0 !important;
    }

    /* ✅ Falls Gutenberg/Blocks oben Margin geben */
    .entry-content > :first-child {
      margin-top: 0 !important;
    }

    /* Consent Mode & Cookie Banner */
    #cookie-banner { position: fixed; bottom: 0; left: 0; width: 100%; background: #002e47; color: #fff; display: flex; align-items: center; justify-content: space-between; padding: 0 20px; box-shadow: 0 -4px 10px rgba(0,0,0,0.2); font-family: "Segoe UI", Arial, sans-serif; z-index: 9999; opacity: 0; transform: translateY(100%); transition: all 0.4s ease; }
    #cookie-banner.show { opacity: 1; transform: translateY(0); }
    #cookie-banner p { margin: 0; font-size: 0.9rem; }
    #cookie-banner a { color: #e30613; text-decoration: underline; }
    .cookie-btn { padding: 8px 16px; margin-left: 10px; border-radius: 20px; font-size: 0.9rem; cursor: pointer; transition: all 0.2s ease; }
    .cookie-btn.accept { background-color: #e30613; color: #fff; border: none; }
    .cookie-btn.decline { background: transparent; border: 1px solid #e30613; color: #e30613; }
    .cookie-btn:focus { outline: 2px dashed #e30613; outline-offset: 2px; }
    #cookie-settings-btn { position: fixed; bottom: 30px; left: 20px; background: transparent; color: #e30613; border: none; font-size: 1.5rem; cursor: pointer; z-index: 9999; padding: 0; display: flex; align-items: center; justify-content: center; }
    #cookie-settings-btn:hover { transform: scale(1.1); }
    #cookie-settings-btn {
      position: fixed;
      bottom: 20px;
      left: 20px;
      width: 52px;
      height: 52px;
      border-radius: 50%;
      background: transparent; /* ❌ kein Grün mehr */
      border: none;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: none; /* ❌ kein Schatten */
      transition: transform 0.2s ease, opacity 0.2s ease;
      z-index: 9999;
      padding: 0;
    }

    #cookie-settings-btn:hover {
      transform: scale(1.08);
    }

    #cookie-settings-btn.hidden {
      opacity: 0;
      pointer-events: none;
    }

:root{
    --ds-red:#9b1c1f;
    --ds-green:#1f8f3a;
    --ds-green-dark:#17722d;
    --ds-text:#151515;
    --ds-muted:#6b6b6b;
    --ds-border:#e8e8e8;
    --ds-shadow: 0 10px 30px rgba(0,0,0,.12);
  }

  /* Header */
  .ds-header{
    position: sticky;
    top: 0;
    z-index: 9999;
    background:#fff;
    border-bottom:1px solid var(--ds-border);
  }
  .ds-header__inner{
    max-width: 1100px;
    margin: 0 auto;
    padding: 12px 14px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap: 12px;
  }
  .ds-logo img{ height: 60px; width:auto; display:block; }

  /* Actions (rechts) */
  .ds-actions{
    display:flex;
    align-items:center;
    gap: 10px;
    flex-shrink: 0;
  }

  /* Animated Call Button (Header) */
  .ds-call{
    position: relative;
    display:flex;
    align-items:center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 999px;
    text-decoration:none;
    background: #fff;
    border:1px solid var(--ds-border);
    color: var(--ds-text);
    box-shadow: 0 6px 18px rgba(0,0,0,.08);
    overflow: hidden;
  }
  .ds-call__icon{
    width: 34px;
    height: 34px;
    border-radius: 999px;
    display:grid;
    place-items:center;
    background: var(--ds-green);
    color:#fff;
    position: relative;
    z-index: 1;
  }
  .ds-call__text{
    font-weight: 800;
    letter-spacing: .2px;
    font-size: 14px;
    white-space: nowrap;
    position: relative;
    z-index: 1;
  }
  .ds-call__pulse{
    position:absolute;
    left: 12px;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: rgba(31,143,58,.22);
    animation: dsPulse 1.35s ease-out infinite;
  }
  @keyframes dsPulse{
    0%{ transform: scale(1); opacity: .85; }
    100%{ transform: scale(2.25); opacity: 0; }
  }
  .ds-call:active{ transform: translateY(1px); }

  /* Mobile Menü Button */
  .ds-menuBtn{
    appearance:none;
    border:none;
    background:transparent;
    display:flex;
    align-items:center;
    gap: 10px;
    cursor:pointer;
    padding: 10px 10px;
    border-radius: 10px;
    color: var(--ds-red);
    font-weight: 900;
  }
  .ds-menuBtn__label{ font-size: 16px; }
  .ds-burger{
    width: 22px;
    height: 14px;
    position: relative;
    display:inline-block;
  }
  .ds-burger::before,
  .ds-burger::after{
    content:"";
    position:absolute;
    left:0;
    right:0;
    height:2px;
    background: var(--ds-red);
    border-radius: 10px;
    transition: .25s ease;
  }
  .ds-burger::before{ top: 2px; }
  .ds-burger::after{ bottom: 2px; }

  /* Desktop Nav (standardmäßig aus) */
  .ds-desktop-nav{ display: none; }

  /* Overlay */
  .ds-overlay{
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.32);
    z-index: 9998;
    backdrop-filter: blur(2px);
  }

  /* Drawer */
  .ds-drawer{
    position: fixed;
    left: 50%;
    top: 0;
    transform: translateX(-50%) translateY(-16px);
    width: min(640px, calc(100vw - 26px));
    background: #fff;
    z-index: 9999;
    border-radius: 18px;
    box-shadow: var(--ds-shadow);
    border: 1px solid var(--ds-border);
    opacity: 0;
    pointer-events: none;
  }

  /* Open animation */
  .ds-drawer.is-open{
    opacity: 1;
    pointer-events: auto;
    animation: dsDrop .38s cubic-bezier(.2,.85,.25,1.1) forwards;
  }
  @keyframes dsDrop{
    0%{ transform: translateX(-50%) translateY(-18px); }
    65%{ transform: translateX(-50%) translateY(10px); }
    100%{ transform: translateX(-50%) translateY(0px); }
  }

  .ds-drawer__top{
    display:flex;
    align-items:center;
    justify-content:center;
    position: relative;
    padding: 16px 18px 10px;
  }
  .ds-drawer__logo img{
    height: 60px;
    width:auto;
    display:block;
  }

  /* Close */
  .ds-close{
    position:absolute;
    right: 14px;
    top: 12px;
    border: none;
    background: transparent;
    cursor: pointer;
    color: var(--ds-red);
    font-size: 34px;
    line-height: 1;
    padding: 6px 10px;
  }
  .ds-close:focus{ outline: none; }

  .ds-nav{
    list-style:none;
    margin: 8px 0 0;
    padding: 0 16px;
    text-align:center;
  }
  .ds-nav__link{
    display:block;
    padding: 12px 10px;
    text-decoration:none;
    color: var(--ds-text);
    font-weight: 800;
    font-size: 18px;
  }
  .ds-nav__link:active{ transform: translateY(1px); }
  .ds-nav__icon{ margin-right: 8px; color: var(--ds-red); }

  .ds-sep{
    height:1px;
    background: var(--ds-border);
    margin: 6px 0;
  }

  .ds-drawer__cta{
    margin-top: 8px;
    padding: 16px;
    border-top: 1px solid var(--ds-border);
    text-align:center;
  }
  .ds-ctaTitle{
    font-weight: 1000;
    color: var(--ds-red);
    font-size: 26px;
    margin-bottom: 4px;
  }
  .ds-ctaSub{
    font-weight: 700;
    color: var(--ds-muted);
    margin-bottom: 12px;
  }
  .ds-ctaBtn{
    display:flex;
    align-items:center;
    justify-content:center;
    gap: 10px;
    background: var(--ds-green);
    color:#fff;
    text-decoration:none;
    padding: 16px 14px;
    border-radius: 999px;
    font-weight: 900;
    font-size: 18px;
    box-shadow: 0 10px 22px rgba(31,143,58,.28);
  }
  .ds-ctaBtn:hover{ background: var(--ds-green-dark); }
  .ds-ctaBtn__icon{
    width: 38px;
    height: 38px;
    border-radius: 999px;
    background: rgba(255,255,255,.16);
    display:grid;
    place-items:center;
  }

  /* Mobile tweaks */
  @media (max-width: 420px){
    .ds-call__text{ display:none; }
    .ds-call{ padding: 10px; }
    .ds-call__pulse{ left: 10px; }
  }

  /* ===== DESKTOP: Hamburger AUS, horizontales Menü AN ===== */
  @media (min-width: 900px){
    /* Burger-Button verstecken */
    .ds-menuBtn{ display:none; }

    /* Desktop Nav anzeigen */
    .ds-desktop-nav{ display:block; }

    .ds-desktop-nav__list{
      display:flex;
      align-items:center;
      list-style:none;
      margin: 0;
      padding: 0;
      gap: 14px;
    }

    .ds-desktop-nav__list a{
      text-decoration:none;
      font-weight: 900;
      color: var(--ds-text);
      font-size: 15px;
      white-space: nowrap;
      padding: 6px 2px;
    }
    .ds-desktop-nav__list a:hover{
      color: var(--ds-red);
    }

    /* Trenner zwischen Menüpunkten */
    .ds-desktop-sep{
      width: 1px;
      height: 20px;
      background: var(--ds-border);
    }

    /* Drawer/Overlay auf Desktop sicher ausblenden (damit nix stört) */
    .ds-overlay{ display:none !important; }
    .ds-drawer{ display:none !important; }
  }