/* ASB Team-Anzeige – Corporate Design: Noto Sans/Serif, ASB-Anthrazit als Schriftfarbe, ASB-Rot für Akzente,
   eckige Flächen, gepunktete Linien. Schriften liegen lokal (keine Verbindung zu Google). */
@font-face { font-family: "Noto Sans"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/noto-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Noto Sans"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/noto-sans-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Noto Serif"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/noto-serif-latin-400-normal.woff2") format("woff2"); }

:root {
    --gelb: #FFEE00;
    --rot: #E30613;
    --tinte: #2D2D46;
    --tinte-20: #d5d5da;
    --tinte-15: #e0e0e3;
    --tinte-70: #6c6c7e;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: transparent; overflow-x: hidden; }
/* Sobald die Webseite die Höhe anpasst (embed.js), braucht das iframe keine eigene Scrollleiste */
html.team-auto, html.team-auto body { overflow: hidden; }
.team-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
body {
    font-family: "Noto Sans", Arial, sans-serif;
    color: var(--tinte);
    font-size: 16px;
    line-height: 1.45;
    -webkit-font-smoothing: antialiased;
}

.team { padding: 4px 0 8px; }
.team-empty { font-family: "Noto Serif", Georgia, serif; color: var(--tinte-70); }

.team-dept + .team-dept { margin-top: 48px; }
.team-dept h2 {
    font-size: 26px;
    font-weight: 700;
    letter-spacing: .01em;
    margin: 0;
    padding-bottom: 12px;
    border-bottom: 1px dotted var(--rot);
}
.team-desc {
    font-family: "Noto Serif", Georgia, serif;
    letter-spacing: .01em;
    margin: 12px 0 0;
    max-width: 70ch;
}

.team-grid {
    list-style: none;
    margin: 24px 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 32px 24px;
}

.team-card { display: flex; flex-direction: column; min-width: 0; }
.team-img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    height: auto;
    object-fit: cover;
    background: var(--tinte-15);
}
.team-img--leer {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 44px;
    font-weight: 700;
    color: var(--tinte);
    background: var(--tinte-15);
}
.team-body { padding-top: 14px; }
.team-body h3 { font-size: 18px; font-weight: 700; margin: 0; line-height: 1.3; }
.team-funktion {
    font-family: "Noto Serif", Georgia, serif;
    letter-spacing: .01em;
    font-size: 15px;
    margin: 4px 0 0;
}
.team-kontakt {
    margin: 10px 0 0;
    padding-top: 10px;
    border-top: 1px dotted var(--tinte-20);
    font-size: 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.team-kontakt a, .team-line {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: var(--tinte);
    text-decoration: none;
    overflow-wrap: anywhere;
}
.team-kontakt a:hover span, .team-kontakt a:focus-visible span { color: var(--rot); text-decoration: underline; }
.team-kontakt a:focus-visible { outline: 2px solid var(--rot); outline-offset: 2px; }
.team-kontakt svg { width: 14px; height: 14px; flex: 0 0 14px; margin-top: 3px; fill: var(--rot); }

@media (max-width: 520px) {
    .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
    .team-dept h2 { font-size: 22px; }
    .team-body h3 { font-size: 16px; }
    .team-img--leer { font-size: 32px; }
}
@media (max-width: 340px) {
    .team-grid { grid-template-columns: 1fr; }
}
