/* ============================================================
   Pfoten-Ratgeber — CSS Framework (Redesign)
   Version: 2.0.0 | 2026-03-24
   Based on Design-Research-2026.md Best Practices
   ============================================================ */

/* --- CSS Variables --- */
:root {
  --max-width: 1140px;
  --max-width-narrow: 720px;
  --max-width-wide: 1400px;

  --font-heading: 'DM Sans', sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  /* Warme, emotionale Farbpalette */
  --color-primary: #4A7A62;
  --color-primary-dark: #3D6652;
  --color-primary-light: #EEF6F1;
  --color-accent: #E07A5F;
  --color-accent-dark: #C96A50;
  --color-accent-light: #FFF0EC;
  --color-success: #6BA368;
  --color-success-light: #F0F8EF;
  --color-warning: #D4A24C;
  --color-warning-light: #FFF9ED;
  --color-danger: #D16054;
  --color-danger-light: #FDF2F1;
  --color-info: #6298B8;
  --color-info-light: #EFF7FB;
  --color-tip: #9B7FB8;
  --color-tip-light: #F7F3FB;

  --color-bg: #FFFAF6;
  --color-bg-warm: #FFF5ED;
  --color-bg-white: #FFFFFF;
  --color-bg-light: #F9F5F0;
  --color-text: #3D3229;
  --color-text-light: #4A3F36;
  --color-text-inverse: #FFFFFF;
  --color-border: #EDE4DA;
  --color-border-dark: #D4C8BB;

  /* Spacing Scale */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2.5rem;
  --space-xxl: 4rem;

  --border-radius: 16px;
  --border-radius-sm: 10px;
  --border-radius-lg: 24px;
  --shadow-sm: 0 2px 8px rgba(61,50,41,0.06);
  --shadow-md: 0 4px 20px rgba(61,50,41,0.08);
  --shadow-lg: 0 8px 40px rgba(61,50,41,0.1);
  --shadow-hover: 0 12px 32px rgba(91,138,114,0.18);
  --shadow-glow: 0 0 0 4px rgba(91,138,114,0.12);

  --transition: 0.25s ease;
  --transition-slow: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: clamp(1.0625rem, 0.95rem + 0.25vw, 1.1875rem);
  line-height: 1.7;
  overflow-x: hidden;
  color: var(--color-text);
  background-color: var(--color-bg);
  scrollbar-gutter: stable;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-text);
  hyphens: none;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.1rem, 4vw, 3.2rem); margin-bottom: 1.25rem; }
h2 { font-size: clamp(1.5rem, 2.8vw, 2.2rem); margin-bottom: 1rem; }
h3 { font-size: clamp(1.15rem, 2vw, 1.5rem); margin-bottom: 0.75rem; }
h4 { font-size: 1.2rem; margin-bottom: 0.5rem; }

p { margin-bottom: 1.125rem; }
p:last-child { margin-bottom: 0; }

a {
  color: var(--color-primary);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color var(--transition);
}
a:hover { color: var(--color-primary-dark); }
a:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
  border-radius: 3px;
}

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

ul, ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}
li { margin-bottom: 0.4rem; }
li:last-child { margin-bottom: 0; }

/* --- Skip to Content --- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--color-primary);
  color: var(--color-text-inverse);
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius-sm);
  z-index: 10000;
  text-decoration: none;
  font-weight: 600;
}
.skip-link:focus { top: 1rem; }

/* --- Container --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.container--narrow { max-width: var(--max-width-narrow); }
.container--wide { max-width: var(--max-width-wide); }

/* --- Section Spacing (mehr Whitespace!) --- */
.section {
  padding: 5.5rem 0;
}
.section--sm {
  padding: 3rem 0;
}
.section--lg {
  padding: 7rem 0;
}
.section--bg-white {
  background-color: var(--color-bg-white);
}
.section--bg-warm {
  background-color: var(--color-bg-warm);
}
.section--bg-primary {
  background-color: var(--color-primary);
  color: var(--color-text-inverse);
}
.section--bg-cream {
  background-color: #FDF8F3;
}

.section__header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.section__header p {
  color: var(--color-text-light);
  font-size: 1.125rem;
  max-width: 560px;
  margin: 0.75rem auto 0;
  line-height: 1.7;
}
.section__header h2 {
  position: relative;
}

/* Subtle section label */
.section__label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}

/* ============================================================
   SCROLL REVEAL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal--visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal--delay-1 { transition-delay: 0.1s; }
.reveal--delay-2 { transition-delay: 0.2s; }
.reveal--delay-3 { transition-delay: 0.3s; }

/* Fallback: auto-reveal after 3s if JS fails to add .reveal--visible */
@keyframes reveal-fallback {
  to { opacity: 1; transform: translateY(0); }
}
.reveal {
  animation: reveal-fallback 0.6s ease 3s forwards;
}
.reveal--visible {
  animation: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
  }
}

/* ============================================================
   HEADER & NAVIGATION
   ============================================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(237,228,218,0.6);
}

.header__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--color-text);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.3rem;
  flex-shrink: 0;
  letter-spacing: -0.01em;
}
.header__logo svg {
  width: 36px;
  height: 36px;
  color: var(--color-primary);
}
.header__logo:hover { color: var(--color-primary); }

/* Desktop Nav */
.header__nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.header__link {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.85rem;
  text-decoration: none;
  color: var(--color-text);
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: var(--border-radius-sm);
  transition: background var(--transition), color var(--transition);
  white-space: nowrap;
}
.header__link:hover,
.header__link--active {
  background: var(--color-primary-light);
  color: var(--color-primary);
}

/* Dropdown */
.header__dropdown {
  position: relative;
}
.header__dropdown-toggle {
  cursor: pointer;
  gap: 0.3rem;
}
.header__dropdown-toggle::after {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  margin-top: -3px;
  margin-left: 2px;
  transition: transform var(--transition);
}
.header__dropdown:hover .header__dropdown-toggle::after,
.header__dropdown--open .header__dropdown-toggle::after {
  transform: rotate(-135deg);
  margin-top: 2px;
}

.header__dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 240px;
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  padding: 0.5rem 0;
  z-index: 100;
}
.header__dropdown:hover .header__dropdown-menu,
.header__dropdown--open .header__dropdown-menu {
  display: block;
}

.header__dropdown-link {
  display: block;
  padding: 0.6rem 1.25rem;
  text-decoration: none;
  color: var(--color-text);
  font-size: 0.93rem;
  transition: background var(--transition), color var(--transition);
}
.header__dropdown-link:hover {
  background: var(--color-primary-light);
  color: var(--color-primary);
}

/* Header CTA */
.header__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1.3rem;
  background: var(--color-accent);
  color: var(--color-text-inverse);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.93rem;
  border-radius: 999px;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  margin-left: 0.5rem;
  white-space: nowrap;
}
.header__cta:hover {
  background: var(--color-accent-dark);
  color: var(--color-text-inverse);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(224,122,95,0.3);
}

/* Hamburger */
.header__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  min-width: 44px;
  min-height: 44px;
  z-index: 1001;
}
.header__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform var(--transition-slow), opacity var(--transition-slow);
}
.header__toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.header__toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.header__toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Nav */
@media (max-width: 960px) {
  .header__toggle { display: flex; }

  .header__nav {
    position: fixed;
    top: 0;
    right: 0;
    width: min(320px, 85vw);
    height: 100vh;
    background: var(--color-bg-white);
    flex-direction: column;
    align-items: stretch;
    padding: 5rem 1.5rem 2rem;
    gap: 0;
    transform: translateX(100%);
    transition: transform var(--transition-slow);
    box-shadow: -4px 0 30px rgba(0,0,0,0.15);
    overflow-y: auto;
    z-index: 1000;
  }
  .header__nav--open {
    display: flex !important;
    transform: translateX(0) !important;
  }

  .header__link {
    padding: 0.85rem 1rem;
    font-size: 1.05rem;
    border-radius: 0;
    border-bottom: 1px solid var(--color-border);
  }

  .header__dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    border-radius: 0;
    padding: 0;
    background: var(--color-bg);
  }
  .header__dropdown-link {
    padding-left: 2rem;
    font-size: 0.95rem;
    border-bottom: 1px solid var(--color-border);
  }

  .header__cta {
    margin: 1rem 0 0;
    justify-content: center;
    padding: 0.85rem 1.5rem;
    font-size: 1rem;
  }

  .nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 999;
  }
  .nav-overlay--visible { display: block; }
}

