/* ============================================================
   CITY-DENT · Zahnarztpraxis Berlin Mitte
   V2 Redesign 2026 — Gold & Petrol (Logo-Farben), elegant
   ============================================================ */

:root {
  /* Logo-Palette: Gold + Petrol/Teal auf Elfenbein */
  --petrol: #0F4C56;
  --petrol-dark: #08343C;
  --petrol-light: #1B6873;
  --gold: #C2A05A;
  --gold-dark: #A5813C;
  --gold-light: #E6D2A4;
  --ivory: #FAF7F1;
  --cream: #F3EDE0;
  --white: #ffffff;
  --ink: #22343A;
  --muted: #5C6B66;
  --line: #E7DFCE;
  --shadow: 0 20px 50px rgba(15, 76, 86, 0.14);
  --radius: 18px;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Inter", -apple-system, "Segoe UI", sans-serif;
}

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

html { scroll-behavior: smooth; overflow-x: hidden; }

/* Anker-Ziele unter dem Sticky-Header sichtbar halten (z. B. kontakt.html#termin) */
[id] { scroll-margin-top: 172px; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--ivory);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--petrol); text-decoration: none; transition: color 0.25s; }
a:hover { color: var(--gold-dark); }

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; color: var(--petrol); line-height: 1.18; }

.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--white);
  background: linear-gradient(120deg, var(--gold-dark), var(--gold));
  padding: 6px 18px;
  border-radius: 99px;
  margin-bottom: 16px;
  box-shadow: 0 6px 16px rgba(194, 160, 90, 0.35);
  font-family: var(--font-body);
}

.section-title { font-size: clamp(30px, 4vw, 46px); margin-bottom: 18px; }

.section-intro { max-width: 640px; color: var(--muted); font-size: 17px; }

.center { text-align: center; }
.center .section-intro { margin: 0 auto; }

/* ---------- Topbar ---------- */
.topbar {
  background: linear-gradient(120deg, var(--petrol-dark), var(--petrol) 60%, var(--petrol-light));
  color: rgba(255, 255, 255, 0.92);
  font-size: 13.5px;
  padding: 10px 0;
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.topbar-items { display: flex; gap: 12px; flex-wrap: wrap; }

.topbar-items > span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 99px;
  padding: 5px 16px 5px 6px;
  font-weight: 500;
  transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
}

.topbar-items > span:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.18);
}

.topbar a { color: var(--white); font-weight: 600; }
.topbar a:hover { color: var(--gold-light); }

.topbar svg {
  width: 24px; height: 24px;
  padding: 6px;
  margin: 0;
  vertical-align: middle;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 50%;
  fill: var(--white);
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(194, 160, 90, 0.45);
}

.lang-switch {
  display: flex;
  gap: 4px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
  border-radius: 99px;
  padding: 3px;
}

.lang-switch a {
  padding: 2px 14px;
  border-radius: 99px;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.85);
  transition: background 0.25s, color 0.25s;
}

.lang-switch a:hover { color: var(--white); }

.lang-switch a.active {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--white);
  box-shadow: 0 3px 8px rgba(194, 160, 90, 0.45);
}

/* Mobile Variante im Header (zwischen Logo und Hamburger) — nur mobil sichtbar */
.lang-switch-mobile { display: none; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 6px 24px rgba(15, 76, 86, 0.06);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 148px;
}

.logo { display: flex; align-items: center; }
.logo img { height: 128px; width: auto; display: block; }

.main-nav { display: flex; align-items: center; gap: 30px; }

.main-nav a {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--petrol);
  position: relative;
  padding: 6px 0;
  letter-spacing: 0.01em;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2.5px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-dark));
  transition: width 0.3s;
}

.main-nav a:hover { color: var(--gold-dark); }
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }
.main-nav a.active { color: var(--petrol); }

.btn {
  display: inline-block;
  padding: 13px 30px;
  border-radius: 99px;
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: 0.02em;
  transition: all 0.3s;
  border: 1.5px solid transparent;
  cursor: pointer;
  font-family: var(--font-body);
}

