/* ==========================================================================
   Zahnmedizin Prof. Dr. Marcel Hanisch — Stylesheet
   Sections are ordered top-to-bottom as they appear on the page.
   ========================================================================== */


@font-face {
  font-family: 'Fira Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/Fira_Sans/FiraSans-Regular.ttf') format('truetype');
}

@font-face {
  font-family: 'Fira Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/Fira_Sans/FiraSans-Medium.ttf') format('truetype');
}

@font-face {
  font-family: 'Fira Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/Fira_Sans/FiraSans-SemiBold.ttf') format('truetype');
}

@font-face {
  font-family: 'Fira Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/Fira_Sans/FiraSans-Bold.ttf') format('truetype');
}

@font-face {
  font-family: 'Fira Sans';
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/Fira_Sans/FiraSans-SemiBoldItalic.ttf') format('truetype');
}


/* ---- Design tokens ---------------------------------------------------- */
:root {
  --green: #6B9744;
  --green-dark: #5d8439;
  --ink: #17252A;
  --muted: #878787;
  --gold: #F5B400;
  --green-tint: #EAF1E1;
  --paper: #F7F7F6;
  --content-width: 1600px;
  --content-pad: 48px;
}

/* ---- Base ------------------------------------------------------------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }

.site {
  font-family: 'Fira Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--ink);
  background: #fff;
  overflow-x: hidden;
}

/* Centered content wrapper used by every full-width section */
.container {
  max-width: var(--content-width);
  margin: 0 auto;
  padding-left: var(--content-pad);
  padding-right: var(--content-pad);
}

/* ---- Booking button (reused in header, hero, CTA) --------------------- */
.btn-book {
  display: inline-block;
  text-decoration: none;
  background: var(--green);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .2px;
  padding: 15px 32px;
  border-radius: 150px;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.16);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn-book:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.22);
}
.btn-book--lg { padding: 16px 41px; }

/* ---- Phone link with icon --------------------------------------------- */
.phone-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-size: 17px;
  font-weight: 700;
}
.phone-link__icon { display: inline-flex; color: var(--green); }