/* ============================================================
   HERO — Redesigned with Image Support
   ============================================================ */
.hero {
  padding: 4rem 0 3rem;
  text-align: center;
}

/* Homepage Hero — Split Layout */
.hero--home {
  padding: 0;
  text-align: left;
  background: linear-gradient(135deg, var(--color-bg-warm) 0%, #FDF8F3 50%, var(--color-primary-light) 100%);
  position: relative;
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  min-height: 580px;
}

.hero__content {
  padding: 4rem 0;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--color-primary-light);
  color: var(--color-primary);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
}

.hero h1 {
  max-width: 520px;
  margin-bottom: 1.25rem;
  line-height: 1.12;
}

.hero__subtitle {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  color: var(--color-text-light);
  max-width: 460px;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero__cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  margin-bottom: 2.5rem;
}

/* Trust badges under CTA */
.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
}
.hero__trust-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.88rem;
  color: var(--color-text-light);
  font-weight: 500;
}
.hero__trust-item svg {
  width: 18px;
  height: 18px;
  color: var(--color-primary);
  flex-shrink: 0;
}

/* Hero Image */
.hero__image-wrapper {
  position: relative;
  height: 100%;
  min-height: 480px;
  overflow: hidden;
}
.hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero__image-wrapper::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 80px;
  background: linear-gradient(90deg, var(--color-bg-warm) 0%, transparent 100%);
  pointer-events: none;
}

/* Subpage hero — mit Background-Image Support */
.hero--sub {
  padding: 5rem 0 4rem;
  text-align: center;
  background: linear-gradient(160deg, var(--color-bg-warm) 0%, var(--color-primary-light) 100%);
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}
.hero--sub[style*="background-image"] {
  background-blend-mode: overlay;
  background-color: rgba(61, 50, 41, 0.55);
}
.hero--sub[style*="background-image"]::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(61,50,41,0.6) 0%, rgba(61,50,41,0.45) 50%, rgba(61,50,41,0.7) 100%);
  z-index: 0;
}
.hero--sub .hero__content,
.hero--sub .container {
  position: relative;
  z-index: 1;
}
.hero--sub[style*="background-image"] h1,
.hero--sub[style*="background-image"] p,
.hero--sub[style*="background-image"] .lead,
.hero--sub[style*="background-image"] .hero--sub__subtitle,
.hero--sub[style*="background-image"] time,
.hero--sub[style*="background-image"] .breadcrumb__link,
.hero--sub[style*="background-image"] .breadcrumb__current {
  color: var(--color-text-inverse);
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.hero--sub[style*="background-image"] .breadcrumb__link {
  opacity: 0.85;
}
.hero--sub[style*="background-image"] .breadcrumb__link:hover {
  opacity: 1;
}
.hero--sub h1 {
  max-width: 700px;
  margin: 0 auto 1rem;
}
.hero--sub .hero__subtitle {
  max-width: 560px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.7;
}
/* "Coming soon" badges in cards */
.card__badge--soon {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.5rem 1rem;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-sm);
  font-size: 0.88rem;
  color: var(--color-text-light);
  font-weight: 500;
}

/* ============================================================
   MOBILE HERO REDESIGN — Immersive Gradient Pattern
   Bild wird zum Vollbild-Hintergrund, Content sitzt darüber.
   Inspiriert von Check24, Apple, Lemonade-style Heros.
   ============================================================ */
@media (max-width: 768px) {
  /* --- Hero: Bild als Full-Bleed Background --- */
  .hero--home {
    min-height: 100svh;
    min-height: 100vh;
    display: flex;
    align-items: flex-end;
    padding-bottom: 0;
  }
  .hero--home .container {
    width: 100%;
    padding-bottom: 0;
  }
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 0;
    min-height: auto;
    position: relative;
    z-index: 2;
  }
  .hero__image-wrapper {
    position: absolute;
    inset: 0;
    z-index: 0;
    min-height: auto;
    order: 0;
    border-radius: 0;
    height: 100%;
  }
  .hero__image {
    object-position: center 30%;
  }
  .hero__image-wrapper::after {
    display: block !important;
    width: 100% !important;
    left: 0;
    height: 100%;
    background: linear-gradient(
      180deg,
      transparent 0%,
      rgba(253,248,243, 0.15) 20%,
      rgba(253,248,243, 0.65) 42%,
      rgba(253,248,243, 0.92) 56%,
      #FDF8F3 68%
    ) !important;
  }
  .hero__content {
    position: relative;
    z-index: 2;
    padding: min(38vh, 300px) 0 2rem;
    text-align: center;
  }
  .hero h1 {
    max-width: none;
    font-size: clamp(1.65rem, 6.5vw, 2.4rem);
    line-height: 1.18;
    margin-bottom: 0.75rem;
  }
  .hero__badge {
    font-size: 0.78rem;
    padding: 0.3rem 0.85rem;
    margin-bottom: 1rem;
  }
  .hero__subtitle {
    max-width: none;
    margin-left: auto;
    margin-right: auto;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.55;
    color: var(--color-text-light);
  }
  .hero__cta-group {
    justify-content: center;
    margin-bottom: 1.5rem;
  }
  .hero__trust {
    justify-content: center;
    gap: 0.6rem 1.2rem;
    margin-bottom: 0;
  }
  .hero__trust-item {
    font-size: 0.8rem;
    gap: 0.3rem;
  }
  .hero__trust-item svg {
    width: 15px;
    height: 15px;
  }

  /* --- Scroll-Hint: Subtiler Pfeil unterm Hero --- */
  .hero--home::after {
    content: '';
    position: absolute;
    bottom: 1.2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 28px;
    border-right: 2.5px solid var(--color-primary);
    border-bottom: 2.5px solid var(--color-primary);
    transform: translateX(-50%) rotate(45deg);
    opacity: 0.4;
    z-index: 3;
    animation: scrollHint 2s ease-in-out infinite;
  }
  @keyframes scrollHint {
    0%, 100% { opacity: 0.4; bottom: 1.2rem; }
    50% { opacity: 0.7; bottom: 0.8rem; }
  }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 2.2rem;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  min-height: 48px;
  letter-spacing: 0.01em;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn:active {
  transform: translateY(0);
}
.btn:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}

.btn--primary {
  background: var(--color-primary);
  color: var(--color-text-inverse);
}
.btn--primary:hover {
  background: var(--color-primary-dark);
  color: var(--color-text-inverse);
  box-shadow: 0 6px 20px rgba(91,138,114,0.3);
}

.btn--accent {
  background: var(--color-accent);
  color: var(--color-text-inverse);
}
.btn--accent:hover {
  background: var(--color-accent-dark);
  color: var(--color-text-inverse);
  box-shadow: 0 6px 20px rgba(224,122,95,0.35);
}

.btn--outline {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}
.btn--outline:hover {
  background: var(--color-primary);
  color: var(--color-text-inverse);
}

.btn--white {
  background: var(--color-bg-white);
  color: var(--color-text);
  box-shadow: var(--shadow-sm);
}
.btn--white:hover {
  box-shadow: var(--shadow-md);
  color: var(--color-primary);
}
.btn--outline-white {
  background: transparent;
  color: var(--color-text-inverse);
  border: 2px solid rgba(255,255,255,0.5);
}
.btn--outline-white:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.8);
  color: var(--color-text-inverse);
}

