/* NORA – Website. Schrift: Inter (SIL OFL 1.1, assets/schrift/OFL.txt), lokal ausgeliefert. */

@font-face {
  font-family: 'Inter';
  src: url('schrift/Inter-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('schrift/Inter-SemiBold.woff') format('woff');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter Display';
  src: url('schrift/InterDisplay-SemiBold.woff') format('woff');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Farben: Tinte und Planpapier der Flurkarte, Wiese für Flächen, Rost als Markenfarbe von NORA */
  --tinte: #18202a;
  --tinte-2: #46525e;
  --plan: #eef1ec;
  --papier: #ffffff;
  --flur: #6d8571;
  --wiese: #dde6d6;
  --linie: #cdd5ca;
  --rost: #a8360a;
  --rost-hell: #f6e3da;

  --text: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --titel: 'Inter Display', 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --breite: 72rem;
  --rand: clamp(1rem, 4vw, 2.5rem);
  --abstand: clamp(4rem, 9vw, 7.5rem);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--plan);
  color: var(--tinte);
  font-family: var(--text);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-feature-settings: 'ss01' 1;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration-color: var(--flur);
  text-underline-offset: 0.2em;
}
a:hover {
  text-decoration-color: var(--rost);
}

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

h1,
h2,
h3 {
  font-family: var(--titel);
  font-weight: 600;
  line-height: 1.15;
  margin: 0;
}
h2 {
  font-size: clamp(1.75rem, 3.6vw, 2.6rem);
  letter-spacing: -0.02em;
  max-width: 24ch;
}
h3 {
  font-size: 1.2rem;
  letter-spacing: -0.01em;
}
p {
  margin: 0;
}

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

.sprung {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--tinte);
  color: var(--papier);
  padding: 0.6rem 1rem;
  border-radius: 6px;
  z-index: 10;
}
.sprung:focus {
  top: 1rem;
}

