/*
Theme Name: miVital
Theme URI: https://mivital.ch
Author: miVital AG
Author URI: https://mivital.ch
Description: Massgeschneidertes One-Pager-Theme für die miVital AG. Enthält Templates für die Hauptseite (Micellierungstechnologie) und die Vitafoods-Asia-Messeseite. Popups für Kontakt, Impressum und Datenschutz sind eingebaut — kein Popup-Plugin nötig. DE/EN-Umschaltung ohne Übersetzungs-Plugin.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mivital
Tags: one-page, business, custom-colors, custom-menu, translation-ready
*/

/* ==========================================================================
   0. RESET & TOKENS
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* miVital Markenfarben (aus dem Logo) */
  --navy:   #003C96;
  --deep:   #001E4D;
  --mid:    #0052C4;
  --cyan:   #00C2D1;
  --teal:   #009FB7;
  --ice:    #E8F7F9;
  --white:  #FFFFFF;
  --grey:   #8FA0AE;
  --light:  #F4F8FA;
  --border: #e0eaf0;

  /* Akzent nur für die Messeseite */
  --gold:   #E8B84B;
  --gold2:  #f0c55a;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--white);
  color: var(--navy);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; }

/* WordPress Admin-Bar Ausgleich */
body.admin-bar .site-nav { top: 32px; }
@media screen and (max-width: 782px) {
  body.admin-bar .site-nav { top: 46px; }
}

/* Screenreader */
.screen-reader-text {
  position: absolute !important;
  clip: rect(1px, 1px, 1px, 1px);
  width: 1px; height: 1px; overflow: hidden;
}

/* ==========================================================================
   1. NAVIGATION (beide Seiten)
   ========================================================================== */

.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 56px; height: 66px;
  background: rgba(0, 30, 77, 0.97);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0, 194, 209, 0.12);
}

.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Syne', sans-serif; font-size: 1.5rem; font-weight: 800;
  color: var(--white); letter-spacing: -0.5px;
  text-decoration: none; flex-shrink: 0;
}
.nav-logo img {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--white); padding: 1px; flex-shrink: 0;
}
/* Schriftzug: mi + Vital sitzen nahtlos zusammen (kein Flex-Gap dazwischen). */
.nav-logo-text { display: inline; white-space: nowrap; }
.nav-logo .logo-mi { color: var(--white); }
.nav-logo .logo-vital { color: var(--cyan); }
.nav-logo .logo-suffix { color: rgba(255,255,255,0.6); font-weight: 700; margin-left: 4px; }

.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a {
  color: rgba(255,255,255,0.65); text-decoration: none; font-size: 0.82rem;
  letter-spacing: 0.05em; font-weight: 500; transition: color .2s; white-space: nowrap;
}
.nav-links a:hover { color: var(--cyan); }

/* Temporärer Vitafoods-Menüpunkt (gelb hervorgehoben) */
.nav-link-fair {
  color: var(--gold) !important;
  border: 1px solid rgba(232, 184, 75, 0.4);
  border-radius: 4px;
  padding: 6px 14px !important;
  font-weight: 700 !important;
  transition: all .2s;
}
.nav-link-fair:hover {
  color: var(--deep) !important;
  background: var(--gold);
  border-color: var(--gold);
}

.nav-right { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }

.lang-toggle {
  display: flex; align-items: center; gap: 4px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 100px; padding: 3px;
}
.lang-btn {
  padding: 4px 10px; border-radius: 100px; border: none;
  background: transparent; color: rgba(255,255,255,0.5);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em;
  cursor: pointer; transition: all .2s; font-family: inherit;
}
.lang-btn.active { background: var(--cyan); color: var(--navy); }

.nav-contact-btn {
  background: var(--cyan); color: var(--navy);
  border: none; padding: 8px 20px; border-radius: 4px;
  font-weight: 700; font-size: 0.82rem; cursor: pointer;
  font-family: inherit; transition: all .2s; white-space: nowrap;
}
.nav-contact-btn:hover { background: #00d9ea; }

/* Mobile Menü-Toggle */
.nav-burger {
  display: none; background: none; border: none; cursor: pointer;
  width: 34px; height: 34px; padding: 0;
  flex-direction: column; justify-content: center; gap: 5px;
}
.nav-burger span {
  display: block; height: 2px; width: 22px;
  background: var(--white); border-radius: 2px; transition: all .25s;
}
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   2. GEMEINSAME BAUSTEINE
   ========================================================================== */

section { scroll-margin-top: 66px; }

.section-eyebrow {
  font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--teal); font-weight: 700; margin-bottom: 14px;
  display: flex; align-items: center; gap: 10px;
}
.section-eyebrow::after { content: ''; width: 28px; height: 1px; background: var(--teal); }
.section-eyebrow.is-gold { color: var(--gold); }
.section-eyebrow.is-gold::after { background: var(--gold); }
.section-eyebrow.is-cyan { color: var(--cyan); }
.section-eyebrow.is-cyan::after { background: var(--cyan); }

