/* ═══════════════════════════════════════════════════════════════
   Family Smile — Zahnarztpraxis Essen-Borbeck
   Design-System · Static Edition
   ═══════════════════════════════════════════════════════════════ */

:root {
  /* Farben */
  --ink:        #122A40;
  --ink-soft:   #33506A;
  --muted:      #64798E;
  --brand:      #174171;   /* Navy aus dem neuen Logo */
  --brand-deep: #0F2E50;
  --brand-night:#0C2440;
  --brand-light:#346192;
  --gold:       #0090B2;
  --gold-soft:  #3ABDE0;
  --ivory:      #F4FAFD;
  --paper:      #ffffff;
  --line:       #E2EDF5;
  --line-cool:  #E7F4FC;

  /* Typografie */
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', -apple-system, 'Segoe UI', sans-serif;
  --font-ar: 'Amiri', serif;

  /* Rhythmus */
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-soft: 0 10px 40px rgba(23, 65, 113, 0.08);
  --shadow-lift: 0 24px 60px rgba(23, 65, 113, 0.16);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal-in { transition: none !important; opacity: 1 !important; transform: none !important; }
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.container { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }

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

/* ─────────── Scroll-Reveal ─────────── */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }
.reveal[data-delay="4"] { transition-delay: .4s; }

