/* ── Gemeinsam: Schriftschnitte ── */
@font-face {
  font-family: "Geist";
  src: url("../fonts/geist-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215;
}
@font-face {
  font-family: "Geist Mono";
  src: url("../fonts/geistmono-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+2000-206F, U+20AC;
}
@font-face {
  font-family: "Geist Ersatz";
  src: local("Helvetica Neue"), local("Arial"), local("Liberation Sans");
  size-adjust: 97%;
  ascent-override: 95%;
  descent-override: 24%;
  line-gap-override: 0%;
}

/* ── Gemeinsam: Farbmarken und Grundwerte ── */
:root {
  --mt-papier: #ffffff;
  --mt-tinte: #101014;
  --mt-still: #5a5470;
  --mt-akzent: #4a3bd4;
  --mt-akzent-tief: #3b2fc9;
  --mt-flaeche: #f7f6fd;
  --mt-rand: rgba(16, 16, 20, 0.12);
  --mt-breite: 1120px;
  --mt-saum: clamp(20px, 5vw, 40px);
  --mt-schrift: "Geist", "Geist Ersatz", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mt-mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

/* ── Gemeinsam: Grundgerüst und Typografie ── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--mt-papier);
  color: var(--mt-tinte);
  font-family: var(--mt-schrift);
  font-size: 17px;
  line-height: 1.6;
  letter-spacing: -0.011em;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.032em; line-height: 1.08; }
h1 { font-size: clamp(38px, 6.4vw, 68px); }
h2 { font-size: clamp(28px, 4.4vw, 46px); }
h3 { font-size: clamp(21px, 2.4vw, 27px); line-height: 1.2; }
h4 { font-size: 19px; letter-spacing: -0.02em; line-height: 1.3; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
a { color: var(--mt-akzent); }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
section[id], #inhalt { scroll-margin-top: 92px; }
.mt-huelle {
  width: 100%;
  max-width: var(--mt-breite);
  margin-inline: auto;
  padding-inline: var(--mt-saum);
}
.mt-marke {
  display: inline-flex;
  align-items: baseline;
  gap: 1px;
  padding-block: 9px;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--mt-tinte);
}
.mt-marke__zweit { color: var(--mt-akzent); }
.mt-augenbraue {
  display: block;
  margin: 0 0 18px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mt-still);
}
.mt-nurlesbar {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.mt-sprungmarke {
  position: absolute;
  left: 16px; top: -80px;
  z-index: 40;
  padding: 12px 20px;
  background: var(--mt-tinte);
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  transition: top 0.16s ease;
}
.mt-sprungmarke:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--mt-akzent); outline-offset: 3px; border-radius: 2px; }

/* ── Gemeinsam: Kopfleiste und Navigation ── */
.mt-leiste {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--mt-papier);
}
.mt-leiste__reihe {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 74px;
}
.mt-leiste__klapp {
  display: none;
  align-items: center;
  justify-content: center;
  width: 50px; height: 50px;
  padding: 0;
  background: transparent;
  border: 3px solid var(--mt-tinte);
  border-radius: 6px;
  color: var(--mt-tinte);
  cursor: pointer;
}
.mt-leiste__klapp svg { width: 22px; height: 22px; }
.mt-leiste__klapp[aria-expanded="true"] .mt-leiste__auf { display: none; }
.mt-leiste__klapp[aria-expanded="false"] .mt-leiste__zu { display: none; }
.mt-wege { display: flex; align-items: center; gap: 4px; }
.mt-wege__glied {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 8px 14px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  color: var(--mt-still);
  border-radius: 6px;
}
.mt-wege__glied:hover { color: var(--mt-tinte); background: var(--mt-flaeche); }
.mt-wege__glied--jetzt { color: var(--mt-tinte); }

/* ── Gemeinsam: Fussbereich ── */
.mt-fuss {
  background: var(--mt-flaeche);
  padding-block: clamp(48px, 7vw, 76px) 40px;
  margin-top: clamp(56px, 8vw, 96px);
}
.mt-fuss__raster {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
}
.mt-fuss__satz { max-width: 26em; color: var(--mt-still); font-size: 15px; margin-top: 16px; }
.mt-fuss__titel {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mt-still);
  margin: 0 0 8px;
}
.mt-fuss__liste { list-style: none; margin: 0; padding: 0; }
.mt-fuss__weg {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 15px;
  color: var(--mt-tinte);
  text-decoration: none;
}
.mt-fuss__weg:hover { color: var(--mt-akzent); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.mt-fuss__inhaber {
  margin-top: 44px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--mt-still);
  max-width: 46em;
}
.mt-fuss__inhaber a { color: var(--mt-still); }
.mt-fuss__schluss { margin-top: 22px; font-size: 14px; color: var(--mt-still); }

/* ── Gemeinsam: Schalter und Textwege ── */
.mt-schalter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 14px 28px;
  background: transparent;
  border: 3px solid var(--mt-tinte);
  border-radius: 6px;
  color: var(--mt-tinte);
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.012em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}
.mt-schalter:hover { background: var(--mt-tinte); color: var(--mt-papier); transform: translateY(-2px); }
.mt-schalter:active { transform: translateY(0); }
.mt-schalter--haupt { border-color: var(--mt-akzent); color: var(--mt-akzent); }
.mt-schalter--haupt:hover { background: var(--mt-akzent); border-color: var(--mt-akzent); color: var(--mt-papier); }
.mt-schalter--knapp { min-height: 48px; padding: 10px 20px; font-size: 15px; border-width: 2px; }
.mt-textweg {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  color: var(--mt-akzent);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
  transition: text-decoration-thickness 0.16s ease, color 0.16s ease;
}
.mt-textweg:hover { color: var(--mt-akzent-tief); text-decoration-thickness: 4px; }

