/* Unterseiten v13 (29.09. abends). Jakob: "mehr Professionalitaet, die Informationen muessen beim Scrollen gut zu erkennen sein
   und nicht zu viel, mit guten Animationen". Gilt fuer body.u13 (Sortiment, Anwendungen, Showroom, Ueber uns).
   Bausteine: Seitenkopf .kopf13, Kapitel-Leiste .seitennav, Scroll-Geschichte .story13, Zeitstrahl .zeit13, Zahlenband .band13,
   Werte .werte13, Belegungen .belegung13, Schritte .schritt13, Abschluss .schluss13. Hereinfahren und Zaehlen kommen aus js/v12.js. */

body.u13 { background: var(--paper); }
body.u13 section[id] { scroll-margin-top: 140px; }

/* ---------- Ueberschriften und Abstaende ---------- */
body.u13 section.block { padding: clamp(80px, 9vw, 140px) 0; position: relative; }
body.u13 section.block .kopfzeile { max-width: 50em; margin-bottom: clamp(36px, 4.5vw, 64px); }
body.u13 section.block .kopfzeile h2 { font-size: clamp(38px, 5vw, 72px); line-height: 1.02; letter-spacing: -.01em; }
body.u13 section.block .kopfzeile p { font-size: clamp(17px, 1.35vw, 20px); max-width: 34em; }
body.u13 .kopfzeile.mitte { text-align: center; margin-inline: auto; }
body.u13 .kopfzeile.mitte p { margin-inline: auto; }
body.u13 .stichwort13, body.u13 section.block .kopfzeile .stichwort { display: inline-flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--green-2); margin-bottom: 16px; }
body.u13 .stichwort13::before, body.u13 section.block .kopfzeile .stichwort::before { content: ""; width: 30px; height: 2px; background: currentColor; opacity: .7; }
body.u13 h2 .traeger, body.u13 h1 .traeger { font-size: .92em; }
@media (max-width: 700px) { body.u13 h1 .traeger, body.u13 h2 .traeger { white-space: normal; } }

/* ---------- Seitenkopf ---------- */
.kopf13 { position: relative; padding: calc(var(--nav-h) + clamp(28px, 4.5vw, 64px)) 0 clamp(70px, 8vw, 120px); overflow: hidden; }
.kopf13::before { content: ""; position: absolute; right: -14vw; top: -18vw; width: 62vw; height: 62vw; border-radius: 50%; pointer-events: none;
                  background: radial-gradient(closest-side, rgba(53,172,84,.16), rgba(53,172,84,.05) 62%, rgba(53,172,84,0)); }
.kopf13 .raster { position: relative; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(36px, 5vw, 88px); align-items: center; }
.kopf13 h1 { font-size: clamp(44px, 5.4vw, 84px); line-height: 1.02; letter-spacing: -.012em; color: #28803D; }
.kopf13 .lead { margin-top: 24px; font-size: clamp(18px, 1.45vw, 22px); line-height: 1.5; color: var(--ink); max-width: 29em; }
.kopf13 .fakten { display: flex; flex-wrap: wrap; gap: 14px clamp(22px, 3vw, 46px); margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--line); max-width: 36em; }
.kopf13 .fakten div { min-width: 7.5em; }
.kopf13 .fakten b { display: block; font: 800 clamp(32px, 3.2vw, 48px)/1 var(--font-display); color: var(--green-2); }
.kopf13 .fakten span { display: block; margin-top: 8px; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.kopf13 .aktionen { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; }
.kopf13 .bild { position: relative; margin: 0; }
.kopf13 .bild > img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 52px; box-shadow: 0 60px 100px -70px rgba(15,51,25,.7);
                      clip-path: inset(0 round 52px); will-change: transform; }