.btn-primary { background: var(--petrol); color: var(--white); }
.btn-primary:hover { background: var(--gold); color: var(--white); transform: translateY(-2px); box-shadow: 0 10px 25px rgba(194, 160, 90, 0.45); }

.btn-outline { border: 2px solid var(--petrol); color: var(--petrol); background: var(--white); }
.btn-outline:hover { background: var(--petrol); color: var(--white); transform: translateY(-2px); }

.btn-light { background: linear-gradient(120deg, var(--gold), var(--gold-dark)); color: var(--white); }
.btn-light:hover { background: var(--white); color: var(--petrol); transform: translateY(-2px); }

.main-nav a.nav-cta { padding: 10px 22px; font-size: 14px; color: var(--white); font-family: var(--font-body); }
.main-nav a.nav-cta:hover { color: var(--white); }
.main-nav a.nav-cta::after { display: none; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--petrol); margin: 5px 0; transition: 0.3s; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(165deg, var(--white) 0%, var(--ivory) 45%, var(--cream) 100%);
  overflow: hidden;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  width: 560px; height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(194, 160, 90, 0.2), transparent 68%);
  top: -140px; right: -100px;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(15, 76, 86, 0.1), transparent 68%);
  bottom: -160px; left: -120px;
  pointer-events: none;
}

.hero .container {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
  padding-top: 80px;
  padding-bottom: 90px;
}

.hero h1 { font-size: clamp(38px, 5vw, 58px); margin: 18px 0 22px; }
.hero h1 em { font-style: italic; color: var(--gold-dark); }

.hero p { color: var(--muted); font-size: 18px; max-width: 520px; margin-bottom: 34px; }

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* Hero-Bild: organische Blob-Form statt Rechteck */
.hero-media { position: relative; }

.hero-media img {
  position: relative;
  width: 100%;
  height: 470px;
  object-fit: cover;
  border-radius: 58% 42% 55% 45% / 48% 52% 48% 52%;
  border: 4px solid var(--gold);
  box-shadow: var(--shadow);
  z-index: 1;
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: -20px 14px 20px -18px;
  border-radius: 45% 55% 48% 52% / 52% 48% 55% 45%;
  border: 2px solid var(--petrol-light);
  opacity: 0.5;
  z-index: 0;
}

.hero-media::after {
  content: "";
  position: absolute;
  width: 120px; height: 120px;
  right: -18px; top: -14px;
  border-radius: 60% 40% 55% 45% / 45% 55% 40% 60%;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  opacity: 0.85;
  z-index: 0;
}

.hero-badge {
  position: absolute;
  left: -14px;
  bottom: 26px;
  background: var(--white);
  border-radius: 20px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 16px 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 2;
}

.hero-badge .num { font-family: var(--font-display); font-size: 34px; font-weight: 700; color: var(--gold-dark); line-height: 1; }
.hero-badge .txt { font-size: 13px; color: var(--muted); line-height: 1.4; }

/* Öffnungszeiten-Status: grüner/roter Punkt + Live-Text */
.hero-badge .dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: #2fae62;
  flex: none;
  box-shadow: 0 0 0 5px rgba(47, 174, 98, 0.16);
}

.hero-badge .dot.closed { background: #c8552e; box-shadow: 0 0 0 5px rgba(200, 85, 46, 0.14); }

.hero-badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--petrol);
  line-height: 1.25;
}

.hero-badge .sub { font-size: 12.5px; color: var(--muted); }
.hero-badge .sub a { color: var(--petrol); font-weight: 600; text-decoration: underline; }
.hero-badge .sub a:hover { color: var(--gold-dark); }

/* ---------- Info strip ---------- */
.info-strip {
  background: linear-gradient(120deg, var(--petrol-dark), var(--petrol-light));
  color: var(--white);
  border-bottom: 4px solid var(--gold);
}

.info-strip .container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  padding-top: 30px;
  padding-bottom: 30px;
}

.info-cell {
  padding: 24px 26px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  backdrop-filter: blur(4px);
  transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
}

.info-cell:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.2);
}

