/* UMZ CRM · Startseite · Design Tanagra warm */

:root {
  --grund: #F5F3EE;
  --flaeche: #FBFAF7;
  --text: #1F1E1C;
  --text-leise: #55524C;
  --akzent: #D97757;
  --akzent-text: #A9502F;
  --akzent-hell: #F6E4DB;
  --linie: #E4DFD5;
  --schrift-titel: "Source Serif 4", "Source Serif Pro", Georgia, "Times New Roman", serif;
  --schrift-text: Inter, "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
  --radius: 14px;
  --breite: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  background: var(--grund);
  color: var(--text);
  font-family: var(--schrift-text);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--akzent-text);
  text-underline-offset: 3px;
}

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

:focus-visible {
  outline: 3px solid var(--text);
  outline-offset: 3px;
  border-radius: 6px;
}

h1,
h2,
h3 {
  font-family: var(--schrift-titel);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 0.6em;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2.4rem, 6vw, 3.6rem);
}

h2 {
  font-size: clamp(1.7rem, 3.6vw, 2.3rem);
}

h3 {
  font-size: 1.25rem;
}

p {
  margin: 0 0 1em;
}

.sprung {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--text);
  color: var(--flaeche);
  padding: 0.6rem 1rem;
  border-radius: 8px;
  z-index: 10;
}

.sprung:focus {
  top: 1rem;
  color: var(--flaeche);
}

.rahmen {
  width: 100%;
  max-width: var(--breite);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Kopfleiste */

.kopf {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(245, 243, 238, 0.94);
  border-bottom: 1px solid var(--linie);
  backdrop-filter: blur(6px);
}

.kopf .rahmen {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
}

.marke {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text);
  text-decoration: none;
  font-family: var(--schrift-titel);
  font-weight: 600;
  font-size: 1.3rem;
}

.marke img {
  width: 40px;
  height: 40px;
}

.navi {
  display: none;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.navi a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.97rem;
}

.navi a:hover {
  text-decoration: underline;
}

/* Knöpfe */

.knopf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  background: var(--akzent);
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
  border: 2px solid var(--akzent);
  transition: background 0.15s ease, color 0.15s ease;
}

.knopf:hover {
  background: var(--text);
  border-color: var(--text);
  color: var(--flaeche);
}

.knopf-klein {
  min-height: 42px;
  padding: 0.5rem 1.15rem;
  font-size: 0.97rem;
}

/* Abschnitte */

.abschnitt {
  padding: 4.5rem 0;
}

.abschnitt-flaeche {
  background: var(--flaeche);
  border-top: 1px solid var(--linie);
  border-bottom: 1px solid var(--linie);
}

.oberzeile {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--akzent-text);
  margin-bottom: 0.75rem;
}

.einleitung {
  max-width: 44rem;
  color: var(--text-leise);
  font-size: 1.12rem;
  margin-bottom: 2.5rem;
}

/* Hero */

.hero {
  padding: 4rem 0 4.5rem;
}

