/* =====================================================
   ORTHO-WELT – Stylesheet  (Dunkelgrau / Weiß / Orange)
   Ahmad Yaman Kebbe | Dortmund
   ===================================================== */

:root {
  /* ---- Hintergründe (Grau-Töne) ---- */
  --bg-0:   #E8E8E8;   /* helles Grau (war Weiß)       */
  --bg-1:   #D8D8D8;   /* mittleres Grau               */
  --bg-2:   #C8C8C8;   /* etwas dunkler                */
  --bg-3:   #B8B8B8;   /* Grau (Karten)                */
  --bg-4:   #A8A8A8;   /* kräftiger Grau               */

  /* ---- Orange als Hauptakzent ---- */
  --gold:        #E8621A;   /* kräftiges Orange         */
  --gold-light:  #F07D35;   /* helles Orange            */
  --gold-dark:   #C44E10;   /* tiefes Dunkelorange      */
  --gold-glow:   rgba(232, 98, 26, 0.09);
  --gold-border: rgba(232, 98, 26, 0.24);

  /* ---- Dunkelgrau (zweiter Akzent) ---- */
  --blue:       #2A2A2A;   /* sehr dunkel Grau          */
  --blue-light: #444444;   /* dunkles Grau              */
  --blue-glow:  rgba(42, 42, 42, 0.10);
  --blue-border:rgba(42, 42, 42, 0.25);

  /* ---- Text ---- */
  --text:        #1A1A1A;   /* fast schwarz             */
  --text-muted:  #4A4A4A;   /* dunkles Grau             */
  --text-light:  #777777;   /* mittleres Grau           */
  --white:       #FFFFFF;   /* weiß – für Hero          */
  --heading:     #0D0D0D;   /* sehr dunkel – Köpfe      */

  /* ---- Rahmen ---- */
  --border:       #BBBBBB;
  --border-hover: rgba(232, 98, 26, 0.38);

  /* ---- Schatten ---- */
  --shadow-sm:  0 2px 8px  rgba(0,0,0,0.08);
  --shadow-md:  0 6px 24px rgba(0,0,0,0.12);
  --shadow-lg:  0 12px 48px rgba(0,0,0,0.16);
  --shadow-gold:0 0 28px rgba(232,98,26,0.24);

  /* ---- Sonstige ---- */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --transition: 0.32s ease;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Playfair Display', Georgia, serif;
  --header-h:     80px;

  /* ---- Compat-Aliase ---- */
  --primary:      var(--bg-1);
  --primary-light:var(--bg-3);
  --accent:       var(--gold);
  --accent-light: var(--gold-light);
  --accent-dark:  var(--gold-dark);
  --light-bg:     var(--bg-3);
  --dark-bg:      var(--bg-1);
  --darker-bg:    var(--bg-0);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--bg-1);
  color: var(--text);
  line-height: 1.75;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-light); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold); }
ul { list-style: none; }

/* ---- Layout ---- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section-dark   { background: var(--bg-1); }
.section-medium { background: var(--bg-2); }
.section-light  { background: var(--bg-3); }
.section-white  { background: var(--bg-2); }
.section-accent {
  background: linear-gradient(135deg, var(--bg-2) 0%, var(--bg-3) 100%);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.section-grid { display: grid; gap: 64px; align-items: center; }
.two-col { grid-template-columns: 1fr 1fr; }

/* ---- Typografie ---- */
h1,h2,h3,h4,h5,h6 { font-family: var(--font-heading); line-height: 1.2; color: var(--heading); }

.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 14px;
}
.section-label::before {
  content: ''; display: block; width: 20px; height: 2px;
  background: var(--gold); border-radius: 2px;
}
.section-label.light { color: var(--gold-light); }
.section-label.light::before { background: var(--gold-light); }

