/* SIMPLYORGA — statischer Onepager
   Corporate Identity übernommen von der Bestandsseite:
   Signalrot #dd2400, Wortmarke schwarz, Schwarz-Rot-Gold als Signaturelement,
   Maven Pro für Überschriften, Work Sans für Fließtext.
   Beide Schriften variabel und selbst gehostet — keine Fremdanfrage. */

/* ---------- Schriften ---------- */
@font-face {
  font-family: "Work Sans";
  src: url("../fonts/work-sans-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+2074, U+20AC, U+2122, U+2191, U+2193,
                 U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Work Sans";
  src: url("../fonts/work-sans-latin-ext.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB,
                 U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Maven Pro";
  src: url("../fonts/maven-pro-latin.woff2") format("woff2");
  font-weight: 400 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+2074, U+20AC, U+2122, U+2191, U+2193,
                 U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Maven Pro";
  src: url("../fonts/maven-pro-latin-ext.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB,
                 U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Grundwerte ---------- */
:root {
  --papier:      #f4f2ef;
  --papier-tief: #eae6e1;
  --tinte:       #16130f;
  --tinte-leise: #6b6560;
  --rot:         #dd2400;
  --rot-tief:    #b31d00;
  --gold:        #f2b705;
  --linie:       #d8d2ca;
  --nacht:       #0d0c0b;

  --schrift-display: "Maven Pro", "Trebuchet MS", sans-serif;
  --schrift-text:    "Work Sans", "Helvetica Neue", Arial, sans-serif;

  --rand:   clamp(1.25rem, 5vw, 5.5rem);
  --spalte: min(76rem, 100% - var(--rand) * 2);
  --takt:   clamp(4rem, 9vw, 8rem);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  background: var(--papier);
  color: var(--tinte);
  font-family: var(--schrift-text);
  font-size: clamp(1rem, .95rem + .2vw, 1.125rem);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--rot);
  outline-offset: 3px;
}

/* ---------- Signaturelement: Schwarz-Rot-Gold ---------- */
.flagge {
  height: 4px;
  border: 0;
  margin: 0;
  background: linear-gradient(90deg,
    var(--tinte) 0 33.33%, var(--rot) 33.33% 66.66%, var(--gold) 66.66% 100%);
}
.flagge--schmal { height: 3px; width: 4.5rem; }

/* ---------- Kopfzeile ---------- */
.kopf {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--papier) 88%, transparent);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--linie);
}
.kopf__innen {
  width: var(--spalte);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
  min-height: 6.25rem;
}
.kopf__logo { justify-self: start; }
.kopf__logo img { height: clamp(3.4rem, 4.6vw, 4.6rem); width: auto; }
/* min-width: 0 ist Pflicht: Rasterelemente haben sonst min-width: auto und
   sprengen ihre Spalte, wodurch das ganze Dokument seitlich überläuft. */
.kopf__nav { grid-column: 2; justify-self: center; min-width: 0; }

.menue, .untermenue { list-style: none; margin: 0; padding: 0; }
.menue { display: flex; align-items: center; gap: clamp(1.2rem, 3vw, 2.75rem); }
.menue > li > a,
.untermenue a {
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--tinte);
  white-space: nowrap;
}
.menue > li > a {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding-block: .5rem;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}
.menue > li > a:hover { color: var(--rot); border-bottom-color: var(--rot); }

.menue__pfeil {
  width: .5rem; height: .5rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform .2s;
}

/* Aufklappmenü ohne JavaScript — Maus über :hover, Tastatur über :focus-within */
.menue__klapp { position: relative; }
.untermenue {
  position: absolute;
  top: calc(100% + .55rem);
  left: 50%;
  translate: -50% 0;
  min-width: 19rem;
  background: var(--papier);
  border: 1px solid var(--linie);
  border-top: 3px solid var(--rot);
  box-shadow: 0 18px 40px -18px rgba(0,0,0,.35);
  padding: .4rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-.4rem);
  transition: opacity .18s, transform .18s, visibility .18s;
  z-index: 60;
}
.menue__klapp:hover .untermenue,
.menue__klapp:focus-within .untermenue {
  opacity: 1; visibility: visible; transform: none;
}
.menue__klapp:hover .menue__pfeil,
.menue__klapp:focus-within .menue__pfeil { transform: translateY(1px) rotate(-135deg); }

