/* Omni Estate Landingpage. Eigene Gestaltung, Schriften selbst gehostet (OFL, siehe fonts/). */

@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("fonts/newsreader-latin-opsz-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Inter Tight";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/inter-tight-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --weiss: #FFFFFF;
  --schwarz: #0F0E0D;
  --text: #1A1917;
  --gedaempft: #55524C;
  --linie: #E9E8E6;
  --linie-kraeftig: #1A1917;
  --auf-dunkel: #FFFFFF;
  --auf-dunkel-gedaempft: #B8B5AE;
  --linie-dunkel: rgba(255, 255, 255, 0.14);
  --stein-1: #1B1A18;
  --stein-2: #2B2A27;
  --stein-3: #3A3936;
  --status: #007A45;

  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --grotesk: "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;

  --rand: clamp(16px, 4vw, 48px);
  --breite: 1360px;
  --luft: 72px;
  --kopf-hoehe: 64px;
  --sanft: cubic-bezier(0.22, 1, 0.36, 1);
}

@media (min-width: 600px) { :root { --luft: 96px; } }
@media (min-width: 1200px) { :root { --luft: 128px; } }

/* Grundlagen */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--kopf-hoehe) + 24px);
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--weiss);
  color: var(--text);
  font-family: var(--grotesk);
  font-size: 16px;
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

html.menue-offen, html.menue-offen body { overflow: hidden; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-optical-sizing: auto;
  letter-spacing: -0.0125em;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
img, svg { display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }
.dunkel :focus-visible, .karte :focus-visible { outline-color: var(--auf-dunkel); }
#inhalt:focus { outline: none; }

.rahmen {
  width: min(calc(100% - 2 * var(--rand)), var(--breite));
  margin-inline: auto;
}

.abschnitt { padding-block: var(--luft); }

.klein { font-size: 14px; line-height: 1.5; color: var(--gedaempft); }
.mitte { text-align: center; }

.sprung {
  position: absolute;
  left: 16px;
  top: -120px;
  z-index: 100;
  background: var(--schwarz);
  color: var(--weiss);
  padding: 10px 16px;
  border-radius: 4px;
  font-weight: 500;
  text-decoration: none;
}
.sprung:focus { top: 12px; }

/* Knöpfe */

.knopf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--schwarz);
  border-radius: 4px;
  background: var(--schwarz);
  color: var(--weiss);
  font: 500 15px/1.2 var(--grotesk);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 150ms ease, color 150ms ease, border-color 150ms ease;
}
.knopf:hover { background: var(--stein-2); border-color: var(--stein-2); }
.knopf:active { transform: translateY(1px); }

.knopf-rahmen { background: var(--weiss); color: var(--text); border-color: var(--linie-kraeftig); }
.knopf-rahmen:hover { background: var(--schwarz); border-color: var(--schwarz); color: var(--weiss); }

.knopf-klein { min-height: 36px; padding: 0 14px; font-size: 14px; }

.knopf-hell { background: var(--weiss); color: var(--schwarz); border-color: var(--weiss); }
.knopf-hell:hover { background: var(--linie); border-color: var(--linie); }

.knopf-hell-rahmen { background: transparent; color: var(--weiss); border-color: var(--weiss); }
.knopf-hell-rahmen:hover { background: var(--weiss); color: var(--schwarz); border-color: var(--weiss); }

.textlink {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.pfeil { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; transition: transform 150ms ease; }
.textlink:hover .pfeil { transform: translateX(2px); }

/* Kopf und Navigation */

.kopf {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--weiss);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms ease;
}
.kopf.gescrollt { border-bottom-color: var(--linie); }

.kopf-innen {
  display: flex;
  align-items: center;
  gap: 40px;
  height: var(--kopf-hoehe);
}

.wortmarke {
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1;
  letter-spacing: -0.015em;
  text-decoration: none;
  color: var(--text);
  white-space: nowrap;
}

