/* ============================================
   BUCHHALTUNGSVERGLEICH.COM - Stylesheet
   Premium Apple-Inspired Design
   ============================================ */

/* --- Local Fonts (DSGVO-konform) --- */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* --- CSS Variables --- */
:root {
  --primary: #1d1d1f;
  --primary-light: #424245;
  --primary-dark: #000000;
  --accent: #0071e3;
  --accent-light: #4da3ff;
  --accent-dark: #0058b0;
  --accent-subtle: rgba(0, 113, 227, 0.06);
  --success: #34c759;
  --warning: #ff9f0a;
  --danger: #ff3b30;
  --bg: #fbfbfd;
  --bg-white: #ffffff;
  --bg-card: #ffffff;
  --bg-dark: #1d1d1f;
  --text: #1d1d1f;
  --text-light: #6e6e73;
  --text-muted: #aeaeb2;
  --border: rgba(0, 0, 0, 0.08);
  --border-light: rgba(0, 0, 0, 0.04);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.04);
  --shadow: 0 4px 12px rgba(0,0,0,0.06), 0 1px 3px rgba(0,0,0,0.04);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.08), 0 4px 12px rgba(0,0,0,0.04);
  --shadow-xl: 0 24px 60px rgba(0,0,0,0.10), 0 8px 20px rgba(0,0,0,0.04);
  --shadow-card-hover: 0 20px 50px rgba(0,0,0,0.08), 0 8px 20px rgba(0,0,0,0.03);
  --shadow-accent: 0 4px 20px rgba(0, 113, 227, 0.25);
  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-spring: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  --max-width: 1200px;
}

/* --- Dark Mode --- */
[data-theme="dark"] {
  --primary: #f5f5f7;
  --primary-light: #d1d1d6;
  --primary-dark: #ffffff;
  --accent: #4da3ff;
  --accent-light: #6db8ff;
  --accent-dark: #0071e3;
  --accent-subtle: rgba(77, 163, 255, 0.1);
  --success: #30d158;
  --warning: #ffd60a;
  --danger: #ff453a;
  --bg: #1c1c1e;
  --bg-white: #2c2c2e;
  --bg-card: #2c2c2e;
  --bg-dark: #000000;
  --text: #f5f5f7;
  --text-light: #a1a1a6;
  --text-muted: #8e8e93;
  --border: rgba(255, 255, 255, 0.1);
  --border-light: rgba(255, 255, 255, 0.06);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.2);
  --shadow: 0 4px 12px rgba(0,0,0,0.3), 0 1px 3px rgba(0,0,0,0.2);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.4), 0 4px 12px rgba(0,0,0,0.2);
  --shadow-xl: 0 24px 60px rgba(0,0,0,0.5), 0 8px 20px rgba(0,0,0,0.3);
  --shadow-card-hover: 0 20px 50px rgba(0,0,0,0.4), 0 8px 20px rgba(0,0,0,0.2);
  --shadow-accent: 0 4px 20px rgba(77, 163, 255, 0.25);
}

[data-theme="dark"] .navbar {
  background: rgba(28, 28, 30, 0.95);
}

[data-theme="dark"] .hero::before {
  background: radial-gradient(ellipse at center, rgba(77, 163, 255, 0.08) 0%, transparent 70%);
}

[data-theme="dark"] .comparison-table thead {
  background: #3a3a3c;
}

[data-theme="dark"] .comparison-table th.featured-col {
  background: var(--accent-dark);
}

[data-theme="dark"] .section-dark {
  background: #000;
}

[data-theme="dark"] .footer {
  background: #000;
}

[data-theme="dark"] .card-logo,
[data-theme="dark"] .selector-chip-logo {
  filter: none;
}

[data-theme="dark"] .selector-chip.active .selector-chip-logo {
  filter: brightness(10);
}

