/* =========================================================
   Ordination Dr. Flores – chirurgie.vip
   Markenfarben aus dem Logo: Schieferblau + Gold
   ========================================================= */

:root {
  --navy: #2b3350;
  --brand: #5f6ea0;
  --brand-dark: #46527a;
  --brand-deep: #333c5c;
  --gold: #cca945;
  --gold-dark: #b3902f;
  --gold-light: #e6cf83;
  --ink: #1e2333;
  --body: #444a5c;
  --muted: #7a8091;
  --bg: #ffffff;
  --bg-soft: #f5f6fb;
  --bg-tint: #eef0f8;
  --line: #e5e8f1;
  --white: #ffffff;

  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 10px rgba(43, 51, 80, .06);
  --shadow: 0 14px 40px rgba(43, 51, 80, .10);
  --shadow-lg: 0 30px 70px rgba(43, 51, 80, .16);

  --container: 1180px;
  --font-head: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Reset / Base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--body);
  background: var(--bg);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-dark); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--gold-dark); }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.12;
  font-weight: 600;
  margin: 0 0 .5em;
  letter-spacing: .2px;
}
h1 { font-size: clamp(2.3rem, 5vw, 3.7rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.4rem; }
p { margin: 0 0 1.1em; }

.container { width: min(92%, var(--container)); margin-inline: auto; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--brand-dark); color: #fff; padding: .7rem 1.2rem; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* ---------- Eyebrow / Section headings ---------- */
.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .82rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: .9rem;
}
.section { padding: clamp(4rem, 9vw, 7rem) 0; }
.section-tint { background: var(--bg-soft); }
.section-head { max-width: 720px; margin-bottom: 3rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.lead { font-size: 1.18rem; color: var(--body); }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--brand-dark);
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .95rem 1.7rem;
  font-family: var(--font-body);
  font-weight: 600; font-size: 1rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  background: var(--bg); color: #fff;
  cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease), color .2s var(--ease);
  box-shadow: 0 8px 22px rgba(70, 82, 122, .28);
}
.btn:hover { transform: translateY(-2px); color: #fff; box-shadow: 0 12px 30px rgba(70, 82, 122, .36); }
.btn-gold { background: linear-gradient(135deg, var(--gold-light), var(--gold)); color: var(--navy); box-shadow: 0 8px 22px rgba(179, 144, 47, .32); }
.btn-gold:hover { color: var(--navy); box-shadow: 0 12px 30px rgba(179, 144, 47, .42); }
.btn-ghost {
  background: transparent; color: var(--brand-dark); border-color: rgba(95, 110, 160, .35); box-shadow: none;
}
.btn-ghost:hover { background: var(--brand-dark); color: #fff; box-shadow: none; }
.btn-lg { padding: 1.1rem 2.1rem; font-size: 1.05rem; }
.btn .arrow { transition: transform .2s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s var(--ease), border-color .25s var(--ease), background .25s var(--ease);
}
.site-header.scrolled { box-shadow: var(--shadow-sm); border-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 78px; }
.brand { display: flex; align-items: center; gap: .7rem; color: var(--ink); }
.brand img { width: 46px; height: 46px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-family: var(--font-head); font-size: 1.35rem; font-weight: 700; color: var(--ink); }
.brand-text small { font-size: .72rem; letter-spacing: .04em; color: var(--muted); text-transform: uppercase; }

.primary-nav { display: flex; align-items: center; gap: 1.6rem; }
.primary-nav > ul { display: flex; align-items: center; gap: 1.5rem; list-style: none; margin: 0; padding: 0; }
.primary-nav > ul > li { position: relative; }
.primary-nav a { color: var(--ink); font-weight: 500; font-size: .98rem; padding: .4rem 0; position: relative; }
.primary-nav > ul > li > a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px;
  background: var(--gold); transition: width .25s var(--ease);
}
.primary-nav > ul > li > a:hover::after,
.primary-nav > ul > li > a[aria-current="page"]::after { width: 100%; }
.primary-nav a:hover { color: var(--brand-dark); }

.has-children > a::before {
  content: "›"; float: right; margin-left: .3rem; transform: rotate(90deg); display: inline-block; color: var(--muted);
}
.submenu {
  position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-50%) translateY(8px);
  min-width: 210px; background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow); padding: .5rem; list-style: none; margin: 0;
  opacity: 0; visibility: hidden; transition: all .22s var(--ease);
}
.submenu::before { content: ""; position: absolute; top: -18px; left: 0; right: 0; height: 18px; }
.has-children:hover .submenu,
.has-children:focus-within .submenu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.submenu li { margin: 0; }
.submenu a { display: block; padding: .6rem .9rem; border-radius: 9px; font-size: .95rem; }
.submenu a:hover { background: var(--bg-tint); color: var(--brand-dark); }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px; width: 44px; height: 44px;
  align-items: center; justify-content: center; background: none; border: 0; cursor: pointer;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: all .25s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1100px 620px at 85% -10%, rgba(95, 110, 160, .16), transparent 60%),
    radial-gradient(900px 520px at 5% 110%, rgba(204, 169, 69, .12), transparent 55%),
    linear-gradient(180deg, #fbfcff 0%, #f2f4fb 100%);
}
.hero-inner {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 3.5rem; align-items: center;
  padding: clamp(3.5rem, 8vw, 6.5rem) 0 clamp(4rem, 9vw, 7rem);
}
.hero-title { margin-bottom: 1.1rem; }
.hero-text { font-size: 1.22rem; color: var(--body); max-width: 34ch; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

.hero-visual { position: relative; }
.hero-visual .photo {
  border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-lg);
  aspect-ratio: 4/5; background: var(--bg-tint);
}
.hero-visual .photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-badge {
  position: absolute; left: -22px; bottom: 34px;
  background: #fff; border-radius: 16px; padding: 1rem 1.3rem;
  box-shadow: var(--shadow); display: flex; align-items: center; gap: .8rem;
  border: 1px solid var(--line);
}
.hero-badge .dot { width: 12px; height: 12px; border-radius: 50%; background: #3fb27f; box-shadow: 0 0 0 4px rgba(63,178,127,.18); }
.hero-badge strong { display: block; color: var(--ink); font-size: .98rem; }
.hero-badge span { font-size: .82rem; color: var(--muted); }

/* ---------- USP strip ---------- */
.usp-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem;
  margin-top: -3.5rem; position: relative; z-index: 5;
}
.usp-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem 1.5rem; box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.usp-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.usp-card .ico { width: 44px; height: 44px; margin-bottom: 1rem; color: var(--brand); }
.usp-card h3 { font-size: 1.15rem; margin-bottom: .35rem; }
.usp-card p { margin: 0; font-size: .96rem; color: var(--muted); }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 3.5rem; align-items: center; }
.about-figure { position: relative; }
.about-figure img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.about-figure::after {
  content: ""; position: absolute; inset: 18px -18px -18px 18px; z-index: -1;
  border: 2px solid var(--gold-light); border-radius: var(--radius-lg);
}
.checklist { list-style: none; padding: 0; margin: 1.5rem 0 2rem; display: grid; gap: .7rem; }
.checklist li { position: relative; padding-left: 2rem; color: var(--ink); }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .35em; width: 20px; height: 20px;
  background: var(--brand); border-radius: 50%;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/70% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/70% no-repeat;
}

