/* EDELBISS – Subpage Layout (designkonsistent zur Home) */

:root {
  --background: #fffdf5;
  --background-soft: #f9f4e6;
  --brown: #201914;
  --brown-soft: #2c2319;
  --yellow: #ffebc4;
  --beige: #b8aea7;
  --dark-green: #2d3622;
  --line: rgba(32, 25, 20, 0.12);
  --line-soft: rgba(32, 25, 20, 0.06);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--background);
  color: var(--brown);
  font-family: "Neuehaasdisplay Roman", "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

h1, h2, h3, h4 {
  font-family: "freight-display-pro", "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.015em;
  color: var(--brown);
  margin: 0 0 0.4em;
  line-height: 1.05;
}

h1 { font-size: clamp(48px, 6.5vw, 96px); }
h2 { font-size: clamp(36px, 4.4vw, 64px); }
h3 { font-size: clamp(24px, 2.4vw, 34px); }
h4 { font-size: clamp(20px, 1.6vw, 24px); }

p { margin: 0 0 1em; max-width: 60ch; }

.eyebrow {
  font-family: "Neuehaasdisplay Roman", sans-serif;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--brown);
  opacity: 0.65;
  margin-bottom: 16px;
  display: inline-block;
}

/* === NAV === */
.nb-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 48px;
  background: rgba(255, 253, 245, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-soft);
}
.nb-nav__brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nb-nav__brand img { height: 28px; width: auto; }
.nb-nav__brand-name {
  font-family: "freight-display-pro", serif;
  font-size: 22px;
  letter-spacing: -0.01em;
}
.nb-nav__menu {
  display: flex;
  gap: 36px;
  align-items: center;
}
.nb-nav__link {
  font-size: 14px;
  letter-spacing: 0.04em;
  position: relative;
  padding: 6px 0;
  color: var(--brown);
  transition: opacity 0.2s ease;
}
.nb-nav__link:hover { opacity: 0.6; }
.nb-nav__link.is-active::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--brown);
}
.nb-nav__cta {
  background: var(--brown);
  color: var(--yellow);
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 14px;
  letter-spacing: 0.02em;
  transition: background 0.2s ease, transform 0.2s ease;
}
.nb-nav__cta:hover { background: var(--dark-green); }
.nb-nav__lang {
  font-size: 13px;
  letter-spacing: 0.1em;
  opacity: 0.5;
  pointer-events: none;
  border-left: 1px solid var(--line);
  padding-left: 22px;
}
.nb-nav__lang em { font-style: normal; color: var(--brown); opacity: 1; }

@media (max-width: 900px) {
  .nb-nav { padding: 16px 22px; }
  .nb-nav__menu { gap: 18px; }
  .nb-nav__link, .nb-nav__cta, .nb-nav__lang { font-size: 12px; }
  .nb-nav__lang { display: none; }
}
@media (max-width: 700px) {
  .nb-nav__menu .nb-nav__link { display: none; }
}

/* === HERO === */
.nb-hero {
  min-height: 64vh;
  padding: 168px 48px 96px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: var(--brown);
  color: var(--yellow);
  border-bottom: 1px solid var(--line);
}
.nb-hero__inner { max-width: 1280px; margin: 0 auto; width: 100%; }
.nb-hero__title { margin-bottom: 24px; }
.nb-hero__lead {
  font-size: clamp(18px, 1.5vw, 22px);
  max-width: 56ch;
  line-height: 1.45;
  opacity: 0.78;
}

/* === SECTION === */
.nb-section {
  padding: 120px 48px;
  border-bottom: 1px solid var(--line-soft);
}
.nb-section--soft { background: var(--background-soft); }
.nb-section--dark { background: var(--brown); color: var(--yellow); }
.nb-section--dark h1, .nb-section--dark h2, .nb-section--dark h3, .nb-section--dark h4 { color: var(--yellow); }
.nb-section--dark .eyebrow { color: var(--yellow); opacity: 0.55; }
.nb-section__inner { max-width: 1280px; margin: 0 auto; }