.kopf-nav { display: none; gap: 28px; }
.kopf-nav a, .fuss-spalte a {
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.kopf-nav a:hover, .fuss-spalte a:hover { text-decoration: underline; }

.kopf-aktionen { display: none; margin-left: auto; gap: 8px; }
/* Ohne JavaScript gibt es kein Menü: dann steht „Anmelden“ direkt im Kopf */
html:not(.menue-bereit) .kopf-aktionen { display: flex; }
@media (max-width: 899px) {
  html:not(.menue-bereit) .kopf-aktionen a[href="#warteliste"] { display: none; }
}

.menue-knopf {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.menue-bereit .menue-knopf { display: inline-flex; }
.menue-strich {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text);
  transition: transform 200ms var(--sanft);
}
.menue-knopf[aria-expanded="true"] .menue-strich:first-child { transform: translateY(3.75px) rotate(45deg); }
.menue-knopf[aria-expanded="true"] .menue-strich:last-child { transform: translateY(-3.75px) rotate(-45deg); }

.menue {
  position: fixed;
  inset: var(--kopf-hoehe) 0 0 0;
  z-index: 49;
  background: var(--weiss);
  border-top: 1px solid var(--linie);
  padding: 8px var(--rand) 24px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
.menue[hidden] { display: none; }
.menue-liste a {
  display: flex;
  align-items: center;
  min-height: 64px;
  border-bottom: 1px solid var(--linie);
  font-family: var(--serif);
  font-size: 28px;
  letter-spacing: -0.0125em;
  text-decoration: none;
}
.menue-aktionen { margin-top: auto; padding-top: 32px; display: grid; gap: 8px; }

@media (min-width: 900px) {
  .kopf-nav { display: flex; }
  .kopf-aktionen { display: flex; }
  .menue-bereit .menue-knopf { display: none; }
  .menue, .menue[hidden] { display: none; }
}

/* Hero */

.hero { padding-top: 64px; }

.hero-raster { display: grid; gap: 24px; }

h1 {
  font-size: clamp(2.5rem, 1.75rem + 3.4vw, 4.5rem);
  line-height: 1.05;
}

.unterzeile {
  font-size: clamp(18px, 17px + 0.25vw, 20px);
  line-height: 1.45;
  color: var(--gedaempft);
  max-width: 28rem;
  margin-bottom: 32px;
}

@media (min-width: 900px) {
  .hero-raster {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: 24px;
    align-items: start;
  }
  .hero-raster h1 { grid-column: 1 / 8; }
  .hero-rechts { grid-column: 8 / 13; padding-top: 0.5rem; }
}

.hero-bild { margin-top: 56px; }

.bildnotiz { margin-top: 12px; font-size: 14px; color: var(--gedaempft); }

/* Steingrund (Textur nur hinter Produktbildern) */

.stein {
  background-color: var(--stein-1);
  background-image: url("img/stein.svg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 6px;
  overflow: hidden;
}
.stein-zwei { background-image: url("img/stein-2.svg"); }

.stein-hero { padding: clamp(16px, 4.2vw, 56px); }
@media (max-width: 899px) {
  .stein-hero { max-height: 460px; padding-bottom: 0; }
  /* Heute steht schon groß im Hero, im Akkordeon am Handy nur der Text */
  .punkt-bild[data-quelle="m-heute"] { display: none; }
}

/* Abschnitt-Köpfe */

h2 { font-size: clamp(2rem, 1.6rem + 1.8vw, 3rem); line-height: 1.1; }
.h2-klein { font-size: clamp(1.75rem, 1.5rem + 1vw, 2.5rem); }
.h2-mitte { text-align: center; }

.kopf-mitte { text-align: center; max-width: 46rem; margin-inline: auto; }
.kopf-mitte p {
  max-width: 34rem;
  margin: 16px auto 0;
  color: var(--gedaempft);
  font-size: 17px;
}

/* Anbindungen */

.marken {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 40px;
}
.marken li {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 8px;
  text-align: center;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.005em;
  color: var(--gedaempft);
}
.anbindungen .klein { margin-top: 24px; max-width: 34rem; margin-inline: auto; }

@media (min-width: 600px) { .marken { grid-template-columns: repeat(3, minmax(0, 1fr)); } .marken li { min-height: 72px; font-size: 17px; } }
@media (min-width: 900px) { .marken { grid-template-columns: repeat(6, minmax(0, 1fr)); } }

/* Plattform und Karten */

.plattform { padding-top: 0; }

.karten { display: grid; gap: 24px; margin-top: 48px; }

.karte {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 460px;
  padding: 28px 0 0 24px;
  color: var(--auf-dunkel);
}
.karte-text { padding-right: 24px; max-width: 30rem; }
.karte-text h3 { font-size: clamp(22px, 20px + 0.6vw, 28px); line-height: 1.15; margin-bottom: 10px; }
.karte-text p { color: var(--auf-dunkel-gedaempft); margin-bottom: 20px; }

.karte-bild { position: relative; flex: 1; min-height: 240px; margin-top: 32px; }
.karte-bild > .mockup { position: absolute; left: 0; top: 0; width: 600px; }

@media (min-width: 600px) {
  .karte { padding: 40px 0 0 40px; }
  .karte-text { padding-right: 40px; }
  .karte-bild > .mockup { width: 720px; }
}

@media (min-width: 900px) {
  .karten { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .karte { min-height: 560px; }
  .karte-bild { min-height: 280px; }
}

/* Band Neu */

.band { border-block: 1px solid var(--linie); }
.band-innen {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 16px;
  min-height: 72px;
  padding-block: 16px;
  text-align: center;
}
.band-etikett {
  border: 1px solid var(--linie-kraeftig);
  border-radius: 4px;
  padding: 2px 8px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
}
.band-satz { font-size: 17px; }

@media (max-width: 699px) {
  .band-satz { flex-basis: 100%; order: 2; }
  .band-etikett { order: 1; }
  .band .textlink { order: 3; }
}

/* Akkordeon */

.leistungen-raster { display: grid; gap: 40px; }
.leistungen-links h2 { margin-bottom: 32px; }

.punkt { border-top: 1px solid var(--linie); }
.punkt:last-child { border-bottom: 1px solid var(--linie); }

.punkt-titel { font-family: var(--grotesk); font-size: clamp(17px, 16.5px + 0.15vw, 18px); font-weight: 500; line-height: 1.3; letter-spacing: 0; }
.punkt-titel button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  min-height: 64px;
  padding: 14px 0;
  border: 0;
  background: none;
  text-align: left;
  font: inherit;
  letter-spacing: inherit;
  color: var(--text);
  cursor: pointer;
}

.punkt-zeichen { position: relative; flex: none; width: 14px; height: 14px; display: none; }
.punkt-zeichen::before, .punkt-zeichen::after {
  content: "";
  position: absolute;
  left: 0;
  top: 6.5px;
  width: 14px;
  height: 1px;
  background: currentColor;
  transition: transform 200ms var(--sanft);
}
.punkt-zeichen::after { transform: rotate(90deg); }

.punkt-feld { display: grid; grid-template-rows: 1fr; }
.punkt-innen { min-height: 0; overflow: hidden; }
.punkt-innen > p { max-width: 34rem; color: var(--gedaempft); padding-bottom: 24px; }

.punkt-bild { padding: 16px; margin-bottom: 24px; }
.punkt-bild:empty { display: none; }
.punkt-bild-handy { display: flex; justify-content: center; padding: 24px 16px; }

/* Zustand „zu“ setzt erst main.js (Klasse akk-bereit) */
.akk-bereit .punkt-zeichen { display: block; }
.akk-bereit .punkt:not(.offen) .punkt-titel button { color: var(--gedaempft); }
.akk-bereit .punkt:not(.offen) .punkt-titel button:hover { color: var(--text); }
.akk-bereit .punkt.offen .punkt-zeichen::after { transform: rotate(0deg); }
.akk-bereit .punkt-feld { transition: grid-template-rows 200ms var(--sanft), visibility 200ms; }
.akk-bereit .punkt:not(.offen) .punkt-feld { grid-template-rows: 0fr; visibility: hidden; }

.buehne { display: none; }

@media (min-width: 900px) {
  .leistungen-raster { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: start; }
  .leistungen-links { grid-column: 1 / 6; }
  .akk-bereit .punkt-bild { display: none; }
  .buehne {
    grid-column: 7 / 13;
    position: sticky;
    top: 96px;
    height: clamp(580px, 50vw, 680px);
  }
  .buehne.bereit { display: block; }
}

.buehne-ebene {
  position: absolute;
  inset: 40px 40px 0 40px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 200ms ease, visibility 200ms;
}
.buehne-ebene > .mockup { width: 100%; }
.buehne-ebene .m-heute .m-zeile { display: none; }
.buehne-ebene.aktiv { opacity: 1; visibility: visible; }
.buehne-ebene-handy { inset: 32px 0; display: flex; justify-content: center; }
.buehne-ebene-handy > .mockup { width: auto; height: 100%; }
.buehne-ebene-handy .m-handy { height: 100%; width: auto; }

/* Grundsatz */

.grundsatz {
  border-block: 1px solid var(--linie);
  padding-block: 80px;
  text-align: center;
}
@media (min-width: 900px) { .grundsatz { padding-block: 128px; } }

.grundsatz-zeile {
  font-family: var(--grotesk);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--gedaempft);
  margin-bottom: 24px;
}
.grundsatz-satz {
  font-family: var(--serif);
  font-size: clamp(1.875rem, 1.4rem + 2vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.0125em;
  max-width: 920px;
  margin-inline: auto;
  text-wrap: balance;
}

/* Dunkle Abschnitte */

.dunkel { background: var(--schwarz); color: var(--auf-dunkel); }
.satz-dunkel { color: var(--auf-dunkel-gedaempft); font-size: 17px; max-width: 34rem; }

.ablauf-raster { display: grid; gap: 48px; }
.ablauf-links h2 { margin-bottom: 16px; }

.schritte { margin-top: 40px; counter-reset: none; }
.schritte li {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 16px;
  padding: 24px 0;
  border-top: 1px solid var(--linie-dunkel);
}
.schritte li:last-child { border-bottom: 1px solid var(--linie-dunkel); }
.schritt-ziffer { font-family: var(--serif); font-size: 28px; line-height: 1; }
.schritte h3 { font-size: clamp(22px, 21px + 0.3vw, 24px); line-height: 1.15; margin-bottom: 8px; }
.schritte p { color: var(--auf-dunkel-gedaempft); max-width: 34rem; }

.ablauf-bild { display: flex; justify-content: center; align-items: center; padding: 32px 16px; }

@media (min-width: 900px) {
  .ablauf-raster { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: start; }
  .ablauf-links { grid-column: 1 / 8; }
  .ablauf-bild { grid-column: 9 / 13; padding: 40px 24px; position: sticky; top: 96px; }
}

.regeln { padding-top: 0; }
.regeln-linie { border-top: 1px solid var(--linie-dunkel); padding-top: var(--luft); }
.regeln-liste { display: grid; margin-top: 40px; }
.regeln-liste li { padding: 32px 0; border-top: 1px solid var(--linie-dunkel); }
.regeln-liste li:first-child { border-top: 0; padding-top: 0; }
.regel { margin: 0; }
.zeichen {
  display: block;
  font-family: var(--serif);
  font-size: clamp(4.5rem, 3rem + 6vw, 7.5rem);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.regel-satz { display: block; color: var(--auf-dunkel); font-size: 17px; max-width: 22rem; }
.regel-zusatz { margin-top: 12px; color: var(--auf-dunkel-gedaempft); font-size: 15px; max-width: 22rem; }

@media (min-width: 900px) {
  .regeln-liste { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 56px; }
  .regeln-liste li, .regeln-liste li:first-child { padding: 8px 32px; border-top: 0; border-left: 1px solid var(--linie-dunkel); }
  .regeln-liste li:first-child { border-left: 0; padding-left: 0; }
}

.sicherheit { padding-top: 0; }
.sicherheit-kopf {
  display: grid;
  gap: 16px;
  border-top: 1px solid var(--linie-dunkel);
  padding-top: var(--luft);
}
@media (min-width: 900px) {
  .sicherheit-kopf { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: start; }
  .sicherheit-kopf h2 { grid-column: 1 / 7; }
  .sicherheit-kopf p { grid-column: 8 / 13; padding-top: 0.4rem; }
}

.felder {
  display: grid;
  margin: 48px 0;
}
.felder li { padding: 28px 0; border-top: 1px solid var(--linie-dunkel); }
.felder h3 { font-size: 22px; line-height: 1.2; margin-bottom: 10px; }
.felder p { color: var(--auf-dunkel-gedaempft); max-width: 26rem; }

@media (min-width: 600px) {
  .felder { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
}
@media (min-width: 900px) {
  .felder { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 64px; }
}

/* Schluss */

.schluss-innen { text-align: center; max-width: 44rem; }
.schluss h2 { font-size: clamp(2.25rem, 1.7rem + 2.4vw, 3.5rem); line-height: 1.08; }
.schluss-innen > p:not(.klein) { margin: 20px auto 32px; color: var(--gedaempft); font-size: 17px; max-width: 34rem; }
.schluss-adresse { margin-top: 20px; }
.schluss-adresse a { color: var(--text); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.schluss noscript p { margin-top: 20px; }

/* Warteliste */
.hero-hinweis { margin-top: 14px; }
.warteliste { display: grid; gap: 14px; max-width: 26rem; margin: 0 auto; text-align: left; }
.warteliste .feld { display: grid; gap: 6px; }
.warteliste label { font-size: 14px; font-weight: 500; color: var(--text); }
.warteliste input {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--linie-kraeftig);
  border-radius: 4px;
  background: var(--weiss);
  color: var(--text);
  font: inherit;
  font-size: 16px;
}
.warteliste input:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }
.warteliste .knopf { justify-self: start; margin-top: 6px; }
.warteliste-fehler { color: var(--text); }
.warteliste-hinweis a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 900px) { .schluss { padding-block: 128px; } }

/* Fußzeile */

.fuss { border-top: 1px solid var(--linie); padding-top: 56px; }
.fuss-raster { display: grid; gap: 40px; }
.fuss-marke p { margin-top: 12px; color: var(--gedaempft); max-width: 22rem; }
.fuss-spalte h2 {
  font-family: var(--grotesk);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--gedaempft);
  margin-bottom: 12px;
}
.fuss-spalte li + li { margin-top: 4px; }
.fuss-spalte a { display: inline-flex; align-items: center; min-height: 32px; }
.fuss-unten {
  margin-top: 56px;
  padding-block: 24px 32px;
  border-top: 1px solid var(--linie);
  font-size: 14px;
  color: var(--gedaempft);
}

@media (min-width: 600px) {
  .fuss-raster { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fuss-marke { grid-column: 1 / -1; }
}
@media (min-width: 900px) {
  .fuss-raster { grid-template-columns: 2fr 1fr 1fr 1fr; }
  .fuss-marke { grid-column: auto; }
}

/* Nebenseiten */

.seite-schlicht { padding-block: 96px 128px; min-height: 50vh; }
.seite-schlicht h1 { font-size: clamp(2.25rem, 1.7rem + 2.4vw, 3.5rem); margin-bottom: 24px; }
.seite-schlicht p { color: var(--gedaempft); font-size: 17px; }
.kopf-zurueck { margin-left: auto; font-size: 15px; font-weight: 500; text-decoration: none; }
.kopf-zurueck:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Einblenden (nur mit main.js und ohne Bewegungswunsch „reduziert“) */

@media (prefers-reduced-motion: no-preference) {
  .einblenden-bereit [data-einblenden] {
    transition: opacity 400ms var(--sanft), transform 400ms var(--sanft);
  }
  .einblenden-bereit [data-einblenden]:not(.sichtbar) {
    opacity: 0;
    transform: translateY(8px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
}

/* ------------------------------------------------------------------ */
/* Produktansichten (Mockups) mit erfundenen Daten                     */
/* ------------------------------------------------------------------ */

.mockup {
  container-type: inline-size;
  font-family: var(--grotesk);
  font-size: 13px;
  line-height: 1.45;
  color: var(--text);
  text-align: left;
  -webkit-user-select: none;
  user-select: none;
}
.mockup svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.m-fenster {
  display: flex;
  background: var(--weiss);
  border: 1px solid var(--linie);
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(15, 14, 13, 0.04);
  overflow: hidden;
}
.m-spalte { flex-direction: column; }

.m-leiste {
  display: none;
  flex: none;
  width: 60px;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  padding: 14px 0;
  border-right: 1px solid var(--linie);
}
.m-rund {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--linie);
  border-radius: 50%;
}
.m-rund svg { width: 15px; height: 15px; }
.m-rund-voll { background: var(--schwarz); border-color: var(--schwarz); color: var(--weiss); }
.m-rund-aktiv { border: 1.5px solid var(--text); }

.m-haupt { flex: 1; min-width: 0; }

.m-kopf {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 52px;
  padding: 10px 18px;
  border-bottom: 1px solid var(--linie);
}
.m-titel { font-family: var(--serif); font-size: 19px; line-height: 1.2; letter-spacing: -0.01em; white-space: nowrap; }
.m-firma { display: flex; align-items: center; gap: 10px; color: var(--gedaempft); font-size: 12.5px; white-space: nowrap; }
.m-avatar {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 1px solid var(--linie);
  border-radius: 50%;
  font-size: 10.5px;
  font-weight: 500;
  color: var(--text);
}

.m-blockkopf, .m-stufe-kopf, .m-tag-name {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gedaempft);
  margin-bottom: 8px;
}

.m-etikett {
  display: inline-block;
  padding: 1px 6px;
  border: 1px solid var(--linie-kraeftig);
  border-radius: 4px;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.5;
}
.m-etikett-voll { background: var(--schwarz); border-color: var(--schwarz); color: var(--weiss); }

.m-knopf {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 12px;
  border: 1px solid var(--linie-kraeftig);
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}
.m-knopf-voll { background: var(--schwarz); border-color: var(--schwarz); color: var(--weiss); }

.m-reiter {
  display: inline-block;
  padding: 3px 9px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 12px;
  color: var(--gedaempft);
  white-space: nowrap;
}
.m-reiter-aktiv { border-color: var(--linie-kraeftig); color: var(--text); font-weight: 500; }
.m-weiche { display: inline-flex; gap: 2px; }

.m-hinweis { padding: 10px 18px; border-bottom: 1px solid var(--linie); font-size: 12.5px; color: var(--gedaempft); }

/* Heute */

.m-spalten { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 18px; }
.m-mitte, .m-rechts { min-width: 0; }
.m-satz { font-family: var(--serif); font-size: 18px; line-height: 1.25; margin-bottom: 16px; }
.m-freigabe { border: 1px solid var(--linie); border-radius: 6px; padding: 14px; }
.m-teil + .m-teil { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--linie); }
.m-meta { margin: 6px 0 4px; font-size: 12px; color: var(--gedaempft); }
.m-teil p { font-size: 12.5px; }
.m-knoepfe { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.m-zeile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 8px;
  padding: 10px 12px;
  border: 1px solid var(--linie);
  border-radius: 6px;
  font-size: 12.5px;
}
.m-zeile span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.m-zeile svg { width: 14px; height: 14px; color: var(--gedaempft); }

.m-rechts { display: none; }
.m-gruppe + .m-gruppe { margin-top: 20px; }
.m-kasten { border: 1px solid var(--linie-kraeftig); border-radius: 6px; padding: 10px 12px; font-size: 12.5px; }
.m-termin-zeile { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 8px; padding: 7px 0; border-top: 1px solid var(--linie); font-size: 12.5px; }
.m-termin-zeile b { font-weight: 500; }
.m-aufgabe { display: flex; align-items: flex-start; gap: 9px; padding: 6px 0; font-size: 12.5px; }
.m-aufgabe i { flex: none; width: 12px; height: 12px; margin-top: 2px; border: 1px solid var(--text); border-radius: 50%; }

@container (min-width: 560px) {
  .m-spalten { grid-template-columns: minmax(0, 1fr) 200px; gap: 24px; padding: 20px; }
  .m-rechts { display: block; }
}
@container (min-width: 820px) {
  .m-leiste { display: flex; }
  .m-spalten { grid-template-columns: minmax(0, 1fr) 240px; gap: 28px; padding: 22px 24px 26px; }
}
@container (max-width: 420px) {
  .m-firma-name { display: none; }
}

/* Postfach */

.m-umschalter { display: flex; gap: 4px; padding: 8px 18px; border-bottom: 1px solid var(--linie); overflow: hidden; }
.m-post-raster { display: grid; grid-template-columns: minmax(0, 1fr); }
.m-liste { display: none; border-right: 1px solid var(--linie); }
.m-eintrag { padding: 11px 14px; border-bottom: 1px solid var(--linie); font-size: 12.5px; }
.m-eintrag-aktiv { box-shadow: inset 2px 0 0 var(--text); }
.m-eintrag-kopf { display: flex; justify-content: space-between; gap: 8px; }
.m-eintrag-kopf b { font-weight: 500; }
.m-eintrag-kopf span { color: var(--gedaempft); font-size: 11.5px; }
.m-eintrag-fuss { display: flex; justify-content: space-between; align-items: center; margin-top: 6px; color: var(--gedaempft); font-size: 11px; }
.m-marke { border: 1px solid var(--linie); border-radius: 4px; padding: 0 6px; color: var(--text); font-size: 11px; }
.m-mail { padding: 16px 18px 20px; min-width: 0; }
.m-mail-kopf { margin-bottom: 10px; }
.m-mail-kopf b { display: block; font-family: var(--serif); font-size: 17px; font-weight: 400; line-height: 1.25; }
.m-mail-kopf span { display: block; margin-top: 2px; font-size: 11.5px; color: var(--gedaempft); overflow-wrap: anywhere; }
.m-mail > p { font-size: 12.5px; }
.m-entwurf { margin-top: 14px; padding: 12px 14px; border: 1px solid var(--linie-kraeftig); border-radius: 6px; }
.m-entwurf p { margin-top: 8px; font-size: 12.5px; }
.m-entwurf-fuss { display: flex; align-items: center; gap: 7px; margin-top: 10px; padding-top: 8px; border-top: 1px solid var(--linie); font-size: 11.5px; color: var(--gedaempft); }
.m-entwurf-fuss i { width: 7px; height: 7px; border-radius: 50%; background: var(--text); }

@container (min-width: 520px) {
  .m-post-raster { grid-template-columns: 220px minmax(0, 1fr); }
  .m-liste { display: block; }
}

/* Leads */

.m-kopf-leads { justify-content: flex-start; gap: 16px; }
.m-weiche-rechts { margin-left: auto; }
.m-tafel {
  display: grid;
  grid-template-columns: repeat(4, 200px);
  gap: 12px;
  padding: 16px 18px 22px;
}
.m-stufe-kopf { display: flex; justify-content: space-between; margin-bottom: 0; padding-bottom: 8px; border-bottom: 1px solid var(--linie); }
.m-lead { margin-top: 10px; padding: 10px 11px; border: 1px solid var(--linie); border-radius: 6px; font-size: 12px; }
.m-lead-name { display: flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 500; }
.m-ampel { flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--text); border: 1px solid var(--text); }
.m-ampel-leer { background: transparent; }
.m-lead-info { color: var(--gedaempft); margin-top: 2px; }
.m-naechst { margin-top: 8px; padding-top: 7px; border-top: 1px solid var(--linie); }
.m-abzeichen {
  display: inline-block;
  margin-top: 8px;
  padding: 0 6px;
  border: 1px solid currentColor;
  border-radius: 4px;
  color: var(--status);
  font-size: 11px;
  font-weight: 500;
}

/* Tim am Handy */

.m-tim { width: min(300px, 100%); container-type: normal; }
.m-handy {
  width: 100%;
  aspect-ratio: 300 / 620;
  padding: 7px;
  border-radius: 28px;
  background: var(--schwarz);
  box-shadow: 0 0 0 1px var(--stein-3);
}
.m-bildschirm {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 21px;
  background: var(--weiss);
  overflow: hidden;
}
.m-handy-kopf {
  padding: 16px 16px 10px;
  border-bottom: 1px solid var(--linie);
  font-family: var(--serif);
  font-size: 18px;
  text-align: center;
}
.m-verlauf { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 14px 12px; overflow: hidden; }
.m-blase { max-width: 86%; padding: 8px 11px; border-radius: 14px; font-size: 12px; line-height: 1.42; }
.m-du { align-self: flex-end; background: var(--schwarz); color: var(--weiss); border-bottom-right-radius: 4px; }
.m-er { align-self: flex-start; border: 1px solid var(--linie); border-bottom-left-radius: 4px; }
.m-eingabe {
  display: flex;
  align-items: center;
  height: 36px;
  margin: 0 10px 10px;
  padding: 0 14px;
  border: 1px solid var(--linie);
  border-radius: 18px;
  font-size: 12px;
  color: var(--gedaempft);
}
.m-tabs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  padding: 8px 4px 12px;
  border-top: 1px solid var(--linie);
}
.m-tabs span { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 9.5px; color: var(--gedaempft); }
.m-tabs svg { width: 17px; height: 17px; }
.m-tabs .m-tab-aktiv { color: var(--text); font-weight: 500; }

