/* ==========================================================================
 * RegioCars · Seitenaufbau der Startseite
 * --------------------------------------------------------------------------
 * Gliederung nach dem Vorbild von kunden-regiobrands.de:
 * Kontaktleiste, durchgehende Kopfzeile, Mission, Kennzahlen,
 * Reifegradmethode, Erfolgsgeschichten, Ablauf, Team.
 *
 * Wird auf der Startseite nach /css/style.css?v=8dd1c469 geladen. Kontaktleiste und
 * Kopfzeile liegen in kopf.css, weil sie auf allen Seiten gelten.
 * ========================================================================== */

/* ========== Mission ========== */
/* Aufbau wie auf regiobrands.de: weisse Flaeche, Bild links,
   rechts die Mission mit grosser gruener Ueberschrift. */
.au-mission {
  background: #ffffff;
  padding: 110px 0;
}
.au-mission-grid {
  display: grid;
  grid-template-columns: 48fr 52fr;
  gap: 72px;
  align-items: center;
}
.au-mission-bild {
  margin: 0;
  border-radius: 6px;
  overflow: hidden;
}
.au-mission-bild img {
  display: block;
  width: 100%;
  /* Ohne height:auto zieht das height-Attribut des Bildes, dann greift
     aspect-ratio nicht und das Bild steht 1200 Pixel hoch. */
  height: auto;
  aspect-ratio: 23 / 20;
  object-fit: cover;
  object-position: center 38%;
}
.au-mission .au-label {
  display: block;
  font-size: .95rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--rc-marke);
  margin-bottom: 18px;
}
.au-mission h2 {
  color: var(--rc-marke);
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  line-height: 1.16;
  margin: 0 0 34px;
  letter-spacing: -0.02em;
}
.au-mission-echt,
.au-mission-schluss {
  margin: 0;
  color: var(--rc-marke);
  font-size: 1.12rem;
  line-height: 1.55;
}

@media (max-width: 900px) {
  .au-mission { padding: 64px 0; }
  .au-mission-grid { grid-template-columns: 1fr; gap: 32px; }
  .au-mission h2 { margin-bottom: 24px; }
}

/* ========== Kennzahlen ========== */
.au-kpis { padding: 72px 0; }
.au-kpi-reihe {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px;
}
.au-kpi-zahl {
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  font-weight: 800;
  line-height: 1;
  color: var(--rc-marke);
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.au-kpi h3 {
  margin: 10px 0 12px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--rc-marke);
}
.au-kpi p {
  margin: 0;
  font-size: .96rem;
  line-height: 1.6;
  color: #4a5a55;
  max-width: 24em;
}
.au-kpi::before {
  content: "";
  display: block;
  width: 44px;
  height: 3px;
  background: var(--rc-orange);
  margin-bottom: 22px;
}
@media (max-width: 900px) {
  .au-kpi-reihe { grid-template-columns: 1fr; gap: 38px; }
}

/* ========== Erfolgsgeschichten ========== */
.au-stories .au-stories-kopf {
  max-width: 760px;
  margin: 0 auto 56px;
  text-align: center;
}
.au-stories-karten {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.au-story {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid rgba(1, 77, 65, .12);
  border-radius: 8px;
  padding: 34px 30px 28px;
}
.au-story h3 {
  font-size: 1.22rem;
  line-height: 1.32;
  color: var(--rc-marke);
  margin: 0 0 18px;
  letter-spacing: -0.01em;
}
.au-story-zitat {
  flex: 1 1 auto;
  margin: 0 0 24px;
  font-size: 1rem;
  line-height: 1.65;
  color: #3d4b46;
}
.au-story-person {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid rgba(1, 77, 65, .12);
}
.au-story-person img {
  width: 48px; height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 48px;
}
.au-story-person strong {
  display: block;
  font-size: .95rem;
  color: var(--rc-marke);
}
.au-story-person span {
  display: block;
  font-size: .85rem;
  color: #6b7a75;
}
.au-story-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 18px;
}
.au-story-links .au-story-link { margin-top: 0; }
.au-story-link {
  margin-top: 18px;
  font-size: .88rem;
  font-weight: 600;
  color: var(--rc-orange);
  text-decoration: none;
}
.au-story-link:hover { color: var(--rc-orange-tief); }
@media (max-width: 1000px) {
  .au-stories-karten { grid-template-columns: 1fr; }
}

