/* need aircon — brand system */

:root {
  --primary-cyan: #33C7DE;
  --deep-teal: #119FB3;
  --soft-ice: #DFF7FB;
  --night-navy: #173B52;
  --off-white: #F7FBFC;
  --surface: #ffffff;
  --ink: #173B52;
  --ink-2: #2f5870;
  --muted: #6f8794;
  --line: #d8e8ee;
  --line-strong: #b9d7df;
  --ok: #11845b;
  --ok-soft: #dff6ed;
  --bad: #c7352a;
  --bad-soft: #fdecea;
  --warn: #b76a00;
  --warn-soft: #fff1d6;
  --radius: 8px;
  --radius-s: 6px;
  --shadow: 0 18px 40px -28px rgba(23, 59, 82, 0.42);
  --font: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Code", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
/* Das hidden-Attribut muss auch gegen explizite display-Regeln gewinnen
   (UA-Stylesheet verliert sonst gegen z. B. .account-field { display:flex }). */
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(223, 247, 251, 0.72), rgba(247, 251, 252, 0) 360px),
    var(--off-white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}

a { color: var(--deep-teal); }
button, input, select { font: inherit; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1100;
  background: rgba(247, 251, 252, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(185, 215, 223, 0.78);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 18px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: var(--ink);
  text-decoration: none;
}
.brand img {
  display: block;
  width: 42px;
  height: auto;
  filter: drop-shadow(0 8px 12px rgba(23, 59, 82, 0.12));
}
.brand span {
  color: var(--night-navy);
  font-size: 1.36rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
}
.header-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
}
.header-nav a {
  color: var(--ink-2);
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}
.header-nav a:hover { color: var(--deep-teal); }
.header-cta,
.btn,
.subscribe-form button {
  border: 0;
  border-radius: var(--radius);
  background: var(--night-navy);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 12px 22px -18px rgba(23, 59, 82, 0.7);
}
.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: min(320px, 42vw);
  min-height: 40px;
  padding: 9px 16px;
  font-size: 0.9rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.header-cta:hover,
.btn:hover,
.subscribe-form button:hover { background: #0f2d41; }

/* ---------- Hero ---------- */
.hero { padding: 54px 0 30px; }
.hero-copy {
  max-width: 880px;
  min-width: 0;
}
.hero h1 {
  margin: 0 0 12px;
  font-size: clamp(2.25rem, 5.2vw, 4.35rem);
  line-height: 1.02;
  letter-spacing: 0;
  font-weight: 800;
}
.hero-lead {
  max-width: 760px;
  margin: 0 0 16px;
  color: var(--night-navy);
  font-size: clamp(1.22rem, 2.5vw, 1.78rem);
  line-height: 1.24;
  font-weight: 800;
}
.hero .sub {
  max-width: 76ch;
  margin: 0;
  color: var(--ink-2);
  font-size: 1.05rem;
}
.hero-disclaimer {
  max-width: 78ch;
  margin: 18px 0 0;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-left: 4px solid var(--primary-cyan);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink-2);
  font-size: 0.86rem;
}
.hero-offer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  max-width: 850px;
  margin-top: 22px;
  padding: 18px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
}
.hero-offer strong {
  display: block;
  color: var(--night-navy);
  font-size: 1.08rem;
  line-height: 1.25;
}
.hero-offer span {
  display: block;
  margin-top: 3px;
  color: var(--ink-2);
  font-size: 0.92rem;
}
.hero-buy-btn {
  flex: none;
  min-height: 46px;
  padding: 11px 18px;
  display: inline-flex;
  align-items: center;
}
.hero-helper {
  max-width: 76ch;
  margin: 14px 0 0;
  color: var(--ink-2);
  font-size: 0.92rem;
}
.hero-helper a {
  font-weight: 800;
  text-decoration: none;
}