/* Dark Mode Toggle */
.theme-toggle {
  background: none;
  border: 1.5px solid var(--border);
  border-radius: 50px;
  cursor: pointer;
  padding: 6px 10px;
  font-size: 1.1rem;
  line-height: 1;
  transition: var(--transition);
  color: var(--text);
  display: flex;
  align-items: center;
  margin-left: 8px;
}

.theme-toggle:hover {
  border-color: var(--accent);
  background: var(--accent-subtle);
}

/* --- Reset & Base --- */
*, *::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.6;
  letter-spacing: -0.01em;
  overflow-wrap: break-word;
  word-break: break-word;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--accent-dark);
}

h1, h2, h3 {
  -webkit-hyphens: none;
  hyphens: none;
}

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

/* --- Accessibility --- */
.skip-to-content {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 10000;
  padding: 12px 24px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  text-decoration: none;
}

.skip-to-content:focus {
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
}

*:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

/* --- Utility Classes --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.section-dark {
  background: var(--bg-dark);
  color: #fff;
}

.section-alt {
  background: var(--border-light);
}

.text-center { text-align: center; }
.text-muted { color: var(--text-light); }

.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-primary {
  background: var(--accent-subtle);
  color: var(--accent);
}

.badge-success {
  background: rgba(52, 199, 89, 0.1);
  color: var(--success);
}

.badge-warning {
  background: rgba(255, 159, 10, 0.1);
  color: var(--warning);
}

.badge-new {
  background: linear-gradient(135deg, var(--accent), #8b5cf6);
  color: #fff;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  line-height: 1.4;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-accent);
}

.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(0, 113, 227, 0.35);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid rgba(0, 113, 227, 0.3);
}

.btn-outline:hover {
  background: var(--accent-subtle);
  border-color: var(--accent);
  color: var(--accent);
}

.btn-white {
  background: var(--bg);
  color: var(--primary);
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow);
}

.btn-white:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
}

/* --- Navigation --- */
[id] {
  scroll-margin-top: 90px;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.navbar.scrolled {
  box-shadow: var(--shadow);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary);
  text-decoration: none;
}

.logo-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-links a {
  padding: 8px 16px;
  color: var(--text);
  font-weight: 500;
  font-size: 0.92rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  background: var(--accent-subtle);
  color: var(--accent);
}

.nav-cta {
  margin-left: 8px;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.hamburger span {
  width: 24px;
  height: 2.5px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

/* --- Hero Section --- */
.hero {
  padding: 140px 0 100px;
  background: var(--bg-white);
  color: var(--text);
  position: relative;
  overflow: hidden;
}


.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 120%;
  height: 120%;
  background: radial-gradient(ellipse at center, rgba(0, 113, 227, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero-content > *:nth-child(1) {
  animation: hero-enter 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.1s both;
}

.hero-content > *:nth-child(2) {
  animation: hero-enter 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.2s both;
}

.hero-content > *:nth-child(3) {
  animation: hero-enter 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.3s both;
}

.hero-content > *:nth-child(4) {
  animation: hero-enter 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.4s both;
}

.hero-content > *:nth-child(5) {
  animation: hero-enter 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.5s both;
}

.hero-content > *:nth-child(6) {
  animation: hero-enter 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.6s both;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--accent-subtle);
  color: var(--accent);
  border: 1px solid rgba(0, 113, 227, 0.12);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(2rem, 6vw, 4.2rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
  color: var(--primary);
}

.hero h1 .highlight {
  background: linear-gradient(135deg, var(--accent), #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--text-light);
  opacity: 1;
  margin-bottom: 36px;
  max-width: 620px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.hero-stat {
  text-align: left;
}

.hero-stat .number {
  font-size: 2.4rem;
  font-weight: 800;
  display: block;
  color: var(--primary);
}

.hero-stat .label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* --- Section Headers --- */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}

.section-header .overline {
  display: inline-block;
  padding: 6px 14px;
  background: var(--accent-subtle);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  color: var(--primary);
}

.section-dark .section-header h2 {
  color: #fff;
}

.section-header p {
  font-size: 1.05rem;
  color: var(--text-light);
  line-height: 1.7;
}

.section-dark .section-header p {
  color: rgba(255, 255, 255, 0.7);
}

/* --- Software Cards --- */
.software-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}

.software-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}

.software-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--accent);
}

.software-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), var(--shadow-lg);
  animation: subtle-pulse 3s ease-in-out infinite;
}