.section-title { font-size: clamp(1.8rem, 3vw, 2.55rem); margin-bottom: 20px; color: var(--heading); }
.section-title.light { color: var(--heading); }
.section-subtitle { font-size: 0.98rem; color: var(--text-muted); max-width: 600px; margin: 0 auto; }
.section-header.centered { text-align: center; margin-bottom: 60px; }
.section-lead { font-size: 1.05rem; color: var(--text); margin-bottom: 20px; font-weight: 500; }
.text-accent { color: var(--gold); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; border-radius: var(--radius-md);
  font-family: var(--font-body); font-size: 0.92rem; font-weight: 700;
  cursor: pointer; border: 1.5px solid transparent;
  transition: all var(--transition); text-decoration: none; white-space: nowrap;
}
.btn-primary {
  background: var(--gold); color: var(--bg-0); border-color: var(--gold);
}
.btn-primary:hover {
  background: var(--gold-light); border-color: var(--gold-light); color: var(--bg-0);
  transform: translateY(-2px); box-shadow: 0 6px 20px rgba(191,152,68,0.35);
}
.btn-outline {
  background: transparent; color: var(--gold-light); border-color: var(--gold-border);
}
.btn-outline:hover {
  background: var(--gold-glow); border-color: var(--gold); color: var(--gold);
  transform: translateY(-2px);
}
.btn-outline-white {
  background: transparent; color: var(--white); border-color: rgba(255,255,255,0.3);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.6); color: var(--white);
  transform: translateY(-2px);
}
.btn-blue {
  background: var(--blue); color: var(--white); border-color: var(--blue);
}
.btn-blue:hover {
  background: var(--blue-light); border-color: var(--blue-light);
  transform: translateY(-2px); box-shadow: 0 6px 20px rgba(62,127,168,0.35);
}
.btn-lg { padding: 15px 34px; font-size: 1rem; }
.btn-full { width: 100%; justify-content: center; }

/* ---- Cookie-Banner ---- */
.cookie-banner {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%);
  width: min(90vw, 880px); background: var(--bg-3);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); z-index: 9999;
  padding: 24px 28px; border-top: 3px solid var(--gold); transition: opacity 0.4s, transform 0.4s;
}
.cookie-banner.hidden { opacity: 0; pointer-events: none; transform: translateX(-50%) translateY(20px); }
.cookie-content { display: flex; align-items: flex-start; gap: 18px; }
.cookie-icon { font-size: 1.8rem; color: var(--gold); flex-shrink: 0; margin-top: 4px; }
.cookie-text h3 { font-size: 1rem; color: var(--white); margin-bottom: 6px; }
.cookie-text p  { font-size: 0.84rem; color: var(--text-muted); line-height: 1.6; }
.cookie-actions { display: flex; flex-direction: column; gap: 8px; flex-shrink: 0; align-items: flex-end; justify-content: center; }

/* ---- Header ---- */
.header {
  position: fixed; top: 0; left: 0; right: 0; height: var(--header-h);
  z-index: 1000; background: rgba(50,50,50,0.97); backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: all var(--transition);
}
.header.scrolled { box-shadow: 0 2px 28px rgba(0,0,0,0.25); border-bottom-color: rgba(232,98,26,0.4); }
.header-inner { display: flex; align-items: center; height: 100%; gap: 28px; }

/* Logo */
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }

.logo-img {
  height: 58px;
  width: auto;
  display: block;
  /* Exakt #E8621A – gleiche Farbe wie Logo-Accent-Text */
  filter: brightness(0) saturate(100%) invert(42%) sepia(97%) saturate(600%) hue-rotate(354deg) brightness(103%);
  transition: filter var(--transition), transform var(--transition);
}
.logo:hover .logo-img {
  filter: brightness(0) saturate(100%) invert(42%) sepia(97%) saturate(700%) hue-rotate(354deg) brightness(110%);
  transform: scale(1.05);
}

