/* Tap to Trust – Gastseite.
   Volle Markenfarbe, großes rundes Logo, weiße Knöpfe – und Bewegung:
   wandernde Farbflecken im Hintergrund, atmendes Logo mit Puls-Ring,
   Knöpfe, die nacheinander hereinkommen. */
:root {
  --farbe: #b91c1c;
  --gruen: #22c55e;
  --auf-farbe: #ffffff;                      /* Schrift auf der Markenfarbe */
  --auf-farbe-leise: rgba(255,255,255,.82);
  --knopf: #ffffff;
  --knopf-text: #141414;
  --knopf-leise: #6b6b6b;
  --radius: 22px;
}
body.hell { --auf-farbe: #111111; --auf-farbe-leise: rgba(0,0,0,.7); }

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; background: var(--farbe); overscroll-behavior: none; }
body {
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--farbe);
  color: var(--auf-farbe);
  min-height: 100dvh;
  display: flex; flex-direction: column;
  -webkit-font-smoothing: antialiased;
  position: relative; overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; text-align: left; }
svg { width: 22px; height: 22px; fill: currentColor; flex: none; }

/* ── Lebendiger Hintergrund: drei weiche Flecken in Tönen der Markenfarbe ── */
.hintergrund { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .9; will-change: transform; }
.blob-1 { width: 70vw; height: 70vw; max-width: 520px; max-height: 520px; top: -20vw; left: -20vw; background: color-mix(in srgb, var(--farbe) 70%, white); animation: treiben-1 22s ease-in-out infinite; }
.blob-2 { width: 60vw; height: 60vw; max-width: 460px; max-height: 460px; top: 30vh; right: -25vw; background: color-mix(in srgb, var(--farbe) 75%, black); animation: treiben-2 26s ease-in-out infinite; }
.blob-3 { width: 50vw; height: 50vw; max-width: 400px; max-height: 400px; bottom: -15vw; left: 10vw; background: color-mix(in srgb, var(--farbe) 82%, white); animation: treiben-3 30s ease-in-out infinite; }
@keyframes treiben-1 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(12vw, 10vh) scale(1.15); } }
@keyframes treiben-2 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-14vw, -8vh) scale(1.1); } }
/* Hintergrundbild über die ganze Seite: langsame Kamerafahrt + Farbschleier */
.hintergrund-bild img { position: absolute; top: -6%; left: -6%; width: 112%; height: 112%; object-fit: cover; animation: fahrt 36s ease-in-out infinite alternate; will-change: transform; }
@keyframes fahrt { from { transform: translate(0,0) scale(1); } to { transform: translate(-3%, -2%) scale(1.08); } }
.hintergrund-bild .schleier { position: absolute; inset: 0; background: linear-gradient(to bottom, color-mix(in srgb, var(--farbe) 62%, transparent) 0%, color-mix(in srgb, var(--farbe) 45%, rgba(0,0,0,.35)) 55%, rgba(0,0,0,.7) 100%); }
body.mit-bild .kopf h1, body.mit-bild .kopf .beschreibung, body.mit-bild .kopf .unter { text-shadow: 0 2px 18px rgba(0,0,0,.45); }
body.mit-bild { --auf-farbe: #ffffff; --auf-farbe-leise: rgba(255,255,255,.85); }
@keyframes treiben-3 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(8vw, -12vh) scale(1.2); } }

.wrap { position: relative; z-index: 1; width: 100%; max-width: 480px; margin: 0 auto; padding: 0 20px 28px; flex: 1; }

