
/* ── tokens/fonts.css ── */
/* Montserrat is the only family used across the in-scope BookABro screens.
   Self-hosted (project convention — see webroot/css/fonts.css for Raleway),
   not loaded from Google's CDN. Google serves this family as a single
   variable-font file per subset, so one @font-face with a weight *range*
   covers all five weights (400 Regular … 800 ExtraBold) actually in use. */
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: url('../font/montserrat-variable.woff2') format('woff2');
}

/* Bootstrap Icons — self-hosted too, loaded as its own stylesheet
   (webroot/css/bootstrap-icons.css + webroot/font/bootstrap-icons.woff2)
   from the layout rather than @import'd here, to avoid a second
   network-style hop for something that's now a local file anyway. */

/* ── tokens/colors.css ── */
:root{
/* ── Brand ───────────────────────────────────────────── */
--ba-navy:#235072;              /* wordmark, small icon accents */
--ba-blue:#2988D0;              /* primary action */
--ba-blue-deep:#0058BC;
--ba-blue-overlay:#005EAC;      /* CTA band tint, used at 61% */
--ba-red:#DA3D3C;              /* accent / secondary action, "Accedi" */
--ba-sky:#7ABDE1;              /* dashboard gradient start */

/* ── Status ──────────────────────────────────────────── */
--ba-green:#6BC300;            /* Accettato */
--ba-yellow:#FFD83D;           /* Aperto */
--ba-yellow-soft:#FDD770;      /* Aperto row marker */
--ba-red-strong:#D33100;       /* Rifiutato */
--ba-orange-dot:#DB4213;       /* notification dot */

/* ── Neutrals (dark → light) ─────────────────────────── */
--ba-black:#000000;
--ba-ink-900:#1A1C1F;
--ba-ink-850:#1B2336;          /* card titles */
--ba-ink-800:#2E3337;          /* default text */
--ba-ink-750:#3A4855;
--ba-ink-700:#3E3D3D;
--ba-ink-650:#414755;
--ba-ink-600:#474E51;
--ba-ink-550:#4A5764;
--ba-ink-500:#4F5662;
--ba-ink-450:#525252;
--ba-ink-400:#596570;          /* meta text */
--ba-ink-350:#647488;
--ba-ink-300:#6C6C6C;          /* table column heads */
--ba-ink-200:#94A0A7;          /* nav subtitles */
--ba-ink-150:#C3C9D0;          /* field icons, checkbox border */
--ba-ink-100:#AEAEAE;          /* search bar border */
--ba-line:#E2E2E2;             /* field hairline */
--ba-grey-100:#F3F3F3;         /* round icon button */
--ba-grey-075:#F4F4F4;         /* table zebra row */
--ba-grey-050:#F5F5F5;         /* footer plate */
--ba-white:#FFFFFF;

/* ── Semantic aliases ────────────────────────────────── */
--text-body:var(--ba-ink-800);
--text-heading:var(--ba-ink-850);
--text-muted:var(--ba-ink-400);
--text-subtle:var(--ba-ink-200);
--text-on-dark:var(--ba-white);
--text-link:var(--ba-blue);
--text-eyebrow:var(--ba-blue);

--surface-page:var(--ba-white);
--surface-footer:var(--ba-grey-050);
--surface-card:var(--ba-white);
--surface-zebra:var(--ba-grey-075);
--surface-chip:var(--ba-grey-100);
--surface-glass:rgba(255,255,255,0.85);        /* fields over photography */
--surface-glass-blue:rgba(223,240,255,0.81);   /* register panel, blur 16.3px */
--surface-panel:rgba(255,255,255,0.65);        /* dashboard sidebar plate */
--surface-scrim:rgba(255,255,255,0.54);        /* login title plate */
--surface-dashboard:linear-gradient(219.162deg,rgba(122,189,225,0.2) 8.27%,rgba(148,160,167,0.2) 97.66%);

--action-primary:var(--ba-blue);
--action-accent:var(--ba-red);
--action-open:var(--ba-yellow);
--action-open-text:var(--ba-ink-450);
--action-accepted:var(--ba-green);
--action-rejected:var(--ba-red-strong);

--border-field:var(--ba-line);
--border-search:var(--ba-ink-100);
--border-control:var(--ba-ink-150);
}

