/* ---------------------------------------------------------
   Psychotherapie Tolkmitt — design tokens
   Two-panel "business card" split: name/title on the left,
   contact details on the right, divided by a warm accent rule.
--------------------------------------------------------- */

/* Self-hosted (not loaded from Google Fonts) so no visitor
   IP addresses are sent to a third party on page load. */
@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/nunito-400.woff2") format("woff2");
}
@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/nunito-500.woff2") format("woff2");
}
@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/nunito-600.woff2") format("woff2");
}
@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/nunito-700.woff2") format("woff2");
}

:root {
  --bg: oklch(0.995 0.003 90);
  --panel-name-bg: oklch(0.97 0.005 90);
  --panel-contact-bg: oklch(1 0 0);
  --accent: oklch(0.58 0.1 40);
  --link-hover: oklch(0.5 0.08 220);
  --dot: oklch(0.7 0.06 220);
  --ink: oklch(0.24 0.01 250);
  --ink-soft: oklch(0.42 0.015 250);
  --label: oklch(0.55 0.015 250);
  --divider: oklch(0.92 0.005 90);
  --divider-strong: oklch(0.85 0.005 90);

  --font: "Nunito", Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: var(--link-hover);
  text-decoration: underline;
}

a:focus-visible {
  outline: 2px solid var(--link-hover);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------------------------------------------------------
   Home page: split card
--------------------------------------------------------- */

.page {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.split {
  flex: 1;
  display: flex;
  flex-direction: row;
}

.panel {
  flex: 1 1 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px 72px;
}

.panel--name {
  flex-basis: 55%;
  background: var(--panel-name-bg);
  border-right: 2px solid var(--accent);
}

.panel--contact {
  flex-basis: 45%;
  background: var(--panel-contact-bg);
  gap: 40px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--label);
}

.eyebrow__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--dot);
}

.name {
  font-size: clamp(40px, 6vw, 68px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}

.role {
  font-size: 19px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--ink-soft);
  margin: 0;
}

.field {
  margin: 0;
}

.field__label {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--label);
  margin-bottom: 12px;
}

.field__value {
  font-size: 19px;
  line-height: 1.6;
  margin: 0;
}

.contact-email {
  display: block;
}

@media (max-width: 780px) {
  .split {
    flex-direction: column;
  }
  .panel--name {
    border-right: none;
    border-bottom: 1px solid var(--divider);
    padding: 56px 32px;
  }
  .panel--contact {
    padding: 48px 32px;
  }
}

/* ---------------------------------------------------------
   Fine-print footer (all pages)
--------------------------------------------------------- */

.legal-nav {
  text-align: center;
  padding: 24px;
  font-size: 13px;
  color: var(--label);
  border-top: 1px solid var(--divider);
}

.legal-nav a {
  color: var(--label);
}

.legal-nav a:hover,
.legal-nav a:focus-visible {
  color: var(--accent);
}

.legal-nav__sep {
  margin: 0 10px;
  color: var(--divider-strong);
}

/* ---------------------------------------------------------
   Legal pages (Impressum / Datenschutz)
--------------------------------------------------------- */

.doc {
  flex: 1;
  max-width: 640px;
  width: 100%;
  margin: 0 auto;
  padding: 72px 32px 64px;
}

.doc-back {
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--label);
}

.doc-title {
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 32px 0 40px;
}

.doc-section {
  margin-bottom: 32px;
}

.doc-section h2 {
  font-size: 17px;
  font-weight: 600;
  margin: 0 0 10px;
}

.doc-label {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--label);
  margin-bottom: 10px;
}

.doc-section p {
  font-size: 16px;
  line-height: 1.7;
  margin: 0;
}

.doc-section-spaced {
  margin-top: 12px;
}

.doc-section address {
  font-style: normal;
}
