/* aufenta.de nach Mockup v2, Ansicht 1: Linien statt Karten, keine Schatten, Verlaeufe, Pillen oder Badges.
   Kein Medienblock und keine Schriftdatei: die Seite passt sich ueber Raster, flex-wrap und clamp() an,
   die Schrift ist der Systemstapel der Marke. Hellschiefer ist nur Linie und Zeichen, nie Textfarbe. */

:root {
  --tiefnavy: #1a2332;
  --schiefer: #4a5a72;
  --grauton: #637288;
  --hellschiefer: #8a9ab2;
  --linie: #e1e7ef;
  --flaeche: #f8fafc;
  --passt: #1f6f4a;
  --unklar: #8a5a00;
  --widerspricht: #a3282b;
  --rand: clamp(1.25rem, 4vw, 3rem);
}

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

body {
  margin: 0;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--tiefnavy);
  background: #fff;
}

/* Lange Woerter wie „Datenschutzerklaerung“ brechen bei 320 px um, statt waagerecht zu schieben — WCAG 1.4.10. */
h1,
h2,
h3 {
  font-weight: 300;
  margin: 0;
  overflow-wrap: anywhere;
}

p,
ul,
ol,
dl,
figure {
  margin: 0;
}

a {
  color: var(--tiefnavy);
}

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

.w {
  max-width: 70rem;
  margin: 0 auto;
  padding: 0 var(--rand);
}

/* Ueberspringen-Link: erst beim Fokus sichtbar. */
.sprung {
  position: absolute;
  left: -100vw;
  top: 0.75rem;
  padding: 0.5rem 0.75rem;
  background: #fff;
  border: 1px solid var(--tiefnavy);
}

.sprung:focus {
  left: 0.75rem;
}

/* Kopf */
.kopf {
  border-bottom: 1px solid var(--linie);
}

.kopf .w {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 2.25rem;
  min-height: 5rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.marke {
  display: inline-block;
  line-height: 0;
}

.marke img {
  height: 3.5rem;
  width: auto;
}

.kopf nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.75rem;
  margin-left: auto;
  font-size: 0.9375rem;
}

.kopf nav a {
  color: var(--schiefer);
  text-decoration: none;
}

.kopf nav a:hover {
  text-decoration: underline;
}

.kopf nav a,
.anmelden,
.fuss a,
.aktion a {
  display: inline-block;
  min-height: 1.5rem;
  padding: 0.125rem 0;
}

.anmelden {
  font-size: 0.9375rem;
  text-decoration: none;
  border-bottom: 1px solid var(--tiefnavy);
}

/* Erster Abschnitt */
.held {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(22rem, 100%), 1fr));
  gap: clamp(2.5rem, 6vw, 4.5rem);
  padding-top: clamp(3rem, 8vw, 5.5rem);
  padding-bottom: clamp(3rem, 8vw, 6rem);
}

.dach {
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--grauton);
}

h1 {
  margin-top: 1.125rem;
  font-size: clamp(2.25rem, 1.25rem + 3.6vw, 3.375rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

h1 .leise {
  color: var(--schiefer);
}

.einstieg {
  margin-top: 1.75rem;
  max-width: 27rem;
  font-size: 1.125rem;
  color: var(--schiefer);
}

.grenze {
  margin-top: 1.25rem;
  max-width: 27rem;
  padding-left: 1rem;
  border-left: 2px solid var(--tiefnavy);
  font-size: 0.9375rem;
}

.aktion {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.75rem;
  margin-top: 2.25rem;
  font-size: 0.9375rem;
}

.aktion .knopf {
  padding: 0.8125rem 1.375rem;
  color: #fff;
  background: var(--tiefnavy);
  text-decoration: none;
}

/* Schematischer Ausschnitt: flach, wie ein Bildschirm */
.ausschnitt {
  align-self: start;
  border: 1px solid var(--linie);
  font-size: 0.8125rem;
}

.ausschnitt .leiste {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.625rem 0.875rem;
  border-bottom: 1px solid var(--linie);
  color: var(--grauton);
}

.ausschnitt .rumpf {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(13rem, 100%), 1fr));
}

.bild {
  padding: 1.125rem;
  background: var(--flaeche);
  border-right: 1px solid var(--linie);
}

.karte {
  position: relative;
  height: 9.5rem;
  background: #fff;
  border: 1px solid var(--linie);
}

.karte .foto {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  width: 3.25rem;
  height: 4.125rem;
  background: var(--linie);
}

