:root {
  --bg: #111114;
  --bg2: #17171c;
  --card: #1d1d23;
  --line: #2c2c34;
  --text: #ececf1;
  --sub: #a3a3ae;
  --accent: #f08a68;
  --accent2: #b98cff;
  --green: #30d158;
  --orange: #ff9f0a;
  --radius: 20px;
  --max: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 17px/1.6 "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-family: "Segoe UI Variable Display", "Segoe UI", system-ui, sans-serif; line-height: 1.15; margin: 0; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.todo { background: #ffd60a; color: #111; padding: 0 4px; border-radius: 4px; font-weight: 600; }

/* ---------- Die Insel oben ---------- */
.island {
  position: fixed; top: 0; left: 50%; transform: translateX(-50%); z-index: 50;
  width: 168px; height: 40px; background: #000; border-radius: 0 0 20px 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .55);
  border: 0; padding: 0; cursor: pointer; color: #fff; font: inherit;
  transition: width .45s cubic-bezier(.3, 1.5, .5, 1), height .45s cubic-bezier(.3, 1.5, .5, 1), border-radius .45s;
}
.island::before, .island::after {   /* kleine „Ohren“ wie an der Kante angedockt */
  content: ""; position: absolute; top: 0; width: 12px; height: 12px;
  background: radial-gradient(circle at 100% 100%, transparent 11.5px, #000 12px);
}
.island::before { left: -12px; transform: scaleX(-1); }
.island::after { right: -12px; }
.island .clip { position: absolute; inset: 0; overflow: hidden; border-radius: inherit; }
.island canvas { position: absolute; left: 0; right: 0; top: 0; height: 40px; width: 100%; }
.island .hello { position: absolute; left: 0; right: 0; top: 46px; text-align: center; opacity: 0; transition: opacity .2s; padding: 0 18px; }
.island .hello b { display: block; font-size: 16px; }
.island .hello span { font-size: 13px; color: var(--sub); }
.island.open { width: 340px; height: 108px; border-radius: 0 0 30px 30px; }
.island.open .hello { opacity: 1; transition-delay: .2s; }
.island:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
@media (max-width: 600px) {
  .island { width: 136px; height: 34px; }
  .island canvas { height: 34px; }
  .island.open { width: 300px; height: 104px; }
}

/* ---------- Kopf ---------- */
.hero {
  position: relative; overflow: hidden; padding: 120px 0 40px; text-align: center;
  background:
    radial-gradient(ellipse 60% 50% at 75% 10%, rgba(240, 138, 104, .25), transparent 70%),
    radial-gradient(ellipse 60% 60% at 15% 30%, rgba(120, 90, 220, .30), transparent 70%),
    linear-gradient(180deg, #24203f 0%, var(--bg) 100%);
}
.hero .look { display: inline-flex; gap: 8px; align-items: center; font-size: 14px; color: var(--sub);
  border: 1px solid var(--line); background: rgba(255, 255, 255, .04); padding: 6px 14px; border-radius: 999px; }
.hero h1 { font-size: clamp(40px, 7vw, 76px); font-weight: 700; letter-spacing: -.02em; margin: 22px 0 14px; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--accent), var(--accent2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: clamp(18px, 2.2vw, 22px); color: #cfcfd8; max-width: 720px; margin: 0 auto; }
.cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin: 32px 0 10px; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 999px; font-weight: 600; font-size: 16px; }
.btn:hover { text-decoration: none; }
.btn.primary { background: #fff; color: #111; box-shadow: 0 8px 30px rgba(255, 255, 255, .15); }
.btn.primary:hover { background: #f2f2f6; }
.btn.ghost { color: #fff; border: 1px solid #3a3a46; }
.btn.ghost:hover { background: rgba(255, 255, 255, .06); }
.meta { color: var(--sub); font-size: 14px; margin: 6px 0 0; }
.shot { margin: 48px auto 0; max-width: 1000px; border-radius: 16px; overflow: hidden;
  box-shadow: 0 40px 100px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .06); }

/* ---------- Abschnitte ---------- */
section { padding: 96px 0 0; }
.kicker { color: var(--accent); font-weight: 600; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }
section h2 { font-size: clamp(30px, 4.4vw, 46px); margin: 8px 0 14px; letter-spacing: -.01em; }
section .intro { color: var(--sub); max-width: 680px; margin: 0 0 40px; font-size: 18px; }

.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.card .pic { background: linear-gradient(180deg, #2e2c4a, #6e5577); aspect-ratio: 16 / 9; display: flex; align-items: flex-start; justify-content: center; overflow: hidden; }
.card .pic img { width: 100%; height: 100%; object-fit: contain; object-position: center top; }
.card .txt { padding: 20px 22px 24px; }
.card h3 { font-size: 21px; margin-bottom: 6px; display: flex; align-items: center; gap: 10px; }
.card p { margin: 0; color: var(--sub); font-size: 15.5px; }
.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }

/* Animationen */
.styles { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.style { padding: 26px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.style .ico { font-size: 30px; }
.style h3 { font-size: 22px; margin: 10px 0 6px; }
.style p { margin: 0; color: var(--sub); font-size: 15.5px; }

/* Galerie: Raster mit großen und kleinen Kacheln */
.gallery { display: grid; gap: 16px; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-flow: dense; }
.tile { position: relative; display: block; border-radius: 16px; overflow: hidden; aspect-ratio: 16 / 10;
  background: linear-gradient(180deg, #2e2c4a, #6e5577); border: 1px solid var(--line); color: #fff; }
.tile.big { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.tile.big.right { grid-column: 2 / span 2; }
.tile img { width: 100%; height: 100%; object-fit: contain; transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.tile img.photo { object-fit: cover; }
.tile span { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 16px 12px; font-size: 14px; color: #e4e4ea;
  background: linear-gradient(transparent, rgba(0, 0, 0, .75)); opacity: .95; transition: opacity .2s; }
.tile.big span { font-size: 16px; padding: 40px 20px 16px; }
.tile:hover { text-decoration: none; border-color: #4a4a58; }
.tile:hover img { transform: scale(1.04); }
.tile:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
@media (max-width: 860px) {
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile.big, .tile.big.right { grid-column: span 2; grid-row: auto; aspect-ratio: 16 / 10; }
}
@media (max-width: 520px) {
  .gallery { grid-template-columns: 1fr; }
  .tile.big, .tile.big.right { grid-column: auto; }
}

dialog#lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh;
  display: none; align-items: center; justify-content: center; }
dialog#lightbox[open] { display: flex; }
dialog#lightbox::backdrop { background: rgba(8, 8, 12, .92); }
dialog#lightbox figure { margin: 0; max-width: min(92vw, 1500px); }
dialog#lightbox img { max-height: 84vh; width: auto; border-radius: 12px; margin: 0 auto; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
dialog#lightbox p { text-align: center; color: #ddd; margin: 12px 0 0; }
dialog#lightbox button { position: absolute; border: 0; background: rgba(255, 255, 255, .1); color: #fff; cursor: pointer;
  width: 48px; height: 48px; border-radius: 50%; font-size: 28px; line-height: 1; display: flex; align-items: center; justify-content: center; }
dialog#lightbox button:hover { background: rgba(255, 255, 255, .2); }
dialog#lightbox .prev { left: 20px; top: 50%; transform: translateY(-50%); }
dialog#lightbox .next { right: 20px; top: 50%; transform: translateY(-50%); }
dialog#lightbox .close { right: 20px; top: 20px; font-size: 18px; width: 40px; height: 40px; }
@media (max-width: 600px) { dialog#lightbox .prev, dialog#lightbox .next { top: auto; bottom: 20px; transform: none; } }

/* Schritte */
.steps { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); counter-reset: s; }
.step { padding: 26px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); position: relative; }
.step::before { counter-increment: s; content: counter(s); display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%; background: #fff; color: #111; font-weight: 700; margin-bottom: 14px; }
.step h3 { font-size: 20px; margin-bottom: 6px; }
.step p { margin: 0; color: var(--sub); font-size: 15.5px; }
.note { margin-top: 18px; color: var(--sub); font-size: 15px; }

/* Neuigkeiten */
.news { display: grid; gap: 16px; }
.release { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 26px; }
.release h3 { font-size: 20px; display: flex; gap: 12px; align-items: baseline; flex-wrap: wrap; }
.release h3 small { color: var(--sub); font-weight: 400; font-size: 14px; }
.release h3 .new { font-size: 12px; background: var(--accent); color: #111; padding: 2px 8px; border-radius: 999px; font-weight: 700; }
.release ul { margin: 10px 0 0; padding-left: 20px; color: #cfcfd8; font-size: 15.5px; }
.release li { margin: 4px 0; }
.release code { background: #2a2a33; padding: 1px 6px; border-radius: 5px; font-size: 14px; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: 18px 4px; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--sub); font-weight: 400; font-size: 24px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--sub); margin: 10px 0 0; max-width: 820px; }

/* Abschluss */
.final { text-align: center; padding: 110px 0 90px; }
.final h2 { font-size: clamp(30px, 4.4vw, 46px); }
footer { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--sub); font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
footer nav { display: flex; gap: 20px; }
footer a { color: var(--sub); }

/* Rechtstexte */
.legal { padding: 120px 0 60px; }
.legal .wrap { max-width: 820px; }
.legal h1 { font-size: 42px; margin-bottom: 26px; }
.legal h2 { font-size: 22px; margin: 34px 0 8px; }
.legal h3 { font-size: 18px; margin: 22px 0 6px; }
.legal p, .legal li { color: #cfcfd8; }
.legal .back { display: inline-block; margin-bottom: 26px; }
.release li.more { list-style: none; margin-left: -20px; color: var(--sub); }
.card .pic.zoom img { transform: scale(2.2); transform-origin: center top; }
.card .pic.zoom.small img { transform: scale(1.5); }
@media (max-width: 600px) { .hero .look .opt { display: none; } }
