@font-face { font-family: "Inter"; src: url("/schriften/inter-latin-v1.woff2") format("woff2"); font-weight: 100 900; font-style: oblique 0deg 10deg; font-display: swap; }

@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
}

:root {
  color-scheme: light dark;
  --p-h: #f9f9f9; --p-d: #141414; --f-h: #ffffff; --f-d: #1c1c1c;
  --t-h: #111111; --t-d: #f2f2f2; --l-h: #636363; --l-d: #a8a8a8;
  --ln-h: #dcdcd8; --ln-d: #2f2f2c; --sd-h: #cfcabe; --sd-d: #2b2925;
  --sb-h: #b5bdbc; --sb-d: #232928; --dk-h: #111111; --dk-d: #0a0a0a;
  --a-h: #5a619f; --a-d: oklch(76% 0.095 277);
  --k-h: #111111; --k-d: #f2f2f2; --kt-h: #f9f9f9; --kt-d: #111111;
  --kh-h: #636363; --kh-d: #d4d4d4;

  --papier: var(--p-h); --flaeche: var(--f-h); --tinte: var(--t-h); --leise: var(--l-h);
  --linie: var(--ln-h); --akzent: var(--a-h);
  --band-sand: var(--sd-h); --band-salbei: var(--sb-h); --band-dunkel: var(--dk-h);
  --band-dunkel-tinte: #f9f9f9; --band-dunkel-leise: #a4a4a4;
  --knopf-bg: var(--k-h); --knopf-text: var(--kt-h); --knopf-hover: var(--kh-h);

  --schrift-text: "Inter", system-ui, -apple-system, sans-serif;
  --schrift-titel: var(--schrift-text);

  --text-klein: 1rem; --text-mittel: 1.2rem;
  --text-gross: clamp(1.5rem, 1.33rem + 0.52vw, 2rem);
  --text-sehr-gross: clamp(1.85rem, 1.4rem + 1.25vw, 2.5rem);
  --text-hero: clamp(2.15rem, 1.4rem + 2.4vw, 3.35rem);
  --text-riesig: clamp(2.25rem, 1.4rem + 2.6vw, 4.5rem);

  --weit: 80rem; --rand: min(6.5rem, 8vw);
  --raum-20: clamp(0.75rem, 2vw, 1.5rem); --raum-30: clamp(1.5rem, 3vw, 2.5rem);
  --raum-40: clamp(2rem, 5vw, 4rem); --raum-50: clamp(3rem, 8vw, 6.5rem); --raum-60: clamp(4.5rem, 13vw, 10.5rem);
  --radius-bild: min(1.5rem, 2vw);
  accent-color: var(--akzent);
}

:root[data-theme="light"] { color-scheme: light; }

:root[data-theme="dark"] {
  color-scheme: dark;
  --papier: var(--p-d); --flaeche: var(--f-d); --tinte: var(--t-d); --leise: var(--l-d);
  --linie: var(--ln-d); --akzent: var(--a-d);
  --band-sand: var(--sd-d); --band-salbei: var(--sb-d); --band-dunkel: var(--dk-d);
  --knopf-bg: var(--k-d); --knopf-text: var(--kt-d); --knopf-hover: var(--kh-d);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --papier: var(--p-d); --flaeche: var(--f-d); --tinte: var(--t-d); --leise: var(--l-d);
    --linie: var(--ln-d); --akzent: var(--a-d);
    --band-sand: var(--sd-d); --band-salbei: var(--sb-d); --band-dunkel: var(--dk-d);
    --knopf-bg: var(--k-d); --knopf-text: var(--kt-d); --knopf-hover: var(--kh-d);
  }
}

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

body {
  margin: 0; background: var(--papier); color: var(--tinte);
  font: 400 var(--text-mittel)/1.55 var(--schrift-text);
  font-size-adjust: from-font; font-synthesis: none; overflow-wrap: break-word;
}

picture { display: block; }
img, svg { display: block; max-inline-size: 100%; block-size: auto; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--akzent); outline-offset: 3px; }