/* ── tokens/typography.css ── */
:root{
--font-core:"Montserrat",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;

--fw-regular:400;
--fw-medium:500;
--fw-semibold:600;
--fw-bold:700;
--fw-extrabold:800;

/* Sizes exactly as transcribed from the .fig — no rounding. */
--fs-display:48px;   /* hero H1 */
--fs-h1:40px;        /* CTA band heading */
--fs-h2:36px;        /* page / section heading */
--fs-h3:32px;        /* panel heading, detail name */
--fs-h4:24px;        /* card name */
--fs-h5:20px;        /* locality label */
--fs-lead:18px;      /* nav links, search submit */
--fs-body:16px;
--fs-meta:14px;
--fs-caption:12px;

--lh-tight:100%;     /* the file's default: line-height 100% on nearly every text node */
--lh-prose:1.5;      /* body copy and 20px/36px headings */

/* Ready-made type roles */
--type-display:var(--fw-bold) var(--fs-display)/var(--lh-tight) var(--font-core);
--type-h1:var(--fw-bold) var(--fs-h1)/var(--lh-tight) var(--font-core);
--type-h2:var(--fw-bold) var(--fs-h2)/var(--lh-prose) var(--font-core);
--type-h3:var(--fw-bold) var(--fs-h3)/var(--lh-tight) var(--font-core);
--type-h4:var(--fw-bold) var(--fs-h4)/var(--lh-tight) var(--font-core);
--type-h5:var(--fw-bold) var(--fs-h5)/var(--lh-prose) var(--font-core);
--type-nav:var(--fw-semibold) var(--fs-lead)/var(--lh-tight) var(--font-core);
--type-submit:var(--fw-extrabold) var(--fs-lead)/var(--lh-tight) var(--font-core);
--type-body:var(--fw-regular) var(--fs-body)/var(--lh-prose) var(--font-core);
--type-label:var(--fw-semibold) var(--fs-body)/var(--lh-tight) var(--font-core);
--type-column:var(--fw-medium) var(--fs-body)/var(--lh-tight) var(--font-core);
--type-meta:var(--fw-semibold) var(--fs-meta)/var(--lh-tight) var(--font-core);
--type-meta-plain:var(--fw-regular) var(--fs-meta)/var(--lh-tight) var(--font-core);
--type-caption:var(--fw-regular) var(--fs-caption)/var(--lh-tight) var(--font-core);
}

/* ── tokens/spacing.css ── */
:root{
/* Spacing steps observed in the source screens (1920px desktop canvas). */
--space-1:5px;
--space-2:10px;
--space-3:15px;
--space-4:20px;
--space-5:25px;
--space-6:31px;    /* field column gap */
--space-7:40px;    /* pill button left padding */
--space-8:47px;    /* locality card gap */
--space-9:62px;    /* instructor card gap */

/* Layout */
--canvas-w:1920px;
--gutter:136px;        /* page left/right margin */
--content-w:1648px;    /* 1920 − 2×136 */
--header-h:156px;      /* logo block 26 + 118 top area */
--footer-h:542px;

/* Control geometry, verbatim */
--control-h:56px;      /* pill button */
--control-h-sm:40px;   /* table action pill */
--field-h:69px;        /* input, select, search segment */
--field-w:406px;
--search-segment-w:345px;
--sidebar-item-w:239px;
--sidebar-item-h:61px;
--table-row-h:59px;
--row-marker:5px 29px;  /* status bar w/h, radius 3 */
}

/* ── tokens/radii.css ── */
:root{
--radius-xs:5px;    /* checkbox */
--radius-sm:10px;   /* sidebar nav item */
--radius-md:15px;   /* text field, small thumbnail */
--radius-lg:25px;   /* card, image, panel */
--radius-xl:50px;   /* pill, panel top corners */
--radius-pill:50px;
--radius-round:50%;
--radius-marker:3px;
}