/* ═══════════ TOPBAR ═══════════ */
.topbar { background: var(--brand-night); color: #C9DDEE; font-size: 13.5px; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 9px; }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 22px; }
.topbar-item { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.topbar-item svg { width: 14px; height: 14px; fill: var(--gold-soft); flex: none; }
.topbar a:hover { color: #fff; }
/* ─────────── Language Switcher (Dropdown) ─────────── */
.lang-switcher { position: relative; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.24);
  color: #fff; font-family: inherit; font-size: 13px; font-weight: 600; letter-spacing: .02em;
  padding: 6px 12px; border-radius: 999px; cursor: pointer;
  transition: background .25s, border-color .25s;
}
.lang-btn:hover { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.4); }
.lang-btn:focus-visible { outline: 2px solid var(--gold-soft); outline-offset: 2px; }
.lang-flag { font-size: 15px; line-height: 1; }
.lang-chevron { width: 14px; height: 14px; fill: currentColor; opacity: .8; transition: transform .25s var(--ease); }
.lang-chevron.is-open { transform: rotate(180deg); }
.lang-menu {
  position: absolute; top: calc(100% + 10px); right: 0; z-index: 130;
  min-width: 184px; background: #fff; border: 1px solid var(--line-cool);
  border-radius: 14px; box-shadow: var(--shadow-lift); padding: 6px;
  animation: langIn .22s var(--ease);
}
@keyframes langIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.lang-opt {
  display: flex; align-items: center; gap: 11px;
  padding: 10px 12px; border-radius: 10px;
  color: var(--ink); font-size: 14.5px; font-weight: 500;
}
a.lang-opt:hover { background: #E7F4FC; color: var(--brand); }
.lang-opt.is-active { background: linear-gradient(135deg, #E7F4FC, #DDEDF8); color: var(--brand-deep); font-weight: 700; }
.lang-opt svg { width: 16px; height: 16px; fill: var(--gold); margin-inline-start: auto; }
.lang-label-ar { font-family: 'Amiri', serif; font-size: 16px; }
[dir="rtl"] .lang-menu { right: auto; left: 0; }

/* ═══════════ HEADER / NAV ═══════════ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .35s var(--ease), border-color .35s;
}
.site-header.is-scrolled { box-shadow: 0 8px 30px rgba(23,65,113,.09); border-color: var(--line-cool); }
.nav-inner { display: flex; align-items: center; gap: 28px; padding-block: 14px; }
.brand img { height: 58px; width: auto; transition: height .35s var(--ease); }
.site-header.is-scrolled .brand img { height: 46px; }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a {
  display: block; padding: 9px 14px; border-radius: 999px;
  font-size: 15px; font-weight: 500; color: var(--ink-soft);
  transition: color .25s, background .25s;
}
.nav-links a:hover { color: var(--brand); background: #E7F4FC; }
.nav-cta { white-space: nowrap; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 10px; }
.nav-toggle span { display: block; width: 24px; height: 2.5px; background: var(--brand-deep); border-radius: 2px; margin: 5px 0; transition: transform .3s var(--ease), opacity .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ═══════════ Buttons ═══════════ */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px;
  font-weight: 600; font-size: 15.5px; line-height: 1;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s;
  cursor: pointer; border: 0;
}
.btn svg { width: 18px; height: 18px; fill: currentColor; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 10px 26px rgba(23,65,113,.32); }
.btn-primary:hover { background: var(--brand-deep); }
.btn-gold { background: linear-gradient(135deg, var(--gold), #007A96); color: #fff; box-shadow: 0 12px 30px rgba(0,144,178,.38); }
.btn-gold:hover { box-shadow: 0 16px 38px rgba(0,144,178,.5); }
.btn-ghost { background: rgba(255,255,255,.1); color: #fff; border: 1.5px solid rgba(255,255,255,.55); }
.btn-ghost:hover { background: rgba(255,255,255,.2); }
.btn-lg { padding: 18px 34px; font-size: 17px; }

/* ═══════════ HERO ═══════════ */
.hero { position: relative; min-height: clamp(620px, 92svh, 940px); display: flex; align-items: center; color: #fff; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; transform: scale(1.02); }
.hero-overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(100deg, rgba(10,31,56,.94) 0%, rgba(12,36,64,.82) 42%, rgba(23,65,113,.45) 72%, rgba(23,65,113,.25) 100%),
    linear-gradient(to top, rgba(10,31,56,.65), transparent 38%);
}
.hero-content { padding-block: clamp(90px, 14vh, 150px) 90px; max-width: 780px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold-soft); margin-bottom: 22px;
}
.hero-eyebrow::before { content: ""; width: 34px; height: 1.5px; background: var(--gold); }
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(42px, 6.4vw, 76px);
  font-weight: 600; line-height: 1.06; letter-spacing: -0.015em;
  margin-bottom: 24px;
}
.hero h1 em { font-style: italic; color: var(--gold-soft); }
.hero-lead { font-size: clamp(17px, 1.6vw, 20px); color: #E3EFF7; max-width: 560px; margin-bottom: 36px; }
.hero-lead strong { color: #fff; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 44px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 12px; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px; border-radius: 999px;
  background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(6px);
  font-size: 13.5px; font-weight: 500; color: #EEF6FC;
}
.badge svg { width: 15px; height: 15px; fill: var(--gold-soft); }
.hero-scroll {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.3);
  display: grid; place-items: center; animation: floatY 2.6s ease-in-out infinite;
}
.hero-scroll svg { width: 22px; height: 22px; fill: #fff; }
@keyframes floatY { 0%,100% { transform: translate(-50%,0); } 50% { transform: translate(-50%,8px); } }

/* ═══════════ TRUST STRIP ═══════════ */
.trust { background: var(--paper); border-bottom: 1px solid var(--line-cool); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px; padding-block: 54px; }
.trust-item { display: flex; gap: 16px; align-items: flex-start; }
.trust-icon {
  flex: none; width: 52px; height: 52px; border-radius: 14px;
  background: linear-gradient(140deg, #E7F4FC, #DCEBF7);
  display: grid; place-items: center;
}
.trust-icon svg { width: 26px; height: 26px; fill: var(--brand); }
.trust-item h3 { font-size: 16px; font-weight: 650; margin-bottom: 4px; color: var(--brand-deep); }
.trust-item p { font-size: 14px; color: var(--muted); line-height: 1.5; }

/* ═══════════ Sektion-Basics ═══════════ */
.section-eyebrow {
  font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 14px;
}
.section-eyebrow.light { color: var(--gold-soft); }
section h2 {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(30px, 4vw, 46px); line-height: 1.12; letter-spacing: -0.01em;
  color: var(--brand-deep); margin-bottom: 22px;
}
.center { text-align: center; }
.section-lead { max-width: 620px; margin-inline: auto; color: var(--ink-soft); font-size: 17.5px; margin-bottom: 20px; }

/* ═══════════ PHILOSOPHIE ═══════════ */
.philosophie { padding-block: clamp(80px, 10vw, 120px); background: var(--ivory); }
.phil-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(44px, 6vw, 88px); align-items: center; }
.phil-figure { position: relative; }
.phil-figure::after {
  content: ""; position: absolute; inset: 22px -22px -22px 22px;
  border: 2px solid var(--gold); border-radius: var(--radius); z-index: -1;
}
.phil-figure img { border-radius: var(--radius); box-shadow: var(--shadow-lift); aspect-ratio: 1/1.06; object-fit: cover; object-position: top; width: 100%; height: auto; }
.phil-figure figcaption {
  position: absolute; left: 18px; bottom: 18px;
  background: rgba(10,31,56,.85); backdrop-filter: blur(8px);
  color: #fff; font-size: 13px; padding: 9px 16px; border-radius: 999px;
}
.phil-text .lead { color: var(--ink-soft); font-size: 17.5px; margin-bottom: 26px; }
.phil-points { display: grid; gap: 14px; margin-bottom: 30px; }
.phil-points li { padding-left: 26px; position: relative; color: var(--ink-soft); }
.phil-points li::before { content: "◆"; position: absolute; left: 0; top: 2px; color: var(--gold); font-size: 12px; }
.phil-points li span { font-weight: 700; color: var(--brand-deep); margin-right: 6px; }
.phil-text blockquote {
  border-left: 3px solid var(--gold); padding: 6px 0 6px 22px;
  font-family: var(--font-display); font-style: italic; font-size: 19px; color: var(--brand-deep);
}
.phil-text blockquote cite { display: block; margin-top: 10px; font-family: var(--font-body); font-style: normal; font-size: 14px; color: var(--muted); }

/* ═══════════ LEISTUNGEN ═══════════ */
.leistungen { padding-block: clamp(80px, 10vw, 120px); background: var(--paper); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 48px; }
.service-card {
  background: var(--paper); border: 1px solid var(--line-cool); border-radius: var(--radius);
  padding: 34px 30px; position: relative; overflow: hidden;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s;
}
.service-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--brand), var(--gold));
  transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease);
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lift); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 62px; height: 62px; border-radius: 18px; margin-bottom: 22px;
  background: linear-gradient(140deg, #E7F4FC, #D8EAF6);
  display: grid; place-items: center; transition: background .4s;
}
.service-icon svg { width: 30px; height: 30px; fill: var(--brand); transition: fill .4s; }
.service-card:hover .service-icon { background: linear-gradient(140deg, var(--brand), var(--brand-light)); }
.service-card:hover .service-icon svg { fill: #fff; }
.service-card h3 { font-size: 19.5px; font-weight: 650; color: var(--brand-deep); margin-bottom: 10px; }
.service-card p { font-size: 15px; color: var(--muted); margin-bottom: 18px; }
.service-link { font-size: 14.5px; font-weight: 650; color: var(--brand); display: inline-flex; gap: 8px; align-items: center; }
.service-link span { transition: transform .3s var(--ease); }
.service-link:hover span { transform: translateX(5px); }
.service-card.featured { background: linear-gradient(150deg, var(--brand-deep), var(--brand)); border: 0; color: #fff; }
.service-card.featured h3 { color: #fff; }
.service-card.featured p { color: #BFE0EE; }
.service-card.featured .service-icon { background: rgba(255,255,255,.14); }
.service-card.featured .service-icon svg { fill: var(--gold-soft); }
.service-card.featured .service-link { color: var(--gold-soft); }
.service-card.featured::before { background: linear-gradient(90deg, var(--gold), var(--gold-soft)); }

/* ═══════════ SPOTLIGHT ═══════════ */
.spotlight { position: relative; color: #fff; isolation: isolate; overflow: hidden; }
.spotlight-bg { position: absolute; inset: 0; z-index: -1; }
.spotlight-bg img { width: 100%; height: 100%; object-fit: cover; }
.spotlight-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,31,56,.95) 0%, rgba(10,31,56,.86) 50%, rgba(10,31,56,.4) 100%); }
.spotlight-inner { padding-block: clamp(84px, 10vw, 130px); }
.spotlight-content { max-width: 640px; }
.spotlight h2 { color: #fff; }
.spotlight p { color: #CFE4F2; font-size: 17px; margin-bottom: 26px; }
.checklist { display: grid; gap: 14px; margin-bottom: 34px; }
.checklist li { padding-left: 34px; position: relative; color: #E9F4FB; }
.checklist li strong { color: #fff; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 21px; height: 21px; border-radius: 50%;
  background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4Z'/%3E%3C/svg%3E") center/12px no-repeat;
}

/* ═══════════ SPRACHEN ═══════════ */
.sprachen { padding-block: clamp(80px, 10vw, 120px); background: var(--ivory); }
.sprachen-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(44px, 6vw, 80px); align-items: center; }
.sprachen-text p { color: var(--ink-soft); margin-bottom: 18px; font-size: 16.5px; }
.lang-pills { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.pill {
  padding: 11px 22px; border-radius: 999px; font-weight: 600; font-size: 15px;
  background: var(--paper); border: 1.5px solid var(--line-cool); color: var(--brand-deep);
  transition: border-color .3s, transform .3s var(--ease);
}
.pill:hover { border-color: var(--gold); transform: translateY(-2px); }
.pill small { font-weight: 400; color: var(--muted); font-size: 12px; }
.pill-ar { font-family: var(--font-ar); font-size: 17px; background: linear-gradient(135deg, var(--brand-deep), var(--brand)); color: #fff; border: 0; }
.sprachen-card {
  background: linear-gradient(160deg, var(--brand-night), var(--brand) 130%);
  border-radius: calc(var(--radius) + 6px); padding: 46px 40px; color: #fff;
  box-shadow: var(--shadow-lift); position: relative; overflow: hidden;
}
.sprachen-card::after {
  content: "☺"; position: absolute; right: -30px; bottom: -50px; font-size: 220px;
  color: rgba(255,255,255,.045); line-height: 1;
}
.ar-big { font-family: var(--font-ar); font-size: 34px; line-height: 1.5; color: var(--gold-soft); margin-bottom: 16px; }
.ar-quote p:last-child { color: #CBE0F0; font-size: 15.5px; }
.ar-divider { height: 1px; background: rgba(255,255,255,.18); margin: 26px 0; }
.ar-note { font-size: 14px; color: #A9C4D9; }

/* ═══════════ PRAXIS / GALERIE ═══════════ */
.praxis { padding-block: clamp(80px, 10vw, 120px); background: var(--paper); }
.panorama { margin-top: 48px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-soft); }
.panorama img { width: 100%; height: clamp(200px, 26vw, 380px); object-fit: cover; transition: transform 8s var(--ease); }
.panorama:hover img { transform: scale(1.06); }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 18px; }
.g-item { position: relative; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 3/3.6; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.g-item:hover img { transform: scale(1.07); }
.g-item figcaption {
  position: absolute; inset: auto 0 0 0; padding: 40px 16px 14px;
  background: linear-gradient(to top, rgba(10,31,56,.82), transparent);
  color: #fff; font-size: 14px; font-weight: 600;
}

/* ═══════════ TEAM ═══════════ */
.team { padding-block: clamp(80px, 10vw, 120px); background: var(--ivory); }
.team-grid { display: grid; grid-template-columns: 1.25fr 1fr 1fr 1fr; gap: 22px; margin-top: 48px; align-items: stretch; }
.team-card {
  background: var(--paper); border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line-cool); box-shadow: var(--shadow-soft);
  display: flex; flex-direction: column;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.team-photo { aspect-ratio: 1/1.05; overflow: hidden; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.team-avatar {
  aspect-ratio: 1/1.05; display: grid; place-items: center;
  background: linear-gradient(150deg, var(--brand-deep), var(--brand-light));
  color: #fff; font-family: var(--font-display); font-size: 46px; font-weight: 600; letter-spacing: .04em;
}
.team-info { padding: 20px 22px 24px; }
.team-info h3 { font-size: 18px; font-weight: 650; color: var(--brand-deep); }
.team-info .role { font-size: 14px; color: var(--gold); font-weight: 600; margin: 4px 0 8px; }
.team-info .langs { font-size: 13px; color: var(--muted); }
.lead-card .team-info { padding: 24px 26px 28px; }
.lead-card .team-info h3 { font-size: 21px; }

/* ═══════════ KONTAKT ═══════════ */
.kontakt { padding-block: clamp(80px, 10vw, 120px); background: var(--paper); }
.kontakt-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(40px, 5vw, 72px); align-items: start; }
.kontakt-info > p { color: var(--ink-soft); margin-bottom: 30px; }
.kontakt-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 30px; }
.k-card {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--ivory); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 20px; transition: border-color .3s, transform .3s var(--ease);
}
.k-card:hover { border-color: var(--gold); transform: translateY(-3px); }
.k-card svg { width: 22px; height: 22px; fill: var(--brand); flex: none; margin-top: 2px; }
.k-card strong { display: block; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 4px; }
.k-card span { font-size: 15.5px; font-weight: 600; color: var(--brand-deep); line-height: 1.45; }
.huk-row { display: flex; align-items: center; gap: 18px; background: #E7F4FC; border-radius: var(--radius-sm); padding: 16px 22px; }
.huk-row img { height: 40px; width: auto; }
.huk-row p { font-size: 14.5px; color: var(--ink-soft); margin: 0; }
.kontakt-map { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lift); min-height: 460px; }
.kontakt-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: saturate(.85) contrast(1.02); }
.map-link {
  position: absolute; top: 16px; right: 16px; z-index: 2;
  background: var(--brand); color: #fff; padding: 10px 18px; border-radius: 999px;
  font-size: 14px; font-weight: 600; box-shadow: var(--shadow-soft);
  transition: background .3s;
}
.map-link:hover { background: var(--brand-deep); }

/* ═══════════ CTA BAND ═══════════ */
.cta-band { background: linear-gradient(120deg, var(--brand-night), var(--brand) 120%); color: #fff; padding-block: 64px; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-inner h2 { color: #fff; margin-bottom: 8px; }
.cta-inner p { color: #BFE0EE; font-size: 17px; }

/* ═══════════ FOOTER ═══════════ */
.site-footer { background: #0A1F38; color: #AFC9DC; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 44px; padding-block: 64px 48px; }
.footer-logo { filter: brightness(0) invert(1); opacity: .92; height: 52px !important; width: auto !important; margin-bottom: 18px; }
.footer-brand p { line-height: 1.8; }
.footer-nav h4 { color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 18px; }
.footer-nav ul { display: grid; gap: 10px; }
.footer-nav a:hover { color: var(--gold-soft); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-block: 22px; }
.footer-bottom-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13.5px; }
.footer-tag { font-family: var(--font-display); font-style: italic; color: var(--gold-soft); }

/* ═══════════ RESPONSIVE ═══════════ */
@media (max-width: 1080px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .topbar-left .topbar-hours, .nav-links { display: none; }
  .nav-toggle { display: block; margin-inline-start: auto; }
  .nav-cta { display: none; }
  .nav-links.is-open {
    display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; padding: 18px 24px 26px; gap: 2px; box-shadow: var(--shadow-lift);
    border-bottom: 1px solid var(--line-cool);
  }
  .nav-links.is-open a { padding: 13px 10px; border-radius: 10px; font-size: 16.5px; }
  .phil-grid, .sprachen-grid, .kontakt-grid { grid-template-columns: 1fr; }
  .phil-figure { max-width: 440px; }
  .trust-grid { grid-template-columns: 1fr 1fr; gap: 26px; }
}
@media (max-width: 620px) {
  .container { width: calc(100% - 36px); }
  .topbar-left { display: none; }
  .topbar-inner { justify-content: flex-end; gap: 14px; }
  [dir="rtl"] .topbar-inner { justify-content: flex-start; }
  [dir="rtl"] .topbar-right { width: 100%; justify-content: space-between; }
  .trust-grid { grid-template-columns: 1fr; gap: 22px; }
  .services-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .kontakt-cards { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .phil-figure img { aspect-ratio: 4/3; object-position: center 12%; }
}

/* ═══════════ العربية — Typography & RTL ═══════════ */
html[lang="ar"] body {
  font-family: 'IBM Plex Sans Arabic', var(--font-body);
  line-height: 1.85;
  font-size: 17px;
}
html[lang="ar"] h1,
html[lang="ar"] h2,
html[lang="ar"] .hero h1,
html[lang="ar"] section h2,
html[lang="ar"] .cta-inner h2 {
  font-family: 'Amiri', var(--font-display);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0;
}
html[lang="ar"] .footer-tag { font-family: 'Amiri', serif; }
html[lang="ar"] .badge, html[lang="ar"] .pill { font-family: 'IBM Plex Sans Arabic', var(--font-body); }

/* اتجاه RTL: عكس التفاصيل الموضعية */
[dir="rtl"] .skip-link { left: auto; right: -9999px; }
[dir="rtl"] .skip-link:focus { right: 0; }

[dir="rtl"] .phil-points li { padding-left: 0; padding-right: 26px; }
[dir="rtl"] .phil-points li::before { left: auto; right: 0; }
[dir="rtl"] .phil-points li span { margin-right: 0; margin-left: 6px; }

[dir="rtl"] .checklist li { padding-left: 0; padding-right: 34px; }
[dir="rtl"] .checklist li::before { left: auto; right: 0; }

[dir="rtl"] .phil-text blockquote {
  border-left: 0; border-right: 3px solid var(--gold);
  padding: 6px 22px 6px 0;
}

[dir="rtl"] .phil-figure::after { inset: 22px 22px -22px -22px; }
[dir="rtl"] .phil-figure figcaption { left: auto; right: 18px; }

[dir="rtl"] .service-link span { display: inline-block; transform: rotate(180deg); }
[dir="rtl"] .service-link:hover span { transform: translateX(-5px) rotate(180deg); }

[dir="rtl"] .map-link { right: auto; left: 16px; }
[dir="rtl"] .sprachen-card::after { right: auto; left: -30px; }
[dir="rtl"] .ar-quote p:last-child { font-family: 'IBM Plex Sans Arabic', var(--font-body); }

[dir="rtl"] .hero-eyebrow { letter-spacing: 0; }
[dir="rtl"] .section-eyebrow { letter-spacing: 0; }
[dir="rtl"] .k-card strong { letter-spacing: 0; }
[dir="rtl"] .footer-nav h4 { letter-spacing: 0; }

/* ═══════════ Sprachumschalter (Topbar, inline) ═══════════ */
.topbar-lang { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; letter-spacing: .02em; }
.topbar-lang a { opacity: .72; transition: opacity .25s, color .25s; padding: 2px 2px; }
.topbar-lang a:hover { opacity: 1; color: #fff; }
.topbar-lang .lang-active { color: #fff; font-weight: 700; }
.topbar-lang .lang-sep { opacity: .35; }
.topbar-lang .lang-ar { font-family: 'Amiri', serif; font-size: 15px; }

/* ═══════════ RECHTLICHE SEITEN ═══════════ */
.legal-hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: linear-gradient(120deg, var(--brand-night), var(--brand) 125%);
  color: #fff; padding: clamp(58px, 8vw, 104px) 0 clamp(50px, 7vw, 84px);
}
.legal-hero::after {
  content: "☺"; position: absolute; right: -40px; bottom: -110px;
  font-size: 320px; line-height: 1; color: rgba(255,255,255,.04); z-index: -1;
}
.breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 13.5px; color: #A9C4D9; margin-bottom: 24px; }
.breadcrumb a { color: #CFE4F2; transition: color .25s; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .bc-sep { opacity: .5; }
.breadcrumb [aria-current="page"] { color: var(--gold-soft); font-weight: 600; }
.legal-hero h1 {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(36px, 5.4vw, 60px); line-height: 1.08; letter-spacing: -0.015em;
  margin-bottom: 16px;
}
.legal-hero-lead { color: #CFE4F2; font-size: clamp(16px, 1.5vw, 18.5px); max-width: 660px; }

.legal-body { padding: clamp(52px, 7vw, 92px) 0; background: var(--paper); }
.legal-container { max-width: 860px; }
.legal-section { margin-bottom: 44px; }
.legal-section:last-child { margin-bottom: 0; }
.legal-body h2 {
  font-size: clamp(24px, 2.8vw, 31px); margin-bottom: 16px;
}
.legal-body h3 { font-size: 18.5px; font-weight: 650; color: var(--brand-deep); margin: 24px 0 10px; }
.legal-body p { color: var(--ink-soft); margin-bottom: 13px; }
.legal-body p:last-child { margin-bottom: 0; }
.legal-body strong { color: var(--brand-deep); }
.legal-body a { color: var(--brand); font-weight: 600; border-bottom: 1.5px solid var(--gold-soft); transition: color .25s, border-color .25s; }
.legal-body a:hover { color: var(--gold); border-color: var(--gold); }
.legal-lead { font-size: 17.5px; color: var(--ink-soft); }

.info-card {
  background: var(--ivory); border: 1px solid var(--line-cool); border-radius: var(--radius-sm);
  padding: 26px 28px; margin: 18px 0 26px;
}
.info-card h2, .info-card h3 { margin-top: 0; }
.info-card p { margin-bottom: 8px; }
.info-card p:last-child { margin-bottom: 0; }
.info-card .addr { font-style: normal; line-height: 1.7; }
.info-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 18px 0 26px; }
.info-tile {
  background: var(--ivory); border: 1px solid var(--line-cool); border-radius: var(--radius-sm);
  padding: 20px 22px;
}
.info-tile h3 { margin: 0 0 8px; font-size: 15px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.info-tile p { margin: 0; font-size: 15px; line-height: 1.65; }

.legal-list { display: grid; gap: 8px; margin: 12px 0 16px; }
.legal-list li { padding-left: 24px; position: relative; color: var(--ink-soft); }
.legal-list li::before { content: "◆"; position: absolute; left: 0; top: 1px; color: var(--gold); font-size: 11px; }

.legal-note { font-size: 13.5px; color: var(--muted); margin-top: 10px; }

.legal-contact {
  display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px;
}
.legal-contact .btn { font-size: 14.5px; padding: 12px 22px; }

.credits-group { margin-top: 26px; }
.credits-group > h3 { margin-bottom: 12px; }
.credit-row {
  display: flex; justify-content: space-between; align-items: baseline; gap: 24px;
  padding: 13px 4px; border-bottom: 1px solid var(--line-cool);
}
.credit-row:first-of-type { border-top: 1px solid var(--line-cool); }
.credit-row .c-what { font-weight: 600; color: var(--brand-deep); font-size: 15px; }
.credit-row .c-who { color: var(--muted); font-size: 14px; text-align: right; }

/* ─────────── Rechtliche Seiten · Responsive ─────────── */
@media (max-width: 620px) {
  .info-grid { grid-template-columns: 1fr; }
  .info-card { padding: 20px 18px; }
  .credit-row { flex-direction: column; gap: 3px; }
  .credit-row .c-who { text-align: left; }
  .legal-hero::after { font-size: 220px; bottom: -80px; }
  .legal-contact .btn { width: 100%; justify-content: center; }
}

/* ─────────── Rechtliche Seiten · العربية / RTL ─────────── */
html[lang="ar"] .legal-hero h1 { font-family: 'Amiri', serif; letter-spacing: 0; }
[dir="rtl"] .legal-hero::after { right: auto; left: -40px; }
[dir="rtl"] .legal-list li { padding-left: 0; padding-right: 24px; }
[dir="rtl"] .legal-list li::before { left: auto; right: 0; }
[dir="rtl"] .breadcrumb { flex-direction: row-reverse; }
[dir="rtl"] .credit-row { flex-direction: row-reverse; }
[dir="rtl"] .credit-row .c-who { text-align: left; }
[dir="rtl"] .info-tile, [dir="rtl"] .info-card { text-align: right; }
[dir="rtl"] .legal-body .num, [dir="rtl"] .tel-ltr { direction: ltr; unicode-bidi: embed; display: inline-block; }
@media (max-width: 620px) {
  [dir="rtl"] .credit-row { flex-direction: column; }
  [dir="rtl"] .credit-row .c-who { text-align: right; }
}
