/* ============================================================
   GLOBALE STYLES – Therapeutische Praxis St. Gallen
   ============================================================ */

/* ── Lokale Schriften (datenschutzkonform selbst gehostet – identische Schnitte wie zuvor via Google Fonts) ── */
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 300; font-display: swap; src: url('../assets/fonts/cormorant-garamond-300.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 400; font-display: swap; src: url('../assets/fonts/cormorant-garamond-400.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 500; font-display: swap; src: url('../assets/fonts/cormorant-garamond-500.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 600; font-display: swap; src: url('../assets/fonts/cormorant-garamond-600.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 300; font-display: swap; src: url('../assets/fonts/cormorant-garamond-300-italic.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 400; font-display: swap; src: url('../assets/fonts/cormorant-garamond-400-italic.woff2') format('woff2'); }
@font-face { font-family: 'Jost'; font-style: normal; font-weight: 300; font-display: swap; src: url('../assets/fonts/jost-300.woff2') format('woff2'); }
@font-face { font-family: 'Jost'; font-style: normal; font-weight: 400; font-display: swap; src: url('../assets/fonts/jost-400.woff2') format('woff2'); }
@font-face { font-family: 'Jost'; font-style: normal; font-weight: 500; font-display: swap; src: url('../assets/fonts/jost-500.woff2') format('woff2'); }
@font-face { font-family: 'Jost'; font-style: normal; font-weight: 600; font-display: swap; src: url('../assets/fonts/jost-600.woff2') format('woff2'); }

/* ── CSS Variablen ── */
:root {
  --gruen-dunkel:   #2A4A1E;
  --gruen-mittel:   #3D6B2C;
  --gruen-hell:     #5E8C45;
  --gruen-zart:     #C8D9B8;
  --gruen-hauch:    #EFF4EA;
  --creme:          #F8F4EE;
  --creme-dunkel:   #EDE7DC;
  --braun-warm:     #7A6248;
  --text-dunkel:    #1E1E1E;
  --text-mittel:    #4A4A4A;
  --text-hell:      #7A7A7A;
  --weiss:          #FFFFFF;

  --font-serif:     'Cormorant Garamond', Georgia, serif;
  --font-sans:      'Jost', sans-serif;

  --radius-s:       6px;
  --radius-m:       12px;
  --radius-l:       24px;

  --shadow-s:       0 2px 8px rgba(42,74,30,0.08);
  --shadow-m:       0 6px 24px rgba(42,74,30,0.12);
  --shadow-l:       0 16px 48px rgba(42,74,30,0.16);

  --transition:     0.3s ease;
  --max-width:      1200px;
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-sans);
  font-weight: 400;
  color: var(--text-dunkel);
  background-color: var(--creme);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── Typografie ── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.2;
  color: var(--gruen-dunkel);
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 400; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 2rem); }
h4 { font-size: 1.25rem; }

p { font-size: 1rem; color: var(--text-mittel); line-height: 1.85; }

.lead {
  font-size: 1.15rem;
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--text-mittel);
  line-height: 1.9;
}

/* ── Layout ── */
.container { width: 100%; max-width: var(--max-width); margin: 0 auto; padding: 0 2rem; }

section { padding: 5rem 0; }

.section-label {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gruen-hell);
  margin-bottom: 0.75rem;
}

.section-header { max-width: 640px; margin-bottom: 3.5rem; }
.section-header.centered { margin-left: auto; margin-right: auto; text-align: center; }
.section-header p { margin-top: 1rem; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-s);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
}

.btn-primary { background: var(--gruen-dunkel); color: var(--weiss); border-color: var(--gruen-dunkel); }
.btn-primary:hover { background: var(--gruen-mittel); border-color: var(--gruen-mittel); transform: translateY(-2px); box-shadow: var(--shadow-m); }

.btn-secondary { background: transparent; color: var(--gruen-dunkel); border-color: var(--gruen-dunkel); }
.btn-secondary:hover { background: var(--gruen-dunkel); color: var(--weiss); transform: translateY(-2px); }

.btn-outline-white { background: transparent; color: var(--weiss); border-color: rgba(255,255,255,0.6); }
.btn-outline-white:hover { background: var(--weiss); color: var(--gruen-dunkel); border-color: var(--weiss); }

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  background: #4C6B64;
  background: linear-gradient(90deg, rgba(76, 107, 100, 1) 0%, rgba(0, 114, 67, 1) 100%);
  overflow: hidden;
  padding-top: 80px;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(94,140,69,0.25) 0%, transparent 60%);
  pointer-events: none;
}

