/* Timeslotter-Website — eigenes Styling zusätzlich zu Bootstrap 5 */

:root {
    --ts-accent: #2f6bff;          /* aktiver Timeslot = blau */
    --ts-accent-dark: #1f4fd8;
    --ts-ink: #1d1d1f;
    --ts-muted: #6b7280;
    --ts-warn: #ff9f0a;            /* Warn-Schwelle (orange) */
    --ts-error: #ff3b30;           /* Fehler-Schwelle (rot) */
    --ts-surface: #f5f6f8;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 5rem;      /* Platz für die fixierte Navbar bei Ankersprüngen */
}

body {
    color: var(--ts-ink);
    -webkit-font-smoothing: antialiased;
}

/* --- Navigation --- */
.navbar-brand {
    font-weight: 700;
    letter-spacing: -0.02em;
}

.navbar-brand .brand-dot {
    color: var(--ts-accent);
}

/* --- Hero --- */
.hero {
    background: linear-gradient(180deg, var(--ts-surface) 0%, #ffffff 100%);
    padding: 5rem 0 4rem;
}

.hero h1 {
    font-weight: 800;
    letter-spacing: -0.03em;
}

.hero .lead {
    color: var(--ts-muted);
    max-width: 40rem;
}

/* Screenshot-Platzhalter, bis echte Bilder vorliegen */
.shot-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 22rem;
    border: 2px dashed #cbd2dd;
    border-radius: 1.25rem;
    background: repeating-linear-gradient(
        45deg, #fbfbfd, #fbfbfd 12px, #f3f4f7 12px, #f3f4f7 24px);
    color: var(--ts-muted);
    font-size: 0.95rem;
}

.app-badge-placeholder {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.2rem;
    border: 1px solid #d0d5dd;
    border-radius: 0.75rem;
    color: var(--ts-ink);
    text-decoration: none;
    font-weight: 600;
    background: #fff;
}

/* --- Feature-Kacheln --- */
.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 0.9rem;
    background: rgba(47, 107, 255, 0.1);
    color: var(--ts-accent);
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
}

/* --- Ampel-Punkte für die Abwesenheits-Erklärung --- */
.dot {
    display: inline-block;
    width: 0.85rem;
    height: 0.85rem;
    border-radius: 50%;
    vertical-align: middle;
}
.dot-grey  { background: #b7bcc4; }
.dot-warn  { background: var(--ts-warn); }
.dot-error { background: var(--ts-error); }

/* --- Inhaltsseiten (Hilfe / Recht) --- */
.doc {
    max-width: 46rem;
}
.doc h2 {
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-top: 2.25rem;
    margin-bottom: 0.75rem;
    scroll-margin-top: 5rem;
}
.doc h2:first-of-type {
    margin-top: 0.5rem;
}
.doc p, .doc li {
    line-height: 1.7;
}

/* Themen-Navigation der Hilfe */
.help-toc .list-group-item.active {
    background: var(--ts-accent);
    border-color: var(--ts-accent);
}

/* --- Footer --- */
footer.site-footer {
    background: var(--ts-surface);
    border-top: 1px solid #e6e8ec;
    color: var(--ts-muted);
    padding: 2.5rem 0;
    margin-top: 4rem;
}
footer.site-footer a {
    color: var(--ts-muted);
    text-decoration: none;
}
footer.site-footer a:hover {
    color: var(--ts-ink);
    text-decoration: underline;
}
