/* ═══════════════════════════════════════════════
   FOKUS DARM – SHARED DESIGN SYSTEM
   Farben exakt nach CI-Guide (Fokus Darm_CI_final.pdf)
   Schriften: Fiona (Headlines) · Poppins (Fließtext) – nach CI-Guide
   ═══════════════════════════════════════════════ */

@font-face {
  font-family: 'Fiona';
  src: url('../fonts/fiona/Fiona-Regular.woff2') format('woff2'),
       url('../fonts/fiona/Fiona-Regular.woff') format('woff'),
       url('../fonts/fiona/Fiona-Regular.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Poppins';
  src: url('../fonts/poppins/poppins-300.woff2') format('woff2');
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Poppins';
  src: url('../fonts/poppins/poppins-400.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Poppins';
  src: url('../fonts/poppins/poppins-500.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Poppins';
  src: url('../fonts/poppins/poppins-600.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Poppins';
  src: url('../fonts/poppins/poppins-700.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Poppins';
  src: url('../fonts/poppins/poppins-300italic.woff2') format('woff2');
  font-weight: 300; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'Poppins';
  src: url('../fonts/poppins/poppins-400italic.woff2') format('woff2');
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'Poppins';
  src: url('../fonts/poppins/poppins-500italic.woff2') format('woff2');
  font-weight: 500; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'Poppins';
  src: url('../fonts/poppins/poppins-600italic.woff2') format('woff2');
  font-weight: 600; font-style: italic; font-display: swap;
}

:root {
  --creme:      #EAEBDE; /* Eierschale */
  --sand:       #CDC2B0; /* Sand */
  --rose:       #DCA9A1; /* Altrosa */
  --sage:       #919779; /* Salbei */
  --braun:      #68604E; /* Taupe */
  --jagdgruen:  #373A2F; /* Jagdgrün */
  --dunkel:     #181919; /* Fake Black */
  --weiss:      #FAFAFA; /* Off White */
  --font-serif: 'Fiona', serif;
  --font-sans:  'Poppins', sans-serif;
  --max-w:      1100px;
  --pad-x:      8vw;
  --pad-y:      6rem;
  --radius:     4px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--weiss);
  color: var(--braun);
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.75;
  overflow-x: hidden;
}

/* ── NAVIGATION ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem var(--pad-x);
  background: rgba(250,250,250,0.93);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(205,194,176,0.3);
}
.nav-logo { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; }
.nav-logo img { height: 34px; width: auto; display: block; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-name { font-family: var(--font-serif); font-size: 1.08rem; font-weight: 400; letter-spacing: 0.18em; color: var(--dunkel); text-transform: uppercase; }
.logo-sub  { font-size: 0.5rem; letter-spacing: 0.22em; color: var(--braun); text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 0; list-style: none; }
.nav-links > li { position: relative; }
.nav-links > li::after { content: ''; position: absolute; top: 100%; left: 0; right: 0; height: 12px; }
.nav-links > li > a {
  display: block; font-size: 0.73rem; font-weight: 400; letter-spacing: 0.12em;
  text-transform: uppercase; text-decoration: none; color: var(--braun);
  padding: 0.5rem 1rem; transition: color 0.3s;
}
.nav-links > li > a:hover, .nav-links > li > a.active { color: var(--sage); }
.nav-links > li > a.has-sub::after { content: ' ▾'; font-size: 0.6rem; }
/* Dropdown */
.nav-dropdown {
  position: absolute; top: calc(100% + 8px); left: 0;
  background: var(--weiss); border: 1px solid rgba(205,194,176,0.35);
  border-radius: var(--radius); min-width: 220px;
  box-shadow: 0 8px 30px rgba(24,25,25,0.12);
  opacity: 0; pointer-events: none; transform: translateY(-6px);
  transition: opacity 0.25s, transform 0.25s;
  list-style: none; padding: 0.5rem 0;
}
.nav-links > li:hover .nav-dropdown { opacity: 1; pointer-events: auto; transform: none; }
.nav-dropdown li a {
  display: block; padding: 0.55rem 1.2rem;
  font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase;
  text-decoration: none; color: var(--braun); transition: color 0.2s, background 0.2s;
}
.nav-dropdown li a:hover { color: var(--sage); background: rgba(145,151,121,0.08); }
.nav-cta {
  font-size: 0.71rem; font-weight: 400; letter-spacing: 0.13em;
  text-transform: uppercase; text-decoration: none;
  color: var(--weiss); background: var(--sage);
  padding: 0.6rem 1.4rem; border-radius: 2px; transition: background 0.3s;
  white-space: nowrap; margin-left: 1rem;
}
.nav-cta:hover { background: var(--dunkel); }

/* Dezenter hervorgehobener Nav-Link (z.B. Online-Sprechstunde) */
.nav-highlight {
  font-size: 0.68rem; font-weight: 500; letter-spacing: 0.1em;
  text-transform: uppercase; text-decoration: none; color: var(--sage);
  background: rgba(145,151,121,0.12); border: 1px solid rgba(145,151,121,0.35);
  padding: 0.45rem 0.9rem; border-radius: 20px; transition: background 0.3s, color 0.3s;
  margin-left: 0.75rem; white-space: nowrap;
}
.nav-highlight:hover { background: rgba(145,151,121,0.22); color: var(--dunkel); border-color: var(--sage); }

/* Mobile nav toggle */
.nav-toggle {
  display: none; flex-direction: column; gap: 5px; background: none; border: none;
  cursor: pointer; padding: 0.5rem; margin-left: 1rem; z-index: 110;
}
.nav-toggle span { width: 22px; height: 1.5px; background: var(--dunkel); transition: transform 0.3s, opacity 0.3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── TYPOGRAPHY ── */
.eyebrow {
  font-size: 0.63rem; font-weight: 400; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--rose);
  display: flex; align-items: center; gap: 0.85rem; margin-bottom: 1.1rem;
}
.eyebrow::before { content:''; display:block; width:26px; height:1px; background:var(--rose); flex-shrink:0; }
.eyebrow.center { justify-content: center; }
.eyebrow.center::before { display: none; }
.eyebrow.light { color: rgba(220,169,161,0.75); }
.eyebrow.light::before { background: rgba(220,169,161,0.45); }
.eyebrow.sand-color { color: var(--sand); }
.eyebrow.sand-color::before { background: var(--sand); }

h1 { font-family: var(--font-serif); font-size: clamp(2.2rem,4vw,3.4rem); font-weight: 300; line-height: 1.2; color: var(--dunkel); }
h2 { font-family: var(--font-serif); font-size: clamp(1.6rem,2.8vw,2.4rem); font-weight: 300; line-height: 1.25; color: var(--dunkel); }
h3 { font-family: var(--font-serif); font-size: 1.35rem; font-weight: 400; line-height: 1.3; color: var(--dunkel); }
h4 { font-family: var(--font-sans); font-size: 0.82rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dunkel); margin-bottom: 0.4rem; }
h1 em, h2 em, h3 em { font-style: italic; color: var(--sage); }
p { font-size: 0.93rem; line-height: 1.85; }
.lead { font-family: var(--font-sans); font-size: clamp(1rem,1.6vw,1.15rem); font-weight: 300; line-height: 1.65; color: var(--braun); }
.small { font-size: 0.78rem; color: var(--braun); opacity: 0.75; line-height: 1.7; }

/* ── BUTTONS ── */
.btn { display: inline-block; font-size: 0.71rem; font-weight: 400; letter-spacing: 0.17em; text-transform: uppercase; text-decoration: none; border-radius: 2px; transition: all 0.3s; cursor: pointer; border: none; }
.btn-dark  { color: var(--weiss); background: var(--dunkel); padding: 0.92rem 2.1rem; }
.btn-dark:hover  { background: var(--sage); transform: translateY(-1px); }
.btn-sage  { color: var(--weiss); background: var(--sage); padding: 0.92rem 2.1rem; }
.btn-sage:hover  { background: var(--dunkel); transform: translateY(-1px); }
.btn-ghost { color: var(--braun); border: 1px solid var(--sand); padding: 0.88rem 2rem; background: none; }
.btn-ghost:hover { border-color: var(--sage); color: var(--sage); }
.btn-ghost-light { color: var(--creme); border: 1px solid rgba(234,235,222,0.4); padding: 0.88rem 2rem; background: none; }
.btn-ghost-light:hover { border-color: var(--creme); }

/* ── LAYOUT ── */
.inner { max-width: var(--max-w); margin: 0 auto; }
.section { padding: var(--pad-y) var(--pad-x); }
.divider { width: 44px; height: 1px; background: var(--sand); margin: 1.8rem 0; }

/* image */
.img-ph {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 0.7rem; text-align: center; padding: 2.5rem;
  min-height: 100%;
}
.img-ph svg { opacity: 0.18; }
.img-ph-label { font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--sand); }
.img-ph-size  { font-size: 0.68rem; color: rgba(104,96,78,0.55); font-style: italic; }
.img-cover { width: 100%; height: 100%; object-fit: cover; display: block; }

/* tag / badge */
.badge {
  display: inline-block; font-size: 0.6rem; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--sage);
  background: rgba(145,151,121,0.13); padding: 0.3rem 0.85rem; border-radius: 20px;
  margin-bottom: 1.3rem;
}
.badge.rose { color: #b4726a; background: rgba(220,169,161,0.16); }
.badge.sand { color: var(--braun); background: rgba(205,194,176,0.22); }

/* sub-block */
.sub-block { margin-top: 1.8rem; padding-top: 1.8rem; border-top: 1px solid rgba(205,194,176,0.3); }
.sub-label { font-size: 0.66rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--sage); margin-bottom: 0.8rem; }

/* card */
.card {
  background: var(--weiss); border: 1px solid rgba(205,194,176,0.32);
  border-radius: var(--radius); padding: 2rem 1.8rem;
  transition: border-color 0.3s, transform 0.25s;
}
.card:hover { border-color: var(--sage); transform: translateY(-3px); }
.card.creme { background: var(--creme); }
.card.dark  { background: rgba(250,250,250,0.06); border-color: rgba(234,235,222,0.14); }
.card.dark:hover { border-color: rgba(234,235,222,0.32); }

/* highlight / callout */
.callout {
  padding: 1.6rem 1.8rem;
  border-left: 2px solid var(--rose);
  background: rgba(220,169,161,0.1);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.6rem 0;
}
.callout.sage { border-left-color: var(--sage); background: rgba(145,151,121,0.1); }
.callout p { font-family: var(--font-sans); font-size: 0.93rem; font-weight: 600; font-style: normal; line-height: 1.85; }
.callout.sage p { font-family: var(--font-sans); font-size: 0.9rem; font-style: normal; line-height: 1.8; }

/* feature list */
.feat-list { list-style: none; padding: 0; margin: 0.8rem 0; }
.feat-list li { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 0.9rem; padding: 0.55rem 0; border-bottom: 1px solid rgba(205,194,176,0.25); line-height: 1.65; }
.feat-list li:last-child { border-bottom: none; }
.feat-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--sage); flex-shrink: 0; margin-top: 0.55rem; }
.feat-dot.rose { background: var(--rose); }