/* ── tokens/elevation.css ── */
:root{
--shadow-card:0px 5px 30px 0px rgba(63,81,93,0.07);
--shadow-button:4px 5px 14px 0px rgba(92,92,239,0.25);
--shadow-search:4px 5px 14px 0px rgba(0,0,0,0.25);
--shadow-panel:0px 22px 43.7px 0px rgba(0,0,0,0.03);
--ring-field:inset 0 0 0 0.5px var(--border-field),0 0 0 0.5px var(--border-field);
--ring-control:inset 0 0 0 1px var(--border-control);
--ring-white:inset 0 0 0 1px var(--ba-white);
--blur-glass:blur(16.3px);
--ease-out:cubic-bezier(0.4,0,0.2,1);
--dur-fast:120ms;
--dur-base:200ms;
}

/* ── tokens/base.css ── */
html{-webkit-font-smoothing:antialiased}
body{margin:0;font:var(--type-body);color:var(--text-body);background:var(--surface-page)}
h1,h2,h3,h4,h5,p{margin:0}
a{color:var(--text-link);text-decoration:none;transition:color var(--dur-base) var(--ease-out)}
a:hover{color:var(--ba-blue-deep)}
button{font-family:var(--font-core)}
*,*::before,*::after{box-sizing:border-box}

/* ══ bookAbro Komponenten (aus dem Design-System übersetzt, React-frei) ══ */
.ba-container{width:100%;max-width:1920px;margin:0 auto;padding:0 clamp(20px,7vw,136px)}
img{max-width:100%}
body{overflow-x:hidden}
.ba-scroll{overflow-x:auto;overflow-y:hidden}
.ba-lead{font:var(--type-body);color:var(--text-body);max-width:62ch;text-wrap:pretty}
.ba-muted{font:var(--type-body);color:var(--text-muted)}
.ba-sect-title{font:var(--fw-bold) clamp(26px,3.4vw,var(--fs-h2))/1.5 var(--font-core);color:var(--text-heading)}
.ba-hr{height:1px;background:var(--border-field)}

/* Logo */
.ba-logo{display:block;width:281px;height:auto}
.ba-logo--sm{width:188px}

/* Button */
.ba-btn{display:inline-flex;align-items:center;gap:12px;height:var(--control-h);padding:0 25px 0 var(--space-7);border:none;border-radius:var(--radius-pill);font:var(--type-label);white-space:nowrap;cursor:pointer;text-decoration:none;transition:filter var(--dur-base) var(--ease-out),transform var(--dur-fast) var(--ease-out)}
.ba-btn:hover{filter:brightness(.92)}
.ba-btn:active{transform:scale(.98)}
.ba-btn i{font-size:26px;line-height:1;display:block}
.ba-btn--primary,.ba-btn--primary:hover{background:var(--action-primary);color:var(--ba-white)}
.ba-btn--accent,.ba-btn--accent:hover{background:var(--action-accent);color:var(--ba-white)}
.ba-btn--open,.ba-btn--open:hover{background:var(--action-open);color:var(--action-open-text)}
.ba-btn--accepted,.ba-btn--accepted:hover{background:var(--action-accepted);color:var(--ba-white)}
.ba-btn--rejected,.ba-btn--rejected:hover{background:var(--action-rejected);color:var(--ba-white)}
.ba-btn.is-elevated{box-shadow:var(--shadow-button)}
.ba-btn--sm{height:var(--control-h-sm);padding:0 12px 0 25px;gap:8px;font:var(--type-meta)}
.ba-btn--sm i{font-size:22px}
.ba-btn-row{display:flex;gap:16px;flex-wrap:wrap;align-items:center}

/* Icon button */
.ba-icon-btn{display:inline-flex;align-items:center;justify-content:center;width:43px;height:43px;flex:0 0 auto;border:none;border-radius:var(--radius-round);background:var(--surface-chip);color:var(--ba-navy);font-size:22px;line-height:1;cursor:pointer;transition:filter var(--dur-base) var(--ease-out)}
.ba-icon-btn:hover{filter:brightness(.94)}
.ba-icon-btn--primary{background:var(--action-primary);color:var(--ba-white)}

