/* Ausgeblendet heißt ausgeblendet: sonst überschreibt z. B. ".form-error { display: grid }" das hidden-Attribut */
[hidden] {
    display: none !important;
}

/* Inter, selbst gehostet (vendor/fonts, Variable Font für alle Stärken) */
@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("vendor/fonts/inter-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("vendor/fonts/inter-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* =========================================================
   ROOT
========================================================= */

:root {
    --bg: #f7f8fa;
    --surface: rgba(255, 255, 255, 0.90);
    --surface-solid: #ffffff;

    --text: #111318;
    --text-secondary: #626b78;
    --text-tertiary: #858d99;

    --border: #e1e5ea;
    --border-strong: #cbd1d9;

    --accent: #e9df8d;
    --accent-soft: #f7f3d7;
    --accent-dark: #5d5724;

    --icon-color: #c7a55e;

    --success: #178052;
    --focus: #155eef;

    --radius-xl: 28px;
    --radius-lg: 20px;
    --radius-md: 13px;

    --content-max: 1100px;
    --form-max: 820px;

    --gutter: clamp(18px, 4vw, 32px);

    --shadow:
        0 40px 100px rgba(15, 23, 42, 0.075),
        0 10px 30px rgba(15, 23, 42, 0.045);

    --shadow-card:
        0 4px 16px rgba(15, 23, 42, 0.035);

    --transition: 180ms cubic-bezier(.22, .61, .36, 1);
}


/* =========================================================
   RESET
========================================================= */

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

html {
    min-height: 100%;
    background: var(--bg);
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    min-width: 280px;
    min-height: 100vh;
    min-height: 100svh;
    margin: 0;

    font-family:
        "Inter",
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        sans-serif;

    color: var(--text);

    background:
        radial-gradient(
            700px 360px at 50% -130px,
            rgba(233, 223, 141, 0.20),
            transparent 70%
        ),
        linear-gradient(
            180deg,
            #ffffff 0%,
            var(--bg) 62%
        );

    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

button,
input,
textarea,
select {
    font: inherit;
}

img,
svg {
    max-width: 100%;
}

::selection {
    background: rgba(233, 223, 141, 0.65);
    color: #111318;
}

:focus-visible {
    outline: 3px solid var(--focus);
    outline-offset: 3px;
}


/* =========================================================
   ACCESSIBILITY
========================================================= */

.skip-link {
    position: fixed;
    z-index: 9999;

    top: 12px;
    left: 12px;

    padding: 10px 14px;

    border-radius: 9px;

    background: #111318;
    color: #ffffff;

    font-size: 13px;
    font-weight: 700;

    text-decoration: none;

    transform: translateY(-180%);
    transition: transform var(--transition);
}

.skip-link:focus {
    transform: translateY(0);
}


/* =========================================================
   PAGE
========================================================= */

.page {
    width: min(100%, var(--content-max));
    min-height: 100vh;
    min-height: 100svh;

    margin: 0 auto;

    padding:
        max(28px, env(safe-area-inset-top))
        max(var(--gutter), env(safe-area-inset-right))
        max(48px, env(safe-area-inset-bottom))
        max(var(--gutter), env(safe-area-inset-left));
}


/* =========================================================
   HEADER
========================================================= */

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: clamp(52px, 8vw, 78px);
}

.brand {
    display: flex;
    align-items: center;
    gap: 11px;

    min-width: 0;
}

.brand-mark {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;

    display: grid;
    place-items: center;

    border-radius: 12px;

    background: #111318;
    color: var(--accent);

    font-size: 12px;
    font-weight: 800;
    letter-spacing: -0.05em;

    box-shadow:
        0 7px 18px rgba(17, 19, 24, 0.15);
}

.brand-name {
    font-size: 14px;
    font-weight: 650;
    letter-spacing: -0.025em;
    white-space: nowrap;
}

/* Fernwartung (TeamViewer QuickSupport): sitzt als Plakette über der Überschrift (Klasse eyebrow) */
.remote-help {
    position: relative;
    z-index: 2;
    color: var(--text-secondary);
    text-decoration: none;
    transition: border-color var(--transition), color var(--transition);
}

/* größere Trefferfläche für Finger, ohne die Plakette größer zu zeichnen */
.remote-help[hidden] { display: none; }

.remote-help::after {
    content: "";
    position: absolute;
    inset: -10px -6px;
}

.remote-help:hover {
    border-color: var(--icon-color);
    color: var(--text);
}

.remote-help:focus-visible {
    outline: 2px solid var(--focus);
    outline-offset: 3px;
}

.remote-help .eyebrow-icon svg {
    width: 11px;
    height: 11px;
}

.availability-dot {
    width: 7px;
    height: 7px;
    flex: 0 0 7px;

    border-radius: 50%;

    background: var(--success);

    box-shadow:
        0 0 0 4px rgba(23, 128, 82, 0.10);
}


/* =========================================================
   HERO
========================================================= */

.hero {
    max-width: 800px;

    margin:
        0 auto
        clamp(34px, 5vw, 48px);

    text-align: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    margin-bottom: 19px;
    padding: 6px 11px;

    border: 1px solid var(--border);
    border-radius: 999px;

    background: rgba(255, 255, 255, 0.78);

    color: var(--text-secondary);

    font-size: 10px;
    font-weight: 700;
    letter-spacing: .09em;

    box-shadow:
        0 2px 8px rgba(15, 23, 42, 0.025);
}

.eyebrow-icon {
    width: 16px;
    height: 16px;

    display: grid;
    place-items: center;

    border-radius: 5px;

    background: var(--accent-soft);
    color: var(--accent-dark);
}

.eyebrow-icon svg {
    width: 10px;
    height: 10px;
}

.hero h1 {
    max-width: 760px;

    margin: 0 auto;

    font-size: clamp(40px, 7vw, 64px);
    line-height: 1;
    letter-spacing: -0.068em;

    font-weight: 700;
}

.hero h1 span {
    color: #737b87;
}

.hero p {
    max-width: 500px;

    margin:
        18px auto 0;

    color: var(--text-secondary);

    font-size: 14px;
    line-height: 1.7;
}

/* Störungshinweis (app.js, stoerung.txt): deutlich, aber ruhig */
.hero .outage {
    max-width: 560px;
    margin: 0 auto 22px;
    padding: 10px 16px;
    border: 1px solid #e3b23c;
    border-radius: var(--radius-md);
    background: #fff6dc;
    color: #5d4512;
    font-size: 14px;
    line-height: 1.5;
}

.hero .outage strong {
    margin-right: 6px;
    color: #8a5a00;
}

.hero .outage.solved { border-color: #5aa469; background: #e9f6ec; color: #1f4a2a; }
.hero .outage.solved strong { color: #1f7a3a; }

@media (prefers-color-scheme: dark) {
    .hero .outage { background: #3a2e12; border-color: #8a6a1f; color: #f3e2b8; }
    .hero .outage strong { color: #f4c85b; }
    .hero .outage.solved { background: #16301f; border-color: #3f7a50; color: #cdebd5; }
    .hero .outage.solved strong { color: #7fd69a; }
}

/* Selbsthilfe in Schritt 3 (support.js, help) */
#zammad-feedback-form .mkm-selfhelp {
    margin: 0 0 18px;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--accent-soft);
    color: var(--text);
    font-size: 14px;
}

#zammad-feedback-form .mkm-selfhelp-title { margin: 0 0 6px; font-weight: 700; }
#zammad-feedback-form .mkm-selfhelp ul { margin: 0; padding-left: 20px; line-height: 1.6; }
#zammad-feedback-form .mkm-selfhelp-done { margin: 8px 0 0; color: var(--text-secondary); font-size: 13px; }

@media (prefers-color-scheme: dark) {
    #zammad-feedback-form .mkm-selfhelp { background: rgba(233, 223, 141, .08); }
}

/* Tipp des Tages (app.js, tipps.js): leise unter der Überschrift */
.hero .daily-tip {
    max-width: 520px;
    margin: 22px auto 0;
    padding: 8px 14px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--surface);
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.5;
}

.hero .daily-tip strong {
    margin-right: 4px;
    color: var(--text);
    font-weight: 700;
}

@media (max-width: 600px) {
    .hero .daily-tip { border-radius: var(--radius-md); }
}


/* =========================================================
   SUPPORT CARD
========================================================= */

.support-section {
    width: 100%;
}

.card {
    position: relative;

    width: 100%;
    max-width: var(--form-max);

    margin: 0 auto;

    padding: clamp(24px, 5vw, 44px);

    border: 1px solid rgba(205, 210, 218, .78);
    border-radius: var(--radius-xl);

    background: var(--surface);

    box-shadow: var(--shadow);

    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);

    animation:
        card-in .55s cubic-bezier(.22,.61,.36,1) both;
}

.card::before {
    content: "";

    position: absolute;

    top: 0;
    left: 38px;
    right: 38px;

    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(233, 223, 141, .95),
            transparent
        );
}

.card-header {
    display: flex;
    align-items: flex-start;
    gap: 15px;

    padding-bottom: 26px;
    margin-bottom: 28px;

    border-bottom: 1px solid var(--border);
}

.card-icon {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;

    display: grid;
    place-items: center;

    border-radius: 14px;

    background: #111318;
    color: var(--accent);

    box-shadow:
        0 7px 18px rgba(17, 19, 24, .14);
}

.card-icon svg {
    width: 23px;
    height: 23px;
}

.card-title {
    min-width: 0;
}

.card-title h2 {
    margin: 2px 0 5px;

    font-size: 17px;
    line-height: 1.25;
    font-weight: 650;
    letter-spacing: -.03em;
}

.card-title p {
    margin: 0;

    color: var(--text-secondary);

    font-size: 12px;
    line-height: 1.55;
}


/* =========================================================
   ZAMMAD FORM
========================================================= */

#zammad-feedback-form {
    width: 100%;
    min-width: 0;

    overflow-wrap: anywhere;
}

#zammad-feedback-form form,
#zammad-feedback-form fieldset,
#zammad-feedback-form table,
#zammad-feedback-form .form-group,
#zammad-feedback-form .form-control {
    width: 100% !important;
    max-width: 100% !important;
}

