/* ============================================
   Trendcurve - Custom Styles
   Farben aus der App: src/components/colors.ts
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  /* Primärfarben identisch zur App */
  --color-primary: #2196f3;
  --color-primary-dark: #1976d2;
  --color-primary-deep: #0d47a1;
  --color-primary-bright: #42a5f5;
  --color-primary-tint: #e3f2fd;

  /* Neutrale, leicht kühle Skala - passt zum Blau */
  --color-ink: #101720;
  --color-white: #ffffff;
  --color-surface: #ffffff;
  --color-surface-soft: #f5f8fc;
  --color-border: #e2e8f0;
  --color-text: #101720;
  --color-text-muted: #5b6774;

  /* Semantik wie in der App */
  --color-positive: #27ae60;
  --color-negative: #e74c3c;

  --radius-sm: 10px;
  --radius-lg: 18px;
  --navbar-height: 72px;
}

/* --- Global --- */
html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--navbar-height);
  overflow-x: hidden;
}

body {
  font-family:
    "Inter",
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    Oxygen,
    Ubuntu,
    Cantarell,
    "Helvetica Neue",
    sans-serif;
  font-weight: 450;
  font-size: 16px;
  line-height: 1.55;
  color: var(--color-text);
  background-color: var(--color-surface);
  padding-top: var(--navbar-height);
  overflow-x: hidden;
}

/* --- Bootstrap Overrides --- */
.btn-primary {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
  border-radius: var(--radius-sm);
  font-weight: 600;
  border: none;
  transition: filter 0.2s ease;
}
.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
  filter: brightness(0.93);
}
.btn-primary:active {
  background-color: var(--color-primary-dark) !important;
  border-color: var(--color-primary-dark) !important;
  color: var(--color-white) !important;
}

.btn-outline-primary {
  color: var(--color-primary-dark);
  border-color: var(--color-border);
  border-radius: var(--radius-sm);
  font-weight: 600;
}
.btn-outline-primary:hover,
.btn-outline-primary:focus {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
}

a {
  color: var(--color-primary-dark);
  text-decoration: underline;
}
a:hover {
  color: var(--color-primary-dark);
  opacity: 0.8;
}

/* --- Navbar --- */
.navbar {
  background-color: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition:
    border-color 0.3s ease,
    padding 0.3s ease;
  padding-top: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid transparent;
}
.navbar.scrolled {
  border-bottom-color: var(--color-border);
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}
.navbar-brand {
  color: var(--color-ink) !important;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.2px;
  text-decoration: none;
}
.navbar-brand img {
  vertical-align: middle;
  border-radius: 8px;
}
.nav-link {
  color: var(--color-ink) !important;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.2;
  padding: 0.5rem 1rem !important;
  transition: color 0.2s ease;
  text-decoration: none;
}
.nav-link:hover,
.nav-link.active {
  color: var(--color-primary) !important;
}
.btn-download-nav {
  background-color: var(--color-primary) !important;
  color: var(--color-white) !important;
  border-radius: var(--radius-sm) !important;
  padding: 0.5rem 1.2rem !important;
  font-size: 16px;
  font-weight: 600;
  transition: filter 0.2s ease;
  text-decoration: none;
}
.btn-download-nav:hover {
  filter: brightness(0.93);
  color: var(--color-white) !important;
}

/* --- Hero Section --- */
.hero-section {
  min-height: calc(100vh - var(--navbar-height));
  display: flex;
  align-items: center;
  padding: 3rem 0;
  background: linear-gradient(135deg, #2196f3 0%, #1976d2 52%, #0d47a1 100%);
  overflow: hidden;
}
.hero-section h1 {
  font-size: clamp(34px, 4.8vw, 60px);
  font-weight: 600;
  color: #ffffff;
  line-height: 1.04;
  letter-spacing: -1.4px;
}
.hero-section .lead {
  font-size: clamp(16px, 2vw, 19px);
  font-weight: 450;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.85);
  max-width: 520px;
}
.hero-section .btn-hero {
  font-size: 16px;
  font-weight: 700;
  padding: 0.8rem 2rem;
  border-radius: var(--radius-sm);
  background-color: var(--color-white);
  border-color: var(--color-white);
  color: var(--color-primary-dark);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}
.hero-section .btn-hero:hover,
.hero-section .btn-hero:focus {
  background-color: var(--color-white);
  border-color: var(--color-white);
  color: var(--color-primary-dark);
  filter: brightness(0.96);
}
.hero-subtitle {
  color: rgba(255, 255, 255, 0.72) !important;
}