.section-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.7rem, 3vw, 2.5rem); font-weight: 800;
  color: var(--navy); line-height: 1.1; letter-spacing: -0.8px;
}
.section-title em { color: var(--teal); font-style: normal; }
.section-title.is-white { color: var(--white); }
.section-title.is-white em { color: var(--cyan); }

/* Buttons */
.btn-primary {
  background: var(--cyan); color: var(--navy); padding: 13px 28px;
  border-radius: 4px; font-weight: 700; font-size: 0.9rem;
  text-decoration: none; transition: all .2s; border: none; cursor: pointer;
  font-family: inherit; display: inline-block;
}
.btn-primary:hover { background: #00d9ea; transform: translateY(-1px); }

.btn-gold {
  background: var(--gold); color: var(--navy); padding: 13px 28px;
  border-radius: 4px; font-weight: 700; font-size: 0.9rem;
  text-decoration: none; transition: all .2s; display: inline-block;
}
.btn-gold:hover { background: var(--gold2); transform: translateY(-1px); }

.btn-border {
  border: 1.5px solid rgba(255,255,255,0.2); color: rgba(255,255,255,0.7);
  padding: 13px 28px; border-radius: 4px; font-size: 0.9rem;
  text-decoration: none; transition: all .2s; display: inline-block;
}
.btn-border:hover { border-color: rgba(255,255,255,0.5); color: var(--white); }

.btn-ghost-light {
  color: rgba(255,255,255,0.65); text-decoration: none; font-size: 0.9rem;
  display: inline-flex; align-items: center; gap: 6px; transition: color .2s;
  background: none; border: none; cursor: pointer; font-family: inherit;
  padding: 13px 0;
}
.btn-ghost-light:hover { color: var(--white); }

.btn-outline-cyan {
  border: 1.5px solid var(--cyan); color: var(--cyan); padding: 11px 24px;
  border-radius: 4px; text-decoration: none; font-size: 0.87rem; font-weight: 700;
  transition: all .2s; white-space: nowrap; display: inline-block;
}
.btn-outline-cyan:hover { background: var(--cyan); color: var(--navy); }

/* ==========================================================================
   3. HERO — HAUPTSEITE
   ========================================================================== */

#intro {
  min-height: 100vh; background: var(--deep);
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; padding: 120px 56px 100px;
  position: relative; overflow: hidden;
}
#intro::before {
  content: ''; position: absolute; top: -80px; right: -80px;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,194,209,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.hero-text { position: relative; z-index: 2; }

.award-pill {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(0,194,209,0.07); border: 1px solid rgba(0,194,209,0.18);
  padding: 9px 16px; border-radius: 100px; margin-bottom: 30px;
}
.award-pill span { font-size: 0.75rem; color: var(--cyan); font-weight: 600; letter-spacing: 0.04em; }

.hero-eyebrow {
  font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--cyan); font-weight: 600; margin-bottom: 22px;
  display: flex; align-items: center; gap: 12px;
}
.hero-eyebrow::before { content: ''; width: 28px; height: 1px; background: var(--cyan); }

.hero-h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2.5rem, 4.5vw, 3.8rem); font-weight: 800;
  color: var(--white); line-height: 1.05; letter-spacing: -1.5px;
  margin-bottom: 24px;
}
.hero-h1 em { color: var(--cyan); font-style: normal; }
.hero-h1 .gold { color: var(--gold); }