/* ---------- Services ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.service-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem 1.8rem; box-shadow: var(--shadow-sm); position: relative; overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.service-card::before {
  content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--brand), var(--gold)); transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }
.service-card .ico {
  width: 52px; height: 52px; border-radius: 13px; display: grid; place-items: center;
  background: var(--bg-tint); color: var(--brand-dark); margin-bottom: 1.2rem;
}
.service-card .ico svg { width: 26px; height: 26px; }
.service-card h3 { margin-bottom: .5rem; }
.service-card p { margin: 0; color: var(--muted); font-size: .98rem; }

/* ---------- Lipödem highlight banner ---------- */
.lipo-banner {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  background: linear-gradient(120deg, var(--brand-deep), var(--brand-dark) 55%, #52608e);
  color: #fff; padding: clamp(2.5rem, 5vw, 4rem);
  display: grid; grid-template-columns: 1.4fr .9fr; gap: 2.5rem; align-items: center;
  box-shadow: var(--shadow);
}
.lipo-banner::after {
  content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(230,207,131,.35), transparent 70%);
}
.lipo-banner .eyebrow { color: var(--gold-light); }
.lipo-banner h2 { color: #fff; }
.lipo-banner p { color: rgba(255,255,255,.85); margin-bottom: 0; }
.lipo-banner .lipo-cta { text-align: right; }
.lipo-visual {
  display: grid; place-items: center; gap: .3rem;
}
.lipo-metric {
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
  border-radius: 14px; padding: 1rem 1.4rem; width: 100%; text-align: center; backdrop-filter: blur(4px);
}
.lipo-metric b { font-family: var(--font-head); font-size: 1.6rem; color: #fff; display: block; }
.lipo-metric span { font-size: .8rem; color: rgba(255,255,255,.75); letter-spacing: .05em; text-transform: uppercase; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--navy), var(--brand-deep)); color: #fff; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.82); max-width: 620px; margin-inline: auto; margin-bottom: 2rem; }

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
  background:
    radial-gradient(900px 400px at 90% -30%, rgba(95,110,160,.14), transparent 60%),
    linear-gradient(180deg, #fbfcff, #f3f5fc);
  padding: clamp(3rem, 6vw, 4.5rem) 0 clamp(2.5rem, 5vw, 3.5rem);
  border-bottom: 1px solid var(--line);
}
.breadcrumb { font-size: .85rem; color: var(--muted); margin-bottom: .8rem; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--brand-dark); }
.page-hero h1 { margin-bottom: .6rem; }
.page-hero .lead { max-width: 760px; }