/* --- Hero: Screenshot-Karussell im Telefonrahmen --- */
.hero-phone-frame {
  width: 320px;
  max-width: 100%;
  margin: 0 auto;
  border-radius: 40px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(9, 34, 62, 0.35);
  box-shadow: 0 28px 70px rgba(4, 24, 48, 0.35);
}
/* aspect-ratio hält die Höhe, bevor das erste Bild da ist - sonst springt
   der Hero beim Laden. Das Verhältnis ist der Zuschnitt der Screenshots. */
.hero-screenshot-carousel {
  position: relative;
  aspect-ratio: 1122 / 2338;
  border-radius: 32px;
  overflow: hidden;
  background: var(--color-surface-soft);
}
.hero-screenshot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  opacity: 0;
  transition: opacity 0.8s ease;
}
.hero-screenshot.active {
  opacity: 1;
}
.hero-example-note {
  text-align: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.75);
  margin: 0.75rem 0 0;
}

/* --- Sections General --- */
.section {
  padding: 84px 0;
}
.section-gray {
  background-color: var(--color-surface-soft);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.section-title {
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -1.2px;
  color: var(--color-ink);
  margin-bottom: 1rem;
}
.section-subtitle {
  color: var(--color-text-muted);
  font-weight: 450;
  line-height: 1.55;
  max-width: 620px;
  margin: 0 auto 3rem;
}

/* --- Screenshot Gallery --- */
/* Die Kacheln laufen als Scroller bis an den Rand, beginnen aber bündig mit
   dem Container darüber. --shot-edge spiegelt dafür die Container-Breiten von
   Bootstrap (inklusive der 0.75rem Gutter-Hälfte). */
.screenshot-scroll {
  --shot-edge: 0.75rem;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 0.5rem;
}
.screenshot-scroll::-webkit-scrollbar {
  display: none;
}
.screenshot-track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  padding: 0 var(--shot-edge);
}
.screenshot-item {
  flex: 0 0 auto;
  width: 260px;
  margin: 0;
  scroll-snap-align: center;
}
.screenshot-item img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  transition: transform 0.3s ease;
}
.screenshot-item img:hover {
  transform: translateY(-4px);
}
@media (prefers-reduced-motion: reduce) {
  .screenshot-item img {
    transition: none;
  }
  .screenshot-item img:hover {
    transform: none;
  }
}
@media (max-width: 575.98px) {
  .screenshot-scroll {
    scroll-snap-type: x mandatory;
  }
  .screenshot-track {
    gap: 1rem;
  }
  .screenshot-item {
    width: 220px;
  }
}
@media (min-width: 576px) {
  .screenshot-scroll {
    --shot-edge: calc((100% - 540px) / 2 + 0.75rem);
  }
}
@media (min-width: 768px) {
  .screenshot-scroll {
    --shot-edge: calc((100% - 720px) / 2 + 0.75rem);
  }
}
@media (min-width: 992px) {
  .screenshot-scroll {
    --shot-edge: calc((100% - 960px) / 2 + 0.75rem);
  }
}
@media (min-width: 1200px) {
  .screenshot-scroll {
    --shot-edge: calc((100% - 1140px) / 2 + 0.75rem);
  }
}
@media (min-width: 1400px) {
  .screenshot-scroll {
    --shot-edge: calc((100% - 1320px) / 2 + 0.75rem);
  }
}

/* --- Feature Cards --- */
.feature-card {
  text-align: left;
  padding: 1.75rem 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  transition:
    transform 0.3s ease,
    border-color 0.3s ease;
  height: 100%;
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-primary-bright);
}
.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background-color: var(--color-primary-tint);
  color: var(--color-primary-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.1rem;
}
.feature-card h3 {
  font-size: 19px;
  font-weight: 650;
  line-height: 1.25;
  letter-spacing: -0.3px;
  color: var(--color-ink);
}
.feature-card p {
  color: var(--color-text-muted);
  font-size: 15.5px;
  font-weight: 450;
  line-height: 1.55;
  margin-bottom: 0;
}

/* --- Feature Carousel (mobile only) --- */
.feature-carousel {
  display: none;
}

@keyframes feature-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 767.98px) {
  #features .row.g-4 {
    display: none !important;
  }
  .feature-carousel {
    display: block;
    overflow: hidden;
    padding: 1rem 0;
  }
  .feature-carousel-track {
    display: flex;
    gap: 1rem;
    width: max-content;
    animation: feature-marquee 50s linear infinite;
  }
  .feature-carousel:hover .feature-carousel-track,
  .feature-carousel:active .feature-carousel-track {
    animation-play-state: paused;
  }
  .feature-carousel-item {
    flex-shrink: 0;
    width: 280px;
  }
  .feature-carousel-item .feature-card {
    height: 100%;
  }
}

