/* =========================================================
   Zahnarztpraxis Ambrus & Ambrus
   Stylesheet – klassisch-medizinisch, weiß/blau
   Alle Schriften lokal (DSGVO-konform)
   ========================================================= */

/* ---------- Lokale Webfonts ---------- */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-500-italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/inter-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/inter-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/inter-600.woff2') format('woff2');
}

/* ---------- Designtoken ---------- */
:root {
  /* Farbpalette: vertrauensvolles Blau mit warmem Goldakzent */
  --c-bg:        #fbfcfd;
  --c-bg-alt:    #f3f6fa;
  --c-surface:   #ffffff;
  --c-ink:       #0b1d2f;
  --c-ink-soft:  #3a4a5c;
  --c-muted:     #7a8794;
  --c-line:      #e3eaf1;
  --c-line-soft: #eef2f7;

  --c-primary:        #0b3a66;   /* tiefes medizinisches Blau */
  --c-primary-hover:  #0d2c52;
  --c-primary-soft:   #e7eef7;
  --c-accent:         #c89860;   /* warmes Gold, dezent */

  --c-shadow-sm: 0 1px 2px rgba(11, 29, 47, 0.04), 0 2px 8px rgba(11, 29, 47, 0.04);
  --c-shadow-md: 0 4px 12px rgba(11, 29, 47, 0.06), 0 12px 32px rgba(11, 29, 47, 0.08);
  --c-shadow-lg: 0 8px 24px rgba(11, 29, 47, 0.08), 0 24px 64px rgba(11, 29, 47, 0.10);

  /* Typografie */
  --f-display: 'Cormorant Garamond', 'Times New Roman', Georgia, serif;
  --f-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;

  /* Layout */
  --container:   1200px;
  --gutter:      clamp(1.25rem, 4vw, 2.5rem);
  --radius-sm:   8px;
  --radius-md:   14px;
  --radius-lg:   24px;

  /* Motion */
  --ease:        cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--c-ink);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a { color: var(--c-primary); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--c-primary-hover); }

ul { list-style: none; }

button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

::selection { background: var(--c-primary); color: #fff; }

/* ---------- Container ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Typografie ---------- */
h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--c-ink);
}

h1 { font-size: clamp(2.5rem, 5.5vw, 4.25rem); font-weight: 500; }
h2 { font-size: clamp(2rem, 3.8vw, 3rem); }
h3 { font-size: 1.375rem; font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; font-family: var(--f-body); letter-spacing: 0.02em; text-transform: uppercase; }

h1 em, h2 em, h3 em {
  font-style: italic;
  color: var(--c-primary);
  font-weight: 500;
}

.eyebrow {
  display: inline-block;
  font-family: var(--f-body);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-primary);
  padding-bottom: 1rem;
  position: relative;
}
.eyebrow::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0.4rem;
  width: 32px; height: 1px;
  background: var(--c-accent);
}
.eyebrow-light { color: var(--c-accent); }
.eyebrow-light::after { background: rgba(255,255,255,0.4); }

.lede {
  font-size: clamp(1.0625rem, 1.4vw, 1.25rem);
  line-height: 1.55;
  color: var(--c-ink-soft);
  max-width: 38em;
}

.muted { color: var(--c-muted); }
.small { font-size: 0.875rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  border-radius: 999px;
  font-family: var(--f-body);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: all .25s var(--ease);
  white-space: nowrap;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--c-primary);
  color: #fff;
}
.btn-primary:hover {
  background: var(--c-primary-hover);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--c-shadow-md);
}

.btn-ghost {
  background: transparent;
  color: var(--c-ink);
  border-color: var(--c-line);
}
.btn-ghost:hover {
  border-color: var(--c-primary);
  color: var(--c-primary);
}

.btn-ghost-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.3);
}
.btn-ghost-light:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border-color: rgba(255,255,255,0.6);
}