.sprung { position: absolute; inset-inline-start: -9999px; }
.sprung:focus {
  position: fixed; inset-block-start: 0.75rem; inset-inline-start: 0.75rem; z-index: 100;
  padding: 0.65rem 1rem; border-radius: 4px; background: var(--knopf-bg); color: var(--knopf-text); text-decoration: none;
}

h1, h2, h3, h4 {
  font-family: var(--schrift-titel); font-weight: 400; line-height: 1.2;
  letter-spacing: 0; font-size-adjust: from-font; text-wrap: balance; margin-block: 0;
}
p, blockquote { margin: 0; text-wrap: pretty; }

.weit { inline-size: min(var(--weit), 100% - 2 * var(--rand)); margin-inline: auto; }
.band { padding-block: var(--raum-50); }
.band-papier, .kopf, .fuss { background: var(--papier); color: var(--tinte); }
.band-flaeche { background: var(--flaeche); color: var(--tinte); }
.band-sand { background: var(--band-sand); color: var(--tinte); }
.band-salbei { background: var(--band-salbei); color: var(--tinte); }
.band-dunkel { background: var(--band-dunkel); color: var(--band-dunkel-tinte); }
.nav-liste, .sprachen ul, .haken-liste { list-style: none; margin: 0; padding: 0; }

/* Kopfzeile & Farbwahl */
.kopf { padding-block: 1.25rem; }
.kopf-innen { display: flex; flex-wrap: wrap; align-items: safe center; justify-content: space-between; gap: var(--raum-20); }
.marke { display: inline-flex; align-items: center; gap: var(--raum-20); text-decoration: none; font-size: var(--text-mittel); font-weight: 500; }
.marke:hover, .marke:focus-visible { text-decoration: none; }
.logo { inline-size: clamp(2.5rem, 2rem + 2vw, 3.75rem); block-size: clamp(2.5rem, 2rem + 2vw, 3.75rem); object-fit: contain; }
.kopf-rechts { display: flex; flex-wrap: wrap; align-items: safe center; gap: 0.5rem var(--raum-20); }
.farbwahl {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  min-inline-size: 2.75rem; min-block-size: 2.75rem; padding: 0; border: 0; border-radius: 4px;
  background: transparent; color: var(--tinte); cursor: pointer;
}
.farbwahl:hover { color: var(--leise); }
html:not([data-thema-bereit]) .farbwahl { display: none; }
.modus-zu-hell { display: none; }
.modus-zu-dunkel { display: inline-flex; }
:root[data-theme="dark"] .modus-zu-dunkel { display: none; }
:root[data-theme="dark"] .modus-zu-hell { display: inline-flex; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .modus-zu-dunkel { display: none; }
  :root:not([data-theme="light"]) .modus-zu-hell { display: inline-flex; }
}
@media (max-width: 35.999rem) {
  .kopf-innen { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 0.75rem 0.5rem; }
  .marke { grid-column: 1; grid-row: 1; justify-self: start; gap: 0.65rem; }
  .kopf-rechts { display: contents; }
  .hauptnav { grid-column: 1 / -1; grid-row: 2; justify-self: center; }
  .farbwahl { grid-column: 2; grid-row: 1; justify-self: end; justify-content: flex-end; }
}

.nav-liste { display: flex; flex-wrap: wrap; align-items: safe center; gap: 0.25rem 1.5rem; }
.nav-liste a {
  display: inline-flex; align-items: center; min-block-size: 2rem; padding-block: 0.25rem;
  font-size: var(--text-mittel); font-weight: 500; text-decoration: none;
}
.nav-liste a:hover, .nav-liste a:focus-visible,
.fuss-unten > a:hover, .fuss-unten > a:focus-visible { text-decoration: underline; text-underline-offset: 0.35em; }
.nav-liste a[aria-current="page"], .fuss a[aria-current="page"] {
  text-decoration: underline; text-underline-offset: 0.35em; text-decoration-thickness: 1.5px; font-weight: 600; color: var(--tinte);
}

