/* Magic Notes — Marketingseite
   Farben aus Icon und App: Indigo/Violett, Gold, Papierweiß. */

:root {
  --indigo-900: #140b33;
  --indigo-800: #1d1046;
  --indigo-700: #2d1580;
  --violet-500: #7b3fe4;
  --gold: #ffc940;
  --gold-deep: #d9ad33;
  --paper: #ffffff;
  --ink: #1c1c1f;
  --ink-soft: #55555c;
  --on-dark: #ece9ff;
  --on-dark-soft: #a79ecd;
  --line: rgba(255, 255, 255, 0.14);
  --radius: 18px;
  --wide: 1080px;
  --text: 720px;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto,
    "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.65;
  color: var(--on-dark);
  background: var(--indigo-900);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--gold); text-underline-offset: 3px; }
a:hover { color: #ffe08a; }

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.2rem, 5.2vw, 3.4rem); font-weight: 800; text-wrap: balance; }
h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 700; }

p { margin: 0 0 1em; }

.wrap { width: min(100% - 2.5rem, var(--wide)); margin-inline: auto; }
.narrow { width: min(100% - 2.5rem, var(--text)); margin-inline: auto; }

/* ---------- Kopfzeile ---------- */

.site-head {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(20, 11, 51, 0.82);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}

.site-head .wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.7rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  color: var(--on-dark);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.brand img { width: 32px; height: 32px; border-radius: 8px; }

.site-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  font-size: 0.95rem;
}
.site-nav a { color: var(--on-dark-soft); text-decoration: none; }
.site-nav a:hover { color: var(--on-dark); }
@media (max-width: 680px) {
  .site-head .wrap { gap: 0.6rem; padding: 0.55rem 0; }
  .site-nav { gap: 0.9rem; font-size: 0.9rem; }
  .site-nav .hide-sm { display: none; }
  .brand { font-size: 0.95rem; }
}

.site-nav .lang {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.15rem 0.7rem;
}

/* ---------- Knöpfe ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  background: var(--gold);
  color: #2a1c00;
  border: 1px solid transparent;
}
.btn:hover { background: #ffd76b; color: #2a1c00; }
.btn-ghost {
  background: transparent;
  color: var(--on-dark);
  border-color: var(--line);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.07); color: var(--on-dark); }

/* ---------- Held ---------- */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(3.5rem, 8vw, 6.5rem) 0 clamp(3.5rem, 7vw, 5.5rem);
  background: linear-gradient(180deg, var(--indigo-800), var(--indigo-900));
}

/* Dieselbe Szene wie auf der Bühne, nur unscharf: das Bild läuft weiter,
   auch wo der Text steht. */
.hero-photo {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url("hero-blur.jpg");
  background-size: cover;
  background-position: 60% 55%;
  opacity: 0.85;
  animation: drift 26s ease-in-out infinite alternate;
}

@keyframes drift {
  from { transform: scale(1.06) translate3d(0, 0, 0); }
  to { transform: scale(1.12) translate3d(-1.5%, -1%, 0); }
}

.hero-veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 50% at 80% 60%, rgba(255, 201, 64, 0.2), transparent 65%),
    radial-gradient(85% 75% at 5% 0%, rgba(59, 31, 191, 0.55), transparent 62%),
    linear-gradient(100deg,
      rgba(20, 11, 51, 0.93) 0%,
      rgba(20, 11, 51, 0.82) 38%,
      rgba(20, 11, 51, 0.42) 70%,
      rgba(20, 11, 51, 0.6) 100%),
    linear-gradient(180deg, rgba(20, 11, 51, 0.55), rgba(20, 11, 51, 0) 30%, rgba(20, 11, 51, 0.9));
}

@media (max-width: 860px) {
  .hero-veil {
    background:
      radial-gradient(70% 45% at 50% 72%, rgba(255, 201, 64, 0.18), transparent 65%),
      linear-gradient(180deg,
        rgba(20, 11, 51, 0.92) 0%,
        rgba(20, 11, 51, 0.8) 40%,
        rgba(20, 11, 51, 0.95) 100%);
  }
}