/* Felder */
.ba-field {position:relative;width:var(--field-w);max-width:100%;cursor:text}
.ba-field--full{width:100%}
.ba-field input,.ba-field select,.ba-field textarea{min-width:0;border:none;outline:none;font:var(--type-label);color:var(--text-body);padding:25px 30px;border-radius:var(--radius-md);background:var(--surface-glass);box-shadow:var(--ring-field);width:100%}
.ba-field .input{flex:1;min-width:0}
.ba-field textarea {height: auto}
.ba-field input[type="date"] {padding: 16px 30px}
.ba-field input[type="date"]::-webkit-calendar-picker-indicator {width: 32px;height: 32px;opacity: 0;}
.ba-field--select{cursor:pointer}
.ba-field--select select{appearance:none;padding-right:56px}
/* Trailing icon (chevron on selects, calendar on date fields): .ba-field
   dropped its old flex-row layout, so an <i> sibling of the input/select
   just fell into normal block flow below it (rendered as its own line —
   "the dropdown arrow is under the input box"). Overlay it in the field's
   right edge instead, using the .ba-field{position:relative} that's still
   there. */
.ba-field > div{position:relative}
.ba-field > div > i{position:absolute;top:50%;right:30px;transform:translateY(-50%);font-size:24px;line-height:1;color:var(--border-control);pointer-events:none}
/* The custom date-picker fields (search bar "Datum", Requests/add.php
   Von/Bis) show a <span data-date-display> instead of a real visible input
   (the real type="date" input is invisible, see date-picker.js) — without
   .ba-field's old flex layout, that span had no width/padding of its own
   and rendered at its own text width instead of filling the field like
   every other input does. */
.ba-field span[data-date-display]{display:block;width:100%;padding:25px 78px 25px 30px;border-radius:var(--radius-md);background:var(--surface-glass);box-shadow:var(--ring-field);box-sizing:border-box}
.ba-field--textarea{grid-column: 2 span;}
.ba-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:var(--space-6)}

/* Checkbox */
.ba-check__container{display:flex;flex-wrap:wrap;gap:16px 32px;margin-top:14px}
.ba-check{display:inline-flex;align-items:center;gap:8px;cursor:pointer}
.ba-check input{position:absolute;opacity:0;width:0;height:0}
.ba-check__box{display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;flex:0 0 auto;border-radius:var(--radius-xs);background:var(--ba-white);box-shadow:var(--ring-control);color:var(--ba-white);font-size:16px}
.ba-check input:checked+.ba-check__box{background:var(--action-primary);box-shadow:none}
.ba-check input:checked+.ba-check__box::before{content:"\F26E";font-family:"bootstrap-icons"}
.ba-check__label{font:var(--type-column);color:var(--text-body)}

/* Suchleiste */
.ba-search{display:flex;align-items:stretch;width:100%;box-shadow:var(--shadow-search);border-radius:var(--radius-pill)}
.ba-search__seg{display:flex;align-items:center;gap:10px;height:var(--field-h);padding:0 24px;background:var(--surface-glass);border:1px solid var(--border-search);border-left:none;font:var(--type-label);color:var(--text-body)}
.ba-search__seg--place{flex:1 1 var(--search-segment-w);min-width:0;border-left:1px solid var(--border-search);border-radius:var(--radius-pill) 0 0 var(--radius-pill);padding-left:40px}
.ba-search__seg--place input{flex:1;min-width:0;border:none;outline:none;background:transparent;font:var(--type-label);color:var(--text-body)}
.ba-search__seg select{flex:1;height:100%;min-width:0}
.ba-search__seg--pick{width:232px;justify-content:space-between}
.ba-search__seg--pick i{font-size:13px;color:var(--ba-ink-600)}
.ba-search__submit{width:160px;height:var(--field-h);border:none;border-radius:0 var(--radius-pill) var(--radius-pill) 0;background:var(--action-accent);color:var(--ba-white);font:var(--type-submit);cursor:pointer;transition:filter var(--dur-base) var(--ease-out)}
.ba-search__submit:hover{filter:brightness(.92)}

/* Kopfzeile */
.ba-header{position:relative;z-index:5;display:flex;align-items:center;justify-content:space-between;height:var(--header-h);padding:0 46px 0 86px;background:var(--surface-page)}
.ba-header--hero{position:absolute;top:0;left:0;right:0;background:transparent}
.ba-header__nav{display:flex;align-items:center;gap:36px}
.ba-header__nav a{font:var(--type-nav);color:var(--text-body)}
.ba-header--hero .ba-header__nav a{color:var(--text-on-dark)}
a.ba-header__cta{display:inline-flex;align-items:center;justify-content:center;width:143px;height:var(--control-h);border:none;border-radius:var(--radius-pill);background:var(--action-accent);color:var(--ba-white);font:var(--type-nav);cursor:pointer;text-decoration:none}
a.ba-header__cta:hover{color:var(--ba-white);filter:brightness(.92)}

