/* ============================================
   POOLRETTER — Gemeinsames Stylesheet
   ============================================ */

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

:root {
  --blue: #0057FF;
  --blue-light: #EBF0FF;
  --blue-mid: #C5D4FF;
  --water: #0EA5E9;
  --water-light: #E0F5FF;
  --green: #059669;
  --green-light: #ECFDF5;
  --amber: #D97706;
  --amber-light: #FFFBEB;
  --red: #DC2626;
  --red-light: #FEF2F2;
  --gray-50: #F8F9FA;
  --gray-100: #F1F3F5;
  --gray-200: #E9ECEF;
  --gray-300: #DEE2E6;
  --gray-600: #6C757D;
  --gray-700: #495057;
  --gray-900: #212529;
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'DM Sans', sans-serif;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 3px rgba(0,0,0,.08), 0 4px 16px rgba(0,0,0,.06);
  --max-width: 860px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--gray-900);
  background: #fff;
  font-size: 16px;
  line-height: 1.6;
}

/* ---- NAV ---- */
.pr-nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--gray-200);
  padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  height: 60px;
}
.pr-nav-logo {
  font-family: var(--font-display);
  font-weight: 700; font-size: 22px;
  color: var(--blue); text-decoration: none;
  letter-spacing: -0.5px;
}
.pr-nav-logo span { color: var(--water); }
.pr-nav-links { display: flex; gap: 24px; }
.pr-nav-links a {
  font-size: 14px; font-weight: 500;
  color: var(--gray-700); text-decoration: none;
  transition: color .2s;
}
.pr-nav-links a:hover { color: var(--blue); }
.pr-nav-burger {
  display: none;
  background: none; border: none;
  cursor: pointer; padding: 4px;
  color: var(--gray-700);
}
.pr-nav-mobile {
  display: none;
  flex-direction: column;
  background: #fff;
  border-bottom: 1px solid var(--gray-200);
  padding: 16px 24px;
  gap: 16px;
}
.pr-nav-mobile.open { display: flex; }
.pr-nav-mobile a {
  font-size: 15px; font-weight: 500;
  color: var(--gray-700); text-decoration: none;
}

/* ---- BREADCRUMB ---- */
.pr-breadcrumb {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 16px 24px 0;
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; color: var(--gray-600);
  flex-wrap: wrap;
}
.pr-breadcrumb a { color: var(--gray-600); text-decoration: none; }
.pr-breadcrumb a:hover { color: var(--blue); }
.pr-breadcrumb-sep { color: var(--gray-300); }
.pr-breadcrumb-current { color: var(--gray-900); font-weight: 500; }

/* ---- PAGE HERO ---- */
.pr-page-hero {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 40px 24px 32px;
}
.pr-page-hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.badge-red { background: var(--red-light); color: var(--red); }
.badge-amber { background: var(--amber-light); color: var(--amber); }
.badge-green { background: var(--green-light); color: var(--green); }
.badge-blue { background: var(--blue-light); color: var(--blue); }

.pr-page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(28px, 5vw, 46px);
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.15;
  margin-bottom: 12px;
}
.pr-page-hero p {
  font-size: 17px;
  color: var(--gray-600);
  max-width: 600px;
  line-height: 1.6;
}