.sprachen ul { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0.35rem; }
.sprachen a {
  display: inline-flex; align-items: center; justify-content: center;
  min-inline-size: 2.75rem; min-block-size: 2.75rem; padding: 0.25rem 0.5rem;
  font-size: 0.9rem; font-weight: 500; letter-spacing: 0.04em;
  color: var(--leise); text-decoration: none;
}
.sprachen a:hover, .sprachen a:focus-visible { color: var(--tinte); text-decoration: underline; text-underline-offset: 0.35em; }
.sprachen a[aria-current="page"] {
  color: var(--tinte); font-weight: 600;
  text-decoration: underline; text-underline-offset: 0.35em; text-decoration-thickness: 1.5px;
}

/* Schaltflächen, Stern & Ring */
.knopf {
  display: inline-flex; align-items: center; justify-content: center; min-block-size: 2.75rem;
  padding: 0.85rem 1.75rem; border-radius: 8px; border: 1px solid transparent;
  background: var(--knopf-bg); color: var(--knopf-text); font-family: var(--schrift-titel);
  font-size: 0.95rem; font-weight: 500; letter-spacing: 0; line-height: 1.3;
  text-decoration: none;
}
.text-link {
  display: inline-flex; align-items: center; min-block-size: 2.75rem;
  font-size: 0.95rem; font-weight: 400; line-height: 1.3;
  text-decoration: underline; text-underline-offset: 0.3em; text-decoration-thickness: 1.5px;
}
.text-link:hover, .text-link:focus-visible { color: var(--leise); }
.band-salbei .text-link:hover, .band-salbei .text-link:focus-visible { color: var(--tinte); opacity: 0.72; }
.hero-aktionen { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.75rem 1.75rem; }
.kontakt-aktionen { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.5rem; }
@media (prefers-reduced-motion: no-preference) {
  .knopf { transition: background-color 180ms ease, color 180ms ease; }
  .text-link { transition: color 180ms ease, opacity 180ms ease; }
  .farbwahl, .sprachen a { transition: color 180ms ease, background-color 180ms ease; }
  .kreis-link .bild-kreis { transition: transform 240ms ease; }
  .kreis-link:hover .bild-kreis, .kreis-link:focus-visible .bild-kreis { transform: scale(1.02); }
  .nach-oben { transition: color 180ms ease, transform 180ms ease; }
  .nach-oben:hover { transform: translateY(-2px); }
}
.knopf:hover, .knopf:focus-visible { background: var(--knopf-hover); }
.stern { inline-size: 1.5rem; block-size: 1.5rem; color: var(--leise); }
.ring { display: inline-block; inline-size: 0.42em; block-size: 0.42em; vertical-align: 0.08em; }

/* Startseite */
.hero-kopf { max-inline-size: 46rem; margin-inline: auto; text-align: center; display: grid; justify-items: center; gap: 1.25rem; }
.hero-kopf h1 { font-size: var(--text-hero); line-height: 1.15; text-wrap: initial; }
.titel-wort, .titel-glied { white-space: nowrap; }
.hero-untertitel { max-inline-size: 55ch; }
.hero-bild { inline-size: 100%; aspect-ratio: 1600 / 970; margin-block-start: calc(var(--raum-30) + 1.25rem); border-radius: var(--radius-bild); }

.sektion-kopf { max-inline-size: 44rem; margin-inline: auto; margin-block-end: var(--raum-40); text-align: center; display: grid; justify-items: center; gap: 1rem; }
.sektion-kopf h2, .statement, .kontakt-text h2, .profil-kopf h1 { font-size: var(--text-sehr-gross); }

.angebot-raster { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(18rem, 100%), 1fr)); gap: var(--raum-40); }
.leistung { display: grid; grid-template-rows: auto auto 1fr; gap: 0.75rem; align-content: start; }
.leistung .stern { margin-block-end: 0.5rem; }
.leistung h3 { font-family: var(--schrift-text); font-size: var(--text-mittel); font-weight: 600; line-height: 1.3; }
.leistung p { max-inline-size: 36ch; }