/* ---- Header ----------------------------------------------------------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  box-shadow: 0 0 10px 2px rgba(0, 0, 0, 0.10);
}
.header__inner {
  height: 92px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}
.header__logo { display: flex; align-items: center; justify-content: center; text-decoration: none; }
.header__logo-img { height: 60px; width: auto; object-fit: contain; }
.header__actions { display: flex; align-items: center; justify-content: flex-end; }

/* ---- Hero ------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 620px;
  background-image:
    linear-gradient(90deg, rgba(255,255,255,0.97) 0%, rgba(255,255,255,0.92) 32%, rgba(255,255,255,0) 58%),
    url('../assets/images/hero.jpg');
  background-size: cover;
  background-position: 70% center;
  box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.06);
}
.hero__inner {
  min-height: 620px;
  padding-top: 130px;
  padding-bottom: 130px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero__content { max-width: 560px; }
.hero__eyebrow { margin: 0 0 8px; font-style: italic; font-weight: 600; font-size: 26px; color: var(--muted); }
.hero__title { margin: 0 0 14px; font-weight: 700; font-size: 52px; line-height: 1.05; letter-spacing: .3px; }
.hero__subtitle { margin: 0 0 32px; font-size: 18px; line-height: 1.5; }
.hero__actions { display: flex; align-items: center; gap: 26px; }

/* ---- Trust strip ------------------------------------------------------ */
.trust-strip { background: #fff; border-top: 1px solid #f0f0f0; border-bottom: 1px solid #f0f0f0; }
.trust-strip__inner {
  padding-top: 22px;
  padding-bottom: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.trust-item { display: flex; align-items: center; gap: 12px; }
.trust-item__value { font-weight: 700; font-size: 22px; }
.trust-item__label { font-size: 13px; color: var(--muted); line-height: 1.25; }

.stars { display: inline-flex; gap: 2px; }
.star { display: block; }

/* ---- Address section -------------------------------------------------- */
.address-section { background: var(--paper); }
.address-section__inner { padding-top: 60px; padding-bottom: 60px; }
.address-card {
  background: #fff;
  box-shadow: 0 4px 10px 2px rgba(74, 74, 74, 0.18);
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}
.address-card__cell {
  padding: 30px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.address-card__cell + .address-card__cell { border-left: 1px solid #ddd; }
.address-card__icon { color: var(--muted); display: inline-flex; margin-bottom: 12px; }
.address-card__title { margin: 0 0 6px; font-weight: 700; font-size: 17px; letter-spacing: .3px; }
.address-card__text { margin: 0; font-size: 15px; line-height: 1.5; }
.address-card__text a { color: var(--ink); text-decoration: none; font-weight: 600; }

/* ---- Banner ----------------------------------------------------------- */
.banner {
  position: relative;
  min-height: 450px;
  background-image:
    linear-gradient(90deg, rgba(23,37,42,0.88) 0%, rgba(23,37,42,0.68) 60%, rgba(23,37,42,0.45) 100%),
    url('../assets/images/banner.jpg');
  background-size: cover;
  background-position: 50% 35%;
  display: flex;
  align-items: center;
}
.banner__inner { padding-top: 60px; padding-bottom: 60px; width: 100%; }
.banner__title {
  margin: 0;
  max-width: 1050px;
  font-weight: 700;
  font-size: 36px;
  line-height: 1.18;
  letter-spacing: .5px;
  color: #E7E7E7;
}

/* ---- Shared section heading ------------------------------------------- */
.section-head { text-align: center; }
.section-head__eyebrow {
  margin: 0 0 12px;
  font-style: italic;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 1px;
  color: var(--muted);
}
.section-head__title { margin: 0 0 14px; font-weight: 700; font-size: 34px; letter-spacing: .5px; }
.section-head__title--sm { font-size: 28px; margin-bottom: 0; }
.section-head__subtitle { margin: 0 auto; max-width: 640px; font-size: 16px; line-height: 1.5; color: var(--muted); }

/* ---- Services --------------------------------------------------------- */
.services { background: #fff; }
.services__inner { padding-top: 80px; padding-bottom: 80px; }
.services__head { margin-bottom: 48px; }
.services__grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 22px; }
.service-card {
  background: #fff;
  border-radius: 5px;
  box-shadow: 0 5px 15px 2px rgba(0, 0, 0, 0.10);
  padding: 26px 24px 28px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 14px 34px rgba(0, 0, 0, 0.16); }
.service-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 24px;
  background: var(--green-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  margin-bottom: 18px;
}
.service-card__title { margin: 0 0 10px; font-weight: 700; font-size: 20px; letter-spacing: .3px; }
.service-card__text { margin: 0; font-size: 15px; line-height: 1.55; letter-spacing: .2px; color: var(--muted); }

/* ---- Doctor intro ----------------------------------------------------- */
.doctor { background: #fff; }
.doctor__inner { padding-top: 40px; padding-bottom: 80px; display: flex; gap: 40px; align-items: stretch; }
.doctor__card {
  flex: 1 1 60%;
  background: #fff;
  border-radius: 5px;
  box-shadow: 0 5px 15px 2px rgba(0, 0, 0, 0.12);
  padding: 40px;
}
.doctor__tags { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.tag { background: var(--green-tint); color: var(--green); font-size: 13px; font-weight: 600; padding: 7px 14px; border-radius: 150px; }
.doctor__title { margin: 0 0 22px; font-weight: 700; font-size: 28px; line-height: 1.25; }
.doctor__text { margin: 0 0 16px; font-size: 16px; line-height: 1.65; color: #444; }
.doctor__text:last-child { margin-bottom: 0; }
.doctor__photo {
  flex: 1 1 40%;
  min-height: 440px;
  border-radius: 5px;
  background-image: url('../assets/images/doctor-intro.jpg');
  background-size: cover;
  background-position: 70% center;
  box-shadow: 0 10px 30px 2px rgba(0, 0, 0, 0.15);
}

/* ---- Testimonials ----------------------------------------------------- */
.testimonials { background: var(--paper); }
.testimonials__inner { padding-top: 80px; padding-bottom: 80px; }
.testimonials__head { margin-bottom: 44px; }
.testimonials__row { display: flex; gap: 22px; }
.testimonial {
  flex: 1 1 0;
  background: #fff;
  border-radius: 5px;
  box-shadow: 0 5px 15px 2px rgba(0, 0, 0, 0.10);
  padding: 30px 28px;
}
.testimonial__stars { margin-bottom: 16px; }
.testimonial__quote { margin: 0 0 22px; font-size: 16px; line-height: 1.6; }
.testimonial__author { display: flex; align-items: center; gap: 12px; }
.testimonial__avatar {
  width: 44px;
  height: 44px;
  border-radius: 22px;
  background: var(--green-tint);
  color: var(--green);
  font-weight: 700;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.testimonial__name { margin: 0; font-weight: 700; font-size: 15px; }
.testimonial__role { margin: 0; font-size: 14px; color: var(--muted); }

/* ---- CTA band --------------------------------------------------------- */
.cta {
  position: relative;
  min-height: 560px;
  background-image:
    linear-gradient(90deg, rgba(23,37,42,0.92) 0%, rgba(23,37,42,0.68) 60%, rgba(23,37,42,0.4) 100%),
    url('../assets/images/cta.jpg');
  background-size: cover;
  background-position: 50% 55%;
  display: flex;
  align-items: center;
}
.cta__inner { padding-top: 80px; padding-bottom: 80px; width: 100%; }
.cta__content { max-width: 980px; }
.cta__eyebrow { margin: 0 0 12px; font-style: italic; font-weight: 600; font-size: 18px; letter-spacing: 1px; color: #B8C9A8; }
.cta__title { margin: 0 0 22px; font-weight: 700; font-size: 36px; line-height: 1.2; letter-spacing: .5px; color: #fff; }
.cta__text { margin: 0 0 14px; font-size: 18px; line-height: 1.6; color: rgba(255, 255, 255, 0.92); }
.cta__text:last-of-type { margin-bottom: 34px; }
.cta__actions { display: flex; align-items: center; gap: 28px; }
.cta__call-link { text-decoration: underline; color: #fff; font-size: 16px; font-weight: 700; }

/* ---- Signoff ---------------------------------------------------------- */
.signoff { background: #fff; }
.signoff__inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 80px 48px;
  display: flex;
  gap: 34px;
  align-items: center;
  justify-content: center;
}
.signoff__photo {
  width: 402px;
  height: 290px;
  flex-shrink: 0;
  border-radius: 5px;
  background-image: url('../assets/images/signoff.jpg');
  background-size: cover;
  background-position: 60% 20%;
  box-shadow: 0 10px 30px 2px rgba(0, 0, 0, 0.15);
}
.signoff__card {
  flex: 1 1 0;
  max-width: 787px;
  background: #fff;
  border-radius: 5px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
  padding: 60px 48px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.signoff__lead { margin: 0; font-style: italic; font-weight: 600; font-size: 18px; line-height: 1.4; }
.signoff__name { margin: 0; font-weight: 700; font-size: 18px; }
.signoff__meta { margin: 0; font-size: 16px; line-height: 1.55; color: var(--muted); }

/* ---- FAQ -------------------------------------------------------------- */
.faq { background: var(--paper); }
.faq__inner { max-width: 880px; margin: 0 auto; padding: 80px 48px; }
.faq__head { margin-bottom: 40px; }
.faq__list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: #fff; border-radius: 5px; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06); overflow: hidden; }
.faq-item__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 28px;
  font-weight: 700;
  font-size: 17px;
  list-style: none;
  cursor: pointer;
}
.faq-item__summary::-webkit-details-marker { display: none; }
.faq-item__icon {
  flex-shrink: 0;
  font-size: 26px;
  font-weight: 400;
  color: var(--green);
  line-height: 1;
  transition: transform .25s ease;
}
.faq-item[open] .faq-item__icon { transform: rotate(45deg); }
.faq-item__body { padding: 0 28px 24px; font-size: 15px; line-height: 1.65; color: var(--muted); }

/* ---- Map -------------------------------------------------------------- */
.map { line-height: 0; border-top: 1px solid #d3d3d3; border-bottom: 1px solid #d3d3d3; }
.map__frame { display: block; width: 100%; height: 450px; border: 0; }

/* ---- Footer ----------------------------------------------------------- */
.footer { background: #fff; border-top: 1px solid #ececec; }
.footer__inner { padding-top: 40px; padding-bottom: 40px; }
.footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid #f0f0f0;
  margin-bottom: 32px;
}
.footer__legal-link { text-decoration: none; color: var(--ink); font-size: 15px; font-weight: 600; }
.footer__cols { display: flex; justify-content: center; gap: 120px; flex-wrap: wrap; }
.footer__col { font-size: 16px; line-height: 1.55; color: #1F1D1D; }
.footer__phone { color: #1F1D1D; font-weight: 700; text-decoration: none; }
.footer__social { margin-top: 10px; }
.footer__social img { width: 24px; height: 24px; }

/* ---- Responsive ------------------------------------------------------- */
@media (max-width: 1024px) {
  .services__grid { grid-template-columns: 1fr 1fr; }
  .doctor__inner { flex-direction: column; }
  .doctor__card, .doctor__photo { width: 100%; flex: 1 1 auto; }
  .signoff__inner { flex-direction: column; }
  .signoff__photo, .signoff__card { width: 100%; }
  .testimonials__row { flex-wrap: wrap; }
  .testimonial { flex: 1 1 280px; }
  .address-card { grid-template-columns: 1fr; }
  .address-card__cell + .address-card__cell { border-left: none; border-top: 1px solid #ddd; }
  .footer__cols { flex-direction: column; gap: 28px; }
}
@media (max-width: 720px) {
  :root { --content-pad: 24px; }
  .services__grid { grid-template-columns: 1fr; }
  .trust-strip__inner { flex-wrap: wrap; gap: 22px 32px; justify-content: flex-start; }
  .hero__title { font-size: 40px; }
  .section-head__title { font-size: 28px; }
  .banner__title, .cta__title { font-size: 26px; }
  .hero__actions, .cta__actions { flex-direction: column; align-items: flex-start; }
}