.hero .container { display: flex; align-items: center; justify-content: space-between; gap: 3rem; flex-wrap: wrap; max-width: 1340px; }

.hero-content { position: relative; z-index: 2; color: var(--weiss); max-width: 700px; flex: 1 1 640px; }

/* ── Logo im Hero ── */
.hero-logo {
  position: relative;
  z-index: 2;
  flex: 0 1 520px;
  margin-left: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transform: translate(75px, 10px);
}

.hero-logo-img {
  display: block;
  width: 100%;
  /* Logo-Datei wurde auf den sichtbaren Inhalt zugeschnitten (560px statt
     1000px Canvas) – 315px entspricht der bisherigen sichtbaren Grösse */
  max-width: 315px;
  height: auto;
  filter: drop-shadow(0 12px 30px rgba(0,0,0,0.25));
}

.hero-logo-slogan {
  margin-top: 3.75rem;
  color: var(--weiss);
  font-style: italic;
  font-size: 1.5rem;
  line-height: 1.5;
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

@media (max-width: 768px) {
  .hero .container { justify-content: center; text-align: center; }
  .hero-content { max-width: 100%; }
  .hero-actions { justify-content: center; }
  .hero-logo { margin-top: 2rem; margin-left: 0; flex-basis: 420px; transform: none; }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.9);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(4px);
}

.hero-content h1 { color: var(--weiss); font-weight: 300; margin-bottom: 1.5rem; text-shadow: 0 2px 20px rgba(0,0,0,0.15); }
.hero-content h1 em { font-style: italic; font-weight: 400; }
.hero-content .lead { color: rgba(255,255,255,0.85); font-style: italic; font-weight: 600; margin-bottom: 2.5rem; }

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ── Kassen-Badges ── */
.kassen-section { padding: 3rem 0; background: var(--weiss); border-bottom: 1px solid var(--gruen-zart); }

.kassen-inner { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; }

.kassen-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-hell);
  white-space: nowrap;
}

.kassen-logos { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }

.kassen-badge {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 1.1rem;
  background: var(--gruen-hauch);
  border: 1px solid var(--gruen-zart);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gruen-dunkel);
}

/* ── Cards ── */
.card {
  background: var(--weiss);
  border-radius: var(--radius-m);
  padding: 2rem;
  box-shadow: var(--shadow-s);
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid var(--gruen-hauch);
}

.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-m); }

/* Startseite: Methoden-Karten mit weichem, hellem Salbeigrün */
#methoden .card { background: #E3EDD8; }

/* Startseite: Methoden-Intro – Text links, Dekobild rechts im freien Raum */
.methoden-intro {
  display: flex;
  align-items: center;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.methoden-intro .section-header { flex: 1 1 640px; margin-bottom: 0; }

.methoden-intro-bild {
  flex: 0 0 auto;
  width: 100%;
  max-width: 175px;
  height: auto;
  margin-left: auto;
  transform: rotate(-53deg);
  /* Feinjustierung der Position – verschiebt nur optisch,
     das Layout drumherum bleibt unberührt */
  position: relative;
  left: -3.5rem;
  top: -1.5rem;
}

/* Drehung in beide fade-up-Zustände einbauen, damit die Einblend-Animation
   den transform nicht überschreibt */
.methoden-intro-bild.fade-up { transform: translateY(30px) rotate(-53deg); }
.methoden-intro-bild.fade-up.visible { transform: translateY(0) rotate(-53deg); }

.card-icon {
  width: 52px;
  height: 52px;
  background: var(--gruen-hauch);
  border-radius: var(--radius-s);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.5rem;
}

.card h3 { font-size: 1.45rem; margin-bottom: 0.75rem; color: var(--gruen-dunkel); }
.card p { font-size: 0.95rem; }
.card .mehr-link { display: inline-flex; align-items: center; gap: 0.3rem; color: var(--gruen-mittel); font-size: 0.9rem; font-weight: 500; margin-top: 1rem; transition: gap var(--transition); }
.card .mehr-link:hover { gap: 0.6rem; }

/* ── Grid Layouts ── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* ── Dekorative Linie ── */
.divider { width: 60px; height: 2px; background: linear-gradient(to right, var(--gruen-mittel), var(--gruen-zart)); margin: 1.25rem 0; }
.divider.centered { margin: 1.25rem auto; }

/* ── Page Hero (Unterseiten) ── */
.page-hero {
  background: linear-gradient(135deg, var(--gruen-dunkel), var(--gruen-mittel));
  padding: 7rem 0 5rem;
  color: var(--weiss);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 60px;
  background: var(--creme);
  clip-path: ellipse(55% 100% at 50% 100%);
}

.page-hero h1 { color: var(--weiss); font-size: clamp(2rem, 4vw, 3.2rem); }
.page-hero .lead { color: rgba(255,255,255,0.8); max-width: 600px; margin: 1rem auto 0; }

/* ── Breadcrumb ── */
.breadcrumb { padding: 1rem 0; font-size: 0.85rem; color: var(--text-hell); }
.breadcrumb a { color: var(--gruen-mittel); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--gruen-dunkel); }
.breadcrumb span { margin: 0 0.4rem; }

