@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,600;9..144,700&family=DM+Sans:wght@400;500;600&display=swap');

/* ═══════════════════════════════════════════════════
   VARIABLES
═══════════════════════════════════════════════════ */
:root {
  --ink:        #0d1f2d;
  --ink-mid:    #1e4060;
  --ink-soft:   #4a6b85;
  --water:      #0ea5e9;
  --water-deep: #0369a1;
  --water-pale: #e0f2fe;
  --water-mist: #f0f9ff;
  --foam:       #ffffff;
  --stone:      #f3f6f9;
  --border:     #dde4ec;
  --amber:      #f59e0b;
  --amber-pale: #fef3c7;
  --green:      #16a34a;
  --green-pale: #dcfce7;
  --orange:     #ea580c;
  --orange-pale:#ffedd5;
  --red-pale:   #fee2e2;
  --r:          12px;
  --r-lg:       18px;
  --sh:         0 2px 12px rgba(13,31,45,.08);
  --sh-lg:      0 6px 32px rgba(13,31,45,.13);

  /* Mobile-first spacing scale */
  --space-xs:   8px;
  --space-sm:   16px;
  --space-md:   24px;
  --space-lg:   40px;
  --space-xl:   64px;

  /* Touch targets min 44px */
  --touch:      44px;
}