.btn-small {
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--c-primary);
}
.link-arrow::after {
  content: '→';
  transition: transform .3s var(--ease);
}
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- Header / Navigation ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: all .3s var(--ease);
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.96);
  border-bottom-color: var(--c-line);
  box-shadow: 0 1px 0 rgba(11,29,47,0.02);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-block: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--c-ink);
}
.brand:hover { color: var(--c-ink); }

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--c-primary-soft);
  color: var(--c-primary);
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand-name {
  font-family: var(--f-display);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.brand-name .amp {
  color: var(--c-accent);
  font-style: italic;
  font-weight: 500;
}
.brand-sub {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-muted);
  margin-top: 2px;
  white-space: nowrap;
}

.primary-nav ul {
  display: flex;
  gap: 2.25rem;
}
.primary-nav a {
  color: var(--c-ink-soft);
  font-size: 0.9375rem;
  font-weight: 500;
  position: relative;
  padding: 0.4rem 0;
}
.primary-nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--c-primary);
  transition: width .3s var(--ease);
}
.primary-nav a:hover {
  color: var(--c-primary);
}
.primary-nav a:hover::after { width: 100%; }

.nav-cta { padding: 0.65rem 1.25rem; font-size: 0.875rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--c-ink);
  transition: all .3s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  background: #fff;
  border-top: 1px solid var(--c-line);
}
.mobile-nav ul { padding: 1rem var(--gutter) 1.5rem; display: flex; flex-direction: column; gap: 0.25rem; }
.mobile-nav a {
  display: block;
  padding: 0.85rem 0;
  font-weight: 500;
  border-bottom: 1px solid var(--c-line-soft);
  color: var(--c-ink);
}
.mobile-nav a.mobile-cta {
  margin-top: 0.75rem;
  padding: 0.85rem 1.25rem;
  background: var(--c-primary);
  color: #fff;
  border-radius: 999px;
  border-bottom: none;
  text-align: center;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-top: clamp(7rem, 12vw, 10rem);
  padding-bottom: clamp(4rem, 8vw, 7rem);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 85% 15%, rgba(11, 58, 102, 0.08), transparent 60%),
    radial-gradient(ellipse 50% 40% at 15% 80%, rgba(200, 152, 96, 0.06), transparent 60%),
    linear-gradient(180deg, #fbfcfd 0%, #f3f6fa 100%);
  z-index: -1;
}
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(11, 58, 102, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 58, 102, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 30%, transparent 75%);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.hero-content h1 {
  margin-top: 0.5rem;
  margin-bottom: 1.5rem;
}

.hero-content .lede { margin-bottom: 2rem; }

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 1.75rem;
  font-size: 0.875rem;
  color: var(--c-ink-soft);
}
.hero-badges li { display: flex; align-items: center; gap: 0.5rem; }
.hero-badges .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--c-accent);
  display: inline-block;
}

/* Hero Visual */
.hero-visual {
  position: relative;
  aspect-ratio: 1;
}

.hero-card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--c-shadow-md);
  border: 1px solid var(--c-line-soft);
}

