/* Startseite v12 (29.09.): hell, aber kraeftiger. Rondelle nach dem Vorbild der UBIQ-Geraetebuehne, Markenband, groessere
   Ueberschriften, gruene Flaechen, Abschnitte fahren beim Scrollen herein. Nur fuer body.start und die neuen Bausteine. */

/* ---------- Hereinfahren ---------- */
[data-rein] { opacity: 0; transform: translateY(38px); transition: opacity .9s var(--ease-in-out) var(--verz, 0ms), transform .9s var(--ease-in-out) var(--verz, 0ms); }
[data-rein].drin { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { [data-rein] { opacity: 1; transform: none; transition: none; } }

/* ---------- groessere Ueberschriften ---------- */
body.start section.block { padding: clamp(84px, 10vw, 156px) 0; }
body.start section.block .kopfzeile { max-width: 52em; }
body.start section.block .kopfzeile h2 { font-size: clamp(40px, 5.8vw, 84px); line-height: 1.02; letter-spacing: -.012em; }
body.start section.block .kopfzeile p { font-size: clamp(17px, 1.45vw, 22px); max-width: 38em; }
body.start .kopfzeile.mitte { text-align: center; margin-inline: auto; }
body.start .kopfzeile.mitte p { margin-inline: auto; }
body.start .kopfzeile .stichwort { font-size: 14px; letter-spacing: .14em; }
body.start .kopfzeile.mitte .stichwort::before, body.start .kopfzeile.mitte .stichwort::after { content: ""; display: inline-block; width: 36px; height: 2px; background: currentColor; vertical-align: middle; margin: 0 12px 3px; opacity: .6; }
body.start .kopfzeile h2 .traeger { font-size: .92em; }
@media (max-width: 700px) { body.start .kopfzeile h2 .traeger { white-space: normal; } }

/* ---------- Markenband ---------- */
.markenband { position: relative; z-index: 3; background: var(--green); color: #fff; overflow: hidden; padding: 20px 0 22px; margin: 0 -3vw; transform: rotate(-1.6deg); box-shadow: 0 24px 50px -30px rgba(15,51,25,.55); }
.markenband .spur { display: flex; align-items: center; gap: 0; width: max-content; animation: markenlauf 46s linear infinite; }
.markenband span { font: 800 clamp(26px, 3.3vw, 46px)/1 var(--font-display); white-space: nowrap; padding: 0 28px; display: inline-flex; align-items: center; gap: 56px; }
.markenband span::after { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(255,255,255,.9); }
@keyframes markenlauf { to { transform: translateX(-50%); } }
.markenband:hover .spur { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .markenband .spur { animation: none; } }
.markenband-halter { position: relative; z-index: 3; margin: -14px 0 -10px; padding: 18px 0; overflow: hidden; }

/* ---------- Zahlenkacheln kraeftiger ---------- */
body.start .kacheln { gap: 18px; }
body.start .kachel { padding: 40px 36px 34px; border-radius: 48px; transition: transform .4s var(--ease-in-out), box-shadow .4s; }
body.start .kachel:hover { transform: translateY(-6px); box-shadow: 0 34px 60px -42px rgba(15,51,25,.55); }
body.start .kachel b { font-size: clamp(64px, 7vw, 112px); letter-spacing: -.02em; }
body.start .kachel span { font-size: 19px; }
body.start .kachel.gruen { background: var(--green); border-color: var(--green); color: #fff; }
body.start .kachel.gruen b, body.start .kachel.gruen small { color: #fff; }
body.start .kachel.gruen small { opacity: .88; }
body.start .kachel.rot { background: var(--red); border-color: var(--red); color: #fff; }
body.start .kachel.rot b, body.start .kachel.rot small { color: #fff; }

/* ---------- Rondell ---------- */
.rondell-block { overflow: hidden; }
.rondell { position: relative; z-index: 0; isolation: isolate; margin-top: clamp(8px, 2vw, 24px); }   /* eigene Ebene: Elemente bleiben unter der Kopfleiste */
.rondell-buehne { position: relative; height: clamp(380px, 46vw, 600px); touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; outline: none; }
.rondell-buehne.zieht { cursor: grabbing; }
.rondell-buehne:focus-visible { box-shadow: inset 0 0 0 3px var(--focus); border-radius: 32px; }
.rondell-automaten .rondell-buehne { height: clamp(430px, 52vw, 700px); }
.rondell-sortiment .rondell-buehne { height: clamp(250px, 34vw, 470px); }
.rondell-ring { position: absolute; inset: 0; }
.rondell-item { position: absolute; left: 50%; bottom: 13%; margin: 0; transform-origin: 50% 100%; will-change: transform, opacity, filter; cursor: pointer; }
.rondell-item.vorn { cursor: grab; }
.rondell-item img { display: block; pointer-events: none; -webkit-user-drag: none; filter: drop-shadow(0 28px 26px rgba(15,51,25,.16)); }
.rondell-sortiment .rondell-item img { filter: none; }
.rondell-boden { position: absolute; left: 50%; bottom: 6%; width: 82%; height: 20%; transform: translateX(-50%); border-radius: 50%;
                 background: radial-gradient(closest-side, rgba(53,172,84,.20), rgba(53,172,84,.07) 60%, rgba(53,172,84,0)); pointer-events: none; }
.rondell-wort { position: absolute; left: 0; right: 0; top: 0; text-align: center; font: 800 clamp(96px, 18vw, 280px)/.9 var(--font-display); color: #E4F4E8;
                letter-spacing: -.02em; white-space: nowrap; pointer-events: none; overflow: hidden; }
.rondell-sortiment .rondell-wort { font-size: clamp(84px, 15vw, 230px); }
.rondell-wort span { display: inline-block; }
.rondell-wort.rein span { animation: wortrein .8s var(--ease-in-out); }
@keyframes wortrein { from { opacity: 0; transform: translateY(30px) scale(.97); } to { opacity: 1; transform: none; } }
.rondell-pfeil { position: absolute; top: 46%; z-index: 400; width: 60px; height: 60px; border-radius: 50%; border: 0; background: #fff; color: var(--green-2);
                 font: 400 40px/56px var(--font-body); text-align: center; padding: 0; cursor: pointer; transform: translateY(-50%);
                 box-shadow: 0 14px 30px -14px rgba(15,51,25,.5), inset 0 0 0 2px var(--line); transition: background .25s, color .25s, transform .25s; }
.rondell-pfeil:hover { background: var(--green-2); color: #fff; transform: translateY(-50%) scale(1.06); }
.rondell-pfeil.links { left: 0; } .rondell-pfeil.rechts { right: 0; }
.rondell-leiste { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: 4px; }
.rondell-hinweis { font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.rondell-punkte { display: flex; gap: 8px; }
.rondell-punkte button { width: 38px; height: 20px; border: 0; background: none; padding: 0; cursor: pointer; }
.rondell-punkte i { display: block; height: 4px; border-radius: 2px; background: var(--line); transition: background .3s, transform .3s; }
.rondell-punkte button:hover i { background: var(--green-light); }
.rondell-punkte button.aktiv i { background: var(--green-2); transform: scaleY(1.5); }
.rondell-karte { position: relative; margin-top: var(--s-6); background: #fff; border: 1px solid var(--line); border-radius: 44px; padding: 32px 36px;
                 display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.7fr) auto; gap: 30px; align-items: center;
                 box-shadow: 0 34px 70px -52px rgba(15,51,25,.55); transition: opacity .17s, transform .17s; }
.rondell-karte.wechsel { opacity: 0; transform: translateY(10px); }
.rondell-karte::before { content: ""; position: absolute; left: 36px; top: -1px; width: 88px; height: 5px; border-radius: 0 0 4px 4px; background: var(--green); }
.rk-stichwort { font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--green-2); }
.rk-name { font-size: clamp(30px, 2.8vw, 44px); margin: 8px 0 10px; }
.rk-text { font-size: 15.5px; color: var(--muted); max-width: 30em; }
.rk-fakten { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; margin: 0; }
.rk-fakten div { padding: 4px 18px; border-left: 1px solid var(--line); min-width: 0; }
.rk-fakten dt { font: 800 clamp(20px, 1.75vw, 28px)/1.05 var(--font-display); color: var(--green-2); white-space: nowrap; }
.rk-fakten dd { margin: 7px 0 0; font-size: 12.5px; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); line-height: 1.35; }
.rk-links { display: flex; flex-direction: column; gap: 10px; align-items: stretch; }
.rk-links .knopf { justify-content: center; white-space: nowrap; }
@media (max-width: 1180px) {
  .rondell-karte { grid-template-columns: 1fr; gap: 22px; }
  .rk-fakten { grid-template-columns: repeat(4, auto); }
  .rk-links { flex-direction: row; flex-wrap: wrap; }
}
@media (max-width: 700px) {
  .rondell-pfeil { display: none; }
  .rondell-karte { border-radius: 30px; padding: 24px 22px; }
  .rondell-karte::before { left: 22px; }
  .rk-fakten { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 16px; }
  .rk-fakten dt { white-space: normal; }
  .rk-fakten div:nth-child(3) { border-left: 0; padding-left: 0; }
  .rk-fakten div:first-child { border-left: 0; padding-left: 0; }
  .rk-links .knopf { flex: 1 1 100%; }
}

/* ---------- Gruene Flaeche: So laeuft es ---------- */
.flaeche-gruen { background: var(--green); color: #fff; overflow: hidden; }
.flaeche-gruen::before { content: ""; position: absolute; right: -8vw; top: -10vw; width: 44vw; height: 44vw; border-radius: 50%; background: rgba(255,255,255,.07); pointer-events: none; }
body.start .flaeche-gruen .kopfzeile .stichwort { color: #fff; opacity: .92; }
body.start .flaeche-gruen .kopfzeile h2 { color: #fff; }
body.start .flaeche-gruen .kopfzeile p { color: rgba(255,255,255,.88); }
.flaeche-gruen .schritte-leiste { gap: 16px; }
.flaeche-gruen .schritte-leiste div { background: rgba(255,255,255,.11); border: 1px solid rgba(255,255,255,.26); color: #fff; border-radius: 36px; padding: 30px 28px 28px; transition: background .3s, transform .4s var(--ease-in-out); }
.flaeche-gruen .schritte-leiste div:hover { background: rgba(255,255,255,.18); transform: translateY(-4px); }
.flaeche-gruen .schritte-leiste div::before { width: 58px; height: 58px; font-size: 28px; line-height: 58px; background: #fff; color: var(--green-2); margin-bottom: 18px; }
.flaeche-gruen .schritte-leiste b { font-size: 21px; }
.flaeche-gruen .schritte-leiste span { color: rgba(255,255,255,.88); font-size: 15.5px; }

/* ---------- Bilder und Karten etwas lebendiger ---------- */
body.start .bildreihe figure { border-radius: 40px; transition: transform .5s var(--ease-in-out), box-shadow .5s; }
body.start .bildreihe figure:hover { transform: translateY(-6px); box-shadow: 0 36px 70px -48px rgba(15,51,25,.6); }
body.start .bildreihe img { transition: transform 1.2s var(--ease-in-out); }
body.start .bildreihe figure:hover img { transform: scale(1.04); }
body.start .karte .bild img { transition: transform 1.2s var(--ease-in-out); }
body.start .karte:hover .bild img { transform: scale(1.05); }
