/* =========================================================================
   Kinder-Kleiderbörse Sandersdorf-Brehna – Design-System
   Farben aus dem Logo, Schrift Nunito (selbst gehostet, keine Google-Server).
   Leitlinie: groß, klar, freundlich – auch für wenig Computererfahrung.
   ========================================================================= */

@font-face {
  font-family: "Nunito";
  src: url("../fonts/nunito-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 1000;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Nunito";
  src: url("../fonts/nunito-latin-ext-wght-normal.woff2") format("woff2");
  font-weight: 200 1000;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* Markenfarben (Logo) */
  --petrol: #1c5e79;
  --petrol-dark: #134459;
  --petrol-soft: #e3eff4;
  --rot: #d95d37;
  --rot-dark: #b8471f;
  --rot-soft: #fbe6de;
  --gelb: #f2b632;
  --gelb-soft: #fdf1d3;
  --gruen: #4f8a3c;
  --gruen-soft: #e4f1dc;
  --braun: #8a5a3b;
  --creme: #fef3e2;
  --creme-dark: #f8e4c4;

  /* Flächen und Text */
  --bg: var(--creme);
  --card: #ffffff;
  --text: #24323a;
  --muted: #5b6b73;
  --line: #ead9bd;
  --focus: #f2b632;

  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 6px 24px rgba(92, 60, 20, 0.08);
  --shadow-lift: 0 12px 32px rgba(92, 60, 20, 0.14);

  --wrap: 1180px;
  --gutter: 20px;
  --header-h: 72px;

  --fs-body: 17px;
  --fs-small: 15px;
  --fs-h1: clamp(30px, 5vw, 52px);
  --fs-h2: clamp(24px, 3.4vw, 34px);
  --fs-h3: clamp(19px, 2.2vw, 22px);
}

@media (max-width: 640px) {
  :root {
    --gutter: 16px;
    --header-h: 62px;
    --fs-body: 16px; /* nicht kleiner: iPhone zoomt sonst in Eingabefelder */
    --fs-small: 14px;
  }
}

/* ---------- Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Nunito", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1 0 auto; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--petrol); text-underline-offset: 3px; }
a:hover { color: var(--petrol-dark); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; color: var(--petrol); font-weight: 900; }
h1 { font-size: var(--fs-h1); letter-spacing: -0.01em; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); font-weight: 800; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { padding-left: 1.3em; margin: 0 0 1em; }
li + li { margin-top: .35em; }
.skip-link {
  position: absolute; left: -9999px; top: 8px; z-index: 100;
  background: var(--petrol); color: #fff; padding: 10px 16px; border-radius: 10px;
}
.skip-link:focus { left: 8px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 56px 0; }
.section--tight { padding: 32px 0; }
.section--white { background: #fff; }
.section--petrol { background: var(--petrol); color: #fff; }
.section--petrol h2, .section--petrol h3 { color: #fff; }
.section-head { max-width: 720px; margin: 0 auto 32px; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.05em; }
.section--petrol .section-head p { color: rgba(255,255,255,.85); }
.lead { font-size: 1.15em; color: var(--muted); }
.center { text-align: center; }

/* ---------- Kopfleiste ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(254, 243, 226, 0.94);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 2px 12px rgba(92,60,20,.06); }
.site-header .wrap { display: flex; align-items: center; gap: 16px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--petrol); min-width: 0; }
.brand img { width: 52px; height: 52px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.brand-text strong { font-size: 19px; font-weight: 900; white-space: nowrap; }
.brand-text strong .k1 { color: var(--rot); }
.brand-text strong .k2 { color: var(--gruen); }
.brand-text > span { font-size: 13px; color: var(--muted); font-weight: 700; white-space: nowrap; }
.main-nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.main-nav a {
  text-decoration: none; color: var(--text); font-weight: 800; font-size: 16px;
  padding: 10px 14px; border-radius: 999px; white-space: nowrap;
}
.main-nav a:hover { background: var(--creme-dark); color: var(--petrol); }
.main-nav a[aria-current="page"] { color: var(--petrol); background: var(--petrol-soft); }
.main-nav .btn { margin-left: 8px; }
.nav-toggle {
  display: none; margin-left: auto; border: 0; background: var(--petrol); color: #fff;
  min-height: 48px; padding: 0 16px; border-radius: 999px; font: inherit; font-weight: 800;
  cursor: pointer; align-items: center; gap: 8px;
}
.nav-toggle svg { width: 22px; height: 22px; }

@media (max-width: 940px) {
  .nav-toggle { display: inline-flex; }
  .main-nav {
    display: none; position: fixed; inset: var(--header-h) 0 auto 0; z-index: 49;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: var(--creme); padding: 12px var(--gutter) 24px;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lift);
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { font-size: 18px; padding: 14px 16px; }
  .main-nav .btn { margin: 8px 0 0; }
}
@media (max-width: 420px) {
  .brand img { width: 44px; height: 44px; }
  .brand-text strong { font-size: 17px; }
  .brand-text > span { font-size: 12px; }
  .nav-toggle .label { display: none; }
}

/* ---------- Kopfbereich (Hero) ---------- */
.hero { position: relative; padding: 48px 0 64px; overflow: hidden; }
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%; z-index: -1; opacity: .55;
}
.hero::before { width: 420px; height: 420px; background: var(--gelb-soft); top: -160px; right: -120px; }
.hero::after { width: 300px; height: 300px; background: var(--rot-soft); bottom: -150px; left: -100px; }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 48px; align-items: center;
}
.hero-grid > * { min-width: 0; }
.hero h1 .k1 { color: var(--rot); }
.hero h1 .k2 { color: var(--gruen); }
.hero .lead { margin-bottom: 24px; }
.hero-visual { display: flex; justify-content: center; }
.hero-visual img { width: min(100%, 420px); filter: drop-shadow(0 18px 30px rgba(92,60,20,.15)); }
@media (max-width: 820px) {
  .hero { padding: 24px 0 40px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; text-align: center; }
  .hero-visual { order: -1; }
  .hero-visual img { width: min(62vw, 260px); }
  .hero .btn-row { justify-content: center; }
}

