/* Balu, Login- und Registrierungsseiten (eigenständig, ohne Seiten-Navigation) */
:root {
  --ink: #0c0a09; --ink-2: #292524; --muted: #78716c; --soft: #a8a29e;
  --line: #e7e5e4; --field: #f5f5f4; --panel: #f7f6f3;
  --lime: #C2EF6E; --lime-2: #C2EF6E; --lime-ink: #2f4a12;
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { min-height: 100%; }
body { font-family: var(--font); color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased; }
a { color: inherit; }

.au-logo { position: absolute; top: 24px; left: 24px; z-index: 2; display: inline-flex; }
.au-logo img { height: 26px; width: auto; display: block; }

/* Formular-Bausteine */
.au-title { font-size: 30px; line-height: 1.15; font-weight: 700; letter-spacing: -.03em; }
.au-sub { margin-top: 8px; color: var(--muted); font-size: 15px; line-height: 1.55; }
.au-form { display: grid; gap: 14px; margin-top: 36px; }
.au-label { font-size: 14px; font-weight: 600; }
.au-input {
  width: 100%; height: 46px; padding: 0 14px; border-radius: 10px; border: 1px solid transparent;
  background: var(--field); font: 400 16px var(--font); color: var(--ink);
  transition: border-color .15s ease, background .15s ease;
}
.au-input::placeholder { color: var(--soft); }
.au-input:focus { outline: none; background: #fff; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(194, 239, 110, .55); }
.au-btn {
  height: 46px; border-radius: 999px; border: 0; cursor: pointer; margin-top: 10px;
  background: var(--ink); color: var(--lime); font: 600 15px var(--font);
  transition: background .15s ease;
}
.au-btn:hover { background: var(--ink-2); }
.au-btn:focus-visible, .au-seg button:focus-visible, .au-link:focus-visible { outline: 2px solid var(--lime-2); outline-offset: 2px; }
.au-legal { margin-top: 4px; text-align: center; font-size: 12px; line-height: 1.6; color: var(--muted); }
.au-legal a { color: var(--ink); }
.au-link { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* Anwendung wählen */
.au-seg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 12px; background: var(--field); }
.au-seg button {
  height: 38px; border: 0; border-radius: 9px; background: transparent; cursor: pointer;
  font: 600 13px var(--font); color: var(--muted);
}
.au-seg button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(12, 10, 9, .08); }

/* ---------- Login: Karte links, Produktfläche rechts ---------- */
.au-login { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 440px) minmax(0, 470px); justify-content: center; align-items: center; gap: clamp(32px, 8vw, 116px); padding: 96px 24px 48px; }
.au-card { background: #fff; border-radius: 16px; box-shadow: 0 1px 2px rgba(12, 10, 9, .04), 0 16px 40px -24px rgba(12, 10, 9, .25); overflow: hidden; }
.au-card__body { padding: 52px 48px 44px; text-align: center; }
.au-card__body .au-form { text-align: left; }
.au-region { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; margin-bottom: 44px; }
.au-card__foot { padding: 24px; background: var(--panel); text-align: center; font-size: 14px; }
.au-show { text-align: center; }
.au-show__panel { aspect-ratio: 1.14 / 1; border-radius: 20px; background: var(--panel); overflow: hidden; display: grid; place-items: center; }
.au-show__panel img { width: 86%; height: auto; display: block; }
.au-show__title { margin-top: 24px; font-size: 15px; font-weight: 600; }
.au-show__text { margin: 10px auto 0; max-width: 440px; color: var(--muted); font-size: 14px; line-height: 1.55; }

/* ---------- Registrierung: Formular links, Bildfeld rechts ---------- */
.au-signup { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.au-signup__form { display: flex; align-items: center; justify-content: center; padding: 96px 24px 48px; }
.au-signup__inner { width: min(480px, 100%); }
.au-signup__switch { margin-top: 40px; text-align: center; font-size: 14px; color: var(--muted); }
.au-signup__switch a { color: var(--ink); margin-left: 6px; font-weight: 600; text-decoration: none; }
.au-signup__switch a:hover { text-decoration: underline; }
.au-visual { position: relative; overflow: hidden; background: #1c1917; color: #fff; display: flex; align-items: center; justify-content: center; padding: 48px; }
.au-visual__bg { position: absolute; inset: -60px; filter: blur(60px); opacity: .9; }
.au-visual__bg i { position: absolute; border-radius: 50%; }
.au-visual__inner { position: relative; width: min(460px, 100%); text-align: center; }
.au-visual__img { width: 100%; border-radius: 24px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); display: block; }
.au-visual__claim { margin-top: 36px; font-size: 26px; line-height: 1.25; font-weight: 600; letter-spacing: -.02em; }
.au-visual__meta { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.au-visual__meta span { height: 30px; padding: 0 12px; border-radius: 8px; display: inline-flex; align-items: center; background: rgba(255, 255, 255, .1); font-size: 13px; color: #e7e5e4; }

@media (max-width: 960px) {
  .au-login { grid-template-columns: minmax(0, 440px); }
  .au-show { display: none; }
  .au-signup { grid-template-columns: 1fr; }
  .au-visual { display: none; }
}
@media (max-width: 480px) {
  .au-card__body { padding: 40px 24px 32px; }
  .au-title { font-size: 26px; }
}

/* ---------- Registrierung in Schritten ---------- */
.au-steps { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; padding-bottom: 20px; margin-bottom: 32px; border-bottom: 1px solid var(--line); list-style: none; }
.au-steps li { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--soft); }
.au-steps li + li::before { content: ""; width: 18px; height: 1px; background: var(--line); margin-right: 4px; }
.au-steps__n { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 600; border: 1px solid var(--line); color: var(--muted); }
.au-steps li[aria-current="step"] { color: var(--ink); font-weight: 600; }
.au-steps li[aria-current="step"] .au-steps__n { background: var(--ink); border-color: var(--ink); color: var(--lime); }
.au-steps li.is-done { color: var(--ink); }
.au-steps li.is-done .au-steps__n { background: var(--lime); border-color: var(--lime); color: var(--lime-ink); }

.au-step[hidden] { display: none; }
.au-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.au-field { display: grid; gap: 8px; }
.au-req { color: #b45309; margin-left: 2px; }
.au-hint { font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.au-hint.is-ok { color: #2f4a12; }
.au-err { font-size: 12.5px; color: #b91c1c; }
.au-input[aria-invalid="true"] { border-color: #dc2626; background: #fff; }
.au-pw { position: relative; }
.au-pw .au-input { padding-right: 46px; }
.au-pw button { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border: 0; border-radius: 8px; background: transparent; color: var(--muted); cursor: pointer; display: grid; place-items: center; }
.au-pw button:hover { color: var(--ink); }
select.au-input { appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2378716c' stroke-width='2'><path d='m6 9 6 6 6-6'/></svg>"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.au-check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.5; cursor: pointer; }
.au-check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--ink); flex: none; }
.au-check a { font-weight: 600; }
.au-btn:disabled { background: #d6d3d1; color: #fff; cursor: not-allowed; }
.au-actions { display: flex; gap: 10px; margin-top: 10px; }
.au-actions .au-btn { flex: 1; margin-top: 0; }
.au-back { height: 46px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font: 600 15px var(--font); color: var(--ink); cursor: pointer; }
.au-back:hover { background: var(--field); }

/* Tarifwahl */
.au-billing { display: inline-grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 12px; background: var(--field); justify-self: start; }
.au-billing button { height: 34px; padding: 0 16px; border: 0; border-radius: 9px; background: transparent; font: 600 13px var(--font); color: var(--muted); cursor: pointer; }
.au-billing button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(12, 10, 9, .08); }
.au-plans { display: grid; gap: 10px; }
.au-plan { position: relative; display: grid; grid-template-columns: 22px 1fr auto; gap: 14px; align-items: center; padding: 16px 18px; border-radius: 14px; border: 1px solid var(--line); cursor: pointer; transition: border-color .15s ease, background .15s ease; }
.au-plan:hover { background: #fafaf9; }
.au-plan input { position: absolute; opacity: 0; pointer-events: none; }
.au-plan__dot { width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--soft); display: grid; place-items: center; }
.au-plan__dot::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: transparent; }
.au-plan:has(input:checked) { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.au-plan:has(input:checked) .au-plan__dot { border-color: var(--ink); }
.au-plan:has(input:checked) .au-plan__dot::after { background: var(--ink); }
.au-plan:has(input:focus-visible) { outline: 2px solid var(--lime-2); outline-offset: 2px; }
.au-plan__name { font-weight: 700; font-size: 15px; display: flex; align-items: center; gap: 8px; }
.au-plan__tag { height: 22px; padding: 0 8px; border-radius: 6px; background: var(--lime); color: var(--lime-ink); font-size: 11.5px; font-weight: 600; display: inline-flex; align-items: center; }
.au-plan__desc { font-size: 13px; color: var(--muted); margin-top: 2px; }
.au-plan__price { text-align: right; font-weight: 700; font-size: 15px; white-space: nowrap; }
.au-plan__price small { display: block; font-weight: 500; font-size: 12px; color: var(--muted); }

/* Fertig */
.au-done { text-align: center; padding-top: 8px; }
.au-done__seal { width: 72px; height: 72px; margin: 0 auto 22px; }
.au-summary { margin: 26px 0 8px; padding: 18px; border-radius: 14px; background: var(--field); display: grid; gap: 10px; text-align: left; font-size: 14px; }
.au-summary div { display: flex; justify-content: space-between; gap: 16px; }
.au-summary dt { color: var(--muted); }
.au-summary dd { font-weight: 600; text-align: right; }

@media (max-width: 520px) { .au-row { grid-template-columns: 1fr; } .au-steps li + li::before { width: 8px; } }
/* Überschrift bekommt beim Schrittwechsel den Fokus (für Screenreader), ohne sichtbaren Rahmen */
.au-title:focus { outline: none; }


/* Animierte Grafiken (live-widgets.js) statt Standbild */
.au-w { display: block; aspect-ratio: 1 / 1; overflow: hidden; background: #cfcbc4; }
.au-show__panel .au-w { height: 90%; width: auto; border-radius: 16px; }
.au-visual__img.au-w { width: 100%; border-radius: 24px; }
.gptbar ~ .au-logo { top: 76px; }

/* Knöpfe: schwarz, ohne grünen Hintergrund oder Ring */
.btnw--primary, .hero .btnw--white, .btnw--dark, .btnw--blue, .pricecard--featured .btnw--primary,
[data-tone=dark]:not(.hero) .btnw--white, .gptc__cta, .au-btn {
  background: #0c0a09 !important; color: #fff !important; border-color: transparent !important; box-shadow: none !important;
}
.btnw--primary:hover:not(:disabled), .hero .btnw--white:hover:not(:disabled), .btnw--dark:hover:not(:disabled),
[data-tone=dark]:not(.hero) .btnw--white:hover:not(:disabled), .gptc__cta:hover, .au-btn:hover:not(:disabled) { background: #292524 !important; color: #fff !important; }
/* auf dunklem Grund mit hellem Rand, damit der schwarze Knopf sichtbar bleibt */
[data-tone=dark]:not(.hero) .btnw--white, .pricecard--featured .btnw--primary, .gptbar__cta { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .45) !important; }
.gptbar__cta { background: #0c0a09 !important; color: #fff !important; }
.gptbar__cta:hover { background: #292524 !important; }
.au-btn:disabled { background: #e7e5e4 !important; color: #a8a29e !important; }

/* „Jetzt verbinden“ in der Hinweisleiste wieder limettengrün */
.gptbar__cta { background: #C2EF6E !important; color: #2f4a12 !important; box-shadow: none !important; }
.gptbar__cta:hover { background: #b0e352 !important; color: #2f4a12 !important; }

/* Kein grauer Rahmen um das Widget: Fläche weg, Widget füllt die Box */
.au-show__panel { background: transparent !important; aspect-ratio: 1 / 1; }
.au-show__panel .au-w { width: 100%; height: 100%; border-radius: 20px; }

/* Rechte Seite weiß, nur die grüne Widget-Fläche bleibt */
.au-visual { background: #fff !important; color: #0b2a2f !important; }
.au-visual__bg { display: none !important; }
.au-visual__img { box-shadow: 0 30px 60px -34px rgba(11, 42, 47, .45) !important; }
.au-visual__claim { color: #0b2a2f !important; }
.au-visual__meta span, .au-visual__meta > * { background: #f3f5f4 !important; color: #0b2a2f !important; border-color: rgba(11, 42, 47, .1) !important; }
/* Logo oben links: nur das Icon */
.au-logo img { height: 30px !important; width: auto !important; }
/* Registrieren: Logo bündig mit der Formularkante („1 Konto“) */
body:has(.au-signup) .au-logo { left: max(24px, calc((50vw - 480px) / 2)); }
@media (max-width: 960px) { body:has(.au-signup) .au-logo { left: max(24px, calc((100vw - 480px) / 2)); } }
/* Anmelden: Logo bündig mit der linken Kante der Anmeldekarte */
body:has(.au-login) .au-logo { left: max(24px, calc((100vw - 910px - clamp(32px, 8vw, 116px)) / 2)); }
@media (max-width: 960px) { body:has(.au-login) .au-logo { left: max(24px, calc((100vw - 440px) / 2)); } }
/* Anmelden: Logo in der Karte über der Überschrift, darunter Sprachwahl */
body:has(.au-login) .au-logo { display: none !important; }
.au-cardlogo { display: block; height: 30px; width: auto; margin: 0 auto 22px; }
.au-lang { display: inline-flex; gap: 2px; margin: 18px auto 0; padding: 3px; border-radius: 10px; background: #f1f3f2; }
.au-card__body:has(.au-lang) { text-align: center; }
.au-lang button { height: 30px; padding: 0 14px; border: 0; border-radius: 8px; background: transparent; color: rgba(11, 42, 47, .6); font: inherit; font-size: 13px; font-weight: 500; cursor: pointer; }
.au-lang button[aria-pressed="true"] { background: #fff; color: #0b2a2f; box-shadow: 0 1px 3px rgba(11, 42, 47, .12); }
.au-lang button:focus-visible { outline: 2px solid #0b2a2f; outline-offset: 1px; }
/* Anmelden: nur Icon, Sprache als Globus-Auswahl */
.au-cardlogo { height: 30px !important; width: auto !important; }
.au-lang { position: relative; display: inline-flex !important; align-items: center; gap: 8px; margin: 16px auto 0; padding: 0 12px; height: 36px; border-radius: 999px; background: #fff !important; box-shadow: inset 0 0 0 1px rgba(11, 42, 47, .14); color: #0b2a2f; cursor: pointer; }
.au-lang select { appearance: none; -webkit-appearance: none; border: 0; background: transparent; font: inherit; font-size: 14px; color: #0b2a2f; padding: 0 2px; cursor: pointer; outline: none; }
.au-lang:focus-within { box-shadow: inset 0 0 0 2px #0b2a2f; }
.au-lang svg { flex: none; color: rgba(11, 42, 47, .7); pointer-events: none; }
/* Registrieren: kleine Symbole vor den Etiketten */
.au-visual__meta span { gap: 7px; }
.au-visual__meta span svg { flex: none; color: #3f7a12; }
.au-cardlogo-link { display: inline-block; } .au-cardlogo-link:focus-visible { outline: 2px solid #0b2a2f; outline-offset: 4px; border-radius: 6px; }