.software-card.featured::before {
  content: 'Empfehlung f\00fcr Profis';
  position: absolute;
  top: 16px;
  right: 16px;
  background: linear-gradient(135deg, var(--accent), #8b5cf6);
  color: #fff;
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  z-index: 2;
}

.card-header {
  padding: 32px 32px 0;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.card-logo {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.8rem;
  color: #fff;
  flex-shrink: 0;
}

.card-title h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--primary);
}

.card-title .subtitle {
  font-size: 0.85rem;
  color: var(--text-light);
}

.card-body {
  padding: 20px 32px;
  flex: 1;
}

.card-body p {
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 16px;
}

.card-features {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.card-features li {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  background: var(--accent-subtle);
  color: var(--accent);
  border-radius: 50px;
  font-size: 0.78rem;
}

.card-features li::before {
  content: '\2713';
  color: var(--success);
  font-weight: 700;
}

.card-pricing {
  padding: 16px 32px;
  background: var(--border-light);
  display: flex;
  align-items: center;
  margin-top: auto;
  justify-content: space-between;
}

.card-pricing .price {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
}

.card-pricing .price span {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--text-light);
}

.card-rating {
  display: flex;
  align-items: center;
  gap: 6px;
}

.stars {
  color: #ff9f0a;
  font-size: 0.9rem;
}

.rating-value {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--primary);
}

/* --- Comparison Table --- */
.comparison-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-white);
  box-shadow: var(--shadow);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 900px;
}

.comparison-table thead {
  background: var(--primary);
  color: #fff;
}

.comparison-table th {
  padding: 16px 20px;
  text-align: left;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.comparison-table th.featured-col {
  background: var(--accent);
}

.comparison-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.9rem;
  vertical-align: middle;
}

.comparison-table tbody tr:hover {
  background: var(--accent-subtle);
}

.comparison-table .feature-name {
  font-weight: 600;
  color: var(--primary);
  min-width: 180px;
}

.comparison-table .category-row {
  background: var(--border-light);
}

.comparison-table .category-row td {
  font-weight: 700;
  color: var(--primary);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 10px 20px;
}

.check { color: var(--success); font-weight: 700; font-size: 1.1rem; }
.cross { color: var(--text-muted); font-size: 1.1rem; }
.partial { color: var(--warning); font-weight: 700; font-size: 1.1rem; }

.featured-col-body {
  background: rgba(0, 113, 227, 0.04);
}

/* --- News Feed --- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 24px;
}

.news-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card-hover);
}

.news-card-img {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  position: relative;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  background-size: cover;
}

.news-card:hover .news-card-img {
  transform: scale(1.05);
}

.news-card-img .date-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 500;
  backdrop-filter: blur(10px);
}

.news-card-body {
  padding: 24px;
  flex: 1;
}

.news-card-body .news-tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

.tag-update { background: var(--accent-subtle); color: var(--accent); }
.tag-acquisition { background: rgba(255, 159, 10, 0.1); color: var(--warning); }
.tag-new { background: rgba(52, 199, 89, 0.1); color: var(--success); }
.tag-feature { background: rgba(139, 92, 246, 0.1); color: #8b5cf6; }

.news-card-body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--primary);
  line-height: 1.4;
}

.news-card-body p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
}

.news-card-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.news-card-footer .read-more {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* --- Books Section --- */
.books-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.book-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.book-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card-hover);
}

.book-cover {
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: var(--bg);
  padding: 20px;
}

.book-cover img {
  max-height: 240px;
  max-width: 180px;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 4px 4px 20px rgba(0, 0, 0, 0.2);
  transition: var(--transition);
}

.book-card:hover .book-cover img {
  transform: scale(1.05);
}