#zammad-feedback-form fieldset {
    min-width: 0 !important;

    padding: 0 !important;

    border: 0 !important;
}

#zammad-feedback-form label {
    display: block !important;

    margin: 0 0 7px !important;

    color: #343b47 !important;

    font-family: inherit !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
}

#zammad-feedback-form input:not([type="submit"]):not([type="button"]):not([type="checkbox"]):not([type="radio"]),
#zammad-feedback-form textarea,
#zammad-feedback-form select {
    display: block !important;

    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;

    min-height: 50px !important;

    padding: 13px 14px !important;

    border: 1px solid var(--border) !important;
    border-radius: var(--radius-md) !important;

    background: #ffffff !important;
    color: var(--text) !important;

    font-family: inherit !important;
    font-size: 16px !important;
    line-height: 1.4 !important;

    outline: none !important;

    box-shadow:
        0 1px 2px rgba(16, 24, 40, .025) !important;

    transition:
        border-color var(--transition),
        box-shadow var(--transition),
        background var(--transition) !important;
}

#zammad-feedback-form input:hover,
#zammad-feedback-form textarea:hover,
#zammad-feedback-form select:hover {
    border-color: var(--border-strong) !important;
}

#zammad-feedback-form input:focus,
#zammad-feedback-form textarea:focus,
#zammad-feedback-form select:focus {
    border-color: var(--focus) !important;

    box-shadow:
        0 0 0 3px rgba(21, 94, 239, .13),
        0 3px 7px rgba(16, 24, 40, .035) !important;
}

#zammad-feedback-form input::placeholder,
#zammad-feedback-form textarea::placeholder {
    color: #747d89 !important;
    opacity: 1;
}

#zammad-feedback-form textarea {
    min-height: 165px !important;

    resize: vertical !important;

    line-height: 1.6 !important;
}

#zammad-feedback-form input[type="file"] {
    display: block !important;

    width: 100% !important;
    min-height: 50px !important;

    padding: 11px !important;

    border: 1px dashed var(--border-strong) !important;
    border-radius: var(--radius-md) !important;

    background: #fafbfc !important;
    color: var(--text-secondary) !important;

    font-size: 13px;
}

#zammad-feedback-form input[type="checkbox"],
#zammad-feedback-form input[type="radio"] {
    width: 18px !important;
    height: 18px !important;

    min-height: 18px !important;

    accent-color: #111318;
}

#zammad-feedback-form button,
#zammad-feedback-form input[type="submit"],
#zammad-feedback-form input[type="button"] {
    display: block !important;

    width: 100% !important;
    min-height: 54px !important;

    margin-top: 12px !important;

    padding: 15px 18px !important;

    border: 0 !important;
    border-radius: 14px !important;

    background: #111318 !important;
    color: #ffffff !important;

    font-family: inherit !important;
    font-size: 14px !important;
    font-weight: 650 !important;

    letter-spacing: -.01em;

    cursor: pointer !important;
    touch-action: manipulation;

    box-shadow:
        0 8px 18px rgba(17, 19, 24, .12) !important;

    transition:
        transform var(--transition),
        background var(--transition),
        box-shadow var(--transition) !important;
}

