:root { color-scheme: dark; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: radial-gradient(1200px 800px at 20% 20%, #2b1b2e 0%, #0b0b12 55%, #000 100%);
  color:#fff;
}

/* ===== Top Nav ===== */
.topnav{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10,10,18,.55);
  border-bottom: 1px solid rgba(255,255,255,.10);
  backdrop-filter: blur(10px);
}
.nav-inner{
  width: min(1100px, 92vw);
  margin: 0 auto;
  display:flex;
  align-items:center;
  justify-content: space-between;
  padding: 10px 0;
  gap: 12px;
}
.brand a{
  display:flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
  color:#fff;
  font-weight: 750;
  letter-spacing: .4px;
  font-size: 16px;
}
.brand small{
  opacity:.75;
  font-weight: 600;
  letter-spacing: .2px;
}

.menu{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  align-items:center;
  gap: 6px;
}
.menu > li { position: relative; }

.menu a{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 10px 12px;
  border-radius: 12px;
  color: rgba(255,255,255,.92);
  text-decoration:none;
  border: 1px solid transparent;
  white-space: nowrap;
  font-size: 14px;
}
.menu a:hover{
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.10);
}

/* Dropdown Head: Link + Toggle-Button (Reiter bleibt klickbar) */
.drop-head{
  display:flex;
  align-items:center;
  gap: 6px;
}

.drop-toggle{
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: transparent;
  color: rgba(255,255,255,.92);
  cursor: pointer;
  font-size: 12px;
  line-height: 1;
}
.drop-toggle:hover{
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.10);
}

/* Dropdown */
.dropdown-menu{
  position:absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 260px;
  background: rgba(15,15,25,.92);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  padding: 8px;
  box-shadow: 0 18px 60px rgba(0,0,0,.55);
  backdrop-filter: blur(12px);
  display:none;
}
.dropdown-menu a{
  width:100%;
  padding: 10px 10px;
  border-radius: 10px;
  border: 1px solid transparent;
}
.dropdown-menu a:hover{
  background: rgba(255,255,255,.07);
  border-color: rgba(255,255,255,.10);
}

/* Hover + Keyboard focus */
.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu{
  display:block;
}

/* JS Open (Mobile + Button Toggle) */
.dropdown.open .dropdown-menu{
  display:block;
}

/* Mobile toggle */
.nav-toggle{
  display:none;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color:#fff;
  cursor:pointer;
  font-weight: 650;
}

@media (max-width: 860px){
  .nav-toggle{ display:inline-flex; }

  .menu{
    position: absolute;
    left: 4vw;
    right: 4vw;
    top: 58px;
    display:none;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 10px;
    background: rgba(10,10,18,.88);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 16px;
    backdrop-filter: blur(10px);
  }
  .topnav.open .menu{ display:flex; }

  .dropdown-menu{
    position: static;
    display:none;
    min-width: auto;
    margin-top: 6px;
  }

  /* Hover nicht erzwingen auf Mobile */
  .dropdown:hover .dropdown-menu{ display:none; }

  .drop-head{
    width:100%;
    justify-content: space-between;
  }
  .drop-head > a{
    flex: 1;
  }
}

/* ===== Layout ===== */
.wrap{
  width: min(1100px, 92vw);
  margin: 18px auto 70px;
  display:grid;
  gap: 14px;
}

.card{
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  padding: 18px 18px;
  box-shadow: 0 12px 40px rgba(0,0,0,.35);
  backdrop-filter: blur(8px);
}

.grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 920px){
  .grid{ grid-template-columns: 1fr; }
}

h1,h2{ margin:0 0 8px; letter-spacing:.2px; }
h1{ font-size: 22px; }
h2{ font-size: 18px; }
p{ margin:0 0 10px; opacity:.92; line-height: 1.55; }
ul{ margin: 10px 0 0; padding-left: 18px; opacity:.92; line-height: 1.55; }
.muted{ opacity:.7; }
.mono{ font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }

a{ color:#ffb3d1; text-decoration:none; }
a:hover{ text-decoration:underline; }

.btn{
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.06);
  color:#fff;
  text-decoration:none;
  font-weight: 650;
  font-size: 14px;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  gap:10px;
}
.btn:hover{ background: rgba(255,255,255,.10); }
.btn.primary{
  border-color: rgba(255,179,209,.35);
  background: rgba(255,179,209,.12);
}

.chips{ display:flex; gap:10px; flex-wrap:wrap; }
.chip{
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  font-size: 13px;
  opacity:.95;
}

/* ===== Hero (nur Startseite) ===== */
.hero{
  width: min(1100px, 92vw);
  margin: 18px auto 0;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
  box-shadow: 0 20px 70px rgba(0,0,0,.55);
  overflow:hidden;
}
.hero-top{
  height: 520px; /* war 380px */
  background: url("../img/rosewood.png") center / contain no-repeat;
  position: relative;
}
.hero-top::after{
  content:"";
  position:absolute;
  inset:0;
  background: radial-gradient(500px 420px at 50% 45%, rgba(0,0,0,0) 0%, rgba(0,0,0,.35) 60%, rgba(0,0,0,.75) 100%);
}
.hero-bottom{
  padding: 18px 18px 20px;
  display:flex;
  gap: 12px;
  align-items:center;
  justify-content: space-between;
  flex-wrap: wrap;
}

/* ===== Page Header (Unterseiten) ===== */
.page-head{
  width: min(1100px, 92vw);
  margin: 18px auto 0;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
  padding: 18px;
  box-shadow: 0 14px 55px rgba(0,0,0,.45);
}
.page-head .title{
  display:flex;
  align-items:baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.badge{
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  font-size: 12px;
  opacity:.9;
}

.kv{
  display:grid;
  grid-template-columns: 140px 1fr;
  gap: 10px 12px;
  margin-top: 10px;
  font-size: 14px;
}
.kv div{
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.10);
}
.kv .k{ opacity:.75; font-weight: 650; }

footer{
  width:min(1100px, 92vw);
  margin: 0 auto 30px;
  opacity:.55;
  font-size: 12px;
  text-align:center;
}
