/* =========================================================
   HUNDETRAINER MIT HERZ – STARTSEITE (GESAMTSTAND & TABLET-FIXES)
   ========================================================= */

/* Grundlayout & saubere Tiefblau-Basis über die gesamte Seite */
body, html {
  background: #14374b !important;
  color: #ffffff;
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
}

.site {
  width: 100%;
  background: #14374b !important;
  overflow-x: clip;
}

/* Nahtlose Sektionen mit fließenden Farbverläufen */
.hero {
  background: linear-gradient(180deg, #14374b 0%, #1b4357 100%) !important;
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
}

.hero-trust {
  background: linear-gradient(180deg, #1b4357 0%, #163c4f 100%) !important;
  padding: clamp(2.8rem, 5vw, 4.2rem) 0;
}

.services-section {
  background: linear-gradient(180deg, #163c4f 0%, #14374b 50%, #1b4357 100%) !important;
  padding: clamp(3.8rem, 7vw, 6rem) 0;
}

.experience-trust {
  background: linear-gradient(180deg, #1b4357 0%, #14374b 100%) !important;
  padding: clamp(4rem, 7vw, 6rem) 0;
}

.video-section {
  background: linear-gradient(180deg, #14374b 0%, #1b4357 100%) !important;
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.freebie-section {
  background: linear-gradient(180deg, #1b4357 0%, #14374b 100%) !important;
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.regional-section {
  background: linear-gradient(180deg, #14374b 0%, #163c4f 100%) !important;
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.newsletter-section {
  background: linear-gradient(180deg, #163c4f 0%, #14374b 100%) !important;
  padding: clamp(6rem, 8vw, 8rem) 0 4rem 0 !important; 
  margin-top: 2rem !important;
}

.horoscope-section {
  background: linear-gradient(155deg, #14374b 0%, #1b4357 40%, #14374b 100%) !important;
  padding: clamp(2rem, 4vw, 4rem) 0;
}

.faq-section {
  background: linear-gradient(180deg, #14374b 0%, #173b50 100%) !important;
  padding: 4rem 1rem !important;
}


/* 01 – HEADER & NAVIGATION */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(20, 55, 75, 0.98);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 0.2rem 0.7rem rgba(13, 27, 36, 0.10);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(1rem, 3vw, 2.5rem);
  min-height: 5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #ffffff;
  text-decoration: none;
}

.brand img {
  display: block;
  width: 3.75rem;
  height: 3.75rem;
  object-fit: contain;
}

.brand__text strong {
  color: #ffffff;
  font-family: var(--font-heading, Georgia, serif);
  font-size: 1.22rem;
  line-height: 1.1;
}

.brand__text span {
  margin-top: 0.15rem;
  color: #bfe9e8;
  font-size: 0.83rem;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(0.8rem, 2vw, 1.7rem);
}

.main-nav a {
  color: #f7fafb;
  font-size: 0.91rem;
  font-weight: 600;
  text-decoration: none;
}

.main-nav a:hover,
.main-nav .main-nav__special {
  color: #8fd7d5;
}

.main-nav a.main-nav__phone {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 1.05rem;
  color: #f0a15a;
  background: rgba(217, 120, 50, 0.08);
  border: 1px solid #d97832;
  border-radius: 999px;
  font-size: 1.02rem;
  font-weight: 800;
  white-space: nowrap;
}


/* 02 – HERO & ÜBERGEORDNETE TEXTE */
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 6rem);
}

.hero h1 {
  color: #ffffff;
  font-family: var(--font-heading, Georgia, serif);
  font-size: clamp(2.7rem, 5vw, 4.6rem);
  line-height: 1.02;
}

.hero h1 span {
  color: #8fd7d5;
}

.hero__lead, .hero__text, .hero__eyebrow {
  color: #ffffff !important;
}

.hero__media {
  padding: 0.7rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 1rem;
}

.hero__media img {
  width: 100%;
  height: auto;
  border-radius: 0.75rem;
  object-fit: cover;
}

/* Haupt-Überschriften auf dunklem Grund weiß erzwingen */
.section-header h2,
.hero-trust__heading h2,
.services-heading__title,
.experience-trust__story h2,
.faq-section__heading h2,
.video-section h2,
.freebie-section h2,
.regional-section h2,
.newsletter-section h2 {
  color: #ffffff !important;
}

.section-header p,
.hero-trust__heading p,
.services-heading__lead,
.experience-trust__story p,
.video-section p,
.freebie-section p,
.regional-section p,
.newsletter-section p,
.faq-section__heading p {
  color: rgba(255, 255, 255, 0.92) !important;
}

.section-header .eyebrow,
.hero-trust__eyebrow,
.services-heading__eyebrow,
.video-section .eyebrow,
.regional-section .eyebrow {
  color: #8fd7d5 !important;
}

.services-heading__lead, 
.regional-section__intro,
.services-section .section-header p,
.regional-section .section-header p {
  color: #ffffff !important;
  font-size: 1.25rem !important;
  font-weight: 600 !important;
  text-align: center !important;
  display: block !important;
  margin-top: 0.75rem !important;
  opacity: 1 !important;
}


/* 03 – TRUST-KACHELN & LEISTUNGSKACHELN (Desktop Standard) */
.hero-trust__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.4rem);
}

.hero-trust__card,
.experience-trust__card {
  position: relative !important;
  padding: clamp(1.25rem, 2vw, 1.55rem);
  background: #fffaf3 !important;
  border: 1px solid rgba(105, 82, 54, 0.2);
  border-radius: 0.85rem;
  cursor: pointer !important;
  transition: transform 0.2s ease;
}

.hero-trust__card h3,
.hero-trust__card p,
.hero-trust__value,
.experience-trust__card h3,
.experience-trust__card p {
  color: #173b50 !important;
}

.hero-trust__card a,
.experience-trust__card a {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 5 !important;
  text-indent: -9999px !important;
  background: transparent !important;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 2vw, 1.7rem);
}

.service-card {
  position: relative !important;
  background: linear-gradient(135deg, #fffaf3 65%, rgba(250, 245, 238, 0.4) 100%) !important;
  border: 1px solid rgba(105, 82, 54, 0.13);
  border-radius: 1.15rem;
  padding: 1.1rem !important;
  padding-bottom: 2.6rem !important;
  cursor: pointer !important;
  display: flex !important;
  flex-direction: column !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card h3 {
  font-size: 1.22rem !important;
  line-height: 1.15 !important;
  margin-bottom: 0.4rem !important;
  color: #173b50 !important;
  text-align: left !important;
}

.service-card .service-card__hook,
.service-card p:first-of-type {
  font-size: 0.94rem !important;
  line-height: 1.25 !important;
  margin-bottom: 0.4rem !important;
  color: #14374b !important;
  text-align: left !important;
}

.service-card p {
  font-size: 0.82rem !important;
  line-height: 1.3 !important;
  margin-bottom: 0.4rem !important;
  color: #173b50 !important;
  text-align: left !important;
}

.service-card a.service-card__more {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 5 !important;
  text-indent: -9999px !important;
  background: transparent !important;
}

.service-card .service-card__content {
  position: relative !important;
  z-index: 2 !important;
  height: 100% !important;
}

.service-card::after {
  content: "👉 Bitte Kachel klicken" !important;
  display: block !important;
  position: absolute !important;
  bottom: 1.1rem !important;
  left: 1.1rem !important;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  color: #0f7770 !important;
  background: rgba(15, 119, 112, 0.08) !important;
  padding: 0.35rem 0.7rem !important;
  border-radius: 999px !important;
  border: 1px solid rgba(15, 119, 112, 0.2) !important;
  pointer-events: none !important;
}

.service-card:hover,
.hero-trust__card:hover,
.experience-trust__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0.8rem 2rem rgba(0, 0, 0, 0.2);
  border-color: #0f7770 !important;
}


/* 04 – RATGEBER, REGIONAL- & KONTAKT-KACHELN */
.freebie-box,
.regional-card,
.regional-contact {
  background: #1b4357 !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: 1rem;
  padding: 2rem;
  color: #ffffff !important;
}

.freebie-box h2,
.freebie-box p,
.freebie-box li,
.regional-card h3,
.regional-card p,
.regional-contact h3,
.regional-contact p {
  color: #ffffff !important;
}

.regional-section__landscape {
  display: none !important;
}

.regional-card--local {
  background-image: url('/assets/images/Kontakt/regional-unterwegs.webp') !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}

.regional-card--distance {
  background-image: url('/assets/images/Kontakt/ueberregional-unterwegs.webp') !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  position: relative !important;
  cursor: pointer !important;
}

.regional-card h3 {
  font-size: 1.45rem !important;
  line-height: 1.35 !important;
  color: #173b50 !important;
}

.regional-card p {
  font-size: 1.08rem !important;
  line-height: 1.5 !important;
  color: #173b50 !important;
}

.regional-card--distance a.regional-card__link {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 10 !important;
  text-indent: -9999px !important;
  background: transparent !important;
}


/* 05 – GOOGLE-REZENSIONEN & BUTTONS */
.experience-reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  width: min(100%, 72rem);
  margin: 0 auto;
}

.experience-review {
  background: #fffaf3 !important;
  border: 1px solid rgba(105, 82, 54, 0.2);
  border-radius: 1rem;
  padding: 1.5rem;
}

.experience-review p,
.experience-review span,
.experience-review strong,
.experience-review__author,
.experience-review__text {
  color: #173b50 !important;
}

.experience-reviews__google-rating,
.experience-review__header,
.experience-review__stars,
.experience-reviews__stars {
  color: #f5a623 !important;
}


/* 06 – ORNAMENTE, FAQ, FOOTER */
.services-ornament {
  background: #14374b !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
}

.faq-item {
  background: #fffaf3 !important;
  border: 2px solid #0f7770 !important;
  border-radius: 1rem !important;
  margin-bottom: 1rem;
}

.faq-item summary {
  color: #173b50 !important;
  font-weight: 700 !important;
  padding: 1.2rem 1.5rem !important;
}

.faq-item__answer {
  background: #fffaf3 !important;
  color: #354b56 !important;
  padding: 0 1.5rem 1.5rem 1.5rem !important;
}

.site-footer {
  background: #14374b !important;
  padding: 3rem 0 1.5rem;
  color: rgba(255, 255, 255, 0.82);
}

.site-closing {
  width: 100% !important;
  max-width: 100% !important;
  background: #14374b !important;
  margin: 0 !important;
  padding: 2rem 0 !important;
  display: flex !important;
  justify-content: center !important;
}

.site-closing img {
  display: block !important;
  width: min(90vw, 65rem) !important;
  height: auto !important;
  border-radius: 1rem !important;
  box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.2) !important;
}


/* =========================================================
   TABLET-HOCHFORMAT OPTIMIERUNGEN (FÜR DEINE 4 PUNKTE)
   ========================================================= */
@media (min-width: 48rem) and (max-width: 75rem) {

  /* 1. Leistungskacheln im Tablet-Hochformat sauber 2-spaltig stellen */
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 1.5rem !important;
  }
  
  /* Letzte Kachel bei ungerader Anzahl schön zentrieren */
  .services-grid .service-card:last-child:nth-child(odd) {
    grid-column: 1 / -1 !important;
    max-width: 60% !important;
    margin-inline: auto !important;
  }

  /* 2. Horoskop-Bereich auf Tablet stabilisieren (kein Verschwinden mehr) */
  .horoscope-section {
    padding: 3rem 1.5rem !important;
  }
  
  .horoscope-card {
    aspect-ratio: auto !important;
    padding: 2.5rem 2rem !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }

  /* 3. Newsletter-Bereich entzerren (kein enges Zusammenquetschen) */
  .newsletter-band {
    display: flex !important;
    flex-direction: column !important;
    padding: 2.5rem 1.5rem !important;
  }
  
  .newsletter-band__content {
    width: 100% !important;
    padding: 1.5rem 0 !important;
  }

  /* 4. Erziehungsratgeber (Freebie) sauber anordnen */
  .freebie-section .freebie-grid,
  .freebie-box {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 1.5rem !important;
  }
}