.btn--sm { padding: 0.55rem 1.25rem; font-size: 0.9rem; }
.btn--lg { padding: 1.1rem 2.5rem; font-size: 1.1rem; }

@media (max-width: 480px) {
  .btn--mobile-full { width: 100%; }
}

/* ============================================================
   CARDS — Enhanced with Image Support
   ============================================================ */
.card {
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  transition: box-shadow var(--transition-slow), transform var(--transition-slow);
}
.card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-6px);
}

/* Card with image */
.card--image {
  padding: 0;
  overflow: hidden;
}
.card__img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}
.card__body {
  padding: 1.75rem;
}

.card__icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-accent-light) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--color-primary);
}
.card__icon svg {
  width: 30px;
  height: 30px;
}

/* Animal selection cards — image overlay */
.card--animal {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius-lg);
  min-height: 280px;
  display: flex;
  align-items: flex-end;
  padding: 0;
  border: none;
  cursor: pointer;
}
.card--animal img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.card--animal:hover img {
  transform: scale(1.05);
}
.card--animal__overlay {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 2rem;
  background: linear-gradient(0deg, rgba(61,50,41,0.85) 0%, rgba(61,50,41,0.4) 60%, transparent 100%);
  color: var(--color-text-inverse);
}
.card--animal__overlay h3 {
  color: var(--color-text-inverse);
  font-size: 1.4rem;
  margin-bottom: 0.35rem;
}
.card--animal__overlay p {
  font-size: 0.9rem;
  opacity: 0.9;
  margin-bottom: 0;
  line-height: 1.5;
}
.card--animal__cta {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-inverse);
  opacity: 0.85;
  transition: opacity var(--transition), transform var(--transition);
}
.card--animal:hover .card--animal__cta {
  opacity: 1;
  transform: translateX(4px);
}

.card-grid {
  display: grid;
  gap: 1.75rem;
}
.card-grid--2 { grid-template-columns: repeat(2, 1fr); }
.card-grid--3 { grid-template-columns: repeat(3, 1fr); }
.card-grid--4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 768px) {
  .card-grid--3,
  .card-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .card--animal { min-height: 220px; }
}
@media (max-width: 480px) {
  .card-grid--2 { grid-template-columns: 1fr; }

  /* --- Animal Cards: Vertikal gestapelt, KEIN horizontal scroll --- */
  .card-grid--3:has(.card--animal) {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 0;
    overflow-x: visible;
  }
  .card-grid--3:has(.card--animal) > .card--animal {
    min-height: 180px;
    width: 100%;
  }

  /* Alle anderen card-grids normal stacken */
  .card-grid--3:not(:has(.card--animal)),
  .card-grid--4 { grid-template-columns: 1fr; }
}

/* ============================================================
   STATS / NUMBERS SECTION
   ============================================================ */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
}
.stat {
  padding: 1.5rem;
}
.stat__number {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat__label {
  font-size: 0.95rem;
  color: var(--color-text-light);
  font-weight: 500;
}
.stat__divider {
  width: 40px;
  height: 3px;
  background: var(--color-accent);
  border-radius: 2px;
  margin: 0.75rem auto 0;
}

@media (max-width: 640px) {
  /* --- Stats: Kompakte horizontale Reihe statt gestapelt --- */
  .stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    background: var(--color-bg-warm);
    border-radius: var(--border-radius-lg);
    padding: 1.25rem 0.5rem;
  }
  .stat {
    padding: 0.5rem 0.25rem;
    border-right: 1px solid var(--color-border);
  }
  .stat:last-child { border-right: none; }
  .stat__number {
    font-size: clamp(1.5rem, 5vw, 2rem);
    margin-bottom: 0.25rem;
  }
  .stat__label {
    font-size: 0.78rem;
    line-height: 1.3;
  }
  .stat__divider { display: none; }
}

/* ============================================================
   COMPARISON TABLE
   ============================================================ */
.table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 2rem;
  border-radius: var(--border-radius);
  border: 1px solid var(--color-border);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-bg-white);
  font-size: 0.93rem;
}
.comparison-table thead {
  position: sticky;
  top: 0;
  z-index: 2;
}
.comparison-table th {
  background: var(--color-text);
  color: var(--color-text-inverse);
  padding: 1rem;
  text-align: left;
  font-weight: 600;
  white-space: nowrap;
}
.comparison-table td {
  padding: 1rem;
  border-bottom: 1px solid var(--color-border);
  vertical-align: middle;
}
.comparison-table tbody tr:last-child td { border-bottom: none; }
.comparison-table tbody tr:hover { background: var(--color-primary-light); }

.comparison-table tr.highlight {
  background: var(--color-primary-light);
  border-left: 3px solid var(--color-primary);
}
.comparison-table tr.highlight td:first-child { font-weight: 600; }
.comparison-table .badge-empfehlung {
  display: inline-block;
  background: var(--color-accent);
  color: var(--color-text-inverse);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  margin-left: 0.5rem;
}

@media (max-width: 640px) {
  .comparison-table thead { display: none; }
  .comparison-table tr {
    display: block;
    margin-bottom: 1rem;
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-sm);
    overflow: hidden;
  }
  .comparison-table td {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    text-align: right;
    border-bottom: 1px solid var(--color-border);
  }
  .comparison-table td::before {
    content: attr(data-label);
    font-weight: 600;
    text-align: left;
    margin-right: 1rem;
    color: var(--color-text);
  }
}

/* ============================================================
   PROVIDER CARD
   ============================================================ */
.provider-card {
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: box-shadow var(--transition);
}
.provider-card:hover { box-shadow: var(--shadow-hover); }

.provider-card__header {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.provider-card__logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: var(--border-radius-sm);
  background: var(--color-bg);
  padding: 0.5rem;
}
.provider-card__name { font-size: 1.25rem; font-weight: 700; margin-bottom: 0; }

.stars {
  display: inline-flex;
  gap: 2px;
  color: var(--color-accent);
}
.stars svg { width: 18px; height: 18px; }
.stars__empty { color: var(--color-border-dark); }

.provider-card__desc { color: var(--color-text-light); font-size: 0.95rem; }

.provider-card__facts {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.provider-card__facts li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.93rem;
  margin-bottom: 0;
}
.provider-card__facts li::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--color-primary);
  border-radius: 50%;
  margin-top: 0.55rem;
  flex-shrink: 0;
}
.provider-card__cta { margin-top: auto; }

/* ============================================================
   AFFILIATE CTA BOX
   ============================================================ */
.affiliate-cta {
  background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-bg-warm) 100%);
  border: 2px solid var(--color-primary);
  border-radius: var(--border-radius);
  padding: 2rem;
  position: relative;
}
.affiliate-cta__label {
  position: absolute;
  top: -1px;
  right: 1.5rem;
  background: var(--color-text-light);
  color: var(--color-text-inverse);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: 0 0 4px 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.affiliate-cta__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.affiliate-cta__logo {
  width: 80px;
  height: 80px;
  object-fit: contain;
  flex-shrink: 0;
  background: var(--color-bg-white);
  border-radius: var(--border-radius-sm);
  padding: 0.75rem;
}
.affiliate-cta__body { flex: 1; }
.affiliate-cta__title { font-size: 1.2rem; margin-bottom: 0.35rem; }
.affiliate-cta__subtitle { color: var(--color-text-light); font-size: 0.95rem; margin-bottom: 1rem; }

@media (max-width: 640px) {
  .affiliate-cta__inner { flex-direction: column; text-align: center; }
  .affiliate-cta__label { right: 50%; transform: translateX(50%); }
}

/* ============================================================
   PROS/CONS BOX
   ============================================================ */
.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 2rem 0;
}
.pros-cons__col { border-radius: var(--border-radius); padding: 1.5rem; }
.pros-cons__col--pro { background: var(--color-success-light); border: 1px solid var(--color-success); }
.pros-cons__col--con { background: var(--color-danger-light); border: 1px solid var(--color-danger); }

