:root{
  --p-950:#220a4a;
  --p-900:#2f0d62;
  --p-800:#4a1ea1;
  --p-700:#5b2dbb;
  --p-600:#6e3fe2;
  --p-500:#8b6bff;

  --bg:#f6f4fb;
  --card:#ffffff;
  --text:#1e1b2e;
  --muted:#6a667a;
  --border:rgba(30,20,60,.12);

  --radius:18px;
  --shadow:0 16px 42px rgba(35,15,85,.14);
  --maxw:1120px;
  --maxw-legal:980px;

  --header-h:74px;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  color:var(--text);
  background:
    radial-gradient(1000px 480px at 15% -10%, rgba(139,107,255,.22), transparent 62%),
    radial-gradient(900px 420px at 85% 10%, rgba(91,45,187,.16), transparent 60%),
    linear-gradient(180deg, #fff 0%, #fff 60%, var(--bg) 100%);
  line-height:1.55;
}

a{ color:inherit; text-decoration:none; }
a:focus{ outline:3px solid rgba(139,107,255,.35); outline-offset:3px; border-radius:12px; }

.wrap{ width:min(var(--maxw), calc(100% - 44px)); margin:0 auto; }
.wrap-legal{ width:min(var(--maxw-legal), calc(100% - 44px)); margin:0 auto; }

.skip-link{
  position:absolute; left:-999px; top:10px;
  padding:10px 14px; background:#fff; border:1px solid var(--border);
  border-radius:12px; z-index:9999;
}
.skip-link:focus{ left:12px; }

/* Sticky header */
header{
  position:sticky; top:0; z-index:50;
  height:var(--header-h);
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(12px) saturate(1.2);
  border-bottom: 1px solid var(--border);
}
.header-inner{
  height:100%;
  display:flex; align-items:center; justify-content:space-between;
  gap:14px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
}

.logo img {
  width: auto;
  max-width: 300px;
  object-fit: contain;
}

/* Brand */
.brand{
  display:flex; align-items:center; gap:12px;
  min-width: 240px;
}
.logo-ph{
  width:46px; height:46px;
  border-radius: 14px;
  border:2px dashed rgba(139,107,255,.75);
  background: rgba(245,241,255,.95);
  display:grid; place-items:center;
  color: var(--p-700);
  font-weight: 800;
  letter-spacing: .6px;
  flex:0 0 auto;
  user-select:none;
}
.brand-text{
  display:flex; flex-direction:column; gap:2px;
  min-width:0;
}
.brand-text strong{
  font-size:14px;
  letter-spacing:.2px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.brand-text span{
  font-size:12.5px;
  color:var(--muted);
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

/* Desktop nav (index) */
nav.desktop{
  display:flex; align-items:center; gap:8px;
  flex-wrap:wrap;
  justify-content:flex-end;
}
nav.desktop a{
  font-size:14px;
  padding:10px 12px;
  border-radius:999px;
  color:var(--muted);
  border:1px solid transparent;
}
nav.desktop a:hover{
  background: rgba(245,241,255,.9);
  border-color: rgba(139,107,255,.18);
  color: #24133f;
}

/* Mobile hamburger (index) */
.menu-btn{
  display:none;
  width:44px; height:44px;
  border-radius: 14px;
  border:1px solid rgba(139,107,255,.18);
  background: rgba(255,255,255,.92);
  cursor:pointer;
  align-items:center; justify-content:center;
}
.menu-btn svg{ width:22px; height:22px; fill: var(--p-700); }

/* Mobile drawer */
.drawer{
  display:none;
  position:fixed;
  inset: calc(var(--header-h) + 10px) 12px auto 12px;
  background: rgba(255,255,255,.96);
  border:1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 10px;
  z-index:60;
}
.drawer a{
  display:block;
  padding: 12px 12px;
  border-radius: 14px;
  color:#24133f;
  font-weight:650;
}
.drawer a:hover{ background: rgba(245,241,255,.9); }

/* Hero (index) */
.hero{ padding: 22px 0 8px; }
.hero-card{
  position:relative;
  border-radius: 26px;
  overflow:hidden;
  border:1px solid var(--border);
  box-shadow: var(--shadow);
  min-height: clamp(320px, 46vw, 450px);
  background: rgba(245,241,255,.75);
}
.hero-media{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  z-index:0;
}
.hero-content{
  position:relative;
  z-index:1;
  height:100%;
  padding: clamp(18px, 4.8vw, 48px);
  display:flex;
  align-items:flex-end;
}
.hero-box{
  max-width: 820px;
  background: rgba(0,0,0,.38);     /* ✅ neutraler Kontrast, kein Lila-Overlay */
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 22px;
  padding: 18px 18px 16px;
  backdrop-filter: blur(6px);
}
.hero h1{
  margin:0 0 8px;
  color:#fff;
  font-size: clamp(24px, 3.2vw, 36px);
  line-height:1.08;
  letter-spacing: -.5px;
}
.hero p{
  margin:0;
  color: rgba(255,255,255,.92);
  font-size: clamp(15px, 1.35vw, 18px);
}
.cta-row{
  margin-top: 14px;
  display:flex; flex-wrap:wrap; gap:10px;
}
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  padding: 12px 14px;
  border-radius: 14px;
  font-weight: 750;
  font-size: 14px;
  border:1px solid transparent;
  cursor:pointer;
  user-select:none;
  transition: transform .05s ease, filter .15s ease;
  white-space:nowrap;
}
.btn:active{ transform: translateY(1px); }
.btn-primary{
  background: linear-gradient(135deg, var(--p-700), var(--p-500));
  color:#fff;
  box-shadow: 0 14px 30px rgba(91,45,187,.25);
}
.btn-ghost{
  background: rgba(255,255,255,.14);
  border-color: rgba(255,255,255,.28);
  color:#fff;
}
.btn-secondary{
  background: rgba(245,241,255,.92);
  border:1px solid rgba(139,107,255,.22);
  color:#24133f;
}
.btn svg{ width:18px; height:18px; fill: currentColor; opacity:.95; }

/* Sections (index) */
main{ padding: 18px 0 54px; }
.section{
  margin-top: 18px;
  background: rgba(255,255,255,.88);
  border:1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 10px 22px rgba(20,10,40,.06);
  padding: 22px;
}
.section h2{
  margin:0 0 10px;
  font-size: 22px;
  color:#24133f;
  letter-spacing:-.2px;
}
.section p{ margin:0 0 10px; color: var(--muted); }

.welcome-grid{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 16px;
  align-items:stretch;
}
.note{
  border-radius: 16px;
  border:1px solid rgba(139,107,255,.18);
  background: rgba(245,241,255,.85);
  padding: 14px;
  color: var(--muted);
}

.hours-wrap{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.hours-card{
  border-radius: 18px;
  border: 1px solid rgba(139,107,255,.16);
  background: linear-gradient(135deg, rgba(245,241,255,.92), rgba(255,255,255,.86));
  padding: 16px;
}
.hours-card h3{ margin:0 0 10px; font-size: 18px; color:#24133f; }
.hours-list{
  list-style:none;
  padding:0; margin:0;
  display:grid;
  gap:10px;
}
.hours-item{
  display:flex; align-items:center; justify-content:space-between;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(20,10,40,.08);
  font-size: 14px;
  color:#24133f;
  font-weight:650;
}
.hours-item span{ color: var(--muted); font-weight:700; }

.alert{
  border-radius: 18px;
  border: 2px solid rgba(139,107,255,.28);
  background: rgba(245,241,255,.92);
  padding: 16px;
}
.alert h3{
  margin:0 0 6px;
  font-size: 18px;
  color:#24133f;
  display:flex; gap:10px; align-items:center;
}
.alert h3 svg{ width:20px; height:20px; fill: var(--p-600); }
.alert p{ margin:0; }

.services{
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 12px;
  margin-top: 10px;
}
.svc{
  grid-column: span 4;
  border-radius: 18px;
  border:1px solid rgba(20,10,40,.08);
  background: rgba(255,255,255,.92);
  padding: 14px;
  transition: transform .08s ease, box-shadow .18s ease;
}
.svc:hover{ transform: translateY(-1px); box-shadow: 0 18px 34px rgba(35,15,85,.10); }
.svc-top{ display:flex; gap:12px; align-items:flex-start; }
.icon{
  width:40px; height:40px;
  border-radius: 14px;
  border:1px solid rgba(139,107,255,.20);
  background: rgba(245,241,255,.9);
  display:grid; place-items:center;
  flex:0 0 auto;
}
.icon svg{ width:20px; height:20px; fill: var(--p-600); }
.svc h3{ margin:0; font-size: 16px; color:#24133f; }
.svc p{ margin:6px 0 0; color: var(--muted); font-size: 14px; }

.contact-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 10px;
}
.contact-tile{
  border-radius: 18px;
  border:1px solid rgba(20,10,40,.08);
  background: rgba(255,255,255,.92);
  padding: 14px;
}
.contact-tile b{ display:block; margin-bottom: 6px; color:#24133f; }
.contact-tile a, .contact-tile span{ color: var(--muted); }

.map-shell{
  border-radius: 18px;
  overflow:hidden;
  border:1px solid rgba(20,10,40,.10);
  background: rgba(245,241,255,.65);
  min-height: 320px;
  position:relative;
  margin-top: 12px;
}
.map-overlay{
  position:absolute; inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 18px;
  text-align:center;
}
.map-overlay .box{
  max-width: 560px;
  background: rgba(255,255,255,.92);
  border:1px solid rgba(20,10,40,.10);
  border-radius: 18px;
  padding: 14px;
  box-shadow: 0 12px 28px rgba(35,15,85,.10);
}

/* Legal pages */
.legal-main{ padding: 22px 0 56px; }
.card{
  background: rgba(255,255,255,.92);
  border:1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 10px 22px rgba(20,10,40,.06);
  padding: 22px;
  margin-top: 18px;
}
.card h1{ margin:0 0 6px; font-size: 28px; letter-spacing:-.2px; }
.card h2{ margin:18px 0 8px; font-size: 18px; color:#24133f; }
.card p, .card li{ margin: 0 0 10px; color: var(--muted); }
.card ul{ margin: 8px 0 12px 18px; }
code{ background: rgba(245,241,255,.95); padding:2px 6px; border-radius:10px; }
.hint{
  border:1px dashed rgba(139,107,255,.30);
  background: rgba(245,241,255,.85);
  border-radius: 14px;
  padding: 12px;
  color: var(--muted);
  margin: 12px 0 0;
}
.toplink{
  display:inline-flex; align-items:center; gap:10px;
  padding:10px 12px; border-radius:999px;
  border:1px solid rgba(139,107,255,.18);
  background: rgba(245,241,255,.85);
  text-decoration:none;
  font-weight:700;
  color:#24133f;
}

/* Footer (all) */
footer{
  margin-top: 24px;
  background: linear-gradient(135deg, var(--p-900), var(--p-700));
  color: rgba(255,255,255,.92);
  padding: 22px 0 30px;
}
.footer-inner{
  display:flex; flex-wrap:wrap; gap:12px;
  align-items:center; justify-content:space-between;
}
.footer-links{
  display:flex; gap:10px; flex-wrap:wrap;
}
.footer-links a, .footer-links button{
  color: rgba(255,255,255,.92);
  background: rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.18);
  border-radius: 14px;
  padding: 10px 12px;
  cursor:pointer;
  font: inherit;
}
.footer-links a:hover, .footer-links button:hover{ background: rgba(255,255,255,.16); }

/* Cookie banner (index) */
.cookie{
  position: fixed;
  left: 12px; right: 12px; bottom: 12px;
  z-index: 100;
  display:none;
}
.cookie-card{
  width: min(980px, 100%);
  margin: 0 auto;
  border-radius: 18px;
  border:1px solid rgba(20,10,40,.16);
  background: rgba(255,255,255,.94);
  box-shadow: 0 18px 44px rgba(20,10,40,.18);
  padding: 14px;
  backdrop-filter: blur(10px);
}
.cookie-card h3{ margin:0; font-size: 16px; color:#24133f; }
.cookie-card p{ margin: 6px 0 10px; color: var(--muted); font-size: 13.5px; }
.cookie-actions{ display:flex; flex-wrap:wrap; gap:10px; }
.cookie-actions .btn{ padding: 10px 12px; font-size: 13.5px; }

/* Responsive */
@media (max-width: 980px){
  .welcome-grid{ grid-template-columns: 1fr; }
  .hours-wrap{ grid-template-columns: 1fr; }
  .contact-grid{ grid-template-columns: 1fr; }
  .svc{ grid-column: span 6; }
}
@media (max-width: 720px){
  nav.desktop{ display:none; }
  .menu-btn{ display:inline-flex; }
  .svc{ grid-column: span 12; }
  .wrap, .wrap-legal{ width: calc(100% - 32px); }
  .brand{ min-width: 0; }
  .brand-text span{ display:none; }
}