:root {
  --color-bg: #ffffff;
  --color-bg-alt: #f7f8fa;
  --color-text: #1c1f26;
  --color-text-muted: #5a6270;
  --color-primary: #2563eb;
  --color-primary-dark: #1d4ed8;
  --color-border: #e5e7eb;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
  --radius: 12px;
  --max-width: 1140px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

a {
  text-decoration: none;
  color: inherit;
}

h1, h2, h3 {
  line-height: 1.2;
  font-weight: 700;
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 8px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

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

.btn-secondary {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-border);
}

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-text);
}

.logo span {
  color: var(--color-primary);
  font-weight: 500;
  font-size: 0.75rem;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 32px;
}

.main-nav a {
  font-weight: 500;
  color: var(--color-text-muted);
  transition: color 0.15s ease;
}

.main-nav a:hover {
  color: var(--color-primary);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-text);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Hero */
.hero {
  background:
    linear-gradient(160deg, rgba(15, 23, 42, 0.82) 0%, rgba(37, 99, 235, 0.8) 100%),
    url("https://images.unsplash.com/photo-1625134673337-519d4d10b313?auto=format&fit=crop&w=1600&q=70") center/cover no-repeat;
  padding: 140px 0 120px;
  text-align: center;
  color: #fff;
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 3.8rem);
  margin-bottom: 16px;
  color: #fff;
}

.doctor-name {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  font-weight: 600;
  color: #bfdbfe;
  margin-bottom: 36px;
}

.slogan {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 36px;
}

.hero .btn-secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
}

.hero .btn-secondary:hover {
  color: #fff;
  border-color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

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

/* Services */
.services {
  padding: 100px 0;
  text-align: center;
}

.section-subtitle {
  color: var(--color-text-muted);
  margin-bottom: 48px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  text-align: left;
}

.card {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 32px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.card-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.card h3 {
  margin-bottom: 12px;
  font-size: 1.15rem;
}

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

/* About */
.about {
  background: var(--color-bg-alt);
  padding: 100px 0;
}

.about-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.3fr 1fr;
  gap: 40px;
  align-items: center;
}

.about-image img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

.about-text p {
  color: var(--color-text-muted);
  margin-bottom: 16px;
}

.about-facts {
  display: grid;
  gap: 16px;
}

.fact {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.fact-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--color-text-muted);
}

.fact-value {
  font-weight: 700;
  color: var(--color-primary);
}

/* Ablauf & Kosten */
.ablauf {
  padding: 100px 0;
}

.ablauf-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 48px;
  align-items: start;
}

.ablauf-block h2 {
  margin-bottom: 16px;
}

.ablauf-block h3 {
  margin: 28px 0 12px;
  font-size: 1.1rem;
}

.ablauf-image {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  margin: 16px 0 24px;
}

.ablauf-block p {
  color: var(--color-text-muted);
}

.doc-list {
  list-style: none;
  display: grid;
  gap: 10px;
}

.doc-list li {
  position: relative;
  padding-left: 26px;
  color: var(--color-text-muted);
}

.doc-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: 700;
}

.ablauf-costs {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 28px;
}

.cost-list {
  list-style: none;
  margin: 16px 0;
}

.cost-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border);
}

.cost-list li:last-child {
  border-bottom: none;
}

.cost-list span {
  color: var(--color-text-muted);
}

.cost-list strong {
  color: var(--color-primary);
  font-size: 1.1rem;
}

.cost-note {
  font-size: 0.85rem;
  font-style: italic;
}

/* Appointment */
.appointment {
  padding: 90px 0;
  text-align: center;
  background: linear-gradient(160deg, #2563eb 0%, #1d4ed8 100%);
  color: #fff;
}

.appointment h2 {
  color: #fff;
}

.appointment p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 32px;
}

.appointment .btn-primary {
  background: #fff;
  color: var(--color-primary);
}

.appointment .btn-primary:hover {
  background: #f1f5f9;
}

/* Footer */
.site-footer {
  background: #12141a;
  color: #cbd2de;
  padding: 80px 0 0;
}

.footer-inner {
  padding-bottom: 60px;
}

.footer-info h2 {
  color: #fff;
  margin-bottom: 16px;
}

.footer-info p {
  margin-bottom: 12px;
}

.footer-info a:hover {
  color: var(--color-primary);
}

.footer-bottom {
  border-top: 1px solid #262a33;
  padding: 20px 0;
  text-align: center;
  font-size: 0.85rem;
  color: #7c8494;
}

.footer-bottom-inner {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}

.legal-links a:hover {
  color: var(--color-primary);
}

/* Legal pages */
.legal {
  padding: 100px 0;
}

.legal-inner {
  max-width: 720px;
}

.legal h1 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  margin-bottom: 32px;
}

.legal h2 {
  font-size: 1.15rem;
  margin-top: 36px;
  margin-bottom: 10px;
}

.legal p {
  color: var(--color-text-muted);
  margin-bottom: 8px;
}

.legal-list {
  list-style: disc;
  padding-left: 22px;
  color: var(--color-text-muted);
  margin-bottom: 8px;
}

.legal-list li {
  margin-bottom: 6px;
}

/* Responsive */
@media (max-width: 860px) {
  .about-inner {
    grid-template-columns: 1fr;
  }

  .ablauf-inner {
    grid-template-columns: 1fr;
  }
}

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

  .main-nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--color-border);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }

  .main-nav.open {
    max-height: 300px;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 8px 0;
  }

  .main-nav ul li a {
    display: block;
    padding: 14px 24px;
  }

  .about-stats {
    grid-template-columns: 1fr;
  }
}
