

:root { --tuerkis:#00838a; --creme:#faf6ee; --rand:#ece5d6; }

.hf, .film-modal { --primaer:#1c2541; --akzent:#f4a83c; --tuerkis:#00838a; --creme:#faf6ee; --rand:#ece5d6; }
.hf .btn-cta { font:inherit; font-weight:700; font-size:1rem; padding:14px 26px; border-radius:999px; border:none; background:var(--akzent); color:var(--primaer); box-shadow:0 6px 18px rgba(244,168,60,.35); }
.film-modal { z-index:1000 !important; }

.hf .schritte { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hf .tage { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.hf .tag { overflow-wrap: anywhere; hyphens: auto; }
@media (max-width:700px) { .hf .schritte { grid-template-columns: 1fr; } }

.seg-label { font-size:0.85rem; color:#666; margin:0 0 8px; text-align:center; }
.seg-huelle { text-align:center; max-width:100%; overflow-x:auto; scrollbar-width:none; margin:0 auto 22px; }
.seg-huelle::-webkit-scrollbar { display:none; }
.seg { position:relative; display:inline-flex; flex-wrap:nowrap; gap:0; padding:4px; background:#efece6; border-radius:999px; vertical-align:top; }
.seg-pille { position:absolute; top:4px; bottom:4px; left:4px; width:0; background:#1c2541; border-radius:999px; transition:left .35s cubic-bezier(.3,.8,.3,1), width .35s cubic-bezier(.3,.8,.3,1); z-index:0; }
.seg > button { position:relative; z-index:1; font:inherit; font-size:0.9rem; font-weight:500; border:none; background:none; box-shadow:none; margin:0; padding:9px 18px; border-radius:999px; white-space:nowrap; color:#4a4f5c; cursor:pointer; transition:color .3s; }
.seg > button:hover { color:#1c2541; background:none; }
.seg > button.aktiv, .seg > button.aktiv:hover { color:#fff; font-weight:600; background:none; }
.seg .t-mobil { display:none; }
@media (max-width:480px) {
  .seg .t-voll { display:none; }
  .seg .t-mobil { display:inline; }
  .seg > button { font-size:0.8rem; padding:8px 10px; }
}

.one-box-kurz { list-style:none; padding:0; margin:20px auto 0; display:flex; flex-wrap:wrap; justify-content:center; gap:8px 22px; max-width:820px; font-size:0.95rem; }
.one-box-kurz li::before { content:"✓"; color:#00838a; font-weight:800; margin-right:6px; }
.one-box-knoepfe { display:flex; flex-wrap:wrap; justify-content:center; gap:12px; margin-top:22px; }
.one-box-knoepfe > button { margin:0 !important; min-height:54px; box-sizing:border-box; display:inline-flex; align-items:center; justify-content:center; line-height:1.3; gap:8px; }
.btn-film-neu { font:inherit; font-weight:600; font-size:0.95rem; padding:12px 22px; border-radius:999px; border:1.5px solid #1c2541; background:#fff; color:#1c2541; cursor:pointer; margin:0; }
.btn-film-neu:hover { background:#f4f1ea; color:#1c2541; }
details.one-box-lang-details { max-width:700px; margin:18px auto 0; text-align:left; }
details.one-box-lang-details summary { cursor:pointer; text-align:center; color:#00838a; font-weight:600; font-size:0.9rem; list-style:none; }
details.one-box-lang-details summary::-webkit-details-marker { display:none; }
details.one-box-lang-details summary::after { content:" ▾"; }
details.one-box-lang-details[open] summary::after { content:" ▴"; }
.film-modal .film-modal-box { box-sizing:border-box; max-height:calc(100vh - 32px); overflow:auto; padding:48px 16px 16px; }
.film-modal .film-modal-zu { top:8px; right:12px; width:36px; height:36px; display:flex; align-items:center; justify-content:center; padding:0; margin:0; border-radius:50%; background:#f1eee7; color:#1c2541; font-size:1.4rem; line-height:1; }
.film-modal .film-modal-zu:hover { background:#e6e1d6; color:#1c2541; }

.hf .heftmini { position: relative; background: repeating-linear-gradient(#fff 0 17px, #dbe6ee 17px 18px), #fff; border-radius: 8px; padding: 6px 10px 8px; font-family: "Segoe Print", "Bradley Hand", "Comic Sans MS", cursive; font-size: 0.95rem; color: #1d1d1f; line-height: 1.55; }
.hf .heftmini .kreis { display: inline-block; border: 2px solid #d0312d; border-radius: 50%; padding: 0 8px; margin-left: -8px; }
.hf .heftmini .rand { display: block; color: #d0312d; font-size: 0.78rem; font-style: italic; margin-top: 2px; }
.hf .zeile .ok { color: #2f855a; font-weight: 600; } .hf .zeile .lauf { color: #9a6b00; font-weight: 600; }
.hf .beamer { position: relative; background: #15192a; border-radius: 8px; padding: 10px; height: 92px; overflow: hidden; }
.hf .beamer-blatt { background: #fff; border-radius: 3px; padding: 6px 8px; font-size: 0.78rem; line-height: 1.45; color: #1c2541; height: 100%; box-sizing: border-box; }
.hf .beamer-decke { position: absolute; left: 10px; right: 10px; bottom: 10px; height: 46%; background: #f4f1ea; border-top: 2px solid #c9c2b2; display: flex; align-items: flex-start; justify-content: center; font-size: 0.7rem; font-weight: 700; color: #1c2541; padding-top: 3px; }
.hf .schritte { display:grid; grid-template-columns:repeat(3,1fr); gap:14px; max-width:860px; margin:0 auto; text-align:left; }
.hf .k { background:#fff; border:1px solid var(--rand); border-radius:16px; padding:14px; min-height:170px; opacity:.28; transform:translateY(8px); transition:opacity .5s, transform .5s, box-shadow .5s; }
.hf .k.an { opacity:1; transform:none; box-shadow:0 8px 22px rgba(28,37,65,.08); }
.hf .k-nr { display:inline-flex; width:24px; height:24px; border-radius:50%; background:var(--primaer); color:#fff; font-size:0.78rem; font-weight:700; align-items:center; justify-content:center; margin-right:6px; }
.hf .k-titel { font-weight:600; font-size:0.9rem; margin-bottom:10px; display:flex; align-items:center; }
.hf .feld { border:1.5px solid var(--rand); border-radius:10px; padding:8px 10px; font-size:0.82rem; background:#fffdf9; min-height:36px; }
.hf .feld .cursor { display:inline-block; width:2px; height:1em; background:var(--primaer); vertical-align:-2px; animation:hf-blink 1s steps(1) infinite; }
@keyframes hf-blink { 50% { opacity:0; } }
.hf .tage { display:grid; grid-template-columns:repeat(5,1fr); gap:5px; }
.hf .tag { background:#eef7f7; border-radius:8px; padding:6px 4px; font-size:0.66rem; text-align:center; line-height:1.3; opacity:0; transform:scale(.8); transition:.35s; }
.hf .k.an .tag { opacity:1; transform:none; }
.hf .k.an .tag:nth-child(2) {transition-delay:.15s}.hf .k.an .tag:nth-child(3) {transition-delay:.3s}.hf .k.an .tag:nth-child(4) {transition-delay:.45s}.hf .k.an .tag:nth-child(5) {transition-delay:.6s}
.hf .tag b { display:block; font-size:0.72rem; }
.hf .blase { border-radius:12px; padding:7px 10px; font-size:0.78rem; line-height:1.4; margin-bottom:6px; max-width:92%; }
.hf .blase.du { background:#eef0f6; margin-left:auto; }
.hf .blase.corvi { background:#e6f4f4; display:flex; gap:6px; align-items:flex-start; }
.hf .blase.corvi img { width:20px; height:auto; flex:none; }
.hf .k .zeile { display:flex; justify-content:space-between; font-size:0.8rem; padding:4px 0; border-bottom:1px dashed var(--rand); }
.hf .balken { height:9px; background:#eee; border-radius:9px; overflow:hidden; margin:6px 0 4px; }
.hf .balken i { display:block; height:100%; width:0; background:var(--tuerkis); border-radius:9px; transition:width 1.2s .2s; }
.hf .k.an .balken i { width:var(--w); }
.hf .mini { font-size:0.74rem; color:#666; }
.hf .badge { display:inline-block; background:#e3f5e8; color:#1e7a3c; font-weight:700; font-size:0.72rem; padding:3px 8px; border-radius:999px; }
.hf .blatt { border:1px solid var(--rand); border-radius:8px; padding:8px; font-size:0.72rem; line-height:1.5; background:#fffdf9; }
.hf .ab { display:flex; gap:6px; }
.hf .ab div { flex:1; border:1px solid var(--rand); border-radius:8px; padding:8px 6px; text-align:center; font-size:0.74rem; background:#fffdf9; }

.hf .film { position:relative; max-width:860px; margin:0 auto; background:var(--creme); border:1px solid var(--rand); border-radius:20px; overflow:hidden; aspect-ratio:16/9; display:flex; flex-direction:column; }
.hf .film-kopf { display:flex; justify-content:space-between; align-items:center; padding:14px 20px 0; font-size:0.8rem; color:#777; }
.hf .film-kopf b { color:var(--primaer); font-size:0.82rem; }
.hf .film-buehne { flex:1; display:flex; flex-direction:column; justify-content:center; padding:4px 22px; }
.hf .film-titel { font-size:clamp(1.1rem,2.6vw,1.7rem); font-weight:700; text-align:center; margin:0 0 14px; opacity:0; transform:translateY(6px); transition:.5s; }
.hf .film-titel.an { opacity:1; transform:none; }
.hf .film-buehne .schritte { gap:12px; }
.hf .film-buehne .k { min-height:150px; }
.hf .untertitel { min-height:3.2em; padding:8px 70px 10px 76px; font-size:clamp(0.8rem,1.6vw,0.98rem); line-height:1.45; text-align:center; background:rgba(255,255,255,.85); border-top:1px solid var(--rand); display:flex; align-items:center; justify-content:center; }
.hf .film-corvi { position:absolute; left:12px; bottom:6px; width:58px; z-index:2; transform-origin:bottom center; }
.hf .film.spielt .film-corvi { animation:hf-wippen 1.6s ease-in-out infinite; }
@keyframes hf-wippen { 0%,100% { transform:rotate(-2deg); } 50% { transform:rotate(2deg) translateY(-2px); } }
.hf .start-overlay { position:absolute; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:12px; background:rgba(250,246,238,.92); z-index:5; cursor:pointer; border:none; font:inherit; color:var(--primaer); width:100%; }
.hf .start-overlay .play { width:76px; height:76px; border-radius:50%; background:var(--akzent); display:flex; align-items:center; justify-content:center; font-size:1.8rem; box-shadow:0 8px 24px rgba(244,168,60,.4); }
.hf .start-overlay span { font-weight:600; }
.hf .leiste { max-width:860px; margin:10px auto 0; display:flex; align-items:center; gap:6px; flex-wrap:nowrap; overflow-x:auto; scrollbar-width:none; }
.hf .leiste::-webkit-scrollbar { display:none; }
.hf .leiste button { white-space:nowrap; flex:none; }
.hf .leiste button { font:inherit; font-size:0.82rem; border:1px solid var(--rand); background:#fff; border-radius:999px; padding:6px 12px; cursor:pointer; color:var(--primaer); }
.hf .leiste button.aktiv { background:var(--primaer); color:#fff; border-color:var(--primaer); }
.hf .fortschritt { max-width:860px; margin:10px auto 0; height:5px; background:#eee; border-radius:5px; overflow:hidden; }
.hf .fortschritt i { display:block; height:100%; width:0; background:var(--tuerkis); }
.hf .badge.niveau { background:#eef0f6; color:var(--primaer); }
.hf .reiter-mini { display:flex; gap:4px; margin-bottom:6px; }
.hf .reiter-mini span { font-size:0.66rem; padding:3px 7px; border-radius:6px 6px 0 0; background:#eef0f6; color:#666; }
.hf .reiter-mini span.an { background:var(--primaer); color:#fff; }
.hf .film-buehne .film-titel { transition: opacity .6s, transform .8s cubic-bezier(.2,.8,.2,1); }
.hf .film-buehne.titelphase .film-titel.an { transform: translateY(70px) scale(1.7); }
.hf .film-buehne > :not(.film-titel) { transition: opacity .6s; }
.hf .film-buehne.titelphase > :not(.film-titel) { opacity: 0; }

.hf .gross { text-align:center; }
.hf .gross img.corvi-gross { width:min(130px,22vw); height:auto; }
.hf .chips { display:flex; flex-wrap:wrap; justify-content:center; gap:8px; margin-top:12px; }
.hf .chip { background:#fff; border:1px solid var(--rand); border-radius:999px; padding:6px 14px; font-size:0.86rem; font-weight:600; opacity:0; transform:translateY(6px); transition:.4s; }
.hf .chip.an { opacity:1; transform:none; }
.hf .check { display:flex; align-items:center; gap:10px; justify-content:center; font-size:clamp(0.95rem,2vw,1.2rem); font-weight:600; margin:10px 0; opacity:0; transform:translateX(-10px); transition:.45s; }
.hf .check.an { opacity:1; transform:none; }
.hf .check::before { content:"✓"; color:#fff; background:var(--tuerkis); width:28px; height:28px; border-radius:50%; display:inline-flex; align-items:center; justify-content:center; font-weight:800; }
.hf .url { font-size:clamp(1.2rem,3vw,1.8rem); font-weight:700; color:var(--tuerkis); margin-top:12px; opacity:0; transition:.5s; }
.hf .url.an, .hf .gross .btn-cta.an { opacity:1; }
.hf .gross .btn-cta { opacity:0; transition:.5s; cursor:default; }

.hf .film.musik .untertitel { font-size:clamp(0.95rem,2.1vw,1.3rem); font-weight:600; min-height:2.8em; }
.hf .film.musik .untertitel span { display:inline-block; animation:hf-einblenden .5s ease both; }
@keyframes hf-einblenden { from { opacity:0; transform:translateY(6px); } to { opacity:1; transform:none; } }

.film-modal { position:fixed; inset:0; background:rgba(28,37,65,.6); display:none; align-items:center; justify-content:center; padding:16px; z-index:50; }
.film-modal.offen { display:flex; }
.film-modal-box { background:#fff; border-radius:20px; padding:16px; width:min(900px,100%); position:relative; }
.film-modal-zu { position:absolute; top:6px; right:10px; border:none; background:none; font-size:1.6rem; cursor:pointer; color:#666; z-index:6; }

@media (max-width:700px) {
  .hf .schritte { grid-template-columns:1fr; }
  .hf .k { min-height:0; }
  .hf .film { aspect-ratio:auto; min-height:560px; }
  .hf .film-buehne .k { min-height:0; }
  .hf .untertitel { padding:8px 12px 10px 66px; }
}

.hf .film-buehne.titelphase .film-titel.lang.an { transform: translateY(70px) scale(1.15); }
.hf .film-titel { overflow-wrap:anywhere; text-wrap:balance; padding:0 12px; }
.hf .checks { display:table; margin:0 auto; text-align:left; }
.hf .checks .check { justify-content:flex-start; }
