@charset "UTF-8";
/**
 * Praxis Dr. Nihat Koca – Stylesheet
 * Design System basierend auf https://123firmenseite.de/dr-nihatkoca/
 */

:root {
  --primary-color: #0d47a1;
  --primary-light: #1565c0;
  --primary-dark: #0a2f6c;
  --secondary-color: #00bcd4;
  --neutral-dark: #212529;
  --neutral-light: #f8f9fa;
  --neutral-muted: #6c757d;
  --bg-white: #ffffff;
  --border-color: #dee2e6;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
  --font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --border-radius: 8px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  font-family: var(--font-family);
  color: var(--neutral-dark);
  background-color: var(--bg-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

/* ==========================================================================
   Layout & Containers
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
  background-color: var(--bg-white);
}

.section-light {
  background-color: var(--neutral-light);
}

.section-dark {
  background-color: var(--neutral-dark);
  color: var(--bg-white);
}

/* ==========================================================================
   Typography
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.22;
  margin-bottom: 15px;
  color: var(--primary-dark);
}

h1 {
  font-size: clamp(2.2rem, 4.2vw, 3.35rem);
}

h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.55rem);
}

h3 {
  font-size: clamp(1.3rem, 2.3vw, 1.65rem);
}

h4 {
  font-size: 1.15rem;
}

.text-muted {
  color: var(--neutral-muted);
}

.text-highlight {
  color: var(--primary-light);
}

.eyebrow {
  text-transform: uppercase;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--primary-color);
  display: block;
  margin-bottom: 10px;
}

.section-dark .eyebrow {
  color: var(--secondary-color);
}

.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 55px;
}

.section-header p {
  color: var(--neutral-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* ==========================================================================
   Header & Navigation (123firmenseite.de/dr-nihatkoca/ Design)
   ========================================================================== */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid var(--border-color);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 82px;
  gap: 20px;
}

.logo {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--primary-color);
  flex-shrink: 0;
}

.logo-subtitle {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 1.4px;
  color: var(--secondary-color);
  text-transform: uppercase;
  margin-bottom: 2px;
}

.logo-title {
  font-size: 1.32rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--primary-dark);
}

.logo-tagline {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--neutral-muted);
  margin-top: 2px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 13px;
  list-style: none;
}

.nav-link {
  text-decoration: none;
  color: var(--neutral-dark);
  font-weight: 600;
  font-size: 0.86rem;
  transition: var(--transition);
  position: relative;
  padding: 5px 0;
  white-space: nowrap;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-color);
}

.nav-cta-item {
  margin-left: 4px;
}

.btn-nav-wa {
  padding: 10px 16px !important;
  font-size: 0.88rem !important;
  white-space: nowrap;
}

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

.nav-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--neutral-dark);
  margin: 5px 0;
  transition: var(--transition);
}

/* ==========================================================================
   Buttons & Social Badges
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  font-size: 0.98rem;
  font-weight: 600;
  font-family: inherit;
  text-decoration: none;
  border-radius: var(--border-radius);
  transition: var(--transition);
  cursor: pointer;
  border: none;
  line-height: 1.3;
  text-align: center;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--bg-white);
}

.btn-primary:hover {
  background-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
  background-color: var(--primary-color);
  color: var(--bg-white);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background-color: #25D366;
  color: #ffffff;
}

.btn-whatsapp:hover {
  background-color: #20ba5a;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-whatsapp svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* Google / Facebook / Instagram Profile Buttons */
.google-word {
  font-weight: 800;
  letter-spacing: -0.01em;
}
.google-word .g-b { color: #4285F4; }
.google-word .g-r { color: #EA4335; }
.google-word .g-y { color: #FBBC05; }
.google-word .g-g { color: #34A853; }

.social-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 22px;
}

.social-row .social-btn {
  width: 100%;
  min-height: 46px;
  height: 100%;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--border-radius);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.social-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.social-btn-google {
  background-color: var(--bg-white);
  color: var(--neutral-dark);
  border: 1px solid var(--border-color);
}

.social-btn-fb {
  background-color: #1877F2;
  color: #ffffff;
  border: 1px solid #1877F2;
}

.social-btn-ig {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #ffffff;
  border: 1px solid transparent;
}

/* ==========================================================================
   Hero Section & Overlapping Stats Bar
   ========================================================================== */
.hero {
  padding: 85px 0 90px;
  background: linear-gradient(135deg, #f0f4f8 0%, #e1eaf2 100%);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.22fr 0.78fr;
  gap: 50px;
  align-items: center;
}

.hero-content h1 {
  margin-bottom: 16px;
  color: var(--primary-dark);
}

.hero-subclaim {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 18px;
}

.hero-text-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.hero-text-stack p {
  font-size: 1.04rem;
  color: var(--neutral-muted);
  margin: 0;
}

.hero-consult-box {
  background-color: var(--bg-white);
  border-radius: var(--border-radius);
  padding: 24px 28px;
  border-left: 5px solid var(--primary-color);
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}

.hero-consult-box h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
  color: var(--primary-dark);
}

.hero-consult-box p {
  font-size: 0.96rem;
  color: var(--neutral-muted);
  margin-bottom: 12px;
}

.hero-consult-box .hero-wa-pref {
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 14px;
}

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

.hero-visual-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero-illustration {
  background: radial-gradient(circle, rgba(13, 71, 161, 0.12) 0%, rgba(255, 255, 255, 0) 72%);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
}

.hero-main-photo {
  width: 100%;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--bg-white);
}

.hero-main-photo img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.hero-doctor-mini-card {
  width: 100%;
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 20px 22px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 16px;
}

.hero-doctor-mini-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--primary-color);
  flex-shrink: 0;
}