/* 2-col grid */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 1rem; }

/* bild-text combo */
.bt-combo { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.bt-combo-wide-left { grid-template-columns: 1.35fr 1fr; }
.bt-combo-narrow-left { grid-template-columns: 0.8fr 1fr; }
.bt-combo-narrow-right { grid-template-columns: 1fr 0.8fr; }
.bt-combo-avatar { grid-template-columns: 1fr auto; }
@media (max-width: 960px) {
  .bt-combo-avatar { grid-template-columns: 1fr; justify-items: center; text-align: center; }
}
.bt-combo.flip { direction: rtl; }
.bt-combo.flip > * { direction: ltr; }
.bt-visual { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 480px; }
.bt-visual > img.img-cover { position: absolute; inset: 0; width: 100%; height: 100%; }
.bt-visual.creme-bg { background: var(--creme); }
.bt-visual.weiss-bg { background: var(--weiss); border: 1px solid rgba(205,194,176,0.32); }
.bt-visual-panel { background: var(--creme); border-radius: 28px; box-shadow: 0 16px 40px rgba(24,25,25,0.1); padding: 2.5rem; border: none; }
@media (max-width: 600px) { .bt-visual-panel { padding: 1.5rem; border-radius: 20px; } }

/* Startseite Hero: Button steht auf Desktop unter dem Text, auf Mobile unter dem Bild */
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; grid-template-areas: "text image" "cta image"; column-gap: 5rem; row-gap: 0.6rem; align-items: center; }
.hero-grid .hg-text { grid-area: text; }
.hero-grid .hg-cta { grid-area: cta; margin-top: 0; align-self: start; }
.hero-grid .hg-image { grid-area: image; }
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; grid-template-areas: "text" "cta" "image"; column-gap: 0; row-gap: 0.6rem; }
  .hero-grid .hg-image { margin-top: 2rem; }
}