#zammad-feedback-form button:hover,
#zammad-feedback-form input[type="submit"]:hover,
#zammad-feedback-form input[type="button"]:hover {
    background: #292d35 !important;

    transform: translateY(-2px);

    box-shadow:
        0 14px 28px rgba(17, 19, 24, .16) !important;
}

#zammad-feedback-form button:active,
#zammad-feedback-form input[type="submit"]:active,
#zammad-feedback-form input[type="button"]:active {
    transform: translateY(0);
}

#zammad-feedback-form a {
    color: #155eef;
    overflow-wrap: anywhere;
}


/* =========================================================
   TRUST / REASSURANCE
========================================================= */

.reassurance {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;

    gap: 18px;

    max-width: 820px;

    margin:
        24px auto 0;

    color: var(--text-secondary);

    font-size: 11px;
    text-align: center;
}

.reassurance-item {
    display: flex;
    align-items: center;
    gap: 7px;
}

.reassurance-item svg {
    width: 14px;
    height: 14px;
}

.separator {
    width: 3px;
    height: 3px;

    border-radius: 50%;

    background: #9aa1ac;
}


/* =========================================================
   HÄUFIGE FRAGEN
========================================================= */

.faq-section {
    max-width: 720px;

    margin:
        clamp(70px, 9vw, 100px) auto 0;
}

.faq-heading {
    margin: 0 0 28px;

    text-align: center;

    font-size: 20px;
    line-height: 1.25;
    font-weight: 650;

    letter-spacing: -.035em;
}

.faq-heading::after {
    content: "";

    display: block;

    width: 28px;
    height: 2px;

    margin: 12px auto 0;

    border-radius: 999px;

    background: var(--accent);
}

.faq-list {
    border: 1px solid rgba(223, 227, 232, .95);
    border-radius: 18px;

    background:
        rgba(255, 255, 255, .72);

    box-shadow: var(--shadow-card);

    overflow: hidden;
}

.faq-item + .faq-item {
    border-top: 1px solid var(--border);
}

.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;

    padding: 17px 21px;

    cursor: pointer;
    list-style: none;

    font-size: 14px;
    line-height: 1.4;
    font-weight: 600;

    letter-spacing: -.02em;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

/* Pfeil, dreht beim Öffnen */
.faq-item summary::after {
    content: "";

    flex: none;

    width: 7px;
    height: 7px;

    margin-top: -4px;

    border-right: 2px solid var(--icon-color);
    border-bottom: 2px solid var(--icon-color);

    transform: rotate(45deg);

    transition: transform var(--transition);
}

.faq-item[open] summary::after {
    margin-top: 3px;

    transform: rotate(-135deg);
}

.faq-item summary:focus-visible {
    outline: 2px solid var(--focus);
    outline-offset: -2px;
}

.faq-item p {
    margin: 0;

    padding: 0 21px 18px;

    color: var(--text-secondary);

    font-size: 13px;
    line-height: 1.6;
}


/* =========================================================
   FOOTER
========================================================= */

.footer {
    max-width: 920px;

    margin:
        52px auto 0;

    padding:
        24px 0 0;

    border-top: 1px solid var(--border);

    color: #737b87;

    font-size: 10px;
    line-height: 1.6;

    text-align: center;
}

.footer strong {
    color: #505864;
    font-weight: 650;
}

.footer-nav {
    display: flex;
    justify-content: center;
    align-items: center;

    gap: 10px;

    margin-top: 8px;
}

.footer a {
    color: inherit;

    text-decoration: none;

    transition:
        color var(--transition);
}

.footer a:hover {
    color: var(--text);
}


/* =========================================================
   ANIMATION
========================================================= */

@keyframes card-in {
    from {
        opacity: 0;
        transform:
            translateY(14px)
            scale(.985);
    }

    to {
        opacity: 1;
        transform:
            translateY(0)
            scale(1);
    }
}


/* =========================================================
   TABLET
========================================================= */

@media (min-width: 768px) {
    .page {
        padding-top: clamp(42px, 7vh, 72px);
        padding-bottom: clamp(48px, 7vh, 72px);
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {



    .topbar {
        margin-bottom: 46px;
    }

    .hero {
        margin-bottom: 30px;
    }

    .hero h1 {
        font-size:
            clamp(34px, 10vw, 46px);

        letter-spacing: -.06em;
    }

    .hero p {
        max-width: 370px;

        margin-top: 15px;

        font-size: 13px;
        line-height: 1.65;
    }

    .faq-section {
        margin-top: 64px;
    }

    .faq-heading {
        font-size: 18px;
    }

    .reassurance {
        flex-direction: column;
        gap: 9px;
    }

    .separator {
        display: none;
    }
}


@media (max-width: 480px) {

    .page {
        padding-top:
            max(22px, env(safe-area-inset-top));

        padding-bottom:
            max(38px, env(safe-area-inset-bottom));
    }

    .topbar {
        margin-bottom: 38px;
    }

    .brand-mark {
        width: 36px;
        height: 36px;
        flex-basis: 36px;
    }

    .brand-name {
        font-size: 13px;
    }

    .hero {
        margin-bottom: 26px;
    }

    .hero h1 {
        font-size:
            clamp(31px, 10.5vw, 40px);
    }

    .eyebrow {
        margin-bottom: 16px;
    }

    .card {
        padding: 20px 16px;

        border-radius: 21px;
    }

    .card::before {
        left: 20px;
        right: 20px;
    }

    .card-header {
        gap: 11px;

        padding-bottom: 20px;
        margin-bottom: 20px;
    }

    .card-icon {
        width: 40px;
        height: 40px;
        flex-basis: 40px;

        border-radius: 12px;
    }

    .card-icon svg {
        width: 18px;
        height: 18px;
    }

    .card-title h2 {
        margin-top: 1px;

        font-size: 14px;
    }

    .card-title p {
        font-size: 11px;
    }

    #zammad-feedback-form label {
        margin-bottom: 6px !important;

        font-size: 11px !important;
    }

    #zammad-feedback-form input:not([type="submit"]):not([type="button"]):not([type="checkbox"]):not([type="radio"]),
    #zammad-feedback-form textarea,
    #zammad-feedback-form select {
        min-height: 47px !important;

        padding: 11px 12px !important;

        font-size: 16px !important;

        border-radius: 11px !important;
    }

    #zammad-feedback-form textarea {
        min-height: 140px !important;
    }

    #zammad-feedback-form button,
    #zammad-feedback-form input[type="submit"],
    #zammad-feedback-form input[type="button"] {
        min-height: 50px !important;

        padding: 13px 15px !important;

        border-radius: 12px !important;
    }

    .faq-item summary {
        padding: 15px 18px;

        font-size: 13px;
    }

    .faq-item p {
        padding: 0 18px 16px;
    }

    .footer {
        margin-top: 40px;
    }
}


