/* =========================================================
   pflegehilfsmittel-ratgeber.de – Stylesheet
   Palette: Warm Teal + Orange Accent – vertrauensvoll & klar
   ========================================================= */

:root {
  --primary:       #2D7A6E;
  --primary-dark:  #1F5C52;
  --primary-light: #EAF4F2;
  --accent:        #E07B39;
  --accent-dark:   #C0632A;
  --text:          #1A2E2B;
  --muted:         #5E7A76;
  --bg:            #F7FBFA;
  --bg-alt:        #EAF4F2;
  --border:        #C8E3DE;
  --white:         #ffffff;
  --card-shadow:   0 2px 16px rgba(45,122,110,.10);
  --radius:        10px;
  --radius-sm:     6px;
  --font:          'Segoe UI', system-ui, -apple-system, sans-serif;
  --max-w:         1100px;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
}

a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }

img { max-width: 100%; display: block; }

h1, h2, h3, h4 { line-height: 1.25; font-weight: 700; }
h1 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
h2 { font-size: clamp(1.25rem, 3vw, 1.75rem); margin-bottom: .6em; }
h3 { font-size: 1.15rem; margin-bottom: .4em; }
h4 { font-size: 1rem; }
p  { margin-bottom: 1em; }
ul, ol { padding-left: 1.4em; margin-bottom: 1em; }
li { margin-bottom: .35em; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
}

/* ── DISCLOSURE BAR ─────────────────────────────── */
.ad-disclosure {
  background: #FFF8F0;
  border-bottom: 1px solid #F5D9C0;
  padding: 9px 0;
  text-align: center;
  font-size: .78rem;
  color: #8a5c38;
}
.ad-disclosure a { color: #8a5c38; text-decoration: underline; }

/* ── HEADER ─────────────────────────────────────── */
.site-header {
  background: var(--white);
  border-bottom: 2px solid var(--primary);
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 2px 8px rgba(0,0,0,.07);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
}

.logo {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -.5px;
  white-space: nowrap;
}
.logo span { color: var(--primary); }

/* Desktop Nav */
nav ul.nav-desktop {
  display: flex;
  gap: 4px;
  list-style: none;
  padding: 0;
  margin: 0;
}
nav ul.nav-desktop > li {
  position: relative;
}
nav ul.nav-desktop > li > a {
  display: block;
  padding: 8px 14px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--text);
  border-radius: var(--radius-sm);
  transition: background .15s, color .15s;
}
nav ul.nav-desktop > li > a:hover,
nav ul.nav-desktop > li:hover > a {
  background: var(--primary-light);
  color: var(--primary);
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 230px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  padding: 8px 0;
  list-style: none;
  z-index: 300;
}
.dropdown-menu li a {
  display: block;
  padding: 9px 18px;
  font-size: .875rem;
  color: var(--text);
  transition: background .12s;
}
.dropdown-menu li a:hover {
  background: var(--primary-light);
  color: var(--primary);
}
nav ul.nav-desktop > li:hover .dropdown-menu { display: block; }

.hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text);
  padding: 4px 8px;
}

/* Mobile Nav */
.nav-mobile {
  display: none;
  flex-direction: column;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 12px 0 20px;
  max-height: 80vh;
  overflow-y: auto;
}
.nav-mobile.open { display: flex; }

.nav-mobile-group { padding: 8px 20px 4px; }
.nav-mobile-group-title {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
  margin-bottom: 4px;
  margin-top: 8px;
}
.nav-mobile a {
  display: block;
  padding: 7px 20px;
  font-size: .9rem;
  color: var(--text);
  border-radius: var(--radius-sm);
}
.nav-mobile a:hover { background: var(--primary-light); color: var(--primary); }