@media (max-width: 767.98px) and (prefers-reduced-motion: reduce) {
  .feature-carousel {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .feature-carousel::-webkit-scrollbar {
    display: none;
  }
  .feature-carousel-track {
    animation: none;
  }
}

/* --- How It Works --- */
.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: var(--color-primary);
  color: var(--color-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.step-connector {
  display: none;
}
@media (min-width: 768px) {
  .step-connector {
    display: block;
    position: absolute;
    top: 28px;
    left: calc(50% + 28px);
    width: calc(100% - 56px);
    height: 2px;
    background: var(--color-border);
  }
}

/* --- Warum der Trend zählt: Rauschen vs. Signal --- */
.why-feature-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  color: var(--color-text-muted);
}
.why-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.why-feature-list i {
  color: var(--color-primary);
  flex-shrink: 0;
  line-height: 1.55;
}
.why-note {
  margin-top: 1.5rem;
  padding: 0.9rem 1.1rem;
  border-left: 3px solid var(--color-primary);
  background: var(--color-primary-tint);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--color-ink);
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 0;
}
.noise-chart-frame {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1rem 1rem;
  box-shadow: 0 16px 40px rgba(16, 23, 32, 0.06);
}
.noise-chart {
  display: block;
  width: 100%;
  height: auto;
}
.noise-chart-grid line {
  stroke: var(--color-border);
  stroke-width: 1;
}
.noise-chart-dots circle {
  fill: var(--color-primary);
  opacity: 0.4;
}
.noise-chart-line {
  fill: none;
  stroke: var(--color-primary);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.noise-chart-legend {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  font-size: 13px;
  color: var(--color-text-muted);
  padding-top: 0.5rem;
}
.noise-chart-legend span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}
.noise-chart-legend span::before {
  content: "";
  display: inline-block;
  background: var(--color-primary);
}
.noise-chart-legend .legend-daily::before {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  opacity: 0.45;
}
.noise-chart-legend .legend-trend::before {
  width: 18px;
  height: 3px;
  border-radius: 2px;
}

/* --- Premium / Pro Section --- */
.premium-section {
  background: var(--color-surface);
}
.pro-badge {
  display: inline-block;
  background: var(--color-primary);
  color: var(--color-white);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.08em;
  padding: 0.3rem 1rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}
.comparison-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: var(--color-white);
}
.comparison-table thead th {
  padding: 1.1rem 1.25rem;
  font-weight: 700;
  font-size: 1rem;
  border-bottom: 1px solid var(--color-border);
  text-align: center;
}
.comparison-table thead th:first-child {
  text-align: left;
}
.comparison-table thead th.col-free {
  background: var(--color-white);
  color: var(--color-text-muted);
}
.comparison-table thead th.col-pro {
  background: var(--color-primary-tint);
  color: var(--color-primary-deep);
}
.comparison-table tbody td {
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid var(--color-border);
  font-size: 15.5px;
  font-weight: 450;
  text-align: center;
  vertical-align: middle;
}
.comparison-table tbody td:first-child {
  text-align: left;
  font-weight: 550;
  color: var(--color-ink);
}
.comparison-table tbody td.col-free {
  color: var(--color-text-muted);
}
.comparison-table tbody td.col-pro {
  color: var(--color-ink);
  font-weight: 550;
  background: rgba(227, 242, 253, 0.4);
}
.comparison-table tbody tr:last-child td {
  border-bottom: none;
}
.comparison-table .check-icon {
  color: var(--color-primary);
  font-size: 1.2rem;
}
.comparison-table .cross-icon {
  color: var(--color-border);
  font-size: 1.2rem;
}
.btn-premium {
  background: var(--color-primary);
  color: var(--color-white);
  font-weight: 700;
  font-size: 16px;
  padding: 0.8rem 2.5rem;
  border-radius: var(--radius-sm);
  border: none;
  transition:
    transform 0.2s ease,
    filter 0.2s ease;
}
.btn-premium:hover {
  transform: translateY(-2px);
  filter: brightness(0.93);
  color: var(--color-white);
}