/* ── Gemeinsam: Hinweisleiste und Sprungtaste ── */
.mt-hinweis {
  position: fixed;
  left: 16px; right: 16px; bottom: 16px;
  z-index: 35;
  display: none;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 940px;
  margin-inline: auto;
  padding: 20px 24px;
  background: var(--mt-papier);
  border: 3px solid var(--mt-tinte);
  border-radius: 6px;
  box-shadow: 0 10px 30px -18px rgba(16, 16, 20, 0.7);
}
.mt-hinweis.mt-hinweis--sichtbar { display: flex; }
.mt-hinweis__text { font-size: 15px; line-height: 1.55; max-width: 44em; margin: 0; }
.mt-hinweis__tasten { display: flex; gap: 12px; flex-wrap: wrap; }
.mt-hoch {
  position: fixed;
  right: 20px; bottom: 108px;
  z-index: 25;
  display: none;
  align-items: center;
  justify-content: center;
  width: 54px; height: 54px;
  padding: 0;
  background: var(--mt-papier);
  border: 3px solid var(--mt-akzent);
  border-radius: 6px;
  color: var(--mt-akzent);
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease;
}
.mt-hoch.mt-hoch--sichtbar { display: inline-flex; }
.mt-hoch:hover { background: var(--mt-akzent); color: var(--mt-papier); }
.mt-hoch svg { width: 22px; height: 22px; }

/* ── Startseite: Aufmacher ── */
.mt-aufmacher {
  padding-block: clamp(52px, 8.5vw, 104px) clamp(44px, 6vw, 76px);
  text-align: center;
}
.mt-aufmacher__satz {
  margin: 26px auto 0;
  max-width: 34em;
  font-size: clamp(17px, 1.9vw, 20px);
  line-height: 1.62;
  color: var(--mt-still);
}
.mt-aufmacher__akzent { color: var(--mt-akzent); }
.mt-aufmacher__tasten {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 26px;
  align-items: center;
  justify-content: center;
  margin-top: 36px;
}
.mt-aufmacher__vitrine {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: clamp(44px, 6vw, 68px);
}
.mt-aufmacher__marke {
  width: 62px; height: 62px;
  border-radius: 14px;
  background: var(--mt-flaeche);
}
.mt-aufmacher__unterschrift {
  width: 100%;
  margin: 14px 0 0;
  font-size: 14px;
  letter-spacing: 0.02em;
  color: var(--mt-still);
}