.book-info {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.book-info .price-row {
  margin-top: auto;
  padding-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.book-info h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--primary);
  line-height: 1.4;
}

.book-info .author {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 8px;
}

.book-info .book-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 12px;
}

.book-info .book-price {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
}

.affiliate-note {
  text-align: center;
  margin-top: 40px;
  padding: 20px;
  background: var(--border-light);
  border-radius: var(--radius);
  font-size: 0.85rem;
  color: var(--text-light);
}

/* --- Footer --- */
.footer {
  background: var(--bg-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-top: 16px;
}

.footer h4 {
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
}

/* --- Knowledge Hub --- */
.knowledge-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.knowledge-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 32px;
  transition: var(--transition);
  text-decoration: none;
  color: inherit;
  display: block;
}

.knowledge-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--accent);
  color: inherit;
}

.knowledge-card .icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.knowledge-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--primary);
}

.knowledge-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* --- Floating Elements (decorative) --- */
.float-shapes {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
}

.float-shapes .shape {
  position: absolute;
  border-radius: 50%;
  opacity: 1;
  background: radial-gradient(circle, rgba(0, 113, 227, 0.04), transparent);
}

.float-shapes .shape:nth-child(1) {
  width: 400px;
  height: 400px;
  top: -100px;
  right: -100px;
  animation: float 8s ease-in-out infinite;
}

.float-shapes .shape:nth-child(2) {
  width: 200px;
  height: 200px;
  bottom: 50px;
  right: 200px;
  animation: float 6s ease-in-out infinite 1s;
}

.float-shapes .shape:nth-child(3) {
  width: 120px;
  height: 120px;
  top: 40%;
  right: 50px;
  animation: float 7s ease-in-out infinite 2s;
}

/* --- Newsletter --- */
.newsletter-box {
  background: var(--accent);
  border-radius: var(--radius-xl);
  padding: 56px 48px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.newsletter-box h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.newsletter-box p {
  font-size: 0.95rem;
  opacity: 0.85;
  margin-bottom: 28px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 460px;
  margin: 0 auto;
}

.newsletter-form input {
  flex: 1;
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  border: 2px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.newsletter-form input:focus {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.2);
}

/* --- Target Group Cards --- */
.target-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.target-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 36px 28px;
  text-align: center;
  transition: var(--transition);
}

.target-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card-hover);
}

.target-card .target-icon {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 20px;
}

.target-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--primary);
}

.target-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* --- Breadcrumb --- */
.breadcrumb {
  padding: 100px 0 20px;
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  font-size: 0.85rem;
}

.breadcrumb-list li + li::before {
  content: '/';
  margin-right: 8px;
  color: var(--text-muted);
}

.breadcrumb-list a {
  color: var(--text-light);
}

.breadcrumb-list .current {
  color: var(--text);
  font-weight: 600;
}

/* --- Filter Buttons --- */
.filter-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 32px;
  justify-content: center;
}

.filter-btn {
  padding: 8px 20px;
  border-radius: 50px;
  border: 1px solid var(--border);
  background: var(--bg-white);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  color: var(--text-light);
}

.filter-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-subtle);
}

.filter-btn.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

/* --- Page Header --- */
.page-header {
  padding: 140px 0 72px;
  background: var(--bg-white);
  color: var(--text);
  border-bottom: 1px solid var(--border);
}

.page-header h1 {
  font-size: clamp(1.6rem, 4.5vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--primary);
  letter-spacing: -0.02em;
}

.page-header p {
  font-size: 1.1rem;
  color: var(--text-light);
  opacity: 1;
  max-width: 600px;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .target-grid {
    grid-template-columns: 1fr;
  }
  .hero-stats {
    gap: 32px;
  }
}