.stats {
  display: grid;
  /* 5 Kacheln (drei Produkte) — auto-fit statt fixer Vierer-Raster. */
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 14px;
  margin: 34px 0 8px;
}
.stat {
  min-width: 0;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 18px 16px;
  box-shadow: var(--shadow);
}
.stat .label {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.stat .value {
  margin-top: 4px;
  color: var(--night-navy);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.stat .value.ok { color: var(--deep-teal); }
.stat .hint {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.8rem;
}
.stat .hint time {
  font-family: var(--mono);
  font-size: 0.76rem;
}

/* ---------- Sections ---------- */
section { padding: 30px 0; }
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.section-head h2 {
  margin: 0;
  color: var(--night-navy);
  font-size: 1.45rem;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: 0;
}
.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

/* ---------- SEO content ---------- */
.seo-band {
  margin: 22px 0 2px;
  padding: 30px 0;
  background: rgba(255, 255, 255, 0.64);
  border-block: 1px solid var(--line);
}
.seo-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(240px, 0.95fr) minmax(240px, 0.9fr);
  gap: 24px;
}
.seo-grid h2,
.seo-grid h3 {
  margin: 0 0 8px;
  color: var(--night-navy);
  line-height: 1.16;
  font-weight: 800;
}
.seo-grid h2 { font-size: 1.32rem; }
.seo-grid h3 { font-size: 1rem; }
.seo-grid p,
.seo-grid li {
  color: var(--ink-2);
  font-size: 0.92rem;
}
.seo-grid p { margin: 0; }
.seo-grid ul {
  margin: 0;
  padding-left: 20px;
}
.text-link {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
}

/* ---------- Map ---------- */
.map-card {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
#map {
  width: 100%;
  height: 470px;
  background: var(--soft-ice);
}
.map-legend {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  padding: 13px 18px;
  border-top: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 0.84rem;
}
.map-legend .dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 7px;
}
.dot.green { background: var(--deep-teal); }
.dot.amber { background: var(--warn); }
.dot.red { background: var(--bad); }

/* ---------- Filters ---------- */
.filters {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.chip,
.filters select,
.filters input[type="search"] {
  min-height: 40px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  outline-offset: 3px;
}
.chip {
  padding: 8px 14px;
  font-size: 0.88rem;
  font-weight: 800;
  cursor: pointer;
}
.chip[aria-pressed="true"] {
  background: var(--night-navy);
  border-color: var(--night-navy);
  color: #fff;
}
.filters select,
.filters input[type="search"] {
  padding: 8px 12px;
  font-size: 0.88rem;
}
.filters input[type="search"] { min-width: 210px; }
.filter-subscribe {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 14px 0 18px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
}
.filter-subscribe strong {
  display: block;
  color: var(--night-navy);
}
.filter-subscribe p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}
.geo-filter { margin-top: -8px; }
.geo-msg {
  color: var(--muted);
  font-size: 0.84rem;
}
.geo-msg.ok { color: var(--ok); }
.geo-msg.error { color: var(--bad); }

