/* ============ Design-Tokens ============ */
:root {
    --green-100: #e6f0e1;
    --green-300: #a9cb8f;
    --green-500: #6d9f4f;
    --green-600: #4f8436;
    --green-700: #1f4d2b;
    --green-900: #12301a;
    --wheat-100: #fbf3dc;
    --wheat-300: #f1d58a;
    --wheat-500: #dcb65a;
    --wheat-700: #9c7a2a;
    --barn: #a8452f;
    --barn-dark: #7c2f1f;
    --sky-top: #cfe5f2;
    --sky-bottom: #f4f1e6;
    --sky-soft: #dcecf5;

    --bg: #fbfaf5;
    --bg-tint: #f2f0e6;
    --surface: #ffffff;
    --ink: #1c2a1f;
    --ink-soft: #4b5a4e;
    --line: #e2e0d4;
    --accent: var(--green-700);
    --accent-hover: var(--green-900);
    --on-accent: #ffffff;
    /* Das Original-Logo hat schwarze Schrift auf transparentem Grund und braucht
       deshalb auch im dunklen Modus eine helle Fläche. */
    --logo-paper: #ffffff;

    --radius: 16px;
    --radius-sm: 10px;
    --shadow: 0 1px 2px rgba(28, 42, 31, .06), 0 8px 24px rgba(28, 42, 31, .06);
    --shadow-hover: 0 2px 4px rgba(28, 42, 31, .08), 0 16px 40px rgba(28, 42, 31, .12);
    --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --font-serif: "Fraunces", Georgia, serif;
}

@media (prefers-color-scheme: dark) {
    :root {
        --green-100: #22382a;
        --wheat-100: #3a3222;
        --sky-top: #1d3240;
        --sky-bottom: #1a241d;
        --sky-soft: #243a47;
        --bg: #121a14;
        --bg-tint: #18221a;
        --surface: #1c271f;
        --ink: #e8ece4;
        --ink-soft: #a9b5aa;
        --line: #2e3b31;
        --accent: #7fb35f;
        --accent-hover: #97c878;
        --on-accent: #0f1a11;
        --logo-paper: #f4f6f0;
        --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25);
        --shadow-hover: 0 2px 4px rgba(0, 0, 0, .35), 0 16px 40px rgba(0, 0, 0, .35);
    }
}

/* ============ Basis ============ */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 1.0625rem;
    line-height: 1.6;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: var(--font-serif);
    line-height: 1.15;
    margin: 0 0 .5em;
    letter-spacing: -.01em;
}

h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.25rem; }

h1:focus { outline: none; }

p { margin: 0 0 1em; }

a { color: var(--accent); }

img, svg { display: block; }

.container {
    width: min(1180px, 100% - 2.5rem);
    margin-inline: auto;
}

.skip-link {
    position: absolute;
    left: -999px;
    top: .5rem;
    background: var(--accent);
    color: var(--on-accent);
    padding: .5rem 1rem;
    border-radius: var(--radius-sm);
    z-index: 100;
}
.skip-link:focus { left: .5rem; }

.eyebrow {
    font-family: var(--font-sans);
    font-size: .8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--green-600);
    margin-bottom: .75rem;
}

.lead {
    font-size: 1.2rem;
    color: var(--ink-soft);
    max-width: 62ch;
}

/* ============ Buttons & Badges ============ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .8rem 1.4rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border: 2px solid transparent;
    transition: background .15s, color .15s, border-color .15s, transform .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--accent); color: var(--on-accent); }
.btn--primary:hover { background: var(--accent-hover); }
.btn--ghost { border-color: var(--line); color: var(--ink); background: var(--surface); }
.btn--ghost:hover { border-color: var(--accent); }
.btn--light { background: var(--wheat-300); color: var(--green-900); }
.btn--light:hover { background: #f6e1a6; }
.btn--block { width: 100%; }
/* Store-Knopf einer App, die noch nicht veröffentlicht ist – kein Link. */
.btn--disabled { background: var(--bg-tint); color: var(--ink-soft); border-color: var(--line); cursor: default; }