.info-cell svg {
  width: 48px; height: 48px;
  padding: 12px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 50% 40% 55% 45% / 45% 55% 40% 60%;
  fill: var(--white);
  flex-shrink: 0;
  box-shadow: 0 8px 16px rgba(194, 160, 90, 0.4);
}

.info-cell h3 {
  color: var(--gold-light);
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: none;
  margin-bottom: 4px;
}

.info-cell p { font-size: 14.5px; color: rgba(255, 255, 255, 0.92); }
.info-cell a { color: var(--gold-light); font-weight: 600; }
.info-cell a:hover { color: var(--white); }

/* ---------- Sections ---------- */
.section { padding: 90px 0; }
.section-alt { background: linear-gradient(180deg, var(--cream) 0%, #EDE4D2 100%); }

.section-head { margin-bottom: 50px; }

/* ---------- Cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: 36px 30px;
  box-shadow: 0 8px 24px rgba(15, 76, 86, 0.06);
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s, background 0.3s;
  position: relative;
  overflow: hidden;
}

/* Zahn-Wasserzeichen unten rechts (Gold) */
.card::after {
  content: "";
  position: absolute;
  right: -16px; bottom: -18px;
  width: 120px; height: 120px;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="%23C2A05A" fill-opacity="0.14" d="M12 2.5c-1.6 0-2.4.9-4 .9C5.4 3.4 3.6 5.3 3.6 8c0 2 .8 3.3 1.5 5 .7 1.8 1.1 4.4 1.7 6.5.3 1.1 1.8 1.1 2.1 0 .5-1.8.5-4.8 2-4.8h2.2c1.5 0 1.5 3 2 4.8.3 1.1 1.8 1.1 2.1 0 .6-2.1 1-4.7 1.7-6.5.7-1.7 1.5-3 1.5-5 0-2.7-1.8-4.6-4.4-4.6-1.6 0-2.4-.9-4-.9z"/></svg>') no-repeat center / contain;
  transform: rotate(-14deg);
  pointer-events: none;
  transition: transform 0.4s;
}

/* Glanz-Effekt beim Hover */
.card::before {
  content: "";
  position: absolute;
  top: 0; left: -80%;
  width: 55%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.75), transparent);
  transform: skewX(-20deg);
  pointer-events: none;
  transition: left 0.55s ease;
}

.card:hover::before { left: 130%; }
.card:hover::after { transform: rotate(0deg) scale(1.1); }

.section-alt .card { background: var(--white); }

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 55px rgba(15, 76, 86, 0.2);
  border-color: var(--gold);
  background: linear-gradient(180deg, var(--white), #FBF6EA);
}

.card-icon {
  width: 60px; height: 60px;
  border-radius: 55% 45% 48% 52% / 48% 52% 55% 45%;
  background: linear-gradient(135deg, var(--petrol), var(--petrol-light));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  box-shadow: 0 8px 18px rgba(15, 76, 86, 0.3);
  transition: transform 0.35s;
}

.card:hover .card-icon { transform: rotate(-8deg) scale(1.12); }

.card-icon svg { width: 30px; height: 30px; fill: var(--white); }

.card h3 { font-size: 24px; margin-bottom: 10px; }