/* ═══════════════════════════════════════════════════
   RESET & BASE — MOBILE FIRST
═══════════════════════════════════════════════════ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0; padding: 0;
  -webkit-tap-highlight-color: transparent;
}
html {
  scroll-behavior: smooth;
  /* Prevent zoom on input focus iOS */
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  color: var(--ink);
  background: var(--foam);
  line-height: 1.7;
  overflow-x: hidden;
  /* Prevent horizontal scroll on mobile */
  max-width: 100vw;
}
h1, h2, h3, h4 {
  font-family: 'Fraunces', serif;
  line-height: 1.2;
  color: var(--ink);
}
a { color: var(--water-deep); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
/* Prevent overflow on all elements */
* { min-width: 0; }

/* ═══════════════════════════════════════════════════
   NAVIGATION — MOBILE FIRST
═══════════════════════════════════════════════════ */
.nav {
  position: sticky; top: 0; z-index: 200;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  /* Full width, no overflow */
  width: 100%; left: 0; right: 0;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--space-sm);
  height: var(--touch);
  min-height: 56px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Logo */
.nav-logo {
  display: flex; align-items: center; gap: 8px;
  text-decoration: none; flex-shrink: 0;
  min-height: var(--touch);
}
.logo-mark {
  width: 34px; height: 34px; flex-shrink: 0;
  background: linear-gradient(145deg, var(--water) 0%, var(--water-deep) 100%);
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 8px rgba(14,165,233,.3);
}
.logo-mark svg { width: 20px; height: 20px; }
.logo-text {
  font-family: 'Fraunces', serif;
  font-size: 17px; font-weight: 700;
  color: var(--ink); line-height: 1;
}
.logo-text em { color: var(--water-deep); font-style: normal; }

/* Burger — visible on mobile */
.nav-burger {
  display: flex; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer;
  padding: var(--space-xs);
  min-width: var(--touch); min-height: var(--touch);
  align-items: center; justify-content: center;
  border-radius: 8px;
}
.nav-burger span {
  display: block; width: 20px; height: 2px;
  background: var(--ink); border-radius: 2px;
  transition: all .2s;
}
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav drawer */
.nav-links {
  display: none;
  position: fixed;
  top: 56px; left: 0; right: 0;
  background: var(--foam);
  border-bottom: 1px solid var(--border);
  padding: var(--space-sm);
  z-index: 199;
  /* Prevent overflow */
  overflow-y: auto;
  max-height: calc(100vh - 56px);
  flex-direction: column;
  gap: 4px;
  box-shadow: 0 8px 24px rgba(13,31,45,.12);
}
.nav-links.open { display: flex; }
.nav-links a {
  display: block;
  padding: 12px var(--space-sm);
  border-radius: 8px;
  font-size: 15px; font-weight: 500;
  color: var(--ink-soft);
  min-height: var(--touch);
  display: flex; align-items: center;
  transition: background .15s, color .15s;
}
.nav-links a:hover,
.nav-links a.active {
  background: var(--water-mist);
  color: var(--water-deep);
  text-decoration: none;
}
.nav-links .nav-cta {
  background: var(--ink); color: var(--foam) !important;
  text-align: center; justify-content: center;
  margin-top: 4px;
}
.nav-links .nav-cta:hover { background: var(--ink-mid) !important; }

/* Desktop nav */
@media (min-width: 768px) {
  .nav-inner { min-height: 64px; padding: 0 var(--space-md); }
  .nav-burger { display: none; }
  .nav-links {
    display: flex !important;
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 2px;
    border: none;
    padding: 0;
    background: transparent;
    box-shadow: none;
    max-height: none;
    overflow: visible;
  }
  .nav-links a {
    padding: 7px 12px;
    font-size: 14px;
    min-height: auto;
    display: inline-flex;
  }
  .nav-links .nav-cta {
    margin-top: 0; margin-left: 6px;
    padding: 8px 16px;
  }
}

/* ═══════════════════════════════════════════════════
   HERO — MOBILE FIRST
═══════════════════════════════════════════════════ */
.hero {
  background: linear-gradient(165deg, var(--ink) 0%, var(--ink-mid) 55%, #1565a0 100%);
  padding: var(--space-lg) var(--space-sm);
  position: relative; overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute; bottom: -1px; left: -5%; right: -5%;
  height: 48px;
  background: var(--foam);
  clip-path: ellipse(55% 100% at 50% 100%);
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.12); color: rgba(255,255,255,.9);
  padding: 5px 12px; border-radius: 40px;
  font-size: 12px; font-weight: 500;
  border: 1px solid rgba(255,255,255,.2);
  margin-bottom: var(--space-sm);
}
.hero h1 {
  font-size: clamp(28px, 7vw, 54px);
  color: #fff; margin-bottom: var(--space-sm);
  font-weight: 700;
}
.hero h1 em { color: var(--water); font-style: normal; }
.hero-sub {
  color: rgba(255,255,255,.78);
  font-size: clamp(15px, 3.5vw, 18px);
  margin-bottom: var(--space-md);
  max-width: 520px;
}
.hero-actions {
  display: flex; flex-direction: column; gap: 10px;
}
.hero-stats {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 10px; margin-top: var(--space-md);
  padding-bottom: var(--space-sm);
}
.hstat {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 12px; padding: 16px 12px; text-align: center;
}
.hstat-val {
  font-family: 'Fraunces', serif;
  font-size: clamp(24px, 6vw, 32px);
  font-weight: 700; color: var(--water);
  line-height: 1;
}
.hstat-lbl {
  font-size: 11px; color: rgba(255,255,255,.65);
  margin-top: 5px; line-height: 1.35;
}

@media (min-width: 768px) {
  .hero { padding: var(--space-xl) var(--space-md); }
  .hero::after { height: 60px; }
  .hero-inner {
    display: grid; grid-template-columns: 1fr 380px;
    gap: var(--space-xl); align-items: center;
    max-width: 1200px; margin: 0 auto;
  }
  .hero-actions { flex-direction: row; }
  .hero-stats { margin-top: 0; padding-bottom: 0; }
  .hstat { padding: 20px 14px; }
}

/* ═══════════════════════════════════════════════════
   PAGE HERO (subpages)
═══════════════════════════════════════════════════ */
.page-hero {
  background: linear-gradient(150deg, var(--ink) 0%, var(--ink-mid) 100%);
  padding: var(--space-lg) var(--space-sm);
  text-align: center; position: relative; overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute; bottom: -1px; left: -5%; right: -5%;
  height: 36px; background: var(--foam);
  clip-path: ellipse(60% 100% at 50% 100%);
}
.page-hero h1 {
  color: #fff;
  font-size: clamp(24px, 6vw, 42px);
  margin-bottom: 12px;
}
.page-hero p { color: rgba(255,255,255,.75); font-size: clamp(14px, 3.5vw, 17px); }
@media (min-width: 768px) {
  .page-hero { padding: 56px var(--space-md); }
}

/* ═══════════════════════════════════════════════════
   BREADCRUMB
═══════════════════════════════════════════════════ */
.breadcrumb {
  background: var(--stone);
  border-bottom: 1px solid var(--border);
  padding: 10px var(--space-sm);
  overflow-x: auto; white-space: nowrap;
}
.bc-inner {
  max-width: 1200px; margin: 0 auto;
  font-size: 13px; color: var(--ink-soft);
}
.bc-inner a { color: var(--ink-soft); }
.bc-inner a:hover { color: var(--water-deep); }

/* ═══════════════════════════════════════════════════
   ANCHOR NAV
═══════════════════════════════════════════════════ */
.anchor-nav {
  background: var(--stone); border-bottom: 1px solid var(--border);
  padding: 10px var(--space-sm);
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  white-space: nowrap;
  /* Hide scrollbar visually */
  scrollbar-width: none;
}
.anchor-nav::-webkit-scrollbar { display: none; }
.anchor-nav-inner {
  max-width: 1200px; margin: 0 auto;
  display: inline-flex; gap: 6px; min-width: max-content;
}
.anchor-nav a {
  display: inline-block;
  padding: 6px 14px;
  background: var(--foam); border: 1px solid var(--border);
  border-radius: 6px; font-size: 13px; font-weight: 500;
  color: var(--ink-mid); text-decoration: none;
  transition: all .15s; white-space: nowrap;
  min-height: 32px; line-height: 20px;
}
.anchor-nav a:hover {
  background: var(--water-pale); border-color: var(--water);
  color: var(--water-deep);
}

/* ═══════════════════════════════════════════════════
   LAYOUT SECTIONS
═══════════════════════════════════════════════════ */
.section { padding: var(--space-lg) var(--space-sm); }
.section-tinted { background: var(--water-mist); }
.section-stone  { background: var(--stone); }
@media (min-width: 768px) {
  .section { padding: var(--space-xl) var(--space-md); }
}
.container { max-width: 1200px; margin: 0 auto; }

.section-head { text-align: center; max-width: 640px; margin: 0 auto var(--space-lg); }
.section-tag {
  display: inline-block;
  background: var(--water-pale); color: var(--water-deep);
  padding: 4px 13px; border-radius: 40px;
  font-size: 11px; font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase; margin-bottom: 12px;
}
.section-head h2 { font-size: clamp(22px, 5vw, 36px); margin-bottom: 12px; }
.section-head p { color: var(--ink-soft); font-size: 15px; }

/* ═══════════════════════════════════════════════════
   GRIDS — MOBILE FIRST (1 col → 2 → 3)
═══════════════════════════════════════════════════ */
.grid-3 { display: grid; grid-template-columns: 1fr; gap: var(--space-sm); }
.grid-2 { display: grid; grid-template-columns: 1fr; gap: var(--space-sm); }
@media (min-width: 540px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 640px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
  .grid-3 { grid-template-columns: repeat(3,1fr); }
  .grid-2 { gap: var(--space-md); }
}

/* Sidebar layout */
.with-sidebar { display: grid; grid-template-columns: 1fr; gap: var(--space-md); }
@media (min-width: 960px) {
  .with-sidebar { grid-template-columns: 1fr 170px; align-items: start; }
  .sidebar-sticky { position: sticky; top: 74px; }
}

/* ═══════════════════════════════════════════════════
   CARDS
═══════════════════════════════════════════════════ */
.card {
  background: var(--foam); border: 1px solid var(--border);
  border-radius: var(--r-lg); overflow: hidden;
  transition: box-shadow .22s, transform .22s;
}
.card:hover { box-shadow: var(--sh-lg); transform: translateY(-2px); }
.card-icon {
  height: 140px; display: flex; align-items: center;
  justify-content: center; font-size: 52px;
}
.card-body { padding: var(--space-sm); }
.card-body h3 { font-size: clamp(17px, 4vw, 20px); margin-bottom: 8px; }
.card-body p { color: var(--ink-soft); font-size: 14px; margin-bottom: 16px; line-height: 1.65; }

/* ═══════════════════════════════════════════════════
   PRODUCT CARDS
═══════════════════════════════════════════════════ */
.product-card {
  background: var(--foam); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: var(--space-sm);
  display: flex; flex-direction: column;
  transition: box-shadow .22s, transform .22s;
}
.product-card:hover { box-shadow: var(--sh-lg); transform: translateY(-2px); }
.product-card.featured { border-color: var(--amber); position: relative; }
.product-card.featured::before {
  content: '★ Empfehlung';
  position: absolute; top: -11px; left: 18px;
  background: var(--amber); color: var(--ink);
  font-size: 11px; font-weight: 700;
  padding: 3px 11px; border-radius: 40px;
  font-family: 'DM Sans', sans-serif;
}
.pc-emoji { font-size: 40px; text-align: center; margin-bottom: 10px; }
.pc-type {
  display: inline-block; font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .05em;
  padding: 3px 9px; border-radius: 4px;
  background: var(--water-pale); color: var(--water-deep);
  margin-bottom: 8px; align-self: flex-start;
}
.pc-name { font-size: clamp(16px, 4vw, 19px); margin-bottom: 6px; }
.pc-stars { color: var(--amber); font-size: 13px; margin-bottom: 6px; }
.pc-stars span { color: var(--ink-soft); font-size: 11px; margin-left: 4px; }
.pc-price {
  font-family: 'Fraunces', serif;
  font-size: clamp(20px, 5vw, 24px);
  font-weight: 700; color: var(--water-deep); margin-bottom: 3px;
}
.pc-features { margin: 12px 0 16px; }
.pc-features li {
  font-size: 13px; color: var(--ink-soft);
  padding: 5px 0; border-bottom: 1px solid var(--stone);
  display: flex; gap: 7px; align-items: flex-start;
}
.pc-features li::before { content: '✓'; color: var(--green); font-weight: 700; flex-shrink: 0; }
.pc-features li:last-child { border-bottom: none; }
.btn-amazon {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: #ff9900; color: #111; border-radius: 8px;
  padding: 13px var(--space-sm); font-size: 15px; font-weight: 700;
  text-decoration: none; transition: all .2s; border: none;
  cursor: pointer; font-family: 'DM Sans', sans-serif;
  width: 100%; margin-top: auto;
  min-height: var(--touch);
}
.btn-amazon:hover {
  background: #e68900; text-decoration: none; color: #111;
  box-shadow: 0 4px 14px rgba(255,153,0,.35);
}
.affiliate-note { font-size: 11px; color: var(--ink-soft); text-align: center; margin-top: 6px; }

/* ═══════════════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border-radius: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px; font-weight: 600; cursor: pointer; border: none;
  text-decoration: none; transition: all .2s; line-height: 1;
  min-height: var(--touch);
  /* Full width on mobile */
  width: 100%;
  text-align: center;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--ink); color: var(--foam); }