.badge {
    display: inline-block;
    font-size: .75rem;
    font-weight: 600;
    padding: .2rem .6rem;
    border-radius: 999px;
    background: var(--bg-tint);
    color: var(--ink-soft);
    border: 1px solid var(--line);
}
.badge--free { background: var(--green-100); color: var(--green-600); border-color: transparent; }
.badge--new { background: var(--wheat-100); color: var(--wheat-700); border-color: transparent; }
.badge--soon { background: var(--sky-soft); color: var(--ink); border-color: transparent; }

@media (prefers-color-scheme: dark) {
    .badge--free { color: var(--green-300); }
    .badge--new { color: var(--wheat-300); }
    .eyebrow { color: var(--green-300); }
}

.link-arrow, .link-back {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-weight: 600;
    text-decoration: none;
}
.link-arrow:hover, .link-back:hover { text-decoration: underline; }
.link-back { margin-bottom: 1.5rem; font-size: .95rem; }

/* ============ Header ============ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: color-mix(in srgb, var(--bg) 88%, transparent);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.brand {
    display: flex;
    align-items: center;
    gap: .6rem;
    text-decoration: none;
    color: var(--ink);
}
.brand__logo {
    display: block;
    height: 40px;
    width: auto;
    padding: 4px 8px;
    background: var(--logo-paper);
    border-radius: var(--radius-sm);
}

.site-nav { display: flex; align-items: center; gap: .25rem; }

.site-nav a {
    padding: .5rem .9rem;
    border-radius: 999px;
    color: var(--ink-soft);
    text-decoration: none;
    font-weight: 500;
}
.site-nav a:hover { color: var(--ink); background: var(--bg-tint); }
.site-nav a.active { color: var(--ink); background: var(--bg-tint); }
.site-nav a.nav-cta { background: var(--accent); color: var(--on-accent); margin-left: .5rem; }
.site-nav a.nav-cta:hover { background: var(--accent-hover); }

.nav-toggle { display: none; }
.nav-toggle__label { display: none; cursor: pointer; padding: .5rem; color: var(--ink); }

@media (max-width: 760px) {
    .nav-toggle__label { display: block; }
    .site-nav {
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        padding: 1rem 1.25rem 1.5rem;
        background: var(--bg);
        border-bottom: 1px solid var(--line);
        box-shadow: var(--shadow);
        display: none;
    }
    .site-nav a { padding: .8rem 1rem; }
    .site-nav a.nav-cta { margin: .5rem 0 0; text-align: center; }
    .nav-toggle:checked ~ .site-nav { display: flex; }
}

/* ============ Hero ============ */
.hero {
    padding: clamp(3rem, 7vw, 6rem) 0 clamp(3rem, 6vw, 5rem);
    background:
        radial-gradient(1200px 400px at 90% -10%, var(--wheat-100), transparent 60%),
        radial-gradient(900px 400px at -10% 110%, var(--green-100), transparent 60%);
}

.hero__inner {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 2rem 0; }

.hero__facts {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    color: var(--ink-soft);
}
.hero__facts strong {
    display: block;
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--ink);
    line-height: 1.1;
}

.hero__logo {
    display: grid;
    justify-items: center;
    gap: 1.5rem;
    padding: clamp(2rem, 5vw, 3.5rem);
    background: var(--logo-paper);
    border: 1px solid var(--line);
    border-radius: 28px;
    box-shadow: var(--shadow-hover);
}
.hero__logo img { width: min(100%, 420px); height: auto; }

@media (max-width: 900px) {
    .hero__inner { grid-template-columns: 1fr; }
    .hero__logo { max-width: 480px; width: 100%; justify-self: center; }
}

.page-hero {
    padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2rem, 4vw, 3rem);
    background: linear-gradient(180deg, var(--bg-tint), var(--bg));
    border-bottom: 1px solid var(--line);
}
.page-hero--plain { padding-bottom: 1.5rem; }

/* ============ Sections ============ */
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section--compact { padding: 2.5rem 0 4rem; }
.section--tinted { background: var(--bg-tint); }