/* Funken. Vier Zacken, goldenes Licht, jeder in seinem eigenen Takt. */
.sparks {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
.sparks span {
  position: absolute;
  color: var(--gold);
  font-size: 1rem;
  line-height: 1;
  opacity: 0;
  text-shadow: 0 0 12px rgba(255, 201, 64, 0.9), 0 0 26px rgba(255, 201, 64, 0.45);
  animation: twinkle 5.5s ease-in-out infinite;
}

@keyframes twinkle {
  0%, 100% { opacity: 0; transform: scale(0.5) rotate(0deg); }
  45% { opacity: 0.95; transform: scale(1) rotate(18deg); }
  70% { opacity: 0.25; transform: scale(0.8) rotate(28deg); }
}

.sparks span:nth-child(1) { left: 58%; top: 16%; font-size: 1.5rem; animation-delay: 0s; }
.sparks span:nth-child(2) { left: 74%; top: 30%; font-size: 0.9rem; animation-delay: 1.1s; }
.sparks span:nth-child(3) { left: 88%; top: 20%; font-size: 1.2rem; animation-delay: 2.4s; }
.sparks span:nth-child(4) { left: 65%; top: 68%; font-size: 1.1rem; animation-delay: 3.2s; }
.sparks span:nth-child(5) { left: 82%; top: 78%; font-size: 1.6rem; animation-delay: 0.7s; }
.sparks span:nth-child(6) { left: 51%; top: 48%; font-size: 0.8rem; animation-delay: 4.1s; }
.sparks span:nth-child(7) { left: 93%; top: 52%; font-size: 1rem; animation-delay: 2.9s; }
.sparks span:nth-child(8) { left: 44%; top: 84%; font-size: 1.3rem; animation-delay: 1.8s; }
.sparks span:nth-child(9) { left: 70%; top: 6%; font-size: 0.85rem; animation-delay: 3.7s; }

@media (max-width: 860px) {
  .sparks span:nth-child(1) { left: 12%; top: 58%; }
  .sparks span:nth-child(2) { left: 86%; top: 62%; }
  .sparks span:nth-child(6) { left: 8%; top: 30%; }
}

.hero-grid {
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 860px) {
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; }
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(255, 201, 64, 0.35);
  border-radius: 999px;
  padding: 0.3rem 0.85rem;
  margin-bottom: 1.2rem;
}

.lede { font-size: 1.2rem; color: var(--on-dark-soft); max-width: 34ch; }
.lede strong { color: var(--on-dark); font-weight: 600; }

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 1.8rem 0 0.9rem;
}

.fineprint { font-size: 0.9rem; color: var(--on-dark-soft); margin: 0; }

/* ---------- Notiz-Karte im Held ---------- */

.note-demo { display: grid; justify-items: center; gap: 1.2rem; }

/* Die Bühne: das Handy liegt glühend auf dem Tisch, die Notiz schwebt davor. */
.note-stage {
  position: relative;
  width: min(100%, 520px);
  padding-bottom: clamp(3rem, 9vw, 5rem);
}

.stage-photo {
  width: 100%;
  border-radius: 24px;
  border: 1px solid rgba(255, 201, 64, 0.28);
  box-shadow:
    0 30px 80px rgba(6, 2, 24, 0.6),
    0 0 60px rgba(255, 201, 64, 0.18);
}

.note-stage::before {
  content: "";
  position: absolute;
  left: 6%;
  right: 6%;
  top: 18%;
  bottom: 12%;
  border-radius: 50%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(255, 201, 64, 0.5), transparent 70%);
  filter: blur(34px);
  animation: breathe 7s ease-in-out infinite;
}

@keyframes breathe {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.06); }
}

.note {
  position: absolute;
  right: 2%;
  bottom: 0;
  width: min(62%, 270px);
  background: var(--paper);
  color: var(--ink);
  border-radius: 22px;
  padding: 0.9rem 1rem 1.2rem;
  box-shadow:
    0 26px 60px rgba(6, 2, 24, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.45),
    0 0 46px rgba(255, 201, 64, 0.35);
  transform: rotate(-2.2deg);
  animation: hover-note 9s ease-in-out infinite;
}

@keyframes hover-note {
  0%, 100% { transform: rotate(-2.2deg) translateY(0); }
  50% { transform: rotate(-1deg) translateY(-12px); }
}

.note-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #b6b6bd;
  font-size: 1.1rem;
}
.note-bar .check {
  margin-left: auto;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--gold-deep);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 0.9rem;
}

.note-date {
  text-align: center;
  font-size: 0.72rem;
  color: #9a9aa2;
  margin: 0.6rem 0 1.1rem;
}

.note-body { min-height: 4.5rem; font-size: 1.45rem; }

.typed, .revealed { display: block; }
.revealed { color: var(--ink); font-weight: 500; }

@keyframes swap-out { to { opacity: 0; } }
@keyframes swap-in { from { opacity: 0; } to { opacity: 1; } }

@keyframes reveal-glow {
  0% { color: var(--gold-deep); text-shadow: 0 0 22px rgba(255, 201, 64, 0.95); }
  60% { color: var(--gold-deep); text-shadow: 0 0 14px rgba(255, 201, 64, 0.5); }
  100% { color: var(--ink); text-shadow: none; }
}

.typed {
  animation: swap-out 0.1s steps(1, end) 3.2s forwards;
}
.revealed {
  opacity: 0;
  animation:
    swap-in 0.1s steps(1, end) 3.2s forwards,
    reveal-glow 1.6s ease-out 3.2s both;
}

@media (prefers-reduced-motion: reduce) {
  .typed { display: none; }
  .revealed { opacity: 1; animation: none; color: var(--ink); }
  .hero-photo, .note, .note-stage::before, .sparks span { animation: none; }
  .sparks span { opacity: 0.8; }
}

/* ---------- Abschnitte ---------- */

section { padding: clamp(3rem, 7vw, 5rem) 0; }