/* Seitenkopf für Unterseiten */
.page-head { padding: 40px 0 28px; text-align: center; }
.page-head .lead { max-width: 680px; margin: 0 auto; }
.crumbs { font-size: var(--fs-small); color: var(--muted); margin-bottom: 8px; }
.crumbs a { color: var(--muted); }

/* ---------- Termin-Karte ---------- */
.event-card {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 22px 24px; display: grid; gap: 14px; border: 3px solid var(--gelb);
  max-width: 520px;
}
.hero .event-card { text-align: left; }
@media (max-width: 820px) { .hero .event-card { margin: 0 auto; } }
.event-card .tag {
  display: inline-block; background: var(--rot); color: #fff; font-weight: 900;
  font-size: 14px; padding: 4px 12px; border-radius: 999px; justify-self: start;
  text-transform: uppercase; letter-spacing: .04em;
}
.event-row { display: flex; gap: 14px; align-items: flex-start; }
.event-row .ico {
  flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: var(--creme); color: var(--petrol);
}
.event-row .ico svg { width: 24px; height: 24px; }
.event-row strong { display: block; font-size: 19px; color: var(--petrol); line-height: 1.25; }
.event-row span { color: var(--muted); font-size: var(--fs-small); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 12px 26px; border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 900; font-size: 17px; line-height: 1.2; text-decoration: none;
  cursor: pointer; transition: transform .12s, box-shadow .12s, background .12s;
  text-align: center;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 22px; height: 22px; flex: none; }
