/*
  Startseite. Ergänzt cayol.css um das, was nur hier vorkommt: Einstieg mit Foto zwischen den
  Klammern des Logos, Leistungsliste, Referenzen, Zahlen und Team.
*/

/* Einstieg */
.start-hero { padding: clamp(40px, 6vw, 88px) 0 0; }
.start-hero-raster { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 40px 64px; align-items: center; }
.start-hero h1 span { display: block; }
.start-hero .zug-vorspann { margin-top: 22px; }
.start-hero-wege { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 30px; }
/* Foto zwischen den beiden Klammern des Logos */
.start-foto { display: flex; align-items: stretch; gap: clamp(8px, 1.2vw, 16px); }
.start-foto::before, .start-foto::after { content: ''; flex: none; width: clamp(12px, 1.7vw, 22px); border: clamp(4px, .5vw, 6px) solid var(--indigo); }
.start-foto::before { border-right: 0; border-radius: 16px 0 0 16px; }
.start-foto::after { border-left: 0; border-radius: 0 16px 16px 0; border-color: var(--tuerkis); }
.start-foto img { flex: 1; min-width: 0; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 6px; margin: clamp(8px, 1vw, 14px) 0; }

/* Zwei eigene Produkte nebeneinander */
.start-zwei { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 56px; }
.start-zwei-bild { display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px var(--linie), 0 14px 34px rgba(27, 33, 71, .1); margin-bottom: 24px; }
.start-zwei-bild > img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.start-scanner { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 1.6vw, 20px); align-items: center; padding: clamp(14px, 2.4vw, 30px) clamp(16px, 3vw, 44px); }
.start-scanner img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; object-position: top; border-radius: 8px; box-shadow: 0 0 0 1px var(--linie), 0 8px 20px rgba(27, 33, 71, .12); }
.start-zwei h3 { font-size: clamp(1.4rem, 1.9vw, 1.65rem); font-stretch: 75%; line-height: 1.08; margin-bottom: 12px; text-wrap: balance; }
.start-produkt-fakt { margin-top: 12px; color: var(--tinte); font-weight: 600; }
.start-produkt-ruf { margin-top: 16px; }

/* Leistungen: neun Punkte, jeder mit seinem Symbol, jeder führt zur Seite */
.start-leistungen { margin-top: clamp(56px, 7vw, 96px); }
.start-punkte { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 48px; }
.start-punkte li { border-top: 1px solid #c6cee2; }
.start-punkte li:nth-child(-n+3) { border-top: 2px solid var(--tinte); }
.start-punkte a { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 6px 18px; align-content: start; height: 100%; padding: 26px 0 30px; text-decoration: none; }
.start-punkte svg { grid-row: 1 / span 2; width: 48px; height: 48px; }
.start-punkte h3 { font-size: 1.32rem; align-self: center; min-height: 48px; display: flex; align-items: center; }
.start-punkte p { grid-column: 1 / -1; color: var(--text); font-size: 1.1rem; line-height: 1.45; }
.start-punkte a:hover h3 { color: var(--indigo); }

/* Referenzen */
.start-projekte { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 40px; }
.start-projekte a { display: block; text-decoration: none; }
.start-projekt-bild { aspect-ratio: 16 / 10; overflow: hidden; border-radius: 10px; background: var(--grund); box-shadow: 0 0 0 1px var(--linie); margin-bottom: 18px; }
.start-projekt-bild img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.start-projekt-bild img.ganz { object-fit: contain; padding: 14px; }
.start-projekt-art { color: var(--petrol); font-weight: 600; font-size: 1rem; margin-bottom: 6px; }
.start-projekte h3 { font-size: 1.32rem; margin-bottom: 8px; }
.start-projekte a:hover h3 { color: var(--indigo); }
.start-mehr { margin-top: 36px; }

/* Wer wir sind: Text und drei Zahlen */
.start-wir { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 40px 72px; align-items: start; }
.start-wir-text p + p { margin-top: 14px; }
.start-zahlen li { border-top: 2px solid var(--tinte); padding: 14px 0 22px; }
.start-zahlen strong { display: block; color: var(--tinte); font-weight: 700; font-stretch: 75%; font-size: clamp(2rem, 3.2vw, 2.7rem); line-height: 1; font-variant-numeric: tabular-nums; }

/* Team */
.start-team-kopf { margin: clamp(56px, 7vw, 96px) 0 clamp(28px, 3.5vw, 44px); }
.start-team-kopf h3 { font-size: clamp(1.4rem, 1.9vw, 1.65rem); font-stretch: 75%; line-height: 1.08; margin-bottom: 8px; }
.start-team { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 32px 28px; }
.start-team a { display: block; text-decoration: none; }
.start-team img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 20%; border-radius: 10px; background: var(--linie); margin-bottom: 14px; }
.start-team strong { display: block; color: var(--tinte); font-size: 1.32rem; line-height: 1.2; }
.start-team span { display: block; color: var(--leise); font-size: 1rem; line-height: 1.4; margin-top: 2px; }
.start-team a:hover strong { color: var(--indigo); }

/* Kontakt am Seitenende: Schritte auf dunklem Grund */
.start-weiter h3 { color: #fff; font-size: 1.32rem; margin-bottom: 18px; }
.start-weiter ol { counter-reset: schritt; display: grid; gap: 18px; }
.start-weiter li { counter-increment: schritt; position: relative; padding-left: 52px; }
.start-weiter li::before { content: counter(schritt); position: absolute; left: 0; top: 0; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--gelb); color: var(--tinte); font-weight: 700; font-size: 1rem; }
.start-weiter strong { display: block; color: #fff; }
.start-adresse { margin-top: 26px; }
.zug-schluss .start-schluss-raster { align-items: start; }

@media (max-width: 1000px) {
  .start-hero-raster, .start-wir { grid-template-columns: minmax(0, 1fr); }
  .start-projekte { grid-template-columns: minmax(0, 1fr); gap: 36px; max-width: 560px; }
  .start-punkte { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .start-punkte li:nth-child(3) { border-top: 1px solid #c6cee2; }
  .start-zahlen { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 28px; }
  .start-team { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .start-team { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; }
  .start-zahlen { grid-template-columns: minmax(0, 1fr); }
  .start-zwei, .start-punkte { grid-template-columns: minmax(0, 1fr); }
  .start-punkte li:nth-child(2) { border-top: 1px solid #c6cee2; }
}