.section__head { margin-bottom: 2.5rem; max-width: 720px; }
.section__head--split {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1rem;
    flex-wrap: wrap;
    max-width: none;
}
.section__head--split h2 { margin-bottom: 0; }

/* Features */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1.25rem;
}

.feature {
    padding: 1.75rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}
.feature p { color: var(--ink-soft); margin: 0; }

.feature__icon {
    display: inline-grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--green-100);
    color: var(--green-600);
    margin-bottom: 1rem;
}

@media (prefers-color-scheme: dark) {
    .feature__icon { color: var(--green-300); }
}

/* ============ App-Karten ============ */
.app-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 1.25rem;
}

.app-card {
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: inherit;
    text-decoration: none;
    box-shadow: var(--shadow);
    transition: transform .18s, box-shadow .18s, border-color .18s;
}
.app-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); border-color: var(--green-300); }
.app-card h3 { margin: 1rem 0 .4rem; }
.app-card p { color: var(--ink-soft); flex: 1; }

.app-card__head { display: flex; justify-content: space-between; align-items: flex-start; }
.app-card__badges { display: flex; gap: .35rem; }

.app-card__foot {
    display: flex;
    justify-content: space-between;
    gap: .5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--line);
    font-size: .85rem;
    color: var(--ink-soft);
}
.app-card__cat { font-weight: 600; color: var(--ink); }

.app-icon {
    display: block;
    width: 56px;
    height: 56px;
    border-radius: 14px;
    box-shadow: 0 1px 3px rgba(28, 42, 31, .18);
}
.app-icon--lg { width: 96px; height: 96px; border-radius: 22px; flex-shrink: 0; }


/* Filter */
.filter { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }

.chip {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .5rem 1rem;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--ink);
    text-decoration: none;
    font-weight: 500;
}
.chip span {
    font-size: .8rem;
    padding: 0 .45rem;
    border-radius: 999px;
    background: var(--bg-tint);
    color: var(--ink-soft);
}
.chip:hover { border-color: var(--accent); }
.chip--active { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.chip--active span { background: rgba(255, 255, 255, .2); color: inherit; }

.empty { color: var(--ink-soft); }

/* ============ App-Detail ============ */
.app-hero { display: flex; gap: 1.75rem; align-items: flex-start; }
.app-hero h1 { margin-bottom: .3rem; }
.app-hero__badges { display: flex; flex-wrap: wrap; gap: .4rem; }
.app-hero__store { color: var(--ink-soft); margin: -.1rem 0 .6rem; font-size: .95rem; }
.store-links { display: grid; gap: .6rem; }

@media (max-width: 600px) {
    .app-hero { flex-direction: column; gap: 1rem; }
}

.detail {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 3rem;
    align-items: start;
}
.detail__main h2 { font-size: 1.6rem; margin-top: 1.5rem; }
.detail__main h2:first-child { margin-top: 0; }
.detail__main > p { color: var(--ink-soft); max-width: 65ch; }

@media (max-width: 900px) {
    .detail { grid-template-columns: 1fr; }
}

.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: .75rem; }
.checklist li { display: flex; gap: .75rem; align-items: flex-start; }
.checklist .icon { color: var(--green-600); flex-shrink: 0; margin-top: .2rem; }