.pros-cons__heading {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.pros-cons__heading--pro { color: var(--color-success); }
.pros-cons__heading--con { color: var(--color-danger); }

.pros-cons__list { list-style: none; padding: 0; margin: 0; }
.pros-cons__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}
.pros-cons__list li::before {
  flex-shrink: 0;
  margin-top: 0.2rem;
  font-weight: 700;
  font-size: 1rem;
}
.pros-cons__col--pro .pros-cons__list li::before { content: '\2713'; color: var(--color-success); }
.pros-cons__col--con .pros-cons__list li::before { content: '\2717'; color: var(--color-danger); }

@media (max-width: 640px) {
  .pros-cons { grid-template-columns: 1fr; }
}

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.faq-accordion { margin: 2rem 0; display: flex; flex-direction: column; gap: 1rem; }

.faq-item {
  border: 2px solid var(--color-border);
  border-radius: var(--border-radius);
  background: var(--color-bg-white);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.faq-item--open {
  border-color: var(--color-primary);
  box-shadow: 0 4px 20px rgba(74,122,98,0.12);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 1.75rem;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-text);
  min-height: 56px;
  line-height: 1.4;
  transition: background var(--transition);
}
.faq-question:hover { background: var(--color-bg-light); }
.faq-question:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: -2px;
}

.faq-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  position: relative;
  background: var(--color-primary);
  border-radius: 50%;
}
.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: #FFFFFF;
  border-radius: 2px;
  transition: transform var(--transition-slow);
}
.faq-icon::before {
  width: 14px;
  height: 2px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.faq-icon::after {
  width: 2px;
  height: 14px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.faq-item--open .faq-icon {
  background: var(--color-accent);
}
.faq-item--open .faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow);
}
.faq-answer__inner {
  padding: 0 1.75rem 1.75rem;
  color: var(--color-text);
  font-size: 1.05rem;
  line-height: 1.75;
}
.faq-answer__inner p:last-child { margin-bottom: 0; }

/* ============================================================
   INFO BOX
   ============================================================ */
.info-box {
  display: flex;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-radius: var(--border-radius-sm);
  margin: 1.5rem 0;
  font-size: 0.95rem;
}
.info-box__icon { flex-shrink: 0; width: 24px; height: 24px; margin-top: 0.15rem; }

.info-box--info { background: var(--color-info-light); border-left: 4px solid var(--color-info); color: var(--color-text); }
.info-box--info .info-box__icon { color: var(--color-info); }
.info-box--warning { background: var(--color-warning-light); border-left: 4px solid var(--color-warning); }
.info-box--warning .info-box__icon { color: var(--color-warning); }
.info-box--success { background: var(--color-success-light); border-left: 4px solid var(--color-success); }
.info-box--success .info-box__icon { color: var(--color-success); }
.info-box--tip { background: var(--color-tip-light); border-left: 4px solid var(--color-tip); }
.info-box--tip .info-box__icon { color: var(--color-tip); }

/* ============================================================
   BREADCRUMBS
   ============================================================ */
.breadcrumb { padding: 1rem 0; font-size: 0.85rem; }
.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 0.25rem;
}
.breadcrumb__item {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-bottom: 0;
}
.breadcrumb__item + .breadcrumb__item::before {
  content: '\203A';
  color: var(--color-text-light);
  margin-right: 0.25rem;
}
.breadcrumb__link { color: var(--color-text-light); text-decoration: none; }
.breadcrumb__link:hover { color: var(--color-primary); }
.breadcrumb__current { color: var(--color-text); font-weight: 500; }

/* ============================================================
   TRUST / LOGOS BAR
   ============================================================ */
.trust-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
  padding: 2rem 0;
  opacity: 0.65;
}
.trust-bar img, .trust-bar svg {
  height: 32px;
  width: auto;
  filter: grayscale(100%);
  transition: filter var(--transition), opacity var(--transition);
}
.trust-bar img:hover, .trust-bar svg:hover {
  filter: grayscale(0%);
  opacity: 1;
}
/* Text-based logo items */
.trust-bar__item {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-text-light);
  transition: color var(--transition);
  letter-spacing: -0.01em;
}
.trust-bar__item:hover { color: var(--color-text); }

/* ============================================================
   STEPS
   ============================================================ */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  counter-reset: step;
  position: relative;
}
/* Connection line between steps */
.steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(16.66% + 24px);
  right: calc(16.66% + 24px);
  height: 2px;
  background: var(--color-border);
  z-index: 0;
}
.step {
  text-align: center;
  counter-increment: step;
  position: relative;
  z-index: 1;
}
.step__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: var(--color-primary);
  color: var(--color-text-inverse);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.3rem;
  border-radius: 50%;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 12px rgba(91,138,114,0.25);
}
.step__title {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}
.step__desc {
  color: var(--color-text-light);
  font-size: 0.93rem;
  max-width: 280px;
  margin: 0 auto;
  line-height: 1.6;
}

@media (max-width: 640px) {
  /* --- Steps: Kompakte horizontale Karten --- */
  .steps {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .steps::before { display: none; }
  .step {
    display: grid;
    grid-template-columns: 56px 1fr;
    grid-template-rows: auto auto;
    text-align: left;
    gap: 0 1rem;
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--color-border);
  }
  .step:last-child { border-bottom: none; }
  .step__number {
    grid-row: 1 / 3;
    align-self: center;
    width: 48px;
    height: 48px;
    font-size: 1.1rem;
    margin-bottom: 0;
  }
  .step__title {
    font-size: 1.05rem;
    margin-bottom: 0.2rem;
    align-self: end;
  }
  .step__desc {
    max-width: none;
    margin: 0;
    font-size: 0.88rem;
    align-self: start;
  }
}

/* ============================================================
   CTA BANNER SECTION
   ============================================================ */
.cta-banner {
  background: var(--color-primary);
  color: var(--color-text-inverse);
  padding: 4.5rem 2rem;
  text-align: center;
  border-radius: 0;
  margin: 0;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
  pointer-events: none;
}
.cta-banner h2 {
  color: var(--color-text-inverse);
  margin-bottom: 1rem;
}
.cta-banner p {
  color: rgba(255,255,255,0.85);
  max-width: 480px;
  margin: 0 auto 2rem;
  font-size: 1.1rem;
}

/* ============================================================
   FORMS
   ============================================================ */
