/* Story-Layout (Startseite + Aufgaben-Seiten), Design-Regeln siehe website/CLAUDE.md */

.story { padding: 120px 0; overflow: hidden; }
.story.alt { background: var(--hm-bg-medium); }
.split { display: grid; grid-template-columns: 1.15fr .85fr; gap: 72px; align-items: center; }
.story.flip .split { grid-template-columns: .85fr 1.15fr; }
.split > .copy, .split > .visual { min-width: 0; }
.story.flip .copy { order: 2; }
.story .overline, .hero-story .overline, .steps-wrap .overline, .section-overline { display: inline-block; color: var(--hm-gold); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; font-size: .85rem; margin-bottom: 18px; }
.section-overline { display: block; text-align: center; margin-bottom: 14px; }
.story h2, .steps-wrap h2 { font-size: clamp(2.2rem, 4.5vw, 3.6rem); letter-spacing: -.02em; margin: 0 0 18px; }
.story .copy h2 { max-width: 16ch; }
.story p.lead, .steps-wrap p.lead { font-size: clamp(1.1rem, 1.8vw, 1.35rem); color: var(--hm-text); margin: 0; line-height: 1.5; }
.story .copy p.lead { max-width: 46ch; }
.points { display: grid; gap: 28px; margin: 40px 0 36px; }
.point h3 { font-size: 1.2rem; margin: 0 0 6px; }
.point p { color: var(--hm-text-muted); margin: 0; line-height: 1.6; max-width: 52ch; }
.story .more, .funk-head .more, .closing .more { color: var(--hm-gold); font-weight: 600; text-decoration: none; font-size: 1.1rem; }
.story .more:hover, .funk-head .more:hover, .closing .more:hover { text-decoration: underline; }