.hero .rahmen {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.hero-untertitel {
  font-family: var(--schrift-titel);
  font-size: clamp(1.3rem, 2.8vw, 1.65rem);
  line-height: 1.35;
  margin-bottom: 1rem;
}

.hero-claim {
  font-size: 1.15rem;
  color: var(--text-leise);
  max-width: 38rem;
}

.hero-aktion {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  margin-top: 1.75rem;
}

.hero-hinweis {
  font-size: 0.95rem;
  color: var(--text-leise);
  margin: 0;
}

.weg {
  background: var(--flaeche);
  border: 1px solid var(--linie);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  box-shadow: 0 10px 30px rgba(31, 30, 28, 0.06);
}

.weg h2 {
  font-size: 1.2rem;
  margin-bottom: 1.1rem;
}

.weg ol {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}

.weg li {
  position: relative;
  padding: 0 0 1.1rem 2.4rem;
}

.weg li:last-child {
  padding-bottom: 0;
}

.weg li::before {
  content: "";
  position: absolute;
  left: 0.55rem;
  top: 1.4rem;
  bottom: 0;
  width: 2px;
  background: var(--linie);
}

.weg li:last-child::before {
  display: none;
}

.weg .punkt {
  position: absolute;
  left: 0;
  top: 0.2rem;
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  background: var(--flaeche);
  border: 3px solid var(--akzent);
}

.weg li:last-child .punkt {
  background: var(--akzent);
}

.weg strong {
  display: block;
}

.weg span.klein {
  font-size: 0.92rem;
  color: var(--text-leise);
}

.tor-marke {
  display: inline-block;
  margin-left: 0.35rem;
  padding: 0.05rem 0.5rem;
  border-radius: 999px;
  background: var(--akzent-hell);
  color: var(--text);
  font-size: 0.8rem;
  font-weight: 600;
  vertical-align: 0.1em;
}

/* Karten */

.raster {
  display: grid;
  gap: 1.25rem;
}

.karte {
  background: var(--flaeche);
  border: 1px solid var(--linie);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
}

.abschnitt-flaeche .karte {
  background: var(--grund);
}

.karte p:last-child {
  margin-bottom: 0;
}

.karte-nr {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: var(--akzent-hell);
  color: var(--text);
  font-family: var(--schrift-titel);
  font-weight: 600;
  margin-bottom: 1rem;
}

/* Ablauf */

.block {
  display: flex;
  flex-direction: column;
}

.block-kopf {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
}

.block-nr {
  font-family: var(--schrift-titel);
  font-size: 2rem;
  font-weight: 600;
  color: var(--akzent-text);
  line-height: 1;
}

.schritte {
  list-style: none;
  margin: 1rem 0 0;
  padding: 1rem 0 0;
  border-top: 1px solid var(--linie);
  font-size: 0.95rem;
}

.schritte li {
  padding: 0.25rem 0;
}

.schritte li + li {
  border-top: 1px dashed var(--linie);
}

.hinweis {
  margin-top: 2rem;
  background: var(--text);
  color: var(--flaeche);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
}

.hinweis h3 {
  color: var(--flaeche);
  font-size: 1.35rem;
}

.hinweis p {
  color: #E9E5DD;
}

.tore {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.tore li {
  background: rgba(251, 250, 247, 0.08);
  border: 1px solid rgba(251, 250, 247, 0.2);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  color: #E9E5DD;
}

.tore strong {
  color: var(--flaeche);
}

.tore .tor-id {
  display: inline-block;
  min-width: 2.2rem;
  padding: 0.05rem 0.5rem;
  margin-right: 0.4rem;
  border-radius: 999px;
  background: var(--akzent);
  color: var(--text);
  font-weight: 700;
  font-size: 0.85rem;
  text-align: center;
}

.helfer {
  margin-top: 2rem;
}

.helfer h3 {
  margin-bottom: 1rem;
}

.helfer-liste {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.helfer-liste li {
  background: var(--flaeche);
  border: 1px solid var(--linie);
  border-radius: 10px;
  padding: 0.9rem 1rem;
}

/* Grundsätze */

.grundsaetze {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: g;
}

.grundsaetze li {
  counter-increment: g;
  position: relative;
  padding: 1.25rem 0 1.25rem 3.4rem;
  border-top: 1px solid var(--linie);
}

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

.grundsaetze li::before {
  content: counter(g);
  position: absolute;
  left: 0;
  top: 1.2rem;
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 50%;
  border: 2px solid var(--akzent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--schrift-titel);
  font-weight: 600;
}

.grundsaetze h3 {
  margin-bottom: 0.25rem;
}

.grundsaetze p {
  margin: 0;
  color: var(--text-leise);
}

/* Zugang */

.zugang {
  background: var(--akzent-hell);
  border-radius: calc(var(--radius) + 6px);
  padding: 2.5rem 1.5rem;
  text-align: center;
}

.zugang p {
  max-width: 38rem;
  margin-left: auto;
  margin-right: auto;
}

/* Fuß */

.fuss {
  padding: 2.5rem 0 3rem;
  border-top: 1px solid var(--linie);
  font-size: 0.95rem;
  color: var(--text-leise);
}

.fuss .rahmen {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.fuss p {
  margin: 0;
}

.fuss .marke {
  font-size: 1.1rem;
}

.fuss .marke img {
  width: 32px;
  height: 32px;
}

/* Breakpoints */

@media (min-width: 560px) {
  .raster-3,
  .raster-2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .helfer-liste {
    grid-template-columns: repeat(3, 1fr);
  }

  .tore {
    grid-template-columns: repeat(2, 1fr);
  }

  .zugang {
    padding: 3rem 2.5rem;
  }
}

@media (min-width: 900px) {
  .navi {
    display: flex;
  }

  .abschnitt {
    padding: 6rem 0;
  }

  .hero {
    padding: 5.5rem 0 6rem;
  }

  .hero .rahmen {
    grid-template-columns: 1.25fr 1fr;
    gap: 4rem;
  }

  .raster-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .tore {
    grid-template-columns: repeat(4, 1fr);
  }

  .hinweis {
    padding: 2.25rem 2.25rem;
  }

  .fuss .rahmen {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
