/* ===================================================================
   Tower IT GmbH — start.css: nur die Startseite (seit 2026-11-09)

   Ergänzt den gemeinsamen Kopf (.hero in design.css) um das Foto einer
   Platine (auf das Leitungsblau umgefärbt) mit vier gleichwertigen
   Meldungen, eine je Feld; dazu der Weg einer Mail und das Code-Band
   im Software-Panel. Wird nur von index.html nach design.css geladen.
   =================================================================== */

/* Foto: rechte Hälfte des Panels, mit eigenem Rand und Radius im Panel */
.start-bild { margin: 0; position: static; }
.start-bild .platine {
  position: absolute; z-index: -1; top: 10px; right: 10px; bottom: 10px; width: 46%; height: calc(100% - 20px);
  object-fit: cover; object-position: 38% 50%; border-radius: calc(var(--r-gross) - 10px); }
.start-bild figcaption {
  position: absolute; right: 26px; bottom: 26px; font-size: 13px; color: #fff;
  background: rgba(8, 21, 74, .68); border-radius: 999px; padding: 4px 12px; }

/* Meldungen: ragen über die Kante des Fotos */
.meldungen { list-style: none; margin: 0 0 0 -24px; padding: 0; display: grid; gap: 14px; position: relative; }
.meldung {
  display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; align-items: center;
  width: min(100%, 22.5rem); padding: 14px 20px 14px 14px; background: #fff; border-radius: 18px;
  box-shadow: 0 1px 2px rgba(8, 21, 74, .08), 0 20px 44px -18px rgba(8, 21, 74, .5); }
.meldung:nth-child(2) { margin-left: 16%; }
.meldung:nth-child(3) { margin-left: 4%; }
.meldung:nth-child(4) { margin-left: 20%; }
.meldung b { display: block; color: var(--tinte); font-weight: 600; font-size: 15.5px; line-height: 1.3; }
.meldung div > span { display: block; margin-top: 2px; color: var(--grau); font-size: 13.5px; line-height: 1.4; }

@media (prefers-reduced-motion: no-preference) {
  .meldung { animation: auftauchen .5s ease-out both; }
  .meldung:nth-child(1) { animation-delay: .2s; }
  .meldung:nth-child(2) { animation-delay: .45s; }
  .meldung:nth-child(3) { animation-delay: .7s; }
  .meldung:nth-child(4) { animation-delay: .95s; }
}

/* ---------- Was wir machen ---------- */
/* Weg einer Mail: echte Reihenfolge, Punkte auf einer Linie */
.mailweg { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 18px; position: relative; }
.mailweg li { position: relative; padding-left: 30px; display: grid; gap: 2px; }
.mailweg li::before { content: ''; position: absolute; z-index: 1; left: 0; top: 5px; width: 14px; height: 14px; border-radius: 50%; background: var(--leitung); box-shadow: 0 0 0 4px var(--hauch); }
.mailweg li:not(:last-child)::after { content: ''; position: absolute; left: 6px; top: 12px; bottom: -30px; width: 2px; background: var(--eis); }  /* bis zur Mitte des nächsten Punkts: Abstand 18 + 12 */
.mailweg b { color: var(--tinte); font-weight: 600; }
.mailweg span { color: var(--grau); }
.pruef { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.pruef i { font-style: normal; font-size: 12.5px; font-weight: 600; color: #fff; background: var(--leitung); border-radius: 999px; padding: 2px 10px 2px 8px; }
.pruef i::before { content: '✓'; margin-right: 5px; }

/* ---------- Software und KI (das dunkle Panel) ---------- */
.flaeche.start-software > .wrap { overflow: hidden; padding-top: 0; }
.code-band {
  width: calc(100% + 2 * var(--innen)); max-width: none; height: clamp(150px, 20vw, 260px);
  margin: 0 calc(-1 * var(--innen)) 64px; object-fit: cover; object-position: 0 40%;
  -webkit-mask-image: linear-gradient(180deg, #000 40%, transparent 100%); mask-image: linear-gradient(180deg, #000 40%, transparent 100%); }
.drei { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; }
.drei li { padding-top: 18px; border-top: 1px solid var(--v-linie); }
.drei h3 { font-size: 19px; }
.drei p { margin-top: 6px; color: var(--eis-2); font-size: 16px; }

/* ===================================================================
   Schmale Bildschirme
   =================================================================== */
@media (max-width: 980px) {
  .start-kopf .wrap { grid-template-columns: minmax(0, 1fr); gap: 40px; padding-bottom: 24px; }
  .start-bild { position: relative; margin: 0 calc(16px - var(--innen)); padding: 210px 16px 64px; }
  .start-bild .platine { top: 0; right: 0; bottom: auto; left: 0; width: 100%; height: 300px; border-radius: calc(var(--r-gross) - 10px); }
  .start-bild figcaption { right: 16px; bottom: 16px; color: var(--grau); background: none; padding: 0; }
  .meldungen { margin-left: 0; }
  .meldung, .meldung:nth-child(n) { margin-left: 0; width: min(100%, 26rem); }
  .meldung:nth-child(even) { margin-left: auto; }
}
@media (max-width: 640px) {
  .start-bild { padding-top: 170px; }
  .start-bild .platine { height: 240px; }
  .meldung, .meldung:nth-child(n) { width: 100%; margin-left: 0; padding-right: 14px; }
  .code-band { margin-bottom: 40px; }
  .meldung { grid-template-columns: 36px minmax(0, 1fr); }
}

@media print {
  .start-bild .platine, .start-bild figcaption, .code-band { display: none; }
  .start-kopf .wrap { display: block; }
  .start-bild { margin: 0; padding: 28px 0 0; }
  .meldungen { margin: 0; gap: 8px; }
  .meldung, .meldung:nth-child(n) { margin-left: 0; width: auto; box-shadow: none; border: 1px solid var(--linie); animation: none; break-inside: avoid; }
  .flaeche.start-software > .wrap { padding-top: 56px; }
}