/* ---------- Generic content ---------- */
.prose { max-width: 800px; }
.prose h2 { margin-top: 2.2rem; }
.prose h3 { margin-top: 1.6rem; color: var(--brand-dark); }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: .4rem; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; }

/* Info / value cards */
.mini-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.mini-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow-sm); }
.mini-card h3 { font-size: 1.15rem; margin-bottom: .4rem; }
.mini-card p { margin: 0; color: var(--muted); font-size: .95rem; }

/* Definition/fees table */
.fee-list { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: var(--shadow-sm); }
.fee-row { display: flex; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.5rem; border-bottom: 1px solid var(--line); }
.fee-row:last-child { border-bottom: 0; }
.fee-row span:first-child { color: var(--ink); font-weight: 500; }
.fee-row span:last-child { color: var(--brand-dark); font-weight: 600; white-space: nowrap; }

/* Contact layout */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.contact-cards { display: grid; gap: 1.2rem; }
.contact-item { display: flex; gap: 1rem; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem 1.5rem; box-shadow: var(--shadow-sm); }
.contact-item .ico { width: 44px; height: 44px; flex: 0 0 44px; border-radius: 11px; background: var(--bg-tint); color: var(--brand-dark); display: grid; place-items: center; }
.contact-item h3 { font-size: 1.1rem; margin: 0 0 .2rem; }
.contact-item p, .contact-item a { margin: 0; color: var(--body); }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 600; color: var(--ink); margin-bottom: .4rem; font-size: .95rem; }
.field input, .field textarea, .field select {
  width: 100%; padding: .85rem 1rem; border: 1.5px solid var(--line); border-radius: 10px;
  font: inherit; color: var(--ink); background: #fff; transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(95,110,160,.14);
}
.field textarea { resize: vertical; min-height: 120px; }

.map-frame { border: 0; width: 100%; height: 380px; border-radius: var(--radius); box-shadow: var(--shadow-sm); }

