/* =========================================================
   Local Webfonts: Plus Jakarta Sans (WOFF2)
   Fonts location: /fonts/ (Root)
   CSS location:   /assets/css/styles.css  -> ../../fonts/...
========================================================= */

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../../fonts/plus-jakarta-sans-v12-latin-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../../fonts/plus-jakarta-sans-v12-latin-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../../fonts/plus-jakarta-sans-v12-latin-300italic.woff2") format("woff2");
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

/* =========================================================
   Variables
========================================================= */

:root {
  --bg-page: #d5c8a7;
  --green: #5c832f;
  --green-dark: #4d6e28;
  --text: #1b1b1b;
  --text-soft: #575756;
  --text-light: rgba(255, 255, 255, 0.92);
  --border-soft: rgba(0, 0, 0, 0.08);
  --border-light: rgba(255, 255, 255, 0.18);
  --shadow-soft: 0 0.6rem 1.4rem rgba(0, 0, 0, 0.12);
  --radius: 1.25rem;
  --radius-sm: 0.9rem;
  --font-primary: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

/* =========================================================
   Base
========================================================= */

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg-page);
  color: var(--text);
  font-family: var(--font-primary);
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.15px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

section {
  scroll-margin-top: 100px;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-primary);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 0.6rem;
}

p:last-child {
  margin-bottom: 0;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition: none !important;
    animation: none !important;
  }
}

/* =========================================================
   Header / Navigation
========================================================= */

.site-header {
  background: var(--bg-page);
  border-bottom: 1px solid var(--border-soft);
}

.navbar {
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
}

.navbar-brand img{
  display: block;
  height: 52px;
  width: auto;
}

@media (max-width: 991px){
  .navbar-brand img{
    height: 46px;
  }
}

.navbar-practice-name{
  margin-left: 1rem;
  color: var(--green);
  font-weight: 600;
  letter-spacing: .2px;
}

/* mobile Anpassung */

@media (max-width: 991px){

  .navbar-practice-name{
    font-size: .9rem;
  }

}

.nav-link {
  color: rgba(0, 0, 0, 0.72) !important;
  font-weight: 600;
}

.nav-link:hover,
.nav-link:focus {
  color: #000 !important;
}

.navbar .nav-link.active,
.navbar .nav-link[aria-current="page"] {
  color: var(--green) !important;
}

.nav-home {
  display: flex;
  align-items: center;
  padding-right: 0.5rem;
}

.nav-home svg {
  transition: transform 0.2s ease;
}

.nav-home:hover svg {
  transform: translateY(-1px);
}

.navbar-toggler {
  border-color: rgba(0, 0, 0, 0.18);
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(92, 131, 47, 0.2);
}

/* =========================================================
   Intro / Page Titles
========================================================= */

.page-title {
  color: var(--green);
}

.page-subtitle {
  color: var(--text-soft);
  font-weight: 600;
}

/* =========================================================
   Typography Helpers
========================================================= */

.about-title {
  color: var(--green);
}

.about-text {
  color: var(--text-soft);
  font-size: 1.02rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.about-list {
  color: var(--text-soft);
  line-height: 1.7;
  padding-left: 1.2rem;
  margin-bottom: 0;
}

.compact-list li {
  margin-bottom: 0.15rem;
}

/* =========================================================
   Generic Media / Frames
========================================================= */

.image-frame {
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  height: 100%;
}

.image-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* =========================================================
   About Block
========================================================= */

.about-block {
  background: rgba(255, 255, 255, 0.28);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 2.3vw, 1.9rem);
  box-shadow: var(--shadow-soft);
}

/* =========================================================
   Therapie Layout
========================================================= */

.therapy-row {
  margin-bottom: 6rem;
}

.therapy-row:last-child {
  margin-bottom: 0;
}

.therapy-image {
  min-height: 320px;
}

@media (max-width: 991.98px) {
  .therapy-row {
    margin-bottom: 3.25rem;
  }

  .therapy-image {
    min-height: 240px;
  }

  .therapy-row .about-title {
    margin-top: 0.25rem;
  }
}

