/* start.css — nur die Startseiten (/ und /en/). Baut auf stil.css auf;
 * die Ratgeber- und Rechtsseiten laden diese Datei nicht. */

/* ---- Kopf: Text links, die lebende Spielwelt rechts ------------------ */

.held {
  position: relative; overflow: hidden;
  padding: clamp(26px, 4vw, 56px) 0 clamp(56px, 7vw, 92px);
  background:
    radial-gradient(900px 520px at 85% 10%, rgba(121, 195, 239, .28), transparent 70%),
    radial-gradient(700px 480px at 0% 100%, rgba(255, 201, 77, .22), transparent 70%);
}
.held__raster { display: grid; gap: clamp(40px, 5vw, 64px); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 960px) { .held__raster { grid-template-columns: 1fr 1.08fr; } }
.held h1 { font-size: clamp(2.3rem, 5.4vw, 3.9rem); line-height: 1.04; margin-bottom: .35em; }
.held h1 em {
  font-style: normal;
  background: linear-gradient(90deg, #C62828, #D2761B, #FFB300, #6BBF3A, #3D93E8, #5B2C8D);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.held .lead { max-width: 34ch; margin-bottom: 0; }
.held .knopfreihe { margin-top: 28px; }
.held .knopf--haupt { font-size: 1.12rem; padding: 19px 34px; }
.preis-klein { font-weight: 400; opacity: .9; }

.vertrauen { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.vertrauen li { display: inline-flex; align-items: center; gap: 7px; font-size: .93rem; color: var(--gedaempft); }
.vertrauen li::before {
  content: ''; width: 18px; height: 18px; border-radius: 50%; flex: none;
  background: var(--gruen) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4L18 8' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat;
}

/* Die Buehne: Canvas mit der Spielwelt, davor schwebt das Buch */
.buehne { position: relative; margin: 0 clamp(0px, 2vw, 20px) 0 clamp(0px, 3vw, 30px); }
.buehne__welt {
  position: relative; border-radius: 30px; overflow: hidden; aspect-ratio: 16 / 11;
  box-shadow: 0 30px 70px rgba(60, 90, 120, .28), 0 0 0 6px #fff;
  background: linear-gradient(#79c3ef, #c4e8fb 60%, #86cc6c 60%);
}
.buehne canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.buehne__buch {
  position: absolute; right: clamp(-34px, -2.5vw, -10px); bottom: -46px; width: 29%;
  border-radius: 8px; box-shadow: 0 22px 44px rgba(58, 51, 43, .35);
  transform: rotate(7deg); animation: schweben 6s ease-in-out infinite;
}
.buehne__marke {
  position: absolute; left: -14px; top: -20px; width: 112px; height: 112px; border-radius: 50%;
  display: grid; place-items: center; text-align: center; padding: 10px;
  background: var(--akzent); color: #fff; font-weight: 700; font-size: .8rem; line-height: 1.2;
  box-shadow: 0 10px 24px rgba(232, 114, 12, .4); transform: rotate(-10deg);
  animation: pochen 3.2s ease-in-out infinite;
}
@media (max-width: 600px) {
  .buehne__marke { width: 86px; height: 86px; font-size: .64rem; left: -4px; top: -26px; }
  .buehne__buch { width: 28%; bottom: -34px; right: -6px; }
}
@keyframes schweben { 0%, 100% { transform: rotate(7deg) translateY(0); } 50% { transform: rotate(5deg) translateY(-12px); } }
@keyframes pochen { 0%, 100% { transform: rotate(-10deg) scale(1); } 50% { transform: rotate(-6deg) scale(1.06); } }

/* ---- Farbe + Tier: die tanzende Reihe ------------------------------- */

.tierreihe {
  list-style: none; padding: 0; margin: 48px auto 0; max-width: 980px;
  display: grid; grid-template-columns: repeat(7, 1fr); gap: clamp(4px, 1.4vw, 18px); align-items: end;
}
.tierreihe li { text-align: center; animation: hupf 2.8s ease-in-out infinite; animation-delay: calc(var(--i) * .16s); }
.tierreihe .kreis {
  position: relative; aspect-ratio: 1 / 1.15; display: flex; align-items: flex-end; justify-content: center;
}
/* Sockel in der Tonfarbe — das Tier steht darauf */
.tierreihe .kreis::before {
  content: ''; position: absolute; left: 4%; right: 4%; bottom: 0; height: 22%; border-radius: 50%;
  background: var(--c); box-shadow: inset 0 -5px 0 rgba(0, 0, 0, .15), 0 10px 18px rgba(0, 0, 0, .12);
}
.tierreihe .kreis img {
  position: relative; max-width: 100%; max-height: 92%; width: auto; height: auto; margin-bottom: 7%;
  filter: drop-shadow(0 3px 3px rgba(0, 0, 0, .2));
}
.tierreihe b { display: block; margin-top: 10px; font-size: clamp(1rem, 2.6vw, 1.6rem); color: var(--c); line-height: 1; }
@keyframes hupf { 0%, 60%, 100% { transform: translateY(0); } 30% { transform: translateY(-16px); } }

/* ---- So geht's: drei Schritte im Zickzack --------------------------- */

.schritte2 { display: grid; gap: clamp(56px, 8vw, 96px); margin-top: clamp(44px, 6vw, 70px); }
.schritt2 { display: grid; gap: 28px; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 860px) {
  .schritt2 { grid-template-columns: 1fr 1fr; gap: 64px; }
  .schritt2:nth-child(even) .schritt2__bild { order: 2; }
}
.schritt2__nr {
  display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  color: #fff; font-weight: 700; font-size: 1.2rem; margin-bottom: 16px; background: var(--c);
  box-shadow: 0 8px 18px rgba(0, 0, 0, .15);
}
.schritt2 h3 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.schritt2 p { color: var(--gedaempft); font-size: 1.1rem; max-width: 40ch; }
.schritt2__bild { position: relative; }
.schritt2__bild img { border-radius: 20px; box-shadow: var(--schatten); width: 100%; }
.schritt2__bild--seite img { max-width: 360px; margin: 0 auto; border-radius: 10px; transform: rotate(-2.5deg); }
.schritt2__bild--tablet { background: var(--schrift); padding: 12px; border-radius: 28px; box-shadow: 0 24px 50px rgba(58, 51, 43, .28); }
.schritt2__bild--tablet img { border-radius: 16px; box-shadow: none; }
/* Das Mikrofon „hoert" — drei Ringe */
.ohr {
  position: absolute; right: -14px; top: -18px; width: 64px; height: 64px; border-radius: 50%;
  background: var(--gruen); display: grid; place-items: center; box-shadow: 0 10px 22px rgba(47, 158, 68, .4);
}
.ohr::before, .ohr::after {
  content: ''; position: absolute; inset: 0; border-radius: 50%; border: 3px solid var(--gruen);
  animation: welle 2.2s ease-out infinite;
}
.ohr::after { animation-delay: 1.1s; }
@keyframes welle { from { transform: scale(1); opacity: .8; } to { transform: scale(2.1); opacity: 0; } }

/* ---- Video mit eigenem Startknopf ------------------------------------ */

.film2 {
  position: relative; max-width: 980px; margin: 40px auto 0; border-radius: 26px; overflow: hidden;
  box-shadow: 0 30px 70px rgba(58, 51, 43, .25); background: var(--schrift); aspect-ratio: 16 / 9;
}
.film2 video { width: 100%; height: 100%; object-fit: cover; }
.film2__start {
  position: absolute; inset: 0; border: 0; padding: 0; cursor: pointer;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.35));
  display: grid; place-items: center;
}
.film2__start span {
  position: relative; width: clamp(76px, 11vw, 112px); height: clamp(76px, 11vw, 112px); border-radius: 50%;
  background: var(--akzent); display: grid; place-items: center; box-shadow: 0 14px 34px rgba(232, 114, 12, .5);
  transition: transform .15s;
}
.film2__start span::before {
  content: ''; position: absolute; inset: 0; border-radius: 50%; border: 4px solid #fff;
  animation: welle 2s ease-out infinite;
}
.film2__start:hover span { transform: scale(1.07); }
.film2__start svg { width: 40%; height: 40%; margin-left: 8%; }
.film2.laeuft .film2__start { display: none; }

/* ---- Angebote: Ergaenzungen ----------------------------------------- */

.angebote--eins { grid-template-columns: 1fr !important; max-width: 620px; }
.angebot__bild { width: 150px; margin: -6px auto 18px; border-radius: 6px; box-shadow: var(--schatten); transform: rotate(-3deg); }
.garantie {
  list-style: none; padding: 0; margin: 34px auto 0; max-width: 880px;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px;
}
.garantie li { display: inline-flex; align-items: center; gap: 8px; color: var(--gedaempft); font-size: .95rem; }
.garantie li::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--akzent-hell); }

