/* Praxis Mag.a Sabrina Strafner
   Keine externen Bibliotheken, keine Web-Fonts: nur Systemschriften. */

:root {
  --ground: #F4F1F0;
  --surface: #FFFFFF;
  --ink: #2A2233;
  --ink-2: #4A3F52;
  --muted: #5E5566;
  --accent: #7A3E5C;
  --tint: #E9DFE4;
  --line: #DFD5DA;
  --line-soft: #EBE3E7;
  --line-strong: #BBAAB4;

  --dark: #2A2233;
  --dark-raised: #352B40;
  --dark-line: #5C4C68;
  --on-dark: #F4F1F0;
  --on-dark-muted: #D6CBD9;
  --on-dark-accent: #E6C2D3;
  --on-accent-muted: #F6E8EF;

  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-serif: Georgia, "Times New Roman", serif;

  --container: 1160px;
  --gutter: 20px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
  overflow-wrap: break-word;
}

h1, h2, h3 { hyphens: auto; -webkit-hyphens: auto; }

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

a { color: var(--accent); }
a:hover { color: var(--ink); }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

h1, h2, h3, p, ul, ol, dl, figure, blockquote { margin: 0; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--ink);
  color: #FFFFFF;
}
.skip-link:focus { top: 16px; color: #FFFFFF; }

.list-plain { list-style: none; padding: 0; }

/* ---------- Typo-Bausteine ---------- */

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

.section-title {
  font-size: clamp(2rem, 3.4vw, 2.75rem);
  line-height: 1.15;
  font-weight: 500;
  letter-spacing: -0.015em;
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 44rem;
}

.text-muted { color: var(--muted); }

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

.site-header {
  background: var(--ground);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 32px;
  padding-top: 18px;
  padding-bottom: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}
.brand:hover { color: var(--ink); }

.brand__mark {
  width: 34px;
  height: 44px;
  border-radius: 17px 17px 6px 6px;
  border: 2px solid var(--accent);
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.brand__name {
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.brand__claim {
  font-size: 0.8125rem;
  color: var(--muted);
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 6px;
}

.main-nav a {
  padding: 10px 12px;
  color: var(--ink);
  font-size: 0.9375rem;
  text-decoration: none;
  border-radius: 999px;
}
.main-nav a:hover { background: var(--tint); }

.main-nav .main-nav__cta {
  padding: 10px 18px;
  background: var(--accent);
  color: #FFFFFF;
  font-weight: 500;
}
.main-nav .main-nav__cta:hover { background: var(--ink); color: #FFFFFF; }

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 500;
  text-decoration: none;
}

.btn--primary { background: var(--accent); color: #FFFFFF; }
.btn--primary:hover { background: var(--ink); color: #FFFFFF; }

.btn--outline {
  padding: 0 22px;
  border: 1px solid var(--line-strong);
  color: var(--ink);
}
.btn--outline:hover { background: var(--tint); color: var(--ink); }

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

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 56px;
  align-items: center;
  padding-top: 72px;
  padding-bottom: 88px;
}

.hero__text {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero__title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.08;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.hero__lead {
  font-size: 1.1875rem;
  line-height: 1.5;
  color: var(--ink-2);
}

.hero__intro { max-width: 34rem; color: var(--muted); }

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 8px;
}

.hero__figure {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 20px 0 0;
}

.hero__outline {
  position: absolute;
  top: 0;
  right: 0;
  width: min(380px, 86%);
  height: 500px;
  border-radius: 999px 999px 28px 28px;
  border: 1.5px solid var(--accent);
}

.hero__arch {
  position: relative;
  width: min(380px, 86%);
  height: 500px;
  border-radius: 999px 999px 28px 28px;
  overflow: hidden;
  background: var(--tint);
}

.hero__arch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
}

.quote-card {
  position: relative;
  width: min(340px, 80%);
  margin-top: -88px;
  margin-right: 24%;
  padding: 24px 28px;
  border-radius: 20px;
  background: var(--surface);
  box-shadow: 0 12px 32px rgba(42, 34, 51, 0.12);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.quote-card blockquote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.3125rem;
  line-height: 1.4;
}

.quote-card figcaption {
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-2);
}

/* ---------- Faktenleiste ---------- */

.facts { background: var(--surface); }

.facts__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: 32px;
  padding-top: 48px;
  padding-bottom: 48px;
}

.fact {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.fact dt {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.fact dd { margin: 0; }

/* ---------- Methoden (Tabs) ---------- */

.methods {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding-top: 96px;
  padding-bottom: 88px;
}

.tabs__hint {
  margin-bottom: 14px;
  font-size: 0.9375rem;
  color: var(--muted);
}

.tabs__list {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 6px;
}

.tabs__tab {
  min-height: 46px;
  padding: 0 20px;
  border: none;
  border-radius: 14px 14px 0 0;
  background: var(--tint);
  color: var(--ink-2);
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-underline-offset: 4px;
}

.tabs__tab:hover { color: var(--ink); }

.tabs__tab[aria-selected="true"] {
  min-height: 54px;
  padding: 0 24px;
  background: var(--surface);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  box-shadow: inset 0 3px 0 var(--accent);
}

.tabs__panel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 40px;
  padding: clamp(28px, 4vw, 48px);
  border-radius: 0 24px 24px 24px;
  background: var(--surface);
}

.tabs__panel[hidden] { display: none; }

/* Ohne JavaScript: alle Panels untereinander, Reiter ausgeblendet */
.no-js .tabs__hint,
.no-js .tabs__list { display: none; }
.no-js .tabs__panel { border-radius: 24px; margin-bottom: 20px; }

.panel__intro {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.panel__title {
  font-size: 1.625rem;
  font-weight: 500;
}

.panel__items {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.panel__item {
  padding: 16px 20px;
  border-radius: 14px;
  background: var(--ground);
}

.panel__item strong { display: block; font-weight: 600; }

.panel__note { font-size: 0.875rem; color: var(--muted); }

/* ---------- Arbeitsbereiche (dunkel) ---------- */

.areas {
  background: var(--dark);
  color: var(--on-dark);
}

.areas__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 48px;
  padding-top: 96px;
  padding-bottom: 96px;
}

.areas__intro {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.areas .eyebrow,
.areas .label { color: var(--on-dark-accent); }
.areas .section-title { color: #FFFFFF; }
.areas__lead { color: var(--on-dark-muted); }

.areas__image {
  width: 100%;
  height: 320px;
  margin-top: 16px;
  object-fit: cover;
  border-radius: 20px;
}

.areas__lists {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.focus-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px;
  border-radius: 20px;
  border: 1px solid var(--on-dark-accent);
  background: var(--dark-raised);
}

.focus-card__title {
  font-size: 1.5rem;
  line-height: 1.25;
  font-weight: 500;
  color: #FFFFFF;
}

.focus-card p:not(.eyebrow) { color: var(--on-dark-muted); }

.label {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.chip-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
}

.chips li {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--dark-line);
}

.chips--solid { margin-top: 4px; }

.chips--solid li {
  border-color: var(--on-dark-accent);
  background: var(--on-dark-accent);
  color: var(--ink);
  font-weight: 500;
}

/* ---------- Zur Person ---------- */

.person {
  display: flex;
  flex-direction: column;
  gap: 48px;
  padding-top: 96px;
  padding-bottom: 96px;
}

.person__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 32px 48px;
}

.person__image {
  width: min(260px, 100%);
  height: 360px;
  object-fit: cover;
  object-position: 65% 50%;
  border-radius: 130px 130px 20px 20px;
}

.person__intro {
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1 1 320px;
  max-width: 40rem;
}

.cards-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 24px;
}

.card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 32px;
  border-radius: 24px;
  background: var(--surface);
}

.card__title { font-size: 1.25rem; font-weight: 600; }
.card__title--spaced { margin-top: 12px; }

.edu {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.edu li {
  display: flex;
  flex-direction: column;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-soft);
}

.edu li:last-child { padding-bottom: 0; border-bottom: none; }

.edu small { font-size: 0.875rem; color: var(--muted); }

.memberships {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--ink-2);
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.timeline > li {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 16px;
}

.timeline__year { font-weight: 600; color: var(--accent); }

.timeline__sub {
  margin-top: 6px;
  padding-left: 1.1em;
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: var(--ink-2);
}

.timeline--small {
  gap: 14px;
  font-size: 0.9375rem;
  color: var(--ink-2);
}

.timeline--small .timeline__year { color: inherit; }

@media (max-width: 480px) {
  .card { padding: 24px; }
  .timeline > li { grid-template-columns: minmax(0, 1fr); gap: 2px; }
}

/* ---------- Rahmenbedingungen ---------- */

.terms { background: var(--surface); }

.terms__inner {
  display: flex;
  flex-direction: column;
  gap: 48px;
  padding-top: 96px;
  padding-bottom: 96px;
}

.terms__image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: 50% 40%;
  border-radius: 24px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 20px;
  list-style: none;
  padding: 0;
  counter-reset: step;
}