@media (min-width: 992px) {
  .therapy-row:nth-of-type(odd) .therapy-image {
    margin-top: -20px;
  }

  .therapy-row:nth-of-type(even) .therapy-image {
    margin-top: 20px;
  }
}

/* zusätzlicher Abstand nach TCM */

.therapy-row:nth-of-type(4){
  margin-bottom: 8rem;
}

/* =========================================================
   Über mich – CTA Bild vor Footer
   Bild wie Banner in Rahmen einpassen
========================================================= */

.about-hero .image-frame{
  max-width: 390px;
  height: 490px;
  margin-left: auto;
}

.about-hero .image-frame img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

@media (max-width: 991px){

  .about-hero .image-frame{
    max-width: 100%;
    height: auto;
  }

  .about-hero .image-frame img{
    height: auto;
  }

}

.about-cta-image{
  height: 355px;
  max-width: 532px;
  margin-right: auto;
}

.about-cta-image img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* mobile */

@media (max-width: 991px){

  .about-cta-image{
    width: 100%;
    height: auto;
  }

  .about-cta-image img{
    height: auto;
  }

}

/* =========================================================
   Gallery
========================================================= */

.gallery-item {
  margin: 0;
}

.gallery-image {
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.gallery-image img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}

.gallery-caption {
  margin-top: 0.75rem;
  color: rgba(0, 0, 0, 0.7);
  font-size: 0.95rem;
  line-height: 1.4;
}

/* =========================================================
   Über mich – Gallery mittleres Bild (Aswyn)
   breiterer Bildausschnitt
========================================================= */