.karte .zeile {
  position: absolute;
  left: 4.75rem;
  height: 0.3125rem;
  background: var(--linie);
}

.karte .z1 { top: 1rem; width: 6.875rem; }
.karte .z2 { top: 1.75rem; width: 4.375rem; }
.karte .z3 { top: 3.125rem; width: 8.125rem; }
.karte .z4 { top: 3.875rem; width: 5.625rem; }
.karte .z5 { left: 0.75rem; bottom: 1.25rem; width: 80%; }
.karte .z6 { left: 0.75rem; bottom: 0.625rem; width: 70%; }

.karte .stelle {
  position: absolute;
  border: 1.5px solid var(--tiefnavy);
}

.karte .stelle span {
  position: absolute;
  right: -1.5px;
  top: -1.125rem;
  padding: 0 0.25rem;
  font-size: 0.6875rem;
  color: #fff;
  background: var(--tiefnavy);
}

.karte .s1 { left: 4.375rem; top: 0.625rem; width: 7.625rem; height: 1.625rem; }
.karte .s3 { left: 0.375rem; bottom: 0.25rem; width: 85%; height: 1.75rem; }

.bild .unter {
  margin-top: 0.875rem;
  font-size: 0.75rem;
  color: var(--grauton);
}

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

.stellen li {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.25rem 1rem;
  padding: 0.625rem 0.875rem;
  border-bottom: 1px solid var(--linie);
}

.stellen small {
  display: block;
  font-size: 0.75rem;
  color: var(--grauton);
}

/* Urteilsfarbe nur am Urteil, immer mit dem Wort */
.urteil {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
}

.urteil::before {
  content: '';
  width: 0.4375rem;
  height: 0.4375rem;
  background: currentColor;
}

.urteil.passt { color: var(--passt); }
.urteil.unklar { color: var(--unklar); }
.urteil.widerspricht { color: var(--widerspricht); }

/* Leiste mit vier Aussagen */
.fakten {
  border-top: 1px solid var(--linie);
  border-bottom: 1px solid var(--linie);
}

.fakten ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(14rem, 100%), 1fr));
  list-style: none;
  padding-top: 0;
  padding-bottom: 0;
}

.fakten li {
  padding: 1.75rem 1.5rem 1.75rem 0;
}

.fakten strong {
  display: block;
  font-size: 1.875rem;
  font-weight: 300;
  letter-spacing: -0.015em;
}

.fakten span {
  font-size: 0.8125rem;
  color: var(--grauton);
}

/* Abschnitte mit Ueberschrift links */
.abschnitt {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(22rem, 100%), 1fr));
  gap: clamp(2rem, 6vw, 4.5rem);
  padding-top: clamp(3rem, 8vw, 6rem);
  padding-bottom: clamp(3rem, 8vw, 6rem);
}

h2 {
  margin-top: 0.875rem;
  font-size: clamp(1.75rem, 1.25rem + 1.6vw, 2.125rem);
  line-height: 1.15;
  letter-spacing: -0.015em;
}

.schritte {
  list-style: none;
  padding: 0;
  counter-reset: schritt;
}

.schritte li {
  display: grid;
  grid-template-columns: 3rem 1fr;
  padding: 1.375rem 0;
  border-top: 1px solid var(--linie);
  counter-increment: schritt;
}

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

.schritte li::before {
  content: counter(schritt);
  color: var(--grauton);
}

.schritte p,
.liste p {
  margin-top: 0.25rem;
  font-size: 0.9375rem;
  color: var(--schiefer);
}

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

.liste li {
  padding: 1.125rem 0;
  border-top: 1px solid var(--linie);
}

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

/* Rechtstexte */
.text {
  max-width: 46rem;
  padding-top: clamp(2.5rem, 6vw, 4rem);
  padding-bottom: clamp(3rem, 8vw, 5rem);
}

.text h1 {
  margin-top: 2rem;
  font-size: clamp(2rem, 1.25rem + 2.4vw, 2.75rem);
}

.text h2 {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--linie);
  font-size: 1.375rem;
}

.text p,
.text ul {
  margin-top: 0.75rem;
}

.text li + li {
  margin-top: 0.375rem;
}

/* Fuss */
.fuss {
  border-top: 1px solid var(--linie);
  font-size: 0.8125rem;
  color: var(--grauton);
}

.fuss .w {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  padding-top: 1.75rem;
  padding-bottom: 1.75rem;
}

.fuss a {
  color: var(--grauton);
}
