/* ========== Base ========== */
:root{
  --bg: #ffffff;
  --text: #101114;
  --muted: #5b616e;
  --line: #e7e9ee;

  --topbar-h: 64px;
  --footer-h: 75px;

  --ring-size: min(520px, 78vw);
  --item-size: 120px;

  --shadow: 0 10px 30px rgba(0,0,0,.08);
  --shadow2: 0 8px 24px rgba(0,0,0,.10);
  --radius: 16px;
}

*{ box-sizing: border-box; }

html, body { height: 100%; }

body{
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
}

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


/* ========== Skip Link ========== */
.skip-link{
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus{
  left: 12px;
  top: 12px;
  width: auto;
  height: auto;
  padding: 10px 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  z-index: 9999;
}


/* ========== Topbar ========== */
.topbar{
  position: sticky;
  top: 0;
  height: var(--topbar-h);
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  z-index: 50;
}
.topbar__inner{
  height: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  align-items: center;
}

.brand{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: .2px;
}

.brand__logo{
  width: 32px;
  height: 32px;
  display: block;
}

.brand__name{
  font-size: 18px;
}


/* ========== Layout ========== */
.main{
  min-height: calc(100vh - var(--topbar-h) - var(--footer-h));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 18px;
}

.hero{
  width: 100%;
  max-width: 1100px;
  display: grid;
  gap: 18px;
  justify-items: center;
  text-align: center;
}

.hint{
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}


/* ========== Circle Menu ========== */
.circleMenu{
  position: relative;
  width: var(--ring-size);
  height: var(--ring-size);
  margin: 10px 0 4px;
  user-select: none;
  touch-action: none;
}

.circleMenu__ring{
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background:
    radial-gradient(circle at center, rgba(0,0,0,.02) 0%, rgba(0,0,0,0) 62%),
    #fff;
}


/* Center button */
.circleMenu__center{
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 170px;
  height: 170px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow2);
  font-weight: 800;
  letter-spacing: .4px;
  cursor: pointer;
  display: grid;
  place-items: center;
  gap: 6px;
}

.circleMenu__center:active{
  transform: translate(-50%, -50%) scale(.99);
}

.circleMenu__centerHint{
  font-weight: 600;
  font-size: 12px;
  color: var(--muted);
}


/* Items */
.circleItem{
  position: absolute;
  left: 50%;
  top: 50%;
  width: var(--item-size);
  height: var(--item-size);
  margin-left: calc(var(--item-size) / -2);
  margin-top: calc(var(--item-size) / -2);
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
  display: grid;
  place-items: center;
  padding: 10px;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease;
  outline: none;
}

.circleItem:hover{
  box-shadow: 0 14px 36px rgba(0,0,0,.14);
}

.circleItem:focus-visible{
  outline: 3px solid rgba(0,0,0,.25);
  outline-offset: 2px;
}

.circleItem__label{
  font-weight: 700;
  font-size: 14px;
}

.circleItem__desc{
  margin-top: 4px;
  font-size: 12px;
  color: var(--muted);
}


/* ========== Footer ========== */
.footer{
  height: var(--footer-h);
  border-top: 1px solid var(--line);
  background: #fff;
}

.footer__inner{
  max-width: 1100px;
  height: 100%;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  align-items: center;
}

.footer__spacer{ flex: 1; }

.footer__right{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
}

.footer__link{
  color: var(--text);
  font-weight: 600;
}

.footer__sep{
  color: var(--line);
}


/* ========== Responsive ========== */
@media (max-width: 520px){
  :root{
    --item-size: 104px;
  }

  .circleMenu__center{
    width: 150px;
    height: 150px;
  }
}


/* ========== Cookie Banner ========== */
/* WICHTIG: Standardmäßig AUS, nur mit Klasse EIN */
.cookieBanner{
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #ffffff;
  border-top: 1px solid #e7e9ee;
  box-shadow: 0 -8px 24px rgba(0,0,0,.08);
  padding: 14px 18px;

  display: none; /* <-- entscheidend */
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  z-index: 9999;
}

.cookieBanner.cookieBanner--show{
  display: flex; /* <-- wird von JS gesetzt */
}

.cookieBanner__text{
  font-size: 14px;
  color: #5b616e;
}

.cookieBanner__actions{
  display: flex;
  gap: 10px;
}

.cookieBtn{
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px solid #e7e9ee;
  font-weight: 600;
  cursor: pointer;
  background: #fff;
}

.cookieBtn--primary{
  background: #101114;
  color: #fff;
  border-color: #101114;
}

.cookieBtn--ghost{
  background: #fff;
}