.form-group { margin-bottom: 1.25rem; }
.form-label { display: block; font-weight: 600; margin-bottom: 0.4rem; font-size: 0.93rem; }
.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--border-radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-text);
  background: var(--color-bg-white);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(91,138,114,0.15);
}
.form-textarea { resize: vertical; min-height: 140px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #3D3229;
  color: #D4C8BB;
  padding: 5rem 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer__brand p { font-size: 0.93rem; line-height: 1.7; margin-top: 1rem; }
.footer__brand a { color: #D4C8BB; }
.footer__brand a:hover { color: var(--color-text-inverse); }

.footer__heading {
  color: var(--color-text-inverse);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer__links { list-style: none; padding: 0; }
.footer__links li { margin-bottom: 0.6rem; }
.footer__links a {
  color: #D4C8BB;
  text-decoration: none;
  font-size: 0.93rem;
  transition: color var(--transition);
}
.footer__links a:hover { color: var(--color-text-inverse); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  font-size: 0.85rem;
  color: #B5A99F;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer__bottom a { color: #B5A99F; text-decoration: none; }
.footer__bottom a:hover { color: var(--color-text-inverse); }

@media (max-width: 768px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; text-align: center; }
}

/* ============================================================
   COOKIE BANNER
   ============================================================ */
.cookie-banner {
  display: block;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-text);
  color: #E2E8F0;
  padding: 1.25rem 1.5rem;
  z-index: 9999;
  box-shadow: 0 -4px 30px rgba(0,0,0,0.2);
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  visibility: hidden;
}
.cookie-banner--visible {
  transform: translateY(0);
  visibility: visible;
}
.cookie-banner__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.cookie-banner__text { flex: 1; font-size: 0.9rem; min-width: 200px; }
.cookie-banner__text a { color: var(--color-text-inverse); }
.cookie-banner__actions { display: flex; gap: 0.75rem; flex-shrink: 0; }
.cookie-banner__btn {
  padding: 0.6rem 1.25rem;
  border: none;
  border-radius: var(--border-radius-sm);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  min-height: 44px;
  transition: background var(--transition);
}
.cookie-banner__btn--accept { background: var(--color-accent); color: var(--color-text-inverse); }
.cookie-banner__btn--accept:hover { background: var(--color-accent-dark); }
.cookie-banner__btn--reject { background: transparent; color: #E2E8F0; border: 1px solid #718096; }
.cookie-banner__btn--reject:hover { background: rgba(255,255,255,0.1); }

@media (max-width: 480px) {
  .cookie-banner__inner { flex-direction: column; text-align: center; }
  .cookie-banner__actions { width: 100%; }
  .cookie-banner__btn { flex: 1; }
}

/* ============================================================
   MOBILE GLOBAL REFINEMENTS
   ============================================================ */
@media (max-width: 480px) {
  /* Kompaktere Sections auf kleinen Screens */
  .section {
    padding: 3.5rem 0;
  }
  .section__header {
    margin-bottom: 2rem;
  }
  .section__header h2 {
    font-size: clamp(1.35rem, 5.5vw, 1.7rem);
    line-height: 1.2;
  }
  .section__header p {
    font-size: 0.95rem;
  }
  .section__label {
    font-size: 0.72rem;
    letter-spacing: 0.12em;
  }

  /* Trust-Cards: Kompakter */
  .card-grid--3:not(:has(.card--animal)) .card {
    padding: 1.5rem 1.25rem;
  }
  .card-grid--3:not(:has(.card--animal)) .card h3 {
    font-size: 1.05rem;
  }
  .card-grid--3:not(:has(.card--animal)) .card p {
    font-size: 0.88rem;
  }

  /* CTA Banner kompakter */
  .cta-banner {
    padding: 2.5rem 1.5rem;
    border-radius: var(--border-radius-lg);
  }

  /* FAQ kompakter */
  .faq-question {
    font-size: 1.05rem;
    padding: 1rem 1.25rem;
  }

  /* Footer kompakter */
  .footer {
    padding: 2.5rem 0 1.5rem;
  }

  /* Allgemeine Typografie-Verfeinerung */
  h2 {
    font-size: clamp(1.4rem, 5.5vw, 1.8rem);
  }
  h3 {
    font-size: clamp(1.1rem, 4vw, 1.3rem);
  }
}

/* ============================================================
   BACK TO TOP
   ============================================================ */
.back-to-top {
  display: none;
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  background: var(--color-primary);
  color: var(--color-text-inverse);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  z-index: 900;
  transition: background var(--transition), opacity var(--transition), transform var(--transition);
}
.back-to-top--visible { display: flex; }
.back-to-top:hover { background: var(--color-primary-dark); transform: translateY(-2px); }
.back-to-top svg { width: 20px; height: 20px; }

/* ============================================================
   ARTICLE / CONTENT STYLES
   ============================================================ */
.article-content { max-width: var(--max-width-narrow); margin: 0 auto; }
.article-content h2 { margin-top: 2.5rem; }
.article-content h3 { margin-top: 1.75rem; }
.article-content ul, .article-content ol { margin-bottom: 1.25rem; }

/* Article Hero Image */
.article-hero-image {
  margin: -1rem 0 2.5rem;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.article-hero-image img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 2 / 1;
  object-fit: cover;
}

.toc {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  margin: 2rem 0;
}
.toc__title { font-size: 1rem; font-weight: 700; margin-bottom: 0.75rem; }
.toc__list { list-style: none; padding: 0; margin: 0; }
.toc__list li { margin-bottom: 0.35rem; }
.toc__list a { font-size: 0.93rem; color: var(--color-primary); text-decoration: none; }
.toc__list a:hover { text-decoration: underline; }

.affiliate-hinweis {
  font-size: 0.82rem;
  color: var(--color-text-light);
  border-top: 1px solid var(--color-border);
  padding-top: 1.5rem;
  margin-top: 3rem;
}

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }
.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;
}

/* ============================================================
   CARD CONTENT CLASSES (Unterseiten-Support)
   ============================================================ */
.card__title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0.5rem;
}

.card__description {
  color: var(--color-text-light);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 1rem;
}

.card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--color-primary);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: color var(--transition), gap var(--transition);
}
.card__link:hover {
  color: var(--color-accent);
  gap: 0.5rem;
}

.card__image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  border-radius: var(--border-radius) var(--border-radius) 0 0;
  margin-bottom: 1.25rem;
}
.card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.card:hover .card__image img {
  transform: scale(1.05);
}

/* ============================================================
   READING PROGRESS BAR (Ratgeber-Artikel)
   ============================================================ */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-accent) 100%);
  z-index: 10001;
  transition: width 0.1s linear;
  pointer-events: none;
}

/* ============================================================
   LINK LIST (Unterseiten-Navigation)
   ============================================================ */
.link-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
}
.link-list li {
  margin-bottom: 1rem;
}
.link-list a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  transition: color var(--transition), gap var(--transition);
}
.link-list a:hover {
  color: var(--color-accent);
  gap: 0.75rem;
}

/* ============================================================
   TABLET BREAKPOINT OPTIMIERUNGEN (769px–960px)
   ============================================================ */
@media (min-width: 769px) and (max-width: 1100px) {
  .header__link {
    padding: 0.5rem 0.55rem;
    font-size: 0.88rem;
  }
  .header__cta {
    padding: 0.5rem 1rem;
    font-size: 0.88rem;
  }
}

@media (min-width: 769px) and (max-width: 960px) {
  .hero__grid {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero__content {
    padding: 3rem 0 2rem;
    text-align: center;
  }
  .hero h1 { max-width: none; }
  .hero__subtitle { max-width: none; margin-left: auto; margin-right: auto; }
  .hero__cta-group { justify-content: center; }
  .hero__trust { justify-content: center; }
  .hero__image-wrapper {
    min-height: 350px;
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
    order: -1;
  }
  .hero__image-wrapper::after { display: none; }

  .card-grid--3 { grid-template-columns: repeat(2, 1fr); }

  .steps { gap: 1.5rem; }
  .step__desc { max-width: 240px; }
}

/* ============================================================
   HOVER ONLY FOR POINTER DEVICES
   ============================================================ */
@media (hover: hover) and (pointer: fine) {
  .card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-6px);
  }
  .card--animal:hover img {
    transform: scale(1.05);
  }
  .card:hover .card__image img {
    transform: scale(1.05);
  }
}
@media (hover: none) {
  .card:hover {
    box-shadow: none;
    transform: none;
  }
  .card--animal:hover img {
    transform: none;
  }
  .card:hover .card__image img {
    transform: none;
  }
}

/* ============================================================
   ARTICLE CONTENT — Comparison Tables
   ============================================================ */