.kopf13 .bild.frei > img { aspect-ratio: auto; object-fit: contain; border-radius: 0; box-shadow: none; clip-path: none; filter: drop-shadow(0 40px 40px rgba(15,51,25,.18)); }
.kopf13 .plakette { position: absolute; left: clamp(-28px, -2vw, -12px); bottom: 38px; display: flex; align-items: center; gap: 14px; background: #fff; border-radius: 26px;
                    padding: 16px 22px 16px 16px; box-shadow: 0 30px 60px -34px rgba(15,51,25,.55); animation: schweben13 6s ease-in-out infinite; max-width: 80%; }
.kopf13 .plakette i { flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--green-tint); display: grid; place-items: center; font-style: normal; font-size: 22px; }
.kopf13 .plakette b { display: block; font-size: 15px; line-height: 1.25; }
.kopf13 .plakette span { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }
@keyframes schweben13 { 50% { transform: translateY(-9px); } }

/* Auftritt beim Laden: nacheinander von unten, Bild oeffnet sich */
.kopf13 .auf { opacity: 0; transform: translateY(26px); animation: auf13 .95s var(--ease-in-out) forwards; animation-delay: calc(120ms + var(--i, 0) * 110ms); }
.kopf13 .bild.auf { opacity: 1; transform: none; animation: none; }
.kopf13 .bild.auf > img { animation: bildauf13 1.25s var(--ease-in-out) 180ms both; }
.kopf13 .bild.frei.auf { opacity: 0; transform: translateY(26px); animation: auf13 .95s var(--ease-in-out) 180ms forwards; }
.kopf13 .bild.frei.auf > img { animation: none; }
.kopf13 .bild.auf .plakette { animation: plakauf13 .8s var(--ease-in-out) 1s both, schweben13 6s ease-in-out 1.8s infinite; }
@keyframes auf13 { to { opacity: 1; transform: none; } }
@keyframes bildauf13 { from { opacity: 0; clip-path: inset(10% 10% 10% 10% round 52px); } to { opacity: 1; clip-path: inset(0 round 52px); } }
@keyframes plakauf13 { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@media (max-width: 900px) {
  .kopf13 .raster { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .kopf13 .bild { max-width: 520px; }
  .kopf13 .bild > img { border-radius: 36px; clip-path: inset(0 round 36px); }
  .kopf13 .plakette { left: 12px; bottom: 18px; }
}

/* ---------- Kapitel-Leiste (schwebt unten in der Mitte, zeigt den Abschnitt und den Fortschritt darin) ---------- */
.seitennav { position: fixed; left: 50%; bottom: 22px; z-index: 35; display: flex; gap: 2px; padding: 5px; border-radius: 999px; background: rgba(255,255,255,.95);
             border: 1px solid var(--line); box-shadow: 0 18px 44px -30px rgba(15,51,25,.55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
             transform: translate(-50%, 16px); opacity: 0; pointer-events: none; transition: opacity .45s var(--ease-in-out), transform .45s var(--ease-in-out); max-width: calc(100% - 32px); }
.seitennav.an { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.seitennav a { position: relative; font: 600 14px/1 var(--font-body); padding: 10px 15px 11px; border-radius: 999px; color: var(--muted); text-decoration: none; white-space: nowrap;
               transition: background-color .3s, color .3s; }
.seitennav a:hover { color: var(--ink); }
.seitennav a.aktiv { background: var(--green-tint); color: var(--ink); }
.seitennav a i { position: absolute; left: 15px; right: 15px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--green); transform-origin: 0 50%; transform: scaleX(0); }
.seitennav a.aktiv i { transform: scaleX(var(--p, 0)); }
@media (max-width: 760px) { .seitennav { display: none; } }

/* ---------- Zahlenband (gruen) ---------- */
.band13 { background: var(--green); color: #fff; border-radius: clamp(32px, 4vw, 64px); padding: clamp(34px, 4vw, 56px) clamp(24px, 4vw, 64px);
          display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px; position: relative; overflow: hidden; }
.band13::before { content: ""; position: absolute; right: -80px; top: -120px; width: 340px; height: 340px; border-radius: 50%; background: rgba(255,255,255,.08); }
.band13 div { position: relative; }
.band13 div + div::before { content: ""; position: absolute; left: -13px; top: 6px; bottom: 6px; width: 1px; background: rgba(255,255,255,.28); }
.band13 b { display: block; font: 800 clamp(40px, 4.4vw, 68px)/1 var(--font-display); letter-spacing: -.01em; }
.band13 span { display: block; margin-top: 10px; font-size: 15px; line-height: 1.4; color: rgba(255,255,255,.9); max-width: 16em; }
@media (max-width: 900px) { .band13 { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 34px; } .band13 div:nth-child(3)::before { display: none; } }

/* ---------- Werte / drei Aussagen ---------- */
.werte13 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.werte13 article { background: #fff; border: 1px solid var(--line); border-radius: 40px; padding: 34px 32px 36px;
                    transition: opacity .9s var(--ease-in-out) var(--verz, 0ms), transform .9s var(--ease-in-out) var(--verz, 0ms), translate .45s var(--ease-in-out), box-shadow .45s; }
.werte13 article:hover { translate: 0 -6px; box-shadow: 0 40px 70px -50px rgba(15,51,25,.55); }
.werte13 .nr { font: 800 15px/1 var(--font-display); color: var(--green); letter-spacing: .08em; }
.werte13 h3 { font-size: clamp(28px, 2.6vw, 38px); margin: 16px 0 10px; }
.werte13 p { color: var(--muted); font-size: 16px; }
@media (max-width: 900px) { .werte13 { grid-template-columns: 1fr; } }

/* ---------- Zeitstrahl (Linie fuellt sich beim Scrollen) ---------- */
.zeit13 { list-style: none; margin: 0; padding: 0 0 0 clamp(34px, 4vw, 56px); position: relative; }
.zeit13::before, .zeit13::after { content: ""; position: absolute; left: 11px; top: 8px; bottom: 8px; width: 3px; border-radius: 3px; background: var(--line); }
.zeit13::after { background: var(--green); transform-origin: 50% 0; transform: scaleY(var(--p, 0)); }
.zeit13 li { position: relative; padding: 0 0 clamp(34px, 4vw, 52px); }
.zeit13 li:last-child { padding-bottom: 0; }
.zeit13 li::before { content: ""; position: absolute; left: calc(-1 * clamp(34px, 4vw, 56px) + 3px); top: 6px; width: 19px; height: 19px; border-radius: 50%;
                     background: #fff; box-shadow: inset 0 0 0 3px var(--line); transition: box-shadow .4s, background-color .4s, transform .4s var(--ease-in-out); }
.zeit13 li.erreicht::before { background: var(--green); box-shadow: inset 0 0 0 3px var(--green), 0 0 0 6px rgba(53,172,84,.16); transform: scale(1.08); }
.zeit13 .jahr { font: 800 clamp(24px, 2.2vw, 32px)/1 var(--font-display); color: var(--green-2); }
.zeit13 h3 { font-size: clamp(22px, 1.9vw, 28px); margin: 8px 0 6px; color: var(--ink); font-family: var(--font-body); font-weight: 700; letter-spacing: 0; line-height: 1.25; }
.zeit13 p { color: var(--muted); font-size: 16px; max-width: 30em; }

/* ---------- Scroll-Geschichte: Bild bleibt stehen, Text zieht vorbei ---------- */
.story13 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.story13 .buehne13 { position: sticky; top: 132px; height: min(68vh, 640px); border-radius: 48px; overflow: hidden; background: var(--green-tint);
                     box-shadow: 0 60px 100px -70px rgba(15,51,25,.7); }
.story13 .buehne13 figure { position: absolute; inset: 0; margin: 0; opacity: 0; transform: scale(1.06); transition: opacity .8s var(--ease-in-out), transform 1.4s var(--ease-in-out); }
.story13 .buehne13 figure.an { opacity: 1; transform: none; }
.story13 .buehne13 img { width: 100%; height: 100%; object-fit: cover; display: block; }
.story13 .buehne13 figure.frei { background: linear-gradient(180deg, #fff 0%, #eef5f0 100%); }
.story13 .buehne13 figure.frei img { object-fit: contain; padding: 36px 36px 0; object-position: 50% 100%; }
.story13 .buehne13 .zaehler { position: absolute; left: 22px; bottom: 22px; z-index: 2; background: rgba(255,255,255,.94); border-radius: 999px; padding: 9px 14px;
                             font: 700 13px/1 var(--font-body); letter-spacing: .08em; color: var(--ink); }
.story13 ol { list-style: none; margin: 0; padding: 0; }
.story13 li { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; padding: 24px 0; opacity: .28; transform: translateX(-6px);
              transition: opacity .6s var(--ease-in-out), transform .6s var(--ease-in-out); }
.story13 li.an { opacity: 1; transform: none; }
.story13 li:first-child { min-height: 48vh; justify-content: flex-start; padding-top: 10vh; }
.story13 li:last-child { min-height: 56vh; }
.story13 .nr { font: 800 14px/1 var(--font-display); letter-spacing: .12em; color: var(--green); }
.story13 .tag { display: inline-block; margin-top: 16px; font-size: 12.5px; font-weight: 700; color: var(--green-2); background: var(--green-tint); border-radius: 999px; padding: 7px 13px; }
.story13 h3 { font-size: clamp(32px, 3.2vw, 50px); margin: 14px 0 12px; }
.story13 p { font-size: clamp(16px, 1.25vw, 18.5px); color: var(--muted); max-width: 26em; }
.story13 ul.punkte { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.story13 ul.punkte li { min-height: 0; display: block; padding: 0 0 0 30px; opacity: 1; transform: none; position: relative; font-size: 16px; color: var(--ink); }
.story13 ul.punkte li::before { content: ""; position: absolute; left: 0; top: .42em; width: 16px; height: 16px; border-radius: 50%; background: var(--green-tint);
                                box-shadow: inset 0 0 0 5px var(--green); }
.story13 .mehr { display: inline-block; margin-top: 22px; font-weight: 700; color: var(--green-2); text-decoration: none; }
.story13 .mehr:hover { text-decoration: underline; }
.story13 li > .nr, .story13 li > .tag, .story13 li > .mehr { align-self: flex-start; }
.story13 .schritt-bild { display: none; }
@media (max-width: 900px) {
  .story13 { grid-template-columns: 1fr; }
  .story13 .buehne13 { display: none; }
  .story13 li, .story13 li:first-child, .story13 li:last-child { min-height: 0; opacity: 1; transform: none; padding: 0 0 48px; justify-content: flex-start; }
  .story13 .schritt-bild { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 32px; margin-bottom: 20px; }
  .story13 li[data-frei] .schritt-bild { object-fit: contain; object-position: 50% 100%; padding: 24px 24px 0; background: linear-gradient(180deg, #fff 0%, #eef5f0 100%); }
}

/* ---------- Belegungen (Sortiment): sieben Schubladen je Layout ---------- */
.belegung13 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.belegung13 article { background: #fff; border: 1px solid var(--line); border-radius: 40px; padding: 26px 26px 30px; }
.belegung13 .geraet { display: grid; gap: 6px; padding: 14px; border-radius: 22px; background: #26302a; box-shadow: inset 0 0 0 4px #3a463e; }
.belegung13 .geraet i { display: block; height: 22px; border-radius: 6px; transform-origin: 0 50%; transform: scaleX(0); transition: transform .9s var(--ease-in-out); transition-delay: calc(var(--j, 0) * 70ms); }
.belegung13.an .geraet i { transform: none; }
.belegung13 .s { background: #F2B544; } .belegung13 .g { background: #6EC1E4; } .belegung13 .f { background: #9FDDB0; }
.belegung13 b { display: block; font: 800 clamp(30px, 2.6vw, 40px)/1 var(--font-display); color: var(--green-2); margin-top: 22px; }
.belegung13 h3 { font: 700 18px/1.3 var(--font-body); color: var(--ink); margin: 8px 0 6px; letter-spacing: 0; }
.belegung13 p { font-size: 15px; color: var(--muted); }
.legende13 { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 22px; font-size: 14px; color: var(--muted); }
.legende13 span::before { content: ""; display: inline-block; width: 12px; height: 12px; border-radius: 4px; margin-right: 8px; vertical-align: -1px; background: var(--c); }
@media (max-width: 1000px) { .belegung13 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .belegung13 { grid-template-columns: 1fr; } }

/* ---------- Schritte mit Verbindungslinie ---------- */
.schritt13 { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; position: relative; counter-reset: s13; }
.schritt13::before, .schritt13::after { content: ""; position: absolute; left: 60px; right: 60px; top: 34px; height: 3px; background: var(--line); border-radius: 3px; }
.schritt13::after { background: var(--green); transform-origin: 0 50%; transform: scaleX(0); transition: transform 1.6s var(--ease-in-out); }
.schritt13.an::after { transform: none; }
.schritt13 li { position: relative; counter-increment: s13; }
.schritt13 li::before { content: counter(s13); display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; background: #fff; color: var(--green-2);
                        font: 800 28px/1 var(--font-display); box-shadow: inset 0 0 0 3px var(--line); position: relative; z-index: 1; transition: background-color .5s, color .5s, box-shadow .5s; transition-delay: calc(var(--j, 0) * 450ms); }
.schritt13.an li::before { background: var(--green); color: #fff; box-shadow: inset 0 0 0 3px var(--green), 0 0 0 8px rgba(53,172,84,.14); }
.schritt13 h3 { font: 700 21px/1.3 var(--font-body); color: var(--ink); margin: 22px 0 8px; letter-spacing: 0; }
.schritt13 p { color: var(--muted); font-size: 16px; max-width: 22em; }
@media (max-width: 800px) { .schritt13 { grid-template-columns: 1fr; gap: 28px; } .schritt13::before, .schritt13::after { display: none; } }

/* ---------- Team ---------- */
.team13 { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 18px; align-items: stretch; }
.team13 .gruppe { margin: 0; border-radius: 44px; overflow: hidden; position: relative; min-height: 420px; }
.team13 .gruppe img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.4s var(--ease-in-out); }
.team13 .gruppe:hover img { transform: scale(1.03); }
.team13 .gruppe figcaption { position: absolute; left: 20px; bottom: 20px; background: rgba(255,255,255,.95); border-radius: 999px; padding: 10px 18px; font-weight: 700; font-size: 14px; }
.team13 .kontakte { display: grid; gap: 18px; }
.team13 .kontakt { display: grid; grid-template-columns: 96px 1fr; gap: 18px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 36px; padding: 18px; }
.team13 .kontakt img { width: 96px; height: 96px; border-radius: 28px; object-fit: cover; object-position: top; background: var(--green-tint); }
.team13 .kontakt b { display: block; font-size: 18px; }
.team13 .kontakt span { display: block; color: var(--muted); font-size: 14.5px; margin-top: 2px; }
.team13 .kontakt a { display: inline-block; margin-top: 8px; font-weight: 700; font-size: 14.5px; color: var(--green-2); text-decoration: none; }
@media (max-width: 900px) { .team13 { grid-template-columns: 1fr; } .team13 .gruppe { min-height: 260px; } }

/* ---------- Abschluss vor dem Formular ---------- */
.schluss13 { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; background: #fff; border: 1px solid var(--line); border-radius: 44px; padding: 28px 32px; }
.schluss13 b { font: 800 clamp(24px, 2.2vw, 32px)/1.15 var(--font-display); color: #28803D; }

/* Bewegung reduzieren */
@media (prefers-reduced-motion: reduce) {
  .kopf13 .auf, .kopf13 .bild.auf, .kopf13 .bild.frei.auf, .kopf13 .bild.auf > img { animation: none; opacity: 1; transform: none; }
  .kopf13 .plakette, .kopf13 .bild.auf .plakette { animation: none; }
  .story13 li { opacity: 1; transform: none; }
  .belegung13 .geraet i, .schritt13::after { transform: none; transition: none; }
}
