/* =========================================================
   Zahnarztpraxis Sina Vahidi — Kleinwallstadt
   Modern, clean dental practice site. White + Dark Blue.
   ========================================================= */

:root {
  --navy:        #0B2545;
  --navy-2:      #13315C;
  --navy-soft:   #1B3A66;
  --blue:        #2E6FA7;
  --accent:      #0E6B8C;   /* teal-blue accent */
  --accent-dark: #0A5670;
  --bg:          #ffffff;
  --bg-soft:     #f3f7fb;
  --bg-soft-2:   #eaf2f9;
  --text:        #1c2b3a;
  --text-soft:   #51637a;
  --line:        #e2eaf2;
  --white:       #ffffff;
  --shadow-sm:   0 2px 10px rgba(11, 37, 69, .06);
  --shadow:      0 10px 30px rgba(11, 37, 69, .10);
  --shadow-lg:   0 24px 60px rgba(11, 37, 69, .16);
  --radius:      18px;
  --radius-sm:   12px;
  --maxw:        1180px;
  --ease:        cubic-bezier(.22,.61,.36,1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: 'Poppins', system-ui, sans-serif; line-height: 1.18; color: var(--navy); font-weight: 700; letter-spacing: -.02em; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

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

.section { padding: 96px 0; }
.section--soft { background: var(--bg-soft); }
.section--navy { background: var(--navy); color: #dce7f3; }
.section--navy h2, .section--navy h3 { color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px; border-radius: 50px;
  font-weight: 600; font-size: .98rem; cursor: pointer;
  border: 2px solid transparent; transition: all .25s var(--ease);
  white-space: nowrap;
}
.btn--primary { background: var(--accent); color: #ffffff; box-shadow: 0 8px 24px rgba(14,107,140,.35); }
.btn--primary:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(14,107,140,.45); }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent-dark); }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--outline-light { border-color: rgba(255,255,255,.4); color: #fff; }
.btn--outline-light:hover { background: rgba(255,255,255,.12); }

/* ---------- Header / Nav ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  transition: all .3s var(--ease);
}
.header.scrolled { background: rgba(255,255,255,.92); backdrop-filter: blur(14px); box-shadow: var(--shadow-sm); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 78px; }

.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; color: var(--navy); }
.brand__mark {
  width: 46px; height: 46px; border-radius: 13px; overflow: hidden;
  background: linear-gradient(135deg, #3E68B8 0%, #274A8C 45%, #0B2545 100%);
  display: grid; place-items: center; color: #fff; flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(39,74,140,.35);
}
.brand__mark img { width: 78%; height: 78%; object-fit: contain; display: block; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name { font-size: .98rem; font-weight: 700; white-space: nowrap; letter-spacing: -.01em; }
.brand__sub { font-size: .74rem; font-weight: 600; color: #274A8C; letter-spacing: .01em; white-space: nowrap; }

.nav__links { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav__links a {
  padding: 10px 16px; border-radius: 10px; font-weight: 500; font-size: .95rem;
  color: var(--navy-2); transition: all .2s var(--ease);
}
.nav__links a:hover, .nav__links a.active { color: var(--accent-dark); background: var(--bg-soft); }

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

.lang { display: flex; background: var(--bg-soft); border-radius: 50px; padding: 4px; gap: 2px; }
.lang button {
  border: 0; background: transparent; cursor: pointer; padding: 6px 12px;
  border-radius: 50px; font-weight: 600; font-size: .82rem; color: var(--text-soft);
  transition: all .2s var(--ease); font-family: inherit;
}
.lang button.active { background: var(--navy); color: #fff; }

.nav__toggle { display: none; background: none; border: 0; cursor: pointer; width: 44px; height: 44px; }
.nav__toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px auto; transition: .3s var(--ease); border-radius: 2px; }
.nav__toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; padding: 150px 0 100px;
  background:
    radial-gradient(1100px 500px at 85% -10%, rgba(14,107,140,.12), transparent 60%),
    linear-gradient(180deg, #f7fbff 0%, #ffffff 100%);
  overflow: hidden;
}
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 600;
  color: var(--accent-dark); background: #e4f1f6; padding: 8px 16px; border-radius: 50px;
  letter-spacing: .04em; margin-bottom: 22px;
}
.hero__eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.hero h1 { font-size: clamp(2.3rem, 4.6vw, 3.5rem); margin-bottom: 20px; }
.hero h1 .hl { color: var(--accent-dark); }
.hero__lead { font-size: 1.12rem; color: var(--text-soft); max-width: 540px; margin-bottom: 32px; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.hero__stats { display: flex; gap: 36px; flex-wrap: wrap; }
.stat__num { font-size: 1.9rem; font-weight: 700; color: var(--navy); }
.stat__label { font-size: .86rem; color: var(--text-soft); }

.hero__visual { position: relative; }
.hero__img {
  border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-lg);
  aspect-ratio: 4/4.4; position: relative;
}
.hero__img img { width: 100%; height: 100%; object-fit: cover; }
.hero__badge {
  position: absolute; background: #fff; border-radius: var(--radius); padding: 16px 20px;
  box-shadow: var(--shadow); display: flex; align-items: center; gap: 12px;
}
.hero__badge--tl { top: 26px; left: -28px; }
.hero__badge--br { bottom: 30px; right: -24px; }
.hero__badge .ic { width: 42px; height: 42px; border-radius: 12px; background: var(--bg-soft-2); display: grid; place-items: center; color: var(--accent-dark); }
.hero__badge .ic svg { width: 22px; height: 22px; }
.hero__badge b { display: block; font-size: .95rem; color: var(--navy); }
.hero__badge span { font-size: .78rem; color: var(--text-soft); }

/* ---------- Opening announcement ---------- */
.announce {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  background: linear-gradient(135deg, #3E68B8 0%, #13315C 100%);
  color: #fff; padding: 16px 22px; border-radius: 16px;
  box-shadow: 0 14px 34px rgba(19,49,92,.28);
  margin-bottom: 44px;
}
.announce__ic { width: 40px; height: 40px; border-radius: 11px; background: rgba(255,255,255,.14); display: grid; place-items: center; flex-shrink: 0; color: #fff; }
.announce__ic svg { width: 22px; height: 22px; }
.announce__badge { background: #fff; color: #274A8C; font-weight: 700; font-size: .8rem; padding: 6px 15px; border-radius: 50px; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; flex-shrink: 0; }
.announce__text { font-size: 1.02rem; font-weight: 500; color: #eaf2fb; }
@media (max-width: 760px) {
  .announce { padding: 14px 16px; gap: 12px; margin-bottom: 32px; }
  .announce__text { font-size: .92rem; flex-basis: 100%; }
}

/* ---------- Trust bar ---------- */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.trust__row { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 28px 0; }
.trust__item { display: flex; align-items: center; gap: 12px; color: var(--navy-2); font-weight: 500; font-size: .95rem; }
.trust__item svg { width: 22px; height: 22px; color: var(--accent-dark); flex-shrink: 0; }

/* ---------- Section heading ---------- */
.head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.head--left { margin-left: 0; text-align: left; }
.head__eyebrow { font-size: .82rem; font-weight: 700; color: var(--accent-dark); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; display: block; }
.head h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); margin-bottom: 16px; }
.head p { color: var(--text-soft); font-size: 1.05rem; }

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.svc {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 30px; transition: all .3s var(--ease); position: relative; overflow: hidden;
}
.svc::after { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.svc:hover { box-shadow: var(--shadow); transform: translateY(-6px); border-color: transparent; }
.svc:hover::after { transform: scaleX(1); }
.svc__ic { width: 58px; height: 58px; border-radius: 16px; background: var(--bg-soft-2); display: grid; place-items: center; color: var(--navy); margin-bottom: 22px; transition: all .3s var(--ease); }
.svc__ic svg { width: 28px; height: 28px; }
.svc:hover .svc__ic { background: var(--navy); color: #fff; }
.svc h3 { font-size: 1.2rem; margin-bottom: 10px; }
.svc p { color: var(--text-soft); font-size: .95rem; }

/* ---------- About / split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split__img { border-radius: 26px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 5/4; }
.split__img img { width: 100%; height: 100%; object-fit: cover; }
.split h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 18px; }
.split p { color: var(--text-soft); margin-bottom: 18px; }
/* photo not supplied yet — hide placeholder and collapse to a single column until a real photo is added */
.split--photo-pending { grid-template-columns: 1fr; max-width: 720px; margin: 0 auto; }
.split--photo-pending .split__img { display: none; }
.vlist { list-style: none; display: grid; gap: 14px; margin: 26px 0 30px; }
.vlist li { display: flex; gap: 12px; align-items: flex-start; }
.vlist .chk { width: 26px; height: 26px; border-radius: 8px; background: #e4f1f6; color: var(--accent-dark); display: grid; place-items: center; flex-shrink: 0; }
.vlist .chk svg { width: 16px; height: 16px; }
.vlist b { color: var(--navy); }

/* ---------- Values cards ---------- */
.values { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; }
.value { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); padding: 34px 28px; }
.value__ic { width: 54px; height: 54px; border-radius: 14px; background: rgba(14,107,140,.16); color: var(--accent); display: grid; place-items: center; margin-bottom: 20px; }
.value__ic svg { width: 26px; height: 26px; }
.value h3 { font-size: 1.2rem; margin-bottom: 10px; }
.value p { color: #b9c8db; font-size: .95rem; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; counter-reset: step; }
.step { text-align: center; padding: 10px; }
.step__num { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%; background: var(--bg-soft); color: var(--navy); display: grid; place-items: center; font-size: 1.4rem; font-weight: 700; border: 2px solid var(--line); }
.step h3 { font-size: 1.1rem; margin-bottom: 8px; }
.step p { color: var(--text-soft); font-size: .9rem; }

/* ---------- Testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; }
.quote { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm); }
.quote__stars { color: #f5b942; margin-bottom: 14px; letter-spacing: 2px; }
.quote p { color: var(--text); font-style: italic; margin-bottom: 20px; }
.quote__who { display: flex; align-items: center; gap: 12px; }
.quote__av { width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(135deg,var(--blue),var(--accent)); color: #fff; display: grid; place-items: center; font-weight: 700; }
.quote__who b { display: block; color: var(--navy); font-size: .95rem; }
.quote__who span { font-size: .82rem; color: var(--text-soft); }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 60%, var(--blue) 130%);
  border-radius: 28px; padding: 64px 56px; color: #fff; text-align: center; position: relative; overflow: hidden;
}
.cta-band::before { content:""; position:absolute; width:340px;height:340px;border-radius:50%; background:radial-gradient(circle,rgba(14,107,140,.3),transparent 70%); top:-120px; right:-80px; }
.cta-band h2 { color:#fff; font-size: clamp(1.7rem,3vw,2.4rem); margin-bottom: 14px; position: relative; }
.cta-band p { color:#c8d6e8; max-width: 560px; margin: 0 auto 30px; position: relative; }
.cta-band .hero__cta { justify-content: center; position: relative; margin: 0; }

/* ---------- Page hero (subpages) ---------- */
.pagehero { padding: 140px 0 70px; background: linear-gradient(180deg,#f7fbff,#fff); text-align: center; }
.pagehero .crumb { font-size: .85rem; color: var(--text-soft); margin-bottom: 14px; }
.pagehero .crumb a:hover { color: var(--accent-dark); }
.pagehero h1 { font-size: clamp(2rem,4vw,3rem); margin-bottom: 14px; }
.pagehero p { color: var(--text-soft); font-size: 1.1rem; max-width: 620px; margin: 0 auto; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 50px; align-items: start; }
.contact-grid--no-form { grid-template-columns: 1fr; max-width: 640px; margin: 0 auto; }
.info-card { display: flex; gap: 16px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 16px; transition: all .25s var(--ease); }
.info-card:hover { box-shadow: var(--shadow-sm); border-color: var(--accent); }
.info-card .ic { width: 48px; height: 48px; border-radius: 12px; background: var(--bg-soft-2); color: var(--navy); display: grid; place-items: center; flex-shrink: 0; }
.info-card .ic svg { width: 22px; height: 22px; }
.info-card b { display: block; color: var(--navy); margin-bottom: 4px; }
.info-card span, .info-card a { color: var(--text-soft); font-size: .95rem; }

.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow-sm); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .88rem; font-weight: 600; color: var(--navy); margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 16px; border: 1.5px solid var(--line); border-radius: 12px;
  font-family: inherit; font-size: .95rem; color: var(--text); background: #fff; transition: all .2s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(14,107,140,.12); }
.field textarea { resize: vertical; min-height: 120px; }
.form__note { font-size: .82rem; color: var(--text-soft); margin-top: 4px; }
.form__ok { display:none; background:#e4f1f6; color:var(--accent-dark); border:1px solid #b3d9e6; padding:14px 18px; border-radius:12px; margin-bottom:18px; font-size:.92rem; font-weight:500; }
.form__ok.show { display:block; }

.map-wrap { margin-top: 22px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); height: 320px; }
.map-wrap iframe { width: 100%; height: 100%; border: 0; }

/* ---------- Hours table ---------- */
.hours { list-style: none; }
.hours li { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 11px 0; border-bottom: 1px dashed var(--line); font-size: .95rem; }
.hours li:last-child { border-bottom: 0; }
.hours .day { color: var(--navy); font-weight: 500; }
.hours .time { color: var(--text-soft); text-align: left; }
.hours .closed { color: #c0506b; }

/* ---------- Team ---------- */
.team { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
/* photo not supplied yet — hide placeholder member and re-center the remaining ones */
.team--photo-pending { grid-template-columns: repeat(2,1fr); max-width: 640px; margin: 0 auto; }
.member--photo-pending { display: none; }
.member { text-align: center; }
.member__img { aspect-ratio: 1; border-radius: 20px; overflow: hidden; margin-bottom: 18px; box-shadow: var(--shadow-sm); }
.member__img img { width:100%; height:100%; object-fit: cover; }
.member h3 { font-size: 1.15rem; margin-bottom: 4px; }
.member .role { color: var(--accent-dark); font-weight: 500; font-size: .9rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin: 0 auto; }
.acc { border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 14px; overflow: hidden; background: #fff; }
.acc__q { width: 100%; text-align: left; background: none; border: 0; cursor: pointer; padding: 20px 24px; font-family: inherit; font-size: 1.02rem; font-weight: 600; color: var(--navy); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.acc__q .pm { width: 26px; height: 26px; flex-shrink: 0; border-radius: 50%; background: var(--bg-soft); display: grid; place-items: center; transition: all .25s var(--ease); color: var(--accent-dark); font-size: 1.2rem; }
.acc.open .acc__q .pm { background: var(--accent); color: #fff; transform: rotate(45deg); }
.acc__a { max-height: 0; overflow: hidden; transition: max-height .3s var(--ease); }
.acc__a p { padding: 0 24px 22px; color: var(--text-soft); font-size: .96rem; }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: #aebfd4; padding: 70px 0 28px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; margin-bottom: 48px; }
.footer .brand { color: #fff; margin-bottom: 18px; }
.footer .brand__sub { color: #3E68B8; }
.footer p { font-size: .92rem; color: #9fb2cb; max-width: 280px; }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 18px; }
.footer ul { list-style: none; display: grid; gap: 10px; }
.footer ul a, .footer ul li { font-size: .92rem; color: #9fb2cb; transition: color .2s; }
.footer ul a:hover { color: var(--accent); }
.footer .fcontact { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; font-size: .92rem; }
.footer .fcontact svg { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.socials { display: flex; gap: 10px; margin-top: 6px; }
.socials a { width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,.07); display: grid; place-items: center; color: #cdd9e8; transition: all .25s var(--ease); }
.socials a:hover { background: var(--accent); color: #ffffff; transform: translateY(-2px); }
.socials svg { width: 19px; height: 19px; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .85rem; color: #8499b5; }
.footer__bottom a:hover { color: var(--accent); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero__grid, .split, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero__visual { max-width: 460px; margin: 0 auto; }
  .services, .values, .quotes, .team { grid-template-columns: repeat(2,1fr); }
  .steps { grid-template-columns: repeat(2,1fr); row-gap: 36px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 760px) {
  .section { padding: 70px 0; }
  .nav__links { position: fixed; top: 78px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; padding: 16px; gap: 4px; box-shadow: var(--shadow); transform: translateY(-130%); transition: transform .35s var(--ease); border-top: 1px solid var(--line); }
  .nav__links.open { transform: translateY(0); }
  .nav__links a { padding: 14px 16px; }
  .nav__toggle { display: block; }
  .nav__right .btn { display: none; }
  .services, .values, .quotes, .team, .steps, .form-row, .footer__grid { grid-template-columns: 1fr; }
  .brand__mark { width: 38px; height: 38px; }
  .brand__name { font-size: .8rem; }
  .brand__sub { font-size: .68rem; }
  .lang { display: none; }
  .cta-band { padding: 48px 26px; }
  .hero__badge--tl { left: 8px; }
  .hero__badge--br { right: 8px; }
}
