/* Design «Rund»: Poppins, Orange, abgerundete Flächen. Wird nach app.css geladen; für den Druck gilt weiterhin app.css. */
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/poppins-400.woff) format('woff'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 500; font-display: swap; src: url(/assets/fonts/poppins-500.woff) format('woff'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 700; font-display: swap; src: url(/assets/fonts/poppins-700.woff) format('woff'); }
@font-face { font-family: 'Poppins'; font-style: italic; font-weight: 700; font-display: swap; src: url(/assets/fonts/poppins-700-italic.woff) format('woff'); }

@media screen {
    :root {
        --forest: #16301f; --pine: #16301f; --olive: #e9d9b4; --ink: #1f2a22; --quiet: #5a5f55; --paper: #f3eee0; --white: #fffdf8;
        --line: #e4dcc6; --moss: #b84300; --orange: #ff6a13; --radius: 24px; --soft: 0 1px 2px rgba(22,48,31,.06), 0 10px 28px -12px rgba(22,48,31,.22);
        font-family: 'Poppins', system-ui, -apple-system, sans-serif; line-height: 1.6;
    }
    h1 { font: 700 clamp(2rem, 4.6vw, 3.2rem)/1.1 'Poppins', sans-serif; letter-spacing: -.03em; color: var(--forest); }
    h2 { font: 700 clamp(1.35rem, 2.4vw, 1.85rem)/1.2 'Poppins', sans-serif; letter-spacing: -.02em; color: var(--forest); }
    h3 { font-weight: 700; }
    .eyebrow { display: inline-block; font-weight: 500; font-size: .72rem; letter-spacing: .08em; padding: .3rem .8rem; border-radius: 999px; background: #ffe6d4; color: var(--moss); }
    .accent { color: var(--orange); font-style: italic; }

    /* Seitenleiste als runde, dunkle Karte */
    .sidebar { margin: .9rem 0 .9rem .9rem; min-height: calc(100vh - 1.8rem); height: calc(100vh - 1.8rem); border-radius: 32px; background: var(--forest) url(/assets/contour.svg); overflow-y: auto; padding: 1.3rem .9rem; }
    .brand { border-radius: 18px; }
    .sidebar nav a { border-radius: 999px; padding: .6rem 1rem; font-weight: 500; color: #e9ddc2; }
    .sidebar nav a:hover { background: rgba(255,255,255,.1); color: #fff; }
    .sidebar nav [aria-current] { background: var(--orange); color: #14230f; font-weight: 700; }
    .account-footer { border-top-color: rgba(255,255,255,.2); }
    .signout { color: #ffb78a; }

    /* Anmeldeseite */
    .auth-intro { background: var(--forest) url(/assets/contour.svg); border-radius: 0 40px 40px 0; }
    .auth-intro .eyebrow { background: rgba(255,106,19,.16); color: #ffb78a; }
    .auth-headline { font: 700 clamp(2.6rem, 5.2vw, 4.6rem)/1.08 'Poppins', sans-serif; letter-spacing: -.035em; }
    .auth-caption { color: #e3dcc6; }

    /* Flächen, Banner und Zahlen */
    .panel, .paper, .stat, fieldset { border: 0; border-radius: 28px; box-shadow: var(--soft); }
    fieldset { border: 1px solid var(--line); box-shadow: none; border-radius: 20px; }
    .dashboard-banner { border-radius: 32px; background: var(--forest) url(/assets/contour.svg); }
    .dashboard-banner .eyebrow { background: rgba(255,106,19,.16); color: #ffb78a; }
    .dashboard-banner h2 { color: #fff; }
    .stat { border-radius: 24px; }
    .stat strong { font: 700 2.1rem/1 'Poppins', sans-serif; letter-spacing: -.03em; }

    /* Schaltflächen und Felder */
    .button { border-radius: 999px; background: var(--orange); border-color: var(--orange); color: #14230f; font-weight: 700; padding: .55rem 1.2rem; }
    .button:hover { filter: none; background: #ff8340; border-color: #ff8340; }
    .button-outline { background: var(--white); border-color: #d6cdb4; color: var(--forest); font-weight: 500; }
    .button-outline:hover { background: #fff3e4; border-color: #d6cdb4; }
    .button-light { background: #fff; border-color: #fff; color: var(--forest); }
    .signout:hover { filter: none; }
    input, textarea, select { border-radius: 12px; border-color: #d6cdb4; background: #fffdf8; }
    input[type=checkbox], input[type=radio] { accent-color: var(--forest); }
    :focus-visible { outline-color: var(--orange); }

    /* Reiter, Zeilen, Badges, Tabellen */
    .tabs { border-bottom-color: var(--line); gap: .3rem .5rem; }
    .tabs a { padding: .5rem .9rem; border-radius: 999px; border-bottom: 0; color: var(--quiet); }
    .tabs a:hover { background: #fff3e4; }
    .tabs a[aria-current] { background: var(--forest); color: #fff; font-weight: 700; }
    .badge { background: #efe7d0; color: #4a4a38; }
    .badge.confirmed, .badge.accepted { background: #dcebd3; }
    .rows li, .details > div, th, td { border-color: var(--line); }
    .message { border-radius: 20px; }
    .arrival-map { border: 0; border-radius: 28px; box-shadow: var(--soft); }
    .ol-zoom button, .ol-control button { border-radius: 8px; }
    @media (max-width: 900px) { .sidebar { margin: .5rem; height: auto; min-height: 0; border-radius: 24px; position: static; } .auth-intro { border-radius: 0 0 32px 32px; } }
}
@media screen {
    .legal-body { background: var(--paper); }
    .legal-top nav a { padding: .45rem .9rem; border-radius: 999px; text-decoration: none; font-weight: 500; }
    .legal-top nav [aria-current] { background: var(--forest); color: #fff; }
    .legal h1 { margin-bottom: 1rem; }
    .sidebar .legal-links a, .auth-intro .legal-links a { color: #e9ddc2; }
}