/* ── Kopf ── */
.kopf { text-align: center; padding: calc(40px + env(safe-area-inset-top)) 4px 26px; }
.logo-buehne { position: relative; width: 148px; height: 148px; margin: 0 auto 20px; display: grid; place-items: center; }
/* Weiches Leuchten dahinter, atmet langsam */
.schein { position: absolute; inset: -18px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.45), rgba(255,255,255,0) 65%); filter: blur(10px); animation: schein 5s ease-in-out infinite; }
@keyframes schein { 0%,100% { transform: scale(.95); opacity: .7; } 50% { transform: scale(1.12); opacity: 1; } }
/* Feiner Lichtring, dreht sich gemächlich */
.ring { position: absolute; inset: 0; border-radius: 50%; padding: 2px;
  background: conic-gradient(from 0deg, rgba(255,255,255,0) 0 55%, rgba(255,255,255,.95) 72%, rgba(255,255,255,0) 90%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask-composite: exclude;
  animation: drehen 9s linear infinite; }
@keyframes drehen { to { transform: rotate(360deg); } }
.logo-huelle { position: relative; width: 124px; height: 124px; border-radius: 50%; overflow: hidden; display: block;
  box-shadow: 0 0 0 1px rgba(255,255,255,.55), 0 30px 60px -18px rgba(0,0,0,.55);
  animation: erscheinen .8s cubic-bezier(.2,.9,.3,1.15) both, atmen 7s ease-in-out 1s infinite; }
.kopf .logo {
  width: 100%; height: 100%; border-radius: 50%;
  display: grid; place-items: center;
  background: color-mix(in srgb, var(--farbe) 72%, black); color: #fff;
  font-size: 52px; font-weight: 800; letter-spacing: -.03em;
}
.kopf .logo-bild { object-fit: contain; padding: 12px; }
/* Glanz, der alle paar Sekunden über das Logo streicht */
.glanz { position: absolute; top: -20%; bottom: -20%; left: -70%; width: 45%; pointer-events: none;
  background: linear-gradient(105deg, rgba(255,255,255,0), rgba(255,255,255,.55), rgba(255,255,255,0));
  transform: skewX(-20deg); animation: glanz 6s ease-in-out 2s infinite; }
@keyframes glanz { 0% { left: -70%; } 25%, 100% { left: 140%; } }
@keyframes erscheinen { from { transform: scale(.6); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes atmen { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }

.kopf h1 { font-size: 34px; font-weight: 800; letter-spacing: -.03em; line-height: 1.05; animation: hoch .6s .15s ease both; }
.kopf .unter { margin-top: 8px; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--auf-farbe-leise); animation: hoch .6s .2s ease both; }
.kopf .beschreibung { margin: 14px auto 0; max-width: 340px; font-size: 17px; line-height: 1.45; font-weight: 500; color: var(--auf-farbe); opacity: .95; animation: hoch .6s .25s ease both; }
@keyframes hoch { from { transform: translateY(12px); opacity: 0; } to { transform: none; opacity: 1; } }

.sozial { display: flex; justify-content: center; gap: 10px; margin-top: 18px; animation: hoch .6s .3s ease both; }
.sozial-knopf {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  color: var(--auf-farbe); background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.22);
  transition: transform .15s, background .15s;
}
body.hell .sozial-knopf { background: rgba(0,0,0,.08); border-color: rgba(0,0,0,.12); }
.sozial-knopf:active { transform: scale(.9); }
.sozial-knopf svg { width: 24px; height: 24px; }

.kopf .tisch {
  display: inline-flex; align-items: center; gap: 7px; margin-top: 18px;
  padding: 7px 14px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .06em;
  background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.25); color: var(--auf-farbe);
  animation: hoch .6s .35s ease both;
}
body.hell .kopf .tisch { background: rgba(0,0,0,.08); border-color: rgba(0,0,0,.12); }
.kopf .tisch::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gruen); box-shadow: 0 0 0 0 rgba(34,197,94,.6); animation: punkt 2s ease-out infinite; }
@keyframes punkt { 0% { box-shadow: 0 0 0 0 rgba(34,197,94,.6); } 100% { box-shadow: 0 0 0 9px rgba(34,197,94,0); } }

.kopf-start { padding-top: calc(60px + env(safe-area-inset-top)); }
.marke { font-size: 30px; font-weight: 900; letter-spacing: -.05em; }
.marke span { color: var(--gruen); font-weight: 400; }
.kopf-start p { font-size: 15px; }