/* Kieselform – organisch abgerundete Bildform für die Leistungen */
.pebble { position: relative; overflow: hidden; aspect-ratio: 1 / 1; width: 100%; max-width: 380px; background: var(--creme); box-shadow: 0 20px 45px rgba(24,25,25,0.12); justify-self: center; }
.pebble > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.pebble-a { border-radius: 63% 37% 54% 46% / 43% 47% 53% 57%; }
.pebble-b { border-radius: 38% 62% 47% 53% / 57% 44% 56% 43%; }
@media (max-width: 960px) { .pebble { max-width: 300px; } }

/* Schwerpunkte-Sektionen: ein Grid pro Abschnitt, damit die Reihenfolge auf Mobile exakt steuerbar ist */
.sg-grid {
  display: grid;
  column-gap: 5rem; row-gap: 0.8rem;
  grid-template-columns: 0.8fr 1fr;
  grid-template-areas:
    "image headingtext"
    "image erkennst"
    "meinfokus kasten";
}
.sg-grid.sg-grid-right {
  grid-template-columns: 1fr 0.8fr;
  grid-template-areas:
    "headingtext image"
    "erkennst image"
    "kasten meinfokus";
}
.sg-image { grid-area: image; }
.sg-headingtext { grid-area: headingtext; }
.sg-erkennst { grid-area: erkennst; margin-top: 0 !important; }
.sg-meinfokus { grid-area: meinfokus; }
.sg-kasten { grid-area: kasten; }
@media (max-width: 960px) {
  .sg-grid, .sg-grid.sg-grid-right {
    grid-template-columns: 1fr;
    row-gap: 2rem;
    grid-template-areas:
      "headingtext"
      "image"
      "erkennst"
      "meinfokus"
      "kasten";
  }
  .sg-image { margin-top: 0 !important; }
}
.bt-num { position: absolute; top: -0.8rem; left: 1.5rem; font-family: var(--font-serif); font-size: 6.5rem; font-weight: 300; color: rgba(205,194,176,0.28); line-height: 1; pointer-events: none; }

