/* Dr. Gerhilt Kusatz — drkusatz.at
   Design angelehnt an gsoond.com: warmer Off-White-Grund, dunkler Footer,
   Cormorant Garamond für Headlines, Inter für Fließtext, Orange-Akzent. */

:root {
  --page-bg: #fff;
  --bg-muted: #f7f5f4;
  --bg-surface: #fff;
  --text-primary: #1c1713;
  --text-secondary: #4a3d32;
  --text-tertiary: #6b5f54;
  --accent: #ff5c00;
  --accent-light: #ffe4d6;
  --accent-dark: #cc4a00;
  --she-gradient: linear-gradient(90deg, #ff811a 0%, #f56088 50%, #a066d6 100%);
  --footer-bg: #1a1a1a;
  --footer-text: #d4d2ce;
  --border-subtle: rgba(28, 23, 19, 0.08);
  --border-default: rgba(28, 23, 19, 0.15);
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --radius-lg: 20px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --shadow: 0 4px 24px rgba(28, 23, 19, 0.08);
}

@media (prefers-color-scheme: dark) {
  :root {
    --page-bg: #121212;
    --bg-muted: #1f1f1f;
    --bg-surface: #1a1a1a;
    --text-primary: #f5f3f1;
    --text-secondary: #c9c4bd;
    --text-tertiary: #8f897f;
    --accent: #ff8a4d;
    --accent-light: #3a2410;
    --accent-dark: #ffb088;
    --footer-bg: #0a0a0a;
    --footer-text: #b8b5b0;
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-default: rgba(255, 255, 255, 0.15);
    --shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--page-bg);
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.6em;
  color: var(--text-primary);
}
h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.4rem; }
p { margin: 0 0 1em; color: var(--text-secondary); }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
  margin: 0 0 0.8em;
}

.highlight { color: var(--accent); font-style: italic; }

/* Buttons */
.btn-primary, .btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  padding: 0.85em 1.6em;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  cursor: pointer;
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  border-color: var(--border-default);
  color: var(--text-primary);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* Nav */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--page-bg) 90%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-subtle);
}
.site-nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--text-primary);
  white-space: nowrap;
}
.logo span { color: var(--accent); }
.nav-links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem;
  margin: 0;
  padding: 0;
}
.nav-links a {
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.15s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--accent); }
.nav-cta { flex-shrink: 0; }

/* Hero */
.hero {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  margin: 1.5rem auto 0;
  max-width: 1120px;
  background: var(--bg-muted);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: stretch;
  min-height: 480px;
}
.hero-content {
  padding: clamp(2rem, 5vw, 4rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.2rem;
}
.hero-content .lede { font-size: 1.05rem; max-width: 42ch; }
.hero-image { position: relative; min-height: 320px; }
.hero-image img { width: 100%; height: 100%; object-fit: cover; }
.cta-row { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 0.4rem; }
.byline {
  margin-top: 1.4rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--border-subtle);
}
.byline-quote { font-family: var(--font-display); font-style: italic; font-size: 1.1rem; color: var(--text-primary); }
.byline-label { font-size: 0.85rem; color: var(--text-tertiary); margin: 0; }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; }
  .hero-image { min-height: 260px; order: -1; }
  .nav-links { display: none; }
}

/* Section / cards */
.section { padding: 4rem 0; }
.section-muted { background: var(--bg-muted); }
.section-header { max-width: 640px; margin-bottom: 2.5rem; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.8rem;
}
.card h3 { margin-bottom: 0.5em; }
.card p { color: var(--text-secondary); font-size: 0.95rem; margin-bottom: 0; }

.two-col { grid-template-columns: 1fr 1fr; }
@media (max-width: 700px) { .two-col { grid-template-columns: 1fr; } }

.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.8rem;
}
.stat h3 { font-size: 1.15rem; margin-bottom: 0.4em; }
.stat p { font-size: 0.92rem; }

/* Blog / posts */
.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.8rem;
}
.post-card {
  display: block;
  text-decoration: none;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.post-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.post-card-body { padding: 1.3rem 1.4rem 1.6rem; }
.post-cat {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 0.5em;
}
.post-card h3 { font-size: 1.2rem; margin-bottom: 0.4em; }
.post-card p { font-size: 0.9rem; }

.article-hero {
  max-width: 760px;
  margin: 2.5rem auto 0;
}
.article-meta { color: var(--text-tertiary); font-size: 0.9rem; margin-bottom: 0.6em; }
article.post-body {
  max-width: 680px;
  margin: 0 auto;
  font-size: 1.08rem;
}
article.post-body p { margin-bottom: 1.3em; }
article.post-body img { border-radius: var(--radius-md); margin: 2rem 0; }

.book-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 2rem;
  align-items: center;
}
.book-card img { border-radius: var(--radius-sm); }
@media (max-width: 700px) {
  .book-card { grid-template-columns: 1fr; }
}

/* FAQ */
.faq-item {
  border-bottom: 1px solid var(--border-subtle);
  padding: 1.6rem 0;
}
.faq-item h3 { font-size: 1.1rem; margin-bottom: 0.5em; }

/* Testimonials */
.testimonial {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.6rem;
  font-size: 0.95rem;
}
.testimonial p:first-child { color: var(--text-primary); }
.testimonial cite {
  display: block;
  margin-top: 0.8em;
  font-style: normal;
  font-size: 0.85rem;
  color: var(--text-tertiary);
}

/* Contact box */
.contact-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.contact-box dl { margin: 0; }
.contact-box dt { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-tertiary); margin-top: 1em; }
.contact-box dt:first-child { margin-top: 0; }
.contact-box dd { margin: 0.2em 0 0; font-size: 1.05rem; }
.contact-box a { text-decoration: none; color: var(--text-primary); }
.contact-box a:hover { color: var(--accent); }
@media (max-width: 700px) { .contact-box { grid-template-columns: 1fr; } }

/* Footer */
footer.site-footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 3.5rem 0 2rem;
  margin-top: 4rem;
}
footer.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
}
footer.site-footer h4 {
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.8em;
}
footer.site-footer a { color: var(--footer-text); text-decoration: none; }
footer.site-footer a:hover { color: var(--accent); }
footer.site-footer p { color: var(--footer-text); }
.footer-bottom {
  max-width: 1120px;
  margin: 2.5rem auto 0;
  padding: 1.5rem 1.5rem 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem;
  font-size: 0.82rem;
  color: var(--text-tertiary);
}

/* Simple page hero (non-home pages) */
.page-hero { padding: 3.5rem 0 1rem; }
.page-hero .eyebrow { margin-bottom: 0.6em; }

/* Utility */
.center { text-align: center; }
.mt-0 { margin-top: 0; }