.untermenue a {
  display: flex;
  align-items: center;
  gap: .8rem;
  padding: .6rem .75rem;
  color: var(--tinte-leise);
  transition: background .15s, color .15s;
}
.untermenue a:hover { background: var(--papier-tief); color: var(--tinte); }
.untermenue img { width: 1.75rem; height: auto; flex: 0 0 auto; }

/* Auf schmalen Geräten: Logo oben, darunter eine seitlich scrollbare Leiste
   mit allen Zielen. Ein Aufklappmenü ohne Skript ist auf Touch unzuverlässig. */
@media (max-width: 62rem) {
  .kopf__innen {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: .4rem;
    padding-block: .6rem;
    min-height: 0;
  }
  .kopf__logo { justify-self: center; }
  .kopf__logo img { height: 3rem; }
  .kopf__nav { grid-column: 1; justify-self: stretch; width: 100%; min-width: 0; }
  .menue {
    flex-wrap: nowrap;
    overflow-x: auto;
    min-width: 0;
    max-width: 100%;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    gap: 1.25rem;
    padding-bottom: .2rem;
  }
  .menue::-webkit-scrollbar { display: none; }
  .menue > li { flex: 0 0 auto; }
  .menue__pfeil { display: none; }

  /* Untermenü flach in die Leiste einreihen statt aufklappen.
     display: contents entfernt nur EINE Kastenebene — deshalb muss auch das
     tragende <li> darauf gesetzt werden, sonst stapeln sich die sieben
     Einträge innerhalb dieses <li> senkrecht. */
  .menue__klapp { position: static; display: contents; }
  .untermenue {
    position: static;
    display: contents;
    opacity: 1; visibility: visible; transform: none;
    border: 0; box-shadow: none; background: none; padding: 0;
  }
  .untermenue a { padding: .5rem 0; background: none; }
  .untermenue img { display: none; }
  /* Höhere Spezifität als `.menue > li > a`, sonst gewinnt dessen
     display: inline-flex und „Kategorien" bliebe sichtbar. */
  .menue .menue__klapp > a { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: min(84svh, 46rem);
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--nacht);
  isolation: isolate;
}
.hero__medium, .hero__medium img, .hero__medium video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
/* Der Verlauf muss die Schrift tragen, egal welches Videobild gerade läuft.
   Deshalb zusätzlich von links: dort steht der Text immer. */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(13,12,11,.88) 0%, rgba(13,12,11,.72) 32%, rgba(13,12,11,.18) 68%, rgba(13,12,11,.35) 100%),
    linear-gradient(180deg, rgba(13,12,11,.55) 0%, rgba(13,12,11,.25) 40%, rgba(13,12,11,.85) 100%),
    radial-gradient(120% 80% at 15% 90%, rgba(221,36,0,.16), transparent 60%);
}
.hero__innen {
  width: var(--spalte);
  margin-inline: auto;
  padding-block: clamp(3rem, 8vw, 6rem);
  color: #fff;
}
.hero__ueberzeile {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: rgba(255,255,255,.72);
  margin: 0 0 1.1rem;
}
.hero__titel { margin: 0 0 2.25rem; }
.hero__titel img {
  width: min(100%, 36rem);
  height: auto;
}
.hero__claim {
  font-size: clamp(1.05rem, 2.2vw, 1.5rem);
  font-weight: 300;
  max-width: 34ch;
  margin: 0 0 2rem;
  color: rgba(255,255,255,.9);
}
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem 2.25rem;
  font-size: clamp(.9rem, 1.4vw, 1.1rem);
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.82);
}
.hero > * { animation: aufsteigen .9s cubic-bezier(.2,.7,.3,1) backwards; }
.hero__innen > * { animation: aufsteigen .8s cubic-bezier(.2,.7,.3,1) backwards; }
.hero__innen > *:nth-child(1) { animation-delay: .05s; }
.hero__innen > *:nth-child(2) { animation-delay: .15s; }
.hero__innen > *:nth-child(3) { animation-delay: .25s; }
.hero__innen > *:nth-child(4) { animation-delay: .35s; }
@keyframes aufsteigen {
  from { opacity: 0; transform: translateY(1.2rem); }
  to   { opacity: 1; transform: none; }
}