/* ── Knöpfe (weiße Pillen, eine Spalte) ── */
.kacheln { display: flex; flex-direction: column; gap: 12px; }
.kachel {
  position: relative;
  display: flex; align-items: center; gap: 14px;
  width: 100%; min-height: 72px;
  padding: 14px 52px 14px 14px;
  background: var(--knopf); color: var(--knopf-text);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px -14px rgba(0,0,0,.5);
  transition: box-shadow .12s ease;
  overflow: hidden;
  /* erst hereinkommen, dann leicht schweben – jede Karte in eigenem Takt */
  animation: hoch .55s ease both, schweben 7s ease-in-out infinite;
}
.kachel:nth-child(1) { animation-delay: .30s, 1.3s; } .kachel:nth-child(2) { animation-delay: .38s, 2.1s; animation-duration: .55s, 8s; }
.kachel:nth-child(3) { animation-delay: .46s, 1.7s; animation-duration: .55s, 7.5s; } .kachel:nth-child(4) { animation-delay: .54s, 2.6s; animation-duration: .55s, 8.5s; }
.kachel:nth-child(5) { animation-delay: .62s, 1.1s; animation-duration: .55s, 6.5s; } .kachel:nth-child(6) { animation-delay: .70s, 3s; animation-duration: .55s, 9s; }
.kachel:nth-child(n+7) { animation-delay: .78s, 2.2s; }
@keyframes schweben { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
/* sanfter Lichtstreifen, wandert selten über die Karte */
.kachel::before {
  content: ""; position: absolute; top: -30%; bottom: -30%; left: -50%; width: 30%; pointer-events: none; z-index: 0;
  background: linear-gradient(100deg, rgba(255,255,255,0), rgba(255,255,255,.55), rgba(255,255,255,0));
  transform: skewX(-18deg); animation: streifen 14s ease-in-out infinite;
}
.kachel:nth-child(1)::before { animation-delay: 3s; } .kachel:nth-child(2)::before { animation-delay: 6s; }
.kachel:nth-child(3)::before { animation-delay: 9s; } .kachel:nth-child(4)::before { animation-delay: 4.5s; }
.kachel:nth-child(5)::before { animation-delay: 7.5s; } .kachel:nth-child(6)::before { animation-delay: 10.5s; }
.kachel:nth-child(n+7)::before { animation-delay: 12s; }
@keyframes streifen { 0%, 80% { left: -50%; } 100% { left: 130%; } }
.kachel > * { position: relative; z-index: 1; }
.kachel-stamm::before { background: linear-gradient(100deg, rgba(34,197,94,0), rgba(34,197,94,.25), rgba(34,197,94,0)); }
/* Icon-Kreis atmet minimal mit */
.kachel-icon { animation: icon-atmen 5s ease-in-out infinite; }
.kachel:nth-child(2) .kachel-icon { animation-delay: 1.2s; } .kachel:nth-child(3) .kachel-icon { animation-delay: 2.4s; }
.kachel:nth-child(4) .kachel-icon { animation-delay: .6s; } .kachel:nth-child(5) .kachel-icon { animation-delay: 1.8s; }
.kachel:nth-child(6) .kachel-icon { animation-delay: 3s; }
@keyframes icon-atmen { 0%,100% { transform: scale(1); } 50% { transform: scale(1.06); } }
.kachel:active { animation-play-state: paused; box-shadow: 0 4px 14px -8px rgba(0,0,0,.5); filter: brightness(.96); }
.kachel > svg:last-child { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--knopf-leise); opacity: .6; }
.kachel-icon {
  width: 46px; height: 46px; flex: none; border-radius: 50%;
  display: grid; place-items: center;
  background: color-mix(in srgb, var(--farbe) 12%, white);
  color: var(--farbe);
}
.kachel-text { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px; }
.kachel-text b { font-size: 16px; font-weight: 700; letter-spacing: -.01em; line-height: 1.2; }
.kachel-text small { font-size: 12.5px; color: var(--knopf-leise); line-height: 1.3; }
.kachel.aktiv { box-shadow: 0 0 0 3px rgba(255,255,255,.5), 0 10px 30px -14px rgba(0,0,0,.5); }