.quintessenz-reihen { display: grid; gap: var(--raum-40); }
.merkmal { display: grid; grid-template-columns: 1fr; gap: var(--raum-40); align-items: center; }
@media (min-width: 49rem) {
  .merkmal { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--raum-50); }
  .merkmal-bild-links .merkmal-medien { order: -1; }
}
.merkmal-text h3 { font-size: var(--text-gross); margin-block-end: 1rem; }
.haken-liste { line-height: 1.75; }
.haken-liste li { position: relative; padding-inline-start: 1.5rem; }
.haken-liste li::before { content: "✓"; position: absolute; inset-inline-start: 0; }
.merkmal-kreis, .profil-bild-wrap, .kontakt-bild-wrap { display: flex; justify-content: center; }
.kreis-link { display: block; inline-size: min(17.2rem, 100%); border-radius: 50%; }
.bild-kreis { inline-size: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; }
.bild-rund { inline-size: 100%; aspect-ratio: 1024 / 585; border-radius: var(--radius-bild); }

.zitat-band { padding-block: var(--raum-60); }
.zitat { margin: 0; text-align: center; display: grid; justify-items: center; gap: 1.5rem; }
.zitat blockquote { max-inline-size: 38rem; }
.zitat blockquote p { font-family: var(--schrift-titel); font-size: var(--text-sehr-gross); line-height: 1.2; color: var(--band-dunkel-tinte); }
.zitat figcaption { max-inline-size: 46ch; font-size: var(--text-klein); line-height: 1.5; color: var(--band-dunkel-leise); text-wrap: balance; }

