/* Zentrale Layout-Datei – Standard Bootstrap (hell) mit ein paar sanften UI-Optimierungen
   Pfad: public/assets/css/layout.css */

/* Grundfarben NICHT überschreiben: wir bleiben bei Bootstrap-Defaults.
   Wer mag, kann z. B. --bs-primary via Bootstrap-Variablen/Theming setzen. */

html, body {
  height: 100%;
}

body {
  /* explizit hell, aber entspricht Bootstrap-Default */
  background: #ffffff;
  color: #212529;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typografie-Kleinigkeiten */
.small-muted { font-size: .9rem; opacity: .75; }
.hint { font-size: .9rem; opacity: .8; }

/* Container-Variante für schmale Seiten (Formular, Login etc.) */
.container-narrow { max-width: 880px; }

/* Karten: moderner, aber weiterhin hell */
.card {
  border-radius: 16px;
  /* leichte, unaufdringliche Schatten – optional */
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
}

/* Form & Controls – mehr Rundung, ohne Farben zu überschreiben */
.form-control,
.form-select,
.form-check-input,
.btn {
  border-radius: 12px;
}

/* Badges leicht betonen, Farben bleiben Bootstrap-Standard */
.badge { font-weight: 500; }

/* Tabellen-Hover subtil */
.table-hover tbody tr:hover {
  background: rgba(0,0,0,0.03);
}

/* Trennlinien dezent */
hr { border-color: rgba(0,0,0,0.08); }

/* Nav-Pills aktiv – nutzt Bootstrap-Primary */
.nav-pills .nav-link.active { background: var(--bs-primary); }

/* Footer – dezente Textfarbe */
.footer { color: #6c757d; }

/* Code-Elemente etwas absetzen (z. B. in Blockliste) */
code {
  padding: .15rem .35rem;
  background: rgba(0,0,0,0.04);
  border-radius: .35rem;
}

/* Tabellenlesbarkeit auf dunkleren Zeilen leicht erhöhen */
.table thead th { border-bottom-color: rgba(0,0,0,0.12); }

/* Honeypot-Feld (Spam-Schutz) unsichtbar halten */
input[type="text"][name="fax"] { display: none !important; }

/* Utility: Bildschirme mit reduzierter Bewegung respektieren */
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