/* ---------- Allgemeine Abschnitte ---------- */
.band { width: var(--spalte); margin-inline: auto; }
.abschnitt { padding-block: var(--takt); scroll-margin-top: 4.5rem; }
.abschnitt + .abschnitt { border-top: 1px solid var(--linie); }

.marke {
  font-size: clamp(.85rem, 1.2vw, 1rem);
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--rot);
  margin: 0 0 .85rem;
}
.titel {
  font-family: var(--schrift-display);
  font-weight: 800;
  font-size: clamp(1.9rem, 4vw, 3.1rem);
  line-height: 1.02;
  letter-spacing: -.02em;
  margin: 0 0 1rem;
  text-wrap: balance;
}
.vorspann {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  max-width: 58ch;
  color: var(--tinte-leise);
  margin: 0;
}

/* ---------- Profil ---------- */
/* Fließtext über die volle Breite in zwei Spalten, Kennzahlen als Band darunter.
   Vorher stand der Text schmal links und rechts blieb die halbe Fläche leer. */
.profil__text { margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
@media (min-width: 52rem) {
  .profil__text {
    columns: 2;
    column-gap: clamp(2.5rem, 5vw, 4.5rem);
  }
}
.profil__text p {
  margin: 0 0 1.15rem;
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
}
.profil__text p:last-child { margin-bottom: 0; }

/* Untereinander statt nebeneinander: „Sonderanfertigungen" ist ein einzelnes
   langes Wort und kollidierte in schmalen Spalten mit dem Nachbarn. */
/* Als Band über die volle Breite, drei Felder nebeneinander. */
.kennzahlen {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  padding: clamp(1.25rem, 2.5vw, 1.75rem) clamp(1.5rem, 3vw, 2.5rem);
  background: var(--papier-tief);
  border-left: 4px solid var(--rot);
}
@media (min-width: 44rem) {
  .kennzahlen { grid-template-columns: repeat(3, 1fr); }
}
.kennzahlen > div {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding-block: .9rem;
}
.kennzahl__wert {
  font-family: var(--schrift-display);
  font-weight: 800;
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  line-height: 1;
  letter-spacing: -.03em;
  min-width: 4.5rem;
  flex: 0 0 auto;
}
.kennzahl__label {
  font-size: clamp(.85rem, 1.1vw, .98rem);
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--tinte-leise);
  line-height: 1.4;
}

/* ---------- Themenabschnitt ---------- */
/* Der Titel braucht genug Spalte: "Hygiene-Navigatoren" und "Spezialschilder"
   sind lang und liefen sonst in den Text daneben. */
.thema__kopf {
  display: grid;
  gap: 1.25rem clamp(1.75rem, 3vw, 3rem);
  margin-bottom: clamp(2.5rem, 4.5vw, 3.5rem);
}
@media (min-width: 64rem) {
  .thema__kopf {
    /* 30rem reichen für die längste Überschrift samt Icon
       („Hygiene-Navigatoren"); mehr Spalte erzeugte nur eine Lücke. */
    grid-template-columns: minmax(0, 30rem) minmax(0, 1fr);
    align-items: end;
  }
}
.thema__nummer {
  font-family: var(--schrift-display);
  font-weight: 800;
  font-size: .78rem;
  letter-spacing: .2em;
  color: var(--linie);
  display: block;
  margin-bottom: .5rem;
}

/* Die Piktogramme stammen aus der Bestandsseite — sie sind der
   Wiedererkennungswert für alle, die simplyorga schon kennen. */
.thema__zeile {
  display: flex;
  align-items: center;
  gap: clamp(.9rem, 2vw, 1.4rem);
}
.thema__zeile .titel { margin-bottom: 0; }
.thema__icon {
  width: clamp(3.4rem, 6vw, 5rem);
  height: auto;
  flex: 0 0 auto;
}