/* Standard comparison table */
.cmp-table       { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.cmp-table--lg   { font-size: 0.95rem; }

/* Table cells — default border + padding */
.cmp-td          { padding: 0.75rem; text-align: center; border: 1px solid var(--color-border); }
.cmp-td--left    { text-align: left; }
.cmp-td--plain   { text-align: left; padding: 0.75rem; border: 1px solid var(--color-border); }
.cmp-td--success { background: var(--color-success-light); }
.cmp-td--danger  { background: var(--color-danger-light); }
.cmp-th          { padding: 0.75rem; text-align: center; border: 1px solid var(--color-border);
                   background: var(--color-primary); color: #fff; font-weight: 600; }
.cmp-th--left    { text-align: left; }

/* Anbieter table cells (smaller padding) */
.cmp-cell        { padding: 12px; }
.cmp-cell--left  { padding: 12px; text-align: left; }
.cmp-cell--head  { padding: 12px; background-color: #f5f5f5; border-bottom: 2px solid #ddd; }

/* Comparison page cells (1rem padding) */
.cmp-pcell       { padding: 1rem; text-align: center; }
.cmp-pcell--bold { padding: 1rem; text-align: center; font-weight: 700; }
.cmp-pcell--head { padding: 1rem; font-weight: 600; }
.cmp-pcell--lbold{ padding: 1rem; text-align: left; font-weight: 700; }

/* Table row separator */
.cmp-row-sep     { border-bottom: 1px solid #e0e0e0; }
.cmp-row-sep--light { border-bottom: 1px solid #eee; }

/* ============================================================
   ARTICLE CONTENT — Callout Boxes
   ============================================================ */
.callout          { padding: 1.5rem; margin: 1.5rem 0; border-radius: var(--border-radius); }
.callout--danger  { border-left: 4px solid var(--color-danger); }
.callout--danger-bg { border-left: 4px solid var(--color-danger); background: var(--color-bg-light); }
.callout--warning { border-left: 4px solid var(--color-warning); background: var(--color-bg-light); }
.callout--info    { border-left: 4px solid var(--color-primary); background: var(--color-bg-light); }
.callout--success { background: var(--color-success-light); padding: 0.75rem; border-radius: 4px; }
.callout__title   { margin-top: 0; }
.callout__title--danger { margin-top: 0; color: var(--color-danger); }
.callout__text    { margin: 0; font-size: 0.95rem; }

/* ============================================================
   ARTICLE CONTENT — Grids & Layout
   ============================================================ */
.cmp-grid         { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; margin-top: 1.5rem; }
.cmp-grid--2      { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.cmp-grid--stack  { display: grid; gap: 1.5rem; }

/* ============================================================
   ARTICLE CONTENT — Utility Classes
   ============================================================ */

/* Backgrounds */
.bg-light    { background: var(--color-bg-light); }
.bg-white    { background: white; }
.bg-success  { background: var(--color-success-light); }

/* Text */
.text-sm     { font-size: 0.9rem; }
.text-xs     { font-size: 0.85rem; }
.text-base   { font-size: 0.95rem; }
.text-lg     { font-size: 1.05rem; }
.text-muted  { color: var(--color-text-light); }
.text-dark   { color: #1a1a1a; }
.text-dark2  { color: #333; }
.text-danger { color: var(--color-danger); }
.text-red    { color: #e74c3c; }
.text-green  { color: #27ae60; }
.text-inverse{ color: #fff; }
.font-semibold { font-weight: 600; }
.font-bold   { font-weight: 700; }

/* Spacing */
.mt-0        { margin-top: 0; }
.mt-05       { margin-top: 0.5rem; }
.mt-1        { margin-top: 1rem; }
.mt-1h       { margin-top: 1.5rem; }
.mt-2        { margin-top: 2rem; }
.mb-05       { margin-bottom: 0.5rem; }
.mb-1        { margin-bottom: 1rem; }
.mb-1h       { margin-bottom: 1.5rem; }
.mx-auto     { margin: 0 auto 1.25rem; }

/* Lists */
.list-indent { margin-left: 1.5rem; line-height: 1.8; }
.list-article{ margin: 0.5rem 0 1rem 1.5rem; }
.list-article--flush { margin: 0.5rem 0 1rem 1.5rem; padding: 0; }
.list-compact{ margin: 0.5rem 0; padding-left: 1.5rem; font-size: 0.9rem; }

/* Alignment */
.text-right  { text-align: right; }
.text-center { text-align: center; }
.text-left   { text-align: left; }

/* Borders */
.border-b    { border-bottom: 1px solid var(--color-border); }
.border-b-2  { border-bottom: 2px solid var(--color-primary); }
.border-t    { border-top: 1px solid var(--color-border); }

/* Table header row */
.cmp-th-row  { background: var(--color-primary-light); border-bottom: 2px solid var(--color-primary); }

/* Article content boxes */
.content-box       { padding: 1.5rem; border: 1px solid var(--color-border); }
.content-box--light{ background: var(--color-bg-light); padding: 1.5rem; border-radius: 8px; margin: 1.5rem 0; }
.content-box--sm   { background: var(--color-bg-light); padding: 1rem; border-radius: 6px; margin: 1rem 0; }
.content-box--danger { background: var(--color-danger-light); padding: 1rem; border-radius: 6px; }
.content-box--danger-sm { background: var(--color-danger-light); padding: 0.75rem; border-radius: 4px; }
.content-box--success { background: var(--color-success-light); padding: 1rem; border-radius: 6px; }

/* Article navigation */
.article-nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--color-border); flex-wrap: wrap; }
.article-meta{ display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; font-size: 0.88rem; margin-top: 0.75rem; }

/* Category tag */
.tag-pill     { padding: 0.15rem 0.6rem; border-radius: 999px; font-size: 0.8rem; }
.tag-pill--primary { background: var(--color-primary-light); color: var(--color-primary); }

/* Utility: Background + Text contrast helpers */
.bg-primary       { background-color: var(--color-primary); color: #FFFFFF; }
.bg-primary th,
.bg-primary td    { color: #FFFFFF; }
.text-inverse     { color: #FFFFFF !important; }
.text-inverse a   { color: rgba(255,255,255,0.9); }

/* Ensure ALL elements on primary backgrounds are white */
.section--bg-primary h1,
.section--bg-primary h2,
.section--bg-primary h3,
.section--bg-primary p,
.section--bg-primary li,
.section--bg-primary a:not(.btn) { color: #FFFFFF; }

.cta-banner h3,
.cta-banner li,
.cta-banner a:not(.btn) { color: #FFFFFF; }

/* Misc */
.no-decoration { text-decoration: none; color: inherit; }
.no-margin   { margin: 0; }
.mb-075      { margin-bottom: 0.75rem; }
.w-half      { width: 50%; }
.italic      { font-style: italic; }

/* ============================================================
   REDUCED MOTION SUPPORT
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ============================================================
   PRINT
   ============================================================ */
@media print {
  .header, .footer, .cookie-banner, .back-to-top, .affiliate-cta, .reading-progress { display: none; }
  body { font-size: 12pt; color: #000; background: #fff; }
  a { color: #000; text-decoration: underline; }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* Anbieter-specific utility classes */
.cmp-note-caption {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: #666;
}

.cmp-card-accent {
  border-left: 4px solid #27ae60;
}

.cmp-card-danger {
  border-left: 4px solid #e74c3c;
}

.cmp-table-wrapper {
  overflow-x: auto;
}

/* ============================================================
   ENHANCED MICROINTERACTIONS & DESIGN-GUIDE POLISH
   (Basierend auf Design-Research-2026 Best Practices)
   ============================================================ */

/* --- Subtile Section-Trenner zwischen Sections --- */
.section + .section {
  position: relative;
}
.section--bg-white + .section:not(.section--bg-white)::before,
.section:not(.section--bg-white) + .section--bg-white::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(90%, var(--max-width));
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--color-border) 20%, var(--color-border) 80%, transparent 100%);
}

/* --- Button Micro-Feedback: Pulse auf Klick --- */
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.btn { position: relative; overflow: hidden; }
.btn:active::after {
  background: rgba(255,255,255,0.2);
  opacity: 1;
}

/* --- Card Focus-Glow (Tastatur-Navigation) --- */
.card:focus-within {
  box-shadow: var(--shadow-glow);
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}
.card--animal:focus-within {
  box-shadow: var(--shadow-glow);
  outline: 2px solid rgba(255,255,255,0.8);
  outline-offset: 2px;
}

/* --- Step Number: Bounce-In Animation --- */
.reveal--visible .step__number {
  animation: stepBounce 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
.reveal--visible .step:nth-child(1) .step__number { animation-delay: 0.1s; }
.reveal--visible .step:nth-child(2) .step__number { animation-delay: 0.25s; }
.reveal--visible .step:nth-child(3) .step__number { animation-delay: 0.4s; }
@keyframes stepBounce {
  0% { transform: scale(0.5); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

/* --- Stat Number Count-Up Effekt via CSS --- */
.reveal--visible .stat__number {
  animation: statFadeIn 0.6s ease-out both;
}
.stats .stat:nth-child(1) .stat__number { animation-delay: 0s; }
.stats .stat:nth-child(2) .stat__number { animation-delay: 0.15s; }
.stats .stat:nth-child(3) .stat__number { animation-delay: 0.3s; }
@keyframes statFadeIn {
  0% { opacity: 0; transform: translateY(12px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* --- Hero Badge: Subtle shimmer --- */
@keyframes badgeShimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}
.hero__badge {
  background-image: linear-gradient(
    110deg,
    var(--color-primary-light) 0%,
    var(--color-primary-light) 40%,
    rgba(91,138,114,0.15) 50%,
    var(--color-primary-light) 60%,
    var(--color-primary-light) 100%
  );
  background-size: 200% 100%;
  animation: badgeShimmer 4s ease-in-out infinite;
}

/* --- CTA Banner: Subtile Dekoration erweitern --- */
.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 300px;
  height: 300px;
  background: rgba(255,255,255,0.04);
  border-radius: 50%;
  pointer-events: none;
}

/* --- Back-to-Top: Entrance animation --- */
.back-to-top {
  opacity: 0;
  transform: translateY(20px);
  transition: background var(--transition), opacity 0.3s ease, transform 0.3s ease;
}
.back-to-top--visible {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}

/* --- Link List: Arrow indicator --- */
.link-list a::before {
  content: '\2192';
  display: inline-block;
  transition: transform var(--transition);
}
.link-list a:hover::before {
  transform: translateX(4px);
}

/* --- Provider Card: Subtle gradient border on hover --- */
.provider-card {
  position: relative;
}
.provider-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--border-radius);
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
  z-index: -1;
  opacity: 0;
  transition: opacity var(--transition);
}
.provider-card:hover::before {
  opacity: 1;
}
.provider-card:hover {
  border-color: transparent;
}

/* --- Affiliate CTA: Pulsierender Attention-Dot --- */
.affiliate-cta::after {
  content: '';
  position: absolute;
  top: 1rem;
  left: 1rem;
  width: 8px;
  height: 8px;
  background: var(--color-accent);
  border-radius: 50%;
  animation: attentionPulse 2s ease-in-out infinite;
}
@keyframes attentionPulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(224,122,95,0.4); }
  50% { opacity: 0.8; box-shadow: 0 0 0 6px rgba(224,122,95,0); }
}

/* --- Artikel-Bilder: Subtle zoom on scroll --- */
.article-content img {
  border-radius: var(--border-radius-sm);
  transition: transform 0.6s ease;
}

/* --- Table of Contents: Sticky sidebar on desktop --- */
@media (min-width: 1100px) {
  .toc--sticky {
    position: sticky;
    top: 90px;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    scrollbar-width: thin;
  }
  .article-layout--toc {
    display: grid;
    grid-template-columns: 1fr 240px;
    gap: 3rem;
    align-items: start;
  }
}

/* --- Comparison Table: Zeilen-Highlight verbessern --- */
.comparison-table tbody tr {
  transition: background var(--transition);
}

/* --- Subtle text selection color --- */
::selection {
  background: rgba(91,138,114,0.2);
  color: var(--color-text);
}

/* --- Smooth scrollbar styling (Webkit) --- */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--color-bg);
}
::-webkit-scrollbar-thumb {
  background: var(--color-border-dark);
  border-radius: 5px;
  border: 2px solid var(--color-bg);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-text-light);
}

/* --- Image lazy-load fade-in --- */
img[loading="lazy"] {
  opacity: 0;
  transition: opacity 0.4s ease;
}
img[loading="lazy"].loaded,
img[loading="lazy"]:not([src=""]) {
  opacity: 1;
}
/* Ensure eager images are always visible */
img[loading="eager"],
img:not([loading]) {
  opacity: 1;
}

/* --- Footer: Subtle hover animation on links --- */
.footer__links a {
  position: relative;
}
.footer__links a::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-text-inverse);
  transition: width var(--transition);
}
.footer__links a:hover::after {
  width: 100%;
}

/* --- Card Overlay: Gradient animation on hover --- */
.card--animal__overlay {
  transition: padding var(--transition);
}
.card--animal:hover .card--animal__overlay {
  padding-bottom: 2.5rem;
}

/* ============================================================
   ENHANCED HOVER-STATES & INTERAKTIONS-FEEDBACK (Phase 2)
   ============================================================ */

/* --- Provider Card: Lift + Transform on hover --- */
.provider-card {
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}
.provider-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.provider-card:active {
  transform: translateY(-1px);
}

/* --- Provider Card CTA Button: Visible state change --- */
.provider-card .btn {
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition), color var(--transition);
}
.provider-card:hover .btn--primary,
.provider-card:hover .btn--accent {
  box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}

/* --- All clickable cards: cursor + focus state --- */
.card[onclick],
.card a,
.provider-card a,
a.card {
  cursor: pointer;
}
.card:focus-within,
.provider-card:focus-within {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
  border-radius: var(--border-radius);
}

/* --- Comparison table: Row hover with left border accent --- */
.comparison-table tbody tr:hover {
  background: var(--color-primary-light);
  box-shadow: inset 3px 0 0 var(--color-primary);
}

/* --- FAQ accordion: Enhanced hover + open state --- */
.faq-question {
  transition: background var(--transition), color var(--transition), padding-left var(--transition);
}
.faq-question:hover {
  background: var(--color-bg-light);
  padding-left: calc(1rem + 4px);
}
.faq-item.active .faq-question {
  background: var(--color-primary-light);
  color: var(--color-primary-dark);
  font-weight: 600;
}

/* --- Links: Underline animation --- */
.article-content a:not(.btn),
.card__body a:not(.btn) {
  text-decoration: none;
  background-image: linear-gradient(var(--color-primary), var(--color-primary));
  background-size: 0% 2px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size var(--transition), color var(--transition);
  padding-bottom: 1px;
}
.article-content a:not(.btn):hover,
.card__body a:not(.btn):hover {
  background-size: 100% 2px;
  color: var(--color-primary-dark);
}

/* --- Breadcrumb: Hover transition --- */
.breadcrumb__link {
  transition: color var(--transition), opacity var(--transition);
}
.breadcrumb__link:hover {
  color: var(--color-primary);
}

/* --- Icon cards (Kontakt, Features): Scale icon on hover --- */
.card__icon {
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover .card__icon {
  transform: scale(1.08);
  box-shadow: 0 4px 12px rgba(91,138,114,0.2);
}

/* --- Trust bar items: Hover effect --- */
.trust-bar__item {
  transition: color var(--transition), transform var(--transition);
}
.trust-bar__item:hover {
  transform: translateY(-2px);
  color: var(--color-primary);
}

/* --- Form inputs: Focus + validation states --- */
.form-group input,
.form-group textarea,
.form-group select,
input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus,
input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus,
select:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(74,122,98,0.15);
  outline: none;
}

/* Validation: Invalid state */
.form-group input:invalid:not(:placeholder-shown),
.form-group textarea:invalid:not(:placeholder-shown),
input:invalid:not(:placeholder-shown) {
  border-color: #D9534F;
  box-shadow: 0 0 0 3px rgba(217,83,79,0.1);
}

/* Validation: Valid state */
.form-group input:valid:not(:placeholder-shown),
.form-group textarea:valid:not(:placeholder-shown),
input[type="email"]:valid:not(:placeholder-shown) {
  border-color: var(--color-primary);
}

/* --- Header nav: Active indicator underline --- */
.header__link {
  position: relative;
}
.header__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  border-radius: 1px;
  transition: width var(--transition), left var(--transition);
}
.header__link:hover::after {
  width: 100%;
  left: 0;
}
.header__link--active::after {
  width: 100%;
  left: 0;
  background: var(--color-accent);
}

/* --- Cookie Banner buttons: Better hover feedback --- */
.cookie-banner__btn--accept {
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.cookie-banner__btn--accept:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(224,122,95,0.3);
}

/* --- Back to top / scroll indicator --- */
@keyframes bounceDown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* --- Micro-interaction: Button press feedback --- */
.btn:active,
.cookie-banner__btn:active {
  transform: translateY(1px) scale(0.98);
  transition-duration: 0.05s;
}

/* --- Focus visible for keyboard navigation --- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* --- Reduced motion: Disable all hover animations --- */
@media (prefers-reduced-motion: reduce) {
  .provider-card:hover,
  .card:hover,
  .btn:hover,
  .trust-bar__item:hover,
  .card:hover .card__icon {
    transform: none !important;
  }
  .article-content a:not(.btn),
  .card__body a:not(.btn) {
    background-image: none !important;
    text-decoration: underline !important;
  }
}

/* ============================================================
   PITCH/STRIPE-INSPIRED LAYOUT COMPONENTS
   ============================================================ */

/* --- Bento Grid: Feature Cards wie Stripe --- */
.bento {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
}
.bento__item {
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-lg);
  padding: 2.25rem;
  transition: box-shadow var(--transition-slow), transform var(--transition-slow);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.bento__item:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}
.bento__item--wide {
  grid-column: span 2;
}
.bento__item--tall {
  grid-row: span 2;
}
.bento__item--accent {
  background: linear-gradient(135deg, #2D5A42 0%, #1E3F2E 100%);
  color: #FFFFFF;
  border: none;
}
.bento__item--accent h3 { color: #FFFFFF; font-size: 1.4rem; }
.bento__item--warm {
  background: linear-gradient(135deg, var(--color-bg-warm) 0%, var(--color-accent-light) 100%);
  border: none;
}
.bento__icon {
  width: 48px;
  height: 48px;
  background: var(--color-primary-light);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--color-primary);
  flex-shrink: 0;
}
.bento__item--accent .bento__icon {
  background: rgba(255,255,255,0.25);
  color: #FFFFFF;
}
.bento__icon svg {
  width: 24px;
  height: 24px;
}
.bento__item h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}
.bento__item p {
  color: var(--color-text-light);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 0;
}
.bento__item.bento__item--accent p {
  color: #FFFFFF;
  font-size: 1.05rem;
  line-height: 1.7;
  text-shadow: 0 1px 2px rgba(0,0,0,0.15);
}
.bento__item.bento__item--accent .bento__link {
  color: #FFFFFF;
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(0,0,0,0.15);
}
.bento__item .btn {
  margin-top: auto;
  align-self: flex-start;
  padding-top: 1.25rem;
}
.bento__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--color-primary);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  margin-top: auto;
  padding-top: 1rem;
  transition: gap var(--transition);
}
.bento__link:hover { gap: 0.7rem; }
.bento__item--accent .bento__link { color: var(--color-text-inverse); }

@media (max-width: 960px) {
  .bento {
    grid-template-columns: repeat(2, 1fr);
  }
  .bento__item--wide { grid-column: span 2; }
}
@media (max-width: 640px) {
  .bento {
    grid-template-columns: 1fr;
  }
  .bento__item--wide { grid-column: span 1; }
  .bento__item--tall { grid-row: span 1; }
}

/* --- Alternating Feature Rows (Stripe-Style) --- */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 4rem 0;
}
.feature-row--reverse {
  direction: rtl;
}
.feature-row--reverse > * {
  direction: ltr;
}
.feature-row__content {
  max-width: 480px;
}
.feature-row__label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}
.feature-row__content h2 {
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  margin-bottom: 1rem;
}
.feature-row__content p {
  color: var(--color-text-light);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.feature-row__visual {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
}
.feature-row__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--border-radius-lg);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.feature-row:hover .feature-row__visual img {
  transform: scale(1.03);
}
.feature-row__visual--card {
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  aspect-ratio: auto;
}

/* Feature Row Separator Line */
.feature-row + .feature-row {
  border-top: 1px solid var(--color-border);
}

@media (max-width: 768px) {
  .feature-row,
  .feature-row--reverse {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 3rem 0;
    direction: ltr;
  }
  .feature-row__content { max-width: none; }
  .feature-row__visual { order: -1; }
}

/* --- Oversized Stats (Stripe-style) --- */
.mega-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
  padding: 4rem 0;
}
.mega-stat__number {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
}
.mega-stat__label {
  font-size: 1rem;
  color: var(--color-text-light);
  font-weight: 500;
  max-width: 200px;
  margin: 0 auto;
  line-height: 1.5;
}

@media (max-width: 640px) {
  .mega-stats {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 3rem 0;
  }
  .mega-stat__number {
    font-size: clamp(2.5rem, 10vw, 3.5rem);
  }
}

/* --- Trust Bar: Prominence Upgrade (Pitch-style) --- */
.trust-section { text-align: center; }
.trust-section__heading {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--color-text-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 2rem;
}
.trust-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2.5rem 3.5rem;
  padding: 1rem 0;
}
.trust-logos__item {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--color-text-light);
  opacity: 0.55;
  transition: opacity var(--transition), color var(--transition);
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.trust-logos__item:hover {
  opacity: 1;
  color: var(--color-text);
}