.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-main { font-family: var(--font-heading); font-size: 2.0rem; font-weight: 700; color: #FFFFFF; }
.logo-accent { color: var(--gold); }
.logo-sub { font-size: 0.80rem; letter-spacing: 0.09em; color: #AAAAAA; text-transform: uppercase; font-weight: 500; margin-top: 2px; }
.logo-white .logo-main, .logo-white .logo-sub { color: var(--white); }

/* Language Switcher Dropdown */
.lang-switcher {
  position: relative;
}
.lang-trigger {
  display: flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-sm);
  padding: 7px 12px; cursor: pointer;
  color: #fff; font-size: 0.88rem; font-weight: 500;
  transition: all var(--transition);
}
.lang-trigger:hover { background: rgba(255,255,255,0.14); border-color: var(--gold); }
.lang-flag { font-size: 1.2rem; line-height: 1; }
.lang-name { letter-spacing: 0.05em; }
.lang-arrow { font-size: 0.65rem; opacity: 0.7; transition: transform var(--transition); }
.lang-switcher.open .lang-arrow { transform: rotate(180deg); }

.lang-dropdown {
  position: absolute; top: calc(100% + 8px); right: 0;
  background: #2a2a2a;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  list-style: none; padding: 6px;
  min-width: 150px; z-index: 2000;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: all 0.22s ease;
}
.lang-switcher.open .lang-dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.lang-option {
  display: flex; align-items: center; gap: 10px;
  width: 100%; padding: 9px 12px;
  background: none; border: none; border-radius: var(--radius-sm);
  color: #ddd; font-size: 0.88rem; cursor: pointer;
  transition: all var(--transition); text-align: left;
}
.lang-option:hover { background: rgba(255,255,255,0.08); color: #fff; }
.lang-option.active { color: var(--gold); background: rgba(232,98,26,0.12); font-weight: 600; }
.lang-option span { flex: 1; }

/* Nav */
.nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 2px; }
.nav-link {
  padding: 8px 14px; font-size: 0.88rem; font-weight: 500; white-space: nowrap;
  color: #DDDDDD; border-radius: var(--radius-sm); transition: all var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--gold); background: rgba(232,98,26,0.12); }
.header-cta { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.header-tel { padding: 10px 20px; font-size: 0.84rem; }
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 8px; margin-left: auto;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: all var(--transition); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- Hero ---- */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  padding-top: var(--header-h); overflow: hidden; background: var(--bg-0);
}
/* Video-Hintergrund */
#hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
}
.hero-video-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(
    135deg,
    rgba(7,9,14,.82) 0%,
    rgba(11,13,22,.68) 50%,
    rgba(7,9,14,.76) 100%
  );
}
.hero-content {
  position: relative; z-index: 2; max-width: 620px;
  padding-top: 40px; padding-bottom: 120px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(191,152,68,0.08); border: 1px solid var(--gold-border);
  color: var(--gold); padding: 7px 16px; border-radius: 100px;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.07em; margin-bottom: 28px;
}
.hero-title { font-size: clamp(2rem, 5vw, 3.6rem); color: var(--white); line-height: 1.15; margin-bottom: 22px; font-weight: 700; }
.hero-subtitle { font-size: 1.05rem; color: rgba(200,212,228,0.75); margin-bottom: 38px; line-height: 1.75; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 52px; }
.hero-stats { display: flex; align-items: center; }
.hero-stat { display: flex; flex-direction: column; padding: 0 26px; }
.hero-stat:first-child { padding-left: 0; }
.stat-number { font-family: var(--font-heading); font-size: 1.7rem; font-weight: 700; color: var(--gold); line-height: 1; }
.stat-label { font-size: 0.72rem; color: rgba(200,212,228,0.5); text-transform: uppercase; letter-spacing: 0.07em; margin-top: 4px; }
.hero-stat-divider { width: 1px; height: 36px; background: rgba(255,255,255,0.1); }
.hero-scroll {
  position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); z-index: 2;
  width: 42px; height: 42px; background: rgba(191,152,68,0.07);
  border: 1px solid var(--gold-border); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; color: var(--gold);
  animation: bounce 2.2s infinite; transition: background var(--transition);
}
.hero-scroll:hover { background: var(--gold-glow); color: var(--gold); }
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* ---- Info-Bar ---- */
.info-bar { background: var(--bg-0); border-top: 1px solid var(--gold-border); border-bottom: 1px solid var(--border); padding: 16px 0; }
.info-bar-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; }
.info-item { display: flex; align-items: center; gap: 12px; }
.info-item > i { font-size: 1.2rem; color: var(--gold); width: 22px; text-align: center; flex-shrink: 0; }
.info-item > div { display: flex; flex-direction: column; line-height: 1.3; }
.info-item strong { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.09em; color: var(--text-muted); }
.info-item span, .info-item a { font-size: 0.86rem; color: var(--text); font-weight: 600; }
.info-item a:hover { color: var(--gold); }
.info-divider { width: 1px; height: 34px; background: var(--border); }