@media (max-width: 768px) {
  h1, h2, h3 {
    -webkit-hyphens: auto;
    hyphens: auto;
  }

  .hamburger {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--bg-white);
    flex-direction: column;
    padding: 16px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
  }

  .nav-links.open {
    display: flex;
  }

  .hero {
    padding: 120px 0 60px;
  }

  .hero-stats {
    flex-direction: column;
    gap: 20px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .software-grid {
    grid-template-columns: 1fr;
  }

  .news-grid {
    grid-template-columns: 1fr;
  }

  .books-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .section {
    padding: 60px 0;
  }

  .newsletter-box {
    padding: 32px 20px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
  .hero {
    padding: 120px 0 48px;
  }
  .hero h1 {
    line-height: 1.2;
  }
  .hero p {
    font-size: 1rem;
  }
  .hero-stats {
    gap: 24px;
    flex-wrap: wrap;
  }
  .hero-stat .number {
    font-size: 1.8rem;
  }
  .books-grid {
    grid-template-columns: 1fr;
  }
  .knowledge-grid {
    grid-template-columns: 1fr;
  }
  .software-grid {
    grid-template-columns: 1fr;
  }
  .ratgeber-grid {
    grid-template-columns: 1fr;
  }
}

/* --- Animations & Keyframes --- */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

@keyframes hero-enter {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes subtle-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 113, 227, 0.15); }
  50% { box-shadow: 0 0 0 8px rgba(0, 113, 227, 0); }
}

/* --- Scroll Animation --- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-in-stagger.visible > * {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-stagger.visible > *:nth-child(1) { transition-delay: 0ms; }
.fade-in-stagger.visible > *:nth-child(2) { transition-delay: 60ms; }
.fade-in-stagger.visible > *:nth-child(3) { transition-delay: 120ms; }
.fade-in-stagger.visible > *:nth-child(4) { transition-delay: 180ms; }
.fade-in-stagger.visible > *:nth-child(5) { transition-delay: 240ms; }
.fade-in-stagger.visible > *:nth-child(6) { transition-delay: 300ms; }
.fade-in-stagger.visible > *:nth-child(n+7) { transition-delay: 350ms; }

/* --- Tooltip --- */
.tooltip {
  position: relative;
  cursor: help;
  border-bottom: 1px dotted var(--text-muted);
}

.tooltip:hover::after {
  content: attr(data-tip);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  padding: 8px 14px;
  background: var(--primary);
  color: #fff;
  font-size: 0.78rem;
  border-radius: 6px;
  white-space: nowrap;
  z-index: 10;
}

/* --- Pros/Cons --- */
.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 16px 0;
}

.pros-list, .cons-list {
  list-style: none;
}

.pros-list li, .cons-list li {
  padding: 6px 0;
  font-size: 0.9rem;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.pros-list li::before {
  content: '+';
  color: var(--success);
  font-weight: 800;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.cons-list li::before {
  content: '\2212';
  color: var(--danger);
  font-weight: 800;
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* --- Quick Info Box --- */
.quick-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin: 24px 0;
}

.quick-info-item {
  background: var(--border-light);
  border-radius: var(--radius-sm);
  padding: 16px;
  text-align: center;
}

.quick-info-item .qi-label {
  font-size: 0.78rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.quick-info-item .qi-value {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
}

/* --- Search Bar --- */
.search-box {
  max-width: 500px;
  margin: 0 auto 40px;
  position: relative;
}

.search-box input {
  width: 100%;
  padding: 14px 20px 14px 48px;
  border-radius: 50px;
  border: 2px solid var(--border);
  background: var(--bg-white);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
}

.search-box input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.1);
}

.search-box .search-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* ---- Knowledge Content Cards ---- */
.content-grid {
  display: grid;
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.content-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 32px;
}

.content-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
}

.content-card p {
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 12px;
}

.content-card p:last-child {
  margin-bottom: 0;
}

/* ---- Wissen Hero Search ---- */
.search-box--hero {
  max-width: 560px;
  margin-top: 32px;
}

.search-box--hero .search-icon {
  color: var(--text-muted);
}

.search-box--hero input {
  background: var(--bg-white);
  border-color: var(--border);
  color: var(--text);
}