/* =========================================================
   TOUCH DEVICES
========================================================= */

@media (hover: none) {

    #zammad-feedback-form button:hover,
    #zammad-feedback-form input[type="submit"]:hover,
    #zammad-feedback-form input[type="button"]:hover {
        transform: none;

        box-shadow:
            0 8px 18px rgba(17,19,24,.12) !important;
    }
}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}


/* =========================================================
   DARK MODE
========================================================= */

@media (prefers-color-scheme: dark) {

    :root {
        --bg: #0d0f12;

        --surface:
            rgba(24, 27, 32, .94);

        --surface-solid:
            #181b20;

        --text:
            #f4f5f7;

        --text-secondary:
            #a9b0ba;

        --text-tertiary:
            #858d99;

        --border:
            #30353d;

        --border-strong:
            #414750;

        --accent-soft:
            #373522;

        --accent-dark:
            #eee6a5;

        --icon-color:
            #d4b86a;
    }

    body {
        background:
            radial-gradient(
                700px 360px at 50% -130px,
                rgba(233,223,141,.08),
                transparent 70%
            ),
            linear-gradient(
                180deg,
                #111318 0%,
                #0d0f12 68%
            );
    }

    .brand-mark,
    .card-icon {
        background: #f1f2f4;
        color: #514d1e;
    }

    .eyebrow {
        background:
            rgba(30,33,38,.85);

        border-color:
            var(--border);
    }

    .hero h1 span {
        color: #9da5b1;
    }

    .card {
        border-color:
            rgba(65,71,80,.9);
    }

    .faq-list {
        background:
            rgba(24,27,32,.78);

        border-color:
            var(--border);
    }

    #zammad-feedback-form input:not([type="submit"]):not([type="button"]):not([type="checkbox"]):not([type="radio"]),
    #zammad-feedback-form textarea,
    #zammad-feedback-form select {
        background:
            #111419 !important;

        color:
            #f4f5f7 !important;

        border-color:
            var(--border) !important;
    }

    #zammad-feedback-form input[type="file"] {
        background:
            #111419 !important;

        color:
            var(--text-secondary) !important;
    }

    #zammad-feedback-form label {
        color:
            #d9dde3 !important;
    }

    #zammad-feedback-form input::placeholder,
    #zammad-feedback-form textarea::placeholder {
        color:
            #858d99 !important;
    }

    #zammad-feedback-form button,
    #zammad-feedback-form input[type="submit"],
    #zammad-feedback-form input[type="button"] {
        background:
            #f1f2f4 !important;

        color:
            #111318 !important;
    }

    #zammad-feedback-form button:hover,
    #zammad-feedback-form input[type="submit"]:hover,
    #zammad-feedback-form input[type="button"]:hover {
        background:
            #ffffff !important;
    }

    .footer strong {
        color:
            #c8cdd4;
    }
}

/* =========================================================
   MONATS-ICONS
========================================================= */

.seasonal-icon {
    /* in der Kopfzeile rechts, mittig zur Marke; negativer Rand haelt die Zeilenhoehe */
    position: relative;
    z-index: 0;
    flex: 0 0 auto;
    width: 64px;
    height: 64px;
    margin: -12px 0;
    align-self: center;
    pointer-events: none;
    opacity: .88;
    filter: drop-shadow(0 8px 12px rgba(24, 30, 39, .12));
    animation: icon-arrive 550ms cubic-bezier(.2, .7, .2, 1) both;
}