/* --- Privacy / Datenschutz Section --- */
.privacy-section {
  background: var(--color-surface);
}
.privacy-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--color-primary-tint);
  color: var(--color-primary-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

/* --- FAQ --- */
.accordion-button:not(.collapsed) {
  background-color: var(--color-primary-tint);
  color: var(--color-primary-deep);
  box-shadow: none;
}
.accordion-button:focus {
  box-shadow: 0 0 0 2px rgba(33, 150, 243, 0.3);
  border-color: var(--color-primary);
}
.accordion-item {
  border-color: var(--color-border);
  margin-bottom: 0.5rem;
  border-radius: var(--radius-sm) !important;
  overflow: hidden;
}
.accordion-body {
  color: var(--color-text-muted);
}

/* --- CTA Section --- */
.cta-section {
  background: linear-gradient(135deg, #2196f3 0%, #1565c0 100%);
  color: var(--color-white);
  text-align: center;
}
.cta-section h2 {
  color: var(--color-white);
  font-weight: 600;
  font-size: clamp(28px, 3vw, 42px);
  letter-spacing: -1.2px;
}
.cta-section p {
  color: rgba(255, 255, 255, 0.85);
}
.cta-section .btn-cta {
  background: var(--color-white);
  color: var(--color-primary-dark);
  font-weight: 700;
  font-size: 16px;
  padding: 0.8rem 2.5rem;
  border-radius: var(--radius-sm);
  border: none;
  transition:
    transform 0.2s ease,
    filter 0.2s ease;
}
.cta-section .btn-cta:hover {
  transform: translateY(-2px);
  filter: brightness(0.96);
  color: var(--color-primary-dark);
}

/* --- Footer --- */
.site-footer {
  background-color: var(--color-ink);
  color: rgba(255, 255, 255, 0.7);
  padding: 4rem 0 2rem;
}
.site-footer h3,
.site-footer h4 {
  color: var(--color-white);
  font-weight: 600;
}
.site-footer h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}
.site-footer h4 {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.55);
}
.site-footer a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s ease;
}
.site-footer a:hover {
  color: var(--color-primary-bright);
}
.site-footer a.btn-primary,
.site-footer a.btn-primary:hover {
  color: var(--color-white);
}
.site-footer ul li {
  margin-bottom: 0.4rem;
}
.site-footer hr {
  border-color: rgba(255, 255, 255, 0.15);
  margin: 2rem 0 1rem;
}
.site-footer p {
  font-size: 14px;
  font-weight: 450;
}

/* --- Cookie Banner --- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-white);
  border-top: 1px solid var(--color-border);
  box-shadow: 0 -8px 24px rgba(16, 23, 32, 0.08);
  z-index: 9999;
  padding: 1rem 0;
}
.cookie-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.cookie-banner-inner p {
  margin: 0;
  font-size: 14px;
  color: var(--color-text);
  flex: 1;
  min-width: 200px;
}
.cookie-banner-actions {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}
.cookie-banner-actions .btn {
  border-radius: var(--radius-sm);
}

/* --- Blog --- */
.blog-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition:
    transform 0.3s ease,
    border-color 0.3s ease;
  height: 100%;
  background: var(--color-white);
}
.blog-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-primary-bright);
}
.blog-card .card-body {
  padding: 1.5rem;
}
.blog-card .card-title {
  font-weight: 650;
  letter-spacing: -0.3px;
  color: var(--color-ink);
}
.blog-card .card-title a {
  color: var(--color-ink);
  text-decoration: none;
}
.blog-card .card-title a:hover {
  color: var(--color-primary-dark);
}
.blog-date {
  font-size: 14px;
  font-weight: 450;
  color: var(--color-text-muted);
}
.blog-tag {
  display: inline-block;
  background: var(--color-primary-tint);
  color: var(--color-primary-deep);
  font-size: 12px;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-weight: 600;
  margin-right: 0.25rem;
}

