/* pflegefrisch – Shop-Optik (Weiß, Mint, Hellblau, Petrol), 17.11.2026.
   Kein Amts- oder Kassen-Look. Keine externen Schriften, kein Tracking.
   Farbkontraste für Text und Schaltflächen auf WCAG AA ausgelegt. */

:root {
  --bg: #f7fbfb;
  --bg-mint: #eaf7f2;
  --bg-blue: #e8f3fa;
  --surface: #ffffff;
  --header: #ffffff;
  --header-2: #eef8f6;
  --ink: #14343a;
  --muted: #3d5a60;
  --line: #cfe3e0;
  --link: #0b5f6b;
  --link-hover: #084a53;
  --accent: #0d6e78;
  --accent-ink: #ffffff;
  --accent-dark: #0a5c64;
  --danger-soft: #e8f6f1;
  --focus: #0b5f6b;
  --badge: #0d6e78;
  --shadow: 0 8px 24px rgba(13, 110, 120, 0.12);
  --max: 75rem;
  --radius: 0.55rem;
  --font: "Segoe UI", "Liberation Sans", "Noto Sans", "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  margin: 0;
  overflow-x: hidden;
  max-width: 100%;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--ink);
  background-color: var(--bg);
  background-image: linear-gradient(180deg, #e4f3fa 0%, #e8f8f3 42%, #f7fbfb 72%);
  background-repeat: no-repeat;
  background-size: 100% 28rem;
}

img, svg { max-width: 100%; }

a {
  color: var(--link);
  text-underline-offset: 0.12em;
}

a:hover { color: var(--link-hover); }

a:focus-visible,
button:focus-visible,
select:focus-visible,
input:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -3.5rem;
  z-index: 100;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 0.55rem 1rem;
  border-radius: 0 0 0.3rem 0.3rem;
  text-decoration: none;
  font-weight: 700;
}

.skip-link:focus { top: 0; }

.ad-bar {
  background: #e7f5f1;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  font-size: 0.88rem;
}

.ad-bar p {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  padding: 0.4rem 0;
}

/* ----- Header + Suche ----- */

.shop-header {
  background: var(--header);
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 4px 16px rgba(13, 110, 120, 0.05);
}

.shop-header-inner {
  width: min(var(--max), calc(100% - 1.5rem));
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.1rem;
  padding: 0.85rem 0;
}

.logo {
  text-decoration: none;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  min-width: 9rem;
}

.logo:hover { color: var(--ink); }

