/* Platzhalter-Startseite und Anmeldefenster für optero.eu (bis zum Launch) */

@font-face { font-family: "Outfit"; src: url("fonts/outfit-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Outfit"; src: url("fonts/outfit-800.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("fonts/dm-sans-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("fonts/dm-sans-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("fonts/dm-sans-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --navy: #1C3557;
  --dove: #5E8FAE;
  --sun: #F7EDAF;
  --muted: #546B84;
  --line: #DCE4EC;
  --paper: #F4F7FA;
  --white: #FFFFFF;
  --gutter: clamp(20px, 6vw, 72px);
}

*, *::before, *::after { box-sizing: border-box; }

body.ph {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  background: var(--white);
  color: var(--navy);
  font: 400 1rem/1.55 "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

.ph__main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px var(--gutter);
}

.ph__brand {
  margin-bottom: clamp(40px, 8vh, 80px);
  font: 800 clamp(1.75rem, 1.6rem + 0.45vw, 2rem)/1 "Outfit", system-ui, sans-serif;
  letter-spacing: -0.02em;
  color: var(--dove);
  text-decoration: none;
}

.ph__title {
  max-width: 16ch;
  margin: 0;
  font: 600 clamp(2.25rem, 1.5rem + 3.4vw, 4.5rem)/1.05 "Outfit", system-ui, sans-serif;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.ph__title--sm { font-size: clamp(2rem, 1.6rem + 1.6vw, 2.875rem); }

.ph__text {
  margin: 24px 0 0;
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem);
  color: var(--muted);
}

.ph__footer {
  display: flex;
  gap: 24px;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px var(--gutter) 32px;
  font-size: 0.875rem;
}
.ph__footer a { color: var(--muted); text-underline-offset: 3px; }
.ph__footer a:hover { color: var(--navy); }

:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; }

/* ----- Anmeldefenster ----- */
.login {
  display: grid;
  gap: 8px;
  width: 100%;
  max-width: 400px;
  margin-top: 40px;
}
.login label { margin-top: 10px; font-size: 0.9375rem; font-weight: 600; }
.login input {
  min-height: 48px;
  padding: 10px 14px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  color: inherit;
  font: inherit;
}
.login input:focus-visible { border-color: var(--navy); outline-offset: 1px; }
.login button {
  min-height: 52px;
  margin-top: 20px;
  border: 0;
  border-radius: 12px;
  background: var(--navy);
  color: var(--white);
  font: 600 1rem/1 "DM Sans", system-ui, sans-serif;
  cursor: pointer;
}
.login button:hover { background: #15294A; }
.login__error {
  margin: 0 0 4px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--sun);
  font-weight: 500;
}