/* ========== Ablauf der Zusammenarbeit ========== */
.au-ablauf { background: var(--rc-marke); color: #ffffff; }
.au-ablauf-kopf {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 60px;
}
.au-ablauf h2 {
  color: #ffffff;
  font-size: clamp(1.9rem, 3.2vw, 2.8rem);
  margin: 0;
  letter-spacing: -0.02em;
}
.au-ablauf-kopf p {
  margin: 0 0 6px;
  color: var(--rc-marke-hell);
  font-size: 1.02rem;
  line-height: 1.6;
}
.au-ablauf-kopf .btn { margin-top: 18px; }
.au-ablauf .btn-primary {
  background: var(--rc-orange);
  color: #ffffff;
  border-color: var(--rc-orange);
}
.au-ablauf .btn-primary:hover { background: var(--rc-orange-tief); border-color: var(--rc-orange-tief); }
.au-ablauf-schritte {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255,255,255,.22);
}
.au-schritt {
  padding: 32px 26px 8px 0;
  position: relative;
}
.au-schritt + .au-schritt { padding-left: 26px; }
.au-schritt + .au-schritt::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 18px;
  width: 1px;
  background: rgba(255,255,255,.18);
}
.au-schritt-num {
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1;
  color: var(--rc-orange);
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.au-schritt h3 {
  color: #ffffff;
  font-size: 1.12rem;
  margin: 16px 0 10px;
  line-height: 1.3;
}
.au-schritt p {
  margin: 0;
  color: var(--rc-marke-hell);
  font-size: .95rem;
  line-height: 1.6;
}
@media (max-width: 1000px) {
  .au-ablauf-kopf { grid-template-columns: 1fr; gap: 20px; align-items: start; }
  .au-ablauf-schritte { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .au-ablauf-schritte { grid-template-columns: 1fr; }
  .au-schritt + .au-schritt { padding-left: 0; }
  .au-schritt + .au-schritt::before { display: none; }
  .au-schritt { border-top: 1px solid rgba(255,255,255,.18); }
}

/* ========== Team ========== */
.au-team-kopf {
  max-width: 760px;
  margin: 0 0 56px;
}
.au-team-kopf h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.8rem);
  margin: 10px 0 0;
  letter-spacing: -0.02em;
}
.au-team-kopf h2 em {
  font-style: normal;
  color: var(--rc-orange);
}
.au-team-karten {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.au-person-bild {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--rc-hell-grau);
}
.au-person-bild img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s cubic-bezier(.4,0,.2,1);
}
.au-person:hover .au-person-bild img { transform: scale(1.04); }
.au-person strong {
  display: block;
  margin-top: 16px;
  font-size: 1.05rem;
  color: var(--rc-marke);
}
.au-person span {
  display: block;
  margin-top: 4px;
  font-size: .92rem;
  color: #6b7a75;
}
@media (max-width: 1000px) {
  .au-team-karten { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .au-team-karten { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .au-person-bild img { transition: none; }
}

/* Hervorgehobenes Wort in den Überschriften der neuen Abschnitte */
.au-stories-kopf h2 em,
.au-team-kopf h2 em {
  font-style: normal;
  color: var(--rc-orange);
}
.au-stories-kopf h2,
.au-team-kopf h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.8rem);
  letter-spacing: -0.02em;
  margin: 10px 0 0;
}

/* ==========================================================================
 * Reifegradmethode
 * --------------------------------------------------------------------------
 * Aufbau, Masse und Farben eins zu eins von regiobrands.de: eine Buehne im
 * Seitenverhaeltnis 1600/810, darin die Pyramidengrafik um 125 Prozent
 * vergroessert und versetzt. Die sechs Stufen sind Ausschnitte derselben
 * Grafik, damit sie sich einzeln hervorheben lassen.
 * ========================================================================== */

.au-reifegrad { background: #ffffff; }
.au-rg-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 64px;
  align-items: center;
}
.au-rg-copy h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.8rem);
  letter-spacing: -0.02em;
  margin: 0 0 22px;
  color: var(--rc-marke);
}
.au-rg-lead {
  font-size: 1.08rem;
  line-height: 1.7;
  color: #3d4b46;
  margin: 0 0 26px;
}
.au-rg-beispiel-titel {
  font-weight: 700;
  color: var(--rc-marke);
  margin: 0 0 8px;
}
.au-rg-beispiel {
  font-size: 1rem;
  line-height: 1.7;
  color: #4a5a55;
  margin: 0 0 28px;
}

.au-rg-visual { min-width: 0; }
.au-rg-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 1600 / 810;
  /* Die Leinwand ist breiter als die Buehne, der Ueberstand wird beschnitten */
  overflow: hidden;
}
.au-rg-canvas {
  position: absolute;
  left: -3.75%;
  top: -13.58%;
  width: 125%;
  height: 123.46%;
}
.au-rg-highlight {
  position: absolute;
  left: 1.5%;
  width: 82.5%;
  border-radius: 14px;
  opacity: 0;
  transition: opacity .35s ease;
  pointer-events: none;
}
.au-rg-highlight.ist-aktiv { opacity: 1; }
.au-rg-band {
  position: absolute;
  inset: 0;
  background-image: url("/assets/reifegrad-pyramide.png?v=8268beb6");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  transition: opacity .3s ease, transform .3s ease;
}
.au-rg-band.ist-blass { opacity: .32; }
.au-rg-band.ist-aktiv { transform: translateX(6px); }