.card p { color: #41534E; font-size: 15px; position: relative; }

.card ul { list-style: none; margin-top: 14px; position: relative; }

.card ul li { padding: 5px 0 5px 24px; position: relative; color: #41534E; font-size: 14.5px; font-weight: 500; }

.card ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 13px;
  width: 12px; height: 2px;
  background: var(--gold);
}

/* ---------- Split feature ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }

/* Split-Bilder: weiche organische Oval-Form */
.split-media { position: relative; }

.split-media img {
  width: 100%;
  height: 430px;
  object-fit: cover;
  border-radius: 48% 52% 45% 55% / 55% 45% 55% 45%;
  border: 4px solid var(--gold);
  box-shadow: var(--shadow);
  position: relative;
  z-index: 1;
}

.split-media::after {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  border-radius: 52% 48% 55% 45% / 45% 55% 45% 55%;
  border: 2px solid var(--petrol-light);
  opacity: 0.45;
  z-index: 0;
}

.split-media::before {
  content: "";
  position: absolute;
  width: 96px; height: 96px;
  left: -14px; bottom: -8px;
  border-radius: 60% 40% 55% 45% / 45% 55% 40% 60%;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  opacity: 0.8;
  z-index: 0;
}

.split .checklist { list-style: none; margin: 24px 0 32px; }

.checklist li { padding: 8px 0 8px 34px; position: relative; color: var(--ink); font-size: 15.5px; }

.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 7px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(194, 160, 90, 0.18);
  color: var(--gold-dark);
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Opening hours ---------- */
.hours-table { width: 100%; border-collapse: collapse; }

.hours-table td {
  padding: 13px 6px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}

.hours-table td:first-child { font-weight: 600; color: var(--petrol); }
.hours-table td:last-child { text-align: right; color: var(--muted); }

.hours-table tr.today td { color: var(--gold-dark); font-weight: 700; background: rgba(194, 160, 90, 0.14); }
.hours-table tr.today td:first-child { border-radius: 8px 0 0 8px; padding-left: 12px; }
.hours-table tr.today td:last-child { border-radius: 0 8px 8px 0; padding-right: 12px; }

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery-item {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4 / 3;
  border: 3px solid transparent;
  transition: border-color 0.35s, transform 0.35s, box-shadow 0.35s;
}

/* Moderne Abwechslung: jede zweite Kachel leicht organisch */
.gallery-item:nth-child(3n+1) { border-radius: 42px 20px 42px 20px; }
.gallery-item:nth-child(3n+2) { border-radius: 20px 42px 20px 42px; }

.gallery-item:hover {
  border-color: var(--gold);
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(15, 76, 86, 0.22);
}

.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.gallery-item:hover img { transform: scale(1.06); }

.gallery-item .cap {
  position: absolute;
  inset: auto 0 0 0;
  padding: 40px 18px 14px;
  background: linear-gradient(transparent, rgba(8, 52, 60, 0.85));
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
  opacity: 0;
  transition: opacity 0.35s;
}

.gallery-item:hover .cap { opacity: 1; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(8, 52, 60, 0.93);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 500;
  padding: 40px;
}

.lightbox.open { display: flex; }

.lightbox img { max-width: min(920px, 90vw); max-height: 84vh; border-radius: 14px; box-shadow: 0 30px 80px rgba(0,0,0,0.5); }

.lightbox-close {
  position: absolute;
  top: 24px; right: 30px;
  background: none;
  border: none;
  color: var(--white);
  font-size: 38px;
  cursor: pointer;
  line-height: 1;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.12);
  border: none;
  color: var(--white);
  width: 48px; height: 48px;
  border-radius: 50%;
  font-size: 22px;
  cursor: pointer;
  transition: background 0.3s;
}

.lightbox-nav:hover { background: var(--gold); color: var(--white); }
.lightbox-prev { left: 30px; }
.lightbox-next { right: 30px; }

.lightbox .cap-text {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.85);
  font-size: 14px;
}

/* ---------- Team ---------- */
.team-card { text-align: center; padding: 44px 28px; }

.team-avatar {
  width: 96px; height: 96px;
  margin: 0 auto 20px;
  border-radius: 55% 45% 48% 52% / 48% 52% 55% 45%;
  background: linear-gradient(135deg, var(--petrol), var(--petrol-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 700;
  color: var(--gold-light);
  box-shadow: 0 10px 24px rgba(15, 76, 86, 0.3);
  border: 3px solid var(--gold);
}

.team-card .role { font-size: 12.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 6px; }
.team-card h3 { font-size: 26px; }
.team-card p { margin-top: 10px; }

/* ---------- Jobs ---------- */
.job-card { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 30px 34px; margin-bottom: 18px; }

.job-card h3 { font-size: 25px; margin-bottom: 6px; }
.job-card .meta { font-size: 13px; color: var(--gold-dark); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.job-card p { margin-top: 8px; }
.job-card .btn { flex-shrink: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--petrol-dark), var(--petrol-light));
  color: var(--white);
  text-align: center;
  padding: 80px 24px;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  width: 420px; height: 420px;
  border-radius: 50%;
  border: 1.5px solid rgba(194, 160, 90, 0.4);
  top: -180px; right: -120px;
}

.cta-band::after {
  content: "";
  position: absolute;
  width: 300px; height: 300px;
  border-radius: 50%;
  border: 1.5px solid rgba(194, 160, 90, 0.28);
  bottom: -140px; left: -80px;
}

.cta-band h2 { color: var(--white); font-size: clamp(30px, 4vw, 46px); margin-bottom: 14px; }
.cta-band h2 em { font-style: italic; color: var(--gold-light); }
.cta-band p { color: rgba(255, 255, 255, 0.8); max-width: 560px; margin: 0 auto 34px; }

/* ---------- Forms ---------- */
.form-card { background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--gold); border-radius: var(--radius); padding: 44px; box-shadow: var(--shadow); }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.form-field { display: flex; flex-direction: column; gap: 7px; }

