    /* DESIGN TOKENS — Farben, Abstände und Rundungen zentral anpassen. */
    :root {
      color-scheme: light;
      --ink: #22283d; --muted: #697087; --purple: #6751df; --purple-dark: #5540c6;
      --purple-soft: #f0edff; --mint: #ddf8ed; --green: #176c50;
      --line: #eaeaf3; --paper: #fff; --radius: 30px;
      --shadow: 0 18px 60px -24px #4b4d8540, 0 2px 6px #43447704;
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      font-synthesis: none;
    }
    * { box-sizing: border-box; }
    [hidden] { display: none !important; }
    body { margin: 0; min-width: 280px; color: var(--ink); font-size: 16px; line-height: 1.5; background: #f3f5ff; }
    body::before { content: ""; position: fixed; inset: 0; z-index: -1; background: radial-gradient(ellipse at 14% 12%, #dce6ff 0, transparent 56%), radial-gradient(ellipse at 90% 64%, #f0eaff 0, transparent 50%), linear-gradient(125deg,#edf1ff,#f8faff); }
    button, input { font: inherit; }
    button, a, input { -webkit-tap-highlight-color: transparent; }
    button { cursor: pointer; color: inherit; }
    button:disabled { cursor: wait; opacity: .55; }
    button, a { touch-action: manipulation; }
    button { border: 0; }
    a { color: inherit; }
    :focus-visible { outline: 3px solid #866feb; outline-offset: 5px; }
    h1, h2, h3, p { margin: 0; }
    svg { display: block; }
    .icon { width: 21px; height: 21px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
    .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
    .page { min-height: 100svh; display: flex; flex-direction: column; }
    .site-header { width: min(1120px, calc(100% - 80px)); margin: 0 auto; min-height: 94px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
    .brand { display: inline-flex; align-items: center; gap: 9px; padding: 6px 0; text-decoration: none; font-size: 25px; font-weight: 780; letter-spacing: -1.2px; }
    .brand-mark { display: flex; align-items: center; justify-content: center; gap: 3px; width: 28px; height: 30px; color: var(--purple); }
    .brand-mark i { width: 4px; height: 12px; background: currentColor; border-radius: 4px; }
    .brand-mark i:nth-child(2) { height: 24px; }
    .brand-mark i:nth-child(3) { height: 17px; }
    .demo-badge { display: inline-flex; align-items: center; gap: 7px; border: 1px solid #dcdfee; background: #ffffff65; border-radius: 30px; color: #64687d; padding: 7px 12px; font-size: 12px; font-weight: 550; min-height: 34px; }
    .demo-badge::before { content: ""; width: 5px; height: 5px; background: #9985d8; border-radius: 50%; }
    main { flex: 1; width: 100%; padding: 22px 24px 0; }
    .hero { text-align: center; margin: 0 auto 32px; max-width: 800px; }
    .hero h1 { font-size: clamp(34px, 4.2vw, 52px); line-height: 1.13; font-weight: 750; letter-spacing: -2px; }
    .hero h1 .accent { color: var(--purple); }
    .wave-emoji { display: inline-block; font-size: .75em; margin-left: 5px; transform: rotate(-9deg); vertical-align: 5%; }
    .hero p { color: var(--muted); margin-top: 17px; font-size: 16px; line-height: 1.65; }
    .hero .little-dot { display: inline-block; width: 3px; height: 3px; background: #a2a6ba; border-radius: 50%; vertical-align: middle; margin: 0 10px; }
    .card { width: min(100%, 720px); margin: 0 auto; background: var(--paper); border: 1px solid #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 30px 38px; position: relative; }
    .view { animation: appear .3s ease-out; }
    .view:focus { outline: none; }
    @keyframes appear { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: translateY(0); } }
    .tabs { display: flex; padding: 5px; background: #f4f4f8; border: 1px solid #f0f0f5; width: fit-content; max-width: 100%; margin: 0 auto 24px; border-radius: 50px; }
    .tab { display: flex; gap: 9px; align-items: center; justify-content: center; background: transparent; color: #6a6f82; padding: 11px 23px; border-radius: 40px; font-size: 14px; font-weight: 600; min-height: 44px; transition: background .18s, color .18s; white-space: nowrap; }
    .tab .icon { width: 18px; height: 18px; }
    .tab[aria-selected="true"] { color: var(--purple-dark); background: #fff; box-shadow: 0 2px 6px #2528480a; }
    .wave-panel { height: 155px; border-radius: 19px; padding: 18px 23px; background: linear-gradient(110deg,#f3f1ff,#ecefff); position: relative; display: flex; flex-direction: column; justify-content: space-between; }
    .wave-meta { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 11px; font-weight: 600; color: #6e6581; letter-spacing: 1.2px; text-transform: uppercase; }
    .wave-meta .status { display: flex; gap: 7px; align-items: center; }
    .status-dot { width: 6px; height: 6px; border-radius: 50%; background: #9a8bd4; }
    .timer { font-size: 12px; letter-spacing: .5px; font-variant-numeric: tabular-nums; }
    .record-wave { display: flex; justify-content: center; align-items: center; height: 73px; gap: 5px; width: 100%; margin-bottom: 12px; overflow: hidden; }
    .record-wave span { width: 5px; flex: 0 1 5px; height: var(--height); min-width: 2px; border-radius: 5px; background: linear-gradient(#b9aaf1,#8d80dc); opacity: .7; transform-origin: center; }
    .recording .record-wave span { animation: voice .75s ease-in-out infinite alternate; animation-delay: var(--delay); opacity: 1; }
    .recording .status-dot { background: #cc5369; animation: blink 1.3s ease-in-out infinite; }
    .recording .wave-meta { color: #92566e; }
    @keyframes voice { from { transform: scaleY(.25); } to { transform: scaleY(1.25); } }
    @keyframes blink { 50% { opacity: .35; } }
    .record-action { display: flex; flex-direction: column; align-items: center; padding: 24px 0 0; }
    .mic-halo { padding: 8px; border: 1px solid #e7e1ff; border-radius: 50%; background: #f5f2ff; }
    .mic-button { width: 84px; height: 84px; display: grid; place-items: center; color: white; background: linear-gradient(140deg,#8356e8,#6555dd); border-radius: 50%; box-shadow: 0 7px 18px #6b51d42b, inset 0 1px 0 #ffffff40; transition: transform .2s, box-shadow .2s, background .2s; }
    .mic-button:hover { transform: scale(1.045); box-shadow: 0 8px 24px #6b51d449; }
    .mic-button:active { transform: scale(.97); }
    .mic-button .icon { width: 32px; height: 32px; stroke-width: 1.7; }
    .recording .mic-button { background: #ca516b; box-shadow: 0 7px 18px #ca516b30; }
    .recording .mic-halo { background: #fff0f3; border-color: #f6dce3; }
    .record-title { font-size: 16px; font-weight: 650; letter-spacing: -.2px; margin: 16px 0 5px; }
    .micro-copy { color: var(--muted); font-size: 12px; line-height: 1.6; }
    .demo-note { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 20px; color: #62677d; font-size: 11px; text-align: center; }
    .demo-note .icon { width: 13px; height: 13px; }
    .text-button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; background: transparent; color: var(--muted); font-size: 13px; padding: 10px 12px; border-radius: 8px; min-height: 40px; }
    .text-button:hover { color: var(--purple-dark); background: #f7f5ff; }
    .text-button .icon { width: 17px; height: 17px; }
    .cancel-record { margin-top: 5px; padding-top: 5px; padding-bottom: 5px; }
    .upload-zone { text-align: center; border: 1.5px dashed #cfc8ee; border-radius: 20px; background: #faf9ff; min-height: 297px; padding: 30px 20px; display: flex; align-items: center; justify-content: center; flex-direction: column; transition: background .2s, border-color .2s; }
    .upload-zone.drag-over { background: #efebff; border-color: var(--purple); }
    .upload-icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 17px; background: #eee9ff; color: var(--purple); margin-bottom: 14px; }
    .upload-icon .icon { width: 25px; height: 25px; }
    .upload-zone h2 { font-size: 18px; letter-spacing: -.35px; }
    .upload-zone p { font-size: 13px; color: var(--muted); margin: 5px 0 17px; }
    .upload-zone .formats { font-size: 11px; margin: 12px 0 0; }
    .file-error { color: #a22f4e; font-size: 13px; margin-top: 12px; text-align: center; }
    .card-heading { text-align: center; margin-bottom: 25px; }
    .eyebrow { display: block; font-size: 10px; text-transform: uppercase; letter-spacing: 1.7px; font-weight: 650; color: var(--purple); margin-bottom: 9px; }
    .card-heading h2 { font-size: 27px; font-weight: 700; line-height: 1.25; letter-spacing: -.7px; }
    .card-heading p { margin-top: 9px; font-size: 14px; color: var(--muted); }
    .back-button { position: absolute; left: 22px; top: 22px; width: 36px; height: 36px; border-radius: 50%; background: #f6f5fa; color: #7c7c91; display: grid; place-items: center; }
    .back-button:hover { color: var(--purple); background: #efebff; }
    .back-button .icon { width: 18px; height: 18px; }
    .preview-card, .listen-card { padding-top: 34px; padding-bottom: 30px; }
    .player { background: #f7f6ff; border: 1px solid #efecfb; border-radius: 20px; padding: 20px; }
    .audio-info { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 15px; }
    .audio-name { font-size: 12px; font-weight: 600; color: #68627f; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .audio-kind { font-size: 10px; color: #625773; background: #ece8fa; padding: 3px 7px; border-radius: 6px; white-space: nowrap; }
    .player-main { display: flex; gap: 18px; align-items: center; }
    .play-button { width: 55px; height: 55px; border-radius: 50%; display: grid; place-items: center; background: var(--purple); box-shadow: 0 4px 10px #6751df23; color: #fff; flex: 0 0 auto; transition: background .2s, transform .2s; }
    .play-button:hover { background: var(--purple-dark); transform: scale(1.04); }
    .play-button .icon { width: 22px; height: 22px; fill: currentColor; stroke-width: 1; }
    .track { flex: 1; min-width: 0; }
    .seek-wrap { position: relative; height: 45px; }
    .player-wave { position: absolute; inset: 0; display: flex; align-items: center; justify-content: space-between; gap: 3px; pointer-events: none; }
    .player-wave span { flex: 1; min-width: 1px; max-width: 5px; height: var(--height); border-radius: 4px; background: #d9d2f4; transition: background .15s; }
    .player-wave span.played { background: var(--purple); }
    .seek { position: absolute; width: 100%; height: 100%; top: 0; left: 0; margin: 0; cursor: pointer; opacity: .001; }
    .seek-wrap:focus-within { outline: 2px solid var(--purple); outline-offset: 5px; border-radius: 3px; }
    .times { display: flex; align-items: center; justify-content: space-between; font-size: 11px; color: #6d657c; font-variant-numeric: tabular-nums; margin-top: 4px; }
    .speed { background: transparent; padding: 0 8px; height: 24px; font-size: 10px; color: #736987; border-radius: 5px; }
    .speed:hover { background: #e9e4fa; }
    .transcript { margin-top: 16px; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
    .transcript-toggle { width: 100%; display: flex; align-items: center; gap: 12px; text-align: left; background: #fff; padding: 14px 16px; }
    .transcript-toggle:hover { background: #fcfbff; }
    .transcript-icon { width: 37px; height: 40px; flex: 0 0 auto; display: grid; place-items: center; color: #9160c7; border-radius: 11px; background: #f5effe; }
    .transcript-label { display: flex; flex: 1; flex-direction: column; gap: 2px; }
    .transcript-label strong { font-size: 13px; font-weight: 600; }
    .transcript-label small { font-size: 11px; color: var(--muted); }
    .chevron { width: 16px; height: 16px; color: #9c94ad; transition: transform .2s; }
    [aria-expanded="true"] .chevron { transform: rotate(180deg); }
    .transcript-pending { margin-top: 14px; font-size: 12px; color: var(--muted); }
    .text-box { margin-top: 16px; border: 1px solid var(--line); border-radius: 16px; background: #fdfcff; text-align: left; }
    .text-box-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 10px 0 19px; }
    .text-box-head strong { font-size: 13px; font-weight: 600; }
    .text-box p { margin: 6px 0 0; padding: 0 19px 16px; font-size: 14px; line-height: 1.75; color: #646078; white-space: pre-wrap; }
    .option-row { display: flex; gap: 12px; align-items: flex-start; margin-top: 16px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; cursor: pointer; text-align: left; }
    .option-row input { margin-top: 4px; accent-color: var(--purple); width: 16px; height: 16px; flex: 0 0 auto; }
    .option-row strong { display: block; font-size: 13px; font-weight: 600; }
    .option-row small { font-size: 11px; color: var(--muted); line-height: 1.5; }
    .transcript-body { border-top: 1px solid var(--line); padding: 16px 19px; font-size: 14px; line-height: 1.75; color: #646078; background: #fdfcff; }
    .transcript-body small { display: block; margin-top: 8px; font-size: 11px; color: #71677e; }
    .actions { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
    .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; min-height: 46px; border-radius: 50px; font-size: 13px; font-weight: 600; line-height: 1.4; text-decoration: none; transition: background .18s, transform .18s, box-shadow .18s; }
    .btn:hover { transform: translateY(-1px); }
    .btn:active { transform: translateY(0); }
    .btn .icon { width: 18px; height: 18px; }
    .btn-primary { background: var(--purple); color: #fff; box-shadow: 0 4px 10px #6751df17; }
    .btn-primary:hover { background: var(--purple-dark); box-shadow: 0 6px 14px #6751df2b; }
    .btn-secondary { background: #f2f2f7; color: #676b7f; }
    .btn-secondary:hover { background: #eaeaF2; }
    .btn-mint { background: var(--mint); color: var(--green); }
    .btn-mint:hover { background: #cdf2e2; }
    .btn-outline { border: 1px solid #ded8f3; color: var(--purple-dark); background: #fff; }
    .btn-outline:hover { background: #f8f6ff; }
    .preview-actions { gap: 9px; }
    .preview-actions .btn { padding-left: 17px; padding-right: 17px; }
    .share-card { text-align: center; padding-top: 32px; }
    .success-icon { display: grid; place-items: center; width: 67px; height: 67px; border-radius: 50%; margin: 0 auto 20px; background: #e0f8ed; color: #32a078; box-shadow: 0 0 0 7px #f3fcf7; }
    .success-icon .icon { width: 29px; height: 29px; stroke-width: 2.5; }
    .share-card .card-heading { margin-bottom: 24px; }
    .link-box { padding: 8px; border: 1px solid #e5e1f4; background: #f8f7fd; display: flex; gap: 8px; border-radius: 16px; align-items: center; }
    .link-box > .icon { margin-left: 8px; color: #8b80ad; width: 17px; height: 17px; }
    .link-input { border: 0; width: 0; flex: 1; background: transparent; outline-offset: 0; min-width: 0; padding: 9px 0; font-size: 13px; color: #6c6580; text-overflow: ellipsis; }
    .link-box .btn { border-radius: 11px; padding-left: 17px; padding-right: 17px; }
    .share-note { margin-top: 10px; font-size: 11px; color: var(--muted); }
    .recipient-preview { margin: 21px 0 0; }
    .recipient-preview .icon { width: 16px; height: 16px; }
    .share-card .actions { margin-top: 23px; padding-top: 23px; border-top: 1px solid var(--line); }
    .headphone-badge { display: grid; place-items: center; width: 53px; height: 53px; border-radius: 18px; color: #fff; background: linear-gradient(135deg,#9270ed,#6952de); margin: 0 auto 19px; box-shadow: 0 8px 20px #6652d725; transform: rotate(-7deg); }
    .headphone-badge .icon { width: 27px; height: 27px; transform: rotate(7deg); }
    .listen-hero h1 { font-size: clamp(32px, 3.8vw, 46px); }
    .listen-hero { margin-bottom: 29px; }
    .listen-card { padding-top: 28px; }
    .message-intro { display: flex; align-items: center; gap: 11px; margin-bottom: 18px; }
    .message-avatar { width: 35px; height: 35px; border-radius: 50%; display: grid; place-items: center; background: #fff0db; font-size: 18px; }
    .message-intro h2 { font-size: 14px; font-weight: 650; }
    .message-intro p { font-size: 11px; color: var(--muted); margin-top: 2px; }
    .listen-download { margin-top: 18px; text-align: center; }
    .reply { text-align: center; margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); }
    .reply h3 { font-size: 19px; letter-spacing: -.4px; }
    .reply p { color: var(--muted); font-size: 13px; margin: 5px 0 17px; }
    .reply .btn { padding-left: 26px; padding-right: 26px; }
    .reply-back { display: block; text-align: center; margin: 13px auto 0; }
    .page-caption { display: flex; align-items: center; justify-content: center; gap: 7px; margin: 22px auto 0; color: #62677d; font-size: 12px; text-align: center; }
    .page-caption .icon { width: 14px; height: 14px; color: #9d8dc3; }
    .site-footer { padding: 32px 20px 24px; display: flex; align-items: center; justify-content: center; gap: 22px; color: #62677d; font-size: 11px; }
    .footer-brand { font-weight: 550; }
    .footer-links { display: flex; align-items: center; gap: 14px; }
    .footer-links button { color: #62677d; font-size: 11px; padding: 8px 0; background: transparent; }
    .footer-links button:hover { color: var(--purple-dark); }
    .footer-separator { width: 1px; height: 12px; background: #d7dbea; }
    .toast { position: fixed; bottom: 25px; left: 50%; transform: translate(-50%, 10px); max-width: calc(100% - 32px); width: max-content; padding: 13px 20px; color: #fff; background: #30304a; border-radius: 14px; box-shadow: 0 8px 30px #33334a25; font-size: 13px; line-height: 1.5; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 10; text-align: center; }
    .toast.visible { opacity: 1; transform: translate(-50%,0); }
    dialog { width: min(430px, calc(100% - 32px)); padding: 28px; border: 1px solid #fff; border-radius: 24px; color: var(--ink); box-shadow: var(--shadow); }
    dialog::backdrop { background: #35334a55; backdrop-filter: blur(4px); }
    dialog h2 { font-size: 24px; letter-spacing: -.6px; margin-bottom: 12px; }
    dialog p { color: var(--muted); font-size: 14px; line-height: 1.7; white-space: pre-line; }
    dialog .btn { width: 100%; margin-top: 23px; }
    @media (min-width: 1500px) { main { padding-top: 42px; } .hero { margin-bottom: 38px; } .card { width: 760px; padding-left: 42px; padding-right: 42px; } .wave-panel { height: 173px; } .site-footer { padding-top: 40px; } }
    @media (max-width: 600px) {
      .site-header { width: calc(100% - 40px); min-height: 76px; }
      .brand { font-size: 23px; }
      .demo-badge { padding: 5px 10px; font-size: 10px; min-height: 30px; }
      main { padding: 20px 16px 0; }
      .hero { margin-bottom: 26px; }
      .hero h1 { font-size: 35px; letter-spacing: -1.35px; }
      .hero p { font-size: 14px; margin-top: 14px; }
      .hero .little-dot { margin: 0 6px; }
      .card { padding: 24px 20px; border-radius: 25px; }
      .tabs { width: 100%; margin-bottom: 20px; }
      .tab { flex: 1; padding: 9px 12px; font-size: 12px; gap: 7px; }
      .tab .icon { width: 16px; height: 16px; }
      .wave-panel { padding: 16px; height: 139px; border-radius: 16px; }
      .wave-meta { font-size: 9px; letter-spacing: .85px; }
      .record-wave { gap: 3px; height: 67px; margin-bottom: 5px; }
      .record-action { padding-top: 21px; }
      .mic-button { width: 79px; height: 79px; }
      .record-title { margin-top: 14px; font-size: 16px; }
      .demo-note { font-size: 10px; margin-top: 18px; }
      .page-caption { font-size: 11px; margin-top: 19px; }
      .site-footer { flex-direction: column; gap: 4px; padding: 27px 16px 20px; }
      .site-footer > .footer-separator { display: none; }
      .footer-links { gap: 20px; }
      .footer-links button { min-height: 36px; }
      .card-heading h2 { font-size: 23px; }
      .card-heading p { font-size: 13px; }
      .card-heading { margin-bottom: 22px; }
      .eyebrow { font-size: 9px; }
      .preview-card, .share-card { padding-top: 30px; }
      .preview-card .card-heading { padding: 0 16px; }
      .back-button { left: 14px; top: 21px; width: 30px; height: 30px; }
      .player { padding: 16px; border-radius: 17px; }
      .player-main { gap: 13px; }
      .play-button { width: 48px; height: 48px; }
      .player-wave { gap: 2px; }
      .transcript-toggle { gap: 10px; padding: 12px; }
      .transcript-label strong { font-size: 12px; }
      .transcript-label small { font-size: 10px; }
      .transcript-icon { width: 33px; height: 37px; }
      .preview-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 20px; }
      .preview-actions .btn { font-size: 12px; padding: 12px 9px; }
      .preview-actions .btn-primary { grid-column: 1 / -1; grid-row: 1; min-height: 49px; font-size: 14px; }
      .preview-actions .btn .icon { width: 16px; height: 16px; }
      .success-icon { width: 59px; height: 59px; margin-bottom: 22px; }
      .link-box { flex-wrap: wrap; padding: 9px; gap: 4px; }
      .link-box .btn { width: 100%; margin-top: 5px; }
      .link-input { font-size: 12px; }
      .share-note { font-size: 10px; }
      .share-card .actions { gap: 10px; margin-top: 18px; padding-top: 20px; }
      .share-card .actions .btn { width: 100%; }
      .recipient-preview { width: 100%; font-size: 12px; margin-top: 18px; }
      .headphone-badge { width: 47px; height: 47px; border-radius: 16px; margin-bottom: 17px; }
      .listen-hero h1 { font-size: 32px; }
      .listen-hero p { max-width: 290px; margin-left: auto; margin-right: auto; }
      .listen-card { padding-top: 23px; }
      .reply .btn { width: 100%; font-size: 12px; padding-left: 12px; padding-right: 12px; }
      .reply h3 { font-size: 19px; }
      .reply p { font-size: 12px; }
      .upload-zone { min-height: 289px; padding-left: 12px; padding-right: 12px; }
    }
    @media (max-width: 360px) {
      .hero h1 { font-size: 30px; }
      .hero p { font-size: 12px; }
      .card { padding-left: 15px; padding-right: 15px; }
      .tab { padding-left: 8px; padding-right: 8px; }
      .demo-note { font-size: 9px; }
      .preview-actions .btn { gap: 4px; font-size: 11px; }
      .preview-actions .btn-primary { font-size: 14px; }
      .card-heading h2 { font-size: 21px; }
      .transcript-label strong { font-size: 11px; }
    }
    @media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* ---- Speeeak F1 – Ergänzungen zum Entwurf (echter Betrieb) ---- */
.note { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 20px; color: #62677d; font-size: 11px; text-align: center; }
.note .icon { width: 13px; height: 13px; flex: 0 0 auto; }
.note a { color: inherit; }
.card.busy { opacity: .75; pointer-events: none; }
.spinner { width: 16px; height: 16px; border: 2px solid #ffffff80; border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.site-header .header-link { font-size: 12px; color: var(--muted); text-decoration: none; border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; background: #fff; }
.delete-box { margin-top: 18px; padding: 12px 14px; border: 1px dashed #e5e1f4; border-radius: 14px; font-size: 12px; color: var(--muted); word-break: break-all; }
.delete-box { text-align: left; }
.delete-box strong { display: flex; align-items: center; gap: 6px; color: var(--ink); margin-bottom: 4px; font-size: 12px; }
.delete-box a { color: #6555dd; }
.reply-context { margin: -6px 0 16px; text-align: center; font-size: 12px; color: var(--muted); }
.reply-banner { display: flex; gap: 14px; align-items: flex-start; width: min(100%, 720px); margin: -6px auto 18px; padding: 14px 18px; background: var(--purple-soft); border: 1px solid #ddd6ff; border-radius: 18px; font-size: 14px; line-height: 1.5; color: var(--ink); }
.reply-banner-symbol { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--purple); color: #fff; display: grid; place-items: center; font-size: 17px; }
.reply-banner a { color: var(--purple-dark); }
.reply-context a { color: #6555dd; }
.text-card { line-height: 1.65; font-size: 14px; }
.text-card h2 { font-size: 20px; margin-bottom: 12px; letter-spacing: -.3px; }
.text-card h3 { font-size: 15px; margin: 18px 0 6px; }
.text-card p, .text-card li { color: #3f4257; margin-bottom: 8px; }
.text-card ul { padding-left: 20px; }
.text-card a { color: #6555dd; }
.level-meter { height: 4px; background: #ebe8f7; border-radius: 4px; overflow: hidden; margin: 0 auto 10px; width: 60%; }
.level-meter i { display: block; height: 100%; width: 0; background: linear-gradient(90deg,#b9aaf1,#8d80dc); transition: width .08s linear; }
.recording .level-meter i { background: linear-gradient(90deg,#f0a2b4,#ca516b); }
@media (max-width: 600px) {
  .listen-hero h1 { font-size: 26px; }
  .listen-hero p { display: none; }
  .headphone-badge { width: 42px; height: 42px; }
}
    .legal-stand { font-size: 12px; color: var(--muted); margin: 0 0 18px; }
    .text-card h3 { margin-top: 26px; }
    .text-card h3:first-of-type { margin-top: 0; }
    .text-card h2 { font-size: 22px; letter-spacing: -.01em; margin: 0 0 14px; }

    /* Rechtstexte aus dem Generator (eRecht24-Struktur h2/h3/h4) + Formulare Widerruf/Kündigung */
    .rechtstext h2 { font-size: 17px; margin: 26px 0 8px; }
    .rechtstext h2:first-child { font-size: 22px; margin-top: 0; }
    .rechtstext h3 { font-size: 15px; margin: 18px 0 6px; }
    .rechtstext h4 { font-size: 14px; margin: 14px 0 4px; color: var(--ink); }
    .rechtstext p + h2 { margin-top: 30px; }
    .legal-form { display: grid; gap: 14px; margin: 18px 0 8px; }
    .legal-form label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: var(--ink); }
    .legal-form input[type="text"], .legal-form input[type="email"], .legal-form input[type="date"], .legal-form textarea { font: inherit; font-weight: 400; font-size: 14px; padding: 10px 12px; border: 1px solid #ded8f3; border-radius: 10px; background: #fff; color: var(--ink); }
    .legal-form input:focus, .legal-form textarea:focus { outline: 2px solid var(--purple); outline-offset: 1px; border-color: var(--purple); }
    .legal-form fieldset { border: 1px solid #ded8f3; border-radius: 10px; padding: 10px 12px; display: grid; gap: 8px; }
    .legal-form legend { font-size: 13px; font-weight: 600; padding: 0 4px; }
    .legal-form label.radio { flex-direction: row; align-items: center; flex-wrap: wrap; gap: 8px; font-weight: 400; }
    .legal-form label.radio input[type="date"] { padding: 6px 8px; }
    .legal-form .btn { justify-self: start; }
    .honigtopf { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
    .form-hinweis { font-size: 13px; color: var(--muted); }
    .form-fehler { background: #fff3f3; color: #a22; border: 1px solid #f3c9c9; border-radius: 10px; padding: 10px 12px; font-size: 13px; margin-bottom: 10px; }

    /* Kundenportal */
    .konto-karte { margin-bottom: 18px; }
    .konto-kopf { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
    .konto-kopf h2 { margin: 0; }
    .konto-tabelle { width: 100%; border-collapse: collapse; font-size: 13px; }
    .konto-tabelle th { text-align: left; font-weight: 600; color: var(--muted); padding: 8px 6px; border-bottom: 1px solid #e6e3f5; }
    .konto-tabelle td { padding: 10px 6px; border-bottom: 1px solid #efedf8; vertical-align: top; }
    .konto-tabelle small { color: var(--muted); }
    .konto-aktionen { display: flex; gap: 10px; flex-wrap: nowrap; align-items: center; white-space: nowrap; }
    .text-card a.btn-primary, .text-card a.btn-primary:hover { color: #fff; }
    .konto-tabelle .text-button { padding: 2px 4px; font-size: 13px; min-height: auto; }
    .konto-aktionen a { color: var(--purple); font-weight: 600; }
    .konto-aktionen form { display: inline; }
    .text-button-rot { color: #b3261e; }
    .form-ok { background: #eefaf3; color: #1d6b43; border: 1px solid #c6ecd6; border-radius: 10px; padding: 10px 12px; font-size: 13px; margin-bottom: 10px; }
    .konto-meldung { width: min(720px, calc(100% - 40px)); margin: -10px auto 18px; }
    .kopf-konto { display: flex; align-items: center; gap: 12px; font-size: 13px; }
    .kopf-name { color: var(--muted); }
    .legal-form input[type="password"] { font: inherit; font-weight: 400; font-size: 14px; padding: 10px 12px; border: 1px solid #ded8f3; border-radius: 10px; background: #fff; color: var(--ink); }
    @media (max-width: 640px) { .konto-tabelle thead { display: none; } .konto-tabelle tr { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 10px; padding: 8px 0; border-bottom: 1px solid #efedf8; } .konto-tabelle td { border: 0; padding: 2px 0; } .konto-tabelle td:last-child { grid-column: 1 / -1; padding-top: 6px; } .konto-tabelle td[data-l]::before { content: attr(data-l) ': '; color: var(--muted); } .kopf-name { display: none; } }
    .kopf-link { font-size: 13px; font-weight: 600; color: var(--purple-dark); text-decoration: none; padding: 8px 14px; border-radius: 50px; background: #f3f1ff; }
    .konto-aktionen form, .konto-aktionen .text-button { display: inline-flex; margin: 0; width: auto; }
    .konto-tabelle td:last-child { white-space: nowrap; }

    /* Preise und Kasse */
    .preise { display: grid; gap: 18px; width: min(720px, calc(100% - 40px)); margin: 0 auto; }
    .preise .card { width: 100%; }
    @media (min-width: 900px) { .preise { grid-template-columns: 1fr 1fr; width: min(900px, calc(100% - 40px)); align-items: start; } }
    @media (min-width: 1180px) { .preise-4 { grid-template-columns: repeat(4, 1fr); width: min(1240px, calc(100% - 40px)); } }
    .preise-4 .card { padding: 26px 22px; } .preise-4 h2 { font-size: 22px; } .preise-4 .preis-liste { font-size: 14px; } .preise-4 .btn { width: 100%; justify-content: center; }
    .preis-karte-empfohlen { border: 1.5px solid var(--purple); position: relative; }
    .preis-marke { position: absolute; top: -12px; left: 22px; background: var(--purple); color: #fff; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; }
    .preis-jahr { margin: -6px 0 8px; font-size: 13px; color: var(--purple-dark); font-weight: 600; }
    .preis-karte-plus { border: 1px solid #ded8f3; }
    .preis-betrag { font-size: 30px; font-weight: 700; letter-spacing: -.02em; color: var(--ink); margin: 2px 0 10px; }
    .preis-betrag small { font-size: 14px; font-weight: 500; color: var(--muted); }
    .preis-text { color: var(--muted); }
    .preis-liste { list-style: none; padding: 0; margin: 12px 0 18px; }
    .preis-liste li { padding-left: 22px; position: relative; margin-bottom: 6px; }
    .preis-liste li::before { content: "✓"; position: absolute; left: 0; color: var(--purple); font-weight: 700; }
    .preis-fuss { width: min(720px, calc(100% - 40px)); margin: 18px auto 0; font-size: 12px; color: var(--muted); text-align: center; line-height: 1.6; }

    /* Kasse (2b): Hauptspalte + dunkle Zusammenfassung, nach dem vydcraft-Muster */
    .kasse { --sec-pad: clamp(20px, 2.4vw, 30px); display: flex; flex-wrap: wrap; align-items: flex-start; gap: 28px; width: min(1120px, 100%); margin: 0 auto; padding-bottom: 20px; }
    .kasse-main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
    .kasse-titel { font-size: 26px; letter-spacing: -.02em; margin: 2px 0 0 6px; }
    .kasse .card { width: 100%; padding: var(--sec-pad); border-radius: 24px; }
    .kasse-karte-kopf { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
    .kasse-karte-kopf h2 { font-size: 17px; margin: 0; letter-spacing: -.01em; }
    .kasse-pill { font-size: 12px; font-weight: 600; color: var(--muted); background: #f3f2fb; border-radius: 999px; padding: 4px 11px; }
    .kasse-pill-blau { color: var(--purple); background: #ece9fb; }
    .kasse-form { display: flex; flex-direction: column; gap: 18px; }
    .angebote { display: grid; gap: 10px; }
    .angebot { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1.5px solid #e4e1f4; border-radius: 14px; cursor: pointer; background: #fff; transition: border-color .15s, background .15s; }
    .angebot input, .zahlungsart input { position: absolute; opacity: 0; width: 1px; height: 1px; }
    .angebot.gewaehlt { border-color: var(--purple); background: #f3f1fd; }
    .angebot-kreis, .zahlungsart-kreis { flex: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid #c9c4ea; background: #fff; position: relative; }
    .angebot.gewaehlt .angebot-kreis, .zahlungsart.gewaehlt .zahlungsart-kreis { border-color: var(--purple); }
    .angebot.gewaehlt .angebot-kreis::after, .zahlungsart.gewaehlt .zahlungsart-kreis::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--purple); }
    .angebot-text { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
    .angebot-text strong { font-size: 15px; }
    .angebot-text small { font-size: 12.5px; color: var(--muted); line-height: 1.45; }
    .angebot-preis { font-weight: 700; font-size: 16px; white-space: nowrap; }
    .angebot-preis small { font-weight: 500; font-size: 12px; color: var(--muted); margin-left: 3px; }
    .kasse-angemeldet { font-size: 13px; color: var(--muted); margin: -4px 0 12px; }
    .felder { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; }
    .feld { display: flex; flex-direction: column; gap: 5px; font-size: 12.5px; font-weight: 600; color: var(--ink); }
    .feld-2 { grid-column: 1 / -1; }
    .feld input, .feld select { font: inherit; font-weight: 400; font-size: 14.5px; padding: 11px 13px; border: 1px solid #ded8f3; border-radius: 11px; background: #f8f7fd; color: var(--ink); width: 100%; }
    .feld input:focus, .feld select:focus { outline: 2px solid var(--purple); outline-offset: 1px; border-color: var(--purple); background: #fff; }
    .feld small { font-weight: 400; color: var(--muted); font-size: 12px; }
    .firma { margin-top: 12px; }
    .firma summary { cursor: pointer; font-size: 13px; font-weight: 600; color: var(--purple); list-style: none; display: inline-flex; align-items: center; gap: 6px; }
    .firma summary::before { content: "+"; display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 6px; background: #ece9fb; font-weight: 700; }
    .firma[open] summary::before { content: "–"; }
    .firma .felder { margin-top: 12px; }
    .pay-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 10px 18px; padding: 16px 18px; border-radius: 16px; background: #f3f1fd; }
    .pay-head-name { font-size: 16px; font-weight: 650; }
    .pay-head-kind { display: inline-block; margin-top: 6px; border-radius: 999px; background: #fff; color: var(--purple); padding: 3px 11px; font-size: 12px; font-weight: 600; }
    .pay-head-price { text-align: right; }
    .pay-head-price .display { display: block; font-size: 28px; font-weight: 700; line-height: 1.1; letter-spacing: -.02em; }
    .pay-head-price small { font-size: 12px; color: var(--muted); }
    .pay-steps { list-style: none; display: flex; gap: 18px; flex-wrap: wrap; padding: 0; margin: 16px 0 6px; font-size: 13px; color: var(--muted); }
    .pay-steps li { display: flex; align-items: center; gap: 8px; }
    .pay-steps li span { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #efedf8; color: var(--muted); font-size: 12px; font-weight: 700; }
    .pay-steps li[aria-current="step"] { color: var(--ink); font-weight: 600; }
    .pay-steps li[aria-current="step"] span { background: var(--purple); color: #fff; }
    .pay-steps li[data-done="true"] span { background: #e4e0fb; color: var(--purple); }
    .pay-steps li[data-done="true"] span::before { content: "✓"; }
    .pay-steps li[data-done="true"] span { font-size: 0; } .pay-steps li[data-done="true"] span::before { font-size: 12px; }
    .pay-label { font-size: 13.5px; font-weight: 650; margin: 16px 0 8px; }
    .zahlungsarten { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
    .zahlungsart { position: relative; display: flex; align-items: center; gap: 10px; padding: 11px 12px; border: 1.5px solid #e4e1f4; border-radius: 13px; cursor: pointer; background: #fff; transition: border-color .15s, background .15s; }
    .zahlungsart.gewaehlt { border-color: var(--purple); background: #f3f1fd; }
    .zahlungsart.aus { opacity: .5; cursor: not-allowed; }
    .zahlungsart-icon { flex: none; width: 30px; height: 26px; border-radius: 8px; background: #ece9fb; color: var(--purple); display: grid; place-items: center; }
    .zahlungsart-icon .icon { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.8; }
    .zahlungsart-text { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
    .zahlungsart-text strong { font-size: 13.5px; }
    .zahlungsart-text small { font-size: 11.5px; color: var(--muted); line-height: 1.4; }
    .kasse .haken { display: flex; align-items: flex-start; gap: 10px; font-size: 12.5px; line-height: 1.55; color: #3f4257; margin: 0 0 10px; cursor: pointer; }
    .kasse .haken input { margin-top: 3px; width: 17px; height: 17px; accent-color: var(--purple); flex: none; }
    .kasse .haken a { color: var(--purple); }
    .pay-summe { border: 1px solid #e4e1f4; border-radius: 13px; padding: 4px 14px; margin: 14px 0 14px; font-size: 13px; }
    .pay-summe > div { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; }
    .pay-summe > div + div { border-top: 1px solid #efedf8; }
    .pay-summe span { color: var(--muted); flex: none; }
    .pay-summe strong { text-align: right; font-weight: 600; }
    .pay-go { width: 100%; border: 0; border-radius: 16px; background: var(--purple); color: #fff; min-height: 54px; font: inherit; font-size: 16px; font-weight: 650; cursor: pointer; box-shadow: 0 6px 14px #6751df26; transition: background .15s, transform .15s; }
    .pay-go:hover:not(:disabled) { background: var(--purple-dark); }
    .pay-go:disabled { opacity: .55; cursor: wait; }
    .pay-trust { display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; margin: 12px 0 0; font-size: 11.5px; color: var(--muted); }
    .pay-trust span { display: inline-flex; align-items: center; gap: 5px; }
    .pay-trust .icon { width: 13px; height: 13px; stroke: currentColor; fill: none; stroke-width: 1.8; }
    .pay-gewaehlt { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin: 12px 0 10px; }
    .pay-gewaehlt > span { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; }
    .pay-gewaehlt .icon { width: 18px; height: 18px; stroke: var(--purple); fill: none; stroke-width: 1.8; }
    .pay-back { color: var(--purple); text-decoration: underline; background: none; border: 0; font: inherit; font-size: 13.5px; font-weight: 600; min-height: 40px; cursor: pointer; padding: 0; }
    .payframe { margin-inline: calc(-1 * var(--sec-pad)); }
    .payframe > :not(.payframe-box) { margin-inline: var(--sec-pad); }
    .payframe-box { position: relative; overflow: hidden; background: #fff; }
    .payframe-box iframe { position: relative; z-index: 1; display: block; width: 100%; border: 0; background: none; color-scheme: light; }
    .payframe-loading { position: absolute; inset: 0; display: flex; justify-content: center; align-items: flex-start; padding-top: 48px; color: var(--muted); font-size: 13px; }
    .payframe-box[data-state="gemeldet"] .payframe-loading { display: none; }
    .payframe-box[data-oben="offen"] { transition: height .3s; }
    .payframe-box[data-oben="offen"] iframe { transition: margin-top .3s; }
    .kasse-aside { flex: 1 1 320px; min-width: 0; max-width: 380px; position: sticky; top: 20px; border-radius: 26px; padding: 26px; color: #fff; background: linear-gradient(165deg, #1b1740 0%, #3a2f8f 100%); box-shadow: 0 18px 40px #2a1f7a33; }
    .kasse-aside h2 { font-size: 20px; margin: 0 0 14px; letter-spacing: -.01em; }
    .kasse-fakten { margin: 0; display: grid; gap: 9px; font-size: 14px; }
    .kasse-fakten > div { display: flex; justify-content: space-between; gap: 14px; }
    .kasse-fakten dt { color: #c8c3ec; font-weight: 400; }
    .kasse-fakten dd { margin: 0; text-align: right; font-weight: 600; }
    .kasse-zahlen { margin-top: 16px; padding-top: 16px; border-top: 1px solid #ffffff2b; display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: 2px 12px; }
    .kasse-zahlen span { font-weight: 600; }
    .kasse-zahlen strong { font-size: 28px; text-align: right; letter-spacing: -.02em; }
    .kasse-zahlen small { grid-column: 1 / -1; text-align: right; color: #c8c3ec; font-size: 12px; line-height: 1.5; }
    .kasse-aside-hinweis { margin: 16px 0 0; font-size: 12.5px; color: #d9d5f3; line-height: 1.55; }
    .kasse-aside-hinweis a { color: #fff; }
    .kasse[data-step="2"] { display: grid; grid-template-columns: minmax(0, 520px) minmax(0, 1fr); }
    .kasse[data-step="2"] .kasse-aside { max-width: none; }
    .kasse[data-step="2"] .kasse-titel { display: none; }
    @media (max-width: 999px) { .kasse[data-step="2"] { grid-template-columns: minmax(0, 520px); justify-content: center; } .kasse[data-step="2"] .kasse-aside { position: static; } }
    @media (max-width: 760px) { .kasse-aside { position: static; max-width: none; } .zahlungsarten { grid-template-columns: 1fr 1fr; } }
    @media (max-width: 560px) { .kasse { --sec-pad: 16px; } .felder { grid-template-columns: 1fr; } .zahlungsarten { grid-template-columns: 1fr; } .angebot { flex-wrap: wrap; } .pay-head-price { text-align: left; } .kasse-titel { font-size: 22px; } }

    /* Landingpage-Editor im Konto */
    .seite-form { display: flex; flex-direction: column; gap: 0; width: min(720px, 100%); margin: 0 auto; }
    .seite-form .card { width: 100%; }
    .seite-form .feld textarea { font: inherit; font-weight: 400; font-size: 14.5px; padding: 11px 13px; border: 1px solid #ded8f3; border-radius: 11px; background: #f8f7fd; color: var(--ink); }
    .seite-form .feld input[type="file"] { font-size: 13px; padding: 8px 0; background: none; border: 0; }
    .designs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
    .design-kachel { display: flex; flex-direction: column; gap: 4px; padding: 10px; border: 1.5px solid #e4e1f4; border-radius: 12px; cursor: pointer; font-weight: 400; }
    .design-kachel input { position: absolute; opacity: 0; width: 1px; height: 1px; }
    .design-kachel.gewaehlt { border-color: var(--purple); background: #f3f1fd; }
    .design-kachel strong { font-size: 13px; }
    .design-kachel small { font-size: 11px; color: var(--muted); line-height: 1.4; }
    .design-bild { display: block; height: 54px; border-radius: 8px; background: #f3f5ff; position: relative; overflow: hidden; border: 1px solid #ebeaf6; }
    .design-bild i { position: absolute; left: 0; right: 0; top: 0; height: 0; background: var(--vorschau, #6751df); }
    .design-bild b { position: absolute; left: 14%; right: 14%; top: 18px; height: 40px; background: #fff; border-radius: 6px; box-shadow: 0 2px 6px #0001; }
    .design-karte .design-bild i { height: 22px; }
    .design-welle .design-bild i { height: 34px; border-radius: 0 0 50% 50% / 0 0 14px 14px; }
    .design-dunkel .design-bild { background: #15132a; } .design-dunkel .design-bild b { background: #1f1c3b; }
    .farbe-zeile { display: flex; gap: 8px; align-items: center; }
    .farbe-zeile input[type="color"] { width: 46px; height: 42px; padding: 2px; border: 1px solid #ded8f3; border-radius: 10px; background: #fff; }
    .farbe-zeile input[type="text"] { width: 110px; }
    .bild-vorhanden { display: flex; align-items: center; gap: 10px; margin: 4px 0; font-size: 12px; font-weight: 400; }
    .haken-klein { display: inline-flex; gap: 4px; align-items: center; font-weight: 400; color: var(--muted); }
    .knoepfe { grid-template-columns: 1fr 1.4fr; }
    .seite-aktionen { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
    .seite-loeschen { text-align: center; margin: 14px 0 0; }
    .farbpunkt { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 7px; vertical-align: -1px; }
    .konto-links { display: flex; gap: 8px; flex-wrap: wrap; margin: 10px 0 14px; }
    .seite-wahl select { font: inherit; font-size: 12.5px; padding: 5px 8px; border: 1px solid #ded8f3; border-radius: 8px; background: #fff; max-width: 170px; }
    .seite-wahl { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; } .seite-wahl input[type=text] { width: 190px; font: inherit; font-size: 12.5px; padding: 5px 8px; border: 1px solid #ded8f3; border-radius: 8px; }
    @media (max-width: 760px) { .designs { grid-template-columns: 1fr 1fr; } .knoepfe { grid-template-columns: 1fr; } }
    .option-row-select { justify-content: space-between; align-items: center; cursor: default; }
    .option-row-select select { font: inherit; font-size: 13px; padding: 8px 10px; border: 1px solid #ded8f3; border-radius: 10px; background: #fff; max-width: 46%; }
    .datei-wahl { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 10px 12px; border: 1px dashed #cfc9ee; border-radius: 12px; background: #faf9fe; font-weight: 400; }
    .datei-bild { flex: none; width: 52px; height: 52px; border-radius: 10px; background: #fff; border: 1px solid #ebeaf6; display: grid; place-items: center; overflow: hidden; }
    .datei-bild.rund { border-radius: 50%; }
    .datei-bild img { max-width: 100%; max-height: 100%; object-fit: contain; }
    .datei-bild.rund img { width: 100%; height: 100%; object-fit: cover; }
    .datei-bild.leer .icon { width: 20px; height: 20px; stroke: #a9a4cf; fill: none; stroke-width: 1.8; }
    .datei-text { flex: 1; min-width: 120px; display: flex; flex-direction: column; gap: 2px; }
    .datei-text strong { font-size: 13px; font-weight: 600; }
    .datei-text small { font-size: 11.5px; color: var(--muted); }
    .datei-knopf { cursor: pointer; padding: 9px 16px; min-height: 40px; font-size: 13px; }
    .datei-knopf input { position: absolute; opacity: 0; width: 1px; height: 1px; }
    .vorschau-rahmen { border: 1px solid #e6e3f5; border-radius: 16px; overflow: hidden; background: #f3f5ff; height: 640px; }
    .vorschau-rahmen iframe { width: 100%; height: 100%; border: 0; }
    .einbetten-dialog { border: 0; border-radius: 22px; padding: 26px 28px; width: min(640px, calc(100% - 32px)); box-shadow: 0 24px 60px #2c2a5a33; color: var(--ink); }
    .einbetten-dialog::backdrop { background: #22283d88; }
    .einbetten-dialog h2 { font-size: 19px; margin: 0 0 6px; }
    .einbetten-dialog h3 { font-size: 13.5px; margin: 16px 0 6px; }
    .dialog-schliessen { position: absolute; top: 12px; right: 14px; background: none; border: 0; font-size: 22px; color: var(--muted); cursor: pointer; }
    .code-box { display: flex; gap: 10px; align-items: flex-start; background: #f6f5fd; border: 1px solid #e6e3f5; border-radius: 12px; padding: 10px 12px; }
    .code-box code { flex: 1; font-size: 12px; line-height: 1.5; word-break: break-all; white-space: pre-wrap; }
    .eingang { display: grid; gap: 12px; }
    .eingang-zeile { border: 1px solid #e6e3f5; border-radius: 14px; padding: 14px 16px; }
    .eingang-zeile.neu { border-color: var(--purple); background: #faf9ff; }
    .eingang-kopf { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: flex-start; }
    .eingang-kopf small { color: var(--muted); }
    .eingang-text { margin: 10px 0 0; font-size: 13.5px; color: #4a4e66; line-height: 1.6; }
    .avv-text { max-height: 420px; overflow: auto; margin: 0 0 14px; border: 1px solid #e6e3f5; border-radius: 12px; padding: 14px 18px; font-size: 13.5px; background: #fbfaff; }
    .avv-text h1 { font-size: 18px; } .avv-text h2 { font-size: 15px; margin-top: 18px; } .avv-text table { width: 100%; border-collapse: collapse; margin: 8px 0; } .avv-text th, .avv-text td { border: 1px solid #ded8f3; padding: 5px 7px; text-align: left; vertical-align: top; font-size: 12.5px; }
    .legal-text table { width: 100%; border-collapse: collapse; margin: 8px 0; } .legal-text th, .legal-text td { border: 1px solid #ded8f3; padding: 5px 7px; text-align: left; vertical-align: top; }
    .avv-hinweis { border: 1px solid #f0d9a8; background: #fff8e8; border-radius: 12px; padding: 12px 16px; margin: 0 0 14px; font-size: 14px; }
/* Startseite mit Recorder: soll ohne Scrollen in den Bildschirm passen (Olli). Kompakter Modus, je nach Höhe gestuft. */
body:has(#record-panel) { min-height: 100dvh; display: flex; flex-direction: column; }
body:has(#record-panel) main { display: flex; flex-direction: column; justify-content: center; }
@media (max-height: 980px) {
  body:has(#record-panel) .site-header { min-height: 70px; }
  body:has(#record-panel) main { padding-top: 8px; }
  body:has(#record-panel) .hero { margin-bottom: 18px; }
  body:has(#record-panel) .hero h1 { font-size: clamp(28px, 3.6vw, 42px); letter-spacing: -1.4px; }
  body:has(#record-panel) .hero p { margin-top: 8px; font-size: 14px; }
  body:has(#record-panel) .card { padding: 20px 30px; }
  body:has(#record-panel) .tabs { margin-bottom: 14px; }
  body:has(#record-panel) .tab { padding: 9px 20px; font-size: 13px; }
  body:has(#record-panel) .wave-panel { height: 118px; padding: 14px 20px; }
  body:has(#record-panel) .record-wave { height: 56px; margin-bottom: 6px; }
  body:has(#record-panel) .record-action { padding-top: 14px; }
  body:has(#record-panel) .mic-button { width: 70px; height: 70px; }
  body:has(#record-panel) .mic-button .icon { width: 28px; height: 28px; }
  body:has(#record-panel) .record-title { margin: 10px 0 3px; font-size: 15px; }
  body:has(#record-panel) .note { margin-top: 12px; }
  body:has(#record-panel) .site-footer { padding: 12px 20px 10px; }
}
@media (max-height: 690px) {
  body:has(#record-panel) .site-header { min-height: 58px; }
  body:has(#record-panel) .hero { margin-bottom: 12px; }
  body:has(#record-panel) .hero h1 { font-size: clamp(26px, 3vw, 34px); }
  body:has(#record-panel) .hero p { display: none; }
  body:has(#record-panel) .card { padding: 16px 28px; }
  body:has(#record-panel) .wave-panel { height: 96px; padding: 12px 18px; }
  body:has(#record-panel) .record-wave { height: 44px; margin-bottom: 4px; }
  body:has(#record-panel) .record-action { padding-top: 10px; }
  body:has(#record-panel) .mic-button { width: 60px; height: 60px; }
  body:has(#record-panel) .mic-button .icon { width: 24px; height: 24px; }
  body:has(#record-panel) .micro-copy { display: none; }
  body:has(#record-panel) .note { margin-top: 8px; }
  body:has(#record-panel) .site-footer { padding: 8px 20px 8px; }
}
@media (max-width: 600px) {
  body:has(#record-panel) .site-header { min-height: 58px; }
  body:has(#record-panel) main { padding-top: 4px; }
  body:has(#record-panel) .hero { margin-bottom: 14px; }
  body:has(#record-panel) .hero h1 { font-size: 30px; letter-spacing: -1.1px; }
  body:has(#record-panel) .hero p { margin-top: 6px; font-size: 13px; }
  body:has(#record-panel) .card { padding: 16px 16px; }
  body:has(#record-panel) .tabs { margin-bottom: 12px; }
  body:has(#record-panel) .wave-panel { height: 104px; padding: 12px 14px; }
  body:has(#record-panel) .record-wave { height: 48px; }
  body:has(#record-panel) .mic-button { width: 64px; height: 64px; }
  body:has(#record-panel) .mic-button .icon { width: 26px; height: 26px; }
  body:has(#record-panel) .record-title { margin: 10px 0 2px; font-size: 15px; }
  body:has(#record-panel) .note { margin-top: 10px; font-size: 10.5px; }
  body:has(#record-panel) .site-footer { flex-direction: row; flex-wrap: wrap; gap: 4px 10px; padding: 10px 12px 10px; }
  body:has(#record-panel) .site-footer .footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 10px; }
}
    .btn-rot { background: #c23b53; box-shadow: 0 8px 18px #c23b5333; } .btn-rot:hover { background: #a92f45; }
    .kurz-wahl { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; } .kurz-vorsatz { color: var(--muted); font-size: 13px; }
    .kurz-wahl input { width: 120px; font: inherit; font-size: 13px; padding: 5px 8px; border: 1px solid #ded8f3; border-radius: 8px; }
    /* Haken-Zeilen (AV-Vertrag, Widget-Editor): jede auf eigener Zeile, Kästchen sauber ausgerichtet */
    .konto-karte .haken { display: flex; align-items: flex-start; gap: 12px; margin: 0 0 12px; padding: 12px 14px; border: 1px solid #e6e3f5; border-radius: 12px; background: #fbfaff; font-size: 14.5px; line-height: 1.5; color: #3f4257; cursor: pointer; }
    .konto-karte .haken input { margin: 3px 0 0; width: 18px; height: 18px; accent-color: var(--purple); flex: none; }
    .konto-karte .haken:has(input:checked) { border-color: var(--purple); }
    .schluessel-karte { border: 2px solid var(--purple); }
    .schluessel-zeile { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 6px 0 10px; }
    .schluessel-zeile code { font-size: 20px; letter-spacing: 1px; background: #f4f2ff; border: 1px solid #ded8f3; border-radius: 10px; padding: 10px 16px; }
    .schluessel-zeile.klein { margin: 0; gap: 6px; } .schluessel-zeile.klein code { font-size: 13px; letter-spacing: .5px; padding: 3px 8px; }
    /* Nachrichtenliste im Konto als Karten */
    .nl { display: grid; gap: 12px; }
    .nl-zeile { border: 1px solid #e6e3f5; border-radius: 14px; padding: 12px 16px; }
    .nl-kopf { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: center; }
    .nl-meta { font-size: 13.5px; color: #3f4257; }
    .nl-link { margin: 8px 0 0; font-size: 12.5px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
    .nl-link code { background: #f4f2ff; border-radius: 6px; padding: 2px 8px; font-size: 12px; word-break: break-all; }
    .nl-l { color: var(--muted); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .4px; }
    .nl-optionen { display: flex; gap: 18px 28px; flex-wrap: wrap; margin-top: 10px; padding-top: 10px; border-top: 1px dashed #ebe8f7; }
    .nl-feld label { display: flex; flex-direction: column; gap: 4px; }
    .kurz-eingabe { display: inline-flex; align-items: center; gap: 4px; flex-wrap: wrap; }
    .kurz-wahl input { width: 150px; }
    .konto-aktionen { flex-wrap: wrap; }
    /* Aufeinanderfolgende Karten nie aneinanderkleben (sah wie abgeschnitten aus – Datenschutz, AGB, Widerruf) */
    main > .card + .card, main > .card + form, main > form + .card { margin-top: 18px; }
    /* „In aller Kürze“: eingeklappte, farbige Karte vor dem Volltext */
    .kurz-karte { background: linear-gradient(135deg, #efebff, #e9f0ff); border: 1px solid #ddd6fb; padding: 0; overflow: hidden; }
    .kurz-karte summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 28px; }
    .kurz-karte summary::-webkit-details-marker { display: none; }
    .kurz-karte summary:focus-visible { outline: 2px solid var(--purple); outline-offset: -2px; border-radius: var(--radius); }
    .kurz-titel { display: flex; align-items: center; gap: 14px; }
    .kurz-titel strong { display: block; font-size: 18px; color: var(--ink); letter-spacing: -.2px; }
    .kurz-titel small { display: block; color: #5f5a86; font-size: 13px; margin-top: 2px; }
    .kurz-symbol { flex: none; width: 42px; height: 42px; border-radius: 50%; background: #fff; color: var(--purple); display: grid; place-items: center; box-shadow: 0 4px 12px #6751df22; }
    .kurz-symbol .icon { width: 20px; height: 20px; }
    .kurz-pfeil { flex: none; width: 34px; height: 34px; border-radius: 50%; background: #fff; position: relative; transition: transform .25s; box-shadow: 0 4px 12px #6751df22; }
    .kurz-pfeil::after { content: ""; position: absolute; left: 12px; top: 10px; width: 8px; height: 8px; border-right: 2px solid var(--purple); border-bottom: 2px solid var(--purple); transform: rotate(45deg); }
    .kurz-karte[open] .kurz-pfeil { transform: rotate(180deg); }
    .kurz-inhalt { padding: 0 28px 22px; border-top: 1px solid #ddd6fb; }
    .kurz-inhalt ul { margin-top: 16px; }
    .kurz-karte[open] .kurz-inhalt { animation: appear .3s ease-out; }
    @media (max-width: 600px) { .kurz-karte summary { padding: 16px 18px; } .kurz-inhalt { padding: 0 18px 18px; } .kurz-titel strong { font-size: 16px; } }

/* Konto-Leiste: auf jeder Konto-Seite, direkt unter dem Kopf */
.konto-leiste { width: min(1120px, calc(100% - 80px)); margin: -14px auto 26px; }
.kl-innen { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: #ffffffb8; border: 1px solid #fff; border-radius: 999px; padding: 6px 8px 6px 6px; box-shadow: 0 8px 24px #2c2a5a0a; backdrop-filter: blur(8px); }
.kl-punkte { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; scroll-behavior: smooth; }
.kl-punkte { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); }
@media (min-width: 721px) { .kl-punkte { -webkit-mask-image: none; mask-image: none; } }
.kl-punkte::-webkit-scrollbar { display: none; }
.kl-punkte a { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; padding: 9px 16px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--muted); text-decoration: none; transition: background .15s, color .15s; }
.kl-punkte a:hover { color: var(--purple-dark); background: #f4f2ff; }
.kl-punkte a.aktiv { color: var(--purple-dark); background: var(--purple-soft); }
.kl-zahl { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--purple); color: #fff; font-size: 11.5px; font-weight: 700; display: inline-grid; place-items: center; }
.kl-hilfe { flex: none; margin-left: auto; margin-right: 6px; font-size: 13.5px; font-weight: 600; color: var(--muted); text-decoration: none; padding: 8px 10px; border-radius: 999px; } .kl-hilfe:hover { color: var(--purple-dark); background: #f4f2ff; }
.kl-neu { position: relative; flex: none; }
.kl-neu summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; padding: 9px 18px; border-radius: 999px; background: var(--purple); color: #fff; font-size: 14px; font-weight: 600; box-shadow: 0 6px 14px #6751df2b; user-select: none; }
.kl-neu summary::-webkit-details-marker { display: none; }
.kl-neu summary span { font-size: 17px; line-height: 1; }
.kl-neu[open] summary { background: var(--purple-dark); }
.kl-neu-menue { position: absolute; right: 0; top: calc(100% + 8px); min-width: 220px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 14px 34px #2c2a5a1f; padding: 6px; z-index: 20; display: grid; }
.kl-neu-menue a { padding: 10px 14px; border-radius: 10px; color: var(--ink); font-size: 14px; text-decoration: none; }
.kl-neu-menue a:hover { background: var(--purple-soft); color: var(--purple-dark); }
.kl-krume { margin: 12px 14px 0; font-size: 13px; color: var(--muted); }
.kl-krume a { color: var(--muted); text-decoration: none; } .kl-krume a:hover { color: var(--purple-dark); }
.kl-krume strong { color: var(--ink); font-weight: 600; }
@media (max-width: 720px) {
  .konto-leiste { width: calc(100% - 24px); margin: -6px auto 20px; }
  .kl-innen { border-radius: 22px; padding: 5px 6px; }
  .kl-punkte { padding-right: 28px; } .kl-punkte a { padding: 8px 12px; font-size: 13.5px; }
  .kl-neu summary { padding: 8px 12px; } .kl-hilfe { display: none; }
}

/* E-Mail-Zeile nach „Link erstellen“ */
.mail-zeile { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 12px 0 4px; }
.mail-zeile .btn { font-size: 13px; padding: 9px 14px; }

/* Einbetten-Dialog: Tabelle „Was zu sehen ist – wo du es änderst“ */
.wo-aendern { width: 100%; border-collapse: collapse; font-size: 14px; margin: 6px 0 10px; }
.wo-aendern td { padding: 8px 10px 8px 0; border-bottom: 1px solid var(--line, #e7e5f3); vertical-align: top; }
.wo-aendern td:first-child { color: var(--muted); width: 42%; }

/* Lehrgang (/einbetten/lehrgang) */
.lg-code pre { margin: 0; white-space: pre-wrap; word-break: break-word; font: 13px/1.55 ui-monospace, SFMono-Regular, Menlo, monospace; }
.lg-erklaert { width: 100%; border-collapse: collapse; font-size: 14.5px; margin: 10px 0 14px; }
.lg-erklaert td { padding: 9px 12px 9px 0; border-bottom: 1px solid var(--line, #e7e5f3); vertical-align: top; }
.lg-erklaert td:first-child { width: 34%; color: var(--purple-dark); font-weight: 600; }
.lg-schritte { padding-left: 22px; } .lg-schritte li { margin: 6px 0; }
.lg-karte .btn { margin-right: 8px; }
