/* Second View – www.second-view.eu
   Statischer Nachbau der Squarespace-Seite. Design-Tokens aus dem Original:
   Poppins (Fließtext), Manrope (Überschriften/Logo), Schwarz/Weiß/#f4f4f4. */

:root {
  --c-black: #000;
  --c-white: #fff;
  --c-light: #f4f4f4;
  --font-body: 'Poppins', 'Helvetica Neue', Arial, sans-serif;
  --font-head: 'Manrope', 'Helvetica Neue', Arial, sans-serif;
  --pad-x: clamp(20px, 3.9vw, 56px);
  --radius-card: 10px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--c-black);
  background: var(--c-white);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.015em;
}

h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.9rem); }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.8rem); }

p + p, p + ul, ul + p { margin-top: 1em; }

a { color: inherit; }

strong, b { font-weight: 600; }

/* ---------- Header ---------- */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.4rem var(--pad-x);
  background: var(--c-white);
  border-bottom: 1px solid var(--c-black);
}

.site-header .logo {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 1.45rem;
  letter-spacing: -0.01em;
  text-decoration: none;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.3;
  padding: 0.95rem 1.6rem;
  border: 1px solid var(--c-black);
  border-radius: 6px;
  background: transparent;
  color: var(--c-black);
  text-decoration: none;
  text-align: center;
  transition: background 0.2s ease, color 0.2s ease;
}

.btn:hover { background: var(--c-black); color: var(--c-white); }

.btn--wide { padding: 1.4rem 3.5rem; }

/* ---------- Sektionen / Layout ---------- */

.section {
  padding: clamp(3.5rem, 8vw, 7rem) var(--pad-x);
}

.section--light { background: var(--c-light); }
.section--black { background: var(--c-black); color: var(--c-white); }

.section--round-top {
  border-top-left-radius: 44px;
  border-top-right-radius: 44px;
  margin-top: -44px;
  position: relative;
}

.inner { max-width: 1760px; margin: 0 auto; }
.inner--narrow { max-width: 1150px; margin: 0 auto; }

/* Zweispaltige Splits (Text/Bild) */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5.5rem);
  align-items: center;
  max-width: 1760px;
  margin: 0 auto;
}

.split--top { align-items: start; }

.split .lead { font-size: clamp(1.02rem, 1.35vw, 1.25rem); }

.split h2, .split h3 { margin-bottom: 1.2rem; }

.split .btn { margin-top: 2.2rem; }

.img-round img { border-radius: 24px; }
.img-round-xl img { border-radius: 60px; }
.img-circle img { border-radius: 50%; aspect-ratio: 1; object-fit: cover; }

/* Wellen-Trenner (wie im Original zwischen den Sektionen) */
.wave { display: block; width: 100%; height: 90px; }
.wave--light-down { background: var(--c-light); }
.wave path { fill: var(--c-white); }
.wave--to-light { background: var(--c-white); }
.wave--to-light path { fill: var(--c-light); }

/* ---------- Hero ---------- */

.hero { padding-top: clamp(2.5rem, 6vw, 5.5rem); padding-bottom: clamp(3rem, 7vw, 6.5rem); }

.hero .sub {
  margin-top: 2.2rem;
  font-size: clamp(1.02rem, 1.35vw, 1.25rem);
  max-width: 46rem;
}

.hero .btn { margin-top: 2.6rem; }

/* ---------- Schritte (nummerierte Absätze) ---------- */

.steps p { margin-top: 1.15rem; }
.steps p:first-child { margin-top: 0; }

/* ---------- Schwarzes Feature-Band ---------- */

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(2.5rem, 5vw, 6rem);
  text-align: center;
  max-width: 1560px;
  margin: 0 auto;
  padding: clamp(2rem, 4vw, 4rem) 0;
}

.features img { width: 110px; margin: 0 auto 2.2rem; }

.features h3 { font-size: 1.5rem; margin-bottom: 1.1rem; }

.features p { font-size: 0.98rem; }

/* ---------- FAQ / Accordion ---------- */

.faq {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(2rem, 6vw, 7rem);
  align-items: start;
  max-width: 1760px;
  margin: 0 auto;
}

.accordion details { border-top: 1px solid var(--c-black); }
.accordion details:last-of-type { border-bottom: 1px solid var(--c-black); }

.accordion summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding: 1.15rem 0;
  font-size: 1.02rem;
}

.accordion summary::-webkit-details-marker { display: none; }

.accordion summary::after {
  content: '+';
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1;
  flex: none;
}

.accordion details[open] summary::after { content: '–'; }

.accordion .acc-body { padding: 0.4rem 0 1.4rem; max-width: 60ch; }

.faq .btn--wide { margin-top: 3.5rem; }

/* ---------- Hinweis-Karte ---------- */

.notice-card {
  background: var(--c-white);
  border: 1.5px solid var(--c-black);
  border-radius: var(--radius-card);
  padding: clamp(2rem, 5vw, 5rem);
  max-width: 1350px;
  margin: 0 auto;
}

.notice-card h2 { margin-bottom: 1.6rem; }
.notice-card h3 { margin: 2rem 0 1rem; }
.notice-card ul { padding-left: 1.4rem; }
.notice-card li { margin: 0.5rem 0; }

/* ---------- Artikel / Prosa-Seiten ---------- */

.prose { max-width: 1150px; margin: 0 auto; }