/* ---- Über uns ---- */
.image-frame { position: relative; }
.image-placeholder {
  background: var(--bg-3); border: 1px solid var(--border);
  border-radius: var(--radius-lg); aspect-ratio: 4/3;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.placeholder-visual { display: flex; flex-direction: column; align-items: center; gap: 14px; color: var(--text-light); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; }
.placeholder-visual i { font-size: 3.5rem; opacity: 0.3; }
.image-badge {
  position: absolute; bottom: -20px; right: -20px;
  background: var(--gold); color: var(--bg-0); padding: 14px 18px;
  border-radius: var(--radius-md); font-size: 0.80rem; font-weight: 700;
  max-width: 175px; text-align: center; line-height: 1.4; box-shadow: var(--shadow-gold);
}
.image-badge i { display: block; font-size: 1.3rem; margin-bottom: 6px; color: var(--bg-0); }
.feature-list { display: flex; flex-direction: column; gap: 18px; margin: 26px 0 32px; }
.feature-item { display: flex; align-items: flex-start; gap: 14px; }
.feature-icon {
  width: 42px; height: 42px;
  background: var(--gold-glow); border: 1px solid var(--gold-border);
  border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center;
  color: var(--gold); font-size: 0.95rem; flex-shrink: 0;
}
.feature-item > div { display: flex; flex-direction: column; gap: 2px; }
.feature-item strong { font-size: 0.92rem; color: var(--heading); font-weight: 600; }
.feature-item span   { font-size: 0.84rem; color: var(--text-muted); }

/* ---- Zusatzbezeichnungen Badge ---- */
.zusatz-badges { display: flex; flex-wrap: nowrap; gap: 8px; margin-bottom: 24px; }
.zusatz-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--blue-glow); border: 1px solid var(--blue-border);
  color: var(--blue-light); padding: 5px 14px; border-radius: 100px;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.04em;
}
.zusatz-badge i { font-size: 0.7rem; }

/* ================================================================
   FLIP-KARTEN (Leistungen)
   ================================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.flip-card {
  perspective: 1200px;
  height: 270px;
  border: none !important;
  background: transparent !important;
  padding: 0 !important;
  box-shadow: none !important;
}

.flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.flip-card:hover .flip-inner,
.flip-card.flipped .flip-inner {
  transform: rotateY(180deg);
}

.flip-front,
.flip-back {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-md);
  padding: 26px 22px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.flip-front {
  background: var(--bg-3);
  border: 1px solid var(--border);
  transition: border-color var(--transition);
}

.flip-card:hover .flip-front {
  border-color: var(--gold-border);
}

.flip-back {
  background: linear-gradient(145deg, var(--bg-4) 0%, var(--bg-3) 100%);
  border: 1px solid var(--gold-border);
  transform: rotateY(180deg);
  justify-content: space-between;
  box-shadow: var(--shadow-gold);
}

.service-icon {
  width: 58px; height: 58px;
  background: var(--gold); border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.45rem; color: var(--bg-0); margin-bottom: 18px;
  transition: transform var(--transition);
}

.flip-card:hover .service-icon { transform: scale(1.06) rotate(-4deg); }

.flip-front h3 { font-size: 1.18rem; color: var(--heading); margin-bottom: auto; line-height: 1.35; }

.flip-hint {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.76rem; color: var(--text-light);
  letter-spacing: 0.06em; text-transform: uppercase; margin-top: 12px;
}

.flip-back h3 { font-size: 1.08rem; color: var(--gold); margin-bottom: 10px; line-height: 1.35; }
.flip-back p  { font-size: 0.90rem; color: var(--text-muted); line-height: 1.70; flex: 1; }

/* ---- Why Us ---- */
.why-us-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.why-us-content p { color: var(--text-muted); margin-bottom: 30px; }
.stats-row { display: flex; gap: 14px; }
.stat-box {
  background: var(--bg-4); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 18px 22px; text-align: center; flex: 1;
  transition: border-color var(--transition);
}
.stat-box:hover { border-color: var(--gold-border); }
.stat-big { display: block; font-family: var(--font-heading); font-size: 1.4rem; font-weight: 700; color: var(--gold); }
.stat-desc { display: block; font-size: 0.72rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.07em; margin-top: 4px; }
.checklist { display: flex; flex-direction: column; gap: 9px; }
.checklist li {
  display: flex; align-items: center; gap: 12px; font-size: 0.9rem; color: var(--text);
  padding: 10px 16px; background: var(--bg-4); border-radius: var(--radius-sm);
  border: 1px solid var(--border); transition: border-color var(--transition);
}
.checklist li:hover { border-color: var(--gold-border); }
.checklist li i { color: var(--gold); font-size: 0.9rem; flex-shrink: 0; }

/* ---- Team ---- */
.team-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 22px; }
.team-card {
  background: var(--bg-3); border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border); transition: all var(--transition);
  animation-delay: var(--delay, 0s);
}
.team-card:hover { transform: translateY(-5px); border-color: var(--gold-border); box-shadow: var(--shadow-gold); }
.team-image { aspect-ratio: 4/3; background: var(--bg-4); overflow: hidden; }
.team-image-placeholder {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  font-size: 4.5rem; color: var(--border);
}
.team-info { padding: 22px; }
.team-info h3 { font-size: 1.03rem; color: var(--heading); margin-bottom: 6px; }
.team-role { display: block; font-size: 0.74rem; color: var(--gold); font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; margin-bottom: 10px; }
.team-bio { font-size: 0.85rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 14px; }
.team-qualifications { display: flex; flex-direction: column; gap: 5px; }
.team-qualifications span { display: flex; align-items: center; gap: 8px; font-size: 0.79rem; color: var(--text-muted); }
.team-qualifications i { color: var(--gold); width: 14px; }