@media (max-width: 640px) {
  .trust-logos {
    gap: 1.5rem 2rem;
  }
  .trust-logos__item {
    font-size: 0.95rem;
  }
}

/* --- Wide Container für Hero (Stripe-style) --- */
.container--hero {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* --- Hero with Background Image --- */
.hero--bg-image {
  position: relative;
  padding: 7rem 0 6rem;
  text-align: center;
  overflow: hidden;
  min-height: 520px;
  display: flex;
  align-items: center;
}
.hero__bg-image {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__bg-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: brightness(0.35) saturate(0.7);
}
.hero--bg-image::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg,
    rgba(61,50,41,0.55) 0%,
    rgba(61,50,41,0.35) 50%,
    rgba(61,50,41,0.65) 100%);
}
.hero--bg-image .container {
  position: relative;
  z-index: 2;
}
.hero--bg-image .hero__content {
  max-width: 720px;
  margin: 0 auto;
  padding: 0;
}
.hero--bg-image h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  max-width: none;
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin-bottom: 1.5rem;
  color: #FFFFFF;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.hero--bg-image .hero__badge {
  background: rgba(255,255,255,0.15);
  color: #FFFFFF;
  border: 1px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.hero--bg-image .hero__subtitle {
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  color: rgba(255,255,255,0.9);
}
.hero--bg-image .hero__cta-group {
  justify-content: center;
}
.hero--bg-image .hero__trust {
  justify-content: center;
}
.hero--bg-image .hero__trust-item {
  color: rgba(255,255,255,0.85);
}
.hero--bg-image .hero__trust-item svg {
  color: var(--color-accent);
}

@media (max-width: 768px) {
  .hero--bg-image {
    padding: 5rem 0 4rem;
    min-height: 420px;
  }
  .hero--bg-image h1 {
    font-size: clamp(1.8rem, 7vw, 2.6rem);
  }
}
