
/* =========================================
   THERAPIETERMIN-FINDEN.DE
   02 – STARTSEITE
   ========================================= */


/* 01 – Volle Seitenbreite */

body.home #page,
body.home .site-content,
body.home #primary,
body.home .site-main {
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 0;
}

body.home .inside-article {
  padding: 0;
}

body.home .entry-content {
  margin: 0;
}

body.home .entry-header {
  display: none;
}


/* 02 – Grundgestaltung */

#ttf-home {
  --dark: var(--ttf-dark);
  --ice: var(--ttf-ice);
  --ice-light: var(--ttf-ice-light);
  --sage: var(--ttf-sage);
  --sage-light: var(--ttf-sage-light);
  --mauve: var(--ttf-mauve);
  --mauve-light: var(--ttf-mauve-light);
  --text: var(--ttf-text);
  --white: var(--ttf-white);

  font-family: var(--ttf-font);
  color: var(--text);
  line-height: 1.75;
  font-size: 16px;
  overflow: hidden;
  width: 100%;
  max-width: none;
  background: var(--white);
}

#ttf-home * {
  box-sizing: border-box;
}

#ttf-home h1,
#ttf-home h2,
#ttf-home h3 {
  color: var(--dark);
  line-height: 1.25;
  font-weight: 600;
  margin: 0 0 20px;
}

#ttf-home h1 {
  font-size: clamp(34px, 4vw, 54px);
}

#ttf-home h2 {
  font-size: clamp(25px, 3vw, 35px);
}

#ttf-home h3 {
  font-size: 22px;
}

#ttf-home p {
  margin: 0 0 20px;
}

#ttf-home ul {
  margin: 0 0 24px 22px;
}

#ttf-home li {
  margin-bottom: 8px;
}


/* 03 – Bilder */

#ttf-home img {
  display: block;
  width: 100%;
  object-fit: cover;
}

#ttf-home figure {
  margin: 0;
}

#ttf-home figcaption {
  font-size: 10px;
  text-align: right;
  color: #59676F;
  padding-top: 5px;
}

#ttf-home .ttf-hero-image {
  border-radius: 110px 15px 110px 15px;
  aspect-ratio: 4/3;
}

#ttf-home .ttf-rounded {
  border-radius: 15px 75px 15px 75px;
  aspect-ratio: 16/10;
}


/* 04 – Abschnitte und Spalten */

#ttf-home .ttf-section {
  padding: 60px 24px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background-image: none;
  --art: rgba(100,139,150,.32);
}

#ttf-home .ttf-container {
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

#ttf-home .ttf-two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 55px;
  align-items: center;
}

#ttf-home .ttf-three {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 25px;
}

#ttf-home .ttf-center {
  text-align: center;
}


/* 05 – Farbleitsystem */

#ttf-home .ttf-ice {
  background: var(--ice-light);
}

#ttf-home .ttf-sage {
  background: var(--sage-light);
  --art: rgba(119,143,121,.35);
}

#ttf-home .ttf-mauve {
  background: var(--mauve-light);
  --art: rgba(138,130,158,.35);
}

#ttf-home .ttf-sage h2,
#ttf-home .ttf-sage h3 {
  color: var(--ttf-sage-dark);
}

#ttf-home .ttf-mauve h2,
#ttf-home .ttf-mauve h3 {
  color: var(--ttf-mauve-dark);
}


/* 06 – Buttons */

#ttf-home .ttf-button {
  display: inline-block;
  background: var(--dark);
  color: var(--white);
  padding: 14px 24px;
  border-radius: 7px;
  text-decoration: none;
  border: 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
  transition: background .2s, transform .2s;
}

#ttf-home .ttf-button:hover {
  background: #294858;
  color: var(--white);
  transform: translateY(-2px);
}

#ttf-home .ttf-button-sage {
  background: var(--ttf-sage-dark);
}

#ttf-home .ttf-button-sage:hover {
  background: #405943;
}

#ttf-home .ttf-button-mauve {
  background: var(--ttf-mauve-dark);
}

#ttf-home .ttf-button-mauve:hover {
  background: #574B68;
}

#ttf-home .ttf-button br {
  display: none;
}

#ttf-home a:focus-visible,
#ttf-home summary:focus-visible {
  outline: 3px solid var(--dark);
  outline-offset: 5px;
}


/* 07 – Kleine Gestaltungselemente */

#ttf-home .ttf-label {
  display: block;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 18px;
}

#ttf-home .ttf-line {
  width: 75px;
  height: 2px;
  background: var(--ice);
  margin: 20px auto 30px;
}


/* 08 – Angebotskarten */

#ttf-home .ttf-card {
  background: var(--ice-light);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 7px 25px rgba(54,89,110,.06);
}

#ttf-home .ttf-card img {
  aspect-ratio: 16/10;
}

#ttf-home .ttf-card figcaption {
  padding-right: 14px;
}

#ttf-home .ttf-card-body {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex: 1;
  align-items: flex-start;
}

#ttf-home .ttf-card-body .ttf-button {
  margin-top: auto;
}


/* 09 – Therapeutensuche */

#ttf-home .ttf-search {
  background: var(--white);
  padding: 30px;
  border-radius: 13px;
  margin: 38px auto 0;
  box-shadow: 0 8px 40px rgba(54,89,110,.08);
}

#ttf-home .ttf-note {
  font-size: 13px;
  margin-top: 15px;
  margin-bottom: 0;
}


/* 10 – Prozessdarstellung */

#ttf-home .ttf-step {
  text-align: center;
  padding: 20px;
}

#ttf-home .ttf-number {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  background: var(--white);
  color: var(--dark);
  border: 1px solid var(--ice);
  border-radius: 50%;
  margin: 0 auto 22px;
  font-size: 23px;
}