.form-field.full { grid-column: 1 / -1; }

.form-field label { font-size: 13.5px; font-weight: 600; color: var(--petrol); }

.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font-body);
  font-size: 15px;
  padding: 13px 16px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: var(--ivory);
  color: var(--ink);
  transition: border-color 0.25s;
  width: 100%;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--white);
}

.form-field textarea { resize: vertical; min-height: 130px; }

.radio-row { display: flex; gap: 22px; flex-wrap: wrap; padding: 6px 0; }

.radio-row label { display: flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 400; color: var(--ink); cursor: pointer; }

.radio-row input { accent-color: var(--gold-dark); width: 16px; height: 16px; }

.form-note { font-size: 13px; color: var(--muted); margin-top: 16px; }

.captcha-q {
  display: inline-block;
  background: linear-gradient(120deg, var(--gold), var(--gold-dark));
  color: var(--white);
  font-weight: 700;
  font-size: 15px;
  padding: 2px 12px;
  border-radius: 8px;
  margin: 0 8px 0 2px;
  letter-spacing: 0.06em;
}

/* ---------- Contact ---------- */
.contact-layout { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 44px; align-items: start; }

.contact-info-card {
  background: linear-gradient(160deg, var(--petrol-dark), var(--petrol));
  color: var(--white);
  border-radius: var(--radius);
  border-bottom: 4px solid var(--gold);
  padding: 42px 38px;
}

.contact-info-card h3 { color: var(--gold-light); font-size: 28px; margin-bottom: 24px; }

.contact-row { display: flex; gap: 16px; padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,0.12); font-size: 15px; }
.contact-row:last-of-type { border-bottom: none; }

.contact-row svg { width: 20px; height: 20px; fill: var(--gold); flex-shrink: 0; margin-top: 3px; }

.contact-row a { color: var(--gold-light); }
.contact-row a:hover { color: var(--white); }

.contact-row .lbl { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.6); display: block; }

.map-wrap { border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); margin-top: 44px; border: 3px solid var(--line); }

.map-wrap iframe { display: block; width: 100%; height: 420px; border: 0; filter: saturate(0.85); }

/* ---------- Prose (Impressum etc.) ---------- */
.prose { max-width: 800px; }
.prose h2 { font-size: 30px; margin: 40px 0 14px; }
.prose h3 { font-size: 23px; margin: 30px 0 10px; }
.prose p { margin-bottom: 14px; color: var(--muted); }
.prose strong { color: var(--ink); }
.prose ul { margin: 0 0 14px 22px; color: var(--muted); }

/* ---------- Page hero ---------- */
.page-hero {
  background: linear-gradient(120deg, var(--petrol-dark), var(--petrol-light));
  color: var(--white);
  padding: 74px 0;
  position: relative;
  overflow: hidden;
  border-bottom: 4px solid var(--gold);
}

.page-hero::before {
  content: "";
  position: absolute;
  width: 380px; height: 380px;
  border-radius: 50%;
  border: 1.5px solid rgba(194, 160, 90, 0.4);
  top: -160px; right: -100px;
}

.page-hero h1 { color: var(--white); font-size: clamp(36px, 4.6vw, 54px); margin-top: 12px; }
.page-hero p { color: rgba(255,255,255,0.8); max-width: 620px; margin-top: 14px; font-size: 17px; }