/* ── Zitat Block ── */
.quote-block {
  background: var(--gruen-hauch);
  border-left: 4px solid var(--gruen-mittel);
  padding: 2rem 2.5rem;
  border-radius: 0 var(--radius-m) var(--radius-m) 0;
  margin: 2.5rem 0;
}

.quote-block blockquote {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-style: italic;
  color: var(--gruen-dunkel);
  line-height: 1.6;
}

/* ── CTA Banner ── */
.cta-banner { background: #4C6B64; background: linear-gradient(270deg, rgba(76, 107, 100, 1) 0%, rgba(0, 114, 67, 1) 100%); color: var(--weiss); text-align: center; padding: 5rem 0; }
.cta-banner h2 { color: var(--weiss); margin-bottom: 1rem; }
.cta-banner p { color: rgba(255,255,255,0.8); margin-bottom: 2rem; }
.cta-banner .btn-group { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── Footer ── */
footer { background: #4C6B64; background: linear-gradient(90deg, rgba(76, 107, 100, 1) 0%, rgba(0, 114, 67, 1) 100%); color: rgba(255,255,255,0.75); padding: 4rem 0 2rem; }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand h3 { font-family: var(--font-serif); color: var(--weiss); font-size: 1.5rem; margin-bottom: 0.5rem; }
.footer-brand .tagline { font-size: 0.85rem; color: rgba(255,255,255,0.55); font-style: italic; margin-bottom: 1.25rem; }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; color: var(--weiss); }

.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1.25rem;
}

.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul li a { font-size: 0.9rem; color: rgba(255,255,255,0.7); transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--weiss); }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
  color: rgba(255,255,255,0.7);
}

.footer-contact-item .icon { font-size: 1.1rem; flex-shrink: 0; margin-top: 0.1rem; }
.footer-contact-item svg { width: 17px; height: 17px; flex-shrink: 0; margin-top: 0.15rem; opacity: 0.75; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom a { color: rgba(255,255,255,0.6); transition: color var(--transition); }
.footer-bottom a:hover { color: var(--weiss); }

/* ── Animationen ── */
.fade-up { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-in { opacity: 0; transition: opacity 0.7s ease; }
.fade-in.visible { opacity: 1; }

/* ── Utility ── */
.text-center { text-align: center; }
.text-green { color: var(--gruen-mittel); }
.bg-creme { background: var(--creme); }
.bg-white { background: var(--weiss); }
.bg-green-light { background: var(--gruen-hauch); }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

/* Ab hier ist rechts kein freier Raum mehr – Dekobild ausblenden,
   Darstellung bleibt exakt wie vor der Ergänzung */
@media (max-width: 900px) {
  .methoden-intro { display: block; margin-bottom: 0; }
  .methoden-intro .section-header { margin-bottom: 3.5rem; }
  .methoden-intro-bild { display: none; }
}

@media (max-width: 768px) {
  section { padding: 3.5rem 0; }
  .container { padding: 0 1.25rem; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { min-height: 80vh; }
  .cta-banner { padding: 3.5rem 0; }
  .page-hero { padding: 6rem 0 4rem; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .btn { justify-content: center; }
  .kassen-inner { flex-direction: column; align-items: flex-start; }
}
