/* Gemeinsame Styles: Nav-Pill + Footer + Rechtstexte (Startseiten-Stil) */
:root{
  --ink:#0b1220;
  --muted:#5b6472;
  --hero1:#20B5E1;
  --hero2:#3F68AE;
  --section-bg:#f6f7f9;
  --max: 1180px;
  --pillTop: 26px;
  --pillPad: 8px;
  --shadow2: 0 12px 36px rgba(10,15,25,.10);
  --section-pad: 40px;
}
*{box-sizing:border-box}
html{
  scroll-behavior:smooth;
  scroll-padding-top: 92px;
}
@media (max-width: 740px){
  html{ scroll-padding-top: 108px; }
}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  color:var(--ink);
  background: var(--section-bg);
  overflow-x: hidden;
  padding-top: 0;
}
a{color:inherit; text-decoration:none}
.container{max-width:var(--max); margin:0 auto; padding:0 20px}

/* Floating pill (wie Index) */
.pillwrap{
  position: fixed;
  top: var(--pillTop);
  left: 50%;
  transform: translateX(-50%);
  z-index: 999;
  width: min(calc(100vw - 24px), 820px);
  display:flex;
  align-items: center;
  justify-content:center;
  gap: 8px;
  pointer-events:none;
}
.pillnav{
  pointer-events:auto;
  position:relative;
  display:flex;
  gap:6px;
  align-items:center;
  padding: var(--pillPad);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,.72), rgba(255,255,255,.32));
  border: 1px solid rgba(11,18,32,.10);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  box-shadow: var(--shadow2);
  user-select:none;
  touch-action: pan-y;
}
.pillnav a{
  position:relative;
  z-index:2;
  padding: 9px 14px;
  border-radius:999px;
  font-weight:900;
  font-size: 15px;
  letter-spacing: -0.01em;
  color: rgba(11,18,32,.72);
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  line-height:1;
  white-space:nowrap;
  outline: none;
  text-decoration: none;
}
.pillnav .indicator{
  position:absolute;
  top: var(--pillPad);
  bottom: var(--pillPad);
  left: 0;
  width:80px;
  border-radius:999px;
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(11,18,32,.08);
  box-shadow: 0 14px 30px rgba(10,15,25,.12);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transform: translateX(0);
  transition: transform .35s cubic-bezier(.2,.9,.2,1), width .35s cubic-bezier(.2,.9,.2,1), opacity .2s ease;
  z-index:1;
  will-change: transform, width;
  pointer-events:none;
  opacity: 0;
}
.pillnav .indicator.ready{ opacity: 1; }
.pillnav a[data-nav]{ min-width: 68px; }
.pillnav a.logoTab{
  min-width: 46px;
  padding: 8px 12px;
}
.pill-logo{ width:22px; height:22px; display:inline-block; }
.pill-logo img{ width:100%; height:100%; object-fit:contain; display:block; }
.pillnav a.shop{
  min-width: 86px;
  color:#fff;
  border:1px solid rgba(255,255,255,.22);
  background: linear-gradient(135deg, rgba(32,181,225,.98), rgba(63,104,174,.98));
  box-shadow: 0 20px 60px rgba(32,181,225,.22);
  padding: 9px 16px;
}
/* Mobile nav: hidden on desktop */
.mob-nav-wrap{ display: none; }

@media (max-width: 740px){
  :root{ --pillTop: 16px; }
  /* Pill nav is hidden — no body offset needed; mob-nav is fixed */
  body{ padding-top: 0; }
  /* Hide the pill nav — replaced by the mobile overlay */
  .pillwrap{ display: none !important; }

  /* Mob-nav button ends at ~62px+safe-area; bring content in close beneath it */
  html.lt-static-page main{
    padding-top: calc(env(safe-area-inset-top, 0px));
  }
  /* Tighten section top padding so heading sits near the button */
  section.legal-wrap{
    padding-top: calc(68px + env(safe-area-inset-top, 0px));
  }

  /* ---- Mobile floating logo button ---- */
  .mob-nav-wrap{
    display: block;
    position: fixed;
    top: calc(14px + env(safe-area-inset-top, 0px));
    right: max(16px, env(safe-area-inset-right, 0px));
    z-index: 9999;
  }
  .mob-nav-btn{
    width: 48px; height: 48px;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(255,255,255,.78), rgba(255,255,255,.42));
    border: 1px solid rgba(11,18,32,.10);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    box-shadow: 0 12px 36px rgba(10,15,25,.12);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; padding: 0;
    transition: transform .18s ease, box-shadow .18s ease;
    -webkit-tap-highlight-color: transparent;
  }
  .mob-nav-btn:active{ transform: scale(.92); box-shadow: 0 6px 18px rgba(10,15,25,.10); }
  .mob-nav-btn-logo{ width: 26px; height: 26px; object-fit: contain; display: block; pointer-events: none; }

  /* ---- Full-screen overlay ---- */
  .mob-nav-menu{
    position: fixed; inset: 0; z-index: 9998;
    background: linear-gradient(180deg, rgba(255,255,255,.72) 0%, rgba(255,255,255,.32) 100%);
    backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px);
    border-radius: 0; border: none; box-shadow: none;
    padding: calc(90px + env(safe-area-inset-top, 0px)) 36px max(40px, env(safe-area-inset-bottom, 0px));
    display: flex; flex-direction: column; justify-content: flex-start; gap: 0;
    overflow-y: auto;
    opacity: 0; pointer-events: none; transform: translateY(-12px);
    transition: opacity .26s ease, transform .30s cubic-bezier(.2,.9,.2,1);
  }
  .mob-nav-menu.open{ opacity: 1; pointer-events: auto; transform: translateY(0); }

  .mob-nav-link{
    display: block;
    font-size: clamp(20px, 6vw, 30px);
    font-weight: 950; letter-spacing: -.03em; line-height: 1.1;
    color: rgba(11,18,32,.88); text-decoration: none;
    padding: 10px 14px; border-radius: 14px;
    background: transparent;
    transition: opacity .12s ease, background .2s ease;
    -webkit-tap-highlight-color: transparent;
  }
  .mob-nav-link:active{ opacity: .45; }
  .mob-nav-link svg{ display: none; }

  .mob-nav-home{ display: flex; align-items: center; padding: 10px 14px; margin-bottom: 2px; }
  .mob-nav-home-logo{ width: 36px; height: 36px; object-fit: contain; display: block; }

  .mob-nav-shop{
    color: #fff;
    background: linear-gradient(135deg, rgba(32,181,225,.98), rgba(63,104,174,.98));
    box-shadow: 0 8px 28px rgba(32,181,225,.28);
    margin-top: 12px; display: inline-block;
  }
  .mob-nav-shop:active{ opacity: .85; }

  .mob-nav-btn-close{
    display: none;
    align-items: center; justify-content: center;
    line-height: 0;
  }
  .mob-nav-wrap.menu-open .mob-nav-btn-logo{ display: none; }
  .mob-nav-wrap.menu-open .mob-nav-btn-close{ display: flex; }
  .mob-nav-wrap.menu-open .mob-nav-btn{ z-index: 9999; position: relative; }
}