/* ---- FILTER TAGS ---- */
.pr-filter-tags {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px 32px;
  display: flex; gap: 8px; flex-wrap: wrap;
}
.pr-filter-tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 500;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1.5px solid var(--gray-200);
  background: #fff;
  color: var(--gray-600);
  text-decoration: none;
  transition: all .2s;
}
.pr-filter-tag:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-light); }
.pr-filter-tag.active { background: var(--blue); color: #fff; border-color: var(--blue); }
.pr-filter-tag-label {
  font-size: 10px; font-weight: 600;
  padding: 2px 6px;
  border-radius: 999px;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.tag-filter { background: #E0F2FE; color: #0369A1; }
.tag-desinfektion { background: var(--green-light); color: var(--green); }

/* ---- MAIN CONTENT ---- */
.pr-content {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px 80px;
}

/* ---- STEP CARDS ---- */
.pr-steps { list-style: none; }
.pr-step {
  display: flex; gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--gray-100);
}
.pr-step:last-child { border-bottom: none; }
.pr-step-num {
  width: 30px; height: 30px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700;
  flex-shrink: 0; margin-top: 2px;
}
.step-red { background: var(--red-light); color: var(--red); }
.step-blue { background: var(--blue-light); color: var(--blue); }
.step-green { background: var(--green-light); color: var(--green); }
.pr-step-title { font-weight: 600; font-size: 16px; margin-bottom: 4px; }
.pr-step-body { font-size: 14px; color: var(--gray-600); line-height: 1.7; }

/* ---- WARNING / NOTE BOXES ---- */
.pr-warning {
  background: var(--amber-light);
  border-left: 3px solid var(--amber);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 12px 16px; margin: 10px 0;
}
.pr-warning-title { font-weight: 600; font-size: 13px; color: var(--amber); margin-bottom: 3px; }
.pr-warning-body { font-size: 13px; color: var(--gray-700); line-height: 1.6; }

.pr-note {
  background: var(--blue-light);
  border-left: 3px solid var(--blue);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 12px 16px; margin: 10px 0;
  font-size: 13px; color: var(--gray-700); line-height: 1.6;
}

.pr-danger {
  background: var(--red-light);
  border-left: 3px solid var(--red);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 12px 16px; margin: 10px 0;
}
.pr-danger-title { font-weight: 600; font-size: 13px; color: var(--red); margin-bottom: 3px; }
.pr-danger-body { font-size: 13px; color: var(--gray-700); line-height: 1.6; }

/* ---- BRIDGE BOX ---- */
.pr-bridge {
  background: var(--water-light);
  border-radius: var(--radius);
  padding: 20px 24px; margin: 32px 0;
}
.pr-bridge-label {
  font-size: 11px; font-weight: 700;
  color: var(--water); letter-spacing: .08em;
  text-transform: uppercase; margin-bottom: 8px;
}
.pr-bridge-text { font-size: 15px; color: var(--gray-700); line-height: 1.7; }

/* ---- AFFILIATE BOX ---- */
.pr-affiliate {
  background: var(--green-light);
  border-radius: var(--radius);
  padding: 24px; margin-top: 32px;
}
.pr-affiliate-label {
  font-size: 11px; font-weight: 700;
  color: var(--green); letter-spacing: .08em;
  text-transform: uppercase; margin-bottom: 8px;
}
.pr-affiliate-title { font-weight: 600; font-size: 17px; margin-bottom: 6px; }
.pr-affiliate-body { font-size: 14px; color: var(--gray-600); line-height: 1.6; margin-bottom: 16px; }
.pr-affiliate-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--green); color: #fff;
  font-weight: 600; font-size: 14px;
  padding: 11px 22px; border-radius: 999px;
  text-decoration: none; transition: background .2s;
}
.pr-affiliate-btn:hover { background: #047857; }

/* ---- SECTION LABEL ---- */
.pr-section-label {
  font-size: 11px; font-weight: 700;
  color: var(--gray-600); letter-spacing: .08em;
  text-transform: uppercase; margin: 32px 0 16px;
}

/* ---- RELATED LINKS ---- */
.pr-related {
  background: var(--gray-50);
  border-radius: var(--radius);
  padding: 20px 24px; margin-top: 32px;
}
.pr-related-title { font-weight: 600; font-size: 15px; margin-bottom: 12px; }
.pr-related-links { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.pr-related-links a {
  font-size: 14px; color: var(--blue);
  text-decoration: none; display: flex; align-items: center; gap: 6px;
}
.pr-related-links a:hover { text-decoration: underline; }

/* ---- TABLE ---- */
.pr-table-wrap { overflow-x: auto; margin: 16px 0; }
.pr-table {
  width: 100%; border-collapse: collapse;
  font-size: 14px;
}
.pr-table th {
  background: var(--gray-100);
  font-weight: 600; font-size: 12px;
  text-transform: uppercase; letter-spacing: .05em;
  padding: 10px 14px; text-align: left;
  color: var(--gray-700);
}
.pr-table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--gray-100);
  color: var(--gray-700);
}
.pr-table tr:last-child td { border-bottom: none; }
.pr-table tr.highlight td { background: var(--green-light); font-weight: 600; }