.hero-doctor-mini-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-doctor-mini-info h3 {
  font-size: 1.15rem;
  margin-bottom: 3px;
}

.hero-doctor-mini-info p {
  font-size: 0.88rem;
  color: var(--neutral-muted);
  margin-bottom: 4px;
}

.hero-award-tag {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--primary-color);
  background: rgba(13, 71, 161, 0.08);
  padding: 3px 9px;
  border-radius: 4px;
}

/* Stats Bar */
.stats-bar {
  background-color: var(--bg-white);
  padding: 36px 28px;
  box-shadow: var(--shadow-md);
  margin-top: -42px;
  position: relative;
  z-index: 10;
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stats-item {
  text-decoration: none;
  display: block;
}

.stats-item h3 {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 5px;
}

.stats-item p {
  font-weight: 600;
  color: var(--neutral-muted);
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 1px;
}

a.stats-item:hover h3 {
  color: var(--primary-light);
}

/* ==========================================================================
   Cards, Split Grids & Info Boxes (123firmenseite.de/dr-nihatkoca/ Design)
   ========================================================================== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 30px;
}

.cards-grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.cards-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.card {
  background-color: var(--bg-white);
  border-radius: var(--border-radius);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.card-wide {
  grid-column: span 2;
}

.card-icon {
  width: 58px;
  height: 58px;
  background-color: rgba(13, 71, 161, 0.06);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  color: var(--primary-color);
  transition: var(--transition);
  flex-shrink: 0;
}

.card:hover .card-icon {
  background-color: var(--primary-color);
  color: var(--bg-white);
}

.card-eyebrow {
  margin-bottom: 6px;
  font-size: 0.8rem;
}

.card h3 {
  margin-bottom: 12px;
  color: var(--primary-dark);
  font-size: 1.35rem;
}

.card p {
  color: var(--neutral-muted);
  margin-bottom: 18px;
  flex-grow: 1;
  font-size: 0.96rem;
}

.card p:last-child {
  margin-bottom: 0;
}

.card-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(13, 71, 161, 0.08);
  color: var(--primary-color);
  font-weight: 800;
  font-size: 0.85rem;
  margin-bottom: 14px;
}

.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.info-box {
  background-color: var(--neutral-light);
  border-radius: var(--border-radius);
  padding: 36px;
  border-left: 5px solid var(--primary-color);
}

.section-light .info-box {
  background-color: var(--bg-white);
  box-shadow: var(--shadow-sm);
}

.info-box-cyan {
  border-left-color: var(--secondary-color);
}

.info-box-top {
  border-left: none;
  border-top: 5px solid var(--primary-color);
}

/* ==========================================================================
   Beschneidung (Sünnet) Section
   ========================================================================== */
.sunnet-layout {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 36px;
  align-items: start;
}

.sunnet-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.sunnet-card-wide {
  grid-column: 1 / -1;
}

.sunnet-med-list {
  list-style: none;
  margin: 12px 0 16px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 20px;
}

.sunnet-med-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-weight: 600;
  color: var(--primary-dark);
  font-size: 0.94rem;
}

.sunnet-med-list li::before {
  content: '\2713';
  color: var(--primary-color);
  font-weight: 800;
  flex-shrink: 0;
}

.sunnet-note {
  background-color: var(--neutral-light);
  border-left: 3px solid var(--primary-color);
  padding: 12px 16px;
  border-radius: 4px;
  font-weight: 600;
  color: var(--neutral-dark) !important;
  margin-top: 8px;
}

.sunnet-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: sticky;
  top: 100px;
}

.uncropped-image-frame {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 12px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.uncropped-image-frame img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 6px;
}

/* ==========================================================================
   FAQ Accordion (Native <details>/<summary> per modern-web-guidance)
   ========================================================================== */
.faq-grid {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-details {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-details[open] {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-md);
}

.faq-details > summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.75ch;
  padding: 22px 26px;
  font-size: 1.06rem;
  font-weight: 700;
  color: var(--primary-dark);
  cursor: pointer;
}