.logo-kicker {
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.logo-title {
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0;
}

.logo-title span { color: #0d6e78; }

.mega-search {
  display: flex;
  flex: 1 1 18rem;
  min-width: 0;
  max-width: 48rem;
}

.mega-search input[type="search"] {
  flex: 1 1 auto;
  min-width: 0;
  font: inherit;
  font-size: 1rem;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--line);
  border-right: 0;
  border-radius: 0.4rem 0 0 0.4rem;
  background: #fff;
  color: var(--ink);
  min-height: 2.85rem;
}

.mega-search button {
  font: inherit;
  font-weight: 800;
  padding: 0 1.1rem;
  border: 0;
  border-radius: 0 0.4rem 0.4rem 0;
  background: var(--accent);
  color: var(--accent-ink);
  cursor: pointer;
  min-height: 2.85rem;
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.mega-search button:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(13, 110, 120, 0.25);
}

/* ----- Kategorienleiste ----- */

.cat-bar {
  background: linear-gradient(90deg, #eaf7f2 0%, #e8f3fa 100%);
  color: var(--ink);
  max-width: 100%;
  overflow-x: auto;
  border-bottom: 1px solid var(--line);
}

.cat-bar-inner {
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding: 0 0.75rem;
  display: flex;
  gap: 0.1rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  box-sizing: border-box;
}

.cat-bar a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.86rem;
  padding: 0.65rem 0.55rem;
  white-space: nowrap;
  flex-shrink: 0;
  border-bottom: 3px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.cat-bar a:hover { color: var(--link); }

.cat-bar a[aria-current="page"] {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* ----- Inhalt ----- */

.main {
  width: min(var(--max), calc(100% - 1.5rem));
  margin: 0 auto;
  padding: 1.1rem 0 2.5rem;
}

.shop-strip {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.7rem 0.95rem;
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.shop-strip p { margin: 0; }

.page-head {
  margin: 0 0 0.85rem;
}

.page-head h1 {
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 0.3rem;
}

.page-head p {
  margin: 0;
  color: var(--muted);
  max-width: 46rem;
}

.biocid-line {
  background: var(--danger-soft);
  border-left: 4px solid var(--accent);
  padding: 0.55rem 0.75rem;
  margin: 0 0 1rem;
  font-size: 0.95rem;
}

/* ----- Raster ----- */

.toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 1rem;
  margin: 0 0 0.85rem;
}

.toolbar label {
  font-size: 0.92rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.toolbar select {
  font: inherit;
  font-size: 0.95rem;
  padding: 0.35rem 0.5rem;
  border: 1px solid var(--line);
  border-radius: 0.3rem;
  background: #fff;
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.filter-chip {
  font: inherit;
  font-size: 0.85rem;
  padding: 0.28rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}

.filter-chip {
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.filter-chip:hover {
  border-color: var(--accent);
  background: var(--bg-mint);
}

.filter-chip[aria-pressed="true"] {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
}

.count-line {
  margin: 0 0 0.75rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

@media (min-width: 28rem) {
  .grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 50rem) {
  .grid { grid-template-columns: 1fr 1fr 1fr; }
}

@media (min-width: 70rem) {
  .grid { grid-template-columns: 1fr 1fr 1fr 1fr; }
}

.tile {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.7rem 0.7rem 0.8rem;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.tile-media {
  position: relative;
  background: #eef8f6;
  border-radius: 0.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 9.5rem;
  margin: 0 0 0.55rem;
}

.tile-media img {
  width: 6.25rem;
  height: 6.25rem;
  display: block;
}

.badge-folgt,
.badge-beispiel {
  position: absolute;
  top: 0.45rem;
  left: 0.45rem;
  background: var(--badge);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.15rem 0.4rem;
  border-radius: 0.2rem;
}

.tile-title {
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 0.45rem;
  color: var(--ink);
  text-decoration: none;
  display: block;
}

a.tile-title:hover { color: var(--link); }

.tile-price {
  margin: 0 0 0.15rem;
  font-weight: 800;
  font-size: 1.02rem;
}

.tile-rating {
  margin: 0 0 0.65rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.btn-buy {
  display: block;
  text-align: center;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.95rem;
  padding: 0.55rem 0.7rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  margin-top: auto;
}

.btn-buy:hover {
  background: var(--accent-dark);
  color: var(--accent-ink);
}

.btn-buy-disabled,
a.btn-buy-disabled,
a.btn-buy-disabled:hover,
a.btn-buy-disabled:focus {
  background: #c5d6d4;
  color: #3d5a60;
  cursor: not-allowed;
  pointer-events: none;
  box-shadow: none;
  transform: none;
}

.buy-note {
  margin: 0.3rem 0 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.8rem;
}

/* ----- Detail ----- */

.detail {
  display: grid;
  gap: 1.25rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
}

@media (min-width: 52rem) {
  .detail {
    grid-template-columns: 18rem 1fr;
    padding: 1.4rem;
    align-items: start;
  }
}

.detail-media {
  position: relative;
  background: #eef8f6;
  border-radius: var(--radius);
  min-height: 16rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.detail-media img {
  width: 11rem;
  height: 11rem;
  display: block;
}

.detail-body h1 {
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 0.6rem;
}

.detail-body p { margin: 0 0 0.7rem; }

.detail .btn-buy {
  display: inline-block;
  padding: 0.7rem 1.3rem;
  margin: 0.4rem 0 0;
}

.detail .buy-note { text-align: left; }

.crumb {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0 0 0.8rem;
}

.crumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 0.35rem;
  margin: 0;
  padding: 0;
}

.crumb li:not(:last-child)::after {
  content: "›";
  margin-left: 0.35rem;
  color: var(--muted);
}

.placeholder-box {
  border: 1px dashed #7fb3b0;
  background: #f3fbf8;
  color: var(--ink);
  border-radius: var(--radius);
  padding: 0.8rem 0.95rem;
  margin: 1.2rem 0 0;
  font-size: 0.95rem;
}

.placeholder-box strong { display: block; margin-bottom: 0.25rem; }

/* ----- Rechtliche Seiten ----- */

.legal {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem 1.2rem 1.3rem;
  max-width: 46rem;
}

.legal h1 {
  font-size: 1.6rem;
  margin: 0 0 0.6rem;
}

.legal h2 {
  font-size: 1.15rem;
  margin: 1.2rem 0 0.4rem;
}

.legal p, .legal li { font-size: 0.98rem; }

.contact {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.15rem;
  margin: 0 0 0.8rem;
}

.contact h2 { margin: 0 0 0.4rem; font-size: 1.15rem; }

.contact dl {
  margin: 0;
  display: grid;
  grid-template-columns: 8rem 1fr;
  gap: 0.25rem 0.7rem;
}

.contact dt { font-weight: 700; }
.contact dd { margin: 0; }

@media (max-width: 36rem) {
  .contact dl { grid-template-columns: 1fr; }
}

.timeline { margin: 0 0 1rem; }
.timeline .item { margin: 0 0 0.9rem; }
.tag {
  display: inline-block;
  background: var(--bg-mint);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.1rem 0.4rem;
  border-radius: 0.25rem;
}

/* ----- Footer ----- */

.shop-footer {
  background: #eef6f4;
  color: var(--ink);
  padding: 1.4rem 0 1.8rem;
  font-size: 0.9rem;
  border-top: 1px solid var(--line);
}

.shop-footer a { color: var(--link); }

.footer-inner {
  width: min(var(--max), calc(100% - 1.5rem));
  margin: 0 auto;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  margin: 0 0 0.7rem;
  padding: 0;
  list-style: none;
}

.shop-footer p {
  margin: 0 0 0.45rem;
  max-width: 50rem;
  color: var(--muted);
}

.empty {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
}

/* ----- Hero und Bewegung ----- */

.hero-band {
  padding: 0.15rem 0 0.35rem;
}

.hero-band .page-head { margin-bottom: 0.7rem; }

.shop-strip {
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 4px 18px rgba(13, 110, 120, 0.05);
}

.tile {
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.tile:hover,
.tile:focus-within {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: #9ecdc8;
}

.btn-buy {
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-buy:hover {
  background: var(--accent-dark);
  color: var(--accent-ink);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(13, 110, 120, 0.25);
}

a.btn-buy-disabled:hover,
a.btn-buy-disabled:focus {
  background: #c5d6d4;
  color: #3d5a60;
  transform: none;
  box-shadow: none;
}

.detail {
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.detail.is-inview,
.detail:hover {
  box-shadow: var(--shadow);
  border-color: #9ecdc8;
}

.js-motion .tile,
.js-motion .hero-band,
.js-motion .detail {
  opacity: 0;
  transform: translateY(14px);
}

.js-motion .tile.is-inview,
.js-motion .hero-band.is-inview,
.js-motion .detail.is-inview {
  opacity: 1;
  transform: translateY(0);
  animation: rise 0.55s ease both;
}

.js-motion .tile.is-inview:hover,
.js-motion .tile.is-inview:focus-within {
  transform: translateY(-4px);
  animation: none;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

.js-motion .tile:nth-child(1) { animation-delay: 0s; }
.js-motion .tile:nth-child(2) { animation-delay: 0.05s; }
.js-motion .tile:nth-child(3) { animation-delay: 0.1s; }
.js-motion .tile:nth-child(4) { animation-delay: 0.15s; }
.js-motion .tile:nth-child(5) { animation-delay: 0.2s; }
.js-motion .tile:nth-child(6) { animation-delay: 0.25s; }
.js-motion .tile:nth-child(7) { animation-delay: 0.3s; }
.js-motion .tile:nth-child(8) { animation-delay: 0.35s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  .js-motion .tile,
  .js-motion .hero-band,
  .js-motion .detail,
  .js-motion .tile.is-inview,
  .js-motion .tile.is-inview:hover,
  .js-motion .tile.is-inview:focus-within {
    opacity: 1 !important;
    transform: none !important;
    box-shadow: none;
  }
}

.kicker {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.lead { color: var(--muted); }

.legal .hero,
.legal .panel,
.legal .limits { margin: 0 0 1rem; }

.limits {
  background: var(--danger-soft);
  border-radius: var(--radius);
  padding: 0.8rem 0.95rem;
}

.callout {
  background: var(--bg-mint);
  border-left: 4px solid var(--accent);
  padding: 0.6rem 0.8rem;
  margin: 0.8rem 0;
}

.source, .small { color: var(--muted); font-size: 0.9rem; }

.grid-2 {
  display: grid;
  gap: 0.8rem;
  margin: 0 0 1rem;
}

@media (min-width: 48rem) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
}

.steps { padding-left: 1.2rem; }

.toolbar label {
  max-width: 100%;
  min-width: 0;
}

.toolbar select {
  max-width: 100%;
  min-width: 0;
}