.nb-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.nb-grid--3 { grid-template-columns: repeat(3, 1fr); gap: 48px; }
.nb-grid--narrow { grid-template-columns: 0.9fr 1.1fr; gap: 96px; }
@media (max-width: 900px) {
  .nb-grid, .nb-grid--3, .nb-grid--narrow { grid-template-columns: 1fr; gap: 48px; }
  .nb-section { padding: 72px 22px; }
  .nb-hero { padding: 132px 22px 64px; }
}

/* === CARDS === */
.nb-card {
  border-top: 1px solid var(--line);
  padding-top: 28px;
}
.nb-card__icon {
  width: 56px;
  height: 56px;
  margin-bottom: 24px;
  opacity: 0.85;
}
.nb-card__title { margin-bottom: 12px; }
.nb-card__text { opacity: 0.78; }

.nb-leistung-card {
  display: block;
  padding: 36px 32px;
  background: var(--background);
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.nb-leistung-card:hover { transform: translateY(-4px); border-color: var(--brown); }
.nb-leistung-card__icon { width: 48px; height: 48px; margin-bottom: 20px; }
.nb-leistung-card__arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.nb-leistung-card__arrow::after { content: "→"; font-size: 15px; }

/* === LIST === */
.nb-list { list-style: none; padding: 0; margin: 0; }
.nb-list li {
  padding: 18px 0;
  border-top: 1px solid var(--line-soft);
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.nb-list li::before {
  content: "—";
  display: inline-block;
  width: 16px;
  flex-shrink: 0;
  opacity: 0.5;
}
.nb-list--numbered { counter-reset: nbl; }
.nb-list--numbered li::before {
  counter-increment: nbl;
  content: counter(nbl, decimal-leading-zero);
  font-variant-numeric: tabular-nums;
  opacity: 0.45;
  font-size: 13px;
}

/* === BUTTON / CTA === */
.nb-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 28px;
  border-radius: 999px;
  background: var(--brown);
  color: var(--yellow);
  font-size: 15px;
  letter-spacing: 0.02em;
  border: 1px solid var(--brown);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.nb-btn:hover { background: var(--dark-green); border-color: var(--dark-green); }
.nb-btn--ghost { background: transparent; color: var(--brown); }
.nb-btn--ghost:hover { background: var(--brown); color: var(--yellow); }
.nb-btn--on-dark { background: var(--yellow); color: var(--brown); border-color: var(--yellow); }
.nb-btn--on-dark:hover { background: #fff; border-color: #fff; }

/* === CTA BLOCK === */
.nb-cta-block {
  padding: 120px 48px;
  background: var(--brown);
  color: var(--yellow);
  text-align: center;
}
.nb-cta-block h2 { color: var(--yellow); max-width: 18ch; margin: 0 auto 24px; }
.nb-cta-block p { color: var(--yellow); opacity: 0.7; max-width: 48ch; margin: 0 auto 36px; }

/* === FORM === */
.nb-form { display: grid; gap: 18px; }
.nb-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.nb-form input, .nb-form select, .nb-form textarea {
  width: 100%;
  padding: 16px 18px;
  border: 1px solid var(--line);
  background: var(--background);
  font: inherit;
  color: var(--brown);
  border-radius: 4px;
  outline: none;
  transition: border-color 0.2s ease;
}
.nb-form input:focus, .nb-form select:focus, .nb-form textarea:focus { border-color: var(--brown); }
.nb-form textarea { min-height: 140px; resize: vertical; }
.nb-form__consent {
  font-size: 13px;
  opacity: 0.7;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.nb-form__consent input { width: auto; margin-top: 4px; }
@media (max-width: 700px) {
  .nb-form__row { grid-template-columns: 1fr; }
}

/* === FOOTER === */
.nb-footer {
  background: var(--brown);
  color: var(--yellow);
  padding: 96px 48px 36px;
}
.nb-footer__inner { max-width: 1280px; margin: 0 auto; }
.nb-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 64px;
  border-bottom: 1px solid rgba(255, 235, 196, 0.15);
}
.nb-footer__brand img { height: 36px; margin-bottom: 20px; filter: invert(1) brightness(2); }
.nb-footer__brand p { font-size: 14px; opacity: 0.7; max-width: 30ch; }
.nb-footer__col h4 {
  color: var(--yellow);
  font-family: "Neuehaasdisplay Roman", sans-serif;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.55;
  margin-bottom: 20px;
  font-weight: 400;
}
.nb-footer__col ul { list-style: none; padding: 0; margin: 0; }
.nb-footer__col li { padding: 6px 0; }
.nb-footer__col a { font-size: 15px; opacity: 0.85; transition: opacity 0.2s; }
.nb-footer__col a:hover { opacity: 1; }
.nb-footer__bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 28px;
  font-size: 13px;
  opacity: 0.55;
  flex-wrap: wrap;
  gap: 16px;
}
.nb-footer__legal { display: flex; gap: 24px; }
.nb-footer__legal a { color: var(--yellow); }
@media (max-width: 900px) {
  .nb-footer { padding: 64px 22px 28px; }
  .nb-footer__grid { grid-template-columns: 1fr 1fr; gap: 36px; padding-bottom: 36px; }
}
@media (max-width: 600px) {
  .nb-footer__grid { grid-template-columns: 1fr; }
}

/* === MISC === */
.nb-divider { height: 1px; background: var(--line); margin: 0; border: 0; }
.nb-status-pill {
  display: inline-block;
  padding: 6px 14px;
  background: var(--yellow);
  color: var(--brown);
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.nb-quote {
  font-family: "freight-display-pro", serif;
  font-size: clamp(24px, 2.2vw, 32px);
  line-height: 1.35;
  padding: 32px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  max-width: 60ch;
}
.nb-quote__source {
  font-family: "Neuehaasdisplay Roman", sans-serif;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 16px;
  opacity: 0.6;
}

.nb-meta { font-size: 14px; line-height: 1.7; opacity: 0.78; }
.nb-meta strong { font-weight: 500; opacity: 1; }

/* Compact Hero für Rechts-Seiten */
.nb-hero--compact { min-height: auto; padding: 168px 48px 48px; }
.nb-hero--compact .nb-hero__title { font-size: clamp(40px, 4.8vw, 64px); }

/* Aktiv-State auf CTA-Button (für /termin/) */
.nb-nav__cta.is-active { background: var(--yellow); color: var(--brown); }

/* Legal-Seiten: Impressum, Datenschutz */
.nb-legal {
  max-width: 760px;
  font-size: 16px;
  line-height: 1.7;
}
.nb-legal h2 {
  font-size: clamp(22px, 2vw, 28px);
  margin-top: 56px;
  margin-bottom: 14px;
  letter-spacing: -0.005em;
}
.nb-legal h2:first-of-type { margin-top: 0; }
.nb-legal h3 {
  font-family: "Neuehaasdisplay Roman", sans-serif;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  margin-top: 28px;
  margin-bottom: 8px;
}
.nb-legal p { max-width: 720px; margin-bottom: 14px; }
.nb-legal ul {
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
}
.nb-legal ul li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 8px;
}
.nb-legal ul li::before {
  content: "—";
  position: absolute;
  left: 0;
  opacity: 0.5;
}
.nb-legal a { text-decoration: underline; text-underline-offset: 3px; }

/* Ghost-Button für deaktivierte CTAs (z.B. Doctolib folgt) */
.nb-btn--ghost {
  background: transparent;
  color: var(--brown);
  border: 1px solid var(--line);
}

/* Dark hero overrides (matches Home Quantum-Body dark theme so transparent nav reads) */
.nb-hero h1, .nb-hero h2, .nb-hero h3, .nb-hero h4,
.nb-hero__title { color: var(--yellow); }
.nb-hero .eyebrow { color: var(--yellow); opacity: 0.55; }
.nb-hero__lead { color: var(--yellow); opacity: 0.78; }
.nb-hero a:not(.nb-btn):not(.nb-btn--ghost):not(.kb-nav__cta):not(.kb-nav__brand) {
  color: var(--yellow);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.nb-hero { border-bottom: 1px solid rgba(255, 235, 196, 0.12); }