.faq-details > summary::-webkit-details-marker {
  display: none;
}

.faq-details > summary::before {
  content: "";
  inline-size: 1.1em;
  block-size: 1.1em;
  flex-shrink: 0;
  background-color: var(--primary-color);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat center / contain;
  rotate: -90deg;
}

.faq-details > summary:dir(rtl)::before {
  rotate: 90deg;
}

.faq-details[open] > summary::before {
  rotate: 0deg;
}

@media (prefers-reduced-motion: no-preference) {
  .faq-details > summary::before {
    transition: rotate 0.2s;
  }
}

.faq-details::details-content {
  interpolate-size: allow-keywords;
  overflow: clip;
  contain: layout;
}

.faq-details:not([open])::details-content {
  block-size: 0;
}

@media (prefers-reduced-motion: no-preference) {
  .faq-details::details-content {
    transition: block-size, content-visibility, display;
    transition-duration: 0.28s;
    transition-timing-function: ease-in-out;
    transition-behavior: allow-discrete;
  }
}

.faq-answer-body {
  padding: 0 26px 22px 48px;
  color: var(--neutral-muted);
  font-size: 0.96rem;
  line-height: 1.65;
}

/* ==========================================================================
   Filter Tabs (Ästhetische Medizin & Bewertungen)
   ========================================================================== */
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
}

.filter-tab-btn {
  padding: 10px 20px;
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
  background-color: var(--bg-white);
  color: var(--neutral-dark);
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.filter-tab-btn:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.filter-tab-btn.active {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--bg-white);
  box-shadow: var(--shadow-sm);
}

.aesthetics-visual-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 40px 0;
  align-items: stretch;
}

/* ==========================================================================
   Über Dr. Nihat Koca Section
   ========================================================================== */
.about-doctor-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 40px;
  align-items: stretch;
}

.doctor-profile-card {
  align-items: center;
  text-align: center;
  justify-content: center;
}

.doctor-portrait-frame {
  width: 215px;
  height: 215px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 18px;
  border: 4px solid var(--primary-color);
  box-shadow: var(--shadow-md);
}

.doctor-portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Sechs Profilzeilen direkt darunter ohne Leerzeilen */
.doctor-six-lines {
  display: flex;
  flex-direction: column;
  gap: 0;
  line-height: 1.38;
  color: var(--neutral-dark);
  font-size: 0.98rem;
  font-weight: 600;
}

.doctor-six-lines .profile-line {
  margin: 0;
  padding: 0;
}

.doctor-six-lines .profile-line-name {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary-dark);
}

.doctor-six-lines .profile-line-role {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--primary-color);
}

.doctor-story-stack {
  display: flex;
  flex-direction: column;
  gap: 22px;
  justify-content: space-between;
}

.faq-static-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 28px 32px;
  box-shadow: var(--shadow-sm);
}

.faq-static-card h3 {
  font-size: 1.25rem;
  color: var(--primary-dark);
  margin-bottom: 10px;
}

.faq-static-card p {
  color: var(--neutral-muted);
  margin: 0;
}

.award-highlight-card {
  border-left: 5px solid var(--secondary-color);
  display: flex;
  align-items: center;
  gap: 20px;
}

.award-badge-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-color: rgba(13, 71, 161, 0.08);
  color: var(--primary-color);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Original Impressions Grid (4 boxes) */
.original-impressions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.impression-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.impression-card img {
  width: 100%;
  height: 210px;
  object-fit: contain;
  background-color: var(--neutral-light);
  padding: 12px;
}

.impression-caption {
  padding: 16px 18px;
  text-align: center;
  border-top: 1px solid var(--border-color);
}

.impression-caption h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.impression-caption p {
  font-size: 0.85rem;
  color: var(--neutral-muted);
  margin: 0;
}

.impression-card-full-img {
  background-color: var(--primary-dark);
  align-items: center;
  justify-content: center;
  min-height: 280px;
}

.impression-card-full-img img {
  background-color: var(--primary-dark);
  height: 100%;
  max-height: 280px;
  object-fit: contain;
  padding: 8px;
}

/* ==========================================================================
   Fotogalerie & Native <dialog> Lightbox
   ========================================================================== */
.photo-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.gallery-item {
  margin: 0;
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.gallery-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.gallery-img-wrap {
  width: 100%;
  height: 250px;
  background-color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  overflow: hidden;
}

.gallery-img-wrap img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 4px;
  transition: transform 0.3s ease;
}

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

.gallery-item figcaption {
  padding: 14px 16px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--primary-dark);
  text-align: center;
  border-top: 1px solid var(--border-color);
  background-color: var(--bg-white);
}