.side-card {
    position: sticky;
    top: 96px;
    padding: 1.75rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.side-card p { color: var(--ink-soft); font-size: .95rem; }
.side-card__privacy { margin: 1.25rem 0 0; font-size: .9rem; }

.facts {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: .5rem 1rem;
    margin: 1.5rem 0 0;
    padding-top: 1.25rem;
    border-top: 1px solid var(--line);
    font-size: .95rem;
}
.facts dt { color: var(--ink-soft); }
.facts dd { margin: 0; font-weight: 500; text-align: right; }

/* ============ Über uns ============ */
.prose { max-width: 68ch; }
.prose p { color: var(--ink-soft); }
.prose h2 { margin-top: 2rem; }
.prose h2:first-child { margin-top: 0; }

.prose-split {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 4rem;
    align-items: start;
}
@media (max-width: 900px) {
    .prose-split { grid-template-columns: 1fr; gap: 2.5rem; }
}

.values { display: grid; gap: 1rem; }
.value {
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}
.value > .icon { color: var(--green-600); flex-shrink: 0; margin-top: .15rem; }
.value h3 { font-size: 1.1rem; margin-bottom: .2rem; }
.value p { margin: 0; color: var(--ink-soft); font-size: .95rem; }

.legal h2 { font-size: 1.3rem; }
.legal h3 { font-size: 1.05rem; margin: 1.5rem 0 .4rem; }
.legal ul { color: var(--ink-soft); padding-left: 1.25rem; }
.legal li + li { margin-top: .3rem; }
.table-wrap { overflow-x: auto; margin: 1rem 0 1.25rem; }
.legal table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: .55rem .7rem; border-bottom: 1px solid var(--line); }
.legal th { color: var(--ink); font-weight: 600; background: var(--bg-tint); }
.legal td { color: var(--ink-soft); }
.legal__stand { color: var(--ink-soft); font-size: .9rem; margin-top: 2.5rem; }

/* Umschalter zwischen den Datenschutzerklärungen */
.privacy-nav { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2.5rem; }
.privacy-nav a {
    padding: .45rem .9rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--ink);
    text-decoration: none;
    font-size: .95rem;
}
.privacy-nav a:hover { border-color: var(--accent); }
.privacy-nav a.privacy-nav__lang { margin-left: auto; border-style: dashed; }
.privacy-nav a.active { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }

/* ============ Kontakt ============ */
.contact {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
}
.contact-card {
    display: block;
    padding: 1.75rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: inherit;
    text-decoration: none;
}
a.contact-card:hover { border-color: var(--accent); }
.contact-card p { font-size: 1.1rem; font-weight: 500; margin-bottom: .5rem; }
.contact-card__hint { font-size: .9rem; color: var(--ink-soft); }

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 2rem;
    align-items: start;
}
.contact-side { display: grid; gap: 1rem; }
.contact-side .contact-card { padding: 1.5rem; }
.contact-side .contact-card p { font-size: 1rem; }
@media (max-width: 900px) {
    .contact-layout { grid-template-columns: 1fr; }
}

/* ============ Formular ============ */
.form-card {
    padding: clamp(1.5rem, 4vw, 2.5rem);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.form-card h2 { font-size: 1.6rem; }
.form-intro { color: var(--ink-soft); margin-bottom: 1.75rem; }

.field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 1.25rem;
}
@media (max-width: 600px) {
    .field-row { grid-template-columns: 1fr; }
}

.field { display: grid; gap: .4rem; margin-bottom: 1.25rem; }
.field label { font-weight: 600; font-size: .95rem; }
.field .hint { color: var(--ink-soft); font-weight: 400; font-size: .85rem; }

.field input:not([type=checkbox]), .field textarea, .field select {
    width: 100%;
    padding: .75rem .9rem;
    font: inherit;
    font-size: 1rem;
    color: var(--ink);
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field textarea:focus, .field select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 20%, transparent);
}
.field textarea { min-height: 10rem; resize: vertical; }

.field--check > label { display: flex; gap: .75rem; align-items: flex-start; font-weight: 400; color: var(--ink-soft); }
.field--check input[type=checkbox] { width: 1.15rem; height: 1.15rem; margin-top: .25rem; flex: 0 0 auto; accent-color: var(--accent); }

