/* ============ Variables ============ */
:root {
  --color-cream: #f4efe6;
  --color-cream-2: #E9E4DE;
  --color-cream-card: #faf7f1;
  --color-dark: #4D5D6B;
  --color-dark-2: #1c1b18;
  --color-green: #4D5D6B;
  --color-green-dark: #41505d;
  --color-gold: #a9814f;
  --color-star: #d6a94a;
  --color-text: #33322d;
  --color-text-muted: #6f6a5f;
  --color-border: #ded4c0;
  --color-white: #ffffff;

  --font-heading: "Times New Roman", serif;
  --font-body: "Barlow", sans-serif;

  --container-width: 1200px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-full: 999px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

ul { list-style: none; }

h1, h2, h3 { font-family: var(--font-heading); font-weight: 500; color: var(--color-dark); line-height: 1.15; }

section[id] {
  scroll-margin-top: 86px;
}

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

.eyebrow {
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 600;
    color: #4D5D6B;
    margin-bottom: 14px;
}

.eyebrow-light { color: #d9c9a3; }
.eyebrow-center { text-align: center; }

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.92rem;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
  border: 1.5px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-green);
  color: var(--color-white);
}
.btn-primary:hover { background: var(--color-green-dark); transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  border-color: var(--color-border);
  color: var(--color-dark);
}
.btn-outline:hover { border-color: var(--color-dark); }

.btn-full { width: 100%; }

/* ============ Header ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-white);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  padding: 0 40px;
  gap: 24px;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-dark);
  flex-shrink: 0;
}

.header-right {
  display: flex;
  align-items: center;
  gap: clamp(16px, 1.8vw, 32px);
}

.main-nav {
  display: flex;
  gap: clamp(12px, 1.5vw, 26px);
  justify-content: flex-end;
  align-items: center;
}

.main-nav a {
  font-size: clamp(0.82rem, 0.92vw, 0.88rem);
  font-weight: 500;
  color: var(--color-text);
  transition: color 0.2s ease;
  position: relative;
  white-space: nowrap;
}
.main-nav a:hover { color: var(--color-green); }

.main-nav a.nav-active {
  color: var(--color-green);
  font-weight: 600;
}

.main-nav a.nav-active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--color-green);
  border-radius: 2px;
}

.nav-cta-mobile { display: none; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-dark);
  border-radius: 1px;
}

/* ============ Hero ============ */
.hero { background: var(--color-cream); }

.hero-grid {
  display: flex;
  align-items: stretch;
  min-height: 540px;
}

.hero-content {
  flex: 0 0 62%;
  max-width: 62%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 40px 60px max(24px, calc((100vw - var(--container-width)) / 2 + 24px));
}

.hero-content > * { max-width: 730px; }

.eyebrow-with-icon {
  display: flex;
  align-items: end;
  gap: 8px;
}
.eyebrow-with-icon span{
  margin-bottom: -5px;
}
.eyebrow-icon {
  width: 16px;
  height: auto;
}

.hero-media {
  flex: 0 0 38%;
  max-width: 38%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 40px 60px 0;
}

.hero-content h1 {
  font-size: 52px;
  margin-bottom: 20px;
}

.hero-text {
  color: var(--color-text-muted);
  font-size: 18px;
  margin-bottom: 32px;
}

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

.hero-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}
.hero-stats .stat{
      border-right: 1px solid #C0C0C0;
    padding-right: 20px;
}
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat-value { font-family: var(--font-body); font-size: 22px; color: #595959; font-weight: bold; }
.stat-label { font-size: 0.78rem; color: var(--color-text-muted); }

.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius:0;
}

/* ============ Goal / Leistungen (video section) ============ */
.goal {
  position: relative;
  background: #fff;
  padding: 80px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.goal-media {
  position: relative;
  width: 100%;
  max-width: 1200px;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.4);
}
.goal-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-controls {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 2;
  display: flex;
  gap: 10px;
}

.video-control-btn {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: rgba(28, 27, 24, 0.45);
  border: 1.5px solid rgba(255,255,255,0.5);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(4px);
  transition: background 0.2s ease, border-color 0.2s ease;
}
.video-control-btn:hover {
  background: rgba(28, 27, 24, 0.65);
  border-color: rgba(255,255,255,0.8);
}
.video-control-btn svg { width: 18px; height: 18px; }

/* Play/pause toggle: default (not playing) shows the play triangle */
.video-control-btn .icon-pause { display: none; }
.video-control-btn.is-playing .icon-play { display: none; }
.video-control-btn.is-playing .icon-pause { display: block; }