/* step process */
.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; }
.step-item { padding: 2.5rem 2rem; position: relative; }
.step-item::after { content:''; position:absolute; top: 3.2rem; right: 0; width: 1px; height: 40px; background: rgba(205,194,176,0.4); }
.step-item:last-child::after { display: none; }
.step-n { font-family: var(--font-serif); font-size: 3rem; font-weight: 300; color: rgba(205,194,176,0.35); line-height: 1; margin-bottom: 0.8rem; }
.step-title { font-family: var(--font-serif); font-size: 1.1rem; font-weight: 400; color: var(--dunkel); margin-bottom: 0.5rem; }
.step-text { font-size: 0.84rem; color: var(--braun); opacity: 0.75; line-height: 1.7; }

/* CTA block */
.cta-block {
  padding: var(--pad-y) var(--pad-x); text-align: center;
  position: relative; overflow: hidden;
}
.cta-block.dark { background: var(--dunkel); }
.cta-block.dark::before {
  content: ''; position: absolute; top: -100px; left: 50%; transform: translateX(-50%);
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(145,151,121,0.16) 0%, transparent 70%);
  pointer-events: none;
}
.cta-block.sage { background: var(--sage); }
.cta-block.creme { background: var(--creme); }
.cta-inner { max-width: 540px; margin: 0 auto; position: relative; }
.cta-block.dark h2  { color: var(--creme); }
.cta-block.dark h2 em { color: var(--rose); }
.cta-block.dark p   { color: rgba(234,235,222,0.62); margin: 1.2rem 0 2.5rem; }
.cta-block.sage h2  { color: var(--creme); }
.cta-block.sage h2 em { color: var(--rose); }
.cta-block.sage p   { color: rgba(234,235,222,0.78); margin: 1.2rem 0 2.5rem; }
.cta-block.creme h2 { color: var(--dunkel); }
.cta-block.creme p  { color: var(--braun); margin: 1.2rem 0 2.5rem; }