/* ================================================================
   PUBLIKATIONEN & POSTER
   ================================================================ */
.pub-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.pub-card {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px;
  transition: all var(--transition);
  animation-delay: var(--delay, 0s);
}

.pub-card:hover { border-color: var(--gold-border); box-shadow: var(--shadow-gold); transform: translateY(-3px); }

.pub-card-main { grid-column: span 2; }

.pub-type {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 0.70rem; font-weight: 700; letter-spacing: 0.09em;
  text-transform: uppercase; color: var(--gold);
  background: var(--gold-glow); border: 1px solid var(--gold-border);
  padding: 4px 12px; border-radius: 100px; margin-bottom: 14px;
}

.pub-type-poster { color: var(--gold-light); background: var(--gold-glow); border-color: var(--gold-border); }
.pub-type-cert   { color: var(--gold);       background: var(--gold-glow); border-color: var(--gold-border); }

.pub-card h3 { font-size: 1rem; color: var(--heading); margin-bottom: 10px; line-height: 1.4; font-family: var(--font-heading); }

.pub-authors {
  font-size: 0.82rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 14px;
}
.pub-authors strong { color: var(--gold-light); font-weight: 700; }

.pub-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.pub-meta span {
  display: flex; align-items: center; gap: 5px;
  font-size: 0.75rem; color: var(--text-muted); background: var(--bg-4);
  border: 1px solid var(--border); padding: 3px 10px; border-radius: var(--radius-sm);
}
.pub-meta i { color: var(--gold); font-size: 0.65rem; }

.pub-doi {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 0.80rem; font-weight: 600; color: var(--gold);
  padding: 7px 14px; border: 1px solid var(--gold-border);
  border-radius: var(--radius-sm); background: var(--gold-glow);
  transition: all var(--transition);
}
.pub-doi:hover { background: var(--gold); color: #fff; border-color: var(--gold); }

.pub-event {
  display: flex; align-items: center; gap: 7px;
  font-size: 0.76rem; color: var(--text-muted); margin-bottom: 10px;
}
.pub-event i { color: var(--gold); }

.pub-congress {
  margin-top: 12px; font-size: 0.74rem; color: var(--text-light);
  text-transform: uppercase; letter-spacing: 0.06em; font-style: italic;
}

.pub-card p { font-size: 0.84rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 10px; }

.cert-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gold-glow); border: 1px solid var(--gold-border);
  color: var(--gold); padding: 8px 16px; border-radius: var(--radius-sm);
  font-size: 0.78rem; font-weight: 700; margin-top: 12px;
}
.cert-badge-gold {
  background: var(--gold-glow); border-color: var(--gold-border);
  color: var(--gold);
}

/* ---- Mitgliedschaften ---- */
.membership-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 36px;
}
.membership-card {
  position: relative;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 20px 24px;
  text-align: center;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  animation-delay: var(--delay, 0s);
}
.membership-card:hover {
  border-color: var(--gold-border);
  box-shadow: var(--shadow-gold);
  transform: translateY(-4px);
}
.membership-icon {
  width: 52px; height: 52px;
  background: var(--gold-glow);
  border: 1.5px solid var(--gold-border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; color: var(--gold);
  margin: 0 auto 16px;
}
.membership-card h4 {
  font-size: 0.88rem; font-weight: 600;
  color: var(--heading); line-height: 1.45;
  margin-bottom: 6px;
}
.membership-card p {
  font-size: 0.76rem; color: var(--gold);
  font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; margin: 0;
}
.membership-badge {
  position: absolute; top: 14px; right: 14px;
  font-size: 0.62rem; font-weight: 800;
  letter-spacing: 0.07em; padding: 3px 8px;
  border-radius: 20px;
}
.membership-badge-de  { background: rgba(62,127,168,.15); color: var(--blue-light); border: 1px solid rgba(62,127,168,.30); }
.membership-badge-int { background: var(--gold-glow);     color: var(--gold);       border: 1px solid var(--gold-border); }

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

/* ---- Galerie ---- */
.gallery-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 1fr 1fr; gap: 12px; height: 380px; margin-bottom: 32px;
}
.gallery-item-large { grid-row: span 2; }
.gallery-item, .gallery-item-large { border-radius: var(--radius-md); overflow: hidden; }
.gallery-placeholder {
  width: 100%; height: 100%; background: var(--bg-3); border: 2px dashed var(--border);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; color: var(--text-light); font-size: 0.75rem; text-transform: uppercase;
  letter-spacing: 0.08em; transition: all var(--transition); cursor: pointer;
}
.gallery-placeholder:hover { border-color: var(--gold-border); color: var(--gold); background: var(--gold-glow); }
.gallery-placeholder i { font-size: 2.2rem; }
.praxis-features { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }
.praxis-feature {
  display: flex; align-items: center; gap: 9px;
  background: var(--bg-3); border: 1px solid var(--border); padding: 9px 16px;
  border-radius: 100px; font-size: 0.84rem; font-weight: 600; color: var(--text);
  transition: all var(--transition);
}
.praxis-feature:hover { border-color: var(--gold-border); color: var(--gold); background: var(--gold-glow); }
.praxis-feature i { color: var(--gold); font-size: 0.9rem; }