/* Mute toggle: default (muted) shows the muted-speaker icon */
.video-control-btn .icon-unmuted { display: none; }
.video-control-btn.is-unmuted .icon-muted { display: none; }
.video-control-btn.is-unmuted .icon-unmuted { display: block; }

/* Large centered play button — shown while the video is paused */
.video-play-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 84px;
  height: 84px;
  border-radius: var(--radius-full);
  background: rgba(28, 27, 24, 0.5);
  border: 2px solid rgba(255, 255, 255, 0.85);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(4px);
  opacity: 1;
  visibility: visible;
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.2s ease, visibility 0.25s;
}
.video-play-overlay:hover {
  background: rgba(28, 27, 24, 0.7);
  transform: translate(-50%, -50%) scale(1.06);
}
.video-play-overlay svg {
  width: 32px;
  height: 32px;
  margin-left: 4px; /* optically center the play triangle */
}

.goal-media.is-playing .video-play-overlay {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

@media (max-width: 560px) {
  .goal { padding: 64px 20px; }
  .goal-media { border-radius: var(--radius-md); }
  .video-play-overlay { width: 64px; height: 64px; }
  .video-play-overlay svg { width: 24px; height: 24px; }
}

/* ============ Behandlungsziel banner ============ */
.goal-banner {
  position: relative;
  overflow: hidden;
  min-height: 320px;
}

.goal-banner-media {
  position: absolute;
  inset: 0;
}
.goal-banner-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.goal-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(28,27,24,0.88) 0%, rgba(28,27,24,0.62) 32%, rgba(28,27,24,0.2) 60%, rgba(28,27,24,0) 82%);
}

.goal-banner-content {
  position: relative;
  z-index: 1;
  padding: 120px 24px;
}

.goal-banner-content .eyebrow { margin-bottom: 18px; }

.goal-banner blockquote {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: clamp(1.25rem, 2.4vw, 1.85rem);
  line-height: 1.55;
  color: var(--color-white);
  font-weight: 400;
  max-width: 600px;
}

@media (max-width: 700px) {
  .goal-banner-overlay {
    background: linear-gradient(180deg, rgba(28,27,24,0.75) 0%, rgba(28,27,24,0.6) 100%);
  }
  .goal-banner-content { padding: 56px 24px; max-width: 100%; }
}

/* ============ About ============ */
.about { padding: 100px 0;background: #E9E4DE; }

.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: center;
}

.about-media {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.about-media img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.about-tag {
  margin-top: 16px;
  background: rgba(255,255,255,0.92);
  color: var(--color-dark);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  text-align: center;
}

.about-content h2 { font-size:40px; margin-bottom: 18px; }

.about-text {
    color: #595959;
    max-width: 56ch;
    margin-bottom: 32px;
    font-size: 16px;
}

.credentials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.credential-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 18px 20px;
}
.credential-card h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  color: #4D5D6B;
  margin-bottom: 4px;
}
.credential-card h3:last-child { margin-bottom: 0; }
.credential-card p {
  font-size: 0.82rem;
  color: var(--color-text-muted);
}

.credential-card-logo {
  display: flex;
  align-items: center;
  justify-content: center;
}
.credential-card-logo img {
  max-width: 100%;
  height: 52px;
  width: auto;
  object-fit: contain;
}

/* ============ Conditions / Beschwerden ============ */
.conditions {
  position: relative;
  padding: 150px 0;
  overflow: hidden;
}

.conditions-bg { position: absolute; inset: 0; }
.conditions-bg img { width: 100%; height: 100%; object-fit: cover; }

.conditions-overlay {
  position: absolute;
  inset: 0;
  background: rgba(28, 27, 24, 0.45);
}

.conditions-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.conditions-title {
  color: var(--color-white);
  font-size: 48px;
  margin-bottom: 48px;
}

.conditions-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  max-width: 1080px;
  margin: 0 auto;
}

.condition-card {
  background:#fff;
  border-radius: var(--radius-md);
  padding: 16px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  flex: 0 1 calc((100% - 4 * 34px) / 5);
}

.condition-icon {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-green);
}
.condition-icon img { width: 100%; height: 100%; object-fit: contain; }

.condition-card p {
  font-size: 15px;
  font-weight: 500;
  color: var(--color-dark);
  font-family: var(--font-heading);
  line-height: normal;
}

/* ============ Pricing / Kosten ============ */
.pricing { padding: 100px 0 0; overflow: hidden; }

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

.pricing-content {
  align-self: center;
}

