/* ============================================
   Egli Homöopathie – Main Stylesheet
============================================ */

/* ============================================
   LOCAL FONTS (woff2)
============================================ */

@font-face {
  font-family: "Open Sans";
  src: url("../fonts/OpenSans-Light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Open Sans";
  src: url("../fonts/OpenSans-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Open Sans";
  src: url("../fonts/OpenSans-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Open Sans";
  src: url("../fonts/OpenSans-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Open Sans";
  src: url("../fonts/OpenSans-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-Light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* --------------------------------------------
   COLOR VARIABLES
-------------------------------------------- */
:root {
  --benzol-green: #007A82;
  --rainette-green: #6B8959;
  --rainette-green-tint: rgba(107, 137, 89, 0.08);
  --ivory-buff: #FAF8F3;
  --ivory-buff-tint:rgba(235, 217, 153, 0.8);
  --text-dark: #3F3A36;
  --warm-grey: #A99D91;
  --warm-grey-tint: rgba(169, 157, 145, 0.10);
  --off-white: #FAF8F3;
  --max-width: 1100px;
  --page-max: 1600px;
  --spectrum-red: #DB0D15;

  /* Zentraler Abstand zwischen Sections */
  --section-gap: 2.5rem;
}

/* --------------------------------------------
   RESET & BASE
-------------------------------------------- */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Open Sans", system-ui, sans-serif;
  color: var(--text-dark);
  background-color: #ffffff;

  /* Globaler Fliesstext-Standard (alle Seiten, alle Module) */
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Fliesstext: überall gleich (Font + Zeilenabstand) */
p, li {
  font: inherit;
  line-height: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Container-Variante: volle Breite wie Info-Stripes auf der Index */
.container.container-wide {
  max-width: var(--page-max);
}

/* ============================================
   MAIN – durchgehendes Kreismuster (Phase 3, Variante B)
============================================ */
main {
  position: relative;
  z-index: 0;
  display: flow-root; /* verhindert Margin-Collapse der letzten Section */
}

main::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../img/pattern.svg");
  background-size: 200px 200px;
  background-repeat: repeat;
  opacity: 0.12;
  pointer-events: none;
  z-index: -1;
}

/* ============================================
   HEADER & NAVIGATION
============================================ */
.site-header {
  border-bottom: 1px solid var(--rainette-green);
  background-color: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(4px);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.site-header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.9rem 1.5rem;
}

.logo {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.96rem;
}

/* Desktop navigation */
.primary-nav {
  display: flex;
  gap: 1.4rem;
  font-family: "Montserrat", sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.primary-nav a {
  color: var(--text-dark);
  position: relative;
  padding-bottom: 0.15rem;
  text-decoration: none;
}

.primary-nav a::after {
  content: "";
  height: 1px;
  width: 0%;
  background-color: var(--benzol-green);
  position: absolute;
  bottom: 0;
  left: 0;
  transition: width 0.25s ease-out;
}

.primary-nav a:hover::after {
  width: 100%;
}

/* Hamburger button */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 0.4rem;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background-color: var(--text-dark);
  margin-bottom: 6px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ============================================
   NOTICE BAR AKTUELLES
============================================ */
.notice-bar {
  background: rgba(235, 217, 153, 0.05); /* Ivory Buff */
  border-bottom: 1px solid var(--spectrum-red); /* Spectrum Red */
}

.notice-bar-inner {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  text-align: center;
}

.notice-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--spectrum-red);
  flex: 0 0 10px;
}

.notice-text {
  margin: 0;
}

@media (max-width: 600px) {
  .notice-bar-inner {
    padding: 0.7rem 1.1rem;
  }
}
/* ============================================
   NOTICE BAR – Steuerung
============================================ */

/* Standard: sichtbar */
.notice-bar {
  display: block;
}

/* Ausgeschaltet */
.notice-bar.notice-off {
  display: none;
}

/* ============================================
   MOBILE NAVIGATION
============================================ */

.mobile-nav {
  display: none;
  background-color: #ffffff;
  padding: 1.2rem 1.5rem 2rem;
  border-bottom: 1px solid var(--rainette-green);
}

/* Hauptpunkte */
.mobile-nav > a {
  display: block;
  padding: 0.45rem 0;
  line-height: 1.35;
  font-family: "Montserrat", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.86rem;
  color: var(--text-dark);
  text-decoration: none;
}

/* Hierarchisch korrekte Unterpunkte */
.mobile-nav a.mobile-sub {
  font-size: 0.75rem;
  padding-left: 1.4rem;
  opacity: 0.9;
  line-height: 1.35;
}

/* Mobile Dropdown sichtbar */
@media (max-width: 850px) {
  .nav-dropdown-menu {
    position: static;
    display: block;
    background: transparent;
    padding: 0;
    box-shadow: none;
    margin-top: 0.2rem;
  }
}

/* ============================================
   HERO SECTION
============================================ */
.hero {
  position: relative;
  overflow: hidden;
  padding: 5rem 0 4rem;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.hero-title {
  font-family: "Montserrat", sans-serif;
  color: var(--warm-grey);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}

.hero-heading {
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  text-transform: uppercase;
  font-size: clamp(1.9rem, 2.4vw + 1rem, 2.6rem);
}

.hero-subline {
  font-family: "Montserrat", sans-serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1.8rem;
  color: var(--warm-grey);
  font-size: 0.95rem;
}

.hero-divider {
  width: 80px;
  height: 1px;
  background-color: var(--benzol-green);
  margin: 0 auto 1.6rem;
}

.hero-text {
  max-width: 620px;
  margin: 0 auto 2rem;
}
.hero-text:last-of-type {
  margin-bottom: 0;
}

/* ============================================
   BUTTONS
============================================ */
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 0.62rem 1.6rem;
  border-radius: 999px;
  font-family: "Montserrat", sans-serif;
  font-size: 0.83rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease-out;
}

.btn-primary {
  background-color: var(--benzol-green);
  border: 1px solid var(--benzol-green);
  color: #ffffff;
}
.btn-primary:hover {
  background-color: var(--rainette-green);
  border-color: var(--rainette-green);
}

.btn-secondary {
  background-color: var(--rainette-green);
  border: 1px solid var(--rainette-green);
  color: #ffffff;
}
.btn-secondary:hover {
  background-color: var(--benzol-green);
  border-color: var(--benzol-green);
}

/* ============================================
   HIGHLIGHT PORTRAIT
============================================ */
.highlight {
  background-color: rgb(243, 246, 242);
  padding: 0;
}

.highlight-split {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  max-width: var(--page-max);
  margin: 0 auto;
}

.highlight-textside {
  flex: 1;
  padding: 3rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.highlight-title {
  font-family: "Montserrat", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
}

.highlight-textside p {
  margin-bottom: 0.5rem;
}

.highlight-imageside {
  flex: 1;
}

.highlight-imageside img {
  width: 100%;
  height: 100%;
  max-width: 500px;
  object-fit: cover;
  border-radius: 6px;
}

@media (max-width: 900px) {
  .highlight-split {
    flex-direction: column;
    text-align: center;
  }

  .highlight-imageside {
    width: 100%;
  }

  .highlight-imageside img {
    height: auto;
    width: 100%;
    max-width: none;
    margin-top: 1.5rem;
  }
}

/* ============================================
   HIGHLIGHT – VARIANTE: Bild links
============================================ */
.highlight-reverse {
  background-color: rgb(250, 248, 243, 0.55);
  padding: 0;
}
.highlight-reverse .highlight-split {
  flex-direction: row-reverse;
}
.highlight-reverese-textside {
  flex: 1;
  padding: 3rem 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
@media (max-width: 900px) {
  .highlight-reverse .highlight-split {
    flex-direction: column;
  }
}

/* ============================================
   HIGHLIGHT – Abstand Bild Text nur hier reduzieren
============================================ */
.highlight-gap-tight .highlight-imageside {
  display: flex;
  justify-content: flex-end; /* Bild an die Textkante schieben */
}

.highlight-gap-tight .highlight-textside {
  padding-left: 4rem;
}

/* ============================================
   SECTION
============================================ */
.section {
  /* Einzige Quelle für vertikale Abstände zwischen Sections */
  margin: var(--section-gap) 0;
}

/* Keine extra Luft ganz oben und ganz unten im main */
main > .section:first-child { margin-top: 0; }
main > .section:last-child  { margin-bottom: 4.0rem; }

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 2.5rem;
}

/* ============================================
   BLOCK GRID
============================================ */
.blocks-grid {
  display: grid;
  gap: 2rem;
}

/* Varianten: eindeutige Zuordnung statt Kaskade */
.blocks-grid-3 { grid-template-columns: repeat(3, 1fr); }
.blocks-grid-2 { grid-template-columns: 1fr 1fr; }

/* Breite Variante */
.blocks-grid-wide { max-width: var(--page-max); }

@media (max-width: 900px) {
  .blocks-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .blocks-grid-2 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .blocks-grid-3,
  .blocks-grid-2 { grid-template-columns: 1fr; }
}

/* ============================================
   FOOTER
============================================ */
.site-footer {
  border-top: 1px solid var(--rainette-green);
  background-color: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(4px);

  padding-top: 2.2rem;
  padding-bottom: 2.2rem;
  font-size: 0.9rem;
}

.footer-inner {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2rem;
}

@media (max-width: 720px) {
  .footer-inner { grid-template-columns: 1fr; }
}

/* Gemeinsame Link-Basis (Footer + Textlink-Modul) */
.site-footer a,
.link-text {
  color: var(--benzol-green);
  text-decoration: none;
  font: inherit;
  font-weight: inherit;
  transition: all 0.2s ease;
}

.site-footer a:hover,
.link-text:hover {
  color: var(--rainette-green);
}

/* ============================================
   KONTAKT – Telefon/E-Mail: Mobile Link (benzol), Desktop Text (nicht klickbar)
   Nutzung im HTML: class="contact-inline-link"
============================================ */

/* Basis: Desktop wirkt wie normaler Text (und verhindert iOS Blau) */
.contact-inline-link {
  color: var(--text-dark);
  text-decoration: none;
  font: inherit;
  font-weight: inherit;
  -webkit-text-fill-color: currentColor; /* iOS Safari */
}

/* Mobile/Touch: benzol green + klickbar */
@media (hover: none) and (pointer: coarse) {
  .contact-inline-link {
    color: var(--benzol-green);
    -webkit-text-fill-color: var(--benzol-green);
  }
}

/* Desktop: komplett ohne Funktion */
@media (hover: hover) and (pointer: fine) {
  .contact-inline-link {
    pointer-events: none;
    cursor: default;
  }
}

/* Footer-spezifische Typografie bleibt bewusst getrennt */
.site-footer p,
.site-footer a,
.site-footer .footer-contact p,
.site-footer .footer-meta p {
  line-height: 1.35;
  margin-bottom: 0.35rem;
}

.site-footer {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

.site-footer p {
  margin-top: 0;
  margin-bottom: 0.6rem;
}

/* ============================================
   RESPONSIVE NAV TOGGLE
============================================ */
@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .primary-nav { display: none; }
  .mobile-nav.show { display: block; }
  .hero { padding: 3.5rem 0 3rem; }
}

/* ============================================
   ANGEBOT ZWEIER-BLOCK GRID
============================================ */
/* ANGEBOT – Variante: 2 Spalten + Standardbreite + Margin */
.blocks-grid.offer-grid {
  grid-template-columns: 1fr 1fr;
  max-width: var(--max-width);
  margin: 0 auto;
}

/* Hintergrund + Layout für alle Angebots-Blöcke */
.block {
  text-align: center;
  background-color: rgba(250, 248, 243, 0.76);
  padding: 2rem 1.5rem;
  border-radius: 12px;
}

.block-title {
  text-align: center;
  margin-bottom: 1rem;
}

.block-image {
  margin: 0 auto;
  width: 95%;
  max-width: 500px;
  height: 190px;
  background-color: var(--rainette-green-tint);
  border-radius: 6px;
}

.block-text {
  text-align: center;
  margin-top: 1rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   MASONRY
============================================ */
.masonry {
  column-count: 2;
  column-gap: 2rem;
}

@media (min-width: 1400px) {
  .masonry { column-count: 3; }
}

.masonry-item {
  display: inline-block;
  width: 100%;
  margin: 0 0 2rem;
  padding: 1.5rem;
  background-color: var(--rainette-green-tint);
  border-radius: 6px;
}

.masonry-item .btn {
  display: block;
  margin: 1.5rem auto 0 auto;
  text-align: center;
  width: max-content;
}

.block-subtitle {
  font-family: "Montserrat", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--warm-grey);
  font-size: 0.9rem;
  text-align: center;
  margin: 0.5rem auto 1.2rem auto;
}

/* ============================================
   LIFESTYLE – CONTENT
============================================ */
.self-row {
  display: flex;
  align-items: center;
  gap: 3rem;
  padding: 3rem 0;
  border-bottom: 1px solid #ddd;
  padding-left: 2rem;
  padding-right: 2rem;
}

.self-row.reverse {
  flex-direction: row-reverse;
}

.self-text { flex: 1; }
.self-img { flex: 1; }

.self-img img {
  width: 100%;
  height: auto;
  border-radius: 6px;
}

@media (max-width: 850px) {
  .self-row,
  .self-row.reverse {
    flex-direction: column;
    text-align: center;
  }
}

@media (min-width: 1200px) {
  .self-row {
    padding-left: 4rem;
    padding-right: 4rem;
  }
}

/* ============================================
   DROPDOWN (DESKTOP)
============================================ */
.nav-dropdown {
  position: relative;
  display: inline-block;
}

.nav-dropdown-menu {
  display: none;
  position: absolute;
  left: 0;
  top: 100%;
  background: white;
  padding: 0.5rem 0;
  border-radius: 6px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  min-width: 200px;
  z-index: 999;
}

.nav-dropdown-menu a {
  display: block;
  padding: 0.6rem 1rem;
  white-space: nowrap;
  color: var(--text-dark);
  font-size: 0.75rem;
}

.nav-dropdown-menu a:hover {
  background-color: var(--rainette-green-tint);
}

.nav-dropdown:hover .nav-dropdown-menu {
  display: block;
}

/* ============================================
   INFO-STRIPE
============================================ */
.info-stripe {
  position: relative;
  padding: 2.5rem 0;
  margin-top: 0;
}

.info-stripe-inner {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  gap: 2rem;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}

.info-block {
  flex: 1 1 0;   /* alle drei gleich breit, dürfen schrumpfen */
  min-width: 0;  /* wichtig: erlaubt echtes Zusammenschieben */
  background-color: #ffffff;
  border-radius: 6px;
  padding: 1.6rem 1.4rem;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

/* CTA innerhalb Info-Block (Phase 5) */
.info-cta {
  margin-top: 1.4rem;
  text-align: center;
}

.info-block h3 {
  font-family: "Montserrat", sans-serif;
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
  color: var(--text-dark);
}

/* ============================================
   TITELHIERARCHIE – Untertitel bewusst leichter
============================================ */

.info-block h3 {
  font-weight: 400; /* Untertitel bewusst ruhig */
}

.info-block p {
  margin: 0 0 0.9rem;
  color: var(--text-dark);
}

.info-block p:last-child {
  margin-bottom: 0;
}

@media (max-width: 850px) {
  .info-stripe-inner {
    flex-direction: column;
  }
}

/* ============================================
   INFO-STRIPE – EINSPALTIGE VARIANTE
============================================ */
.info-stripe-single {
  background-color: var(--off-white);
  padding: 2.5rem 0;
  position: relative;
}

/* Vollbreiter Einzelblock */
.info-stripe-single .info-block {
  background-color: transparent;
  box-shadow: none;
  border-radius: 0;
  padding: 2rem 1.6rem;
  width: 100%;
  max-width: none;
}
/* ============================================
   INFO-STREIFEN – 2-BLOCK VARIANTE
============================================ */
.info-stripe-two .info-stripe-inner {
  justify-content: center;
}

.info-stripe-two .info-block {
  max-width: var(--max-width);
}
/* Index-Seite: Info-Stripe und Blöcke exakt im Calm-Streifen-Look */
body:not(.page-calm) .info-stripe {
  background-color: rgba(250, 248, 243, 0.45); /* wie .calm-stripe */
  border-top: 1px solid rgba(169, 157, 145, 0.22);
  border-bottom: 1px solid rgba(169, 157, 145, 0.22);
}

body:not(.page-calm) .info-stripe .info-block {
  background-color: rgba(255, 255, 255, 0.72); /* identisch zu Calm-Inhalten */
  border: 1px solid rgba(169, 157, 145, 0.22);
  box-shadow: none; /* exakt wie Angst-Streifen */
}

/* ============================================
   KONTAKTFORMULAR – RESTAURIERTE STYLES
============================================ */
.contact-form {
  max-width: 700px;
  margin: 0 auto;
  width: 100%;
}

.form-row {
  width: 100%;
  margin-bottom: 1.2rem;
}

.form-row.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-col {
  display: flex;
  flex-direction: column;
}

.form-col label {
  font-family: "Montserrat", sans-serif;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
  letter-spacing: 0.03em;
}

.dk-input,
.dk-textarea {
  width: 100%;
  padding: 0.55rem 0.7rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-family: "Open Sans", sans-serif;
  font-size: 15px;
  color: var(--text-dark);
}

.dk-input:focus,
.dk-textarea:focus {
  border-color: var(--benzol-green);
  outline: none;
}

.dk-textarea {
  resize: vertical;
  min-height: 140px;
}

@media (max-width: 650px) {
  .form-row.two-col {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   KONTAKT – LEAFLET MAP (aus kontakt.html verschoben)
============================================ */
#praxis-map .leaflet-tile-pane {
  filter:
    brightness(0.90)
    sepia(15%)
    saturate(60%)
    hue-rotate(-12deg)
    contrast(1.08);
}

.leaflet-control-attribution {
  font-size: 10px !important;
  color: #A09588 !important;
  background: rgba(255,255,255,0.22) !important;
  backdrop-filter: blur(2px);
}
.leaflet-control-attribution a { color:#8C8378 !important; }

.leaflet-popup-content-wrapper {
  border-radius: 12px;
  padding: 0.8rem 1rem;
  box-shadow: 0 4px 22px rgba(0,0,0,0.12);
}
.leaflet-popup-tip {
  filter: drop-shadow(0 2px 2px rgba(0,0,0,0.12));
}
.leaflet-popup-content {
  font-family: inherit;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text-dark);
}

.leaflet-popup-content strong {
  font-family: "Montserrat", sans-serif;
  font-size: 15px;
}
.leaflet-popup-content a {
  color: var(--benzol-green);
  text-decoration: none;
}

/* ============================================
   COOKIE BANNER – zweizeilig & kompakt
============================================ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2000;

  background: rgba(250, 248, 243, 0.98);
  border-top: 1px solid var(--rainette-green);
  box-shadow: 0 -4px 8px rgba(0,0,0,0.05);

  padding: 0.65rem 0;     /* deutlich flacher */
  display: none;
  font-size: 0.88rem;
}

.cookie-banner-inner {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 0 1.2rem;

  display: grid;
  grid-template-columns: 1fr auto; /* Text | Buttons */
  align-items: center;
  gap: 0.9rem;
}

.cookie-banner-text {
  margin: 0;
  line-height: 1.35;
}

.cookie-banner-text a {
  color: var(--benzol-green);
  text-decoration: underline;
}

.cookie-banner-buttons {
  display: flex;
  gap: 0.9rem;
  white-space: nowrap;
}

.cookie-link {
  font-family: "Montserrat", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;

  color: var(--benzol-green);
  text-decoration: underline;

  cursor: pointer;
  transition: color 0.2s ease;
}

.cookie-link:hover {
  color: var(--rainette-green);
}
/* ============================================
   MOBILE: gestapelt
============================================ */
@media (max-width: 720px) {
  .cookie-banner {
    padding: 0.7rem 0;
  }

  .cookie-banner-inner {
    grid-template-columns: 1fr;
    gap: 0.6rem;
    text-align: left;
  }

  .cookie-banner-buttons {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .cookie-btn {
    padding: 0.55rem 1rem; /* Touch-freundlich */
    font-size: 0.74rem;
  }
}

/* Datenschutz – Untertitelgrössen (h5) */
.text-wide h5 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-top: 1.6rem;
  margin-bottom: 0.6rem;
}

/* Harmonisierung Impressum & DSE */
.text-centered {
  text-align: center;
}

.section-divider {
  width: 100%;
  height: 1px;
  background-color: #e8e8e3;
  margin: 2rem auto;
}

.legal-title {
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.text-wide {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Impressum – Linkstil harmonisieren */
.text-wide.text-centered a {
  color: var(--benzol-green);
  text-decoration: none;
  font-weight: 500;
}

.text-wide.text-centered a:hover {
  text-decoration: underline;
}

/* Kompakter Hero für Impressum & DSE */
.hero-compact .hero-inner {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.hero-compact .hero-content {
  margin-bottom: 1rem;
}

/* Harmonisierung aller Unterpunkte in DSE & Impressum */
.legal-list {
  text-align: left;
  margin: 1.2rem auto 1.6rem;
  padding-left: 25%;
  max-width: 900px;
}

.legal-list li {
  margin: 0.25rem 0;
}

@media (max-width: 768px) {
  .legal-list {
    padding-left: 7%;
  }
}

/* ============================================
   WEITERBILDUNGEN – Jahresheader & Einträge
============================================ */
.wb-year {
  text-align: center;
  font-family: "Montserrat", sans-serif;
  font-size: 1.5rem;
  font-weight: 500;
  margin: 3rem auto 1.5rem;
  color: var(--text-dark);
}

/* 3-Spalten-Einträge */
.wb-entry {
  display: grid;
  grid-template-columns: 1fr 2fr 2fr;
  gap: 1.2rem;
  padding: 0.8rem 0;
  margin: 0 auto;
  max-width: 900px;
}

.wb-col {
  text-align: left;
}

@media (max-width: 780px) {
  .wb-entry {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }
}

/* -------------------------------------------------
   OVAL STRESS FRAMEWORK – FINAL VERSION WITH TEXT
   (kompakte Version 2.0, nur für Lifestyle)
------------------------------------------------- */
.stress-oval {
  padding: 2rem 0 2rem;
}

.oval-wrapper {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.oval-shape {
  background: linear-gradient(to top, #8c8c8c, #f5f5f5);
  border-radius: 24px;
  padding: 2rem 2rem;
  width: calc(100% - 40px);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.oval-title-top,
.oval-title-bottom {
  font-family: "Montserrat", sans-serif;
  font-size: 1.15rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dark);
  margin-top: 1rem;
  margin-bottom: 0.6rem;
}

.oval-text-top,
.oval-text-bottom {
  font-size: 0.95rem;
  max-width: 700px;
  line-height: 1.55;
  color: var(--text-dark);
  margin-bottom: 2.2rem;
}

.oval-pillars {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 1.6rem;
  width: 100%;
  max-width: 900px;
  margin: 1rem auto 2.8rem auto;
}

.pillar {
  border-radius: 26px;
  padding: 1.4rem 1.2rem;
  flex: 1;
  min-width: 180px;
  max-width: 220px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  text-align: center;
}

.pillar h4 {
  font-family: "Montserrat", sans-serif;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  margin-top: 0;
  margin-bottom: 0.5rem;
  color: #ffffff;
}

.pillar p {
  margin: 0;
  line-height: 1.35;
  font-size: 0.92rem;
  color: #ffffff;
}

.pillar-body   { background-color: var(--spectrum-red); }
.pillar-energy { background-color: #E4A800; }
.pillar-mental { background-color: var(--benzol-green); }
.pillar-spirit { background-color: var(--warm-grey); }

@media (max-width: 1024px) {
  .oval-shape {
    border-radius: 22px;
    padding: 2.5rem 1.2rem;
    width: calc(100% - 30px);
    margin: 0 auto;
    background: linear-gradient(to top, #9c9c9c, #f5f5f5);
  }

  .oval-pillars {
    flex-direction: column;
    gap: 1.4rem;
    max-width: 100%;
    margin: 2rem 0;
  }

  .pillar {
    width: 100%;
    max-width: 100%;
    padding: 1.8rem 1.2rem;
  }

  .oval-title-top {
    order: -2;
    margin-top: 0.5rem;
  }

  .oval-text-top {
    order: -1;
    margin-bottom: 1.5rem;
    padding: 0 0.6rem;
    font-size: 0.9rem;
  }

  .oval-title-bottom {
    order: 10;
    margin-top: 1.8rem;
  }

  .oval-text-bottom {
    order: 11;
    padding: 0 0.6rem;
    font-size: 0.9rem;
  }
}
/* ============================================
   KONTAKTFORMULAR – Erfolgsmeldung
============================================ */
.form-success {
  max-width: 700px;
  margin: 0 auto 2.2rem;
  padding: 1.1rem 1.4rem;
  text-align: center;

  border: 1px solid rgba(107, 137, 89, 0.45); /* Rainette Green */
  border-radius: 10px;

  background-color: rgba(107, 137, 89, 0.08);
  color: var(--text-dark);

  font-family: "Montserrat", sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

/* ============================================
   HERO – Titel für ruhige Seiten
============================================ */

.page-calm .hero-heading {
  color: rgb(82, 78, 78);
  font-weight: 450; /* bleibt ruhig, nicht zu leicht */
}

.page-calm .hero-divider {
  background-color: rgba(169, 157, 145, 0.75); /* warm grey, weich */
}

/* ============================================
   CALM INFO PAGES – Streifen-Layout (Template)
   Nutzung: body class="page-calm"
============================================ */

/* Hintergrundmuster im Main auf ruhigen Seiten reduzieren */
.page-calm main::before {
  opacity: 0.12; /* main = 0.12 */
}

/* Hero auf ruhigen Seiten etwas kompakter */
.page-calm .hero {
  padding: 4.2rem 0 3.2rem;
}

/* Streifen-Grundmodul */
.calm-stripe {
background-color: rgba(250, 248, 243, 0.45); /* Ivory Buff mit Durchscheinen */
  border-top: 1px solid rgba(169, 157, 145, 0.22);
  border-bottom: 1px solid rgba(169, 157, 145, 0.22);
  padding: 2.6rem 0;
  margin: var(--section-gap) 0;
}

.calm-stripe-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* H2 Stil im Streifen */
.calm-h2 {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  font-size: 1.02rem;
  margin: 0 0 1.0rem;
  color: var(--text-dark);
}

/* Absatzabstände */
.calm-stripe p {
  margin: 0 0 0.9rem;
}
.calm-stripe p:last-child {
  margin-bottom: 0;
}

/* Listen im Streifen */
.calm-list {
  margin: 0.6rem 0 0;
  padding-left: 1.2rem;
}
.calm-list li {
  margin: 0.35rem 0;
}

/* Quick Coherence Technique */
.quick-coherence {
  background: rgba(107, 137, 89, 0.08); /* rainette-green-tint */
  border-top: 1px solid rgba(107, 137, 89, 0.35);
  border-bottom: 1px solid rgba(107, 137, 89, 0.35);
}

.quick-coherence .calm-h2 {
  color: var(--benzol-green);
}

.qct-steps {
  display: grid;
  gap: 0.8rem;
  margin-top: 1rem;
}

.qct-step {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(169, 157, 145, 0.22);
  border-radius: 10px;
  padding: 0.95rem 1rem;
}

.qct-step strong {
  font-family: "Montserrat", sans-serif;
  letter-spacing: 0.03em;
}

/* CTA Buttons am Schluss */
.calm-cta {
  text-align: center;
  margin-top: 1.6rem;
}
.calm-cta .btn {
  margin: 0.35rem 0.35rem;
}

/* Mobile Feinschliff */
@media (max-width: 650px) {
  .calm-stripe {
    padding: 2.1rem 0;
  }
  .page-calm .hero {
    padding: 3.6rem 0 2.8rem;
  }
}
/* Index-Seite: Gedicht im calm-stripe zentrieren */
body:not(.page-calm) .calm-stripe-inner {
  text-align: center;
}
/* ============================================
   Homöopathie: h3 im Calm-Stripe wie Untertitel
   (wie "Diplome · Abschlüsse · Anerkennungen"),
   aber linksbündig
============================================ */

.page-calm .calm-stripe-inner h3 {
  font-family: "Montserrat", sans-serif;
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;

  font-weight: 400;          /* Untertitel ruhig */
  margin: 2rem 0 0.6rem;     /* wie sinnvoller Abschnittsstart */
  color: var(--text-dark);
  text-align: left;
}

/* Optional, falls du bei h3 denselben Divider wie bei den Kacheln willst */
.page-calm .calm-stripe-inner h3 + .hero-divider {
  margin: 0 0 1.2rem;
}
.fl-explain-red {
  color: var(--spectrum-red);
}

.fl-explain-green {
  color: var(--benzol-green);
}

.fl-explain-orange {
  color: #e67e22;
}
.h3-soft {
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-size: 1.25rem;
  line-height: 1.3;
  letter-spacing: 0.02em;
  color: var(--warm-grey);
  margin: 2.2rem 0 0.8rem;
}

/* ============================================
   ERIKSON – Klickbare Stufenübersicht
============================================ */


html {
  scroll-behavior: smooth;
}

.erikson-map {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  margin: 0 auto;
}

.erikson-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 240px;
  padding: 1.2rem 1.2rem 1.5rem;
  border-radius: 10px;
  text-align: center;
  text-decoration: none;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.erikson-stage:hover,
.erikson-stage:focus {
  transform: translateY(-4px);
  filter: brightness(1.02);
}

.erikson-stage-dots {
  width: 100%;
  min-height: 30px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 0.45rem;
  margin-bottom: 1.8rem;
}

.erikson-stage-dot {
  width: 14px;
  height: 14px;
  min-width: 14px;
  min-height: 14px;
  border-radius: 50%;
  display: inline-block;
  flex: 0 0 14px;
}

/* Text */
.erikson-stage-title {
  display: block;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.35;
  margin-bottom: 0.6rem;
}

.erikson-stage-text {
  display: block;
  font-size: 0.95rem;
  line-height: 1.4;
  max-width: 24ch;
}

/* Kachelfarben */
.erikson-stage-womb {
  background: #c61b64;
  color: #ffffff;
}

.erikson-stage-infancy {
  background: #ff5a1f;
  color: #ffffff;
}

.erikson-stage-toddler {
  background: #f79b1a;
  color: #ffffff;
}

.erikson-stage-play {
  background: #f4bf24;
  color: var(--text-dark);
}

.erikson-stage-school {
  background: #c6d933;
  color: var(--text-dark);
}

.erikson-stage-adolescence {
  background: #4caf50;
  color: #ffffff;
}

.erikson-stage-young-adult {
  background: #0f9d8f;
  color: #ffffff;
}

.erikson-stage-adulthood {
  background: #3293df;
  color: #ffffff;
}

.erikson-stage-old-age {
  background: #4659b9;
  color: #ffffff;
}

/* Kreisfarben gemäss Chakra-Vorgabe */
.dot-red {
  background: #d62828;
}

.dot-orange {
  background: #f77f00;
}

.dot-yellow {
  background: #f4d000;
}

.dot-yellow-green {
  background: linear-gradient(180deg, #f4d000 0%, #59b84c 100%);
}

.dot-green {
  background: #59b84c;
}

.dot-turquoise {
  background: #52c7c7;
}

.dot-orange-yellow {
  background: linear-gradient(180deg, #f77f00 0%, #f4d000 100%);
}

.dot-turquoise-blue {
  background: linear-gradient(180deg, #52c7c7 0%, #3557b7 100%);
}

@media (max-width: 950px) {
  .erikson-map {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .erikson-map {
    grid-template-columns: 1fr;
  }

  .erikson-stage {
    min-height: 220px;
  }
}