.hero-sub {
  font-size: 1.05rem; color: rgba(255,255,255,0.55);
  max-width: 480px; line-height: 1.75; margin-bottom: 40px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

.hero-stats {
  display: flex; gap: 36px; margin-top: 52px; padding-top: 36px;
  border-top: 1px solid rgba(255,255,255,0.08); flex-wrap: wrap;
}
.stat-num {
  font-family: 'Syne', sans-serif; font-size: 1.9rem; font-weight: 800;
  color: var(--white); letter-spacing: -1px;
}
.stat-num span { color: var(--cyan); }
.stat-label {
  font-size: 0.7rem; color: var(--grey); letter-spacing: 0.1em;
  text-transform: uppercase; margin-top: 2px;
}

/* Micell-Animation */
.hero-visual { display: flex; align-items: center; justify-content: center; position: relative; z-index: 2; }
.micell-wrap { width: 380px; height: 380px; position: relative; }
.mc-core {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 100px; height: 100px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(0,194,209,0.45), rgba(0,60,150,0.6));
  border: 2px solid rgba(0,194,209,0.55);
  box-shadow: 0 0 40px rgba(0,194,209,0.25);
  display: flex; align-items: center; justify-content: center;
  animation: corePulse 3s ease-in-out infinite;
}
.mc-core-lbl {
  font-size: 0.6rem; color: var(--cyan); text-align: center;
  text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; line-height: 1.4;
}
@keyframes corePulse {
  0%,100% { box-shadow: 0 0 30px rgba(0,194,209,0.2); }
  50%     { box-shadow: 0 0 60px rgba(0,194,209,0.45); }
}
.mc-orbit {
  position: absolute; top: 50%; left: 50%; border-radius: 50%;
  border: 1px solid rgba(0,194,209,0.12); transform: translate(-50%,-50%);
}
.mc-o1 { width: 170px; height: 170px; animation: orb 8s linear infinite; }
.mc-o2 { width: 250px; height: 250px; animation: orb 14s linear infinite reverse; }
.mc-o3 { width: 340px; height: 340px; animation: orb 20s linear infinite; }
@keyframes orb { to { transform: translate(-50%,-50%) rotate(360deg); } }
.mc-dot { position: absolute; top: -5px; left: 50%; transform: translateX(-50%); border-radius: 50%; }
.mc-d1 { width: 9px; height: 9px; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }
.mc-d2 { width: 7px; height: 7px; background: rgba(255,255,255,0.7); }
.mc-d3 { width: 11px; height: 11px; background: var(--teal); box-shadow: 0 0 10px var(--teal); }

/* Hero-Video (ersetzt die Micellen-Grafik, wenn im Customizer gesetzt) */
.hero-video-wrap {
  width: 380px; height: 380px; max-width: 100%;
  border-radius: 50%; overflow: hidden;
  position: relative;
  box-shadow: 0 0 60px rgba(0, 194, 209, 0.18);
  border: 1px solid rgba(0, 194, 209, 0.15);
}
.hero-video {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}

/* ==========================================================================
   4. TECHNOLOGIE
   ========================================================================== */

#technologie { padding: 110px 56px; background: var(--white); }
.tech-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; margin-top: 60px; align-items: start; }
.tech-body { font-size: 1rem; color: #3d5570; line-height: 1.8; margin-top: 22px; }
.tech-body + .tech-body { margin-top: 14px; }

.process-steps { margin-top: 40px; display: flex; flex-direction: column; gap: 22px; }
.p-step { display: flex; gap: 18px; align-items: flex-start; }
.p-step-num {
  flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%;
  background: var(--ice); border: 2px solid var(--cyan);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.78rem; color: var(--teal);
}
.p-step h4 { font-weight: 600; font-size: 0.95rem; color: var(--navy); margin-bottom: 3px; }
.p-step p { font-size: 0.85rem; color: #667788; line-height: 1.6; }

/* Bioverfügbarkeits-Chart */
.bio-visual {
  background: var(--deep); border-radius: 12px; padding: 48px 40px;
  position: relative; overflow: hidden;
}
.bio-visual::before {
  content: ''; position: absolute; top: -60px; right: -40px;
  width: 200px; height: 200px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,194,209,0.08), transparent 70%);
}
.bio-title {
  font-size: 0.7rem; color: rgba(255,255,255,0.35);
  text-transform: uppercase; letter-spacing: 0.15em; margin-bottom: 32px;
}
.bio-bar-row { margin-bottom: 22px; }
.bio-bar-header { display: flex; justify-content: space-between; margin-bottom: 7px; }
.bio-bar-name { font-size: 0.8rem; color: rgba(255,255,255,0.55); }
.bio-bar-pct { font-size: 0.8rem; color: var(--cyan); font-weight: 700; }
.bio-track { height: 7px; background: rgba(255,255,255,0.07); border-radius: 100px; overflow: hidden; }
.bio-fill { height: 100%; border-radius: 100px; }
.fill-high { background: var(--cyan); width: 95%; }
.fill-mid  { background: rgba(255,255,255,0.3); width: 40%; }
.fill-low  { background: rgba(255,255,255,0.15); width: 10%; }

/* Patente */
.patents-box { margin-top: 36px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.07); }
.patents-box-title {
  font-size: 0.7rem; color: var(--cyan); text-transform: uppercase;
  letter-spacing: 0.15em; font-weight: 700; margin-bottom: 14px;
}
.patent-item {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.05);
}
.patent-item:last-child { border-bottom: none; }
.patent-icon { color: var(--cyan); font-size: 0.75rem; font-weight: 700; flex-shrink: 0; margin-top: 2px; }
.patent-text { font-size: 0.78rem; color: rgba(255,255,255,0.45); line-height: 1.5; }
.patent-text strong { color: rgba(255,255,255,0.7); font-size: 0.8rem; display: block; }
.patent-text a { color: rgba(255,255,255,0.7); text-decoration: none; }
.patent-text a:hover { color: var(--cyan); }

