﻿/* =====================================================================
   direkt-rechnung.com – Anmeldung, „Kennwort vergessen“, „Neues Kennwort“
   Gleiches Erscheinungsbild wie die Website: Tinte #0f1d2b, eine Markenfarbe
   Petrol #0f766e, keine Farbverläufe, Schrift Inter (lokal).
   ===================================================================== */
:root {
    --marke: #0f766e;
    --marke-dunkel: #0b5a54;
    --marke-zart: #e7f3f1;
    --marke-hell: #8fd3c8;
    --tinte: #0f1d2b;
    --text: #1d2a36;
    --grau: #56626e;
    --linie: #dfe5ea;
}
* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
body.an-body { font-family: 'Inter', 'Segoe UI', Arial, sans-serif; background: var(--tinte); color: var(--text); -webkit-font-smoothing: antialiased; }

/* Foto rechts, weich in die Tinte übergehend (wie die Kopfbereiche der Website) */
.an-foto { position: fixed; top: 0; right: 0; width: 58%; height: 100%; object-fit: cover; object-position: 55% 25%; z-index: 0; opacity: .9;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .55) 30%, #000 65%); mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .55) 30%, #000 65%); }

.an-shell { position: relative; z-index: 1; min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: 40px 16px 24px; max-width: 1180px; margin: 0 auto; }
.an-inhalt { width: 100%; max-width: 440px; }
.an-marke { display: inline-block; font-size: 26px; font-weight: 800; letter-spacing: -.5px; color: #fff; text-decoration: none; margin-bottom: 6px; }
.an-marke span { color: #8fa3b5; }
.an-marke .m-direkt { color: #2dd4bf; }
.an-claim { color: #c8d2da; font-size: 15px; margin: 0 0 26px; }

.an-karte { background: #fff; border-radius: 16px; padding: 34px 32px 28px; box-shadow: 0 30px 70px rgba(0, 0, 0, .35); }
.an-karte h1 { margin: 0 0 6px; font-size: 26px; font-weight: 800; letter-spacing: -.4px; color: var(--tinte); }
.an-sub { margin: 0 0 24px; color: var(--grau); font-size: 15px; line-height: 1.55; }

.an-meldung { display: flex; gap: 10px; align-items: flex-start; margin: -8px 0 20px; padding: 12px 14px; border-radius: 10px; font-size: 14px; line-height: 1.5; }
.an-meldung.fehler { background: #fde8e6; color: #9b1c12; }
.an-meldung.ok { background: var(--marke-zart); color: var(--marke-dunkel); }
.an-meldung i { margin-top: 3px; }

.an-feld { margin-bottom: 18px; }
.an-feld-kopf { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 7px; }
.an-feld label { font-size: 14px; font-weight: 600; color: var(--tinte); }
.an-link { font-size: 14px; font-weight: 600; color: var(--marke); text-decoration: none; }
.an-link:hover { text-decoration: underline; color: var(--marke-dunkel); }
.an-input { position: relative; }
.an-input > i.fa:first-child { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: #8a95a2; font-size: 15px; pointer-events: none; }
.an-input input { width: 100%; height: 50px; border: 1px solid var(--linie); border-radius: 10px; background: #fff; padding: 0 48px 0 42px; font-family: inherit; font-size: 16px; color: var(--text); outline: none; transition: border-color .15s, box-shadow .15s; }
.an-input input::placeholder { color: #9aa4af; }
.an-input input:focus { border-color: var(--marke); box-shadow: 0 0 0 4px rgba(15, 118, 110, .14); }
.an-input input.an-ungueltig { border-color: #d64545; }
.an-auge { position: absolute; right: 5px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border: 0; border-radius: 8px; background: transparent; color: #8a95a2; cursor: pointer; font-size: 15px; }
.an-auge:hover { background: #f1f4f6; color: var(--tinte); }
.an-hinweis { margin-top: 6px; font-size: 13px; color: var(--grau); }

input[type=submit].an-knopf, .an-knopf { display: block; width: 100%; height: 52px; margin-top: 6px; border: 0; border-radius: 10px; background: var(--marke); color: #fff; font-family: inherit; font-size: 16px; font-weight: 600; cursor: pointer; -webkit-appearance: none; text-align: center; line-height: 52px; text-decoration: none; transition: background .15s; }
.an-knopf:hover { background: var(--marke-dunkel); color: #fff; text-decoration: none; }
.an-knopf:focus-visible { outline: 3px solid var(--marke-hell); outline-offset: 3px; }
.an-zurueck { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; min-height: 44px; }

.an-sicher { margin-top: 18px; text-align: center; font-size: 13px; color: var(--grau); }
.an-sicher i { color: var(--marke); margin-right: 5px; }

.an-fuss { margin-top: 34px; color: #9fb0bf; font-size: 13px; }
.an-von { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.an-von span { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #9fb0bf; }
.an-von img { height: 28px; width: auto; opacity: .85; }
.an-von:hover img { opacity: 1; }
.an-fuss-zeile { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 14px; }
.an-flagge { display: inline-flex; flex-direction: column; width: 16px; height: 11px; border-radius: 2px; overflow: hidden; vertical-align: -1px; margin-right: 6px; }
.an-flagge i { flex: 1; } .an-flagge i:nth-child(1) { background: #000; } .an-flagge i:nth-child(2) { background: #dd0000; } .an-flagge i:nth-child(3) { background: #ffce00; }
.an-fuss a { color: #c8d2da; text-decoration: none; }
.an-fuss a:hover { color: #fff; }

@media (max-width: 900px) {
    .an-foto { width: 100%; opacity: .22; -webkit-mask-image: none; mask-image: none; }
    .an-inhalt { margin: 0 auto; }
    .an-marke, .an-claim { text-align: center; display: block; }
    .an-fuss { text-align: center; }
    .an-fuss-zeile { justify-content: center; }
}
@media (max-width: 480px) {
    .an-shell { padding-top: 28px; }
    .an-karte { padding: 26px 20px 22px; border-radius: 14px; }
    .an-karte h1 { font-size: 23px; }
}