/* disclaimer */
.disclaimer { background: var(--weiss); border-top: 1px solid rgba(205,194,176,0.2); padding: 1.8rem var(--pad-x); text-align: center; }
.disclaimer p { font-size: 0.7rem; color: rgba(104,96,78,0.55); font-style: italic; max-width: 700px; margin: 0 auto; line-height: 1.7; }

/* footer */
footer { background: var(--dunkel); border-top: 1px solid rgba(234,235,222,0.12); padding: 2.5rem var(--pad-x); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1.5rem; }
footer .logo-sub { color: rgba(234,235,222,0.5); }
.footer-links { display: flex; gap: 2rem; list-style: none; flex-wrap: wrap; }
.footer-links a { font-size: 0.67rem; letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none; color: rgba(205,194,176,0.55); transition: color 0.3s; }
.footer-links a:hover { color: var(--creme); }
.footer-copy { font-size: 0.65rem; color: rgba(205,194,176,0.35); }

/* testimonials */
.testimonial-card { padding: 2rem 1.8rem; }
.testimonial-quote { font-family: var(--font-sans); font-size: 0.98rem; font-style: italic; font-weight: 600; line-height: 1.6; color: var(--dunkel); margin-bottom: 1.2rem; }
.testimonial-name { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sage); }

/* animations */
@keyframes fadeUp { from { opacity:0; transform:translateY(18px); } to { opacity:1; transform:none; } }
.fade-up { animation: fadeUp 0.75s ease both; }
.fade-up-1 { animation-delay: 0.1s; }
.fade-up-2 { animation-delay: 0.23s; }
.fade-up-3 { animation-delay: 0.38s; }
.fade-up-4 { animation-delay: 0.52s; }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .bt-combo { grid-template-columns: 1fr; gap: 3rem; }
  .bt-combo.flip { direction: ltr; }
  .bt-visual { min-height: 320px; }
  .bt-visual.weiss-bg, .bt-visual.creme-bg { min-height: 0 !important; aspect-ratio: var(--photo-ratio, 4/5); }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step-item::after { display: none; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  /* Schaubild soll auf dem Smartphone immer unter der zugehörigen Überschrift stehen */
  #darm .bt-combo:first-of-type .bt-visual,
  #hormon .bt-combo:first-of-type .bt-visual { order: 2; margin-top: 2rem !important; }
}
@media (max-width: 600px) {
  :root { --pad-x: 6vw; --pad-y: 4rem; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .nav-cta { display: none; }
}

/* ── MOBILE MENU (overlay) ── */
.mobile-menu {
  position: fixed; inset: 0; background: var(--weiss); z-index: 99;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.5rem; opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-menu a {
  font-family: var(--font-serif); font-size: 1.5rem; color: var(--dunkel);
  text-decoration: none; padding: 0.6rem 0;
}
.mobile-menu .mobile-sub { display: flex; flex-direction: column; align-items: center; margin-bottom: 0.5rem; }
.mobile-menu .mobile-sub a.sub-link { font-family: var(--font-sans); font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--braun); padding: 0.3rem 0; }
.mobile-menu .nav-cta { margin-top: 1.5rem; margin-left: 0; }