.breadcrumb { font-size: 13px; color: rgba(255,255,255,0.65); letter-spacing: 0.04em; }
.breadcrumb a { color: var(--gold-light); }

/* ---------- Footer ---------- */
.site-footer { background: linear-gradient(160deg, var(--petrol-dark), #062830); color: rgba(255,255,255,0.85); padding: 70px 0 0; font-size: 14.5px; border-top: 4px solid var(--gold); }

.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 44px; padding-bottom: 50px; }

.site-footer .logo { margin-bottom: 16px; }
.site-footer .logo img {
  height: 130px;
  background: var(--white);
  padding: 12px 16px;
  border-radius: 18px;
  border: 2px solid var(--gold);
}

.site-footer h4 { color: var(--gold-light); font-family: var(--font-display); font-size: 19px; font-weight: 700; letter-spacing: 0.04em; margin-bottom: 18px; }

.site-footer ul { list-style: none; }
.site-footer ul li { padding: 5px 0; }
.site-footer a { color: rgba(255,255,255,0.85); }
.site-footer a:hover { color: var(--gold-light); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
}

/* ---------- Intro-Video-Overlay (Start + Menü-Übergänge) ---------- */
.intro-overlay {
  position: fixed;
  inset: 0;
  z-index: 600;
  background: linear-gradient(160deg, var(--white) 0%, var(--ivory) 55%, var(--cream) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  opacity: 1;
  transition: opacity 0.55s ease;
  cursor: pointer;
}

.intro-overlay.hide { opacity: 0; pointer-events: none; }

/* Runder Video-Rahmen mit rotierendem Gold-Schimmer */
.intro-ring {
  position: relative;
  width: min(480px, 80vw, 62vh);
  aspect-ratio: 1;
  border-radius: 50%;
}

/* Zahnpasta-Werbung-Funkeln: vierzackige Sterne blitzen nacheinander auf */
.intro-ring .spark {
  position: absolute;
  width: 34px;
  aspect-ratio: 1;
  background: linear-gradient(135deg, #ffffff 15%, var(--gold-light) 55%, var(--gold) 100%);
  clip-path: polygon(50% 0%, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0% 50%, 40% 40%);
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 1))
          drop-shadow(0 0 14px rgba(194, 160, 90, 1))
          drop-shadow(0 0 26px rgba(194, 160, 90, 0.7));
  transform: scale(0);
  animation: sparkle 3s ease-in-out infinite;
  animation-delay: var(--d, 0s);
  z-index: 3;
  pointer-events: none;
}

.intro-ring {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border: 4px solid var(--gold);
  box-shadow: 0 30px 80px rgba(15, 76, 86, 0.28), 0 0 60px rgba(194, 160, 90, 0.35);
}

/* 3:2-Fenster im Kreis: Video minimal vergrößert, damit die dunklen
   Encoder-Ränder (rechts/unten) weggeschnitten werden */
.intro-clip {
  width: 84%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  position: relative;
  z-index: 1;
  background: var(--white);
  /* Alle vier Ränder weich ins Weiß auslaufen lassen — keine harten Kanten */
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 16%, #000 84%, transparent 100%),
                      linear-gradient(180deg, transparent 0%, #000 16%, #000 84%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0%, #000 16%, #000 84%, transparent 100%),
              linear-gradient(180deg, transparent 0%, #000 16%, #000 84%, transparent 100%);
  mask-composite: intersect;
}

.intro-clip video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  background: var(--white);
}

/* Glanz-Sweep über dem Video */
.intro-ring::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: linear-gradient(115deg,
    transparent 32%,
    rgba(255, 255, 255, 0.55) 48%,
    rgba(255, 255, 255, 0.15) 54%,
    transparent 66%);
  background-size: 260% 100%;
  background-position: 120% 0;
  animation: introShine 2.4s ease-in-out infinite;
  z-index: 2;
  pointer-events: none;
}

@keyframes sparkle {
  0%, 100% { transform: scale(0) rotate(0deg); opacity: 0; }
  12% { transform: scale(1.3) rotate(18deg); opacity: 1; }
  24% { transform: scale(0.95) rotate(30deg); opacity: 1; }
  34% { transform: scale(0) rotate(45deg); opacity: 0; }
}

@keyframes introShine {
  0% { background-position: 130% 0; }
  60% { background-position: -30% 0; }
  100% { background-position: -30% 0; }
}

.intro-overlay .skip {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.intro-overlay .sound-btn {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  background: linear-gradient(120deg, var(--gold), var(--gold-dark));
  border: none;
  border-radius: 99px;
  padding: 10px 26px;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(194, 160, 90, 0.45);
  transition: transform 0.25s, box-shadow 0.25s;
}

.intro-overlay .sound-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(194, 160, 90, 0.55); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero .container { grid-template-columns: 1fr; padding-top: 54px; padding-bottom: 60px; }
  .hero-media { margin-top: 20px; }
  .hero-media img { height: 360px; }
  .info-strip .container { grid-template-columns: 1fr; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .split, .contact-layout { grid-template-columns: 1fr; }
  .split-media { order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .main-nav {
    position: fixed;
    top: 0; right: 0;
    width: 290px;
    height: 100vh;
    height: 100dvh;
    background: linear-gradient(170deg, var(--white) 0%, var(--ivory) 60%, var(--cream) 100%);
    border-radius: 0;
    border-left: 3px solid var(--gold);
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0;
    padding: 52px 28px 18px;
    box-shadow: -20px 0 50px rgba(8, 52, 60, 0.3);
    clip-path: inset(0 0 0 100%);
    visibility: hidden;
    transition: clip-path 0.35s ease, visibility 0.35s;
    z-index: 200;
    overflow-y: auto;
  }
  .main-nav.open { clip-path: inset(0); visibility: visible; }
  /* Logo im Menü */
  .main-nav::before {
    content: "";
    display: block;
    width: 150px;
    height: 132px;
    background: url("../images/logo-neu.png") no-repeat center / contain;
    margin-bottom: 8px;
    flex-shrink: 0;
  }
  .main-nav a { font-size: 21px; padding: 4px 0; color: var(--petrol); }
  .main-nav a:hover, .main-nav a.active { color: var(--gold-dark); }
  .main-nav a::after { background: var(--gold); }
  .main-nav a.nav-cta { color: var(--white); margin-top: 10px; box-shadow: 0 10px 22px rgba(8, 52, 60, 0.35); font-size: 15px; }
  .nav-toggle.open { position: fixed; top: 10px; right: 14px; }
  .nav-toggle.open span { background: var(--petrol); }
  .main-nav a { font-size: 21px; }
  .nav-toggle { display: block; z-index: 300; position: relative; }
  .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); }
  .grid-2, .grid-3, .grid-4, .form-grid { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .job-card { flex-direction: column; align-items: flex-start; }
  .hero-badge { left: 8px; bottom: 12px; padding: 13px 17px; }
  .hero-media img { border-width: 3px; }
  .form-card { padding: 30px 22px; }
  .gallery-grid { grid-template-columns: 1fr; }

  .site-header .container { height: 106px; }
  .logo img { height: 94px; }
  [id] { scroll-margin-top: 128px; }

  /* Mobil: Kontaktleiste unter die Logo-Zeile verschieben */
  body { display: flex; flex-direction: column; }
  body > * { order: 3; }
  .site-header { order: 1; }
  .topbar { order: 2; padding: 7px 0; }
  .topbar-items { justify-content: center; gap: 6px; }
  .topbar-items > span { padding: 3px 10px 3px 4px; gap: 6px; font-size: 11.5px; }
  .topbar svg { width: 20px; height: 20px; padding: 4.5px; }

  /* DE/TR im Header zwischen Logo und Hamburger */
  .topbar .lang-switch { display: none; }
  .lang-switch-mobile {
    display: flex;
    border-color: var(--gold);
    background: var(--ivory);
  }
  .lang-switch-mobile a { color: var(--petrol); }
  .lang-switch-mobile a.active {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--white);
    box-shadow: 0 3px 8px rgba(194, 160, 90, 0.4);
  }
}