/* Blog Article */
.blog-article {
  max-width: 760px;
  margin: 0 auto;
}
.blog-article h1 {
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 650;
  line-height: 1.08;
  letter-spacing: -1.3px;
  color: var(--color-ink);
  margin-bottom: 1rem;
}
.blog-article-content {
  font-size: 17px;
}
.blog-article-content h2 {
  font-size: 27px;
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: -0.6px;
  margin-top: 2.25rem;
  color: var(--color-ink);
}
.blog-article-content h3 {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  margin-top: 1.75rem;
  color: var(--color-ink);
}
.blog-article-content p {
  line-height: 1.7;
  font-weight: 450;
  margin-bottom: 1.25rem;
}
.blog-article-content ul,
.blog-article-content ol {
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
}
.blog-article-content li {
  margin-bottom: 0.45rem;
  line-height: 1.7;
}
.blog-article-content blockquote {
  border-left: 4px solid var(--color-primary);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  background: var(--color-primary-tint);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.blog-article-content blockquote p:last-child {
  margin-bottom: 0;
}
.blog-article-content table {
  width: 100%;
  margin-bottom: 1.5rem;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  font-size: 15.5px;
}
.blog-article-content th,
.blog-article-content td {
  padding: 0.7rem 0.9rem;
  border-bottom: 1px solid var(--color-border);
  text-align: left;
  vertical-align: top;
}
.blog-article-content thead th {
  background: var(--color-surface-soft);
  font-weight: 650;
  color: var(--color-ink);
}
.blog-article-content tbody tr:last-child td {
  border-bottom: none;
}

/* Blog CTA Banner */
.blog-cta-banner {
  background: linear-gradient(135deg, #2196f3 0%, #1565c0 100%);
  color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  margin-top: 3rem;
}
.blog-cta-banner h3 {
  color: var(--color-white);
  font-weight: 650;
}
.blog-cta-banner p {
  color: rgba(255, 255, 255, 0.85);
}
.blog-cta-banner .btn {
  background: var(--color-white);
  color: var(--color-primary-dark);
  font-weight: 700;
  border-radius: var(--radius-sm);
  border: none;
}
.blog-cta-banner .btn:hover {
  color: var(--color-primary-dark);
  filter: brightness(0.96);
  transform: translateY(-1px);
}

.pagination .page-link {
  color: var(--color-primary-dark);
  border-color: var(--color-border);
}
.pagination .page-item.active .page-link {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
}

.breadcrumb {
  font-size: 14px;
}
.breadcrumb a {
  color: var(--color-primary-dark);
  text-decoration: none;
}

/* --- Legal Pages --- */
.legal-page {
  padding-top: 3rem;
  padding-bottom: 5rem;
}
.legal-page h1 {
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 650;
  line-height: 1.08;
  letter-spacing: -1.3px;
  color: var(--color-ink);
  margin-bottom: 2rem;
}
.legal-page h2 {
  font-size: 22px;
  font-weight: 650;
  margin-top: 2rem;
  color: var(--color-ink);
}
.legal-page h3 {
  font-size: 18px;
  font-weight: 600;
  margin-top: 1.5rem;
  color: var(--color-ink);
}
.legal-page p,
.legal-page ul li {
  line-height: 1.65;
  font-weight: 450;
}
.legal-page a {
  color: var(--color-primary-dark);
  text-decoration: underline;
}

/* --- Scroll Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .fade-in {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html {
    scroll-behavior: auto;
  }
}

/* --- Support Page --- */
.support-hero {
  padding-bottom: 0;
}
.support-form .form-control {
  border-color: var(--color-border);
  border-radius: var(--radius-sm);
}
.support-form .form-control:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 2px rgba(33, 150, 243, 0.25);
}
.support-form textarea {
  resize: vertical;
  min-height: 120px;
}
.support-form .btn-primary {
  border-radius: var(--radius-sm);
  font-weight: 700;
}
.support-form .btn-primary:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* --- Responsive --- */
@media (max-width: 991.98px) {
  .hero-section {
    text-align: center;
  }
  .hero-section .lead {
    margin: 0 auto;
  }
  .hero-phone-frame {
    width: 290px;
    margin-top: 2.5rem;
  }
  .navbar-collapse {
    background: var(--color-white);
    padding: 1rem;
    border-radius: var(--radius-lg);
    margin-top: 0.5rem;
    border: 1px solid var(--color-border);
  }
}

@media (max-width: 575.98px) {
  .section {
    padding: 52px 0;
  }
  .comparison-table thead th,
  .comparison-table tbody td {
    padding: 0.7rem 0.7rem;
    font-size: 14px;
  }
  .cookie-banner-inner {
    flex-direction: column;
    text-align: center;
  }
  .noise-chart-frame {
    padding: 1rem 0.5rem 0.75rem;
  }
}

/* --- Pre-Release: "Bald verfügbar" statt Download --- */
.btn-coming-soon {
  display: inline-block;
  background-color: var(--color-primary);
  color: var(--color-white);
  font-weight: 600;
  border-radius: var(--radius-sm);
  padding: 0.65rem 1.8rem;
  font-size: 16px;
  cursor: default;
  pointer-events: none;
  border: none;
  opacity: 0.7;
}
