/*
Theme Name: NOVA Diagnosis
Theme URI: https://nova-diagnosis.de
Author: Therapy Stream GmbH
Description: Individuelles WordPress-Theme für NOVA Diagnosis – klar, modern, verbindend.
Version: 1.0
Text Domain: nova-diagnosis
*/

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --ink: #121214;
  --ink-soft: #3A3A40;
  --muted: #6E6E78;
  --paper: #FAFAFA;
  --paper-deep: #F0F0F3;
  --line: #E4E4E9;
  --violet: #5B4FE9;
  --violet-deep: #4A3FD1;
  --violet-tint: #ECEAFC;
  --coral: #D97757;
  --coral-deep: #B85C3E;
  --coral-tint: #F7E9E1;
  --white: #FFFFFF;
  --shadow: 0 24px 50px -24px rgba(18, 18, 20, 0.22);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', Arial, sans-serif;
  color: var(--ink-soft);
  background: var(--paper);
  line-height: 1.6;
}
h1, h2, h3, .display {
  font-family: 'Space Grotesk', Arial, sans-serif;
  color: var(--ink);
  margin: 0 0 0.4em 0;
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.3rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.3rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em 0; }
a { color: inherit; text-decoration: none; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 32px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--coral-deep); margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--coral-deep); display: inline-block; }

/* ---------- Infinity-knot motif (abstract, echoes the logo) ---------- */
.knot { display: inline-block; }
.knot path { fill: none; stroke: var(--ink); stroke-width: 6; stroke-linecap: round; }
.on-dark .knot path { stroke: var(--white); }
.knot.accent path { stroke: var(--violet); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 250, 250, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap {
  max-width: 1140px; margin: 0 auto; padding: 18px 32px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 28px; width: auto; display: block; }
.brand-word { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 1.15rem; color: var(--ink); letter-spacing: -0.01em; }
.main-nav { display: flex; gap: 32px; font-weight: 600; font-size: 0.92rem; }
.main-nav a { padding: 6px 2px; color: var(--coral-deep); border-bottom: 2px solid transparent; transition: border-color .18s ease, color .18s ease; }
.main-nav a:hover, .main-nav a.active { color: var(--ink); border-color: var(--coral); }
.nav-actions { display: flex; align-items: center; gap: 16px; }
.lang-switcher ul { list-style: none; display: flex; gap: 10px; margin: 0; padding: 0; }
.lang-switcher a { font-family: 'Space Grotesk', sans-serif; font-size: 0.8rem; font-weight: 600; color: var(--muted); text-transform: uppercase; }
.lang-switcher a:hover, .lang-switcher .lang-item-current a { color: var(--coral-deep); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 28px; border-radius: 8px; font-weight: 600; font-size: 0.94rem;
  font-family: 'Space Grotesk', sans-serif;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
  border: 1.5px solid transparent; cursor: pointer;
}
.btn-primary { background: var(--coral); color: var(--white); }
.btn-primary:hover { background: var(--coral-deep); transform: translateY(-2px); }
.btn-secondary { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-secondary:hover { border-color: var(--coral); color: var(--coral-deep); }
.btn-ondark { background: var(--white); color: var(--ink); }
.btn-ondark:hover { background: var(--coral-tint); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 96px 0 110px; }
.hero-edge {
  position: absolute; z-index: 0; background: var(--coral-tint);
  clip-path: polygon(30% 0, 100% 0, 100% 100%, 0% 100%);
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 60px; align-items: center; }
.hero-small { font-size: 0.5em; font-weight: 600; }
@media (min-width: 681px) {
  .hero-line { white-space: nowrap; }
}
.hero p.lead { font-size: 1.14rem; color: var(--ink-soft); max-width: 46ch; }
.hero-actions { display: flex; gap: 16px; margin-top: 30px; flex-wrap: wrap; }
.hero-visual { display: flex; align-items: center; justify-content: center; }
.hero-visual img { width: 100%; max-width: 340px; height: auto; }

/* ---------- Sections ---------- */
section { padding: 92px 0; }
.section-alt { background: var(--paper-deep); }
.section-dark { background: var(--ink); color: var(--paper); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark p { color: #B9B9C2; }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Cards / grids ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 34px 30px; }
.card-icon { width: 52px; height: 52px; border-radius: 10px; background: var(--coral-tint); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.card-icon img { width: 26px; height: auto; }
.split-visual img { width: 100%; max-width: 220px; height: auto; }
.step-num { font-family: 'Space Grotesk', sans-serif; font-size: 0.82rem; font-weight: 700; color: var(--coral-deep); letter-spacing: 1.5px; margin-bottom: 10px; display: block; }

/* ---------- Quote ---------- */
.quote-block { max-width: 780px; margin: 0 auto; text-align: center; }
.quote-block p { font-family: 'Space Grotesk', sans-serif; font-size: 1.5rem; color: var(--white); font-weight: 600; line-height: 1.4; }

/* ---------- Split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split.reverse .split-visual { order: 2; }

/* ---------- Timeline ---------- */
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.timeline-item { text-align: left; padding-top: 20px; border-top: 2px solid var(--ink); }

/* ---------- Form ---------- */
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 44px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--ink); margin-bottom: 6px; font-family: 'Space Grotesk', sans-serif; }
input, textarea, select {
  width: 100%; padding: 13px 16px; border-radius: 8px; border: 1.5px solid var(--line);
  font-family: 'Inter', sans-serif; font-size: 0.95rem; background: var(--paper); color: var(--ink);
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--coral); }
.full { grid-column: 1 / -1; }
.form-notice { background: var(--coral-tint); color: var(--coral-deep); border-radius: 10px; padding: 16px 20px; margin-bottom: 24px; font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #A9A9B2; padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 40px; margin-bottom: 48px; }
.footer-grid h4 { color: var(--white); font-family: 'Space Grotesk', sans-serif; font-size: 0.82rem; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 16px; font-weight: 700; }
.footer-grid a { display: block; padding: 5px 0; color: #A9A9B2; font-size: 0.92rem; }
.footer-grid a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid #2A2A30; padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 0.82rem; }
.footer-bottom a { color: #A9A9B2; }
.footer-bottom a:hover { color: var(--white); }

/* ---------- Utility ---------- */
.tag { display: inline-block; background: var(--coral-tint); color: var(--coral-deep); font-family: 'Space Grotesk', sans-serif; font-size: 0.76rem; font-weight: 600; padding: 6px 13px; border-radius: 100px; margin: 0 6px 6px 0; }
.muted { color: var(--muted); }
.center { text-align: center; }
.check-list { list-style: none; margin: 0 0 20px 0; padding: 0; }
.check-list li { display: flex; gap: 12px; margin-bottom: 14px; }
.check-list li::before { content: "—"; flex-shrink: 0; color: var(--coral-deep); font-weight: 700; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: 64px 0 56px; position: relative; overflow: hidden; }
.page-hero .hero-edge { clip-path: polygon(60% 0, 100% 0, 100% 60%, 60% 60%); opacity: 0.7; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid, .split { grid-template-columns: 1fr; }
  .split-visual { order: -1 !important; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .timeline { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .main-nav { display: none; }
  .nav-toggle { display: block; }
  .grid-3 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}