/* ---------------------------------------------------------------- Knöpfe */
.knopf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  background: var(--rost);
  color: var(--papier);
  font-weight: 600;
  text-decoration: none;
  border: 2px solid var(--rost);
  line-height: 1.2;
  text-align: center;
}
.knopf:hover {
  background: #8f2d07;
  border-color: #8f2d07;
}
.knopf-leise {
  background: transparent;
  color: var(--tinte);
  border-color: var(--tinte);
}
.knopf-leise:hover {
  background: var(--tinte);
  border-color: var(--tinte);
  color: var(--papier);
}
.knopf-klein {
  min-height: 2.4rem;
  padding: 0.4rem 1rem;
  font-size: 0.95rem;
}
.knopfreihe {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ---------------------------------------------------------------- Kopf */
.kopf {
  position: sticky;
  top: 0;
  z-index: 5;
  background: color-mix(in srgb, var(--plan) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--linie);
}
.kopf-innen {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 4rem;
}
.marke {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--titel);
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: 0.02em;
  text-decoration: none;
}
.hauptnav {
  margin-left: auto;
}
.menue {
  display: none;
}
.hauptnav ul,
.menue ul {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.hauptnav a,
.menue a {
  text-decoration: none;
  font-size: 0.97rem;
  color: var(--tinte-2);
}
.hauptnav a:hover,
.menue a:hover {
  color: var(--tinte);
}

@media (max-width: 56rem) {
  .hauptnav {
    display: none;
  }
  .menue {
    display: block;
    margin-left: auto;
    position: relative;
  }
  .menue summary {
    display: block;
    cursor: pointer;
    list-style: none;
    padding: 0.4rem 0.8rem;
    border: 1px solid var(--linie);
    border-radius: 999px;
    font-size: 0.95rem;
  }
  .menue summary::-webkit-details-marker {
    display: none;
  }
  .menue nav {
    position: absolute;
    right: 0;
    top: calc(100% + 0.5rem);
    background: var(--papier);
    border: 1px solid var(--linie);
    border-radius: 12px;
    padding: 0.75rem;
    min-width: 13rem;
    box-shadow: 0 12px 30px rgb(24 32 42 / 0.12);
  }
  .menue ul {
    flex-direction: column;
    gap: 0;
  }
  .menue a {
    display: block;
    padding: 0.55rem 0.6rem;
    color: var(--tinte);
  }
}
@media (max-width: 26rem) {
  .kopf .knopf-klein {
    display: none;
  }
}

/* ---------------------------------------------------------------- Einstieg mit Lageplan */
.einstieg {
  padding: clamp(2.5rem, 7vw, 5.5rem) 0 var(--abstand);
}
.einstieg-raster {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.einstieg h1 {
  font-size: clamp(2.4rem, 5.6vw, 4.25rem);
  letter-spacing: -0.035em;
  line-height: 1.02;
  max-width: 12ch;
}
.einleitung {
  margin-top: 1.5rem;
  font-size: 1.2rem;
  color: var(--tinte-2);
  max-width: 34rem;
}
.einstieg .knopfreihe {
  margin-top: 2rem;
}
.randnotiz {
  margin-top: 1rem;
  font-size: 0.95rem;
  color: var(--tinte-2);
}

.plan {
  margin: 0;
}
.plan svg {
  display: block;
  width: 100%;
  height: auto;
  background: var(--papier);
  border: 1px solid var(--linie);
  border-radius: 14px;
}
.plan figcaption {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: var(--tinte-2);
}

.strasse {
  fill: #e4e7e1;
  stroke: var(--linie);
}
.strassenname {
  font: 500 13px var(--text);
  fill: var(--tinte-2);
  letter-spacing: 0.12em;
}
.flur {
  fill: transparent;
  stroke: var(--flur);
  stroke-width: 1.6;
  stroke-linejoin: round;
  stroke-dasharray: 1000;
  stroke-dashoffset: 0;
  animation: flur-zeichnen 1.4s cubic-bezier(0.6, 0, 0.2, 1) both;
  animation-delay: calc(var(--n) * 0.18s);
}
.flur-wiese {
  fill: var(--wiese);
}
.flur-acker {
  fill: url(#acker);
  stroke: var(--rost);
  stroke-width: 2.4;
}
.acker-linie {
  stroke: #e2b7a3;
  stroke-width: 1.4;
}
.gebaeude {
  fill: url(#haus);
  stroke: var(--tinte);
  stroke-width: 1.6;
}
.haus-linie {
  stroke: #9aa6b0;
  stroke-width: 1.2;
}
.nebengebaeude {
  fill: #c9d2da;
  stroke: var(--tinte);
  stroke-width: 1.2;
}
.nummer {
  font: italic 400 15px var(--text);
  fill: var(--flur);
  text-anchor: middle;
  font-variant-numeric: tabular-nums;
}
.nummer-hervor {
  fill: var(--rost);
  font-size: 18px;
  font-weight: 600;
}
.vermerk {
  animation: vermerk-zeigen 0.5s ease-out both;
  animation-delay: calc(1.2s + var(--v) * 0.25s);
}
.vermerk line {
  stroke: var(--tinte);
  stroke-width: 1;
}
.vermerk rect {
  fill: var(--papier);
  stroke: var(--tinte);
  stroke-width: 1;
}
.vermerk text {
  font: 600 13px var(--text);
  fill: var(--tinte);
}
.vermerk text.klein {
  font-weight: 400;
  font-size: 11.5px;
  fill: var(--tinte-2);
}
.vermerk-hervor rect {
  fill: var(--rost-hell);
  stroke: var(--rost);
}
.vermerk-hervor line {
  stroke: var(--rost);
}
.vermerk-hervor text {
  fill: #6e2406;
}
.vermerk-hervor text.klein {
  fill: #6e2406;
}
.nordpfeil path {
  fill: var(--tinte);
}
.nordpfeil text {
  font: 600 11px var(--text);
  text-anchor: middle;
  fill: var(--tinte);
}

@keyframes flur-zeichnen {
  from {
    stroke-dashoffset: 1000;
    fill-opacity: 0;
  }
  70% {
    fill-opacity: 0;
  }
  to {
    stroke-dashoffset: 0;
    fill-opacity: 1;
  }
}
@keyframes vermerk-zeigen {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .flur,
  .vermerk {
    animation: none;
  }
}

@media (max-width: 56rem) {
  .einstieg-raster {
    grid-template-columns: 1fr;
  }
}

/* ---------------------------------------------------------------- Abschnitte */
.abschnitt {
  padding: var(--abstand) 0;
}
.abschnitt-plan {
  background: var(--papier);
  border-top: 1px solid var(--linie);
  border-bottom: 1px solid var(--linie);
}
.abschnitt-einleitung {
  margin-top: 1rem;
  max-width: 40rem;
  color: var(--tinte-2);
  font-size: 1.1rem;
}

/* Zielgruppen: vier gleichrangige Gruppen nebeneinander, getrennt durch die Flurlinie */
.zielgruppen {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3rem clamp(2rem, 5vw, 4.5rem);
}
.zielgruppen article {
  border-top: 2px solid var(--flur);
  padding-top: 1.25rem;
}
.zielgruppen article > p {
  margin-top: 0.5rem;
  color: var(--tinte-2);
}
.zielgruppen ul {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}
.zielgruppen li {
  padding: 0.5rem 0 0.5rem 1.4rem;
  position: relative;
  border-bottom: 1px solid var(--linie);
}
.zielgruppen li::before {
  content: '';
  position: absolute;
  left: 0.15rem;
  top: 1.05rem;
  width: 0.55rem;
  height: 0.55rem;
  border: 1.5px solid var(--flur);
  transform: rotate(45deg);
}
@media (max-width: 46rem) {
  .zielgruppen {
    grid-template-columns: 1fr;
  }
}

/* Vermieterjahr: echte zeitliche Abfolge, daher als geordnete Liste entlang einer Zeitleiste */
.monatlich {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: 10rem minmax(0, 1fr);
  gap: 1rem 2rem;
  padding: 1.25rem 1.5rem;
  border-radius: 12px;
  background: var(--plan);
  max-width: 52rem;
}
.monatlich h3 {
  font-size: 1.05rem;
}
.jahr {
  list-style: none;
  margin: 3rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0 1.25rem;
  position: relative;
}
.jahr::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0.55rem;
  border-top: 2px dashed var(--linie);
}
.jahr li {
  position: relative;
  padding-top: 2rem;
}
.jahr li::before {
  content: '';
  position: absolute;
  top: 0.1rem;
  left: 0;
  width: 0.9rem;
  height: 0.9rem;
  border-radius: 50%;
  background: var(--papier);
  border: 2px solid var(--flur);
}
.jahr li:last-child::before {
  background: var(--rost);
  border-color: var(--rost);
}
.monat {
  display: block;
  font-family: var(--titel);
  font-weight: 600;
  font-size: 1.15rem;
}
.jahr p {
  hyphens: auto;
  overflow-wrap: break-word;
  margin-top: 0.4rem;
  font-size: 0.97rem;
  color: var(--tinte-2);
}
@media (max-width: 62rem) {
  .jahr {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem 1.25rem;
  }
  .jahr::before {
    display: none;
  }
}
@media (max-width: 40rem) {
  .monatlich {
    grid-template-columns: 1fr;
  }
  .jahr {
    grid-template-columns: 1fr;
    gap: 0;
    border-left: 2px dashed var(--linie);
    margin-left: 0.4rem;
  }
  .jahr li {
    padding: 0 0 1.5rem 1.5rem;
  }
  .jahr li::before {
    left: -0.55rem;
    top: 0.3rem;
  }
}

/* Einblick */
.einblick {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 0.45fr);
  gap: 2rem 1.5rem;
  align-items: start;
}
.einblick figure {
  margin: 0;
}
.einblick img {
  display: block;
  border-radius: 10px;
  border: 1px solid var(--linie);
  box-shadow: 0 18px 40px -24px rgb(24 32 42 / 0.45);
  background: var(--papier);
}
.einblick figcaption {
  margin-top: 0.75rem;
  font-size: 0.95rem;
  color: var(--tinte-2);
  max-width: 38rem;
}
.einblick-gross {
  grid-column: 1 / 3;
}
.einblick-mobil {
  grid-column: 3;
  grid-row: 1 / 3;
}
.einblick-mobil img {
  border-radius: 22px;
}
@media (max-width: 56rem) {
  .einblick {
    grid-template-columns: 1fr 1fr;
  }
  .einblick-gross {
    grid-column: 1 / -1;
  }
  .einblick-mobil {
    grid-column: auto;
    grid-row: auto;
    max-width: 16rem;
  }
}
@media (max-width: 40rem) {
  .einblick {
    grid-template-columns: 1fr;
  }
}

/* Daten */
.abschnitt-dunkel {
  background: var(--tinte);
  color: #e9ede7;
}
.abschnitt-dunkel a {
  color: inherit;
}
.daten-raster {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 2.5rem 4rem;
}
.daten {
  margin: 0;
  display: grid;
  gap: 1.75rem;
}
.daten dt {
  font-family: var(--titel);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--papier);
}
.daten dd {
  margin: 0.35rem 0 0;
  color: #b9c3c9;
}
@media (max-width: 56rem) {
  .daten-raster {
    grid-template-columns: 1fr;
  }
}

/* Preise */
.preise {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}
.paket {
  display: flex;
  flex-direction: column;
  background: var(--papier);
  border: 1px solid var(--linie);
  border-radius: 14px;
  padding: 1.5rem 1.4rem;
}
.paket-hervor {
  border: 2px solid var(--rost);
}
.paket .fuer {
  margin-top: 0.35rem;
  min-height: 3.2em;
  font-size: 0.95rem;
  color: var(--tinte-2);
}
.preis {
  margin-top: 1.25rem;
  font-size: 0.95rem;
  color: var(--tinte-2);
}
.betrag {
  font-family: var(--titel);
  font-weight: 600;
  font-size: 2.3rem;
  letter-spacing: -0.02em;
  color: var(--tinte);
  font-variant-numeric: tabular-nums;
}
.klein-vor {
  font-size: 0.95rem;
}
.preis-zusatz {
  font-size: 0.9rem;
  color: var(--tinte-2);
  min-height: 2.8em;
}
.paket ul {
  list-style: none;
  margin: 1.25rem 0 1.5rem;
  padding: 0;
  flex: 1;
}
.paket li {
  padding: 0.45rem 0;
  border-top: 1px solid var(--linie);
  font-size: 0.97rem;
}
.paket .knopf {
  width: 100%;
}
.eigenbetrieb {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 3rem;
  padding: 1.5rem 1.4rem;
  border: 1px dashed var(--flur);
  border-radius: 14px;
}
.eigenbetrieb p {
  margin-top: 0.35rem;
  color: var(--tinte-2);
  max-width: 46rem;
}
.eigenbetrieb .knopf {
  flex: none;
}
.kleingedrucktes {
  margin-top: 3rem;
}
.spalten {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  columns: 2;
  column-gap: 3rem;
}
.spalten li {
  break-inside: avoid;
  padding: 0.35rem 0 0.35rem 1.6rem;
  position: relative;
}
.spalten li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--flur);
  font-weight: 600;
}
.steuer {
  margin-top: 1.5rem;
  font-size: 0.88rem;
  color: var(--tinte-2);
  max-width: 52rem;
}
@media (max-width: 62rem) {
  .preise {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 40rem) {
  .preise {
    grid-template-columns: 1fr;
  }
  .paket .fuer,
  .preis-zusatz {
    min-height: 0;
  }
  .eigenbetrieb {
    flex-direction: column;
    align-items: flex-start;
  }
  .spalten {
    columns: 1;
  }
}

/* Fragen */
.fragen-raster {
  display: grid;
  grid-template-columns: minmax(0, 0.6fr) minmax(0, 1.4fr);
  gap: 2rem 4rem;
}
.fragen details {
  border-bottom: 1px solid var(--linie);
}
.fragen details:first-child {
  border-top: 1px solid var(--linie);
}
.fragen summary {
  cursor: pointer;
  padding: 1.1rem 2.5rem 1.1rem 0;
  font-weight: 600;
  position: relative;
  list-style: none;
}
.fragen summary::-webkit-details-marker {
  display: none;
}
.fragen summary::after {
  content: '';
  position: absolute;
  right: 0.4rem;
  top: 1.45rem;
  width: 0.6rem;
  height: 0.6rem;
  border-right: 2px solid var(--flur);
  border-bottom: 2px solid var(--flur);
  transform: rotate(45deg);
  transition: transform 0.2s;
}
.fragen details[open] summary::after {
  transform: rotate(-135deg);
  top: 1.7rem;
}
.fragen details p {
  padding: 0 0 1.25rem;
  color: var(--tinte-2);
  max-width: 44rem;
}
@media (max-width: 56rem) {
  .fragen-raster {
    grid-template-columns: 1fr;
  }
}

/* Kontakt */
.kontakt-innen {
  max-width: 48rem;
}
.kontakt-innen p {
  margin-top: 1rem;
  font-size: 1.15rem;
  color: var(--tinte-2);
}
.kontakt .knopfreihe {
  margin-top: 2rem;
}

/* Fuß */
.fuss {
  border-top: 1px solid var(--linie);
  padding: 2rem 0;
  font-size: 0.93rem;
  color: var(--tinte-2);
}
.fuss-innen {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem 2rem;
}
.fuss ul {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Rechtstexte */
.rechtstext {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 var(--abstand);
}
.rechtstext .breite {
  max-width: 48rem;
}
.rechtstext h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  letter-spacing: -0.03em;
}
.rechtstext h2 {
  font-size: 1.35rem;
  margin-top: 2.25rem;
  max-width: none;
}
.rechtstext p,
.rechtstext ul {
  margin-top: 0.75rem;
}
.rechtstext address {
  font-style: normal;
  margin-top: 0.75rem;
}
.hinweis-fehlt {
  background: #fff4c2;
  outline: 2px dashed #b38600;
  padding: 0 0.25rem;
}