/* Abschnittstitel */
.ba-heading{display:flex;flex-direction:column;gap:14px;align-items:flex-start;text-align:left}
.ba-heading--center{align-items:center;text-align:center}
.ba-heading__eyebrow{font:var(--fw-regular) var(--fs-body)/var(--lh-tight) var(--font-core);color:var(--text-eyebrow)}
.ba-heading h2,.ba-heading h1{font:var(--type-h2);color:var(--text-body);text-wrap:pretty}

/* Meta */
.ba-meta{display:inline-flex;align-items:center;gap:14px;color:var(--text-body)}
.ba-meta i{font-size:19px;line-height:1;flex:0 0 auto}
.ba-meta span{font:var(--type-label)}
.ba-meta--sm i{font-size:16px}
.ba-meta--sm span{font:var(--type-meta)}
.ba-meta--muted{color:var(--text-muted)}
.ba-meta-stack{display:flex;flex-direction:column;gap:16px}

/* Karten */
.ba-card-instructor{width:100%;border-radius:var(--radius-lg);background:var(--surface-card);box-shadow:var(--shadow-card);overflow:hidden;text-decoration:none;display:block;transition:transform var(--dur-base) var(--ease-out)}
.ba-card-instructor:hover{transform:translateY(-4px)}
.ba-card-instructor__img{display:block;width:100%;aspect-ratio:1/1;border-radius:var(--radius-lg);background-position:center;background-size:cover}
.ba-card-instructor__body{display:flex;flex-direction:column;align-items:center;gap:20px;padding:48px 20px 56px;text-align:center}
.ba-card-instructor__body h3{font:var(--type-h4);color:var(--text-heading)}
.ba-card-instructor__role{font:var(--fw-medium) var(--fs-meta)/var(--lh-tight) var(--font-core);color:var(--text-muted)}
.ba-card-instructor__age{font:var(--type-meta-plain);color:var(--ba-ink-700)}
.ba-card-locality{display:flex;flex-direction:column;align-items:center;gap:32px;width:100%;text-decoration:none}
.ba-card-locality__img{display:block;width:100%;height:169px;border-radius:var(--radius-lg);background-position:center;background-size:cover}
.ba-card-locality__name{font:var(--type-h5);color:var(--ba-black);text-align:center}
.ba-card-locality:hover .ba-card-locality__name{color:var(--ba-black)}
.ba-card-school{display:flex;flex-direction:column;gap:32px;width:100%;text-decoration:none}
.ba-card-school__img{display:block;width:100%;height:275px;border-radius:var(--radius-lg);background-position:center;background-size:cover}
.ba-card-school__body{display:flex;flex-direction:column;gap:16px}
.ba-card-school__body h3{font:var(--type-h4);color:var(--text-heading)}

/* Suchergebnis */
.ba-result{display:grid;grid-template-columns:325px 1fr;column-gap:55px;padding-bottom:48px;border-bottom:1px solid var(--border-field)}
.ba-result:last-of-type{border-bottom:none}
.ba-result__media{display:flex;flex-direction:column;gap:24px}
.ba-result__img{display:block;width:100%;aspect-ratio:1/1;border-radius:var(--radius-lg);background-position:center;background-size:cover}
.ba-result__body{display:flex;flex-direction:column;gap:32px;align-items:flex-start}
.ba-result__body h3{font:var(--type-h3);color:var(--text-heading)}
.ba-result__bio{font:var(--type-body);color:var(--text-body);max-width:863px;text-wrap:pretty}
.ba-school-badge{display:flex;align-items:center;gap:26px}
.ba-school-badge__img{display:block;width:63px;height:63px;flex:0 0 auto;border-radius:var(--radius-md);background-position:center;background-size:cover}
.ba-school-badge span{font:var(--type-label);color:var(--ba-ink-700);line-height:1.25}