/* ---------- Store list ---------- */
.store-list { display: grid; gap: 12px; }
.store-card {
  display: grid;
  grid-template-columns: minmax(220px, 0.95fr) minmax(0, 2fr);
  gap: 18px;
  scroll-margin-top: 92px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
  transition: border-color 0.35s ease, box-shadow 0.35s ease;
}
.store-card.flash {
  border-color: var(--primary-cyan);
  box-shadow: 0 0 0 4px rgba(51, 199, 222, 0.18), var(--shadow);
}
.store-meta .retailer {
  color: var(--deep-teal);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.store-meta h3 {
  margin: 4px 0 5px;
  color: var(--night-navy);
  font-size: 1.04rem;
  line-height: 1.25;
  font-weight: 800;
}
.store-meta address {
  color: var(--muted);
  font-size: 0.86rem;
  font-style: normal;
  line-height: 1.45;
}
.store-meta .distance {
  display: inline-block;
  margin-top: 4px;
  color: var(--deep-teal);
  font-size: 0.8rem;
  font-weight: 700;
}

.last-checked {
  justify-self: end;
  color: var(--muted);
  font-size: 0.74rem;
}
/* Dezenter Anruf-Tipp bei gemeldetem Marktbestand (volle Zeilenbreite) */
.call-hint {
  flex-basis: 100%;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.78rem;
}

/* ---------- History (Klick auf Store-Zeile) ---------- */
.store-card { cursor: pointer; }
.history-hint {
  grid-column: 1 / -1;
  margin-top: -4px;
  color: var(--deep-teal);
  font-size: 0.76rem;
  font-weight: 700;
}
.history-panel {
  grid-column: 1 / -1;
  border-top: 1px solid var(--line);
  padding-top: 10px;
  cursor: default;
}
.history-product h4 {
  margin: 2px 0 2px;
  color: var(--ink-2);
  font-size: 0.8rem;
  font-weight: 800;
}
.history-product svg { display: block; width: 100%; height: auto; }
.hist-label {
  fill: var(--muted);
  font-size: 10px;
  font-family: inherit;
}
.history-empty { margin: 4px 0 8px; color: var(--muted); font-size: 0.84rem; }
.history-legend {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.76rem;
}
.history-legend .dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 6px;
}
.dot.green-ok { background: var(--ok); }
.dot.gray { background: #d5e2e8; }
.history-legend .price-sample {
  display: inline-block;
  width: 18px;
  height: 0;
  border-top: 2px solid #0e7f90;
  margin-right: 6px;
  vertical-align: middle;
}
.badge-online {
  display: inline-block;
  margin-top: 7px;
  padding: 4px 8px;
  border-radius: var(--radius-s);
  background: var(--soft-ice);
  color: var(--deep-teal);
  font-size: 0.72rem;
  font-weight: 800;
}

.product-rows {
  display: grid;
  gap: 8px;
  align-content: center;
  min-width: 0;
}
.product-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  background: #fafdfe;
}
.product-row .pname {
  flex: 1 1 170px;
  min-width: 130px;
  color: var(--night-navy);
  font-size: 0.91rem;
  font-weight: 800;
}
.availability {
  border-radius: var(--radius-s);
  padding: 4px 9px;
  font-size: 0.76rem;
  font-weight: 800;
  white-space: nowrap;
}
.availability.yes { background: var(--ok-soft); color: var(--ok); }
.availability.no { background: var(--bad-soft); color: var(--bad); }
.availability.unknown { background: #eef5f7; color: var(--muted); }
.price {
  color: var(--ink-2);
  font-family: var(--mono);
  font-size: 0.86rem;
  font-weight: 700;
  white-space: nowrap;
}
.buy-link {
  border: 1px solid var(--primary-cyan);
  border-radius: var(--radius-s);
  color: var(--night-navy);
  padding: 6px 11px;
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  background: #fff;
}
.buy-link:hover {
  background: var(--primary-cyan);
  color: #fff;
}
.empty-state {
  padding: 46px 20px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  text-align: center;
}

/* ---------- Subscribe ---------- */
.subscribe {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: 34px;
  align-items: center;
  margin: 42px 0 10px;
  padding: 40px;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(51, 199, 222, 0.92), rgba(17, 159, 179, 0.92)),
    var(--primary-cyan);
  color: #fff;
  box-shadow: 0 28px 48px -34px rgba(23, 59, 82, 0.62);
}
.subscribe h2 {
  margin: 0 0 10px;
  color: #fff;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: 0;
}
.subscribe p {
  margin: 0 0 7px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.98rem;
}
.subscribe .price-tag {
  color: #fff;
  font-weight: 800;
}
.subscribe ul {
  margin: 14px 0 0;
  padding: 0;
  color: #fff;
  list-style: none;
  font-size: 0.92rem;
}
.subscribe li {
  position: relative;
  margin: 7px 0;
  padding-left: 24px;
}
.subscribe li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 12px;
  height: 7px;
  border-left: 3px solid #fff;
  border-bottom: 3px solid #fff;
  transform: rotate(-45deg);
}
.subscribe-form {
  display: grid;
  gap: 10px;
}
.subscribe-form input[type="email"] {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  outline: none;
}
.subscribe-form input::placeholder { color: rgba(255, 255, 255, 0.72); }
.subscribe-form button {
  min-height: 48px;
  padding: 12px 16px;
  background: var(--night-navy);
}
.subscribe-form button:disabled {
  opacity: 0.64;
  cursor: wait;
}
.subscribe-form .fineprint {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.76rem;
}
.subscribe-form .fineprint a { color: #fff; }
.form-msg {
  min-height: 1.2em;
  font-size: 0.86rem;
}
.form-msg.error { color: #ffe0dc; }
.form-msg.ok { color: #e6fff3; }

/* ---------- Footer ---------- */
.site-footer {
  margin-top: 48px;
  padding: 28px 0 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.84rem;
}
.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.site-footer nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.site-footer a {
  color: var(--ink-2);
  text-decoration: none;
}
.site-footer a:hover { color: var(--deep-teal); }
.test-notify {
  flex: 1 1 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 8px;
}
.test-notify button {
  min-height: 34px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 7px 10px;
}
.test-notify button:hover { border-color: var(--primary-cyan); }
.test-notify button:disabled { opacity: 0.55; cursor: wait; }
.test-notify span { color: var(--muted); font-size: 0.78rem; }
.test-notify span.ok { color: #0f766e; }
.test-notify span.error { color: #b42318; }

/* ---------- 404 ---------- */
.not-found-page {
  min-height: min(620px, calc(100vh - 188px));
  display: grid;
  align-items: center;
  padding: 58px 0;
}
.not-found-wrap {
  max-width: 780px;
}
.not-found-code {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  margin: 0 0 16px;
  padding: 6px 12px;
  border-radius: var(--radius-s);
  background: var(--soft-ice);
  color: var(--deep-teal);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.not-found-page h1 {
  max-width: 720px;
  margin: 0;
  color: var(--night-navy);
  font-size: clamp(2.2rem, 6vw, 4rem);
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: 0;
}
.not-found-copy {
  max-width: 62ch;
  margin: 18px 0 0;
  color: var(--ink-2);
  font-size: 1.02rem;
}
.not-found-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}
.not-found-actions .btn {
  margin-left: 0;
}

/* ---------- Legal / content pages ---------- */
.content-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 54px 24px 80px;
}
.content-page h1 {
  margin-top: 0;
  color: var(--night-navy);
  font-size: 2.2rem;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: 0;
}
.content-page h2 {
  margin-top: 2em;
  color: var(--night-navy);
  font-size: 1.16rem;
  font-weight: 800;
  letter-spacing: 0;
}
.content-page p,
.content-page li {
  color: var(--ink-2);
  font-size: 0.95rem;
}
.content-page .placeholder {
  padding: 1px 6px;
  border-radius: var(--radius-s);
  background: #fff3cd;
  font-family: var(--mono);
  font-size: 0.85em;
}
.content-page .back {
  display: inline-block;
  margin-bottom: 24px;
  color: var(--deep-teal);
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
}
.seo-article {
  max-width: 860px;
}
.seo-article .lead {
  color: var(--ink-2);
  font-size: 1.05rem;
}
.article-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 8px;
}
.article-actions .btn { margin-left: 0; }
.faq-block {
  padding: 0;
}
.faq-block details {
  border-top: 1px solid var(--line);
  padding: 14px 0;
}
.faq-block details:last-child { border-bottom: 1px solid var(--line); }
.faq-block summary {
  color: var(--night-navy);
  cursor: pointer;
  font-weight: 800;
}
.faq-block p {
  margin-bottom: 0;
}

/* ---------- Konto / utility panels ---------- */
.panel {
  max-width: 590px;
  margin: 58px auto;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.panel h1 {
  margin-top: 0;
  color: var(--night-navy);
  font-size: 1.55rem;
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: 0;
}
.panel .desc { color: var(--muted); }
.panel .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.panel .row:last-of-type { border-bottom: 0; }
.panel .row .desc {
  font-size: 0.85rem;
}
.switch {
  position: relative;
  width: 46px;
  height: 26px;
  flex: none;
}
.switch input {
  width: 0;
  height: 0;
  opacity: 0;
}
.switch .slider {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: #c8dbe2;
  cursor: pointer;
  transition: background 0.15s ease;
}
.switch .slider::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(23, 59, 82, 0.28);
  transition: transform 0.15s ease;
}
.switch input:checked + .slider { background: var(--deep-teal); }
.switch input:checked + .slider::before { transform: translateX(20px); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  font-size: 0.9rem;
}
.btn.secondary {
  background: var(--soft-ice);
  color: var(--night-navy);
}
.btn.secondary:hover { background: #c7eff6; }
.btn.danger {
  background: var(--bad-soft);
  color: var(--bad);
}
.btn.danger:hover {
  background: #ffdcd8;
}
.btn + .btn { margin-left: 10px; }
.panel .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.panel .actions .btn { margin-left: 0; }

/* ---------- Konto (Hanko, vorbereitet) ---------- */
#account-panel { max-width: 680px; }
.account-h2 {
  margin: 26px 0 4px;
  color: var(--night-navy);
  font-size: 1.12rem;
  font-weight: 800;
}
.account-h3 {
  margin: 26px 0 8px;
  color: var(--night-navy);
  font-size: 0.98rem;
  font-weight: 800;
}
.account-field {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  margin: 14px 0;
}
.account-field select {
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
}
.account-radio {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  cursor: pointer;
}
.store-picker { width: 100%; }
.store-picker input[type="search"] {
  width: 100%;
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
}
.store-options {
  width: 100%;
  max-height: 260px;
  overflow-y: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.8);
}
.store-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 0;
  font-size: 0.88rem;
  cursor: pointer;
  border-bottom: 1px solid var(--line);
}
.store-option:last-of-type { border-bottom: 0; }
.subs-list .sub-row .btn { flex: none; }
/* Premium-/Zahlungsbereich (Konto-Freischaltung via Mollie) */
.premium-box {
  margin-bottom: 12px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
}
.premium-summary {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}
.premium-status { margin: 0 0 3px; font-weight: 800; }
.premium-status.ok { color: var(--ok); }
.premium-status.warn { color: var(--warn); }
.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  min-height: 30px;
  padding: 5px 10px;
  border-radius: var(--radius-s);
  background: #eef5f7;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
}
.status-pill.ok {
  background: var(--ok-soft);
  color: var(--ok);
}
.status-pill.warn {
  background: var(--warn-soft);
  color: var(--warn);
}
.connection-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  gap: 12px;
  align-items: center;
  margin-top: 14px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fafdfe;
}
.connection-card strong {
  display: block;
  color: var(--night-navy);
}
.connection-card p {
  margin: 2px 0 0;
}
.status-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--warn);
  box-shadow: 0 0 0 4px var(--warn-soft);
}
.status-dot.ok {
  background: var(--ok);
  box-shadow: 0 0 0 4px var(--ok-soft);
}
.status-dot.warn {
  background: var(--warn);
  box-shadow: 0 0 0 4px var(--warn-soft);
}
.consent-line {
  align-items: flex-start;
  margin: 10px 0;
  color: var(--ink-2);
  font-size: 0.84rem;
}
.consent-line input { flex: none; margin-top: 3px; }
.legal-box {
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(223, 247, 251, 0.45);
}
.payment-row .btn { flex: none; }
.sub-row {
  align-items: center;
}
.sub-row strong {
  color: var(--night-navy);
}