.seasonal-icon svg {
    display: block; /* Safari: kein Grundlinien-Abstand unter Inline-SVG */
    width: 100%;
    height: 100%;
    overflow: visible;
    fill: none;
    stroke: currentColor;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

body[data-season="januar"] .seasonal-icon { color: #5b9cc9; }
body[data-season="februar"] .seasonal-icon { color: #6f9f7c; }
body[data-season="maerz"] .seasonal-icon { color: #6f9f5a; }
body[data-season="april"] .seasonal-icon { color: #6f8fb0; }
body[data-season="mai"] .seasonal-icon { color: #dd7696; }
body[data-season="juni"] .seasonal-icon { color: #5b9a55; }
body[data-season="juli"] .seasonal-icon { color: #e3a52f; }
body[data-season="august"] .seasonal-icon { color: #b98247; }
body[data-season="september"] .seasonal-icon { color: #7f6a45; }
body[data-season="oktober"] .seasonal-icon { color: #bd7440; }
body[data-season="halloween"] .seasonal-icon { color: #7452a3; }
body[data-season="november"] .seasonal-icon { color: #9a6b38; }
body[data-season="dezember"] .seasonal-icon { color: #4c91bf; }
body[data-season="silvester"] .seasonal-icon { color: #d9a62e; }
body[data-season="ostern"] .seasonal-icon { color: #d982a0; }
body[data-season="zuckerfest"] .seasonal-icon { color: #2f8f83; }
body[data-season="opferfest"] .seasonal-icon { color: #3f6fb0; }
body[data-season="nikolaus"] .seasonal-icon { color: #b83a3a; }
body[data-season="weihnachten"] .seasonal-icon { color: #b83a3a; }

.icon-januar circle { fill: #e9f6fb; }
.icon-februar path:nth-child(2) { fill: #fdfefe; stroke: #6f8796; }
.icon-maerz path:first-child { fill: #ea7d98; stroke: #c5506d; }
.icon-april path:first-child { fill: #dde6ef; stroke: #8199b3; }
.icon-mai circle { fill: #f1c85a; stroke: #cf9e32; }
.icon-mai path:first-child { fill: #f3b2c7; stroke: #d982a0; }
.icon-juni path:first-child { fill: #e2524f; stroke: #b8383a; }
.icon-juni circle { fill: #f6d76b; stroke: none; }
.icon-juli circle:first-child { fill: #f4c85b; stroke: #dcaa3d; }
.icon-august path:first-child { fill: #e2b46e; }
.icon-august path:nth-child(2) { fill: #f4b3c2; stroke: #d9819a; }
.icon-september path:first-child { fill: #9cc35a; stroke: #6f9a3a; }
.icon-september path:nth-child(3) { fill: #6f9a3a; stroke: #5b8230; }
.icon-oktober path:first-child { fill: #d9945e; stroke: #ac673a; }
.icon-halloween path:first-child { fill: #3c3153; stroke: #272238; }
.icon-november .glow { fill: #f6c453; stroke: none; opacity: .18; }
.icon-november .body { fill: #f6c453; stroke: #c98a2b; }
.icon-november .pleat { stroke: #e0a43c; stroke-width: 2; }
.icon-november .moon { fill: #fff8de; stroke: none; }
.icon-november .cap { fill: #b8742a; stroke: #9a5f22; stroke-width: 2; }
.icon-november .stick { stroke: #8a5a2e; }
.icon-dezember path:first-child { fill: #82b8cb; stroke: #4c91bf; }
.icon-dezember path:nth-child(2) { stroke: #f5fbff; stroke-width: 3.5; }
.icon-dezember path:nth-child(3) { fill: #a97047; stroke: #8d5836; stroke-width: 2.5; }
.icon-dezember circle { fill: #e9f6fb; stroke: #78abc0; stroke-width: 1.5; }
.icon-dezember path:nth-child(4) { stroke: #9bc7d8; stroke-width: 2.5; }
.icon-silvester .ray-a { stroke: #d9a62e; }
.icon-silvester .ray-b { stroke: #e0607e; }
.icon-silvester circle { fill: #f4c85b; stroke: #d9a62e; }
.icon-silvester .trail { stroke: #9aa3ad; stroke-width: 2; stroke-dasharray: 4 5; }
.icon-silvester .spark { fill: #5b9cc9; stroke: none; }
.icon-ostern .egg { fill: #fbe3ea; stroke: #d982a0; }
.icon-ostern .zigzag { stroke: #6fae9b; }
.icon-ostern .wave { stroke: #8c7ad0; }
.icon-ostern circle { fill: #f1c85a; stroke: none; }
.icon-zuckerfest .moon { fill: #f4c85b; stroke: #c99a2e; }
.icon-zuckerfest .star { fill: #2f8f83; stroke: #2f8f83; stroke-width: 1.5; }
.icon-zuckerfest .string { stroke: #8a6a3a; stroke-width: 2; }
.icon-zuckerfest .fanous { fill: #2f8f83; stroke: #23706a; }
.icon-zuckerfest .cap { fill: #c99a2e; stroke: #a87d22; stroke-width: 2; }
.icon-zuckerfest .glass { fill: #fff3c4; stroke: none; }
.icon-opferfest .square { fill: #dfe9f5; stroke: #3f6fb0; }
.icon-opferfest .square + .square { fill: #c9daef; fill-opacity: .7; }
.icon-opferfest circle { fill: #f4c85b; stroke: #c99a2e; }
.icon-opferfest .moon { fill: #3f6fb0; stroke: none; }
.icon-opferfest .spark { stroke: #e3b23c; stroke-width: 2.5; }
.icon-nikolaus .boot { fill: #d64545; stroke: #a83232; }
.icon-nikolaus .cuff { fill: #fdfefe; stroke: #b9c2cc; }
.icon-nikolaus .sole { stroke: #6b4a32; stroke-width: 4; }
.icon-nikolaus .cane { stroke: #d64545; stroke-width: 4; stroke-dasharray: 5 4; }
.icon-weihnachten .box { fill: #d64545; stroke: #a83232; }
.icon-weihnachten .lid { fill: #e25b5b; stroke: #a83232; }
.icon-weihnachten .ribbon { stroke: #e3b23c; stroke-width: 7; }
.icon-weihnachten .bow { fill: #f1c85a; stroke: #c99a2e; }

@keyframes icon-arrive {
    from { opacity: 0; transform: translateY(8px) scale(.92); }
    to { opacity: .88; transform: translateY(0) scale(1); }
}

@media (max-width: 1100px) {
    /* klein in der Ecke oben rechts, berührt weder Überschrift noch Plakette */
    .seasonal-icon { width: 46px; height: 46px; margin: -6px 0; opacity: .7; }
}

.form-loading {
    margin: 0;
    color: #69727e;
    font-size: 13px;
    text-align: center;
    padding: 20px 0;
}

.loading-spinner {
    display: inline-block;
    width: 15px;
    height: 15px;
    margin-right: 8px;
    vertical-align: -3px;
    border: 2px solid #dfe3e8;
    border-top-color: var(--accent-dark);
    border-radius: 50%;
    animation: loading-spin 800ms linear infinite;
}

.form-error {
    display: grid;
    justify-items: center;
    gap: 10px;
    padding: 24px 16px;
    border: 1px solid #f0c7c5;
    border-radius: var(--radius-md);
    background: #fff8f7;
    color: #783b38;
    text-align: center;
    font-size: 13px;
    line-height: 1.55;
}

.form-error button {
    min-height: 44px;
    padding: 10px 16px;
    border: 0;
    border-radius: 10px;
    background: #111318;
    color: #fff;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

@keyframes loading-spin {
    to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}


/* =========================================================
   ANFRAGEARTEN: SUPPORT (support.js) UND NEUER MITARBEITER (joiner.js)
========================================================= */

#zammad-feedback-form [hidden] {
    display: none !important;
}

#zammad-feedback-form .joiner-mode {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;

    margin: 0 0 22px;
    padding: 5px;

    border: 1px solid var(--border);
    border-radius: var(--radius-md);

    background: var(--bg);
}

#zammad-feedback-form .joiner-mode-option {
    position: relative;

    display: flex !important;
    align-items: center;
    justify-content: center;

    min-height: 44px;
    margin: 0 !important;
    padding: 8px 10px;

    border-radius: 10px;

    color: var(--text-secondary) !important;

    font-size: 14px !important;
    text-align: center;

    cursor: pointer;

    transition: background var(--transition), color var(--transition);
}

#zammad-feedback-form .joiner-mode-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

#zammad-feedback-form .joiner-mode-option:has(input:checked) {
    background: var(--surface-solid);
    color: var(--text) !important;
    box-shadow: 0 1px 3px rgba(16, 24, 40, .12);
}

#zammad-feedback-form .joiner-mode-option:has(input:focus-visible) {
    outline: 2px solid var(--focus);
    outline-offset: 2px;
}

#zammad-feedback-form .mkm-note {
    margin: 0 0 18px;
    padding: 12px 14px;

    border-radius: var(--radius-md);

    background: var(--accent-soft);
    color: var(--text);

    font-size: 13px;
    line-height: 1.55;
}

#zammad-feedback-form .mkm-section {
    margin: 0 0 8px !important;
}

#zammad-feedback-form .mkm-section legend {
    margin: 0 0 12px;
    padding: 0;

    color: var(--text);

    font-size: 14px;
    font-weight: 700;
}

#zammad-feedback-form .mkm-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
    gap: 0 14px;
}

/* Spalten gleich breit halten, auch wenn ein Feld (Datum in Safari) breiter sein will */
#zammad-feedback-form .mkm-row > * {
    min-width: 0;
}

/* Safari (iPad/iPhone) gibt Datumsfeldern eine feste Mindestbreite und zentriert das Datum */
#zammad-feedback-form input[type="date"] {
    -webkit-appearance: none !important;
    appearance: none !important;
    min-width: 0 !important;
    width: 100% !important;
    text-align: left;
}

#zammad-feedback-form input[type="date"]::-webkit-date-and-time-value {
    text-align: left;
    margin: 0;
}

#zammad-feedback-form .mkm-field {
    margin-bottom: 16px;
}

#zammad-feedback-form .mkm-optional {
    color: var(--text-tertiary);
    font-weight: 500;
}

#zammad-feedback-form .mkm-hint {
    margin: 6px 0 0;

    color: var(--text-secondary);

    font-size: 12px;
    line-height: 1.5;
}

#zammad-feedback-form .mkm-warn {
    margin: -6px 0 16px;
    padding: 9px 12px;

    border-radius: 10px;

    background: #fff4dc;
    color: #7a4b00;
}

#zammad-feedback-form .mkm-label {
    margin: 4px 0 8px;

    color: #343b47;

    font-size: 12px;
    font-weight: 600;
}

#zammad-feedback-form .mkm-checks {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 8px;

    margin-bottom: 16px;
}

#zammad-feedback-form .mkm-check {
    display: flex !important;
    align-items: center;
    gap: 10px;

    min-height: 44px;
    margin: 0 !important;
    padding: 8px 12px;

    border: 1px solid var(--border);
    border-radius: 10px;

    background: var(--surface-solid);
    color: var(--text) !important;

    font-size: 14px !important;
    font-weight: 500 !important;

    cursor: pointer;
}

#zammad-feedback-form .mkm-check:has(input:checked) {
    border-color: var(--icon-color);
    background: var(--accent-soft);
}

#zammad-feedback-form .mkm-check input {
    flex: none;
    margin: 0 !important;
}

#zammad-feedback-form .mkm-next {
    margin-top: 12px;
    font-weight: 600;
}

@media (prefers-color-scheme: dark) {
    #zammad-feedback-form .mkm-label {
        color: var(--text-secondary);
    }

    #zammad-feedback-form .mkm-warn {
        background: #3a2c12;
        color: #f0b85a;
    }
}

#zammad-feedback-form .mkm-check span {
    min-width: 0;            /* Flex-Kind darf schmaler werden, sonst wird langer Text abgeschnitten */
    overflow-wrap: break-word;
    hyphens: auto;
    font-size: 13.5px;
    line-height: 1.3;
}

#zammad-feedback-form .mkm-alert {
    margin: 0 0 18px;
    padding: 12px 14px;

    border: 1px solid #f2b8bd;
    border-radius: var(--radius-md);

    background: #fde7e9;
    color: #9b1c25;

    font-size: 13px;
    font-weight: 600;
    line-height: 1.55;
}

#zammad-feedback-form .mkm-check-wide {
    margin: -4px 0 16px !important;
}

#zammad-feedback-form optgroup {
    font-weight: 700;
}

@media (prefers-color-scheme: dark) {
    #zammad-feedback-form .mkm-alert {
        border-color: #6b2a31;
        background: #3d1c20;
        color: #ff9aa2;
    }
}


/* =========================================================
   DEMO-MODUS (?demo=1, app.js)
========================================================= */

.demo-banner {
    margin: 0 0 16px;
    padding: 10px 14px;

    border: 1px dashed var(--icon-color);
    border-radius: var(--radius-md);

    background: var(--accent-soft);
    color: var(--text);

    font-size: 13px;
    font-weight: 600;
}

.demo-preview {
    margin-top: 20px;
    padding: 20px;

    border: 1px dashed var(--icon-color);
    border-radius: var(--radius-lg);

    background: var(--surface-solid);
}

.demo-preview h2 {
    margin: 0 0 12px;
    font-size: 16px;
}

.demo-preview dl {
    display: grid;
    grid-template-columns: max-content 1fr;
    gap: 4px 12px;
    margin: 0 0 12px;
    font-size: 13px;
}

.demo-preview dt {
    color: var(--text-secondary);
    font-weight: 600;
}

.demo-preview dd {
    margin: 0;
    overflow-wrap: anywhere;
}

.demo-preview pre {
    margin: 0;
    padding: 12px;
    overflow-x: auto;

    border-radius: var(--radius-md);

    background: var(--bg);

    font-size: 12px;
    line-height: 1.5;
    white-space: pre-wrap;
}


/* =========================================================
   SUPPORT IN DREI SCHRITTEN (support.js)
========================================================= */

#zammad-feedback-form .mkm-step-head {
    margin: 4px 0 16px;
}

#zammad-feedback-form .mkm-step-count {
    display: block;
    color: var(--text-tertiary);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .02em;
    text-transform: uppercase;
}

#zammad-feedback-form .mkm-step-title {
    margin: 2px 0 0;
    color: var(--text);
    font-size: 21px;
    font-weight: 750;
    letter-spacing: -.02em;
}

#zammad-feedback-form .mkm-tiles {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

#zammad-feedback-form .mkm-tile {
    position: relative;
    display: flex !important;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    min-height: 112px;
    margin: 0 !important;
    padding: 14px !important;
    border: 1.5px solid var(--border) !important;
    border-radius: var(--radius-md);
    background: var(--surface-solid);
    color: var(--text) !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    line-height: 1.3 !important;
    cursor: pointer;
    transition: border-color var(--transition), background var(--transition), transform var(--transition);
}

#zammad-feedback-form .mkm-tile:hover { border-color: var(--border-strong) !important; }
#zammad-feedback-form .mkm-tile:active { transform: scale(.98); }

#zammad-feedback-form .mkm-tile input,
#zammad-feedback-form .mkm-choice input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

#zammad-feedback-form .mkm-tile:has(input:checked),
#zammad-feedback-form .mkm-choice:has(input:checked) {
    border-color: var(--icon-color) !important;
    background: var(--accent-soft);
}

#zammad-feedback-form .mkm-tile:has(input:focus-visible),
#zammad-feedback-form .mkm-choice:has(input:focus-visible) {
    outline: 2px solid var(--focus);
    outline-offset: 2px;
}

#zammad-feedback-form .mkm-tile-icon {
    display: inline-flex;
    width: 34px;
    height: 34px;
    padding: 6px;
    border-radius: 10px;
    background: var(--accent-soft);
    color: var(--accent-dark);
}

#zammad-feedback-form .mkm-tile-icon svg { width: 100%; height: 100%; }

#zammad-feedback-form .mkm-tile-text { display: flex; flex-direction: column; gap: 3px; }
#zammad-feedback-form .mkm-tile-text strong { font-size: 15px; font-weight: 700; }
#zammad-feedback-form .mkm-tile-text small { color: var(--text-secondary); font-size: 12.5px; line-height: 1.35; }

#zammad-feedback-form .mkm-tile-alert .mkm-tile-icon { background: #fde7e9; color: #b42318; }
#zammad-feedback-form .mkm-tile-alert:has(input:checked) { border-color: #e5484d !important; background: #fff1f2; }

#zammad-feedback-form .mkm-tiles-small .mkm-tile { min-height: 60px; justify-content: center; }

#zammad-feedback-form .mkm-more {
    margin-top: 12px;
    padding: 14px;
    border: 1.5px solid var(--icon-color);
    border-radius: var(--radius-md);
    background: var(--surface-solid);
}

#zammad-feedback-form .mkm-more .mkm-field { margin: 14px 0 0; }

#zammad-feedback-form .mkm-tile-open {
    border-color: var(--icon-color) !important;
    background: var(--accent-soft);
}

#zammad-feedback-form .mkm-more summary {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

#zammad-feedback-form .mkm-more[open] summary { margin-bottom: 8px; }

#zammad-feedback-form .mkm-picked {
    margin: 0 0 16px;
    color: var(--text-secondary);
    font-size: 14px;
}

#zammad-feedback-form .mkm-picked strong { color: var(--text); }
#zammad-feedback-form .mkm-change { margin-left: 4px; color: var(--focus); font-weight: 600; }

#zammad-feedback-form .mkm-question { margin: 0 0 18px; }

#zammad-feedback-form .mkm-question-label {
    margin: 0 0 8px;
    color: var(--text);
    font-size: 15px;
    font-weight: 650;
}

#zammad-feedback-form .mkm-choices {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 8px;
}

#zammad-feedback-form .mkm-choices-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

#zammad-feedback-form .mkm-choice {
    position: relative;
    display: flex !important;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    margin: 0 !important;
    padding: 10px 12px !important;
    border: 1.5px solid var(--border) !important;
    border-radius: 12px;
    background: var(--surface-solid);
    color: var(--text) !important;
    font-size: 14.5px !important;
    font-weight: 600 !important;
    line-height: 1.25 !important;
    text-align: center;
    cursor: pointer;
}

#zammad-feedback-form .mkm-step-error {
    margin: 0 0 12px;
    padding: 10px 12px;
    border-radius: 10px;
    background: #fde7e9;
    color: #9b1c25;
    font-size: 13.5px;
    font-weight: 600;
}

#zammad-feedback-form .mkm-nav { margin-top: 8px; }

#zammad-feedback-form .mkm-back {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    margin-top: 6px;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

#zammad-feedback-form .mkm-callback {
    margin: 4px 0 12px;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--bg);
}

#zammad-feedback-form .mkm-callback .mkm-check-wide { margin: 0 0 8px !important; }


#zammad-feedback-form .mkm-photo input[type="file"] {
    min-height: 64px !important;
    border-style: dashed !important;
    border-width: 2px !important;
    font-size: 14px !important;
}

@media (max-width: 380px) {
    #zammad-feedback-form .mkm-choices-3 { grid-template-columns: 1fr; }
}

@media (prefers-color-scheme: dark) {
    #zammad-feedback-form .mkm-tile-alert .mkm-tile-icon { background: #3d1c20; color: #ff9aa2; }
    #zammad-feedback-form .mkm-tile-alert:has(input:checked) { background: #2a1416; }
    #zammad-feedback-form .mkm-step-error { background: #3d1c20; color: #ff9aa2; }
}

#zammad-feedback-form .mkm-choice span,
#zammad-feedback-form .mkm-tile-text {
    overflow-wrap: normal;
    hyphens: auto;
}

#zammad-feedback-form .mkm-back-top { margin: -8px 0 10px; }


/* =========================================================
   LOGO (Headset)
========================================================= */

.brand-mark svg {
    width: 26px;
    height: 26px;
}

.brand-name {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.brand-sub {
    color: var(--text-tertiary);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .02em;
}

/* zweite Ebene: leicht gefuellte Hauptform */
.card-icon svg .duo { fill: currentColor; stroke: none; opacity: .28; }



/* =========================================================
   MONATS-HINTERGRUND (app.js seasonBackground)
========================================================= */

.season-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

/* sehr leichter Farbschimmer oben */
.season-bg::before {
    content: "";
    position: absolute;
    inset: -20% -10% auto;
    height: 70%;
    background: radial-gradient(60% 55% at 70% 0%, var(--season-tint, transparent), transparent 70%);
    opacity: .55;
}

body[data-season="januar"]    { --season-tint: rgba(91, 156, 201, .14); --season-ink: #6aa6cf; }
body[data-season="februar"]   { --season-tint: rgba(111, 159, 124, .12); --season-ink: #8fb2c4; }
body[data-season="maerz"]     { --season-tint: rgba(234, 125, 152, .14); --season-ink: #ea7d98; }
body[data-season="april"]     { --season-tint: rgba(111, 143, 176, .14); --season-ink: #7f9fc0; }
body[data-season="mai"]       { --season-tint: rgba(221, 118, 150, .16); --season-ink: #dd7696; }
body[data-season="juni"]      { --season-tint: rgba(226, 82, 79, .12);  --season-ink: #e0676a; }
body[data-season="juli"]      { --season-tint: rgba(243, 186, 72, .2);  --season-ink: #e3a52f; }
body[data-season="august"]    { --season-tint: rgba(228, 138, 106, .16); --season-ink: #e48a6a; }
body[data-season="september"] { --season-tint: rgba(140, 173, 74, .14); --season-ink: #8cad4a; }
body[data-season="oktober"]   { --season-tint: rgba(189, 116, 64, .14); --season-ink: #bd7440; }
body[data-season="halloween"] { --season-tint: rgba(116, 82, 163, .16); --season-ink: #7452a3; }
body[data-season="november"]  { --season-tint: rgba(160, 122, 76, .14); --season-ink: #8a97a8; }
body[data-season="dezember"]  { --season-tint: rgba(76, 145, 191, .14); --season-ink: #6aa6cf; }
body[data-season="silvester"] { --season-tint: rgba(217, 166, 46, .16); --season-ink: #d9a62e; }
body[data-season="ostern"]    { --season-tint: rgba(217, 130, 160, .14); --season-ink: #e3a0b8; }
body[data-season="zuckerfest"] { --season-tint: rgba(47, 143, 131, .13); --season-ink: #d9a62e; }
body[data-season="opferfest"] { --season-tint: rgba(63, 111, 176, .13); --season-ink: #d9a62e; }
body[data-season="nikolaus"]  { --season-tint: rgba(184, 58, 58, .1);  --season-ink: #6aa6cf; }
body[data-season="weihnachten"] { --season-tint: rgba(227, 178, 60, .14); --season-ink: #d9a62e; }

.season-bit {
    position: absolute;
    display: block;
    color: var(--season-ink, var(--icon-color));
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    will-change: transform;
}

.season-bit svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
    stroke: currentColor;
    stroke-width: 1.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Teilchen starten oberhalb bzw. seitlich und wandern quer durch den Bildschirm */
.season-fall { top: -6% !important; animation-name: season-fall; }
.season-rise { top: auto !important; bottom: -6%; animation-name: season-rise; }
.season-fly  { left: -6% !important; animation-name: season-fly; }
.season-drop { top: -6% !important; animation-name: season-drop; }

@keyframes season-fall {
    0%   { transform: translate3d(0, 0, 0) rotate(0deg); }
    25%  { transform: translate3d(18px, 28vh, 0) rotate(70deg); }
    50%  { transform: translate3d(-12px, 56vh, 0) rotate(150deg); }
    75%  { transform: translate3d(16px, 84vh, 0) rotate(220deg); }
    100% { transform: translate3d(0, 112vh, 0) rotate(300deg); }
}

/* Regen faellt gerade, ohne Drehung */
@keyframes season-drop {
    from { transform: translate3d(0, 0, 0); }
    to   { transform: translate3d(-6px, 112vh, 0); }
}

@keyframes season-rise {
    0%   { transform: translate3d(0, 0, 0) scale(.8); }
    50%  { transform: translate3d(14px, -55vh, 0) scale(1.1); }
    100% { transform: translate3d(-8px, -112vh, 0) scale(.9); }
}

@keyframes season-fly {
    0%   { transform: translate3d(0, 0, 0) scaleY(1); }
    20%  { transform: translate3d(22vw, -3vh, 0) scaleY(.6); }
    40%  { transform: translate3d(44vw, 2vh, 0) scaleY(1); }
    60%  { transform: translate3d(66vw, -4vh, 0) scaleY(.6); }
    80%  { transform: translate3d(88vw, 1vh, 0) scaleY(1); }
    100% { transform: translate3d(112vw, -2vh, 0) scaleY(.6); }
}

/* Inhalt liegt über dem Hintergrund */
.topbar, main, .hero, .support-section, .faq-section, footer { position: relative; z-index: 1; }

@media (prefers-reduced-motion: reduce) {
    .season-bit { animation: none !important; }
    .season-fall, .season-fly, .season-drop { top: auto !important; left: auto !important; }
}

@media (prefers-color-scheme: dark) {
    .season-bg::before { opacity: .4; }
}

/* Nach dem Absenden: neue Anfrage */
.mkm-again {
    margin-top: 18px;
}

/* Fehler beim Senden und von Zammad markierte Felder (form.js setzt nur die Klassen) */
.mkm-submit-error {
    margin: 0 0 14px;
    padding: 12px 14px;
    border: 1px solid #f1b8b8;
    border-radius: var(--radius-md);
    background: #fff4f4;
    color: #8a1c1c;
    font-weight: 600;
    line-height: 1.5;
}

.mkm-submit-error a {
    color: inherit;
    text-decoration: underline;
}

#zammad-feedback-form .zammad-form-group--has-error input,
#zammad-feedback-form .zammad-form-group--has-error textarea,
#zammad-feedback-form .has-error input,
#zammad-feedback-form .has-error textarea {
    border-color: #d64545 !important;
    box-shadow: 0 0 0 3px rgba(214, 69, 69, .14) !important;
}

#zammad-feedback-form .zammad-form-group--has-error label,
#zammad-feedback-form .has-error label {
    color: #b42318 !important;
}

#form-fallback a {
    color: inherit;
    font-weight: 700;
}

@media (prefers-color-scheme: dark) {
    .mkm-submit-error {
        border-color: #7a2e2e;
        background: #2a1515;
        color: #ffc9c9;
    }
}

/* Gemerkte Angaben (geteilte Geräte) und Hinweis bei zu großen Dateien */
.mkm-remembered {
    margin: 0 0 12px;
    color: var(--text-secondary, #4b5563);
    font-size: 14px;
}

#zammad-feedback-form .mkm-link-btn {
    display: inline !important;
    width: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: none !important;
    box-shadow: none !important;
    color: var(--focus, #155eef) !important;
    font: inherit !important;
    font-weight: 600 !important;
    text-decoration: underline;
    cursor: pointer;
}

.mkm-upload-note {
    margin: 6px 0 0;
    color: #b42318;
    font-size: 14px;
    font-weight: 600;
}

/* Schritt 1: Gruppen-Überschriften und die feste Zeile "Etwas anderes" */
.mkm-tile-group {
    margin: 18px 0 8px;
    color: var(--text-secondary, #626b78);
    font-size: 13px;
    font-weight: 650;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.mkm-tile-group:first-of-type {
    margin-top: 4px;
}

#zammad-feedback-form .mkm-other {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 10px;
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid var(--border, #e1e5ea);
}

#zammad-feedback-form .mkm-other .form-group {
    margin: 0 !important;
}

#zammad-feedback-form .mkm-other .mkm-next-btn {
    width: auto !important;
    min-width: 110px;
}

@media (max-width: 520px) {
    #zammad-feedback-form .mkm-other {
        grid-template-columns: minmax(0, 1fr);
    }

    #zammad-feedback-form .mkm-other .mkm-next-btn {
        width: 100% !important;
    }
}

/* Knopf "weitere Person hinzufügen" / "Übernehmen": gut sichtbar, aber nicht wie "Weiter" */
#zammad-feedback-form .mkm-add-btn {
    display: block !important;
    width: 100% !important;
    min-height: 44px !important;
    margin: 4px 0 0 !important;
    padding: 10px 14px !important;
    border: 1px dashed var(--icon-color, #155eef) !important;
    border-radius: 10px !important;
    background: var(--surface-solid, #fff) !important;
    box-shadow: none !important;
    color: var(--icon-color, #155eef) !important;
    font: inherit !important;
    font-weight: 600 !important;
    cursor: pointer;
}

#zammad-feedback-form .mkm-paste {
    margin-top: 10px;
}

#zammad-feedback-form .mkm-link-btn:hover,
#zammad-feedback-form .mkm-link-btn:focus {
    background: none !important;
}