.visual { position: relative; }
.visual::before { content: ''; position: absolute; inset: -18% -12%; background: radial-gradient(ellipse at 50% 50%, rgba(255,175,41,.16), transparent 62%); pointer-events: none; }
.card { position: relative; margin: 0; border-radius: 16px; overflow: hidden; background: #fff; color: #1f2230; box-shadow: 0 30px 90px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.08); font-size: .95rem; }
.card img { display: block; width: 100%; max-width: 100%; }
.split .visual figure.card { max-width: 440px; margin-left: auto; margin-right: auto; }
.card .head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 20px; font-weight: 700; font-size: 1.05rem; border-bottom: 1px solid #e6e8ee; }
.card .head small { font-weight: 500; color: #6b7080; text-align: right; }
.card .head .tag { font-size: .78rem; vertical-align: middle; }
.card .row { display: grid; grid-template-columns: 1fr auto auto; gap: 16px; align-items: center; padding: 12px 20px; border-bottom: 1px solid #eef0f4; }
.card .row:last-child { border-bottom: 0; }
.card .row b { font-weight: 600; }
.card .row small { display: block; font-weight: 400; color: #6b7080; font-size: .8rem; }
.card .row .dim { color: #6b7080; font-variant-numeric: tabular-nums; }
.card .row .amt { font-weight: 600; font-variant-numeric: tabular-nums; }
.card .group { display: flex; justify-content: space-between; align-items: center; padding: 10px 20px; background: #f5f6f9; font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #6b7080; border-bottom: 1px solid #eef0f4; }
.card .group small { font-weight: 500; text-transform: none; letter-spacing: 0; }
.card .kv { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 12px 20px; border-bottom: 1px solid #eef0f4; }
.card .kv span { color: #6b7080; }
.card .kv b { font-weight: 600; }
.card .meta { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 12px 20px; color: #6b7080; font-size: .9rem; border-bottom: 1px solid #eef0f4; }
.card .meta b { color: #1f2230; font-weight: 600; white-space: nowrap; }
.card .foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 14px 20px; background: #f5f6f9; border-top: 1px solid #eef0f4; color: #6b7080; font-size: .9rem; }
.card .foot b { color: #1f2230; font-variant-numeric: tabular-nums; }
.card .foot small { display: block; color: #6b7080; margin-top: 2px; }
.card .foot-right { display: flex; align-items: center; gap: 10px; }
.card .foot .tags { display: inline-flex; gap: 6px; flex-wrap: wrap; }
.card .foot.tags-only { justify-content: flex-start; gap: 8px; padding: 0 20px 18px; background: none; border-top: 0; }
.card .act { display: inline-block; padding: 4px 10px; border: 1px solid #cfd3dc; border-radius: 6px; font-size: .78rem; font-weight: 600; color: #1f2230; white-space: nowrap; }
.tag { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: .78rem; font-weight: 600; }
.tag.ok { background: #e6f6ea; color: #1b7f3b; }
.tag.warn { background: #fff4d6; color: #8a5a00; }
.tag.info { background: #e3efff; color: #1a56b3; }
.tag.busy { background: #eceef3; color: #4a4f5e; }
.tag.off { background: #e9eaef; color: #4a4f5d; }
.tag.bad, .tag.due { background: #fde8e8; color: #b42318; }
.input { margin: 16px 20px 6px; padding: 12px 14px; border: 1px solid #cfd3dc; border-radius: 8px; color: #1f2230; display: flex; justify-content: space-between; gap: 12px; }
.input span { color: #6b7080; }

/* Kalender */
.cal { padding: 16px 20px 20px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.cal .day { border: 1px solid #e6e8ee; border-radius: 8px; min-height: 150px; padding: 8px; font-size: .8rem; color: #6b7080; }
.cal .day b { display: block; color: #1f2230; margin-bottom: 8px; }
.cal .ev { border-radius: 6px; padding: 6px 8px; margin-bottom: 6px; color: #fff; font-weight: 600; line-height: 1.2; }
.cal .ev small { display: block; font-weight: 400; opacity: .9; }
.ev.a { background: #2e7d32; } .ev.b { background: #1565c0; } .ev.c { background: #ef6c00; }
.cal .ev.blk { background: repeating-linear-gradient(135deg, #8a909d 0 6px, #7a808d 6px 12px); }
.cal .ev.drag { outline: 2px dashed rgba(31,34,48,.45); outline-offset: 2px; transform: translate(4px,-3px); box-shadow: 0 8px 20px rgba(0,0,0,.25); }

/* Beleg */
.inv { padding: 22px 24px; }
.inv .top { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.inv .top b { font-size: 1.1rem; }
.inv .top small { color: #6b7080; display: block; }
.inv .top .right { text-align: right; }
.inv table { width: 100%; border-collapse: collapse; }
.inv td { padding: 9px 0; border-bottom: 1px solid #eef0f4; }
.inv td:last-child { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.inv tr.sum td { border-bottom: 0; font-weight: 700; padding-top: 14px; }
.inv .badges { margin-top: 18px; display: flex; gap: 8px; flex-wrap: wrap; }

/* Handy */
.phone { width: 300px; max-width: 100%; margin: 0 auto; border-radius: 40px; background: #0f1017; padding: 14px; box-shadow: 0 30px 90px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.08); position: relative; text-align: left; }
.phone .screen { border-radius: 28px; background: linear-gradient(180deg,#2b2e3f,#1d1f2b); min-height: 560px; padding: 44px 16px 20px; color: #fff; }
.notch { position: absolute; top: 24px; left: 50%; transform: translateX(-50%); width: 110px; height: 26px; border-radius: 14px; background: #0f1017; }
.push { background: rgba(255,255,255,.12); border-radius: 14px; padding: 12px 14px; margin-bottom: 12px; backdrop-filter: blur(6px); }
.push b { display: block; font-size: .9rem; }
.push span { font-size: .85rem; color: #d7d9e2; }
.push small { display: block; font-size: .72rem; color: #a0a3b5; margin-top: 4px; }
.phone .title { font-size: 1.05rem; font-weight: 700; margin: 6px 4px 14px; }
.phone .app { margin-top: 40px; background: #fff; color: #1f2230; border-radius: 14px; padding: 14px; }
.phone .app.req { margin-top: 24px; }
.phone .tiles + .app, .phone .title + .app { margin-top: 16px; }
.phone .app h4 { margin: 0 0 8px; font-size: 1rem; color: #1f2230; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.phone .app h4 span:first-child { white-space: nowrap; }
.phone .app .app-sub { margin-top: 16px; }
.phone .app .row { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid #eef0f4; }
.phone .app .row:last-of-type { border-bottom: 0; }
.phone .app .row b { white-space: nowrap; font-size: .9rem; }
.phone .app .row small { display: block; font-weight: 400; color: #6b7080; font-size: .78rem; white-space: normal; }
.phone .app .row .dim { color: #6b7080; font-size: .85rem; font-variant-numeric: tabular-nums; }
.phone .app .tag { white-space: nowrap; font-size: .72rem; padding: 2px 8px; }
.phone .app .meta { display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; font-size: .85rem; color: #6b7080; margin-top: 4px; }
.phone .app .meta b { color: #1f2230; font-weight: 600; }
.phone .btn-row { margin-top: 12px; display: flex; gap: 8px; }
.phone .btn-row span { flex: 1; text-align: center; padding: 10px; border-radius: 8px; font-weight: 600; font-size: .85rem; }
.btn-row .primary { background: var(--hm-gold); color: #1f2230; }
.btn-row .ghost { border: 1px solid #cfd3dc; }
.btn-row .danger { border: 1px solid #e3b7b7; color: #b3261e; }
.phone .field { border: 1px solid #cfd3dc; border-radius: 8px; padding: 10px 12px; margin-top: 10px; display: flex; justify-content: space-between; font-size: .9rem; }
.phone .field span { color: #6b7080; }
.phone .hint { font-size: .78rem; color: #6b7080; margin-top: 8px; line-height: 1.4; }
.phone .hint.light { color: #a0a3b5; text-align: center; margin: 16px 8px 0; }
.phone .boat { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; align-items: center; border: 1px solid #cfd3dc; border-radius: 10px; padding: 10px 12px; margin-top: 10px; }
.phone .boat b { font-size: .95rem; grid-column: 1; }
.phone .boat small { grid-column: 1 / -1; font-size: .76rem; color: #6b7080; line-height: 1.3; }
.phone .boat .tag { grid-column: 2; grid-row: 1; }
.phone .boat.dimmed { opacity: .55; }
.phone .kv { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 0; border-bottom: 1px solid #eef0f4; font-size: .9rem; }
.phone .kv:last-of-type { border-bottom: 0; }
.phone .kv span { color: #6b7080; }
.phone .kv b { font-weight: 600; text-align: right; }
.phone .kv .tag { white-space: nowrap; flex-shrink: 0; }
.phone .tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.phone .tile { background: #fff; color: #1f2230; border-radius: 14px; padding: 22px 12px 18px; text-align: center; min-height: 88px; display: flex; flex-direction: column; justify-content: center; }
.phone .tile b { font-size: 1rem; }
.phone .tile small { color: #6b7080; font-size: .78rem; margin-top: 2px; }

/* Kennzahlen */
.stat { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.stat div { padding: 18px 20px; border-bottom: 1px solid #eef0f4; border-right: 1px solid #eef0f4; }
.stat div:nth-child(2n) { border-right: 0; }
.stat b { display: block; font-size: 1.6rem; line-height: 1.1; }
.stat small { color: #6b7080; }
.stat div.bar { padding: 0; border: 0; }
.bar { height: 8px; border-radius: 4px; background: #eef0f4; margin-top: 8px; overflow: hidden; }
.bar i { display: block; height: 100%; background: #2e7d32; }
.bar i.low { background: #ef6c00; }
.stat.big div { padding: 26px 22px; }
.stat.big b { font-size: 2.8rem; letter-spacing: -.02em; margin-bottom: 6px; }
.stat.big small { display: block; line-height: 1.35; }
.stat.stat-4 { grid-template-columns: repeat(4, 1fr); }
.stat.stat-4 div { border-right: 1px solid #eef0f4; border-bottom: 0; }
.stat.stat-4 div:last-child { border-right: 0; }
.stat.stat-3 { grid-template-columns: repeat(3, 1fr); }
.stat.stat-3 div { border-right: 1px solid #eef0f4; border-bottom: 0; }
.stat.stat-3 div:last-child { border-right: 0; }
.stat.stat-3 b { font-size: 1.5rem; }
.stat.stat-3 small { display: block; line-height: 1.3; }

/* Tabellen in Karten */
.card .tbl { overflow-x: auto; }
.card .tbl table { width: 100%; border-collapse: collapse; }
.card .tbl th { text-align: left; padding: 10px 20px; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #6b7080; background: #f5f6f9; border-bottom: 1px solid #eef0f4; white-space: nowrap; }
.card .tbl td { padding: 12px 20px; border-bottom: 1px solid #eef0f4; vertical-align: middle; font-variant-numeric: tabular-nums; }
.card .tbl tr:last-child td { border-bottom: 0; }
.card .tbl td b { font-weight: 600; }
.card .tbl small { display: block; color: #6b7080; font-size: .8rem; font-weight: 400; }
.card .tbl .tag { white-space: nowrap; }
.wl th, .wl td { padding-left: 14px; padding-right: 14px; }
.wl td:first-child { font-weight: 700; width: 40px; }
.wl small { white-space: nowrap; }
.prof td, .bl td { white-space: nowrap; }
.prof td:last-child, .bl td:nth-child(3) { text-align: right; font-weight: 600; }
.prof td:first-child { white-space: normal; }
.prof td:first-child b { white-space: nowrap; }
.bl td:first-child { font-weight: 600; }
.bl td:last-child { text-align: right; }
.wh td:first-child { font-weight: 600; }
.wh th:nth-child(2), .wh th:nth-child(3), .wh td:nth-child(2), .wh td:nth-child(3) { text-align: right; width: 64px; padding-left: 8px; padding-right: 8px; }
.wh th:last-child, .wh td:last-child { width: 130px; text-align: left; }
.wh td:last-child .bar { margin: 0 0 6px; }
.wh td:last-child span { font-size: .8rem; color: #6b7080; }
.wh td:last-child span.tag { color: #1b7f3b; }
.perm th { text-align: center; padding: 10px 12px; }
.perm th:first-child { text-align: left; padding-left: 20px; }
.perm td { padding: 12px 12px; text-align: center; }
.perm td:first-child { text-align: left; padding-left: 20px; font-weight: 600; }
.perm i, .legend i { display: inline-block; width: 18px; height: 18px; border-radius: 50%; border: 1px solid #cfd3dc; vertical-align: middle; }
.perm i.on, .legend i.on { background: #2e7d32; border-color: #2e7d32; position: relative; }
.perm i.on::after, .legend i.on::after { content: ''; position: absolute; left: 6px; top: 2px; width: 4px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.perm i.ro, .legend i.ro { background: #fff4d6; border-color: #e0a63a; }
.perm i.all, .legend i.all { background: var(--hm-gold); border-color: var(--hm-gold); position: relative; }
.perm i.all::after, .legend i.all::after { content: ''; position: absolute; left: 6px; top: 2px; width: 4px; height: 9px; border: solid #1f2230; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.card .foot.legend { justify-content: flex-start; gap: 20px; font-size: .82rem; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }

/* QR-Einladung */
.qr-card { display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: center; padding: 24px; }
.qr { display: grid; grid-template-columns: repeat(9, 12px); grid-auto-rows: 12px; gap: 2px; padding: 8px; border: 1px solid #e6e8ee; border-radius: 8px; }
.qr i { display: block; background: #1f2230; border-radius: 1px; }
.qr i.o { background: transparent; }
.qr-card b { display: block; font-size: 1.05rem; margin-bottom: 4px; }
.qr-card p { margin: 0; color: #6b7080; line-height: 1.5; font-size: .9rem; }
.qr-card .tags { margin-top: 10px; display: flex; gap: 6px; flex-wrap: wrap; }

/* Monitor */
.monitor { position: relative; margin: 0; border-radius: 18px; background: #0f1017; padding: 12px; box-shadow: 0 30px 90px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.08); }
.monitor .screen { border-radius: 8px; overflow: hidden; background: #fff; color: #1f2230; font-size: .95rem; }
.monitor .bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 20px; background: #252734; color: #fff; font-weight: 700; font-size: 1.05rem; height: auto; border-radius: 0; margin: 0; }
.monitor .bar small { font-weight: 500; color: #a0a3b5; }
.monitor .slot { display: grid; grid-template-columns: 60px 1fr auto; gap: 16px; align-items: center; padding: 12px 20px; border-bottom: 1px solid #eef0f4; }
.monitor .slot time { font-weight: 700; font-variant-numeric: tabular-nums; font-size: 1.05rem; }
.monitor .slot b { font-weight: 600; }
.monitor .slot small { display: block; color: #6b7080; }
.monitor .foot { display: flex; justify-content: space-between; padding: 10px 20px; font-size: .78rem; color: #6b7080; background: #f6f7fa; }

/* Dialoge */
.dlg { padding: 8px 20px 20px; }
.dlg .head { margin: 0 -20px 16px; }
.dlg p { margin: 0 0 14px; color: #6b7080; font-size: .9rem; line-height: 1.5; }
.dlg .url { padding: 12px 14px; border: 1px solid #cfd3dc; border-radius: 8px; background: #f6f7fa; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .8rem; word-break: break-all; }
.dlg .apps { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.dlg .actions { display: flex; gap: 8px; justify-content: flex-end; margin-top: 18px; }
.dlg .actions span { padding: 9px 14px; border-radius: 8px; font-weight: 600; font-size: .88rem; }
.dlg .kv { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid #eef0f4; }
.dlg .kv span { color: #6b7080; }
.dlg .kv b { font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; }
.dlg .note { margin: 14px 0 0; color: #6b7080; font-size: .85rem; line-height: 1.5; }
.dlg .btns { margin-top: 16px; display: flex; gap: 8px; }
.dlg .btns span { flex: 1; text-align: center; padding: 11px 14px; border-radius: 8px; font-weight: 600; font-size: .9rem; }
.dlg .btns .ghost { flex: 0 0 auto; padding-inline: 20px; }
.dlg .primary, .invite .primary, .pass .primary { background: var(--hm-gold); color: #1f2230; }
.dlg .ghost, .invite .ghost, .pass .ghost { border: 1px solid #cfd3dc; }

/* Mitarbeiter einladen */
.invite { padding: 6px 20px 20px; }
.invite .field { display: grid; grid-template-columns: 70px 1fr auto; gap: 12px; align-items: center; margin-top: 12px; padding: 10px 14px; border: 1px solid #cfd3dc; border-radius: 8px; font-size: .92rem; }
.invite .field span { color: #6b7080; }
.invite .field b { font-weight: 600; overflow-wrap: anywhere; }
.invite .field.sel i { width: 8px; height: 8px; border: solid #6b7080; border-width: 0 2px 2px 0; transform: rotate(45deg); margin: 0 4px 4px 0; }
.invite .sum { margin-top: 16px; padding: 12px 14px; background: #f5f6f9; border-radius: 8px; }
.invite .sum small { display: block; font-size: .76rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #6b7080; margin-bottom: 6px; }
.invite .line { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-top: 1px solid #e6e8ee; font-size: .88rem; }
.invite .line span { color: #6b7080; }
.invite .line b { font-weight: 600; white-space: nowrap; }
.invite .actions, .pass .actions { display: flex; gap: 8px; justify-content: flex-end; margin-top: 18px; }
.invite .actions span, .pass .actions span { padding: 9px 14px; border-radius: 8px; font-weight: 600; font-size: .88rem; }

/* Kopfleiste der Cloud */
.card .topbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; background: #252734; color: #fff; flex-wrap: wrap; }
.card .topbar .qc { display: inline-flex; align-items: center; gap: 10px; padding: 7px 12px; border-radius: 8px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); font-size: .88rem; }
.card .topbar .qc span { color: #a0a3b5; }
.card .topbar .qc b { font-weight: 600; font-variant-numeric: tabular-nums; }
.card .topbar .qc i { width: 11px; height: 11px; border: 2px solid #a0a3b5; border-radius: 50%; position: relative; }
.card .topbar .qc i::after { content: ''; position: absolute; width: 2px; height: 6px; background: #a0a3b5; right: -4px; bottom: -5px; transform: rotate(-45deg); }
.card .topbar .chips { display: flex; gap: 8px; flex-wrap: wrap; }
.card .topbar .chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; background: rgba(255,175,41,.16); color: #ffd48a; font-size: .8rem; font-weight: 600; white-space: nowrap; }
.card .topbar .chip b { color: #fff; font-variant-numeric: tabular-nums; }

/* Onboarding-Pass */
.card.pass { display: grid; grid-template-columns: 150px 1fr; border-radius: 10px; }
.pass .stub { position: relative; background: #343a40; color: #fff; padding: 26px 18px; text-align: center; border-right: 2px dashed rgba(255,255,255,.35); }
.pass .stub .ring { display: block; width: 56px; height: 56px; margin: 4px auto 16px; border-radius: 50%; border: 12px solid var(--hm-gold); box-shadow: inset 0 0 0 4px #343a40, 0 0 0 4px #343a40; background: repeating-conic-gradient(#1f2230 0 45deg, transparent 45deg 90deg); }
.pass .stub b { display: block; font-size: 1rem; line-height: 1.25; }
.pass .stub small { display: block; color: #a0a3b5; margin-top: 8px; font-size: .78rem; }
.pass .body { padding: 20px 20px 18px; }
.pass .body h4 { margin: 0 0 4px; font-size: 1.15rem; }
.pass .body p { margin: 0 0 14px; color: #6b7080; font-size: .9rem; }
.pass .task { display: grid; grid-template-columns: 22px 1fr auto; gap: 10px; align-items: center; padding: 10px 0; border-top: 1px solid #eef0f4; font-size: .92rem; }
.pass .task span { font-weight: 600; }
.pass .task small { color: #6b7080; white-space: nowrap; }
.pass .task i { width: 18px; height: 18px; border-radius: 50%; border: 1px solid #cfd3dc; position: relative; }
.pass .task.done i { background: #2e7d32; border-color: #2e7d32; }
.pass .task.done i::after { content: ''; position: absolute; left: 6px; top: 2px; width: 4px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.pass .task.now i { border: 2px solid var(--hm-gold); }
.pass .task.now i::after { content: ''; position: absolute; inset: 3px; border-radius: 50%; background: var(--hm-gold); }

/* Packliste */
.card .pack .row { grid-template-columns: 28px 1fr auto auto; }
.card .pack .row .dim { font-size: .85rem; }
.chk { display: inline-block; width: 20px; height: 20px; border-radius: 50%; border: 1px solid #cfd3dc; position: relative; }
.chk.on { background: #2e7d32; border-color: #2e7d32; }
.chk.on::after { content: ''; position: absolute; left: 7px; top: 3px; width: 4px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* Abschluss und Vergleich */
.closing { padding: 120px 0; text-align: center; }
.closing.alt { background: var(--hm-bg-medium); }
.closing h2 { margin: 0 auto 16px; }
.closing p { color: var(--hm-text-muted); max-width: 52ch; margin: 0 auto 32px; font-size: 1.15rem; }
.closing p.closing-more { margin-top: 18px; }
.compare { max-width: 900px; margin: 56px auto 0; text-align: left; border: 1px solid var(--hm-border); border-radius: 12px; overflow: hidden; }
.compare table { width: 100%; border-collapse: collapse; }
.compare td, .compare th { padding: 12px 18px; border-bottom: 1px solid var(--hm-border); }
.compare th { text-align: left; color: var(--hm-text-muted); font-weight: 600; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; background: var(--hm-bg-medium); }
.compare td:first-child { color: var(--hm-text-heading); font-weight: 600; width: 34%; }
.compare td { color: var(--hm-text-muted); }
.compare tr:last-child td { border-bottom: 0; }

/* Aufgaben-Seiten */
.hero-story { padding: 130px 0 70px; text-align: center; overflow: hidden; }
.hero-story.compact { padding: 90px 0 48px; }
.hero-story h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); letter-spacing: -.025em; margin: 0 auto 20px; max-width: 18ch; }
.hero-story p.lead { font-size: clamp(1.15rem, 2vw, 1.45rem); color: var(--hm-text-muted); max-width: 52ch; margin: 0 auto 32px; line-height: 1.5; }
.hero-story .hero-visual { max-width: 980px; margin: 56px auto 0; }
.hero-story .hero-visual .card { text-align: left; }
.hero-story .hero-visual .cal .day { min-height: 170px; }
.hero-story .hero-visual .inv { font-size: 1.05rem; }
.hero-story .hero-check { max-width: 680px; margin: 0 auto; text-align: left; }
.hero-story .hero-check::before { inset: -30% -25%; }
.hero-story .hero-order { max-width: 420px; }
.hero-story .hero-order::before { inset: -20% -40%; }
.crumbs { font-size: .9rem; color: var(--hm-text-muted); margin-bottom: 26px; }
.crumbs a { color: var(--hm-text-muted); text-decoration: none; }
.crumbs a:hover { color: var(--hm-gold); }
.glance { padding: 90px 0; }
.glance.alt, .faq-story.alt { background: var(--hm-bg-medium); }
.glance-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.glance-item { background: rgba(255,255,255,.04); border: 1px solid var(--hm-border); border-radius: 14px; padding: 24px; }
.glance-item h4 { margin: 0 0 8px; font-size: 1.05rem; }
.glance-item p { margin: 0; color: var(--hm-text-muted); line-height: 1.55; font-size: .95rem; }
.faq-story { padding: 90px 0; }
.faq-story .faq-list { margin-top: 36px; }
.faq-story .item { border-top: 1px solid var(--hm-border); padding: 22px 0; max-width: 820px; margin: 0 auto; }
.faq-story .item:last-child { border-bottom: 1px solid var(--hm-border); }
.faq-story h4 { margin: 0 0 8px; font-size: 1.1rem; }
.faq-story .item p { margin: 0; color: var(--hm-text-muted); line-height: 1.6; }
.section-title { text-align: center; margin-bottom: 8px; }
.section-sub { text-align: center; color: var(--hm-text-muted); max-width: 56ch; margin: 0 auto; }
.steps-wrap { max-width: 760px; margin: 0 auto; }
.steps { counter-reset: s; display: grid; gap: 18px; margin: 32px 0 36px; }
.step { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; }
.step::before { counter-increment: s; content: counter(s); width: 32px; height: 32px; border-radius: 50%; background: var(--hm-gold); color: var(--hm-bg-dark); font-weight: 700; display: flex; align-items: center; justify-content: center; }
.step h3 { font-size: 1.1rem; margin: 4px 0 4px; }
.step p { margin: 0; color: var(--hm-text-muted); line-height: 1.55; }

/* Funktionsliste */
.funk-index { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 8px; }
.funk-index a { padding: 6px 14px; border: 1px solid var(--hm-border); border-radius: 999px; color: var(--hm-text-muted); text-decoration: none; font-size: .9rem; }
.funk-index a:hover { color: var(--hm-text-heading); border-color: var(--hm-gold); }
.funk { padding: 64px 0; }
.funk.alt { background: var(--hm-bg-medium); }
.funk-head { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; margin-bottom: 20px; }
.funk-head h2 { margin: 0; font-size: clamp(1.6rem, 2.6vw, 2.2rem); letter-spacing: -.015em; }
.funk-head .more { font-size: 1rem; white-space: nowrap; }
.compare.full { max-width: none; margin: 0; background: rgba(0,0,0,.12); }
.compare.full td:first-child { width: 24%; }
.compare.full td:nth-child(2) { line-height: 1.5; }
.compare.full th.c, .compare.full td.c { text-align: center; width: 84px; padding-left: 8px; padding-right: 8px; }
.compare.full td.c { color: var(--hm-gold); font-size: 1.1rem; font-weight: 700; }
.compare.full td.c.no { color: var(--hm-text-muted); opacity: .55; font-weight: 400; }
.compare.full tr:nth-child(odd) td { background: rgba(255,255,255,.025); }

/* Mobil */
@media (max-width: 900px) {
  .split, .story.flip .split { grid-template-columns: 1fr; gap: 40px; }
  .story.flip .copy { order: 0; }
  .story .copy h2 { max-width: none; }
  .story, .closing { padding: 80px 0; }
  .glance-grid { grid-template-columns: 1fr; }
  .stat.stat-4 { grid-template-columns: 1fr 1fr; }
  .stat.stat-4 div { border-bottom: 1px solid #eef0f4; }
  .stat.stat-4 div:nth-child(2n) { border-right: 0; }
  .stat.stat-3 { grid-template-columns: 1fr; }
  .stat.stat-3 div { border-right: 0; border-bottom: 1px solid #eef0f4; }
  .compare { overflow-x: auto; }
  .compare table { min-width: 560px; }
  .compare.full table { min-width: 720px; }
  .funk-head { flex-direction: column; gap: 6px; }
}
@media (max-width: 600px) {
  .hero-story { padding: 80px 0 48px; }
  .hero-story h1 { font-size: clamp(2rem, 8.5vw, 2.6rem); }
  .hero-story .hero-visual { margin-top: 40px; }
  .story h2, .steps-wrap h2 { font-size: clamp(1.9rem, 8vw, 2.4rem); }
  .card { border-radius: 12px; }
  .card .row { grid-template-columns: 1fr auto; gap: 6px 12px; }
  .card .row .dim { grid-column: 1; font-size: .85rem; }
  .card .row .tag, .card .row .amt { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
  .card .pack .row { grid-template-columns: 28px 1fr auto; }
  .card .pack .row .dim { grid-column: 2; }
  .card .pack .row .tag { grid-column: 3; }
  .card .kv { grid-template-columns: 90px 1fr; gap: 10px; }
  .cal { grid-template-columns: 1fr; gap: 6px; padding: 12px 16px 16px; }
  .cal .day, .hero-story .hero-visual .cal .day { min-height: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 6px 8px; }
  .cal .day b { width: 52px; margin: 0; }
  .cal .ev { margin: 0; padding: 5px 9px; font-size: .78rem; }
  .cal .ev small { display: inline; margin-left: 4px; }
  .cal .ev.drag { transform: none; }
  .qr-card { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .qr-card .tags { justify-content: center; }
  .card.pass { grid-template-columns: 1fr; }
  .pass .stub { border-right: 0; border-bottom: 2px dashed rgba(255,255,255,.35); }
  .hero-story .hero-visual .perm td:first-child, .perm td:first-child, .perm th:first-child { padding-left: 14px; }
  .perm th, .perm td { padding-inline: 8px; }
  .card .foot.legend { gap: 12px; }
  .monitor .slot { grid-template-columns: 52px 1fr; }
  .monitor .slot .tag { grid-column: 2; justify-self: start; }
  .inv { padding: 18px 16px; }
  .inv .top { flex-direction: column; }
  .inv .top .right { text-align: left; }
  .invite .field { grid-template-columns: 60px 1fr auto; }
}

/* --- Ratgeber (Index + Artikel) --- */
.article-hero h1 { max-width: 24ch; font-size: clamp(2.2rem, 5vw, 3.6rem); }
.article-meta { color: var(--hm-text-muted); font-size: .95rem; margin: 0; }
.article-body { padding: 24px 0 100px; }
.article { max-width: 760px; margin: 0 auto; font-size: 1.12rem; line-height: 1.7; color: var(--hm-text); }
.article h2 { font-size: 1.7rem; margin: 48px 0 14px; letter-spacing: -.01em; }
.article h3 { font-size: 1.25rem; margin: 32px 0 10px; }
.article p { margin: 0 0 20px; }
.article ul, .article ol { margin: 0 0 20px; padding-left: 24px; }
.article li { margin-bottom: 8px; }
.article strong { color: var(--hm-text-heading); }
.article a { color: var(--hm-gold); }
.article blockquote { margin: 28px 0; padding: 16px 22px; border-left: 3px solid var(--hm-gold); background: var(--hm-bg-medium); border-radius: 0 var(--hm-radius-sm) var(--hm-radius-sm) 0; color: var(--hm-text-muted); }
.article blockquote p:last-child { margin: 0; }
.article table { display: block; overflow-x: auto; border-collapse: collapse; width: 100%; margin: 0 0 24px; font-size: 1rem; }
.article th, .article td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--hm-border); vertical-align: top; }
.article th { color: var(--hm-text-heading); white-space: nowrap; }
.article-cta { max-width: 760px; margin: 64px auto 0; padding: 36px 32px; background: var(--hm-bg-medium); border: 1px solid var(--hm-border); border-radius: var(--hm-radius); }
.article-cta h2 { margin: 8px 0 12px; font-size: 1.6rem; }
.article-cta p { color: var(--hm-text-muted); margin: 0 0 24px; }
.article-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.article-more { max-width: 760px; margin: 48px auto 0; }
.article-more h3 { font-size: 1.1rem; color: var(--hm-text-muted); margin: 0 0 12px; }
.article-more ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.article-more a { color: var(--hm-text); text-decoration: none; }
.article-more a:hover { color: var(--hm-gold); }
.ratgeber-list { padding: 24px 0 110px; }
.ratgeber-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.ratgeber-card { display: flex; flex-direction: column; gap: 10px; padding: 28px; background: var(--hm-bg-medium); border: 1px solid var(--hm-border); border-radius: var(--hm-radius); text-decoration: none; color: var(--hm-text); transition: border-color var(--hm-transition), transform var(--hm-transition); }
.ratgeber-card:hover { border-color: var(--hm-gold); transform: translateY(-3px); }
.ratgeber-card h2 { font-size: 1.3rem; margin: 0; line-height: 1.3; }
.ratgeber-card p { color: var(--hm-text-muted); margin: 0; flex: 1; }
.ratgeber-topic { color: var(--hm-gold); font-size: .85rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.ratgeber-meta { color: var(--hm-text-muted); font-size: .9rem; }
@media (max-width: 600px) {
  .article { font-size: 1.05rem; }
  .article-cta { padding: 28px 20px; }
  .ratgeber-grid { grid-template-columns: 1fr; }
}