.account-footer-actions {
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.radius-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.radius-controls input[type="search"] {
  flex: 1 1 200px;
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
}
.radius-controls select {
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
}
.radius-controls .btn { min-height: 40px; }
#radius-result { margin-top: 12px; }
#radius-result .store-options { margin-top: 8px; }

/* ---------- Bestätigungs-Dialog ---------- */
.confirm-dialog {
  width: min(440px, calc(100vw - 36px));
  padding: 26px 26px 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow);
}
.confirm-dialog::backdrop {
  background: rgba(23, 59, 82, 0.45);
  backdrop-filter: blur(2px);
}
.confirm-dialog h2 {
  margin: 0 0 8px;
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--night-navy);
}
.confirm-dialog p {
  margin: 0 0 20px;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--ink-2);
}
.confirm-actions {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
}
.confirm-actions .btn { margin-left: 0; }
/* hanko-elements: Grundfarben an das Brand-System anlehnen */
hanko-auth,
hanko-profile {
  --color: #173B52;
  --brand-color: #119FB3;
  --brand-contrast-color: #ffffff;
  --background-color: #ffffff;
  --font-family: "Manrope", ui-sans-serif, system-ui, sans-serif;
  --border-radius: 8px;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .header-nav { display: none; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .subscribe { grid-template-columns: 1fr; padding: 32px 24px; }
  .store-card { grid-template-columns: 1fr; }
  .seo-grid { grid-template-columns: 1fr; }
  #map { height: 380px; }
}

@media (max-width: 620px) {
  .wrap { padding: 0 18px; }
  .site-header .wrap { height: 66px; }
  .brand { gap: 9px; }
  .brand img { width: 36px; }
  .brand span { font-size: 1.08rem; }
  .header-cta {
    max-width: 46vw;
    min-height: 36px;
    padding: 8px 11px;
    font-size: 0.78rem;
  }
  .hero { padding-top: 38px; }
  .hero h1 { font-size: clamp(2.05rem, 12vw, 3.15rem); }
  .hero-offer,
  .filter-subscribe {
    align-items: stretch;
    flex-direction: column;
  }
  .hero-buy-btn,
  .filter-subscribe .btn {
    width: 100%;
    justify-content: center;
  }
  .stats { gap: 10px; }
  .stat { padding: 14px; }
  .stat .value { font-size: 1.55rem; }
  .filters > * { flex: 1 1 auto; }
  .filters input[type="search"] { min-width: min(100%, 240px); }
  .product-row { align-items: flex-start; }
  .buy-link { width: 100%; text-align: center; }
  .subscribe { padding: 28px 20px; }
  .article-actions .btn { width: 100%; }
  .panel { margin: 36px 18px; padding: 24px; }
  .premium-summary,
  .connection-card {
    grid-template-columns: 1fr;
  }
  .connection-card .btn {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .site-header .wrap {
    align-items: center;
    gap: 10px;
  }
  .brand img { width: 34px; }
  .brand span { font-size: 1rem; }
  .header-cta { white-space: normal; text-align: center; line-height: 1.15; }
  .stats { grid-template-columns: 1fr; }
}