/* Native <dialog> Lightbox per modern-web-guidance (dialog) */
dialog.lightbox-dialog {
  margin: auto;
  border: none;
  border-radius: var(--border-radius);
  background: transparent;
  color: var(--bg-white);
  max-width: 92vw;
  max-height: 92vh;
  padding: 0;
  overflow: visible;
}

dialog.lightbox-dialog[open] {
  display: flex;
  align-items: center;
  justify-content: center;
}

dialog.lightbox-dialog:modal {
  overscroll-behavior: contain;
}

dialog.lightbox-dialog::backdrop {
  background: rgba(10, 25, 48, 0.9);
  backdrop-filter: blur(5px);
  overflow: hidden;
  overscroll-behavior: contain;
}

.lightbox-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 16px;
}

.lightbox-inner img {
  max-width: 84vw;
  max-height: 78vh;
  object-fit: contain;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  background-color: #061527;
}

.lightbox-caption {
  color: var(--bg-white);
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
}

.lightbox-controls {
  display: flex;
  align-items: center;
  gap: 14px;
}

.lightbox-btn {
  padding: 8px 16px;
  border-radius: var(--border-radius);
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.14);
  color: var(--bg-white);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.lightbox-btn:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-light);
}

/* ==========================================================================
   Reviews, Standorte, Kontakt, Anfahrt & Rechtliches
   ========================================================================== */
.review-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 14px;
}

.review-stars {
  color: #f59e0b;
  font-size: 1.05rem;
  letter-spacing: 1px;
}

.review-tag {
  display: inline-block;
  align-self: flex-start;
  margin-top: auto;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary-color);
  background-color: rgba(13, 71, 161, 0.08);
  padding: 4px 10px;
  border-radius: 4px;
}

.address-box {
  background-color: var(--neutral-light);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 18px 22px;
  margin: 16px 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.wa-tab-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  text-decoration: none;
  padding: 6px 0;
  color: var(--neutral-dark);
  font-weight: 600;
}

.wa-tab-row:hover {
  color: var(--primary-color);
}

.wa-tab-label {
  display: inline-block;
  width: 195px;
  color: var(--neutral-muted);
  font-weight: 600;
}

.online-profiles-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 20px;
}

.direction-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.direction-body {
  padding: 30px 32px;
}

.direction-map {
  height: 310px;
  border-top: 1px solid var(--border-color);
}

.direction-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ==========================================================================
   Footer (123firmenseite.de/dr-nihatkoca/ Design)
   ========================================================================== */
footer.site-footer {
  background-color: var(--neutral-dark);
  color: var(--bg-white);
  padding: 60px 0 30px;
  border-top: 4px solid var(--primary-color);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand .logo-title {
  color: var(--bg-white);
  font-size: 1.35rem;
}

.footer-brand .logo-subtitle {
  display: block;
  margin-bottom: 4px;
}

.footer-brand p {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
  line-height: 1.65;
}

.footer-links h4 {
  color: var(--bg-white);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
  font-size: 1.05rem;
}

.footer-links h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background-color: var(--secondary-color);
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 11px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  font-size: 0.93rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--secondary-color);
  padding-left: 5px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.88rem;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  margin-left: 14px;
}

.footer-bottom a:hover {
  color: var(--secondary-color);
}

/* Sticky Mobile WhatsApp Bar */
.sticky-mobile-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 990;
  background-color: rgba(255, 255, 255, 0.98);
  padding: 10px 16px;
  border-top: 1px solid var(--border-color);
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.08);
}

/* Scroll Reveal Animation */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1120px) {
  .nav-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 82px;
    left: -100%;
    width: 100%;
    height: calc(100dvh - 82px);
    background-color: var(--bg-white);
    flex-direction: column;
    align-items: center;
    padding: 40px 20px;
    gap: 22px;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    z-index: 999;
    overflow-y: auto;
  }

  .nav-menu.open {
    left: 0;
  }

  .nav-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .nav-toggle.open span:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -8px);
  }
}

@media (max-width: 992px) {
  .hero-grid,
  .split-grid,
  .sunnet-layout,
  .about-doctor-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .stats-grid,
  .original-impressions-grid,
  .photo-gallery-grid,
  .cards-grid-3,
  .aesthetics-visual-row,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .card-wide {
    grid-column: span 2;
  }

  .sunnet-sidebar {
    position: static;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 60px 0;
  }

  .hero {
    padding: 60px 0 70px;
  }

  .social-row,
  .stats-grid,
  .cards-grid-2,
  .cards-grid-3,
  .sunnet-cards-grid,
  .sunnet-med-list,
  .aesthetics-visual-row,
  .original-impressions-grid,
  .photo-gallery-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .card-wide {
    grid-column: span 1;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .award-highlight-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .sticky-mobile-bar {
    display: block;
  }

  body {
    padding-bottom: 68px;
  }
}