/* ==========================================================================
   5. PRODUKTE
   ========================================================================== */

#produkte { padding: 110px 56px; background: var(--light); }
.products-intro { max-width: 640px; margin-bottom: 56px; }
.products-intro p { margin-top: 18px; font-size: 1rem; color: #3d5570; line-height: 1.8; }

.prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.prod-card {
  background: var(--white); border-radius: 10px; padding: 36px 30px;
  border: 1px solid var(--border); transition: all .25s;
  position: relative; overflow: hidden;
}
.prod-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: var(--cyan); transform: scaleX(0); transform-origin: left; transition: transform .3s;
}
.prod-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,60,150,0.09); }
.prod-card:hover::after { transform: scaleX(1); }
.prod-name { font-family: 'Syne', sans-serif; font-size: 1.1rem; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.prod-desc { font-size: 0.87rem; color: #556677; line-height: 1.7; }
.prod-potency {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 16px; background: var(--ice); color: var(--teal);
  padding: 4px 12px; border-radius: 100px; font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
}

/* ==========================================================================
   6. ANGEBOT
   ========================================================================== */

#angebot { padding: 110px 56px; background: var(--white); }
.angebot-intro { max-width: 640px; margin-bottom: 60px; }
.angebot-intro p { margin-top: 18px; font-size: 1rem; color: #3d5570; line-height: 1.8; }

.svc-group-label {
  font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase;
  font-weight: 700; color: var(--teal); margin-bottom: 24px;
}
.service-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.svc-card { border-radius: 10px; padding: 44px 40px; position: relative; overflow: hidden; }
.svc-card.dark   { background: var(--navy); }
.svc-card.accent { background: var(--deep); }
.svc-card.light  { background: var(--light); border: 1px solid var(--border); }
.svc-card.full   { grid-column: span 2; }

.svc-label { font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 700; margin-bottom: 12px; }
.dark .svc-label, .accent .svc-label { color: var(--cyan); }
.light .svc-label { color: var(--teal); }

.svc-title { font-family: 'Syne', sans-serif; font-size: 1.3rem; font-weight: 800; line-height: 1.2; margin-bottom: 14px; }
.dark .svc-title, .accent .svc-title { color: var(--white); }
.light .svc-title { color: var(--navy); }

.svc-desc { font-size: 0.9rem; line-height: 1.75; }
.dark .svc-desc, .accent .svc-desc { color: rgba(255,255,255,0.55); }
.light .svc-desc { color: #445566; }

.svc-list { margin-top: 22px; display: flex; flex-direction: column; gap: 9px; }
.svc-list li { list-style: none; display: flex; align-items: center; gap: 10px; font-size: 0.87rem; }
.dark .svc-list li, .accent .svc-list li { color: rgba(255,255,255,0.6); }
.light .svc-list li { color: #445566; }
.svc-list li::before { content: '→'; color: var(--cyan); font-weight: 700; flex-shrink: 0; }

.svc-split { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 8px; }

/* ==========================================================================
   7. ÜBER UNS
   ========================================================================== */

#ueber-uns { padding: 110px 56px; background: var(--light); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; margin-top: 56px; align-items: start; }
.about-col-title {
  font-family: 'Syne', sans-serif; font-size: 1.1rem; font-weight: 800;
  color: var(--navy); margin-bottom: 28px;
}

.history-line { position: relative; padding-left: 28px; }
.history-line::before {
  content: ''; position: absolute; left: 0; top: 6px; bottom: 0;
  width: 2px; background: var(--border);
}
.h-item { position: relative; margin-bottom: 32px; }
.h-item::before {
  content: ''; position: absolute; left: -33px; top: 5px;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--white); border: 2px solid var(--cyan); transition: all .2s;
}
.h-item:hover::before { background: var(--cyan); }
.h-year { font-size: 0.68rem; color: var(--teal); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 5px; }
.h-title { font-weight: 600; font-size: 0.95rem; color: var(--navy); margin-bottom: 4px; }
.h-desc { font-size: 0.84rem; color: #667788; line-height: 1.6; }

.team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.team-card {
  background: var(--white); border: 1px solid var(--border); border-radius: 10px;
  padding: 28px; transition: all .2s;
}
.team-card:hover { border-color: var(--cyan); box-shadow: 0 6px 24px rgba(0,194,209,0.1); }
.team-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--teal));
  display: flex; align-items: center; justify-content: center;
  font-family: 'Syne', sans-serif; font-size: 1.1rem; font-weight: 800;
  color: var(--white); margin-bottom: 14px; overflow: hidden;
}
.team-avatar img { width: 100%; height: 100%; object-fit: cover; }
.team-name { font-weight: 700; font-size: 0.95rem; color: var(--navy); }
.team-role { font-size: 0.72rem; color: var(--teal); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; margin: 4px 0 10px; }
.team-bio { font-size: 0.82rem; color: #667788; line-height: 1.6; }

/* ==========================================================================
   8. VITAFOODS-BANNER (auf der Hauptseite)
   ========================================================================== */

.vf-banner {
  background: var(--navy); padding: 48px 56px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  border-top: 3px solid var(--cyan);
}
.vf-banner-left { display: flex; align-items: center; gap: 28px; }
.vf-dot {
  width: 10px; height: 10px; border-radius: 50%; background: var(--cyan);
  animation: blinkDot 2s ease-in-out infinite; flex-shrink: 0;
}
@keyframes blinkDot { 0%,100% { opacity: 1; } 50% { opacity: 0.2; } }
.vf-text h3 { font-family: 'Syne', sans-serif; font-size: 1.2rem; font-weight: 800; color: var(--white); margin-bottom: 5px; }
.vf-text p { font-size: 0.85rem; color: rgba(255,255,255,0.5); }

/* ==========================================================================
   9. FOOTER
   ========================================================================== */

.site-footer { background: var(--deep); padding: 52px 56px 36px; border-top: 1px solid rgba(255,255,255,0.05); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand .nav-logo { display: inline-flex; margin-bottom: 14px; }
.footer-brand p { font-size: 0.83rem; color: var(--grey); line-height: 1.7; max-width: 260px; }
.footer-col h5 {
  font-size: 0.68rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--grey); margin-bottom: 18px; font-weight: 700;
}
.footer-col a {
  display: block; color: rgba(255,255,255,0.45); text-decoration: none;
  font-size: 0.85rem; margin-bottom: 10px; transition: color .2s;
}
.footer-col a:hover { color: var(--white); }
.footer-col span { display: block; color: rgba(255,255,255,0.45); font-size: 0.85rem; margin-bottom: 10px; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1px solid rgba(255,255,255,0.05); padding-top: 28px;
  font-size: 0.78rem; color: var(--grey); flex-wrap: wrap; gap: 12px;
}
.footer-bottom a { color: var(--grey); text-decoration: none; }
.footer-bottom a:hover { color: var(--white); }
.footer-legal-links { display: flex; gap: 20px; }

/* Kompakter Footer der Messeseite */
.fair-footer {
  background: var(--deep); padding: 36px 56px;
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid rgba(255,255,255,0.05); gap: 20px; flex-wrap: wrap;
}
.footer-l { display: flex; align-items: center; gap: 20px; }
.f-sep { width: 1px; height: 28px; background: rgba(255,255,255,0.1); }
.f-ev { font-size: 0.78rem; color: var(--grey); }
.f-ev strong { color: var(--gold); }
.footer-r { font-size: 0.78rem; color: var(--grey); display: flex; gap: 20px; flex-wrap: wrap; }
.footer-r a { color: var(--grey); text-decoration: none; transition: color .2s; }
.footer-r a:hover { color: var(--white); }

/* ==========================================================================
   10. MODALS (Kontakt / Impressum / Datenschutz)
   ========================================================================== */

.modal-overlay {
  display: none; position: fixed; inset: 0; z-index: 500;
  background: rgba(0, 30, 77, 0.75); backdrop-filter: blur(8px);
  align-items: center; justify-content: center; padding: 20px;
}
.modal-overlay.open { display: flex; }

.modal-box {
  background: var(--white); border-radius: 12px; padding: 52px 48px;
  width: 100%; max-width: 520px; position: relative;
  max-height: 90vh; overflow-y: auto;
}
.modal-box.wide { max-width: 760px; }

.modal-close {
  position: absolute; top: 20px; right: 20px;
  background: var(--light); border: none; width: 32px; height: 32px;
  border-radius: 50%; cursor: pointer; font-size: 1rem; color: var(--navy);
  display: flex; align-items: center; justify-content: center; transition: background .2s;
}
.modal-close:hover { background: var(--border); }

.modal-box h2 {
  font-family: 'Syne', sans-serif; font-size: 1.6rem; font-weight: 800;
  color: var(--navy); letter-spacing: -0.5px; margin-bottom: 8px;
}
.modal-box > p { font-size: 0.9rem; color: #667788; margin-bottom: 28px; }

/* Rechtstexte im Modal */
.legal-body { margin-top: 6px; }
.legal-body h3 {
  font-family: 'Syne', sans-serif; font-size: 0.95rem; font-weight: 800;
  color: var(--navy); margin: 26px 0 10px;
}
.legal-body h3:first-child { margin-top: 0; }
.legal-body p { font-size: 0.87rem; color: #556677; line-height: 1.75; margin-bottom: 12px; }
.legal-body ul { margin: 0 0 14px 18px; }
.legal-body li { font-size: 0.87rem; color: #556677; line-height: 1.7; margin-bottom: 6px; }
.legal-body a { color: var(--teal); text-decoration: none; font-weight: 600; }
.legal-address {
  background: var(--light); border-radius: 6px; padding: 18px 22px;
  font-size: 0.88rem; color: var(--navy); line-height: 1.7; margin-bottom: 20px;
}
.legal-note {
  margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--border);
  font-size: 0.78rem; color: #889aaa; line-height: 1.6;
}

/* ==========================================================================
   11. CONTACT FORM 7 — an das Theme angepasst
   ========================================================================== */

.mv-form .wpcf7-form p { margin: 0; }

.mv-form label,
.mv-form .mv-label {
  display: block; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: #889aaa; margin-bottom: 6px;
}

.mv-form input[type="text"],
.mv-form input[type="email"],
.mv-form input[type="tel"],
.mv-form select,
.mv-form textarea {
  width: 100%; padding: 10px 14px;
  border: 1.5px solid var(--border); border-radius: 4px;
  font-size: 0.9rem; color: var(--navy); outline: none;
  font-family: inherit; transition: border-color .2s; background: var(--white);
  margin-bottom: 14px;
}
.mv-form input:focus,
.mv-form select:focus,
.mv-form textarea:focus { border-color: var(--cyan); }
.mv-form textarea { resize: vertical; min-height: 90px; }

.mv-form .mv-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.mv-form input[type="submit"],
.mv-form .wpcf7-submit {
  width: 100%; padding: 13px; background: var(--navy); color: var(--white);
  border: none; border-radius: 4px; font-weight: 700; font-size: 0.95rem;
  cursor: pointer; font-family: 'Syne', sans-serif; transition: all .2s;
  margin-top: 6px;
}
.mv-form input[type="submit"]:hover { background: var(--mid); }

/* CF7 Statusmeldungen */
.wpcf7 form .wpcf7-response-output {
  margin: 16px 0 0; padding: 12px 16px; border-radius: 4px;
  border: none; font-size: 0.85rem;
}
.wpcf7 form.sent .wpcf7-response-output { background: var(--ice); color: var(--teal); }
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output { background: #FDECEC; color: #C0392B; }
.wpcf7-not-valid-tip { color: #C0392B; font-size: 0.75rem; margin: -10px 0 12px; }
.wpcf7-spinner { display: block; margin: 10px auto 0; }

.contact-alt { margin-top: 20px; text-align: center; font-size: 0.82rem; color: #889aaa; }
.contact-alt a { color: var(--teal); text-decoration: none; font-weight: 600; }

/* ==========================================================================
   12. MESSESEITE — VITAFOODS ASIA
   ========================================================================== */

.nav-event-pill {
  display: flex; align-items: center; gap: 8px;
  background: rgba(232,184,75,0.1); border: 1px solid rgba(232,184,75,0.25);
  padding: 6px 16px; border-radius: 100px;
}
.nav-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); animation: blink 2s ease-in-out infinite; }
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: 0.2; } }
.nav-event-text { font-size: 0.73rem; color: var(--gold); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.nav-back {
  color: rgba(255,255,255,0.4); text-decoration: none; font-size: 0.8rem;
  border-left: 1px solid rgba(255,255,255,0.1); padding-left: 14px; transition: color .2s; white-space: nowrap;
}
.nav-back:hover { color: var(--white); }

/* Messe-Hero */
#fair-intro {
  min-height: 100vh; background: var(--deep);
  padding: 120px 56px 140px; position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center;
}
.hero-bg-glow {
  position: absolute; top: -100px; left: 50%; transform: translateX(-50%);
  width: 900px; height: 600px; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(0,194,209,0.05) 0%, transparent 70%);
  pointer-events: none;
}
.bkk-silhouette {
  position: absolute; bottom: 80px; left: 0; right: 0; height: 180px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 180'%3E%3Cpath fill='%23002a66' opacity='0.6' d='M0,180 L0,130 L30,130 L30,70 L44,70 L44,55 L50,48 L56,55 L56,70 L70,70 L70,130 L110,130 L110,85 L126,85 L126,45 L130,35 L134,45 L134,85 L150,85 L150,130 L190,130 L190,105 L204,105 L204,75 L210,65 L216,75 L216,105 L230,105 L230,130 L270,130 L270,60 L286,60 L286,30 L290,18 L294,30 L294,60 L310,60 L310,130 L350,130 L350,100 L370,100 L370,68 L376,55 L382,68 L382,100 L400,100 L400,130 L440,130 L440,90 L460,90 L460,50 L464,38 L468,50 L468,90 L488,90 L488,130 L520,130 L520,108 L540,108 L540,75 L546,62 L552,75 L552,108 L570,108 L570,130 L610,130 L610,65 L630,65 L630,32 L634,20 L638,32 L638,65 L660,65 L660,130 L700,130 L700,102 L718,102 L718,72 L724,60 L730,72 L730,102 L750,102 L750,130 L790,130 L790,85 L810,85 L810,48 L814,36 L818,48 L818,85 L840,85 L840,130 L880,130 L880,108 L900,108 L900,80 L906,68 L912,80 L912,108 L930,108 L930,130 L970,130 L970,72 L990,72 L990,38 L994,26 L998,38 L998,72 L1018,72 L1018,130 L1060,130 L1060,100 L1078,100 L1078,68 L1084,55 L1090,68 L1090,100 L1110,100 L1110,130 L1150,130 L1150,85 L1170,85 L1170,50 L1174,38 L1178,50 L1178,85 L1200,85 L1200,130 L1240,130 L1240,110 L1260,110 L1260,82 L1266,70 L1272,82 L1272,110 L1292,110 L1292,130 L1340,130 L1340,62 L1358,62 L1358,32 L1362,20 L1366,32 L1366,62 L1386,62 L1386,130 L1440,130 L1440,180 Z'/%3E%3C/svg%3E") bottom/cover no-repeat;
  pointer-events: none;
}
.fair-hero-inner { position: relative; z-index: 2; max-width: 740px; }

.event-badge {
  display: inline-flex; align-items: center; gap: 14px;
  background: rgba(232,184,75,0.08); border: 1px solid rgba(232,184,75,0.22);
  padding: 10px 20px; border-radius: 6px; margin-bottom: 36px;
}
.event-badge-logo { font-family: 'Syne', sans-serif; font-size: 0.95rem; font-weight: 800; color: var(--gold); }
.event-badge-sep { width: 1px; height: 20px; background: rgba(232,184,75,0.25); }
.event-badge-info { font-size: 0.78rem; color: rgba(232,184,75,0.7); font-weight: 500; }

.hero-meta { display: flex; gap: 28px; flex-wrap: wrap; margin-bottom: 44px; }
.meta-chip {
  display: flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
  padding: 9px 16px; border-radius: 6px;
}
.meta-chip-icon { font-size: 1rem; }
.meta-chip-text { font-size: 0.82rem; }
.meta-chip-text strong { display: block; color: var(--white); font-weight: 600; font-size: 0.85rem; }
.meta-chip-text span { color: rgba(255,255,255,0.4); font-size: 0.75rem; }

.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* Countdown */
.countdown-bar {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 2;
  background: rgba(0,0,0,0.4); backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 18px 56px; display: flex; align-items: center; gap: 48px;
}
.cd-label { font-size: 0.68rem; color: var(--grey); letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600; white-space: nowrap; }
.cd-items { display: flex; align-items: center; gap: 20px; }
.cd-unit { text-align: center; }
.cd-num { font-family: 'Syne', sans-serif; font-size: 1.7rem; font-weight: 800; color: var(--white); line-height: 1; display: block; min-width: 48px; }
.cd-lbl { font-size: 0.6rem; color: var(--grey); text-transform: uppercase; letter-spacing: 0.1em; }
.cd-sep { font-family: 'Syne', sans-serif; font-size: 1.7rem; color: var(--cyan); line-height: 1; margin-bottom: 16px; animation: blinkSep 1s step-start infinite; }
@keyframes blinkSep { 0%,100% { opacity: 1; } 50% { opacity: 0; } }

/* Strategie */
#asia-chapter { padding: 110px 56px; background: var(--white); }
.asia-body { font-size: 1rem; color: #3d5570; line-height: 1.8; margin-top: 20px; }
.asia-intro { max-width: 760px; margin-top: 44px; }

/* Showcase */
#showcase { padding: 110px 56px; background: var(--light); }
.showcase-intro { max-width: 640px; margin-bottom: 56px; }
.showcase-intro p { margin-top: 16px; font-size: 1rem; color: #3d5570; line-height: 1.8; }
.showcase-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.sc-card { background: var(--white); padding: 44px 36px; transition: background .2s; position: relative; }
.sc-card:hover { background: var(--ice); }
.sc-card.featured { background: var(--navy); }
.sc-card.featured:hover { background: var(--mid); }
.sc-num { font-family: 'Syne', sans-serif; font-size: 3rem; font-weight: 800; color: rgba(0,194,209,0.12); line-height: 1; margin-bottom: 16px; }
.featured .sc-num { color: rgba(0,194,209,0.18); }
.sc-title { font-family: 'Syne', sans-serif; font-size: 1.1rem; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.featured .sc-title { color: var(--white); }
.sc-desc { font-size: 0.87rem; color: #556677; line-height: 1.7; }
.featured .sc-desc { color: rgba(255,255,255,0.55); }
.sc-pill {
  display: inline-flex; margin-top: 16px; background: var(--ice); color: var(--teal);
  padding: 4px 12px; border-radius: 100px; font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
}
.featured .sc-pill { background: rgba(0,194,209,0.15); color: var(--cyan); }

/* Experten am Stand */
#fair-team { padding: 110px 56px; background: var(--deep); }
.team-intro { margin-bottom: 56px; }
.team-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 760px; }
.t-card {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.07);
  border-radius: 10px; padding: 36px 32px; transition: all .2s;
}
.t-card:hover { background: rgba(255,255,255,0.07); border-color: rgba(0,194,209,0.2); transform: translateY(-2px); }
.t-avatar {
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--teal));
  border: 2px solid rgba(0,194,209,0.3);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Syne', sans-serif; font-size: 1.2rem; font-weight: 800;
  color: var(--white); margin-bottom: 18px; overflow: hidden;
}
.t-avatar img { width: 100%; height: 100%; object-fit: cover; }
.t-name { font-weight: 700; font-size: 1rem; color: var(--white); margin-bottom: 4px; }
.t-role { font-size: 0.72rem; color: var(--cyan); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; margin-bottom: 12px; }
.t-bio { font-size: 0.85rem; color: rgba(255,255,255,0.45); line-height: 1.65; }

.team-cta {
  margin-top: 48px; background: rgba(0,194,209,0.06);
  border: 1px solid rgba(0,194,209,0.14); border-radius: 10px;
  padding: 32px 36px; display: flex; align-items: center; justify-content: space-between;
  gap: 32px; max-width: 760px;
}
.team-cta p { font-size: 0.95rem; color: rgba(255,255,255,0.6); }
.team-cta strong { color: var(--white); }

/* ==========================================================================
   13. RESPONSIVE
   ========================================================================== */

@media (max-width: 960px) {
  .site-nav { padding: 0 20px; }
  .nav-burger { display: flex; }

  .nav-links {
    position: fixed; top: 66px; left: 0; right: 0;
    background: rgba(0, 30, 77, 0.99); backdrop-filter: blur(14px);
    flex-direction: column; align-items: flex-start; gap: 0;
    padding: 0 20px; max-height: 0; overflow: hidden;
    transition: max-height .3s ease, padding .3s ease;
    border-bottom: 1px solid rgba(0,194,209,0.12);
  }
  .nav-links.open { max-height: 400px; padding: 12px 20px 20px; }
  .nav-links a { padding: 12px 0; font-size: 0.95rem; width: 100%; }

  #intro { grid-template-columns: 1fr; padding: 100px 20px 80px; }
  .hero-visual { display: none; }

  .tech-grid, .about-grid, .svc-split { grid-template-columns: 1fr; }
  .prod-grid, .service-grid { grid-template-columns: 1fr; }
  .svc-card.full { grid-column: span 1; }
  .team-grid { grid-template-columns: 1fr; }

  #technologie, #produkte, #angebot, #ueber-uns { padding: 80px 20px; }

  .site-footer { padding: 48px 20px 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .vf-banner { flex-direction: column; align-items: flex-start; padding: 36px 20px; }

  .modal-box { padding: 36px 28px; }
  .mv-form .mv-row { grid-template-columns: 1fr; }

  /* Messeseite */
  #fair-intro { padding: 100px 20px 140px; }
  .countdown-bar { padding: 16px 20px; gap: 20px; flex-wrap: wrap; }
  #asia-chapter, #showcase, #fair-team { padding: 80px 20px; }
  .showcase-grid, .team-cards { grid-template-columns: 1fr; }
  .team-cta { flex-direction: column; align-items: flex-start; }
  .fair-footer { padding: 28px 20px; flex-direction: column; align-items: flex-start; }
  .nav-event-pill { display: none; }
}

@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 24px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* Bewegung reduzieren */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