/* ---- Kontakt ---- */

/* Doctolib-Block */
.doctolib-block {
  display: flex; align-items: center; gap: 28px;
  background: linear-gradient(135deg, var(--bg-3) 0%, var(--bg-4) 100%);
  border: 1.5px solid var(--gold-border);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-lg);
  padding: 28px 36px;
  margin-bottom: 48px;
  box-shadow: 0 4px 32px rgba(191,152,68,.10);
}
.doctolib-icon {
  flex-shrink: 0;
  width: 60px; height: 60px;
  background: var(--gold-glow);
  border: 1.5px solid var(--gold-border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  color: var(--gold);
}
.doctolib-text { flex: 1; }
.doctolib-text h3 { font-size: 1.25rem; color: var(--heading); margin-bottom: 4px; }
.doctolib-text p  { font-size: 0.90rem; color: var(--text-muted); margin: 0; }
.doctolib-btn { flex-shrink: 0; white-space: nowrap; }
@media (max-width: 700px) {
  .doctolib-block { flex-direction: column; text-align: center; padding: 24px 20px; }
  .doctolib-btn   { width: 100%; text-align: center; }
}

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.contact-form-wrapper h3 { font-size: 1.45rem; color: var(--heading); margin-bottom: 8px; }
.form-privacy-note { font-size: 0.80rem; color: var(--text-muted); margin-bottom: 22px; display: flex; align-items: center; gap: 6px; }
.form-privacy-note i { color: var(--gold); }
.contact-form { display: flex; flex-direction: column; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 0.82rem; font-weight: 600; color: var(--text); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 11px 15px; border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); font-family: var(--font-body); font-size: 0.90rem;
  color: var(--heading); background: var(--bg-3); transition: border-color var(--transition), box-shadow var(--transition); outline: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--gold); box-shadow: 0 0 0 3px rgba(191,152,68,0.10);
}
.form-group input.error, .form-group select.error, .form-group textarea.error { border-color: #e05555; }
.form-group select option { background: var(--bg-3); color: var(--heading); }
.form-group textarea { resize: vertical; }
.form-checkbox { flex-direction: row; align-items: flex-start; gap: 12px; }
.form-checkbox input[type="checkbox"] { width: auto; flex-shrink: 0; margin-top: 3px; accent-color: var(--gold); }
.form-checkbox label { font-size: 0.80rem; color: var(--text-muted); font-weight: 400; }
.form-required-note { font-size: 0.75rem; color: var(--text-light); text-align: right; }
.form-message { padding: 13px 17px; border-radius: var(--radius-sm); font-size: 0.86rem; display: flex; align-items: center; gap: 10px; }
.form-success { background: rgba(46,125,50,0.12); color: #81c784; border: 1px solid rgba(129,199,132,0.25); }
.form-error   { background: rgba(183,28,28,0.12); color: #ef9a9a; border: 1px solid rgba(239,154,154,0.25); }

.contact-info { display: flex; flex-direction: column; gap: 14px; }
.contact-card { background: var(--bg-3); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 20px 22px; transition: border-color var(--transition); }
.contact-card:hover { border-color: var(--gold-border); }
.contact-card h3 { font-size: 0.92rem; color: var(--heading); margin-bottom: 12px; padding-bottom: 9px; border-bottom: 1.5px solid var(--gold); display: inline-block; }
.contact-detail { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 9px; }
.contact-detail:last-child { margin-bottom: 0; }
.contact-detail > i { color: var(--gold); font-size: 0.95rem; width: 18px; text-align: center; flex-shrink: 0; margin-top: 2px; }
.contact-detail > div { display: flex; flex-direction: column; gap: 2px; font-size: 0.85rem; color: var(--text); }
.hours-table { width: 100%; border-collapse: collapse; font-size: 0.81rem; }
.hours-table td { padding: 5px 0; color: var(--text); }
.hours-table td:first-child { font-weight: 700; color: var(--gold); width: 106px; }
.hours-table tr.closed td { color: var(--text-light); }
.hours-table tr.closed td:first-child { color: var(--text-light); }
.emergency-note { margin-top: 12px; font-size: 0.79rem; color: var(--text-muted); display: flex; align-items: flex-start; gap: 7px; line-height: 1.5; }
.emergency-note i { color: #e05555; flex-shrink: 0; margin-top: 2px; }
.emergency-note a { color: #e05555; font-weight: 700; }
.map-container { position: relative; }
.map-notice { background: var(--bg-4); border: 2px dashed var(--border); border-radius: var(--radius-sm); padding: 24px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.map-notice i { font-size: 2.2rem; color: var(--text-light); }
.map-notice p { font-size: 0.85rem; color: var(--text-muted); }
.map-privacy-hint { font-size: 0.72rem; color: var(--text-light); }
.google-map { border-radius: var(--radius-sm); }
.hidden { display: none !important; }

/* ---- Footer ---- */
.footer { background: var(--bg-0); color: var(--text-muted); }
.footer-top { padding: 68px 0 44px; border-top: 1px solid var(--border); }
.footer-top-inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 44px; }
.footer-brand p { font-size: 0.84rem; color: var(--text-light); margin-top: 18px; line-height: 1.7; max-width: 270px; }
.footer-nav-group h4, .footer-contact h4 { color: var(--gold); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; margin-bottom: 16px; padding-bottom: 9px; border-bottom: 1px solid var(--border); }
.footer-nav-group ul { display: flex; flex-direction: column; gap: 9px; }
.footer-nav-group li a { font-size: 0.84rem; color: var(--text-light); transition: all var(--transition); }
.footer-nav-group li a:hover { color: var(--gold); padding-left: 4px; }
.footer-contact address { font-style: normal; display: flex; flex-direction: column; gap: 9px; }
.footer-contact p { display: flex; align-items: center; gap: 9px; font-size: 0.83rem; color: var(--text-light); }
.footer-contact i { color: var(--gold); width: 14px; text-align: center; }
.footer-contact a { color: var(--text-light); transition: color var(--transition); }
.footer-contact a:hover { color: var(--gold); }
.opening-brief { margin-top: 6px; }
.footer-bottom { padding: 16px 0; border-top: 1px solid var(--border); }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; font-size: 0.78rem; color: var(--text-light); flex-wrap: wrap; gap: 8px; }
.footer-bottom a { color: var(--text-light); }
.footer-bottom a:hover { color: var(--gold); }

/* ---- Back to Top ---- */
.back-to-top {
  position: fixed; bottom: 30px; right: 30px; width: 44px; height: 44px;
  background: var(--gold); color: var(--bg-0); border: none; border-radius: 50%;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; box-shadow: var(--shadow-gold); opacity: 0; pointer-events: none;
  transform: translateY(10px); transition: all var(--transition); z-index: 900;
}
.back-to-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top:hover { background: var(--gold-light); transform: translateY(-2px); }

/* ---- Animationen ---- */
.animate-up, .animate-left, .animate-right { opacity: 0; transition: opacity 0.7s ease, transform 0.7s ease; }
.animate-up    { transform: translateY(26px); }
.animate-left  { transform: translateX(-26px); }
.animate-right { transform: translateX(26px); }
.animate-up.visible, .animate-left.visible, .animate-right.visible { opacity: 1; transform: translate(0); transition-delay: var(--delay, 0s); }

/* ---- Impressum / Datenschutz ---- */
.legal-page { padding-top: calc(var(--header-h) + 60px); padding-bottom: 80px; min-height: 100vh; background: var(--bg-2); }
.legal-content { max-width: 840px; margin: 0 auto; }
.legal-content h1 { font-size: 2.2rem; color: var(--heading); margin-bottom: 8px; }
.legal-subtitle { color: var(--text-muted); font-size: 0.88rem; margin-bottom: 44px; padding-bottom: 20px; border-bottom: 2px solid var(--border); }
.legal-section { margin-bottom: 38px; }
.legal-section h2 { font-size: 1.25rem; color: var(--heading); margin-bottom: 12px; padding-bottom: 8px; border-left: 3px solid var(--gold); padding-left: 12px; }
.legal-section h3 { font-size: 0.96rem; color: var(--gold-light); margin: 14px 0 7px; }
.legal-section p, .legal-section li { font-size: 0.90rem; color: var(--text-muted); line-height: 1.8; margin-bottom: 9px; }
.legal-section ul, .legal-section ol { padding-left: 22px; list-style: disc; }
.legal-section ol { list-style: decimal; }
.legal-back-link { display: inline-flex; align-items: center; gap: 8px; font-size: 0.86rem; color: var(--gold); margin-bottom: 30px; }
.legal-back-link:hover { color: var(--gold-light); }

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .team-card-main { grid-column: span 2; }
  .footer-top-inner { grid-template-columns: 1fr 1fr; gap: 28px; }
  .why-us-grid { grid-template-columns: 1fr; gap: 36px; }
  .gallery-grid { height: 280px; }
  .pub-grid { grid-template-columns: 1fr; }
  .pub-card-main { grid-column: span 1; }
}
@media (max-width: 768px) {
  :root { --header-h: 68px; }
  .section { padding: 60px 0; }
  .nav { display: none; }
  .nav-toggle { display: flex; }
  /* Header CTA kompakt: nur Icon beim Termin-Button, nur Flagge beim Sprachumschalter */
  .header-cta { gap: 6px; }
  .header-tel { padding: 8px 10px; font-size: 0.82rem; }
  .header-tel span[data-i18n] { display: none; }
  .lang-trigger { padding: 6px 8px; }
  /* Logo kompakt */
  .logo-img { height: 44px; }
  .logo-main { font-size: 1.55rem; }
  .logo-sub { display: none; }
  .nav.open { display: flex; position: absolute; top: var(--header-h); left: 0; right: 0; background: var(--bg-2); padding: 14px 20px; box-shadow: var(--shadow-md); border-bottom: 2px solid var(--gold-border); }
  .nav.open .nav-list { flex-direction: column; align-items: flex-start; gap: 2px; width: 100%; }
  .nav.open .nav-link { display: block; width: 100%; padding: 12px 14px; font-size: 0.96rem; }
  .hero-content { padding-bottom: 80px; }
  .hero-stats { flex-direction: column; align-items: flex-start; gap: 14px; }
  .hero-stat { padding: 0; }
  .hero-stat-divider { display: none; }
  .hero-actions { flex-direction: column; }
  .info-bar-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
  .info-divider { display: none; }
  .two-col { grid-template-columns: 1fr; gap: 36px; }
  .section-image { order: -1; }
  .image-badge { bottom: -10px; right: -10px; }
  .services-grid { grid-template-columns: 1fr; }
  .flip-card { height: auto; perspective: none; }
  .flip-inner { transform: none !important; height: auto; display: flex; flex-direction: column; }
  .flip-front, .flip-back { position: relative; inset: auto; backface-visibility: visible; transform: none !important; height: auto; }
  .flip-back { margin-top: 0; border-top: none; border-radius: 0 0 var(--radius-md) var(--radius-md); }
  .flip-front { border-radius: var(--radius-md) var(--radius-md) 0 0; border-bottom: none; }
  .flip-hint { display: none; }
  .team-grid { grid-template-columns: 1fr; }
  .team-card-main { grid-column: span 1; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top-inner { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .cookie-content { flex-direction: column; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; height: auto; }
  .gallery-item-large { grid-column: span 2; aspect-ratio: 16/9; }
  .gallery-item { aspect-ratio: 4/3; }
  /* Dropdown öffnet nach links auf kleinen Screens */
  .lang-dropdown { right: 0; left: auto; min-width: 140px; }
}
@media (max-width: 480px) {
  .container { padding: 0 14px; }
  .hero-title { font-size: 1.8rem; }
  .stats-row { flex-direction: column; }
  .praxis-features { flex-direction: column; align-items: stretch; }
  .back-to-top { bottom: 14px; right: 14px; }
  /* Badges dürfen auf Handy umbrechen */
  .zusatz-badges { flex-wrap: wrap; }
  /* Galerie einspaltig auf kleinen Handys */
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item-large { grid-column: span 1; aspect-ratio: 16/9; }
  /* Membership-Karten einspaltig */
  .membership-grid { grid-template-columns: 1fr !important; }
  /* Hero-Actions: volle Breite */
  .hero-actions .btn { width: 100%; justify-content: center; }
  /* Doctolib-Block stapeln */
  .doctolib-block { flex-direction: column; text-align: center; }
}