/* ---- Legal Pages ---- */
.section h2 {
  margin-top: 32px;
}

.section h3 {
  margin-top: 24px;
}

.section h4 {
  margin-top: 16px;
}

.section ul {
  padding-left: 24px;
  margin: 12px 0;
}

.section ul li {
  margin-bottom: 6px;
  color: var(--text-light);
  line-height: 1.7;
}

/* --- Back to Top Button --- */
#back-to-top {
  display: none;
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-white);
  color: var(--text);
  border: 1px solid var(--border);
  cursor: pointer;
  font-size: 1.2rem;
  box-shadow: var(--shadow-lg);
  z-index: 999;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  backdrop-filter: blur(10px);
}

#back-to-top:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

/* ============================================
   COMPARISON SELECTOR
   ============================================ */
.comparison-selector {
  max-width: 800px;
  margin: 0 auto 32px;
  text-align: center;
}

.comparison-selector-label {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 12px;
  font-weight: 500;
}

.comparison-selector-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.selector-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 50px;
  border: 1.5px solid var(--border);
  background: var(--bg-white);
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  color: var(--text-light);
}

.selector-chip:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-subtle);
}

.selector-chip.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.selector-chip-logo {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  object-fit: contain;
}

.selector-chip.active .selector-chip-logo {
  filter: brightness(10);
}

.comparison-reset {
  margin-top: 12px;
  transition: opacity 0.3s ease;
}

.comparison-reset.hidden {
  opacity: 0;
  pointer-events: none;
}

.comparison-selector-hint {
  font-size: 0.8rem;
  color: var(--warning);
  margin-top: 8px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.comparison-selector-hint.visible {
  opacity: 1;
}

/* ============================================
   USER RATING
   ============================================ */
.user-rating {
  margin: 20px 0;
  padding: 20px 24px;
  background: var(--accent-subtle, rgba(0,113,227,0.04));
  border-radius: var(--radius-sm);
  border: 1px solid rgba(0,113,227,0.08);
}

.user-rating-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  flex-wrap: wrap;
  gap: 8px;
}

.user-rating-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
}

.user-rating-editorial {
  font-size: 0.85rem;
  color: var(--text-light);
}

.user-rating-stars {
  display: flex;
  gap: 4px;
}

.star-btn {
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.15s ease, transform 0.15s ease;
  padding: 2px;
  line-height: 1;
}

.star-btn:hover {
  transform: scale(1.15);
}

.star-btn.filled {
  color: var(--warning);
}

.star-btn.hovered {
  color: var(--warning);
  opacity: 0.7;
}

.user-rating-thanks {
  font-size: 0.85rem;
  color: var(--success);
  margin-top: 8px;
  animation: hero-enter 0.4s ease both;
}

/* ============================================
   SOFTWARE FINDER QUIZ
   ============================================ */
.finder-quiz {
  max-width: 720px;
  margin: 0 auto;
}

.finder-progress {
  height: 4px;
  background: var(--border);
  border-radius: 50px;
  margin-bottom: 40px;
  overflow: hidden;
}

.finder-progress-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 50px;
  transition: width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  width: 0%;
}

.finder-step {
  display: none;
}

.finder-step.active {
  display: block;
  animation: hero-enter 0.4s ease both;
}

.finder-question {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 8px;
  text-align: center;
  color: var(--primary);
}

.finder-question-desc {
  font-size: 0.9rem;
  color: var(--text-light);
  text-align: center;
  margin-bottom: 24px;
}

.finder-options {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}

.finder-option {
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  font-family: var(--font);
}

.finder-option:hover {
  border-color: var(--accent);
  background: var(--accent-subtle);
}

.finder-option.selected {
  border-color: var(--accent);
  background: var(--accent-subtle);
  box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.15);
}

.finder-option-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 8px;
}

.finder-option-label {
  font-weight: 700;
  font-size: 0.95rem;
  display: block;
  color: var(--primary);
}

.finder-option-desc {
  font-size: 0.82rem;
  color: var(--text-light);
  display: block;
  margin-top: 4px;
}