.btn-primary { background: var(--rot); color: #fff; box-shadow: 0 6px 16px rgba(217,93,55,.3); }
.btn-primary:hover { background: var(--rot-dark); color: #fff; }
.btn-secondary { background: var(--petrol); color: #fff; }
.btn-secondary:hover { background: var(--petrol-dark); color: #fff; }
.btn-ghost { background: #fff; color: var(--petrol); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--petrol); color: var(--petrol); }
.btn-small { min-height: 44px; padding: 8px 18px; font-size: 16px; }
.btn-block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 480px) {
  .btn-row .btn { flex: 1 1 100%; }
}

/* ---------- Karten und Raster ---------- */
.card {
  background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 28px; min-width: 0;
}
.card h3 { margin-bottom: .4em; }
.card p { color: var(--muted); }
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); } .card { padding: 22px; } }

/* Schritte 1-2-3 */
.steps { counter-reset: step; }
.step { position: relative; padding-top: 72px; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: 22px; left: 28px; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 900; font-size: 22px; color: #fff;
  background: var(--petrol);
}
.step:nth-child(4n+2)::before { background: var(--rot); }
.step:nth-child(4n+3)::before { background: var(--gelb); color: var(--text); }
.step:nth-child(4n+4)::before { background: var(--gruen); }
@media (max-width: 600px) { .step::before { left: 22px; } }

/* Symbol-Kachel */
.icon-tile {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 14px;
  background: var(--petrol-soft); color: var(--petrol);
}
.icon-tile svg { width: 30px; height: 30px; }
.icon-tile.rot { background: var(--rot-soft); color: var(--rot); }
.icon-tile.gelb { background: var(--gelb-soft); color: #9a6a00; }
.icon-tile.gruen { background: var(--gruen-soft); color: var(--gruen); }

/* Kennzahlen */
.stat { text-align: center; }
.stat b { display: block; font-size: clamp(30px, 4vw, 44px); font-weight: 900; color: var(--rot); line-height: 1.1; }
.stat span { color: var(--muted); font-weight: 700; }

/* Hinweisboxen */
.note {
  border-radius: var(--radius-sm); padding: 16px 18px; display: flex; gap: 12px; align-items: flex-start;
  background: var(--petrol-soft); color: var(--petrol-dark); font-weight: 600;
}
.note svg { width: 24px; height: 24px; flex: none; margin-top: 1px; }
.note--warn { background: var(--gelb-soft); color: #6b4a00; }
.note--error { background: var(--rot-soft); color: #8a2e10; }
.note--ok { background: var(--gruen-soft); color: #2c5a1f; }

/* Bild mit Rahmen */
.figure { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 10px; }
.figure img { border-radius: calc(var(--radius) - 8px); width: 100%; }
.figure figcaption { font-size: var(--fs-small); color: var(--muted); padding: 10px 6px 4px; text-align: center; }

/* ---------- FAQ (Aufklapper) ---------- */
.faq { display: grid; gap: 12px; max-width: 820px; margin: 0 auto; }
.faq details { background: #fff; border-radius: var(--radius-sm); box-shadow: var(--shadow); }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 56px 18px 20px; font-weight: 800; font-size: 18px;
  color: var(--petrol); position: relative; min-height: 56px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  width: 30px; height: 30px; border-radius: 50%; background: var(--creme); display: grid; place-items: center;
  font-size: 22px; line-height: 1; color: var(--rot);
}
.faq details[open] summary::after { content: "–"; }
.faq .answer { padding: 0 20px 20px; color: var(--muted); }

/* ---------- Formulare ---------- */
.form { display: grid; gap: 18px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label, .field .label { font-weight: 800; color: var(--text); font-size: 16px; }
.field .hint { font-size: var(--fs-small); color: var(--muted); }
.input, .select, .textarea {
  width: 100%; min-height: 54px; padding: 12px 16px; font: inherit; font-size: 17px; color: var(--text);
  background: #fff; border: 2px solid var(--line); border-radius: var(--radius-sm);
  transition: border-color .15s, box-shadow .15s;
}
.textarea { min-height: 120px; resize: vertical; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--petrol); box-shadow: 0 0 0 4px var(--petrol-soft); }
.input[aria-invalid="true"] { border-color: var(--rot); }
.input-code { font-size: 28px; letter-spacing: .4em; text-align: center; font-weight: 900; }
.check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-weight: 600; }
.check input { width: 26px; height: 26px; flex: none; margin: 0; accent-color: var(--petrol); }
@media (max-width: 640px) { .input, .select, .textarea { font-size: 16px; } }

/* ---------- Fußzeile ---------- */
.site-footer { background: var(--petrol-dark); color: rgba(255,255,255,.88); padding: 40px 0 28px; margin-top: 40px; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: 32px; }
.footer-grid > * { min-width: 0; }
.footer-grid h4 { color: #fff; font-size: 17px; margin-bottom: 10px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-brand { display: flex; gap: 14px; align-items: center; margin-bottom: 12px; }
.footer-brand img { width: 64px; height: 64px; }
.footer-brand strong { color: #fff; font-size: 19px; display: block; line-height: 1.2; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.15); margin-top: 28px; padding-top: 18px; font-size: 14px; display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; } }

/* ---------- Kleinigkeiten ---------- */
.badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 14px; font-weight: 800; background: var(--petrol-soft); color: var(--petrol); }
.badge--ok { background: var(--gruen-soft); color: var(--gruen); }
.badge--warn { background: var(--gelb-soft); color: #8a5c00; }
.badge--error { background: var(--rot-soft); color: var(--rot-dark); }
.price { font-weight: 900; color: var(--rot); white-space: nowrap; }
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.3em; }
.loading { color: var(--muted); font-style: italic; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
@media print { .site-header, .site-footer, .no-print { display: none !important; } body { background: #fff; } }

/* =========================================================================
   Jubiläum: 10 Jahre Kinder-Kleiderbörse (Februar 2027)
   Abschalten: in config.js JUBILAEUM.aktiv = false
   ========================================================================= */
.jubi-line { position: relative; height: 70px; margin: -8px 0 8px; pointer-events: none; }
.jubi-line svg { width: 100%; height: 100%; overflow: visible; }
.jubi-line .flag { transform-origin: top center; animation: jubi-swing 3.2s ease-in-out infinite; transform-box: fill-box; }
.jubi-line .flag:nth-child(2n) { animation-delay: -1.1s; }
.jubi-line .flag:nth-child(3n) { animation-delay: -2.2s; }
@keyframes jubi-swing { 0%, 100% { transform: rotate(-4deg); } 50% { transform: rotate(4deg); } }

.hero-visual { position: relative; }
.jubi-sticker {
  position: absolute; right: 2%; top: 4%; width: 132px; height: 132px; border: 0; padding: 0;
  cursor: pointer; background: none; font: inherit; z-index: 2;
  animation: jubi-pop .8s cubic-bezier(.3, 1.6, .5, 1) .3s both;
}
.jubi-sticker .burst { position: absolute; inset: 0; color: var(--gelb); animation: jubi-spin 24s linear infinite; filter: drop-shadow(0 8px 14px rgba(150, 90, 0, .3)); }
.jubi-sticker .burst svg { width: 100%; height: 100%; }
.jubi-sticker .txt {
  position: absolute; inset: 0; display: grid; place-content: center; text-align: center;
  color: var(--petrol-dark); line-height: 1; transform: rotate(-10deg);
}
.jubi-sticker .txt b { font-size: 50px; font-weight: 1000; color: var(--rot); }
.jubi-sticker .txt span { font-size: 15px; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; }
.jubi-sticker:hover .txt, .jubi-sticker:focus-visible .txt { transform: rotate(-4deg) scale(1.06); transition: transform .2s; }
@keyframes jubi-spin { to { transform: rotate(360deg); } }
@keyframes jubi-pop { from { transform: scale(0) rotate(-40deg); opacity: 0; } to { transform: scale(1) rotate(0); opacity: 1; } }
@media (max-width: 820px) {
  .jubi-sticker { width: 104px; height: 104px; right: calc(50% - min(31vw, 130px) - 30px); top: -4px; }
  .jubi-sticker .txt b { font-size: 40px; }
  .jubi-sticker .txt span { font-size: 12px; }
  .jubi-line { height: 48px; }
}

.jubi-section { position: relative; overflow: hidden; background: linear-gradient(180deg, #fff 0%, var(--gelb-soft) 100%); }
.jubi-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 40px; align-items: center; }
.jubi-grid > * { min-width: 0; }
.jubi-cake { position: relative; display: grid; place-items: center; }
.jubi-cake svg { width: min(100%, 340px); height: auto; }
.jubi-cake .flame { transform-origin: 50% 100%; transform-box: fill-box; animation: jubi-flicker 1.4s ease-in-out infinite alternate; }
.jubi-cake .flame:nth-of-type(2n) { animation-delay: -.7s; }
@keyframes jubi-flicker { from { transform: scale(1, 1) rotate(-3deg); } to { transform: scale(.9, 1.15) rotate(3deg); } }
.jubi-cake.is-out .flame { opacity: 0; transition: opacity .3s; }
.jubi-cake .smoke { opacity: 0; }
.jubi-cake.is-out .smoke { animation: jubi-smoke 1.6s ease-out forwards; }
@keyframes jubi-smoke { 0% { opacity: .7; transform: translateY(0); } 100% { opacity: 0; transform: translateY(-30px); } }
.jubi-title { font-size: var(--fs-h2); }
.jubi-title .num { color: var(--rot); font-size: 1.5em; line-height: 1; display: inline-block; transform: rotate(-4deg); }
.jubi-years { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 22px; padding: 0; list-style: none; }
.jubi-years li { margin: 0; padding: 6px 12px; border-radius: 999px; background: #fff; font-weight: 800; font-size: 14px; color: var(--muted); box-shadow: 0 2px 8px rgba(92,60,20,.06); }
.jubi-years li:last-child { background: var(--rot); color: #fff; }
@media (max-width: 820px) {
  .jubi-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; text-align: center; }
  .jubi-years { justify-content: center; }
  .jubi-section .btn-row { justify-content: center; }
  .jubi-cake svg { width: min(70vw, 260px); }
}

#jubi-confetti { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 60; }

@media (prefers-reduced-motion: reduce) {
  .jubi-line .flag, .jubi-sticker, .jubi-sticker .burst, .jubi-cake .flame { animation: none !important; }
}

/* ---------- Anmeldung ---------- */
.auth-wrap { max-width: 520px; margin: 0 auto; }
.auth-card { padding: 32px; }
.auth-card h1 { font-size: clamp(26px, 4vw, 34px); text-align: center; margin-bottom: 6px; }
.auth-card .lead { text-align: center; font-size: 1.02em; margin-bottom: 22px; }
.auth-logo { width: 84px; height: 84px; margin: 0 auto 12px; }
.pw-field { position: relative; }
.pw-field .input { padding-right: 116px; }
.pw-toggle {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  min-height: 42px; padding: 0 14px; border: 0; border-radius: 10px; cursor: pointer;
  background: var(--creme); color: var(--petrol); font: inherit; font-weight: 800; font-size: 15px;
}
.auth-links { display: grid; gap: 10px; text-align: center; margin-top: 20px; font-weight: 700; }
.auth-divider { border: 0; border-top: 1px solid var(--line); margin: 24px 0 18px; }
.auth-alt { text-align: center; }
.auth-alt p { margin-bottom: 10px; color: var(--muted); }
.pw-rules { font-size: var(--fs-small); color: var(--muted); margin: -8px 0 0; }
.note .btn { color: var(--petrol); }
@media (max-width: 600px) { .auth-card { padding: 22px 18px; } }

.greeting { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.seller-no { display: inline-flex; flex-direction: column; align-items: center; background: var(--petrol); color: #fff; border-radius: 16px; padding: 10px 18px; line-height: 1.1; }
.seller-no small { font-size: 12px; font-weight: 700; opacity: .85; text-transform: uppercase; letter-spacing: .05em; }
.seller-no b { font-size: 30px; font-weight: 1000; letter-spacing: .06em; }