.hero-card-main {
  position: absolute;
  inset: 0;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    radial-gradient(circle at 30% 20%, rgba(231, 238, 247, 0.8), transparent 50%),
    #fff;
}
.hero-card-illu {
  width: 65%;
  margin: 0 auto;
}
.hero-card-illu svg {
  width: 100%;
  filter: drop-shadow(0 12px 24px rgba(11, 58, 102, 0.15));
}
.hero-card-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 1rem;
  border-top: 1px solid var(--c-line-soft);
}
.meta-num {
  font-family: var(--f-display);
  font-size: 3rem;
  font-weight: 600;
  line-height: 1;
  color: var(--c-primary);
}
.meta-label {
  font-size: 0.875rem;
  color: var(--c-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: 0.4rem;
}

.hero-card-float {
  position: absolute;
  right: -6%;
  bottom: 8%;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--c-ink);
  min-width: 240px;
  max-width: 280px;
}
.hero-card-float > div { flex: 1; min-width: 0; }
.hero-card-float strong {
  display: block;
  font-family: var(--f-body);
  font-weight: 600;
  margin-bottom: 2px;
  white-space: nowrap;
}
.hero-card-float span {
  color: var(--c-muted);
  font-size: 0.8125rem;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hero-card-float svg {
  flex-shrink: 0;
  color: #fff;
  background: var(--c-primary);
  padding: 6px;
  border-radius: 50%;
  width: 28px; height: 28px;
}

/* ---------- Trust Strip ---------- */
.trust-strip {
  border-block: 1px solid var(--c-line);
  background: #fff;
  padding-block: 2.5rem;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}
.trust-grid-3 { grid-template-columns: repeat(3, 1fr); max-width: 900px; margin: 0 auto; }
.trust-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-inline: 1rem;
  position: relative;
}
.trust-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0; top: 20%; bottom: 20%;
  width: 1px;
  background: var(--c-line);
}
.trust-num {
  font-family: var(--f-display);
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--c-primary);
  line-height: 1;
}
.trust-num span {
  font-size: 1.5rem;
  color: var(--c-accent);
  margin-left: 2px;
}
.trust-label {
  font-size: 0.875rem;
  color: var(--c-ink-soft);
  letter-spacing: 0.02em;
}

/* ---------- Sections ---------- */
.section {
  padding-block: clamp(4rem, 8vw, 7rem);
}
.section-alt { background: var(--c-bg-alt); }

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto clamp(3rem, 5vw, 4.5rem);
}
.section-header .eyebrow { padding-bottom: 0; margin-bottom: 1rem; }
.section-header .eyebrow::after {
  left: 50%;
  transform: translateX(-50%);
  bottom: -8px;
}
.section-header h2 { margin-top: 1.5rem; margin-bottom: 1rem; }
.section-lede {
  font-size: 1.0625rem;
  color: var(--c-ink-soft);
  line-height: 1.6;
}