/* ---------- Galerie ---------- */
/* Höchstens drei Kacheln je Reihe, höchstens zwei Reihen (Begrenzung auf sechs
   Bilder erfolgt im Generator). Auf schmalen Geräten zwei Spalten, sonst wären
   die Kacheln nur noch briefmarkengroß. */
.galerie {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(.7rem, 1.8vw, 1.5rem);
  list-style: none;
  padding: 0;
  margin: 0;
}
@media (min-width: 48rem) {
  .galerie { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.kachel { margin: 0; }
.kachel__bild {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--papier-tief);
  border: 1px solid var(--linie);
}
.kachel__bild img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.2,.7,.3,1), filter .4s;
  filter: saturate(.94);
}
.kachel:hover .kachel__bild img { transform: scale(1.05); filter: saturate(1.08); }
.kachel__name {
  font-size: .95rem;
  line-height: 1.4;
  color: var(--tinte-leise);
  margin-top: .6rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ---------- Kontakt ---------- */
.kontakt {
  background: var(--nacht);
  color: #fff;
}
.kontakt .titel, .kontakt .marke { color: #fff; }
.kontakt .marke { color: var(--gold); }
.kontakt__raster {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: 1fr;
  align-items: start;
}
@media (min-width: 60rem) {
  .kontakt__raster { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
.kontakt__daten {
  font-size: 1.05rem;
  line-height: 1.9;
  font-style: normal;
}
.kontakt__daten a { color: #fff; text-decoration-color: var(--rot); text-underline-offset: .25em; }
.kontakt__daten a:hover { color: var(--gold); }
.kontakt__zeile {
  display: grid;
  grid-template-columns: 6.5rem 1fr;
  gap: .5rem 1rem;
  padding-block: .55rem;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.kontakt__schild {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  padding-top: .35rem;
}
.karte {
  display: block;
  border: 1px solid rgba(255,255,255,.16);
  overflow: hidden;
}
.karte img { width: 100%; height: auto; filter: grayscale(1) contrast(1.05); transition: filter .4s; }
.karte:hover img { filter: none; }
.karte__hinweis {
  font-size: .68rem;
  color: rgba(255,255,255,.45);
  padding: .5rem .75rem;
  background: rgba(255,255,255,.04);
}

/* ---------- Fuß ---------- */
.fuss {
  background: var(--nacht);
  color: rgba(255,255,255,.6);
  padding-block: 2.5rem 3rem;
  font-size: .82rem;
}
.fuss__innen {
  width: var(--spalte);
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  align-items: center;
}
.fuss a { color: rgba(255,255,255,.8); text-decoration: none; }
.fuss a:hover { color: #fff; text-decoration: underline; text-underline-offset: .25em; }
.fuss__rechts { margin-left: auto; display: flex; gap: 2rem; flex-wrap: wrap; }
.fuss__innen { justify-content: flex-end; }

/* ---------- Rechtstexte ---------- */
.rechtstext { padding-block: clamp(3rem, 7vw, 5rem); }
.rechtstext h1 {
  font-family: var(--schrift-display);
  font-weight: 800;
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  line-height: 1.05;
  letter-spacing: -.02em;
  margin: 0 0 2rem;
}
.rechtstext h2 {
  font-family: var(--schrift-display);
  font-weight: 700;
  font-size: 1.3rem;
  margin: 2.5rem 0 .75rem;
}
.rechtstext h3 { font-size: 1.05rem; font-weight: 600; margin: 1.75rem 0 .5rem; }
.rechtstext p, .rechtstext li { max-width: 68ch; }
.rechtstext a { color: var(--rot-tief); text-underline-offset: .2em; }
.zurueck {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--tinte-leise);
  margin-bottom: 2rem;
}
.zurueck:hover { color: var(--rot); }

/* ---------- Hilfsklassen ---------- */
.nur-fuer-screenreader {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.sprungmarke {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--rot); color: #fff; padding: .75rem 1.25rem;
  font-weight: 600; text-decoration: none;
}
.sprungmarke:focus { left: .5rem; top: .5rem; }
