/* Readability fixes shared by index*, kontakt*, vorsorgevertrag*. Loaded last; the pages' own CSS differs per language. */

/* Text on gold buttons */
.skip-link, .btn-nav-tel, .btn-nav-tel .tel-text, .btn-nav-tel svg, .mobile-menu-cta, .emergency-tel, #cb-submit {
  color: #fff !important;
}

/* Bronze on the warm light surfaces, 4.5:1 and up */
.emergency-text strong, .service-more, .test-card-route { color: #6f5616 !important; }

/* kontakt and vorsorgevertrag page classes */
.hero-label { color: #6f5616 !important; }
.btn-submit { color: #fff !important; }
.hero-overline { color: #d4b36a !important; }
.price-region { color: #5a4e40 !important; }
.footer-desc, .footer p { color: rgba(255, 255, 255, .78) !important; }
.footer-head, .footer p, .form-group label, .nav-logo-name span, .price-region { font-size: .75rem !important; }
.footer a[href^="tel:"] { color: #faf8f2 !important; }
.footer-desc { font-size: .8125rem !important; }
.sticky-btn-wa { color: #146c31 !important; }
.vs-section-dark .vs-label { color: #d4b36a !important; }

/* Form labels */
.form-label { color: #5a4e40 !important; }

/* Dark surfaces: top bar, hero, coverage, footer */
.nav-topbar-badge, .hero-kicker-text, .hero-rating-stars, .coverage-section .overline, #countries .overline, .footer-col-title {
  color: #d4b36a !important;
}
.nav-topbar-phone, .nav-topbar-phone span { color: #faf8f2 !important; }
.hero-stat-label, .hero-scroll span, .coverage-stat-label { color: rgba(255, 255, 255, .78) !important; }
.footer-brand-name { color: #faf8f2 !important; }
.footer-brand-desc, .footer-link, .footer-contact-item a, .footer-contact-item div, [data-i18n="footer.languages_label"] { color: rgba(255, 255, 255, .78) !important; }
.footer-legal, .footer-legal a, .footer-copy, .footer-legal-link { color: rgba(255, 255, 255, .68) !important; }
.footer-link:hover, .footer-legal-link:hover, .footer-contact-item a:hover { color: #fff !important; }

/* 12px floor for labels and legal text */
.nav-topbar-badge, .nav-logo-sub, .tel-text, .mobile-lang-grid > div, .trust-tick, .hero-kicker-text, .hero-stat-label,
.hero-scroll span, .overline, .step-tl-time, .service-more, .coverage-stat-label, .cert-badge-text, .test-rating-count,
.test-rating-count span, .test-card-route, .contact-method-label, .contact-langs-label, .form-label, .footer-legal,
.footer-legal a, .footer-col-title, .footer-copy, .footer-legal-link, .cookie-expand-btn, #cookie-banner label span {
  font-size: .75rem !important;
}

/* Hero text must not wait for an entrance animation */
.hero-h1, .hero-sub, .hero-rating, .hero-ctas, .hero-stats, .hero-scroll, .hero-kicker {
  opacity: 1 !important; transform: none !important; animation: none !important;
}

/* Hero: calls to action inside the first screen on a laptop */
.hero-h1 .line-gold + br { display: none; } /* the gold line is a block, this br only added an empty line */
@media (min-width: 641px) {
  .hero { padding: 44px 24px 40px !important; } /* the top bar above already pushes the hero down 38px */
  .hero-content { padding: 24px 48px; }
  .hero-kicker { margin-bottom: 16px; }
  .hero-content h1, .hero h1 { font-size: clamp(2.5rem, min(5vw, 8vh), 4rem) !important; margin-bottom: 16px; }
  .hero-sub { margin-bottom: 16px; }
  .hero-rating { margin-bottom: 16px; }
}
@media (max-width: 640px) {
  html body .hero { padding-top: 32px !important; } /* below the top bar and nav, the kicker was hidden under them */
}

/* Cookie banner: categories stay collapsed on phones (the markup sets display inline) */
@media (max-width: 640px) {
  #cookie-banner .cookie-categories { display: none !important; }
  #cookie-banner .cookie-categories.expanded { display: flex !important; }
  #cookie-banner button { flex: 1 1 40%; min-height: 44px; }
}