/* ---------- Leistungen ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.service-card {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-md);
  padding: 2rem 1.75rem;
  transition: all .35s var(--ease);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--c-primary), var(--c-accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease);
}
.service-card:hover {
  border-color: var(--c-primary-soft);
  box-shadow: var(--c-shadow-md);
  transform: translateY(-3px);
}
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  display: grid;
  place-items: center;
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--c-primary-soft);
  color: var(--c-primary);
  margin-bottom: 1.5rem;
}
.service-card h3 { margin-bottom: 0.75rem; }
.service-card p { color: var(--c-ink-soft); font-size: 0.9375rem; line-height: 1.65; }

/* ---------- Team ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
.team-grid-2 {
  grid-template-columns: repeat(2, 1fr);
  max-width: 880px;
  margin-inline: auto;
}
@media (max-width: 720px) {
  .team-grid-2 { grid-template-columns: 1fr; }
}
.team-card {
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--c-shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.team-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--c-shadow-md);
}
.team-photo {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.team-photo svg { width: 100%; height: 100%; }
.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.team-photo-placeholder {
  background: #f3f6fa;
}
.team-photo-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,0.4) 0%, transparent 50%),
    radial-gradient(circle at 70% 80%, rgba(11,58,102,0.06) 0%, transparent 50%);
}
.team-ph-blue {
  background: linear-gradient(135deg, #dbeaf6 0%, #b9cde0 100%);
  color: #0b3a66;
}
.team-ph-warm {
  background: linear-gradient(135deg, #f0ebde 0%, #d4c8a3 100%);
  color: #6e5a2c;
}
.team-initial {
  position: relative;
  z-index: 1;
  font-family: var(--f-display);
  font-size: 4.5rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  opacity: 0.85;
}
.team-info { padding: 1.5rem 1.75rem 2rem; }
.team-info h3 { margin-bottom: 0.25rem; }
.team-role {
  display: block;
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-accent);
  font-weight: 500;
  margin-bottom: 1rem;
}
.team-info p { color: var(--c-ink-soft); font-size: 0.9375rem; }

/* ---------- Galerie ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 1rem;
}
.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: inherit;
  text-align: left;
  width: 100%;
}
.gallery-item:hover { transform: scale(1.015); box-shadow: var(--c-shadow-md); }
.gallery-item:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 3px;
}
.gallery-item::before {
  content: '';
  position: absolute;
  top: 0.875rem;
  right: 0.875rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(4px);
  z-index: 2;
  opacity: 0;
  transform: scale(0.85);
  transition: opacity .25s var(--ease), transform .25s var(--ease);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%230b3a66' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='11' cy='11' r='7'/><path d='m20 20-3.5-3.5M11 8v6M8 11h6'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
}
.gallery-item:hover::before,
.gallery-item:focus-visible::before { opacity: 1; transform: scale(1); }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(8, 18, 32, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 5rem;
  opacity: 0;
  transition: opacity .25s var(--ease);
}
.lightbox[hidden] { display: none; }
.lightbox.is-open { opacity: 1; }
.lightbox-figure {
  margin: 0;
  max-width: min(1100px, 100%);
  max-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.lightbox-figure img {
  max-width: 100%;
  max-height: calc(100vh - 9rem);
  width: auto;
  height: auto;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 60px -10px rgba(0,0,0,0.6);
  display: block;
}
.lightbox-caption {
  color: rgba(255,255,255,0.85);
  font-family: var(--f-display);
  font-size: 1.125rem;
  letter-spacing: 0.02em;
}
.lightbox-close,
.lightbox-nav {
  position: absolute;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.18);
  color: #fff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s var(--ease), transform .2s var(--ease);
}
.lightbox-close:hover,
.lightbox-nav:hover { background: rgba(255,255,255,0.20); transform: scale(1.05); }
.lightbox-close:focus-visible,
.lightbox-nav:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 3px; }
.lightbox-close { top: 1.5rem; right: 1.5rem; }
.lightbox-prev { left: 1.5rem; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 1.5rem; top: 50%; transform: translateY(-50%); }
.lightbox-prev:hover { transform: translateY(-50%) scale(1.05); }
.lightbox-next:hover { transform: translateY(-50%) scale(1.05); }

@media (max-width: 600px) {
  .lightbox { padding: 3.5rem 1rem; }
  .lightbox-close { top: 0.75rem; right: 0.75rem; }
  .lightbox-prev { left: 0.5rem; }
  .lightbox-next { right: 0.5rem; }
  .lightbox-nav { width: 40px; height: 40px; }
}

body.lightbox-open { overflow: hidden; }
.gallery-item-large {
  grid-row: span 2;
  grid-column: span 2;
}
.gallery-item-wide {
  grid-column: span 2;
}
.gallery-figure {
  width: 100%;
  height: 100%;
  margin: 0;
  position: relative;
  display: block;
}
.gallery-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.gallery-figure .gallery-caption {
  position: absolute;
  left: 1.25rem;
  bottom: 1.25rem;
}
.gallery-figure::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(11, 29, 47, 0.45));
  pointer-events: none;
}
.gallery-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
  position: relative;
}
.gallery-placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(11, 29, 47, 0.45));
  pointer-events: none;
}
.gallery-caption {
  position: relative;
  z-index: 1;
  color: #fff;
  font-family: var(--f-display);
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* Stilisierte Platzhalter (werden später durch echte Fotos ersetzt) */
.gallery-ph-1 { background: linear-gradient(135deg, #c9d8e8, #8aa9c9); }
.gallery-ph-2 { background: linear-gradient(135deg, #e8d8c9, #c9a78a); }
.gallery-ph-3 { background: linear-gradient(135deg, #d4dfe8, #a3b6cc); }
.gallery-ph-4 { background: linear-gradient(135deg, #cfe0d8, #94b9a8); }
.gallery-ph-5 { background: linear-gradient(135deg, #c0cfdd, #6c8aa6); }

.gallery-note {
  margin-top: 1.5rem;
  color: var(--c-muted);
  font-size: 0.875rem;
  text-align: center;
}

/* ---------- CTA Section ---------- */
.section-cta {
  padding-block: clamp(3rem, 5vw, 4rem);
}
.cta-card {
  background: var(--c-primary);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 5vw, 4rem);
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.cta-card::before {
  content: '';
  position: absolute;
  top: -30%; right: -10%;
  width: 60%; height: 160%;
  background: radial-gradient(circle, rgba(200, 152, 96, 0.18), transparent 60%);
  pointer-events: none;
}
.cta-text { position: relative; }
.cta-text h2 { color: #fff; margin-block: 1rem; }
.cta-text h2 em { color: var(--c-accent); font-style: italic; }
.cta-text p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.0625rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 36em;
}
.cta-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.cta-card .btn-primary { background: #fff; color: var(--c-primary); }
.cta-card .btn-primary:hover { background: var(--c-accent); color: #fff; }

.cta-side { position: relative; display: flex; justify-content: flex-end; }
.cta-clock {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius-md);
  padding: 1.5rem 2rem;
  text-align: center;
  min-width: 260px;
}
.cta-day {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: 0.5rem;
}
.cta-hours {
  display: block;
  font-family: var(--f-display);
  font-size: 1.5rem;
  font-weight: 500;
  color: #fff;
  white-space: nowrap;
}

.cta-hours-card {
  position: relative;
  background: linear-gradient(160deg, rgba(255,255,255,0.10) 0%, rgba(255,255,255,0.04) 100%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.75rem 1.75rem;
  min-width: 300px;
  box-shadow: 0 10px 30px -12px rgba(0,0,0,0.35);
}
.cta-hours-head {
  display: flex;
  justify-content: center;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.10);
}
.cta-hours-status {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  font-weight: 500;
}
.cta-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-accent);
  box-shadow: 0 0 0 0 rgba(212, 175, 110, 0.55);
}
.cta-hours-status.is-open .cta-status-dot {
  background: #6fd28a;
  animation: ctaPulse 2.2s ease-out infinite;
}
.cta-hours-status.is-open .cta-status-text { color: #fff; }
.cta-hours-status.is-closed .cta-status-dot { background: #d48a8a; }
@keyframes ctaPulse {
  0%   { box-shadow: 0 0 0 0 rgba(111, 210, 138, 0.55); }
  70%  { box-shadow: 0 0 0 10px rgba(111, 210, 138, 0); }
  100% { box-shadow: 0 0 0 0 rgba(111, 210, 138, 0); }
}

.cta-hours-list {
  margin: 0;
  display: flex;
  flex-direction: column;
}
.cta-hours-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1.25rem;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  transition: background .25s var(--ease);
}
.cta-hours-row dt {
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 500;
}
.cta-hours-row dd {
  margin: 0;
  font-family: var(--f-display);
  font-size: 1rem;
  color: #fff;
  white-space: nowrap;
}
.cta-hours-row .sep {
  color: var(--c-accent);
  margin: 0 0.25rem;
  opacity: 0.7;
}
.cta-hours-row-muted dd { color: rgba(255,255,255,0.55); font-style: italic; }
.cta-hours-row.is-today {
  background: rgba(212, 175, 110, 0.12);
  box-shadow: inset 2px 0 0 var(--c-accent);
}
.cta-hours-row.is-today dt {
  color: var(--c-accent);
  font-weight: 600;
}
.cta-hours-row.is-today dd { color: #fff; }

/* ---------- Kontakt ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.contact-block { padding-block: 1.75rem; border-bottom: 1px solid var(--c-line); }
.contact-block:first-child { padding-top: 0; }
.contact-block:last-child { border-bottom: none; }
.contact-block h3 {
  font-family: var(--f-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-muted);
  margin-bottom: 0.75rem;
}
.contact-block address {
  font-style: normal;
  font-size: 1.0625rem;
  line-height: 1.6;
  margin-bottom: 0.75rem;
}
.contact-block p { font-size: 1.0625rem; }
.contact-block a { font-weight: 500; }

.hours-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
  margin-bottom: 0.75rem;
}
.hours-table tr { border-bottom: 1px dashed var(--c-line-soft); }
.hours-table tr:last-child { border-bottom: none; }
.hours-table th, .hours-table td {
  padding: 0.65rem 0;
  text-align: left;
  font-weight: 400;
}
.hours-table th { color: var(--c-ink-soft); width: 30%; }

/* Map (lokal, ohne externen Service) */
.contact-map { position: sticky; top: 100px; }
.map-frame {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--c-line);
  background: #f6f9fc;
}
.map-illustration { position: absolute; inset: 0; }
.map-illustration svg { width: 100%; height: 100%; }
.map-overlay {
  position: absolute;
  bottom: 1rem; left: 1rem;
  background: #fff;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  box-shadow: var(--c-shadow-md);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  max-width: 80%;
}
.map-overlay strong { font-family: var(--f-display); font-size: 1.125rem; font-weight: 600; }
.map-overlay span { color: var(--c-ink-soft); font-size: 0.875rem; }
.map-overlay .btn { margin-top: 0.5rem; align-self: flex-start; }
.map-note { margin-top: 0.75rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--c-ink);
  color: rgba(255, 255, 255, 0.7);
  padding-block: 4rem 1.5rem;
  font-size: 0.9375rem;
}
.site-footer h4 { color: #fff; margin-bottom: 1rem; }
.site-footer a { color: rgba(255, 255, 255, 0.7); }
.site-footer a:hover { color: #fff; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-grid ul { display: flex; flex-direction: column; gap: 0.6rem; }
.brand-footer { color: #fff; margin-bottom: 1.25rem; }
.brand-footer .brand-mark { background: rgba(255,255,255,0.1); color: #fff; }
.brand-footer .brand-name { color: #fff; }
.brand-footer .brand-sub { color: rgba(255,255,255,0.5); }
.footer-claim {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.6);
  max-width: 22em;
}

.site-footer address { font-style: normal; line-height: 1.7; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ---------- Reveal Animation ----------
   JS-progressiv: ohne JS bleibt alles sichtbar.
   Mit JS wird .js-on auf <html> gesetzt und der Reveal-Effekt aktiviert. */
.js-on .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
}
.js-on .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .js-on .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }

  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem 1rem; }
  .trust-item:nth-child(2)::after { display: none; }

  .cta-card { grid-template-columns: 1fr; }
  .cta-side { justify-content: flex-start; }

  .contact-grid { grid-template-columns: 1fr; }
  .contact-map { position: static; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }

  .gallery {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 180px;
  }
  .gallery-item-large, .gallery-item-wide { grid-column: span 2; }
  .gallery-item-large { grid-row: span 1; }
}

@media (max-width: 720px) {
  .primary-nav, .nav-cta { display: none; }
  .nav-toggle { display: flex; }

  .brand-sub { display: none; }

  .hero { padding-top: 7rem; padding-bottom: 4rem; }

  .hero-content h1 br { display: none; }
  .hero-badges { gap: 0.75rem 1.25rem; }

  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-item::after { display: none !important; }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }

  .gallery {
    grid-template-columns: 1fr;
    grid-auto-rows: 200px;
  }
  .gallery-item-large, .gallery-item-wide { grid-column: span 1; }
}

@media (max-width: 480px) {
  .btn { padding: 0.75rem 1.25rem; font-size: 0.875rem; }
  .hero-card-float { padding: 0.6rem 0.85rem; font-size: 0.75rem; }
  .hero-card-float svg { width: 24px; height: 24px; padding: 5px; }
}