.section-head { max-width: 46ch; margin-bottom: 2.5rem; }
.section-head h2 { text-wrap: balance; }
.section-head p { color: var(--on-dark-soft); margin-bottom: 0; }

.band-soft { background: rgba(255, 255, 255, 0.035); border-block: 1px solid var(--line); }

/* Schritte */

.steps {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: 1fr;
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 0;
}
.steps li {
  counter-increment: step;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.3rem;
}
.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--gold);
  color: #2a1c00;
  font-weight: 800;
  margin-bottom: 0.9rem;
}
@media (min-width: 560px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(4, 1fr); } }

.steps p { margin: 0; color: var(--on-dark-soft); font-size: 0.98rem; }
.steps strong { display: block; color: var(--on-dark); font-size: 1.05rem; margin-bottom: 0.25rem; }

/* Karten */

.cards {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 820px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem;
}
.card h3 { color: var(--on-dark); }
.card p { margin: 0; color: var(--on-dark-soft); font-size: 0.98rem; }

/* Bildschirmfotos */

.shots {
  display: grid;
  gap: 1.4rem;
  grid-template-columns: 1fr;
}
@media (min-width: 760px) { .shots { grid-template-columns: repeat(3, 1fr); } }
.shot { text-align: center; }
.shot img {
  width: 100%;
  max-width: 250px;
  margin-inline: auto;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 45px rgba(6, 2, 24, 0.5);
  background: #fff;
}
.shot figcaption {
  margin-top: 0.7rem;
  font-size: 0.85rem;
  color: var(--on-dark-soft);
}

/* FAQ */

.faq { display: grid; gap: 0.7rem; }
.faq details {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.9rem 1.2rem;
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--on-dark);
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: " +"; color: var(--gold); float: right; }
.faq details[open] summary::after { content: " –"; }
.faq p { margin: 0.8rem 0 0.2rem; color: var(--on-dark-soft); font-size: 0.98rem; }

/* Schlussruf */

.closer {
  text-align: center;
  background:
    radial-gradient(70% 90% at 50% 0%, rgba(123, 63, 228, 0.45), transparent 65%),
    var(--indigo-900);
}
.closer .lede { margin-inline: auto; }

/* ---------- Unterseiten: Papierbogen ---------- */

.page { padding: clamp(2.5rem, 6vw, 4rem) 0 clamp(3rem, 7vw, 5rem); }

.sheet {
  background: var(--paper);
  color: var(--ink);
  border-radius: 24px;
  padding: clamp(1.8rem, 5vw, 3.2rem);
  box-shadow: 0 30px 70px rgba(6, 2, 24, 0.45);
}
.sheet h1 { font-size: clamp(2rem, 5vw, 2.8rem); }
.sheet h2 {
  font-size: 1.35rem;
  margin-top: 2.2rem;
  padding-top: 1.4rem;
  border-top: 1px solid #ececf0;
}
.sheet h2:first-of-type { border-top: 0; padding-top: 0; }
.sheet p, .sheet li { color: var(--ink-soft); }
.sheet strong { color: var(--ink); }
.sheet a { color: #5b2bd0; }
.sheet a:hover { color: #7b3fe4; }
.sheet ul { padding-left: 1.2rem; }
.sheet li { margin-bottom: 0.4rem; }
.sheet .stand { color: #9a9aa2; font-size: 0.9rem; }

.sheet .faq details {
  background: #f7f7fa;
  border-color: #ececf0;
}
.sheet .faq summary { color: var(--ink); }
.sheet .faq p { color: var(--ink-soft); }

.contact-box {
  background: #f7f7fa;
  border: 1px solid #ececf0;
  border-radius: var(--radius);
  padding: 1.3rem 1.4rem;
  margin: 1.5rem 0;
}
.contact-box p:last-child { margin-bottom: 0; }

.placeholder {
  background: #fff4d6;
  border-bottom: 1px dashed var(--gold-deep);
  color: #6b5200;
  padding: 0 0.15em;
}

/* ---------- Fußzeile ---------- */

.site-foot {
  border-top: 1px solid var(--line);
  padding: 2.5rem 0 3rem;
  font-size: 0.92rem;
  color: var(--on-dark-soft);
}
.site-foot .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.6rem;
  align-items: center;
}
.site-foot nav { display: flex; flex-wrap: wrap; gap: 0.8rem 1.4rem; margin-left: auto; }
.site-foot a { color: var(--on-dark-soft); text-decoration: none; }
.site-foot a:hover { color: var(--on-dark); text-decoration: underline; }

.skip-link {
  position: absolute;
  left: -9999px;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
  z-index: 20;
  background: var(--gold);
  color: #2a1c00;
  padding: 0.6rem 1rem;
  border-radius: 8px;
}

/* ---------- Store-Bilder ---------- */

.gallery {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 620px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .gallery { grid-template-columns: repeat(5, 1fr); } }

.gallery img {
  width: 100%;
  border-radius: 18px;
  border: 1px solid rgba(255, 201, 64, 0.22);
  box-shadow: 0 22px 50px rgba(6, 2, 24, 0.55);
}