.note-box {
  background: var(--bg-tint); border-left: 4px solid var(--brand); border-radius: 0 12px 12px 0;
  padding: 1.2rem 1.5rem; color: var(--body); font-size: .96rem;
}

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(255,255,255,.72); padding-top: 4rem; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.4fr; gap: 2.5rem; padding-bottom: 3rem; }
.footer-brand img { width: 56px; height: 56px; margin-bottom: 1rem; filter: drop-shadow(0 0 0 #fff); background: #fff; border-radius: 12px; padding: 6px; }
.footer-brand p { font-size: .95rem; max-width: 30ch; }
.footer-col h3, .footer-contact h3 { color: #fff; font-family: var(--font-body); font-size: .95rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 1.1rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.footer-col a { color: rgba(255,255,255,.72); font-size: .96rem; }
.footer-col a:hover { color: var(--gold-light); }
.footer-contact address { font-style: normal; font-size: .96rem; line-height: 1.8; }
.footer-contact a { color: rgba(255,255,255,.85); }
.footer-contact a:hover { color: var(--gold-light); }
.wahlarzt-note { margin-top: 1rem; display: inline-block; font-size: .82rem; color: var(--navy); background: var(--gold-light); padding: .35rem .8rem; border-radius: 999px; font-weight: 600; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 1.4rem 0; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.footer-bottom p { margin: 0; font-size: .85rem; color: rgba(255,255,255,.5); }

/* ---------- Lipödem-Rechner ---------- */
.calc-intro { max-width: 820px; margin-bottom: 1.8rem; }
.calc-disclaimer {
  display: flex; gap: 1rem; align-items: flex-start;
  background: #fff7e8; border: 1px solid #f0d99b; border-radius: var(--radius);
  padding: 1.3rem 1.5rem; margin-bottom: 2.5rem; color: #6b5518;
}
.calc-disclaimer .i { width: 30px; height: 30px; flex: 0 0 30px; color: var(--gold-dark); }
.calc-disclaimer p { margin: 0; font-size: .96rem; }

.calc-wrap {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start;
}
.calc-form {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 2rem; box-shadow: var(--shadow);
}
.calc-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.calc-fields .field:nth-child(5) { grid-column: 1 / -1; max-width: 50%; }
.input-unit { position: relative; display: flex; align-items: center; }
.input-unit input { padding-right: 3.4rem; }
.input-unit span {
  position: absolute; right: 1rem; color: var(--muted); font-size: .9rem; font-weight: 500; pointer-events: none;
}
.field-hint { display: block; margin-top: .35rem; color: var(--muted); font-size: .82rem; }
.field .hint { color: var(--brand); cursor: help; font-size: .85rem; }
.calc-actions { display: flex; gap: 1rem; margin-top: 1.6rem; flex-wrap: wrap; }
.calc-error { color: #d9534f; font-weight: 500; margin-top: 1rem; }

.calc-result {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 2rem; box-shadow: var(--shadow);
}
.verdict {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1.3rem 1.5rem; border-radius: var(--radius); margin-bottom: 1.5rem;
}
.verdict strong { display: block; font-family: var(--font-head); font-size: 1.35rem; margin-bottom: .3rem; }
.verdict p { margin: 0; font-size: .95rem; }
.verdict-icon { width: 26px; height: 26px; flex: 0 0 26px; border-radius: 50%; margin-top: .2rem; position: relative; }
.verdict-icon::after {
  content: ""; position: absolute; inset: 0; background-position: center; background-repeat: no-repeat; background-size: 62%;
}
.verdict--pass { background: #eefaf3; border: 1px solid #b8e6cc; color: #1c6b42; }
.verdict--pass .verdict-icon { background: #3fb27f; }
.verdict--pass .verdict-icon::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
.verdict--warn { background: #fff7e8; border: 1px solid #f0d99b; color: #8a6414; }
.verdict--warn .verdict-icon { background: var(--gold-dark); }
.verdict--warn .verdict-icon::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='white' stroke-width='3' stroke-linecap='round' d='M12 7v7M12 17.5v.5'/%3E%3C/svg%3E"); }
.verdict--fail { background: #fdecec; border: 1px solid #f2b8b5; color: #a23732; }
.verdict--fail .verdict-icon { background: #d9534f; }
.verdict--fail .verdict-icon::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='white' stroke-width='3' stroke-linecap='round' d='M6 6l12 12M18 6 6 18'/%3E%3C/svg%3E"); }

.metric-grid { display: grid; gap: 1rem; margin-bottom: 1.5rem; }
.metric { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.3rem; border-left-width: 4px; }
.metric-top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.metric-label { font-weight: 600; color: var(--ink); letter-spacing: .03em; }
.metric-badge { font-size: .78rem; font-weight: 600; padding: .2rem .7rem; border-radius: 999px; white-space: nowrap; }
.metric-value { font-family: var(--font-head); font-size: 2rem; color: var(--ink); margin: .3rem 0 .1rem; }
.metric-value small { font-size: .95rem; color: var(--muted); font-family: var(--font-body); }
.metric-sub { font-size: .85rem; color: var(--muted); }
.metric-note { font-size: .85rem; margin-top: .5rem; color: var(--body); }
.metric--pass { border-left-color: #3fb27f; }
.metric--pass .metric-badge { background: #eefaf3; color: #1c6b42; }
.metric--warn { border-left-color: var(--gold-dark); }
.metric--warn .metric-badge { background: #fff7e8; color: #8a6414; }
.metric--fail { border-left-color: #d9534f; }
.metric--fail .metric-badge { background: #fdecec; color: #a23732; }
.result-note { font-size: .9rem; color: var(--muted); margin: 1.2rem 0 1.5rem; }

.criteria-list { counter-reset: crit; list-style: none; padding: 0; display: grid; gap: 1rem; max-width: 900px; }
.criteria-list li {
  counter-increment: crit; position: relative; padding: 1rem 1.2rem 1rem 3.6rem;
  background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-sm); color: var(--body);
}
.criteria-list li::before {
  content: counter(crit); position: absolute; left: 1rem; top: 1rem;
  width: 28px; height: 28px; border-radius: 50%; background: var(--brand); color: #fff;
  display: grid; place-items: center; font-weight: 600; font-size: .9rem; font-family: var(--font-body);
}

/* ---------- Scroll reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-visual { max-width: 440px; }
  .hero-text { max-width: none; }
  .usp-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-figure { max-width: 420px; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .lipo-banner { grid-template-columns: 1fr; }
  .lipo-banner .lipo-cta { text-align: left; }
  .mini-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid, .two-col { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .nav-toggle { display: flex; flex: 0 0 44px; }
  .brand-text small { display: none; }
  .brand img { width: 40px; height: 40px; }
  .primary-nav {
    position: fixed; inset: 78px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    padding: 1rem 6%; transform: translateY(-120%); transition: transform .3s var(--ease); max-height: calc(100vh - 78px); overflow-y: auto;
  }
  .primary-nav.open { transform: translateY(0); }
  .primary-nav > ul { flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
  .primary-nav > ul > li { border-bottom: 1px solid var(--line); }
  .primary-nav > ul > li > a { display: block; padding: .95rem 0; }
  .primary-nav > ul > li > a::after { display: none; }
  .submenu {
    position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none; border: 0;
    padding: 0 0 .6rem 1rem; min-width: 0;
  }
  .has-children > a::before { content: none; }
  .nav-cta { margin-top: 1rem; justify-content: center; }
  .usp-grid, .card-grid, .mini-grid, .footer-grid { grid-template-columns: 1fr; }
  .usp-grid { margin-top: 2rem; }
  .hero-badge { left: 10px; }
  .footer-bottom .container { flex-direction: column; }
}

/* === Migrierte Alt-Inhalte (WordPress-Bestand) === */
.legacy-content {
  max-width: 820px;
  margin-inline: auto;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--ink);
}
.legacy-content > *:first-child { margin-top: 0; }
.legacy-content h2,
.legacy-content h3,
.legacy-content h4 {
  font-family: var(--font-head, "Cormorant Garamond", serif);
  color: var(--ink);
  line-height: 1.25;
  margin: 2rem 0 .6rem;
}
.legacy-content h2 { font-size: 1.9rem; }
.legacy-content h3 { font-size: 1.5rem; }
.legacy-content h4 { font-size: 1.25rem; }
.legacy-content p { margin: 0 0 1.1rem; }
.legacy-content a { color: var(--gold-dark, #a6841f); text-decoration: underline; text-underline-offset: 2px; }
.legacy-content a:hover { color: var(--ink); }
.legacy-content ul,
.legacy-content ol { margin: 0 0 1.2rem; padding-left: 1.4rem; }
.legacy-content li { margin: .35rem 0; }
.legacy-content img {
  max-width: 100%;
  height: auto;
  border-radius: 14px;
  margin: 1.2rem 0;
  box-shadow: 0 10px 30px rgba(70, 82, 122, .12);
}
.legacy-content figure { margin: 1.4rem 0; }
.legacy-content figure img { margin: 0; }
.legacy-content figcaption { font-size: .9rem; color: #6b7180; text-align: center; margin-top: .5rem; }
.legacy-content blockquote {
  margin: 1.4rem 0;
  padding: .6rem 1.2rem;
  border-left: 4px solid var(--gold, #cca945);
  background: rgba(204, 169, 69, .07);
  border-radius: 0 10px 10px 0;
}
/* Tabellen: scrollbarer Rahmen + klare Kopfzeile + Zebra */
.legacy-content .table-wrap {
  margin: 1.6rem 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line, #e5e8f1);
  border-radius: 14px;
  box-shadow: var(--shadow-sm, 0 2px 10px rgba(43,51,80,.06));
  background: #fff;
}
.legacy-content table {
  width: 100%;
  min-width: 30rem;
  border-collapse: collapse;
  margin: 0;
  font-size: .95rem;
  background: #fff;
}
.legacy-content th,
.legacy-content td {
  padding: .75rem 1rem;
  text-align: left;
  vertical-align: top;
  line-height: 1.55;
  border-bottom: 1px solid #eef0f5;
}
.legacy-content td + td,
.legacy-content th + th { border-left: 1px solid #eef0f5; }
/* Erste Zeile bzw. <th> als Kopfzeile hervorheben (Alt-Tabellen nutzen oft <td>) */
.legacy-content thead th,
.legacy-content thead td,
.legacy-content table > tbody > tr:first-child > td,
.legacy-content tr > th {
  background: var(--brand-dark, #46527a);
  color: #fff;
  font-weight: 600;
  border-bottom: 0;
  border-left-color: rgba(255,255,255,.18);
  vertical-align: middle;
}
.legacy-content thead th strong,
.legacy-content table > tbody > tr:first-child > td strong { color: #fff; }
/* Zebra-Streifen auf den Datenzeilen */
.legacy-content table > tbody > tr:nth-child(even) > td { background: var(--bg-soft, #f5f6fb); }
.legacy-content tbody tr:last-child td { border-bottom: 0; }
.legacy-content > div { max-width: 100%; }

/* Beipackzettel/Rezepte: ruhigerer Fließtext, saubere Listen */
.legacy-content ul li::marker { color: var(--gold-dark, #b3902f); }
.legacy-content h3, .legacy-content h4 { margin-top: 2.4rem; }
.legacy-content sup { font-size: .7em; }

/* === BMI-Rechner: Skala & Info-Tabelle === */
.bmi-scale { margin: 1.6rem 0 .5rem; }
.bmi-scale-track {
  display: flex;
  border-radius: 999px;
  overflow: hidden;
  font-size: .72rem;
  font-weight: 600;
  color: #fff;
  text-align: center;
  line-height: 1.9;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.05);
}
.bmi-seg { white-space: nowrap; overflow: hidden; text-overflow: clip; }
.bmi-seg.seg-under  { flex: 3.5 0 0; background: #6b8fd0; }
.bmi-seg.seg-normal { flex: 6.5 0 0; background: #4a9d6f; }
.bmi-seg.seg-over   { flex: 5 0 0;   background: var(--gold, #cca945); }
.bmi-seg.seg-ob1    { flex: 10 0 0;  background: #cf6b57; }
.bmi-marker {
  position: relative;
  height: 16px;
  margin-top: 2px;
  transition: left .5s cubic-bezier(.22,1,.36,1);
}
.bmi-marker span {
  position: absolute;
  top: 0;
  transform: translateX(-50%);
  width: 0; height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-bottom: 9px solid var(--ink, #1e2333);
}
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.info-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 340px;
  font-size: .98rem;
  background: #fff;
  border-radius: var(--radius-lg, 16px);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(70, 82, 122, .1);
}
.info-table th,
.info-table td { padding: .75rem 1rem; text-align: left; border-bottom: 1px solid #eceef3; }
.info-table thead th { background: var(--navy, #46527a); color: #fff; font-weight: 600; }
.info-table tbody tr:last-child td { border-bottom: 0; }
.info-table tbody tr:nth-child(even) { background: #f7f8fb; }

/* === Team-Wertekarten: Icon-Badges (Vertrauen/Expertise/Zeit/Diskretion) === */
.mini-card {
  display: flex;
  flex-direction: column;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.mini-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.mini-card .ico {
  width: 54px;
  height: 54px;
  padding: 14px;
  box-sizing: border-box;
  border-radius: 15px;
  background: linear-gradient(135deg, rgba(95, 110, 160, .14), rgba(204, 169, 69, .18));
  color: var(--brand-dark);
  margin-bottom: 1.15rem;
}

/* === Glossar-Übersicht === */
.glossary-index {
  list-style: none;
  margin: 0;
  padding: 0;
  columns: 3 220px;
  column-gap: 2rem;
}
.glossary-index li { break-inside: avoid; margin: 0 0 .55rem; }
.glossary-index a {
  display: block;
  padding: .6rem .9rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
  font-weight: 500;
  color: var(--ink);
  transition: transform .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease);
}
.glossary-index a:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
  color: var(--brand-dark);
}

/* === Rechner-Formular-Grid (Kalorienbedarf, Körperfett, WHtR) === */
.calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.calc-grid .field--full { grid-column: 1 / -1; }
@media (max-width: 560px) {
  .calc-grid { grid-template-columns: 1fr; }
}

/* === Icon-Größe in Buttons (verhindert überdimensionierte Inline-SVGs) === */
.btn svg, .btn .i { width: 1.2em; height: 1.2em; flex: 0 0 auto; }

/* === Galerie === */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.gallery-item {
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  aspect-ratio: 4 / 3;
  background: var(--bg-tint);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
}
.gallery-item:hover img { transform: scale(1.06); }
@media (max-width: 860px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .gallery-grid { grid-template-columns: 1fr; } }

/* ===================== OP-Navigator ===================== */
/* hidden-Attribut muss auch bei .btn/flex-Elementen greifen */
[hidden] { display: none !important; }

/* Modul-Karten auf der Navigator-Startseite */
.nav-modules {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.2rem;
  margin-top: 2.5rem;
}
.nav-module {
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius, 16px);
  background: #fff;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: var(--ink);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
a.nav-module:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: rgba(95,110,160,.35); }
.nav-module.is-soon { opacity: .72; background: var(--bg-soft); box-shadow: none; }
.nav-module-ico {
  flex: 0 0 auto;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--bg-tint);
  color: var(--brand-dark);
}
.nav-module-ico .i { width: 24px; height: 24px; }
.nav-module-body { display: flex; flex-direction: column; gap: .3rem; }
.nav-module-title { font-family: var(--font-head); font-size: 1.25rem; font-weight: 600; color: var(--ink); display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.nav-module-desc { font-size: .95rem; color: var(--body); line-height: 1.55; }
.soon-badge, .wizard .soon-badge {
  font-family: var(--font-body, inherit);
  font-size: .68rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  color: var(--muted); background: #fff;
  border: 1px solid var(--line); border-radius: 999px; padding: .15rem .6rem;
}
a.nav-module .arrow { color: var(--gold-dark); transition: transform .25s var(--ease); }
a.nav-module:hover .arrow { transform: translateX(4px); }

/* Wizard (Frage-für-Frage) */
.wizard { max-width: 760px; margin: 2rem auto 0; }
.wizard-progress { height: 6px; background: var(--bg-tint); border-radius: 999px; overflow: hidden; margin-bottom: 2rem; }
.wizard-progress-bar { display: block; height: 100%; width: 15%; border-radius: 999px;
  background: linear-gradient(90deg, var(--brand), var(--gold)); transition: width .4s var(--ease); }
.wizard-question { font-family: var(--font-head); font-size: 1.55rem; line-height: 1.3; color: var(--ink); margin: 0 0 .4rem; }
.wizard-help { font-size: .95rem; color: var(--muted); margin: 0 0 1.4rem; }
.wizard-options { display: flex; flex-direction: column; gap: .8rem; margin-top: 1.4rem; }
.wizard-option {
  display: flex; align-items: center; gap: .9rem;
  width: 100%; text-align: left;
  padding: 1.05rem 1.2rem;
  border: 1.5px solid var(--line); border-radius: 14px;
  background: #fff; color: var(--ink);
  font: inherit; font-size: 1.02rem; cursor: pointer;
  transition: border-color .2s var(--ease), background .2s var(--ease), transform .1s var(--ease);
}
.wizard-option:hover { border-color: var(--brand); background: var(--bg-soft); }
.wizard-option:active { transform: scale(.995); }
.wizard-option-mark {
  flex: 0 0 auto; width: 22px; height: 22px; border-radius: 50%;
  border: 2px solid var(--line); transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.wizard-option:hover .wizard-option-mark { border-color: var(--brand); box-shadow: inset 0 0 0 4px var(--brand); }
.wizard-controls { margin-top: 1.6rem; }
.btn.btn-sm { padding: .5rem 1rem; font-size: .9rem; }
.arrow-back { display: inline-block; }

/* Ergebnis */
.wizard-result { max-width: 760px; margin: 1.5rem auto 0; }
.result-card {
  border: 1px solid var(--line); border-radius: var(--radius, 16px);
  background: #fff; box-shadow: var(--shadow); padding: 2rem 2rem 2.2rem;
  border-top: 5px solid var(--gold);
}
.result-eyebrow { display: inline-block; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-dark); font-weight: 700; margin-bottom: .5rem; }
.result-title { font-family: var(--font-head); font-size: 1.85rem; line-height: 1.25; color: var(--ink); margin: 0 0 .8rem; }
.result-text { color: var(--body); line-height: 1.7; margin: 0 0 1.4rem; }
.result-block h3 { font-size: 1.05rem; color: var(--ink); margin: 0 0 .6rem; }
.ops-list { list-style: none; margin: 0 0 1.4rem; padding: 0; display: flex; flex-direction: column; gap: .5rem; }
.ops-list li { position: relative; padding-left: 1.7rem; color: var(--ink); }
.ops-list li::before { content: ""; position: absolute; left: 0; top: .5em; width: .7rem; height: .7rem; border-radius: 50%; background: var(--gold); }

/* Kassen-Ampel */
.ampel { display: flex; gap: .9rem; align-items: flex-start; padding: 1rem 1.2rem; border-radius: 12px; border: 1px solid var(--line); margin-top: .5rem; }
.ampel-dot { flex: 0 0 auto; width: 14px; height: 14px; border-radius: 50%; margin-top: .25rem; box-shadow: 0 0 0 4px rgba(0,0,0,.04); }
.ampel strong { display: block; font-size: 1rem; }
.ampel-label { display: block; font-size: .9rem; color: var(--body); margin-top: .1rem; }
.ampel p { margin: .5rem 0 0; font-size: .92rem; color: var(--body); line-height: 1.6; }
.ampel--gut      { background: #eefaf3; border-color: #b8e6cc; }
.ampel--gut      .ampel-dot { background: #3fb27f; }
.ampel--moeglich { background: #fff7e8; border-color: #f0d99b; }
.ampel--moeglich .ampel-dot { background: var(--gold, #cca945); }
.ampel--self     { background: var(--bg-soft); border-color: var(--line); }
.ampel--self     .ampel-dot { background: var(--muted); }
.ampel--neutral  { background: var(--bg-tint); border-color: var(--line); }
.ampel--neutral  .ampel-dot { background: var(--brand); }
.result-combos { margin: 1.2rem 0 0; font-size: .92rem; color: var(--muted); font-style: italic; }
.wizard-result-actions { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; margin-top: 1.6rem; }

@media (max-width: 560px) {
  .nav-modules { grid-template-columns: 1fr; }
  .wizard-question { font-size: 1.3rem; }
  .result-card { padding: 1.5rem 1.3rem 1.7rem; }
  .result-title { font-size: 1.5rem; }
}

/* ---- Navigator: Formular-Tools ---- */
.tool { max-width: 820px; margin: 2rem auto 0; }
.tool select, .calc-form select {
  width: 100%; padding: .75rem .85rem; border: 1.5px solid var(--line); border-radius: 10px;
  font: inherit; color: var(--ink); background: #fff; cursor: pointer;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.tool select:focus, .calc-form select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(95,110,160,.14); }
.tool-legend { font-weight: 600; color: var(--ink); margin: 0 0 1rem; font-size: 1.05rem; }
.tool-legend-hint { font-weight: 400; color: var(--muted); font-size: .9rem; }

/* Auswahl-Chips (Checkboxen) */
.check-grid { display: flex; flex-wrap: wrap; gap: .7rem; }
.check-chip {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .6rem 1rem; border: 1.5px solid var(--line); border-radius: 999px;
  background: #fff; cursor: pointer; font-size: .96rem; user-select: none;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.check-chip:hover { border-color: var(--brand); }
.check-chip input { accent-color: var(--brand-dark); width: 1.05rem; height: 1.05rem; }
.check-chip:has(input:checked) { border-color: var(--brand-dark); background: var(--bg-tint); font-weight: 600; }
.field-check { display: flex; align-items: center; }
.field-wide { grid-column: 1 / -1; }

/* Ausfallszeit-Timeline */
.af-timeline { display: flex; flex-direction: column; gap: .2rem; margin: .5rem 0 1.4rem; }
.af-row { display: flex; align-items: flex-start; gap: 1rem; padding: .85rem 0; border-bottom: 1px solid var(--line); }
.af-row:last-child { border-bottom: 0; }
.af-ico { flex: 0 0 auto; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; background: var(--bg-tint); font-size: 1.1rem; }
.af-label { display: block; font-size: .9rem; color: var(--muted); }
.af-value { display: block; font-weight: 600; color: var(--ink); font-size: 1.05rem; }

/* Kriterien-Checkliste */
.crit-list { list-style: none; margin: .8rem 0 0; padding: 0; display: flex; flex-direction: column; gap: .5rem; }
.crit { display: flex; align-items: flex-start; gap: .7rem; font-size: .97rem; }
.crit-mark { flex: 0 0 auto; width: 1.4rem; height: 1.4rem; border-radius: 50%; display: grid; place-items: center; font-size: .85rem; font-weight: 700; }
.crit--ok .crit-mark { background: #e5f6ed; color: #1c6b42; }
.crit--no { color: var(--muted); }
.crit--no .crit-mark { background: var(--bg-tint); color: var(--muted); }
.ka-notes { margin-top: 1.2rem; padding: 1rem 1.2rem; background: var(--bg-soft); border-radius: 10px; }
.ka-notes p { margin: .3rem 0; font-size: .92rem; color: var(--body); }

/* rote Ampel-Variante */
.ampel--rot { background: #fdecec; border-color: #f2b8b5; }
.ampel--rot .ampel-dot { background: #d9534f; }

/* Weitere-Rechner-Zeile auf der Navigator-Startseite */
.rechner-row { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem; margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.rechner-row-label { font-weight: 600; color: var(--muted); font-size: .9rem; margin-right: .3rem; }
.rechner-chip {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .5rem .95rem; border: 1px solid var(--line); border-radius: 999px;
  text-decoration: none; color: var(--brand-dark); font-size: .92rem; font-weight: 500;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.rechner-chip:hover { border-color: var(--brand); background: var(--bg-soft); }
.rechner-chip .arrow { color: var(--gold-dark); }