/* ---- Autor kurz ------------------------------------------------------ */

.autor2 { display: flex; gap: 24px; align-items: center; max-width: 760px; margin: 0 auto; }
.autor2 img { width: 112px; height: 112px; border-radius: 50%; border: 5px solid #fff; box-shadow: var(--schatten); flex: none; }
.autor2 p { margin: 0; color: var(--gedaempft); font-size: 1.08rem; }
.autor2 b { color: var(--schrift); }
@media (max-width: 560px) { .autor2 { flex-direction: column; text-align: center; } }

/* ---- Schluss mit aufsteigenden Noten --------------------------------- */

.schluss2 { position: relative; overflow: hidden; }
.schluss2 .pieps-gross { width: 130px; margin: 0 auto 10px; animation: wiegen 3s ease-in-out infinite; }
@keyframes wiegen { 0%, 100% { transform: rotate(-6deg) translateY(0); } 50% { transform: rotate(6deg) translateY(-8px); } }
.noten-flug { position: absolute; inset: 0; pointer-events: none; }
.noten-flug i {
  position: absolute; bottom: -40px; left: var(--x); font-style: normal; font-size: var(--s);
  color: var(--c); opacity: 0; animation: steigen var(--d) linear infinite; animation-delay: var(--v);
}
@keyframes steigen {
  0% { transform: translateY(0) rotate(0); opacity: 0; } 10% { opacity: .9; }
  100% { transform: translateY(-520px) rotate(25deg); opacity: 0; }
}

/* ---- Kaufleiste auf dem Handy ---------------------------------------- */

.kaufleiste {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 20;
  display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 18px;
  background: rgba(255, 255, 255, .96); border: 2px solid var(--rand); border-radius: 999px;
  box-shadow: 0 14px 34px rgba(58, 51, 43, .22);
  transform: translateY(140%); transition: transform .3s ease;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.kaufleiste.da { transform: none; }
.kaufleiste span { font-weight: 700; font-size: .95rem; line-height: 1.2; flex: 1; }
.kaufleiste .knopf { padding: 12px 20px; font-size: .98rem; white-space: nowrap; }
@media (min-width: 900px) { .kaufleiste { display: none; } }

/* ---- Einblenden beim Scrollen ---------------------------------------- */

.js [data-zeige] { opacity: 0; transform: translateY(34px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
.js [data-zeige].zeigt { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .buehne__buch, .buehne__marke, .tierreihe li, .ohr::before, .ohr::after,
  .film2__start span::before, .schluss2 .pieps-gross, .noten-flug i { animation: none !important; }
  .noten-flug { display: none; }
}

/* ---- Handy: Leiste und Tierreihe enger ------------------------------- */
@media (max-width: 600px) {
  .leiste__marke span { display: none; }
  .leiste .knopf--klein { padding: 9px 16px; }
  .tierreihe { gap: 2px; padding-left: 14px; padding-right: 14px; }
}