/* ── Startseite: Katalog ── */
.mt-katalog { padding-block: clamp(36px, 5vw, 60px); }
.mt-katalog__kopf { max-width: 42em; }
.mt-katalog__vorwort { margin-top: 18px; color: var(--mt-still); font-size: 17px; }
.mt-katalog__reihe { display: grid; gap: clamp(20px, 3vw, 34px); margin-top: clamp(30px, 4vw, 48px); }
.mt-block {
  display: grid;
  grid-template-columns: 244px minmax(0, 1fr);
  overflow: hidden;
  background: var(--mt-flaeche);
  border-radius: 22px;
}
.mt-block__figur { margin: 0; }
.mt-block__bild {
  width: 100%;
  height: 100%;
  aspect-ratio: 61 / 80;
  object-fit: cover;
  object-position: 50% 12%;
}
.mt-block__inhalt { padding: clamp(24px, 3vw, 38px); }
.mt-block__zahl {
  font-family: var(--mt-mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--mt-akzent);
}
.mt-block__name { margin-top: 8px; }
.mt-block__studio { margin: 10px 0 0; font-size: 15px; color: var(--mt-still); }
.mt-block__note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-size: 15px;
  font-weight: 600;
}
.mt-block__note svg { width: 18px; height: 18px; color: var(--mt-akzent); flex: none; }
.mt-block__note span { font-weight: 400; color: var(--mt-still); }
.mt-block__lese { margin-top: 18px; max-width: 44em; }
.mt-block__kniff { list-style: none; margin: 16px 0 0; padding: 0; }
.mt-block__kniff li { position: relative; padding-left: 26px; margin-bottom: 8px; font-size: 16px; }
.mt-block__kniff li::before {
  content: "";
  position: absolute;
  left: 0; top: 10px;
  width: 12px; height: 4px;
  background: var(--mt-akzent);
  border-radius: 2px;
}
.mt-spur {
  margin: 22px 0 0;
  padding-top: 16px;
  font-family: var(--mt-mono);
  font-size: 13px;
  line-height: 1.7;
  letter-spacing: 0;
  color: var(--mt-still);
  word-break: break-word;
}

/* ── Startseite: Fragen ── */
.mt-fragen { padding-block: clamp(56px, 8vw, 104px); }
.mt-fragen__liste { width: 100%; margin-top: clamp(26px, 3.5vw, 40px); }
.mt-frage { width: 100%; border-bottom: 1px solid var(--mt-rand); }
.mt-frage:last-child { border-bottom: 0; }
.mt-frage__knopf {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  min-height: 64px;
  padding: 20px 4px;
  background: transparent;
  border: 0;
  color: var(--mt-tinte);
  font: inherit;
  font-size: clamp(17px, 1.9vw, 20px);
  font-weight: 600;
  letter-spacing: -0.02em;
  text-align: left;
  cursor: pointer;
}
.mt-frage__knopf:hover { color: var(--mt-akzent); }
.mt-frage__zeichen {
  position: relative;
  flex: none;
  width: 34px; height: 34px;
  border: 2px solid var(--mt-akzent);
  border-radius: 6px;
}
.mt-frage__zeichen::before,
.mt-frage__zeichen::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  background: var(--mt-akzent);
  transform: translate(-50%, -50%);
}
.mt-frage__zeichen::before { width: 14px; height: 2px; }
.mt-frage__zeichen::after { width: 2px; height: 14px; transition: transform 0.18s ease; }
.mt-frage__knopf[aria-expanded="true"] .mt-frage__zeichen::after { transform: translate(-50%, -50%) scaleY(0); }
.mt-frage__antwort { padding: 0 4px 26px; max-width: 52em; color: var(--mt-still); }

/* ── Startseite: Tafel ── */
.mt-tafelfeld { padding-block: clamp(36px, 5vw, 64px); }
.mt-tafelfeld__kopf { max-width: 40em; }
.mt-tafel {
  width: 100%;
  margin-top: clamp(24px, 3vw, 36px);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.mt-tafel table { width: 100%; min-width: 780px; border-collapse: collapse; text-align: left; }
.mt-tafel caption {
  caption-side: top;
  padding-bottom: 18px;
  font-size: 15px;
  color: var(--mt-still);
  text-align: left;
}
.mt-tafel thead th {
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mt-still);
  border-bottom: 2px solid var(--mt-akzent);
  vertical-align: bottom;
}
.mt-tafel tbody th,
.mt-tafel tbody td {
  padding: 18px 16px;
  font-size: 15px;
  line-height: 1.55;
  vertical-align: top;
}
.mt-tafel tbody th { font-weight: 600; letter-spacing: -0.01em; }
.mt-tafel tbody tr:nth-child(odd) { background: var(--mt-flaeche); }
.mt-tafel__wo { display: flex; align-items: flex-start; gap: 8px; }
.mt-tafel__wo svg { width: 16px; height: 16px; margin-top: 4px; color: var(--mt-akzent); flex: none; }
.mt-tafelfeld__notiz { margin-top: 20px; max-width: 50em; font-size: 15px; color: var(--mt-still); }