.steps li {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px;
  border-radius: 20px;
  background: var(--ground);
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  font-family: var(--font-serif);
  font-size: 2rem;
  line-height: 1.2;
  color: var(--accent);
}

.steps h3 { font-size: 1.1875rem; font-weight: 600; }
.steps p { color: var(--muted); }

.terms__facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 32px;
  padding-top: 8px;
}

.term {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.term h3 { font-size: 1.0625rem; font-weight: 600; }
.term p { color: var(--muted); }

/* ---------- Kontakt ---------- */

.contact {
  padding-top: 96px;
  padding-bottom: 96px;
}

.contact__box {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  align-items: stretch;
  gap: 48px;
  padding: clamp(32px, 5vw, 64px);
  border-radius: 32px;
  background: var(--accent);
  color: #FFFFFF;
}

.contact__map {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact__map img {
  width: 100%;
  flex: 1 1 0;
  min-height: 320px;
  object-fit: cover;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.contact__map figcaption {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  font-size: 0.875rem;
}

.contact a.on-accent,
.contact__map a { color: #FFFFFF; }
.contact__map a:hover { color: var(--on-accent-muted); }

.contact__text {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contact__head {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact .eyebrow,
.contact__head p { color: var(--on-accent-muted); }

.contact__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact__item {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 56px;
  padding: 0 20px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

a.contact__item {
  border-color: transparent;
  background: var(--surface);
  color: var(--ink);
  text-decoration: none;
  overflow-wrap: anywhere;
}

a.contact__item:hover { background: var(--tint); color: var(--ink); }

.contact__item svg { flex: none; }

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

.site-footer { border-top: 1px solid var(--line); }

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  padding-top: 28px;
  padding-bottom: 40px;
  font-size: 0.875rem;
  color: var(--muted);
}

/* ---------- Impressum ---------- */

.legal {
  display: flex;
  flex-direction: column;
  gap: 48px;
  padding-top: 72px;
  padding-bottom: 96px;
}

.legal__title {
  font-size: clamp(2.25rem, 4.4vw, 3.25rem);
  line-height: 1.1;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.legal__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  align-items: start;
  gap: 24px;
}

.legal__card {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: clamp(24px, 4vw, 40px);
  border-radius: 24px;
  background: var(--surface);
}

.legal__card h2 { font-size: 1.625rem; font-weight: 500; }

.legal__facts {
  display: grid;
  grid-template-columns: minmax(0, 11rem) minmax(0, 1fr);
  gap: 14px 20px;
}

.legal__facts dt { font-weight: 600; }
.legal__facts dd { margin: 0; overflow-wrap: anywhere; }

@media (max-width: 480px) {
  .legal__facts { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .legal__facts dd { margin-bottom: 12px; }
}

.legal__block {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
}

.legal__block--first { padding-top: 0; border-top: none; }

.legal__block h3 { font-size: 1.0625rem; font-weight: 600; }
.legal__block p { color: var(--muted); }