/* 11 – FAQ */

#ttf-home details {
  border-bottom: 1px solid #C9DCE3;
  padding: 18px 0;
}

#ttf-home summary {
  cursor: pointer;
  color: var(--dark);
  font-weight: 600;
}

#ttf-home details p {
  margin: 15px 0 5px;
}


/* 12 – Medizinische Hinweise */

#ttf-home .ttf-emergency {
  background: #F4F6F7;
  padding: 25px;
  border-left: 3px solid var(--dark);
  font-size: 13px;
  border-radius: 4px;
}

#ttf-home .ttf-emergency a {
  color: var(--dark);
}


/* =========================================
   13 – FINE LINE ART
   Filigrane Kreise, Ellipsen und Linien
   ========================================= */


/* Alte Dekoration ausblenden */

#ttf-home .ttf-circle,
#ttf-home .ttf-circle-second {
  display: none;
}


/* Grundlage der dekorativen Elemente */

#ttf-home .ttf-section::before,
#ttf-home .ttf-section::after {
  content: "";
  display: block;
  position: absolute;
  pointer-events: none;
  z-index: 0;
  border: 0;
  background: none;
  box-shadow: none;
}


/* Titelbereich – Zwei große Kreislinien */

#ttf-home .ttf-section:first-of-type::before {
  width: 580px;
  height: 580px;
  border: 1px solid var(--art);
  border-radius: 50%;
  right: -290px;
  top: -170px;
}

#ttf-home .ttf-section:first-of-type::after {
  width: 620px;
  height: 620px;
  border: 1px solid var(--art);
  border-radius: 50%;
  right: -310px;
  top: -190px;
}


/* Weißer Angebotsbereich */

#ttf-home #ttf-angebote::before {
  width: 480px;
  height: 260px;
  border-top: 1px solid var(--art);
  border-radius: 50%;
  left: -220px;
  top: 120px;
  transform: rotate(-35deg);
}

#ttf-home #ttf-angebote::after {
  width: 380px;
  height: 1px;
  background: var(--art);
  right: -100px;
  top: 160px;
  transform: rotate(-38deg);
}


/* Therapeutensuche – Großzügige Ellipse */

#ttf-home #ttf-therapeutensuche::before {
  width: 480px;
  height: 220px;
  border: 1px solid var(--art);
  border-radius: 50%;
  left: -280px;
  top: 90px;
  transform: rotate(-35deg);
}

#ttf-home #ttf-therapeutensuche::after {
  display: none;
}


/* Praxisservice – Zwei offene Bögen */

#ttf-home #ttf-praxisservice::before {
  width: 490px;
  height: 280px;
  border-bottom: 1px solid var(--art);
  border-radius: 50%;
  right: -190px;
  top: -100px;
  transform: rotate(35deg);
}

#ttf-home #ttf-praxisservice::after {
  width: 530px;
  height: 300px;
  border-bottom: 1px solid var(--art);
  border-radius: 50%;
  right: -200px;
  top: -110px;
  transform: rotate(35deg);
}


/* Weißer Wissensbereich – Feine Linien */

#ttf-home .ttf-section:nth-of-type(5)::before {
  width: 350px;
  height: 1px;
  background: var(--art);
  left: -110px;
  bottom: 110px;
  transform: rotate(33deg);
}

#ttf-home .ttf-section:nth-of-type(5)::after {
  width: 300px;
  height: 1px;
  background: var(--art);
  left: -100px;
  bottom: 85px;
  transform: rotate(33deg);
}


/* Therapeutenportal – Große ovale Form */

#ttf-home #ttf-therapeutenportal::before {
  width: 560px;
  height: 280px;
  border: 1px solid var(--art);
  border-radius: 50%;
  right: -250px;
  bottom: 30px;
  transform: rotate(-45deg);
}

#ttf-home #ttf-therapeutenportal::after {
  display: none;
}


/* FAQ – Großzügiger Kreisbogen */

#ttf-home #ttf-faq::before {
  width: 540px;
  height: 540px;
  border: 1px solid var(--art);
  border-radius: 50%;
  left: -350px;
  top: 160px;
}

#ttf-home #ttf-faq::after {
  display: none;
}


/* Abschluss – Geschwungene Linie */

#ttf-home .ttf-section:last-of-type::before {
  width: 470px;
  height: 170px;
  border-top: 1px solid var(--art);
  border-radius: 50%;
  right: -180px;
  bottom: -30px;
  transform: rotate(-25deg);
}

#ttf-home .ttf-section:last-of-type::after {
  display: none;
}


/* =========================================
   14 – SMARTPHONE UND TABLET
   ========================================= */

@media (max-width: 800px) {

  #ttf-home .ttf-two,
  #ttf-home .ttf-three {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  #ttf-home .ttf-section {
    padding: 40px 20px;
  }

  #ttf-home .ttf-hero-image {
    border-radius: 65px 12px 65px 12px;
  }

  #ttf-home .ttf-rounded {
    border-radius: 12px 45px 12px 45px;
  }

  #ttf-home .ttf-search {
    padding: 22px;
  }

  #ttf-home .ttf-card-body {
    padding: 22px;
  }

  #ttf-home .ttf-step {
    padding: 10px;
  }

  #ttf-home .ttf-section::before,
  #ttf-home .ttf-section::after {
    opacity: .45;
  }

  #ttf-home .ttf-section::after {
    display: none;
  }
}


/* Bewegungsreduzierte Darstellung */

@media (prefers-reduced-motion: reduce) {

  #ttf-home .ttf-button {
    transition: none;
  }

  #ttf-home .ttf-button:hover {
    transform: none;
  }
}


/* =========================================
   ENDE – STARTSEITE
   ========================================= */