/* Exposé */

.m-blatt-flaeche { padding: 20px 18px 24px; }
.m-blatt { max-width: 380px; margin-inline: auto; padding: 14px; border: 1px solid var(--linie); border-radius: 4px; }
.mockup .m-haus { width: 100%; height: auto; stroke: var(--text); stroke-width: 1.2; }
.m-haus rect { stroke: var(--linie); }
.m-blatt-titel { margin-top: 14px; font-family: var(--serif); font-size: 18px; line-height: 1.2; }
.m-blatt-ort { margin-top: 2px; color: var(--gedaempft); font-size: 12px; }
.m-eckdaten { display: flex; flex-wrap: wrap; gap: 4px 0; margin-top: 12px; padding-block: 8px; border-block: 1px solid var(--linie); font-size: 11.5px; }
.m-eckdaten span + span::before { content: "·"; margin: 0 6px; color: var(--gedaempft); }
.m-preis { margin-top: 10px; font-family: var(--serif); font-size: 20px; }
.m-provision { font-size: 11.5px; color: var(--gedaempft); }

/* Grundriss */

.m-plan-flaeche { padding: 16px 18px 8px; }
.mockup .m-plan { width: 100%; max-width: 520px; height: auto; margin-inline: auto; stroke: var(--text); stroke-linecap: square; stroke-linejoin: miter; }
.m-plan-wand { stroke-width: 5; }
.m-plan-innen { stroke-width: 2.5; }
.m-plan-balkon { stroke-width: 1.2; stroke-dasharray: 4 3; }
.m-plan-mass { stroke-width: 0.8; stroke: var(--gedaempft); }
.m-plan text { fill: var(--text); stroke: none; font-family: var(--grotesk); font-size: 12px; }
.m-plan .m-plan-masszahl { fill: var(--gedaempft); font-size: 10px; }
.m-fusszeile { padding: 8px 18px 14px; font-size: 11.5px; color: var(--gedaempft); }

