/* 1. Zentrale Farben und Schrift: keine externen Ressourcen */
:root {
    --background: #f8f7f2;
    --anthracite: #353a40;
    --blue: #284b70;
    --coral: #d87f63;
    --muted: #353a40;
    --line: rgba(53, 58, 64, 0.18);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--anthracite);
    background: var(--background);
}

/* 2. Seitenaufbau und maximale Inhaltsbreite */
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; }
.site-header, main, footer { width: min(100% - 40px, 960px); margin-inline: auto; }
.site-header { padding-block: 32px; }
.logo { font-size: 30px; font-weight: 750; letter-spacing: -1.5px; text-decoration: none; color: var(--anthracite); }
.logo span { color: var(--coral); }
main { flex: 1; display: flex; flex-direction: column; justify-content: center; }

/* 3. Begrüßung und Login-Platzhalter */
.hero { text-align: center; padding: 72px 0 80px; }
.eyebrow { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); }
h1 { font-size: clamp(32px, 6vw, 64px); line-height: 1.13; letter-spacing: -0.045em; margin: 24px 0; }
.intro { font-size: 20px; line-height: 1.6; color: var(--muted); }
.login { font: inherit; font-weight: 600; background: var(--anthracite); color: var(--background); border: 0; border-radius: 8px; padding: 16px 28px; margin-top: 18px; }
.login:not(:disabled):hover, .login:not(:disabled):focus-visible { background: var(--blue); }
.login:disabled { cursor: not-allowed; }
.hint { font-size: 13px; color: var(--muted); }

/* 4. Drei geplante Produktbereiche */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; border-block: 1px solid var(--line); padding-block: 30px; text-align: center; }
.features svg { width: 32px; height: 32px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.features h2 { font-size: 14px; font-weight: 550; }
footer { padding-block: 30px; text-align: center; font-size: 12px; color: var(--muted); }

/* 5. Anpassung für kleine Smartphone-Bildschirme */
@media (max-width: 480px) {
    .hero { padding-block: 48px; }
    .features { gap: 4px; }
    .features h2 { font-size: 11px; }
    .intro { font-size: 17px; }
}
/* 6. Geschützter Familienbereich und Formulare */
.login { display: inline-block; text-decoration: none; cursor: pointer; }
.app { justify-content: flex-start; }
.panel { width: min(100%, 520px); margin: 35px auto; border: 1px solid var(--line); border-radius: 12px; padding: clamp(20px, 5vw, 40px); }
.panel h1 { font-size: clamp(26px, 5vw, 38px); overflow-wrap: anywhere; }
.panel h2 { font-size: 20px; margin-top: 28px; }
.panel label { display: block; margin-top: 18px; font-weight: 600; }
.panel input:not([type=hidden]) { display: block; width: 100%; padding: 12px; margin-top: 6px; font: inherit; color: var(--anthracite); background: var(--background); border: 1px solid var(--anthracite); border-radius: 6px; }
.panel a { color: var(--blue); }
.panel p { line-height: 1.5; }
.secondary { margin-top: 12px; background: none; border: 0; text-decoration: underline; font: inherit; color: var(--blue); cursor: pointer; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