/* ── BREADCRUMB ─────────────────────────────────── */
.breadcrumb {
  padding: 10px 0;
  font-size: .8rem;
  color: var(--muted);
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span { margin: 0 6px; }

.hero .breadcrumb,
.hero .breadcrumb a { color: rgba(255,255,255,.80); }
.hero .breadcrumb a:hover { color: #fff; }
.hero .breadcrumb span { color: rgba(255,255,255,.55); margin: 0 6px; }

/* ── HERO ───────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, #1F5C52 0%, #2D7A6E 60%, #3B9485 100%);
  color: var(--white);
  padding: 64px 0 56px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='20'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.hero .container { position: relative; }
.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 20px;
  padding: 4px 14px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.hero h1 { color: var(--white); margin-bottom: 16px; max-width: 700px; }
.hero p  {
  color: rgba(255,255,255,.88);
  font-size: 1.1rem;
  max-width: 600px;
  margin-bottom: 28px;
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

.hero-small {
  padding: 36px 0 28px;
}
.hero-small h1 { font-size: clamp(1.3rem, 3vw, 1.9rem); }

/* ── BUTTONS ────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-size: .95rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s, transform .1s, box-shadow .15s;
  text-decoration: none;
  border: none;
  line-height: 1.3;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 3px 12px rgba(224,123,57,.35);
}
.btn-primary:hover {
  background: var(--accent-dark);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(224,123,57,.45);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.6);
}
.btn-outline:hover {
  background: rgba(255,255,255,.12);
  color: var(--white);
}

.btn-teal {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 3px 12px rgba(45,122,110,.3);
}
.btn-teal:hover {
  background: var(--primary-dark);
  color: var(--white);
}

.btn small {
  flex-basis: 100%;
  text-align: center;
  font-size: .6em;
  font-weight: 400;
  line-height: 1.5;
  margin-top: 1px;
  opacity: .85;
}

/* ── SECTIONS ───────────────────────────────────── */
.section { padding: 64px 0; }
.section-alt { padding: 64px 0; background: var(--bg-alt); }
.section-sm { padding: 40px 0; }

.section-header { text-align: center; margin-bottom: 40px; }
.section-header p { color: var(--muted); font-size: 1.05rem; max-width: 600px; margin: 0 auto; }

/* ── CARDS ──────────────────────────────────────── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.card-grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
}
.card-grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 28px;
  box-shadow: var(--card-shadow);
  transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 6px 24px rgba(45,122,110,.14); }

.card-icon {
  margin-bottom: 14px;
  display: block;
  line-height: 0;
}
.card-icon svg {
  width: 32px;
  height: 32px;
}
.card h3 { margin-bottom: 10px; }
.card p  { color: var(--muted); font-size: .925rem; margin-bottom: 14px; }
.card-link {
  font-size: .875rem;
  font-weight: 700;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.card-link::after { content: '→'; }
.card-link:hover { color: var(--primary-dark); }

/* ── INFO BOXES ─────────────────────────────────── */
.info-box {
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 24px 0;
  border-left: 4px solid;
}
.info-box.tip  { background: #EAF4F2; border-color: var(--primary); }
.info-box.warn { background: #FFF8F0; border-color: var(--accent); }
.info-box.info { background: #EEF6FF; border-color: #3B82F6; }

.info-box-title {
  font-weight: 700;
  font-size: .875rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.info-box.tip  .info-box-title { color: var(--primary-dark); }
.info-box.warn .info-box-title { color: var(--accent-dark); }
.info-box.info .info-box-title { color: #1D4ED8; }
.info-box p { margin-bottom: 0; font-size: .95rem; }

/* ── STEP LIST ──────────────────────────────────── */
.step-list { list-style: none; padding: 0; counter-reset: steps; }
.step-list li {
  counter-increment: steps;
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  align-items: flex-start;
}
.step-list li::before {
  content: counter(steps);
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  font-weight: 800;
  font-size: .95rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-list li div h4 { margin-bottom: 4px; }
.step-list li div p  { margin-bottom: 0; color: var(--muted); font-size: .925rem; }

/* ── TABLE ──────────────────────────────────────── */
.table-wrap { overflow-x: auto; margin: 24px 0; border-radius: var(--radius); border: 1px solid var(--border); }
table { width: 100%; border-collapse: collapse; font-size: .9rem; }
th {
  background: var(--primary);
  color: var(--white);
  padding: 12px 16px;
  text-align: left;
  font-size: .85rem;
  font-weight: 700;
}
td { padding: 11px 16px; border-bottom: 1px solid var(--border); }
tr:last-child td { border-bottom: none; }
tr:nth-child(even) td { background: var(--bg-alt); }
.check { color: var(--primary); font-weight: 700; }
.cross { color: #E53E3E; font-weight: 700; }

/* ── FAQ ────────────────────────────────────────── */
.faq-list { list-style: none; padding: 0; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 10px; overflow: hidden; }
.faq-question {
  width: 100%;
  background: var(--white);
  border: none;
  padding: 18px 24px;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  color: var(--text);
  transition: background .15s;
}
.faq-question:hover { background: var(--primary-light); }
.faq-question.active { background: var(--primary-light); color: var(--primary); }
.faq-icon { font-size: 1.2rem; flex-shrink: 0; transition: transform .25s; }
.faq-question.active .faq-icon { transform: rotate(45deg); }
.faq-answer { display: none; padding: 0 24px 18px; background: var(--white); font-size: .95rem; color: var(--muted); }
.faq-answer.open { display: block; }
.faq-answer p { margin-bottom: .5em; }
.faq-answer p:last-child { margin-bottom: 0; }

/* ── STAT BOXES ─────────────────────────────────── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  text-align: center;
}
.stat-box {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 28px 20px;
}
.stat-number {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: .875rem;
  color: var(--muted);
  line-height: 1.4;
}

/* ── ANBIETER CARD ──────────────────────────────── */
.anbieter-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 28px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  box-shadow: var(--card-shadow);
  transition: transform .2s, box-shadow .2s;
}
.anbieter-card:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(45,122,110,.13); }
.anbieter-icon { font-size: 2.5rem; flex-shrink: 0; }
.anbieter-body { flex: 1; }
.anbieter-body h3 { margin-bottom: 6px; }
.anbieter-body p  { color: var(--muted); font-size: .9rem; margin-bottom: 12px; }
.anbieter-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.tag {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  font-size: .75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
}
.tag-orange { background: #FFF3EA; color: var(--accent-dark); }

/* ── CONTENT LAYOUT ─────────────────────────────── */
.content-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  align-items: start;
}
.sidebar {
  position: sticky;
  top: 80px;
}
.sidebar-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 20px;
}
.sidebar-box h4 {
  font-size: .875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--muted);
  margin-bottom: 14px;
}
.sidebar-box ul { list-style: none; padding: 0; }
.sidebar-box ul li { margin-bottom: 6px; }
.sidebar-box ul li a { font-size: .9rem; color: var(--text); }
.sidebar-box ul li a:hover { color: var(--primary); }
.sidebar-box ul li a::before { content: '› '; color: var(--primary); }

.cta-sidebar {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
}
.cta-sidebar h4 { color: var(--white); font-size: 1rem; margin-bottom: 10px; }
.cta-sidebar p  { font-size: .875rem; opacity: .9; margin-bottom: 16px; }

/* ── AFFILIATE DISCLOSURE SECTION ───────────────── */
.disclosure-section {
  background: #FFF8F0;
  border: 1px solid #F5D9C0;
  border-radius: var(--radius);
  padding: 24px 28px;
  margin: 40px 0;
  text-align: center;
}
.disclosure-section h3 { font-size: 1rem; margin-bottom: 8px; color: #8a5c38; }
.disclosure-section p  { font-size: .875rem; color: #8a5c38; margin: 0; }

/* ── HIGHLIGHT BOX ──────────────────────────────── */
.highlight-box {
  background: linear-gradient(135deg, var(--primary) 0%, #3B9485 100%);
  border-radius: var(--radius);
  padding: 40px 32px;
  color: var(--white);
  text-align: center;
}
.highlight-box h2 { color: var(--white); margin-bottom: 12px; }
.highlight-box p  { opacity: .9; max-width: 550px; margin: 0 auto 24px; }

/* ── FOOTER ─────────────────────────────────────── */
.site-footer {
  background: #11201E;
  color: #A0B8B5;
  padding: 48px 0 24px;
  margin-top: 80px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid #1E3530;
  margin-bottom: 24px;
}
.footer-brand .logo { color: var(--white); font-size: 1.1rem; margin-bottom: 12px; display: inline-block; }
.footer-brand p { font-size: .875rem; line-height: 1.6; max-width: 280px; }
.footer-col h5 {
  color: var(--white);
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 14px;
}
.footer-col ul { list-style: none; padding: 0; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { font-size: .875rem; color: #A0B8B5; transition: color .15s; }
.footer-col ul li a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .8rem;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-bottom a { color: #A0B8B5; }
.footer-bottom a:hover { color: var(--white); }

/* ── RESPONSIVE ─────────────────────────────────── */
@media (max-width: 900px) {
  .content-grid { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  nav ul.nav-desktop { display: none; }
  .hamburger { display: block; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .hero { padding: 44px 0 36px; }
  .section, .section-alt { padding: 48px 0; }
  .card-grid, .card-grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .anbieter-card { flex-direction: column; }
}