.field input.invalid, .field textarea.invalid, .field select.invalid { border-color: #c0392b; outline: none; }
.field input.valid.modified:not([type=checkbox]), .field textarea.valid.modified { outline: none; }
.validation-message { font-size: .88rem; }

.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.alert {
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    border-radius: var(--radius-sm);
    background: var(--green-100);
    border: 1px solid color-mix(in srgb, var(--green-500) 40%, transparent);
}
.alert strong { display: block; margin-bottom: .2rem; }
.alert--fehler {
    background: color-mix(in srgb, #c0392b 10%, var(--surface));
    border-color: color-mix(in srgb, #c0392b 40%, transparent);
}
.alert--fehler strong { color: #c0392b; }

@media (prefers-color-scheme: dark) {
    .alert--fehler strong { color: #f08476; }
}

/* ============ CTA ============ */
.cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
    padding: clamp(2rem, 5vw, 3.5rem);
    border-radius: 24px;
    color: #fff;
    background:
        radial-gradient(600px 200px at 100% 0%, rgba(241, 213, 138, .25), transparent 70%),
        linear-gradient(135deg, #2c6a3a, #173b21);
}
.cta h2 { margin-bottom: .4rem; }
.cta p { margin: 0; opacity: .85; max-width: 55ch; }

/* ============ 404 ============ */
.notfound { text-align: center; }
.notfound .lead { margin-inline: auto; }
.notfound .hero__actions { justify-content: center; }

/* ============ Footer ============ */
.site-footer {
    background: var(--green-900);
    color: #c9d4c6;
    padding: 4rem 0 0;
    font-size: .95rem;
}
.site-footer a { color: #c9d4c6; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer h4 { font-family: var(--font-sans); font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: #fff; margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.site-footer address { font-style: normal; line-height: 1.8; }

.site-footer__grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 2.5rem;
    padding-bottom: 3rem;
}
@media (max-width: 800px) {
    .site-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
    .site-footer__grid { grid-template-columns: 1fr; }
}

.site-footer__brand { display: inline-block; margin-bottom: 1rem; }
.site-footer__brand img {
    display: block;
    height: 44px;
    width: auto;
    padding: 5px 10px;
    background: var(--logo-paper);
    border-radius: var(--radius-sm);
}

.site-footer__bottom {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .5rem;
    padding: 1.25rem 0;
    border-top: 1px solid rgba(255, 255, 255, .1);
    font-size: .85rem;
    color: #97a594;
}

/* ============ Blazor-Standards ============ */
.valid.modified:not([type=checkbox]) { outline: 1px solid #26b050; }
.invalid { outline: 1px solid #e50000; }
.validation-message { color: #e50000; }

.blazor-error-boundary {
    background: #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}
.blazor-error-boundary::after { content: "Ein Fehler ist aufgetreten."; }

/* ---------------------------------------------------------------- Ladeanzeige */

.ladeanzeige[hidden] { display: none; }

.ladeanzeige {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 1000;
    pointer-events: none;
}

/* Läuft langsam auf 90 % zu – fertig ist es, wenn die neue Seite da ist. */
.ladeanzeige__balken {
    display: block;
    height: 3px;
    background: var(--wheat-500);
    transform-origin: left;
    animation: lade-balken 8s cubic-bezier(.1, .7, .2, 1) forwards;
}

.ladeanzeige__hinweis {
    position: fixed;
    left: 50%;
    bottom: 1.5rem;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    padding: .6rem 1.1rem;
    border-radius: 999px;
    background: var(--surface);
    color: var(--ink);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-hover);
    font-size: .95rem;
    white-space: nowrap;
}

.kreisel {
    width: 1.1em;
    height: 1.1em;
    flex: none;
    border-radius: 50%;
    border: 2px solid currentColor;
    border-right-color: transparent;
    animation: kreisel .7s linear infinite;
}

/* Gesperrter Absende-Knopf: Pfeil weg, Kreisel hin. */
.btn[aria-busy="true"] { cursor: progress; opacity: .85; }
.btn[aria-busy="true"] svg { display: none; }
.btn[aria-busy="true"]::after {
    content: "";
    width: 1em;
    height: 1em;
    border-radius: 50%;
    border: 2px solid currentColor;
    border-right-color: transparent;
    animation: kreisel .7s linear infinite;
}

@keyframes lade-balken { from { transform: scaleX(0); } to { transform: scaleX(.9); } }
@keyframes kreisel { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
    .ladeanzeige__balken { animation: none; transform: scaleX(.6); }
    .kreisel, .btn[aria-busy="true"]::after { animation-duration: 2s; }
}