/* ── Startseite: Kontakt und Taktikbogen ── */
.mt-kontakt { padding-block: clamp(56px, 8vw, 100px) clamp(20px, 3vw, 32px); }
.mt-kontakt__raster {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  margin-top: clamp(26px, 3.5vw, 40px);
  align-items: start;
}
.mt-kontakt__saeule p { color: var(--mt-still); }
.mt-kontakt__adresse {
  display: inline-flex;
  align-items: center;
  margin: 14px 0 0;
  padding-block: 10px;
  font-size: clamp(18px, 2.1vw, 22px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--mt-akzent);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}
.mt-kontakt__adresse:hover { text-decoration-thickness: 4px; }
.mt-bogen { padding: clamp(26px, 3vw, 36px); background: var(--mt-flaeche); border-radius: 22px; }
.mt-bogen__preis {
  display: block;
  margin: 12px 0 16px;
  font-family: var(--mt-mono);
  font-size: 15px;
  color: var(--mt-akzent);
}
.mt-bogen__liste { margin: 0 0 18px; padding-left: 1.15em; color: var(--mt-still); font-size: 16px; }
.mt-bogen__liste li { margin-bottom: 8px; }
.mt-bogen__klein { font-size: 14px; line-height: 1.65; color: var(--mt-still); }

/* ── Rechtstexte: Seitenkopf und Fliesstext ── */
.mt-recht { padding-block: clamp(44px, 6vw, 76px) 0; }
.mt-recht__stand { margin: 18px 0 0; font-family: var(--mt-mono); font-size: 13px; color: var(--mt-still); }
.mt-recht__brot { margin: 0 0 18px; font-size: 14px; color: var(--mt-still); }
.mt-recht__brot a { color: var(--mt-still); }
.mt-recht__text { max-width: 40em; margin-top: clamp(30px, 4vw, 44px); }
.mt-recht__text h2 { font-size: clamp(22px, 2.6vw, 28px); margin: 48px 0 14px; }
.mt-recht__text h3 { font-size: 19px; margin: 30px 0 10px; }
.mt-recht__text p, .mt-recht__text li { font-size: 16px; line-height: 1.72; }
.mt-recht__text li { margin-bottom: 8px; }
.mt-recht__text dl { margin: 0 0 1em; }
.mt-recht__text dt { font-weight: 600; margin-top: 14px; }
.mt-recht__text dd { margin: 4px 0 0; color: var(--mt-still); font-size: 16px; }
.mt-recht__zurueck { margin-top: 44px; }
.mt-tafel--recht { margin-top: 22px; }
.mt-tafel--recht table { min-width: 560px; }
.mt-recht__text code { font-family: var(--mt-mono); font-size: 14px; }

/* ── Enge Bildschirme ── */
@media (max-width: 940px) {
  .mt-block { grid-template-columns: 190px minmax(0, 1fr); }
  .mt-fuss__raster { grid-template-columns: 1fr 1fr; }
  .mt-kontakt__raster { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .mt-leiste__klapp { display: inline-flex; }
  .mt-wege {
    display: none;
    position: absolute;
    left: 0; right: 0; top: 74px;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 12px var(--mt-saum) 24px;
    background: var(--mt-papier);
  }
  .mt-wege.mt-wege--offen { display: flex; }
  .mt-wege__glied { min-height: 52px; font-size: 17px; }
  .mt-leiste__reihe { position: relative; }
  .mt-block { grid-template-columns: 1fr; }
  .mt-block__note { flex-wrap: wrap; row-gap: 2px; }
  .mt-block__note span { flex-basis: 100%; font-size: 14px; }
  .mt-block__bild { aspect-ratio: 16 / 11; object-position: 50% 22%; }
  .mt-fuss__raster { grid-template-columns: 1fr; gap: 28px; }
  .mt-hoch { right: 16px; bottom: 96px; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}