html.lt-static-page main{
  padding: 82px 0 0;
  padding-bottom: 0;
}

section.legal-wrap{
  background: var(--section-bg);
  padding: 20px 0 clamp(40px, 6vw, 72px);
}
.legal-head{
  margin-bottom: 28px;
}
.legal-head h1{
  margin:0;
  font-size: clamp(34px, 3.6vw, 52px);
  letter-spacing:-.02em;
  font-weight: 980;
  color: var(--ink);
}
.legal-prose{
  font-size: 15px;
  line-height: 1.65;
  color: rgba(11,18,32,.88);
  max-width: 820px;
}
.legal-prose p{ margin: 0 0 1em; }
.legal-prose h2{
  font-size: 1.15rem;
  font-weight: 900;
  margin: 2em 0 0.75em;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.legal-prose h2:first-child{ margin-top: 0; }
.legal-prose h3{
  font-size: 1.05rem;
  font-weight: 880;
  margin: 1.5em 0 0.6em;
  color: var(--ink);
}
.legal-prose h4{
  font-size: 0.95rem;
  font-weight: 850;
  margin: 1.25em 0 0.5em;
  color: var(--muted);
}
.legal-prose ul, .legal-prose ol{
  margin: 0 0 1em 1.25em;
  padding: 0;
}
.legal-prose li{ margin: 0.35em 0; }
.legal-prose a{
  color: var(--hero2);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.legal-prose a:hover{ color: var(--hero1); }
.legal-prose .legal-meta{
  font-size: 13px;
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 1.5em;
}

/* Footer (wie Index) */
footer{
  margin-top: clamp(48px, 8vw, 96px);
  padding: 52px 0 26px;
  background: linear-gradient(135deg, var(--hero1) 0%, var(--hero2) 100%);
  border-top: none;
  color: rgba(255,255,255,.95);
}
.footer-top{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}
.footer-brand img{
  height: 36px;
  width: auto;
  display: block;
  opacity: .95;
}
.footer-socials{
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-social-link{
  display: block;
  text-decoration: none;
  transition: transform .15s ease, opacity .15s ease;
  flex-shrink: 0;
}
.footer-social-link:hover{ transform: scale(1.10); opacity: .9; }
.footer-social-link--disabled{
  opacity: .45;
  cursor: default;
}
.footer-social-link--disabled:hover{
  transform: none;
  opacity: .45;
}
.footer-si-wrap{
  position: relative;
  width: 40px; height: 40px;
}
.footer-si-avatar{
  width: 40px; height: 40px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  background: #fff;
  box-shadow: 0 0 0 2.5px #fff;
}
.footer-si-platform{
  position: absolute;
  bottom: -2px; right: -2px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 1.5px #fff;
  object-fit: cover;
  display: block;
}
@media (max-width: 480px){
  footer{ padding: 36px 0 22px; margin-top: clamp(32px, 6vw, 48px); }
  .footer-bottom{ gap: 4px 8px; font-size: 11px; }
}
.footer-bottom{
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 10px;
  color: rgba(255,255,255,.50);
  font-weight: 800;
  font-size: 12px;
  text-align: center;
}
.footer-bottom a{ color: rgba(255,255,255,.65); text-decoration: none; transition: color .15s ease; }
.footer-bottom a:hover{ color: #fff; }

.shop-wrap{
  position: relative;
}