.pricing-content h2 {
  font-size: clamp(1.8rem, 3vw, 3.3rem);
  margin-bottom: 20px;
  line-height: 1.3;
}
.pricing-content .price { color: var(--color-green); }

.pricing-text {
    color: #595959;
    margin-bottom: 24px;
    font-size: 20px;
}

.divider {
  border: none;
  border-top: 1px solid var(--color-border);
  margin-bottom: 24px;
}

.pricing-note {
    color: #595959;
    font-size: 16px;
    max-width: 48ch;
    margin-bottom: 32px;
}

.pricing-media {
  align-self: end;
}
.pricing-media img {
  height: auto;
  object-fit: contain;
  display: block;
}

/* ============ Testimonials / Stimmen ============ */
.testimonials {
  padding: 100px 0;
  background: var(--color-cream-2);
}

.section-title-center {
  text-align: center;
  font-size: 48px;
  margin-bottom: 48px;
}

.testimonial-grid {
  display: grid;
  gap: 24px;
  align-items: stretch;
}

.testimonial-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
}

.testimonial-card:first-child {
  grid-column: 1;
  grid-row: 1 / span 2;
}

.testimonial-card:first-child p {
  flex-grow: 1;
}

.testimonial-card:nth-child(2) {
  grid-column: 2;
  grid-row: 1;
}

.testimonial-card:nth-child(3) {
  grid-column: 2;
  grid-row: 2;
}

.testimonial-card .testimonial-author {
  margin-top: auto;
}

.stars { color: var(--color-star); letter-spacing: 3px; margin-bottom: 16px; font-size: 0.95rem; }

.testimonial-card p {
  font-family: var(--font-heading);
  font-size: 22px;
  color: #4D5D6B;
  margin-bottom: 20px;
  line-height: 1.5;
}

.testimonial-author {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.testimonial-disclaimer {
  text-align: center;
  font-size: 0.78rem;
  color: var(--color-text-muted);
  margin-top: 36px;
}

/* ============ Contact / Kontakt ============ */
.contact {
  background: var(--color-white);
  padding: 100px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
}

.contact-info h2 {
  color: var(--color-dark);
  font-size: 48px;
  margin-bottom: 36px;
}

.contact-list { display: flex; flex-direction: column; gap: 24px; }

.contact-list li { display: flex; align-items: flex-start; gap: 16px; }

.contact-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);

  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-icon svg { width: 35px; height: 35px; }




.contact-list strong {
  display: block;
  color: var(--color-dark);
  font-size: 0.9rem;
  margin-bottom: 3px;
}
.contact-list span {
  color: var(--color-text-muted);
  font-size: 0.88rem;
}

.contact-form-card {
  background: var(--color-cream-2);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.contact-form-card h3 {
  font-size: 1.3rem;
  margin-bottom: 6px;
}

.form-sub {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-bottom: 28px;
}

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

.form-field { margin-bottom: 18px; }

.form-field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 6px;
}

.form-field input:not([type="checkbox"]),
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--color-border);
  background: var(--color-white);
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--color-text);
  resize: vertical;
}

.form-field input:not([type="checkbox"]):focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--color-green);
}

.form-checkbox-field { margin-bottom: 20px; }

.form-checkbox-field .form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 0;
  font-size: inherit;
  font-weight: normal;
  color: inherit;
  cursor: pointer;
}

.form-checkbox input[type="checkbox"] {
  margin-top: 3px;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  accent-color: var(--color-green);
  cursor: pointer;
}