/* CTA-Band */
.ba-cta{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:47px;min-height:446px;padding:64px 20px;background-position:center;background-size:cover;overflow:hidden;text-align:center}
.ba-cta::before{content:"";position:absolute;inset:0;background:var(--ba-blue-overlay);opacity:.61}
.ba-cta__copy{position:relative;display:flex;flex-direction:column;gap:6px}
.ba-cta__copy p{font:var(--type-label);color:var(--text-on-dark)}
.ba-cta__copy h2{font:var(--type-h1);color:var(--text-on-dark)}
.ba-cta .ba-btn{position:relative}

/* Fußzeile */
.ba-footer{position:relative;min-height:var(--footer-h);background:var(--surface-footer);overflow:hidden}
.ba-footer__bg{position:absolute;left:-738px;top:24px;width:1920px;max-width:none;height:745px;pointer-events:none;opacity:.1}
.ba-footer__inner{position:relative;display:grid;grid-template-columns:386px 247px 247px 247px;padding:72px 0 0 261px}
.ba-footer__brand{display:flex;flex-direction:column;gap:31px}
.ba-footer__brand p{font:var(--type-body);line-height:100%;color:var(--text-body);white-space:pre-line}
.ba-footer nav{display:flex;flex-direction:column;gap:12px}
.ba-footer nav p{font:var(--fw-bold) var(--fs-body)/var(--lh-tight) var(--font-core);color:var(--text-body)}
.ba-footer nav a{font:var(--type-body);line-height:100%;color:var(--text-body)}

/* Paginierung & Dots */
.ba-pagination{display:flex;align-items:center;gap:12px;justify-content:center}
.ba-pagination__page{width:43px;height:43px;border:none;border-radius:var(--radius-round);background:var(--surface-chip);color:var(--ba-navy);font:var(--fw-bold) var(--fs-body)/var(--lh-tight) var(--font-core);cursor:pointer}
.ba-pagination__page.is-active{background:var(--action-primary);color:var(--ba-white)}
.ba-dots{display:flex;align-items:center;justify-content:center;gap:22px}
.ba-dots button{width:12px;height:12px;padding:0;border:none;border-radius:var(--radius-round);background:var(--action-primary);opacity:.3;cursor:pointer}
.ba-dots button.is-active{opacity:1}

/* Avatar */
.ba-avatar{display:block;width:46px;height:46px;flex:0 0 auto;border-radius:var(--radius-round);background-position:center;background-size:cover;box-shadow:var(--shadow-card)}
.ba-avatar--lg{width:189px;height:189px}
.ba-avatar--md{width:110px;height:110px}