/* Woche */

.m-woche-raster { display: grid; grid-template-columns: minmax(0, 1fr); padding: 6px 18px 18px; }
.m-tag { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 6px 10px; align-items: start; padding: 8px 0; border-top: 1px solid var(--linie); }
.m-tag:first-child { border-top: 0; }
.m-tag-name { margin: 6px 0 0; }
.m-tag .m-termin { grid-column: 2; }
.m-termin { padding: 6px 8px; border: 1px solid var(--linie); border-left: 2px solid var(--text); border-radius: 4px; font-size: 11.5px; line-height: 1.35; }
.m-termin b { display: block; font-weight: 500; }
.m-termin-belegt { border-left-color: var(--linie); color: var(--gedaempft); }

@container (min-width: 520px) {
  .m-woche-raster { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; padding: 14px 18px 20px; min-height: 300px; }
  .m-tag { display: flex; flex-direction: column; gap: 6px; padding: 0 0 0 8px; border-top: 0; border-left: 1px solid var(--linie); }
  .m-tag:first-child { border-left: 0; padding-left: 0; }
  .m-tag-name { margin: 0 0 4px; }
}

/* Rechtliche Seiten */
.recht { max-width: 46rem; }
.recht h2 { font-family: var(--grotesk); font-size: 17px; font-weight: 600; letter-spacing: 0; margin: 40px 0 10px; color: var(--text); }
.recht p, .recht li { color: var(--gedaempft); font-size: 16px; line-height: 1.65; }
.recht p + p { margin-top: 12px; }
.recht ul { list-style: disc; padding-left: 1.2em; display: grid; gap: 6px; }
.recht li::marker { color: var(--gedaempft); }
.recht a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.recht-stand { font-size: 15px !important; }

/* Anmelden */
.anmelden { max-width: 34rem; }
.anmelde-form { margin: 32px 0 24px; max-width: none; }
.anmelde-zeile { display: flex; align-items: stretch; }
.anmelde-zeile input { flex: 1 1 auto; min-width: 0; border-radius: 4px 0 0 4px; }
.anmelde-endung {
  display: flex; align-items: center; padding: 0 12px; font-size: 16px; color: var(--gedaempft);
  border: 1px solid var(--linie-kraeftig); border-left: 0; border-radius: 0 4px 4px 0; white-space: nowrap;
}
.anmelde-fehler { color: var(--text); font-size: 14px; }
.anmelden .klein a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