.finder-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 32px;
}

.finder-nav .finder-prev {
  visibility: hidden;
}

.finder-nav .finder-prev.visible {
  visibility: visible;
}

.finder-result {
  animation: hero-enter 0.6s ease both;
}

.finder-result-header {
  text-align: center;
  margin-bottom: 32px;
}

.finder-result-header h2 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.finder-result-header p {
  color: var(--text-light);
}

.finder-result-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 32px;
  margin-bottom: 16px;
  transition: var(--transition);
}

.finder-result-card.top-pick {
  border: 2px solid var(--accent);
  box-shadow: var(--shadow-lg);
}

.finder-result-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.finder-result-card-header .card-logo {
  flex-shrink: 0;
}

.finder-match {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent);
  margin-left: auto;
}

.finder-reasons {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}

.finder-reasons li {
  padding: 6px 0;
  padding-left: 24px;
  position: relative;
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.6;
}

.finder-reasons li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 700;
}

.finder-restart {
  text-align: center;
  margin-top: 32px;
}

/* ============================================
   RATGEBER / BLOG
   ============================================ */
.article-hero {
  padding: 140px 0 60px;
  background: linear-gradient(135deg, var(--primary) 0%, #2c3e50 100%);
  color: #fff;
  position: relative;
}

[data-theme="dark"] .article-hero {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%);
}

.article-hero .container {
  max-width: 740px;
}

.article-hero .hero-badge {
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.9);
  border-color: rgba(255,255,255,0.15);
}

.article-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: #fff;
}

.article-meta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
}

.article-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.article-body {
  max-width: 740px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text);
}

.article-body h2 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-top: 48px;
  margin-bottom: 16px;
  color: var(--primary);
  letter-spacing: -0.01em;
}

.article-body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-top: 32px;
  margin-bottom: 12px;
  color: var(--primary);
}

.article-body p {
  margin-bottom: 20px;
  color: var(--text-light);
}

.article-body strong {
  color: var(--text);
  font-weight: 600;
}

.article-body ul,
.article-body ol {
  padding-left: 24px;
  margin-bottom: 20px;
}

.article-body li {
  margin-bottom: 8px;
  color: var(--text-light);
  line-height: 1.7;
}

.article-body a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: rgba(0, 113, 227, 0.3);
  text-underline-offset: 3px;
}

.article-body a:hover {
  text-decoration-color: var(--accent);
}

.article-infobox {
  background: var(--accent-subtle);
  border: 1px solid rgba(0, 113, 227, 0.12);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin: 32px 0;
}

.article-infobox h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 12px;
}

.article-infobox p,
.article-infobox li {
  font-size: 0.95rem;
}

.article-cta {
  background: var(--bg-card);
  border: 2px solid var(--accent);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  margin: 48px 0;
}

.article-cta h3 {
  margin-top: 0;
  margin-bottom: 8px;
}

.article-cta p {
  margin-bottom: 20px;
}

/* Ratgeber Overview Cards */
.ratgeber-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}

.ratgeber-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: var(--transition);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}

.ratgeber-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--accent);
  color: inherit;
}

.ratgeber-card-img {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.ratgeber-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.ratgeber-card-body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--primary);
  line-height: 1.4;
}

.ratgeber-card-body p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
  flex: 1;
}

.ratgeber-card-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .ratgeber-grid {
    grid-template-columns: 1fr;
  }
  .article-hero {
    padding: 120px 0 40px;
  }
  .article-body {
    font-size: 1rem;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .finder-options {
    grid-template-columns: 1fr;
  }
  .finder-match {
    margin-left: 0;
    font-size: 1.4rem;
  }
  .comparison-selector-chips {
    gap: 6px;
  }
  .selector-chip {
    font-size: 0.8rem;
    padding: 6px 12px;
  }
  .selector-chip-logo {
    width: 16px;
    height: 16px;
  }
}

/* --- Reduced Motion --- */
@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;
  }
}