.prose h1 { margin-bottom: 2.5rem; }
.prose h2 { margin: 2.6rem 0 1.1rem; }
.prose h3 { margin: 2rem 0 0.9rem; }
.prose h4 { margin: 1.6rem 0 0.7rem; font-size: 1.05rem; }
.prose ul, .prose ol { padding-left: 1.5rem; margin: 1em 0; }
.prose li { margin: 0.45rem 0; }
.prose img { border-radius: 12px; margin: 2.2rem 0; }
.prose .btn { margin: 2rem 0; }
.prose .article-hero { margin: 0 0 2.5rem; }

.prose--wide { max-width: 1760px; }

/* Artikel-Teaser (Wissenszentrum) */

.teaser {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(2rem, 6vw, 7rem);
  align-items: center;
  max-width: 1760px;
  margin: 0 auto;
  padding: clamp(2.5rem, 5vw, 4.5rem) 0;
}

.teaser img { border-radius: 4px; }

.teaser h2 { margin-bottom: 1.6rem; }

.teaser .more {
  display: inline-block;
  margin-top: 1.8rem;
  font-size: 1rem;
}

/* Lexikon-Liste */

.lex-list { list-style: none; padding: 0; margin-top: 2.5rem; }
.lex-list li { margin: 1.3rem 0; }
.lex-list a {
  font-size: clamp(1.15rem, 1.8vw, 1.5rem);
  font-weight: 600;
}

/* ---------- Footer ---------- */

.site-footer { background: var(--c-white); padding: 0 var(--pad-x) 2rem; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1.6fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  max-width: 1760px;
  margin: 0 auto;
  padding: 3rem 0 4rem;
}

.footer-grid .logo {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 1.45rem;
  text-decoration: none;
}

.footer-grid .tagline { margin-top: 2.2rem; font-style: italic; font-size: 0.95rem; }

.footer-grid nav a { display: block; margin: 0.35rem 0; font-size: 1rem; }

.footer-grid .copyright { margin-top: 1.6rem; font-size: 0.95rem; }

.site-footer .disclaimer {
  max-width: 1760px;
  margin: 2rem auto 0;
  font-style: italic;
  font-size: 0.98rem;
  text-align: center;
}

/* ---------- Spezielle Sektionen ---------- */

/* Hero mit randbündigem Bild rechts (Mamma / Wirbelsäule) */
.hero-flush { gap: clamp(2rem, 4vw, 4rem); align-items: center; max-width: none; }
.hero-flush > div:first-child { max-width: 780px; margin-left: auto; }
.hero-flush .hero-img img { width: 100%; height: 100%; min-height: 480px; object-fit: cover; }

/* „Die Idee" (Startseite): Hintergrundbild mit hellem Schleier */
.idea {
  position: relative;
  background:
    linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)),
    url('img/chatgpt-image-29-sept-2025-19-04-43.webp') center / cover no-repeat;
}

.idea-label {
  display: inline-block;
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 2.6vw, 2.3rem);
  font-weight: 600;
  padding: 0.9em 1.6em;
  border: 2.5px solid var(--c-black);
  border-radius: 50%;
  transform: rotate(-4deg);
}

/* Ärzte-Seite: Kirschblüten-Hero */
.doctors-hero {
  background: url('img/cherry-blossoms-2-imgg-gi3-2fe1xvy6.webp') center / cover no-repeat;
  color: var(--c-white);
  text-align: left;
  padding: clamp(4rem, 10vw, 9rem) var(--pad-x) clamp(6rem, 14vw, 12rem);
}

.doctors-hero .kicker { text-align: center; font-size: 0.95rem; margin-bottom: 3rem; }

.doctors-hero h1 {
  font-size: clamp(4rem, 12.5vw, 12rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.01em;
}

.doctors-hero .sub { font-size: clamp(1.3rem, 2.4vw, 2.1rem); margin-top: 1.5rem; }

/* Nummerierte Schritte (Ärzte-Seite), linksbündig in zentrierter Sektion */
.howto {
  text-align: left;
  max-width: 820px;
  margin: 2.5rem auto 3rem;
  padding-left: 1.5rem;
}

.howto li { margin: 1.2rem 0; }

/* Bild-Collage (Service-Seiten) */
.collage { position: relative; min-height: 560px; }
.collage img { position: absolute; }
.collage .c1 { width: 42%; left: 0; top: 4%; z-index: 1; }
.collage .c2 { width: 52%; right: 0; top: 0; border-radius: 50% 50% 8px 8px / 38% 38% 8px 8px; }
.collage .c3 { width: 48%; left: 22%; bottom: 0; z-index: 2; border-radius: 50% 50% 8px 8px / 38% 38% 8px 8px; }

@media (max-width: 900px) {
  .collage { min-height: 0; }
  .collage img { position: static; width: 100% !important; margin-bottom: 1rem; border-radius: 16px; }
  .hero-flush .hero-img img { min-height: 0; }
  .hero-flush > div:first-child { padding-right: var(--pad-x); }
}

/* ---------- Einblend-Animation ---------- */

.fade {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .fade { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .split, .faq, .teaser { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero .split > .hero-img { order: -1; }
  .section--round-top { border-top-left-radius: 28px; border-top-right-radius: 28px; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .site-header { padding: 1rem var(--pad-x); }
  .site-header .btn { padding: 0.7rem 1rem; font-size: 0.85rem; }
  .wave { height: 48px; }
}