.au-rg-karte {
  margin-top: 20px;
  min-height: 84px;
  box-sizing: border-box;
}
.au-rg-karte-titel {
  font-size: .88rem;
  font-weight: 600;
  color: var(--rc-marke);
  margin: 0 0 6px;
}
.au-rg-karte-text {
  font-size: 1.2rem;
  line-height: 1.35;
  font-weight: 700;
  color: var(--rc-marke);
  margin: 0;
}
.au-rg-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.au-rg-chip {
  font-family: inherit;
  font-size: .82rem;
  font-weight: 600;
  border: 1px solid rgba(1, 77, 65, .2);
  border-radius: 999px;
  padding: 7px 14px;
  background: #ffffff;
  color: var(--rc-marke);
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease;
}
.au-rg-chip:hover { background: #f2f6f4; }
.au-rg-chip[aria-pressed="true"] {
  background: var(--rc-marke);
  border-color: var(--rc-marke);
  color: #ffffff;
}
.au-rg-chip:focus-visible {
  outline: 3px solid var(--rc-orange);
  outline-offset: 2px;
}

/* Auf schmalen Bildschirmen dieselbe Reihenfolge wie beim Vorbild:
   Ueberschrift, Pyramide, Knoepfe, dann der Text. */
@media (max-width: 960px) {
  .au-rg-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
  }
  .au-rg-copy { display: contents; }
  .au-rg-heading { order: 1; margin-bottom: 22px; }
  .au-rg-visual { order: 2; margin-bottom: 28px; }
  .au-rg-body { order: 3; }
  .au-rg-karte { min-height: 0; margin-top: 14px; }
  .au-rg-karte-text { font-size: 1.05rem; }
}

/* ========== Stellenangebote ========== */
.au-stellen-kopf { max-width: 760px; margin: 0 0 48px; }
.au-stellen-kopf h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.8rem);
  letter-spacing: -0.02em;
  margin: 10px 0 12px;
}
.au-stellen-kopf p { margin: 0; color: #4a5a55; font-size: 1.02rem; }
.au-stellen-karten {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.au-stelle {
  background: #ffffff;
  border: 1px solid rgba(1, 77, 65, .12);
  border-radius: 16px;
  padding: 32px;
}
.au-stelle h3 {
  margin: 0 0 14px;
  font-size: 1.15rem;
  color: var(--rc-marke);
}
.au-stelle-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.au-stelle-tags span {
  font-size: .78rem;
  font-weight: 600;
  color: var(--rc-marke);
  background: var(--rc-hell-grau);
  border-radius: 999px;
  padding: 5px 12px;
}
.au-stelle {
  display: flex;
  flex-direction: column;
}
.au-stelle p {
  margin: 0;
  font-size: .96rem;
  line-height: 1.6;
  color: #4a5a55;
  flex: 1 1 auto;
}
.au-stelle-link {
  margin-top: 20px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--rc-orange);
  text-decoration: none;
}
.au-stelle-link:hover { color: var(--rc-orange-tief); }
.au-stellen-cta { margin-top: 40px; }

@media (max-width: 1000px) {
  .au-stellen-karten { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .au-stellen-karten { grid-template-columns: 1fr; }
}

/* ========== Hinweis auf RegioBrands fuer andere Branchen ========== */
/* Helle Flaeche: der Streifen liegt zwischen dem gruenen Trichter und dem
   gruenen Fussbereich und trennt die beiden, statt sie zu verlaengern. */
.au-andere-branche {
  background: var(--rc-bg-soft, #f7f5f0);
  text-align: center;
  padding: 88px 0;
}
.au-ab-inhalt { max-width: 760px; margin: 0 auto; }
.au-ab-frage {
  margin: 0 0 16px;
  font-size: 1.02rem;
  line-height: 1.6;
  color: #4a5a55;
}
.au-andere-branche h2 {
  color: var(--rc-marke);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}
.au-ab-text {
  margin: 0 0 28px;
  font-size: 1.05rem;
  color: #4a5a55;
}
.au-andere-branche .btn-primary {
  background: var(--rc-orange);
  border-color: var(--rc-orange);
  color: #ffffff;
}
.au-andere-branche .btn-primary:hover {
  background: var(--rc-orange-tief);
  border-color: var(--rc-orange-tief);
}

/* ========== Abstaende ==========
 * Die Startseite lief auf knapp zwoelf Bildschirmen. Die Abschnitte standen
 * auf 90 Pixel Luft oben und unten, das sind bei vierzehn Abschnitten ueber
 * 2500 Pixel nur Abstand. 72 Pixel reichen und sparen rund 450 Pixel.
 */
section { padding: 72px 0; }
.au-kpis { padding: 60px 0; }
.au-mission { padding: 88px 0; }
.au-andere-branche { padding: 72px 0; }