/* Dashboard */
.ba-dash{min-height:100vh;background:var(--surface-dashboard)}
.ba-topbar{display:flex;align-items:center;justify-content:space-between;height:var(--header-h);padding:0 58px 0 86px}
.ba-topbar__right{display:flex;align-items:center;gap:68px}
.ba-topbar__right>a{font:var(--type-nav);color:var(--text-body)}
.ba-bell{position:relative;display:block;line-height:1;font-size:27px;color:var(--text-body)}
.ba-bell span{position:absolute;top:0;right:-2px;width:8.5px;height:8.5px;border-radius:var(--radius-round);background:var(--ba-orange-dot)}
.ba-topbar__user{display:flex;align-items:center;gap:21px;font:var(--type-label);color:var(--text-body)}
.ba-topbar__user i{font-size:11px}
.ba-dashgrid{display:grid;grid-template-columns:325px minmax(0,1fr);gap:40px;align-items:start;padding-top:16px;padding-bottom:72px}
.ba-dashmain{display:flex;flex-direction:column;gap:32px;min-width:0}
.ba-sidebar{width:325px;padding:36px 0;border-radius:var(--radius-lg);background:var(--surface-panel);box-shadow:var(--ring-white),var(--shadow-panel)}
.ba-sidebar__avatar{display:flex;justify-content:center;margin-bottom:43px}
.ba-sidebar nav{display:flex;flex-direction:column;gap:18px}
.ba-sidebar__row{position:relative;padding:0 21px 0 25px}
.ba-sidebar__row a{display:flex;align-items:center;gap:33px;width:var(--sidebar-item-w);max-width:100%;height:var(--sidebar-item-h);padding:0 12px;border-radius:var(--radius-sm);text-decoration:none;transition:background var(--dur-base) var(--ease-out)}
.ba-sidebar__row a:hover{background:rgba(255,255,255,.5)}
.ba-sidebar__row.is-active a{background:var(--ba-white)}
.ba-sidebar__row.is-active::before{content:"";position:absolute;left:0;top:15px;width:4px;height:31px;border-radius:2px;background:var(--action-primary)}
.ba-sidebar__row i{font-size:22px;color:var(--ba-ink-550);line-height:1}
.ba-sidebar__row b{display:block;font:var(--type-label);color:var(--text-body)}
.ba-sidebar__row small{display:block;margin-top:5px;font:var(--type-caption);color:var(--text-subtle)}
.ba-panel{background:var(--surface-card);border-radius:var(--radius-lg);box-shadow:var(--shadow-card);padding:32px 36px}
.ba-panel>h2{font:var(--type-h3);color:var(--text-heading);margin-bottom:24px}
.ba-kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:20px}
.ba-kpi{background:var(--surface-card);border-radius:var(--radius-lg);box-shadow:var(--shadow-card);padding:24px 26px;display:flex;flex-direction:column;gap:8px}
.ba-kpi__label{font:var(--type-meta);color:var(--text-muted)}
.ba-kpi__value{font:var(--type-h3);color:var(--text-heading)}
.ba-kpi__note{font:var(--type-caption);color:var(--text-subtle)}

/* Tabelle */
.ba-table{border-radius:var(--radius-lg);background:var(--surface-card);overflow:hidden}
.ba-table__inner{min-width:980px}
.ba-table__head,.ba-table__row{display:grid;grid-template-columns:1.15fr 1.55fr 1.2fr 1.2fr 1.4fr .9fr 154px;align-items:center;padding:0 20px 0 80px}
.ba-table__head{height:72px;background:var(--surface-zebra)}
.ba-table__head span{font:var(--type-column);color:var(--ba-ink-300)}
.ba-table__row{position:relative;height:var(--table-row-h);background:var(--surface-card)}
.ba-table__row:nth-child(even){background:var(--surface-zebra)}
.ba-table__row span{font:var(--type-meta);color:var(--text-body)}
.ba-table__marker{position:absolute;left:20px;width:5px;height:29px;border-radius:var(--radius-marker)}
.ba-table__marker--open{background:var(--ba-yellow-soft)}
.ba-table__marker--accepted{background:var(--ba-green)}
.ba-table__marker--rejected{background:var(--ba-red-strong)}
.ba-table__foot{height:44px;background:var(--surface-card)}

/* Diagramm */
.ba-chart{border-radius:var(--radius-lg);background:var(--surface-card);overflow:hidden}
.ba-chart__head{height:60px;display:flex;align-items:center;padding:0 50px;background:var(--surface-zebra);font:var(--type-column);color:var(--ba-ink-300)}
.ba-chart__body{padding:40px 40px 24px}
.ba-chart__plot{display:flex;align-items:flex-end;justify-content:space-around;gap:20px;height:280px;min-width:640px}
.ba-chart__col{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:14px;flex:1}
.ba-chart__total{font:var(--type-meta);color:var(--ba-ink-850)}
.ba-chart__bar{display:flex;flex-direction:column;justify-content:flex-end;width:50px;border-radius:var(--radius-sm);overflow:hidden}
.ba-chart__bar i{display:block}
.ba-chart__bar .seg-accepted{background:var(--ba-green)}
.ba-chart__bar .seg-open{background:var(--ba-yellow)}
.ba-chart__bar .seg-rejected{background:var(--ba-red-strong)}
.ba-chart__empty{width:50px;height:2px;background:var(--border-field)}
.ba-chart__labels{display:flex;justify-content:space-around;gap:20px;margin-top:26px;min-width:640px}
.ba-chart__labels span{flex:1;text-align:center;font:var(--type-meta-plain);color:var(--text-body)}