/* Über-Seite */
.spalten-50, .spalten-40-60, .spalten-60-40 { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--raum-40); }
.profil-bild-wrap { order: -1; }
@media (min-width: 49rem) {
  .spalten-50 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--raum-50); align-items: center; }
  .profil-bild-wrap { order: 0; }
  .spalten-40-60 { grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); gap: var(--raum-30); }
  .spalten-60-40 { grid-template-columns: minmax(0, 6fr) minmax(0, 4fr); gap: var(--raum-40); align-items: center; }
}
.profil-spalte { display: flex; flex-direction: column; justify-content: center; gap: 1.75rem; }
.rolle { font-family: var(--schrift-titel); font-size: clamp(1.1rem, 1rem + 0.5vw, 1.5rem); margin-block-start: 0.5rem; }
.profil-fuss, .kontakt-text { display: grid; justify-items: start; gap: 1.5rem; }
.profil-fuss { gap: 1.75rem; }
.profil-fuss p { max-inline-size: 46ch; }
.portraet { inline-size: min(22.8rem, 100%); aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-bild); filter: grayscale(100%) contrast(1.05); }
.motto { max-inline-size: 16.5rem; }
.geschichte-spalte { container-type: inline-size; }
.statement { line-height: 1.2; margin-block-end: var(--raum-30); }
.text-spalten { display: grid; grid-template-columns: 1fr; gap: var(--raum-30); }
@container (min-width: 34rem) { .text-spalten { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@supports not (container-type: inline-size) {
  @media (min-width: 75rem) { .text-spalten { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
}
.kontakt-bild-wrap picture { inline-size: min(25.5rem, 100%); }
.kontakt-bild { inline-size: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius-bild); }

/* Rechtliches & 404 */
.recht-band { background: var(--papier); color: var(--tinte); }
.recht-inhalt { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; }
.recht-inhalt h1 { font-size: var(--text-klein); letter-spacing: 0.1em; text-transform: uppercase; color: var(--leise); }
.recht-inhalt h2 {
  font-size: var(--text-riesig); letter-spacing: -0.02em; line-height: 1.1;
  padding-block-end: 1.5rem; border-block-end: 1px solid var(--linie); margin-block-start: var(--raum-40);
}
.recht-inhalt h2:lang(de) { hyphens: auto; -webkit-hyphens: auto; }
.recht-inhalt h1 + h2 { margin-block-start: 0.5rem; }
.recht-inhalt h3 {
  font-size: var(--text-gross); padding-block-start: 1.5rem;
  border-block-start: 1px solid var(--linie); margin-block-start: 1.25rem;
}
.recht-inhalt h2 + h3 { border-block-start: 0; padding-block-start: 0.5rem; margin-block-start: 0.5rem; }
.recht-inhalt p, .recht-inhalt ul { max-inline-size: 62ch; }
.recht-inhalt ul { margin-block: 0; padding-inline-start: 1.35rem; }
.recht-inhalt a { color: var(--akzent); text-underline-offset: 0.25em; }

.fehler-box { display: grid; justify-items: start; gap: 1.5rem; padding-block: var(--raum-40); }
.fehler-box h1 { font-size: var(--text-riesig); }
.fehler-links { display: flex; flex-wrap: wrap; gap: 1rem; }

/* Fusszeile */
.fuss { padding-block: var(--raum-50) var(--raum-40); }
.fuss-innen { display: flex; align-items: start; justify-content: space-between; gap: var(--raum-20); }
.fuss-marke { min-inline-size: 0; }
.fuss-brand { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 0.65rem; text-decoration: none; }
.fuss-brand:hover, .fuss-brand:focus-visible { text-decoration: none; }
.fuss-logo { inline-size: 1.75rem; block-size: 1.75rem; }
.fuss-leitsatz { margin-block-start: 0.75rem; font-size: var(--text-klein); color: var(--leise); }
.nach-oben {
  display: inline-flex; flex-shrink: 0; align-items: center; justify-content: flex-end;
  min-inline-size: 2.75rem; min-block-size: 2.75rem; border-radius: 4px;
  color: var(--leise); text-decoration: none;
}
.nach-oben:hover, .nach-oben:focus-visible { color: var(--tinte); }

.fuss-unten {
  display: grid; grid-template-columns: 1fr auto; align-items: center;
  gap: 0.75rem var(--raum-20); margin-block-start: var(--raum-40); padding-block-start: var(--raum-20);
  border-block-start: 1px solid var(--linie); font-size: var(--text-klein);
}
.fuss-jahr { grid-column: 1; grid-row: 2; justify-self: start; color: var(--leise); font-variant-numeric: tabular-nums; }
.fuss-unten .sprachen { grid-column: 1 / -1; grid-row: 1; justify-self: center; }
.fuss-recht { grid-column: 2; grid-row: 2; justify-self: end; }
.fuss-unten > a { color: var(--leise); text-decoration: none; }
.fuss-unten > a:hover, .fuss-unten > a:focus-visible { color: var(--tinte); }
@media (min-width: 40rem) {
  .fuss-unten { grid-template-columns: 1fr auto 1fr; }
  .fuss-jahr { grid-column: 1; grid-row: 1; }
  .fuss-unten .sprachen { grid-column: 2; grid-row: 1; }
  .fuss-recht { grid-column: 3; grid-row: 1; }
}

@media (forced-colors: active) {
  .knopf { border-color: ButtonText; }
  :focus-visible { outline-color: Highlight; }
  .recht-inhalt h2, .recht-inhalt h3 { border-color: CanvasText; }
}

@media print {
  :root, :root[data-theme="dark"], :root:not([data-theme="light"]) {
    color-scheme: light;
    --papier: var(--p-h); --flaeche: var(--f-h); --tinte: var(--t-h); --leise: var(--l-h);
    --linie: var(--ln-h); --akzent: var(--a-h);
    --band-sand: var(--sd-h); --band-salbei: var(--sb-h); --band-dunkel: var(--dk-h);
    --band-dunkel-tinte: #000000; --band-dunkel-leise: #444444;
    --knopf-bg: var(--k-h); --knopf-text: var(--kt-h); --knopf-hover: var(--kh-h);
  }
  .sprung, .hauptnav, .sprachen, .farbwahl, .nach-oben { display: none; }
  body, .band, .kopf, .fuss { background: #ffffff; color: #000000; }
  .band { padding-block: 1.5rem; }
}