/* ---- FOOTER ---- */
.pr-footer {
  background: var(--gray-900);
  color: rgba(255,255,255,.5);
  padding: 48px 24px;
  font-size: 13px; line-height: 1.9;
}
.pr-footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
}
.pr-footer-logo {
  font-family: var(--font-display);
  font-size: 20px; font-weight: 700;
  color: #fff; text-decoration: none;
  display: block; margin-bottom: 8px;
}
.pr-footer-col-title {
  font-size: 12px; font-weight: 600;
  color: rgba(255,255,255,.4);
  text-transform: uppercase; letter-spacing: .06em;
  margin-bottom: 10px;
}
.pr-footer-links { list-style: none; }
.pr-footer-links a { color: rgba(255,255,255,.5); text-decoration: none; }
.pr-footer-links a:hover { color: #fff; }
.pr-footer-bottom {
  max-width: var(--max-width);
  margin: 32px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.1);
  font-size: 12px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 8px;
}
.pr-footer-bottom a { color: rgba(255,255,255,.4); text-decoration: none; }
.pr-footer-bottom a:hover { color: #fff; }

/* ---- RESPONSIVE ---- */
@media (max-width: 640px) {
  .pr-nav-links { display: none; }
  .pr-nav-burger { display: block; }
  .pr-footer-inner { grid-template-columns: 1fr; gap: 24px; }
  .pr-page-hero { padding: 28px 20px 24px; }
  .pr-content { padding: 0 20px 60px; }
  .pr-filter-tags { padding: 0 20px 24px; }
}

/* ---- COOKIE BANNER ---- */
#pr-cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9999;
  background: #fff;
  border-top: 2px solid #0057FF;
  box-shadow: 0 -4px 32px rgba(0,0,0,.14);
  padding: 20px 24px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .3s ease, transform .3s ease;
  font-family: var(--font-body);
}
#pr-cookie-inner {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
#pr-cookie-text {
  flex: 1;
  min-width: 260px;
  font-size: 13px;
  color: #495057;
  line-height: 1.6;
}
#pr-cookie-text strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: #212529;
  margin-bottom: 6px;
}
#pr-cookie-text a { color: #0057FF; text-decoration: none; }
#pr-cookie-text a:hover { text-decoration: underline; }
#pr-cookie-text em { font-style: normal; font-weight: 600; color: #212529; }
#pr-cookie-buttons {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
  flex-wrap: wrap;
}
#pr-cookie-accept {
  background: #0057FF; color: #fff;
  border: none; padding: 11px 24px;
  border-radius: 999px;
  font-size: 14px; font-weight: 600;
  cursor: pointer;
  font-family: var(--font-body);
  transition: background .2s;
  white-space: nowrap;
}
#pr-cookie-accept:hover { background: #0042CC; }
#pr-cookie-necessary {
  background: #F1F3F5; color: #495057;
  border: 1.5px solid #DEE2E6;
  padding: 11px 24px;
  border-radius: 999px;
  font-size: 14px; font-weight: 500;
  cursor: pointer;
  font-family: var(--font-body);
  transition: background .2s;
  white-space: nowrap;
}
#pr-cookie-necessary:hover { background: #E9ECEF; }

/* Cookie-Einstellungen Link im Footer */
.pr-cookie-settings-link {
  color: rgba(255,255,255,.4);
  text-decoration: none;
  cursor: pointer;
  background: none;
  border: none;
  font-size: inherit;
  font-family: inherit;
  padding: 0;
}
.pr-cookie-settings-link:hover { color: #fff; }

@media (max-width: 600px) {
  #pr-cookie-inner { flex-direction: column; align-items: stretch; }
  #pr-cookie-buttons { flex-direction: column; }
  #pr-cookie-accept, #pr-cookie-necessary { text-align: center; width: 100%; }
}

/* ---- FAQ KOMPONENTE ---- */
.pr-faq-item {
  background: #fff;
  border: 1.5px solid #E9ECEF;
  border-radius: 12px;
  margin-bottom: 8px;
  overflow: hidden;
}
.pr-faq-q {
  width: 100%;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  color: #212529;
  gap: 12px;
}
.pr-faq-q:hover { background: #F8F9FA; }
.faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #F1F3F5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: transform .2s, background .2s;
  line-height: 1;
}
.pr-faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: #EBF0FF;
  color: #0057FF;
}
.pr-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
  padding: 0 20px;
  font-size: 14px;
  color: #495057;
  line-height: 1.7;
}
.pr-faq-item.open .pr-faq-a {
  max-height: 800px;
  padding-bottom: 18px;
}