/* Raster & Hero */
.ba-grid{display:grid;gap:47px}
.ba-split{display:grid;gap:clamp(32px,4vw,64px);align-items:start}
.ba-hero{position:relative;display:flex;flex-direction:column;min-height:clamp(620px,52vw,980px)}
.ba-hero__bg{position:absolute;inset:0;background-position:center;background-size:cover}
.ba-hero__wash{position:absolute;inset:0;background:var(--ba-blue-overlay);opacity:.45}
.ba-hero__inner{position:relative;z-index:2;flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:10px;padding-bottom:clamp(60px,14vw,220px)}
.ba-hero__inner h1{color:var(--text-on-dark);font:var(--fw-bold) clamp(40px,6vw,88px)/1.1 var(--font-core);letter-spacing:-.01em}
.ba-hero__inner p{font:var(--fw-medium) clamp(18px,2.2vw,30px)/1.3 var(--font-core);color:var(--text-on-dark)}
.ba-hero--short{min-height:clamp(440px,36vw,620px)}
.ba-hero--short .ba-hero__inner{align-items:flex-start;text-align:left;padding-top:var(--header-h)}
.ba-hero--short .ba-hero__inner h1{font:var(--fw-bold) clamp(32px,4.6vw,64px)/1.15 var(--font-core)}
.ba-tint-down{background:linear-gradient(180deg,var(--ba-white) 0%,rgba(122,189,225,.10) 100%)}
.ba-tint-up{background:linear-gradient(180deg,rgba(122,189,225,.10) 0%,var(--ba-white) 100%)}
.ba-section{padding:clamp(56px,7vw,110px) 0}
.ba-glass{background:var(--surface-glass);backdrop-filter:var(--blur-glass);border-radius:var(--radius-lg);box-shadow:var(--shadow-panel);padding:48px clamp(24px,5vw,56px);display:flex;flex-direction:column;gap:24px}
.ba-glass--blue{background:var(--surface-glass-blue)}
.ba-authpage{position:relative;min-height:100vh;background-position:center;background-size:cover;background-attachment:fixed}
.ba-steps{display:flex;gap:32px;list-style:none;padding:0;margin:0;flex-wrap:wrap}
.ba-steps li{display:flex;align-items:center;gap:12px;font:var(--type-label);color:var(--text-subtle)}
.ba-steps li.is-done{color:var(--text-body)}
.ba-steps b{width:32px;height:32px;border-radius:var(--radius-round);display:grid;place-items:center;background:var(--surface-chip);color:var(--ba-ink-300);font:var(--type-meta)}
.ba-steps li.is-done b{background:var(--action-primary);color:var(--ba-white)}
.ba-aside{background:var(--surface-card);border-radius:var(--radius-lg);box-shadow:var(--shadow-card);padding:28px;display:flex;flex-direction:column;gap:20px;position:sticky;top:24px}

@media(max-width:1400px){
.ba-footer{min-height:0}
.ba-footer__bg{display:none}
.ba-footer__inner{grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:40px;padding:64px clamp(20px,7vw,136px)}
}
@media(max-width:1180px){
.ba-header,.ba-topbar{height:auto;padding:20px clamp(16px,5vw,40px);flex-wrap:wrap;gap:14px}
.ba-topbar__right{gap:28px;flex-wrap:wrap}
.ba-logo{width:180px}
.ba-header__nav a{font-size:15px}
.ba-header__cta{width:118px;height:46px;font-size:15px}
.ba-dashgrid{grid-template-columns:1fr}
.ba-sidebar{width:100%}
.ba-sidebar__row a{width:100%}
}
@media(max-width:900px){
.ba-search{flex-direction:column;border-radius:var(--radius-lg);overflow:hidden}
.ba-search__seg{flex:none;width:100%;border-left:1px solid var(--border-search);border-radius:0;padding-left:24px}
.ba-search__submit{width:100%;border-radius:0}
.ba-split{grid-template-columns:1fr!important}
.ba-form-grid{grid-template-columns:1fr}
.ba-field--textarea{grid-column:auto}
.ba-result{grid-template-columns:1fr;row-gap:28px}
.ba-aside{position:static}
.ba-search-band--photo{display:none}
.ba-nearby-section{padding-top:64px}
}
@media(max-width:640px){
.ba-footer__inner{grid-template-columns:1fr}
}