.btn-primary:hover { background: var(--ink-mid); }
.btn-water { background: var(--water); color: #fff; }
.btn-water:hover { background: var(--water-deep); }
.btn-outline { background: transparent; color: var(--ink); border: 2px solid var(--border); }
.btn-outline:hover { border-color: var(--ink); background: var(--stone); }
.btn-ghost { background: rgba(255,255,255,.15); color: #fff; border: 1px solid rgba(255,255,255,.3); }
.btn-ghost:hover { background: rgba(255,255,255,.25); }
@media (min-width: 480px) {
  .btn { width: auto; }
  .hero-actions .btn { min-width: 200px; }
}

/* ═══════════════════════════════════════════════════
   FAQ
═══════════════════════════════════════════════════ */
.faq-wrap { max-width: 780px; margin: 0 auto; }
.faq-item { border: 1px solid var(--border); border-radius: var(--r); margin-bottom: 8px; overflow: hidden; }
.faq-question {
  width: 100%; background: none; border: none; cursor: pointer;
  padding: 16px var(--space-sm); text-align: left;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  font-family: 'DM Sans', sans-serif; font-size: 15px; font-weight: 600;
  color: var(--ink); min-height: var(--touch); transition: background .15s;
}
.faq-question:hover { background: var(--stone); }
.faq-icon { font-size: 18px; color: var(--water-deep); flex-shrink: 0; transition: transform .25s; }
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height .35s ease, padding .3s;
  font-size: 15px; color: var(--ink-soft); line-height: 1.75;
  padding: 0 var(--space-sm);
}
.faq-item.open .faq-answer { max-height: 600px; padding: 0 var(--space-sm) 18px; }
.faq-item.open .faq-icon { transform: rotate(45deg); }

/* ═══════════════════════════════════════════════════
   TABLES
═══════════════════════════════════════════════════ */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.data-table { width: 100%; border-collapse: collapse; min-width: 500px; font-size: 14px; }
.data-table th {
  background: var(--ink); color: #fff;
  padding: 12px 16px; text-align: left;
  font-family: 'DM Sans',sans-serif; font-weight: 600; font-size: 13px;
  white-space: nowrap;
}
.data-table td { padding: 11px 16px; border-bottom: 1px solid var(--stone); vertical-align: middle; }
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:nth-child(even) td { background: var(--stone); }
.badge {
  display: inline-block; padding: 3px 9px; border-radius: 40px;
  font-size: 11px; font-weight: 600; white-space: nowrap;
}
.b-soft  { background: var(--green-pale); color: #166534; }
.b-mid   { background: var(--amber-pale); color: #92400e; }
.b-hard  { background: var(--orange-pale); color: var(--orange); }
.b-vhard { background: var(--red-pale); color: #991b1b; }
.check { color: var(--green); font-size: 16px; }
.cross { color: #dc2626; }

/* ═══════════════════════════════════════════════════
   HARDNESS METER
═══════════════════════════════════════════════════ */
.h-meter-wrap { margin: var(--space-sm) 0; }
.h-meter {
  width: 100%; height: 14px; border-radius: 7px; overflow: hidden;
  background: linear-gradient(to right, #dcfce7 0%, #fef9c3 35%, #fed7aa 65%, #fee2e2 100%);
  position: relative;
}
.h-needle {
  position: absolute; top: -5px; width: 3px; height: 24px;
  background: var(--ink); border-radius: 2px; transform: translateX(-50%);
}
.h-labels {
  display: flex; justify-content: space-between;
  font-size: 10px; color: var(--ink-soft); margin-top: 4px;
}

/* ═══════════════════════════════════════════════════
   INFO BOXES
═══════════════════════════════════════════════════ */
.info-box {
  border-radius: var(--r); padding: var(--space-sm);
  margin-bottom: var(--space-sm);
}
.info-water { background: var(--water-pale); border-left: 4px solid var(--water); }
.info-amber { background: var(--amber-pale); border-left: 4px solid var(--amber); }
.info-green { background: var(--green-pale); border-left: 4px solid var(--green); }
.info-red   { background: var(--red-pale);   border-left: 4px solid #ef4444; }

/* ═══════════════════════════════════════════════════
   STAT BOXES
═══════════════════════════════════════════════════ */
.stat-row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: var(--space-sm); margin: var(--space-sm) 0;
}
@media (min-width: 640px) {
  .stat-row { grid-template-columns: repeat(3,1fr); }
}
.stat-box {
  background: var(--stone); border: 1px solid var(--border);
  border-radius: var(--r); padding: 16px var(--space-sm); text-align: center;
}
.stat-val {
  font-family: 'Fraunces',serif;
  font-size: clamp(22px, 5vw, 28px);
  font-weight: 700; color: var(--ink); line-height: 1;
}
.stat-lbl { font-size: 12px; color: var(--ink-soft); margin-top: 5px; line-height: 1.35; }

/* ═══════════════════════════════════════════════════
   CTA BANNER
═══════════════════════════════════════════════════ */
.cta-banner {
  background: linear-gradient(140deg, var(--ink), var(--water-deep));
  border-radius: var(--r-lg); padding: var(--space-lg) var(--space-sm);
  text-align: center;
}
.cta-banner h2 { color: #fff; font-size: clamp(22px, 5vw, 32px); margin-bottom: 12px; }
.cta-banner p { color: rgba(255,255,255,.75); font-size: clamp(14px, 3.5vw, 17px); margin-bottom: var(--space-md); max-width: 500px; margin-left: auto; margin-right: auto; }
.cta-actions { display: flex; flex-direction: column; gap: 10px; align-items: center; }
@media (min-width: 480px) {
  .cta-banner { padding: var(--space-xl) var(--space-lg); }
  .cta-actions { flex-direction: row; justify-content: center; }
}

/* ═══════════════════════════════════════════════════
   CITY GRID
═══════════════════════════════════════════════════ */
.city-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
@media (min-width: 480px) { .city-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 768px) { .city-grid { grid-template-columns: repeat(4, 1fr); gap: 10px; } }
@media (min-width: 1024px) { .city-grid { grid-template-columns: repeat(5, 1fr); } }

.city-card {
  display: flex; flex-direction: column;
  border: 1px solid var(--border); border-radius: var(--r);
  padding: 12px; background: var(--foam);
  text-decoration: none; color: inherit;
  transition: box-shadow .2s, transform .2s;
  min-height: var(--touch);
}
.city-card:hover { box-shadow: var(--sh); transform: translateY(-2px); text-decoration: none; }
.city-name { font-weight: 600; font-size: 14px; color: var(--ink); line-height: 1.2; }
.city-region { font-size: 11px; color: var(--ink-soft); margin-top: 2px; }
.city-dh {
  font-family: 'Fraunces',serif;
  font-size: clamp(18px, 4vw, 22px);
  font-weight: 700; margin-top: 8px; line-height: 1;
}
.city-badge {
  display: inline-block; font-size: 10px; font-weight: 600;
  padding: 2px 7px; border-radius: 4px; margin-top: 4px;
}

/* ═══════════════════════════════════════════════════
   FOOTER — MOBILE FIRST
═══════════════════════════════════════════════════ */
.footer {
  background: var(--ink); color: rgba(255,255,255,.6);
  padding: var(--space-lg) var(--space-sm) var(--space-md);
}
.footer-disclaimer {
  max-width: 1200px; margin: 0 auto var(--space-md);
  background: rgba(255,255,255,.06); border-radius: 10px;
  padding: 14px var(--space-sm);
  font-size: 11px; line-height: 1.7; color: rgba(255,255,255,.4);
}
.footer-grid {
  max-width: 1200px; margin: 0 auto var(--space-lg);
  display: grid; grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}
@media (min-width: 768px) {
  .footer { padding: 60px var(--space-md) var(--space-md); }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; }
}
.footer-logo { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.footer-logo .logo-text { color: #fff; }
.footer-brand p { font-size: 13px; line-height: 1.7; max-width: 260px; }
.footer h4 {
  color: #fff; font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .08em;
  margin-bottom: 12px; font-family: 'DM Sans',sans-serif;
}
.footer ul li { margin-bottom: 6px; }
.footer ul li a {
  color: rgba(255,255,255,.5); font-size: 13px;
  transition: color .18s; display: inline-block;
  min-height: 28px; line-height: 28px;
}
.footer ul li a:hover { color: #fff; text-decoration: none; }
.footer-bottom {
  max-width: 1200px; margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: var(--space-sm);
  display: flex; flex-direction: column; gap: 8px;
  font-size: 12px;
}
@media (min-width: 640px) {
  .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; }
}

/* ═══════════════════════════════════════════════════
   SEARCH BOX (city search)
═══════════════════════════════════════════════════ */
.search-wrap { position: relative; max-width: 480px; margin: var(--space-md) auto 0; }
.search-wrap input {
  width: 100%; padding: 14px 48px 14px 18px;
  border: 2px solid rgba(255,255,255,.35); border-radius: 10px;
  background: rgba(255,255,255,.15); color: #fff;
  font-size: 16px; /* prevent zoom on iOS */
  font-family: 'DM Sans', sans-serif; outline: none;
  -webkit-appearance: none;
}
.search-wrap input::placeholder { color: rgba(255,255,255,.6); }
.search-wrap input:focus { border-color: rgba(255,255,255,.7); background: rgba(255,255,255,.2); }
.search-icon { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-size: 18px; pointer-events: none; }

/* ═══════════════════════════════════════════════════
   TABS
═══════════════════════════════════════════════════ */
.tab-btns { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-bottom: var(--space-md); }
.tab-btn {
  padding: 9px 18px; border-radius: 40px; font-size: 14px; font-weight: 600;
  border: 2px solid var(--border); background: var(--foam); cursor: pointer;
  color: var(--ink-soft); transition: all .2s; font-family: 'DM Sans',sans-serif;
  min-height: var(--touch);
}
.tab-btn.active, .tab-btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ═══════════════════════════════════════════════════
   ADSENSE PLACEHOLDERS
═══════════════════════════════════════════════════ */
.ad-slot { text-align: center; overflow: hidden; }
.ad-slot-top { padding: 10px var(--space-sm); }
.ad-slot-mid { padding: 0 0 var(--space-sm); }

/* ═══════════════════════════════════════════════════
   UTILITY
═══════════════════════════════════════════════════ */
.hidden { display: none !important; }
.text-center { text-align: center; }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.scroll-mt { scroll-margin-top: 70px; }

/* Prevent long words from breaking layout */
p, li, td, h1, h2, h3, h4 { overflow-wrap: break-word; word-break: break-word; }

/* ── PRODUCT CARD EXTRAS ───────────────────────────────────── */
.pc-badge {
  position: absolute; top: -11px; left: 18px;
  background: var(--amber); color: var(--ink);
  font-size: 11px; font-weight: 700;
  padding: 3px 11px; border-radius: 40px;
  font-family: 'DM Sans', sans-serif;
  white-space: nowrap;
}
.product-card.featured { position: relative; }
.pc-hint {
  background: var(--green-pale);
  border-left: 3px solid var(--green);
  border-radius: 6px;
  padding: 10px 12px;
  font-size: 13px;
  color: var(--ink-soft);
  margin-bottom: 12px;
  line-height: 1.55;
}

/* ═══════════════════════════════════════════════════════════════
   MULTI-AGENT OPTIMIERUNGEN – wasserenthaertung.com
   ═══════════════════════════════════════════════════════════════ */

/* ── AGENT 2+3: Skip-Link & Focus-Styles ─────────────────────── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  background: var(--ink);
  color: #fff;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 600;
  z-index: 9999;
  border-radius: 0 0 var(--r) 0;
  text-decoration: none;
  transition: top .1s;
}
.skip-link:focus { top: 0; }

:focus-visible {
  outline: 3px solid var(--water);
  outline-offset: 3px;
  border-radius: 3px;
}
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--water);
  outline-offset: 3px;
}

/* ── AGENT 3: Barrierefreiheit ────────────────────────────────── */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
/* Screenreader-Text für Härtemeter */
.h-meter-wrap .sr-only {
  position: absolute;
}

/* ── AGENT 7: Geschäftswert – Stadtseiten-CTAs ────────────────── */
.city-cta-hard {
  background: linear-gradient(135deg, var(--amber-pale), #fef3c7);
  border: 1px solid rgba(245,158,11,.3);
  border-radius: var(--r-lg);
  padding: var(--space-sm);
  margin-top: var(--space-md);
}
.city-cta-soft {
  background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
  border: 1px solid rgba(45,106,79,.2);
  border-radius: var(--r-lg);
  padding: var(--space-sm);
  margin-top: var(--space-md);
}

/* ── AGENT 8: Wartbarkeit – Utility-Klassen ──────────────────── */
.mt-sm  { margin-top: var(--space-sm); }
.mt-md  { margin-top: var(--space-md); }
.mb-sm  { margin-bottom: var(--space-sm); }
.mb-md  { margin-bottom: var(--space-md); }
.text-soft { color: var(--ink-soft); }
.text-sm   { font-size: 13px; }

/* ── AGENT 4: Vertrauen – Redaktions-Badge ───────────────────── */
.editorial-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: var(--ink-soft);
  background: var(--foam);
  border: 1px solid var(--border);
  border-radius: 40px;
  padding: 3px 10px;
  margin-bottom: 8px;
}
.editorial-badge::before {
  content: "✓";
  color: var(--water-deep);
  font-weight: 700;
}

/* ── AGENT 5: Performance ─────────────────────────────────────── */
body { font-display: swap; }