.form-checkbox span {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.form-checkbox a {
  color: var(--color-dark);
  text-decoration: underline;
}
.form-checkbox a:hover { color: var(--color-green); }

.contact-form-card .btn-primary {
  background: #4b5768;
  border-radius: 10px;
}
.contact-form-card .btn-primary:hover { background: #3a4453; }

.form-success {
  margin-top: 14px;
  color: var(--color-green-dark);
  font-size: 0.88rem;
  font-weight: 500;
  text-align: center;
}

.form-error {
  margin-top: 14px;
  color: #a93b2c;
  font-size: 0.88rem;
  font-weight: 500;
  text-align: center;
}

/* ============ Footer ============ */
.site-footer {
  background: #595959;
  padding: 28px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-logo {
  font-family: var(--font-heading);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: var(--color-white);
  display: inline-block;
}
.footer-logo:hover {
  color: var(--color-white);
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.footer-nav { display: flex; gap: 24px; }
.footer-nav a { font-size: 0.82rem; color: #e4e1d8; transition: color 0.2s ease; }
.footer-nav a:hover { color: var(--color-white); }

.footer-copy { font-size: 0.8rem; color: #d3d0c6; }

/* ============ Scroll reveal ============ */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-stagger.is-visible > * {
  opacity: 1;
  transform: translateY(0);
}
.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 0.1s; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 0.15s; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 0.2s; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 0.25s; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 0.3s; }
.reveal-stagger.is-visible > *:nth-child(7) { transition-delay: 0.35s; }
.reveal-stagger.is-visible > *:nth-child(8) { transition-delay: 0.4s; }
.reveal-stagger.is-visible > *:nth-child(9) { transition-delay: 0.45s; }

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

/* ============ Scroll-to-top button ============ */
.scroll-top-btn {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 90;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: var(--color-green);
  color: var(--color-white);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s ease, visibility 0.3s;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}
.scroll-top-btn.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.scroll-top-btn:hover { background: var(--color-green-dark); }
.scroll-top-btn svg { width: 20px; height: 20px; }

@media (max-width: 560px) {
  .scroll-top-btn { right: 16px; bottom: 16px; width: 44px; height: 44px; }
}

/* ============ Legal pages (Datenschutz / Impressum) ============ */
.legal-hero {
  background: var(--color-cream);
  padding: 70px 24px 44px;
  text-align: center;
}
.legal-hero h1 { font-size: clamp(2rem, 4vw, 2.6rem); }

.legal-section { padding: 64px 0 100px; }

.legal-content {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 24px;
}

.legal-content h2 {
  font-size: 1.55rem;
  margin-top: 52px;
  margin-bottom: 18px;
  padding-top: 32px;
  border-top: 1px solid var(--color-border);
}
.legal-content h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.legal-content h3 {
  font-size: 1.15rem;
  margin-top: 30px;
  margin-bottom: 10px;
}

.legal-content h4 {
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-top: 22px;
  margin-bottom: 6px;
}

.legal-content p {
  color: var(--color-text-muted);
  line-height: 1.75;
  margin-bottom: 14px;
}

.legal-content ul {
  list-style: disc;
  margin: 0 0 14px 22px;
}
.legal-content li {
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 6px;
}

.legal-content a {
  color: var(--color-dark);
  text-decoration: underline;
}
.legal-content a:hover { color: var(--color-green); }

/* ============ Responsive ============ */
@media (max-width: 1024px) {
  .about-grid,
  .pricing-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .hero-grid { flex-direction: column; min-height: 0; }
  .hero-content { max-width: 100%; padding: 48px 24px; order: 2; flex: none; }
  .hero-media { order: 1; flex: 0 0 320px; max-width: 100%; padding: 24px; }
  .about-media img { height: 400px; }
  .pricing-media { order: -1; align-self: center; }
  .pricing-content { padding-bottom: 0; }
  .pricing-media img { max-height: 420px; width: auto; margin: 0 auto; }

  .condition-card { flex-basis: calc((100% - 2 * 16px) / 3); }
}

@media (max-width: 1060px) {
  .main-nav { display: none; }
  .header-inner .btn-nav { display: none; }
  .nav-toggle { display: flex; }

  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 65px;
    left: 0;
    right: 0;
    background: var(--color-cream);
    padding: 20px 24px 28px;
    gap: 18px;
    border-bottom: 1px solid var(--color-border);
  }

  .main-nav.open a {
    width: fit-content;
  }

  .nav-cta-mobile {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: var(--radius-full);
    background: var(--color-green);
    color: var(--color-white);
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 4px;
  }

  .credentials-grid { grid-template-columns: 1fr; }
  .condition-card { flex-basis: calc((100% - 16px) / 2); }
  .form-row { grid-template-columns: 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .testimonial-card:first-child,
  .testimonial-card:nth-child(2),
  .testimonial-card:nth-child(3) {
    grid-column: auto;
    grid-row: auto;
  }
}

@media (max-width: 560px) {
  .hero-content { padding: 32px 20px; }
  .hero-media { flex-basis: 260px; padding: 20px; }
  .about, .pricing, .testimonials, .contact { padding: 64px 0; }
  .hero-stats { gap: 10px; }
  .contact-form-card { padding: 28px 22px; }
  .header-inner { height: 68px; }
  .hero-media{}
  .hero-media{max-width: 100%;}
  .footer-inner,.footer-nav{display: block; text-align: center;}
  .hero-content h1{font-size: 52px;}
  .hero-grid{flex-direction: column-reverse;}
  .main-nav a.nav-cta-mobile{color: #fff;}
  .hero-stats .stat{padding-right: 6px;}
  .footer-right{justify-content: center;}

}