.gallery-image-wide img{
  height: 320px;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 1300px) and (min-width: 768px){

  .about-gallery .row{
    justify-content: center;
  }

  .about-gallery .col-md-4:nth-child(1){
    order: 1;
    flex: 0 0 calc(50% - .75rem);
    max-width: calc(50% - .75rem);
  }

  .about-gallery .col-md-4:nth-child(3){
    order: 2;
    flex: 0 0 calc(50% - .75rem);
    max-width: calc(50% - .75rem);
  }

  .about-gallery .col-md-4:nth-child(2){
    order: 3;
    flex: 0 0 100%;
    max-width: 520px;
    margin: 0 auto;
  }

  .about-gallery .col-md-4:nth-child(1) .gallery-image,
  .about-gallery .col-md-4:nth-child(3) .gallery-image{
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .about-gallery .col-md-4:nth-child(1) .gallery-image img,
  .about-gallery .col-md-4:nth-child(3) .gallery-image img{
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
  }

  .about-gallery .col-md-4:nth-child(2) .gallery-image{
    height: 320px;
  }

  .about-gallery .col-md-4:nth-child(2) .gallery-image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

}

/* =========================================================
   Buttons
========================================================= */

.btn {
  border-radius: var(--radius-sm);
  font-weight: 600;
  letter-spacing: 0.2px;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  text-decoration: none;
}

.btn-primary-green {
  background: var(--green);
  color: #fff;
  border: 2px solid var(--green);
  padding: 0.65rem 1.2rem;
}

.btn-primary-green:hover,
.btn-primary-green:focus {
  background: #fff;
  color: var(--green);
  border-color: #fff;
  box-shadow: 0 0.6rem 1.2rem rgba(0, 0, 0, 0.12);
}

.btn-cta {
  background: var(--green);
  color: #fff;
  border: 2px solid #fff;
  padding: 0.65rem 1.2rem;
}

.btn-cta:hover,
.btn-cta:focus {
  background: #fff;
  color: var(--green);
  border-color: #fff;
}

/* =========================================================
   Green Sections
========================================================= */

.nature-cta,
.certificates-green {
  background: var(--green);
}

.nature-cta-title {
  color: #fff;
}

.nature-cta-text {
  color: var(--text-light);
  line-height: 1.7;
}

/* =========================================================
   Preise – Tabellen
========================================================= */

.price-table {
  background: transparent;
}

.price-table th,
.price-table td {
  background: transparent !important;
  border-color: rgba(0, 0, 0, 0.15);
}

.price-table thead th {
  border-bottom: 2px solid rgba(0, 0, 0, 0.25);
}

.table-section {
  color: var(--green);
  font-weight: 600;
  padding-top: 2rem;
}

.price-table td {
  padding-left: 2rem;
}

.price-table td.text-end {
  padding-left: 0;
}

.price-table th.price-col,
.price-table td.text-end {
  width: 28%;
}

.price-table td:not(.text-end),
.price-table th:not(.price-col) {
  width: 72%;
}

/* =========================================================
   Preise – Empfehlungen
========================================================= */

.recommendation-row{
  margin-bottom: 3rem;
}

.recommendation-row:last-child{
  margin-bottom: 0;
}

/* Standard Bild (Reihe 1) */

.recommendation-image{
  height: 260px;
  width: 100%;
  max-width: 420px;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 .7rem 1.6rem rgba(0,0,0,.16);
}

.recommendation-image img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* Bannerbild (Reihe 2) */

.recommendation-banner{
  width: 100%;
  max-width: 640px;
  margin-left: auto;

  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 .7rem 1.6rem rgba(0,0,0,.16);
}

.recommendation-banner img{
  width: 100%;
  height: auto;
  display: block;
}

/* Ausrichtung */

.recommendation-image-left{
  margin-right: auto;
}

.recommendation-image-right{
  margin-left: auto;
}

.recommendation-banner-right{
  margin-left: auto;
}

/* Affiliate Hinweis */

.affiliate-note{
  font-size: .72rem;
  line-height: 1.5;
  color: rgba(255,255,255,.82);
  max-width: 32rem;
}

.affiliate-note a{
  color: #fff;
  text-decoration: underline;
  text-underline-offset: .15em;
}

@media (max-width: 991.98px){

  .recommendation-image,
  .recommendation-banner{
    max-width: 100%;
    height: 240px;
    margin-left: 0;
    margin-right: 0;
  }

}

/* =========================================================
   Zertifikate / Mitgliedschaften
========================================================= */

.cert-link {
  display: block;
  text-decoration: none;
}

.cert-logo {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 150px;
  height: auto;
  margin: 0 auto;
  transition: transform 0.2s ease;
}

.cert-link:hover .cert-logo {
  transform: scale(1.05);
}

/* =========================================================
   Footer
========================================================= */

.footer {
  background: var(--bg-page);
  color: var(--text);
}

.footer p,
.footer small {
  color: var(--text);
}

.footer a {
  color: var(--text);
  text-decoration: none;
}

.footer a:hover {
  color: #000;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.footer-slogan {
  color: var(--green);
  font-weight: 600;
  line-height: 1.35;
  max-width: 28rem;
  font-size: clamp(1.2rem, 1.6vw, 1.5rem);
  letter-spacing: 0.2px;
}

.footer-heading {
  color: var(--text);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.footer-badge {
  max-width: 180px;
  height: auto;
  transition: transform 0.2s ease;
}

.footer-badge:hover {
  transform: scale(1.05);
}

.footer-legal {
  line-height: 1.7;
}

.footer-copy {
  color: rgba(0, 0, 0, 0.72);
}

/* =========================================================
   Back to top
========================================================= */

.back-to-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  border: 2px solid var(--green);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0.8rem 1.6rem rgba(0, 0, 0, 0.18);
  z-index: 1030;
  text-decoration: none;
  font-weight: 600;
  line-height: 1;
}

.back-to-top:hover,
.back-to-top:focus {
  background: #fff;
  color: var(--green);
  border-color: #fff;
  text-decoration: none;
}

/* =========================================================
   Responsive Fine Tuning
========================================================= */

@media (max-width: 767.98px) {
  .page-title {
    font-size: 2rem;
  }

  .about-text,
  .nature-cta-text {
    font-size: 1rem;
  }

  .gallery-image img {
    height: 260px;
  }

  .footer-badge {
    max-width: 150px;
  }
}