/* Google – weiß mit Schimmer */
.kachel-google::before { display: none; }
.kachel-icon-google { background: #000; overflow: hidden; box-shadow: 0 0 0 1px rgba(0,0,0,.12), 0 6px 16px -6px rgba(0,0,0,.5); }
.kachel-icon-google img { width: 46px; height: 46px; border-radius: 50%; display: block; object-fit: cover; }
.kachel-google::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.9), transparent);
  transform: skewX(-18deg); animation: schimmer 5s ease-in-out 1.5s infinite; pointer-events: none;
}
@keyframes schimmer { 0% { left: -60%; } 30%, 100% { left: 130%; } }

/* StammPass – schwarz mit Grün, das Eigene */
.kachel-stamm { background: #0b0b0d; color: #fff; box-shadow: 0 14px 34px -14px rgba(0,0,0,.7), inset 0 0 0 1px rgba(34,197,94,.35); }
.kachel-stamm .kachel-icon-stammpass { background: #000; box-shadow: 0 0 0 1px rgba(34,197,94,.5), 0 0 24px -4px rgba(34,197,94,.8); animation: leuchten 3s ease-in-out infinite; }
.kachel-stamm .kachel-text small { color: rgba(255,255,255,.65); }
.kachel-stamm > svg:last-child { color: var(--gruen); opacity: 1; }
.kachel-icon-stammpass img { width: 28px; height: 28px; }
@keyframes leuchten { 0%,100% { box-shadow: 0 0 0 1px rgba(34,197,94,.5), 0 0 24px -4px rgba(34,197,94,.8); } 50% { box-shadow: 0 0 0 1px rgba(34,197,94,.8), 0 0 34px -2px rgba(34,197,94,1); } }

/* ── Aufklappbereiche ── */
.aufklapp { background: rgba(255,255,255,.92); color: var(--knopf-text); border-radius: var(--radius); padding: 6px 18px 16px; animation: hoch .3s ease both; }
.zeile { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid rgba(0,0,0,.08); font-size: 14px; }
.zeile:last-of-type { border-bottom: 0; }
.zeile span:first-child { color: var(--knopf-leise); }
.zeile b { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 14px; font-weight: 600; }
.zeile-leise { font-size: 12px; color: var(--knopf-leise); }
.knopf { display: block; width: 100%; margin-top: 10px; padding: 14px; border-radius: 14px; text-align: center; background: var(--farbe); color: #fff; font-weight: 700; font-size: 14px; }
body.hell .knopf { color: #111; }

/* ── Fuß ── */
.hinweis { text-align: center; font-size: 12px; color: var(--auf-farbe-leise); margin-top: 20px; }
.fuss {
  position: relative; z-index: 1;
  text-align: center; padding: 22px 16px calc(22px + env(safe-area-inset-bottom));
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--auf-farbe-leise);
  display: flex; justify-content: center; align-items: center; gap: 8px;
}
.fuss b { color: var(--auf-farbe); font-weight: 900; letter-spacing: -.02em; text-transform: none; font-size: 14px; }
.fuss b i { font-style: normal; color: #e2b644; }
.fuss-marke { display: inline-flex; align-items: center; gap: 6px; }
.fuss-marke img { width: 22px; height: 22px; border-radius: 50%; }

@media (prefers-reduced-motion: reduce) {
  .blob, .schein, .ring, .glanz, .logo-huelle, .kachel, .kachel::before, .kachel-icon, .kopf h1, .kopf .unter, .kopf .beschreibung, .sozial, .kopf .tisch, .kachel-google::after, .kachel-icon-stammpass { animation: none !important; }
}
