html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.view-container {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    padding-top: 1rem;
}

.view-container {
    max-width: 28em;
    margin-top: 1rem;
}

.form {
    max-width: 28em;
    margin-left: auto;
    margin-right: auto;
}

.addressdata {
    font-weight: bold;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

#logo-container {
    z-index: 11;
    text-decoration: none;
}

h1#pagetitle {
    margin-top: 1rem;
    margin-bottom: 1rem;
    font-size: 1.25rem;
    text-align: center;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 10;
}

h1#pagetitle > a {
    color: #000000;
    text-decoration: none;
}

h2 {
    margin-bottom: 1rem;
}

.beck-input-summary.validation-summary-errors {
    color: #FF5b59;
    background-color: #FFF0F0;
    border: 2px dotted #FFE0E0;
    padding: 0.5rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

hr.redbar {
    background-color: #FF0000;
    border-color: #FF0000;
    height: 2px;
    opacity: 1;
}

/* ── Footer ──────────────────────────────────────────────────────────────── */

.beck-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 12px 24px;
    background-color: var(--beck-secondary, #a80030);
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
}

.beck-footer a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.8rem;
    padding: 0 12px;
    transition: color 0.2s ease;
}

.beck-footer a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.beck-footer-divider {
    width: 1px;
    height: 14px;
    background-color: rgba(255, 255, 255, 0.35);
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}


/* ── Roboto Font-Face Deklarationen ──────────────────────────────────────────
   Bindet die lokal gespeicherten Roboto-Schriften ein, damit beck-ui-components
   die CSS-Variable --beck-font-family: "Roboto" korrekt auflösen kann.
   Pfade sind relativ zur CSS-Datei → ../../ von wwwroot/css/ → wwwroot/
   ─────────────────────────────────────────────────────────────────────────── */

@font-face {
    font-family: "Roboto";
    font-style: normal;
    font-weight: 100;
    src: url("../lib/beck-ui/fonts/Roboto-100.ttf") format("truetype");
}

@font-face {
    font-family: "Roboto";
    font-style: italic;
    font-weight: 100;
    src: url("../lib/beck-ui/fonts/Roboto-100italic.ttf") format("truetype");
}

@font-face {
    font-family: "Roboto";
    font-style: normal;
    font-weight: 300;
    src: url("../lib/beck-ui/fonts/Roboto-300.ttf") format("truetype");
}

@font-face {
    font-family: "Roboto";
    font-style: italic;
    font-weight: 300;
    src: url("../lib/beck-ui/fonts/Roboto-300italic.ttf") format("truetype");
}

@font-face {
    font-family: "Roboto";
    font-style: normal;
    font-weight: 400;
    src: url("../lib/beck-ui/fonts/Roboto-regular.ttf") format("truetype");
}

@font-face {
    font-family: "Roboto";
    font-style: italic;
    font-weight: 400;
    src: url("../lib/beck-ui/fonts/Roboto-italic.ttf") format("truetype");
}

@font-face {
    font-family: "Roboto";
    font-style: normal;
    font-weight: 500;
    src: url("../lib/beck-ui/fonts/Roboto-500.ttf") format("truetype");
}

@font-face {
    font-family: "Roboto";
    font-style: italic;
    font-weight: 500;
    src: url("../lib/beck-ui/fonts/Roboto-500italic.ttf") format("truetype");
}

@font-face {
    font-family: "Roboto";
    font-style: normal;
    font-weight: 700;
    src: url("../lib/beck-ui/fonts/Roboto-700.ttf") format("truetype");
}

@font-face {
    font-family: "Roboto";
    font-style: italic;
    font-weight: 700;
    src: url("../lib/beck-ui/fonts/Roboto-700italic.ttf") format("truetype");
}

@font-face {
    font-family: "Roboto";
    font-style: normal;
    font-weight: 900;
    src: url("../lib/beck-ui/fonts/Roboto-900.ttf") format("truetype");
}

@font-face {
    font-family: "Roboto";
    font-style: italic;
    font-weight: 900;
    src: url("../lib/beck-ui/fonts/Roboto-900italic.ttf") format("truetype");
}
