/* ==========================================================================
   Kurzüberblick — kompakter One-Pager, auch zum Drucken / als PDF
   ========================================================================== */

/* --- Hero ---------------------------------------------------------------- */
.op-hero { position: relative; background: transparent; }
.op-hero__inner {
  position: relative;
  z-index: 1;
  padding-block: 64px 56px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 48px;
  align-items: center;
}
.op-hero__copy { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.op-hero__title { display: flex; flex-direction: column; }
/* two full sentences — a notch below the site-wide .h1 so both fit on one line each */
.op-hero__title .h1 { font-size: clamp(30px, 3.2vw, 46px); line-height: 1.1; }
.op-hero__text {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-body);
  width: 720px;
  max-width: 100%;
}
.op-hero__visual { display: flex; justify-content: center; }
.op-hero__visual img { width: 100%; max-width: 293px; height: auto; }
.op-hero__glow {
  left: 84%;
  top: 140px;
  width: 620px;
  height: 700px;
  opacity: .85;
  --glow-rot: -18deg;
  --glow-dur: 25s;
  --glow-delay: -3s;
}

.op-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  width: 100%;
  margin-top: 8px;
}
.op-stat {
  background: var(--blue-very-light);
  box-shadow: inset 0 0 0 1px var(--blue-medium);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-start;
}
.op-stat strong {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(28px, 2.5vw, 36px);
  line-height: 1;
  color: var(--blue-main);
}
.op-stat--plum strong { color: var(--plum-main); }
.op-stat span {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 14px;
  line-height: 1.3;
  color: var(--text-body);
}
@media (max-width: 980px) {
  /* minmax(0, …): sonst wächst die Spalte auf die feste Breite des Textblocks */
  .op-hero__inner { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-block: 48px 40px; }
  .op-hero__copy { min-width: 0; }
  .op-hero__text { width: auto; }
  .op-hero__visual { order: -1; }
  .op-hero__visual img { max-width: 200px; }
}
@media (max-width: 700px) {
  .op-stats { grid-template-columns: 1fr; }
}

/* --- Kernfunktionen ------------------------------------------------------ */
.op-features { position: relative; background: transparent; }
.op-features__inner { padding-block: 24px 64px; }
.op-features .eyebrow { margin-bottom: 24px; }
.op-features__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.op-feature {
  background: var(--white);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1);
  border-radius: 16px;
  filter: drop-shadow(0 4px 2px rgba(0, 0, 0, .25));
  padding: 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.op-feature__copy { display: flex; flex-direction: column; gap: 6px; }
.op-feature h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(18px, 1.5vw, 20px);
  line-height: normal;
}
.op-feature p {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-body);
}
@media (max-width: 760px) {
  .op-features__inner { padding-block: 16px 48px; }
  .op-features__grid { grid-template-columns: 1fr; gap: 16px; }
}

/* --- CTA ----------------------------------------------------------------- */
.op-cta { position: relative; background: transparent; }
.op-cta__inner { position: relative; z-index: 1; padding-block: 64px; display: flex; flex-direction: column; gap: 32px; }
.op-cta__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.op-cta__copy { display: flex; flex-direction: column; gap: 12px; }
.op-cta__actions { display: flex; gap: 16px; flex-wrap: wrap; }
.op-cta__contact {
  display: flex;
  justify-content: flex-end;
  gap: 8px 32px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid var(--gray-1);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 14px;
  line-height: normal;
  color: var(--text-body);
}
.op-cta__contact a { color: var(--blue-main); transition: opacity .15s ease; }
.op-cta__contact a:hover { opacity: .7; }
/* the site address only matters on paper */
.op-cta__site { display: none; }
@media (max-width: 700px) {
  .op-cta__inner { padding-block: 48px; }
  .op-cta__actions { width: 100%; flex-direction: column; }
  .op-cta__contact { justify-content: flex-start; flex-direction: column; }
}

/* Briefkopf, Links und Fußzeile gibt es nur auf Papier. */
.op-doc-head, .op-doc-links, .op-doc-foot { display: none; }

/* --- Druck / PDF ---------------------------------------------------------
   „Als PDF speichern“ druckt die Seite selbst — es gibt kein vorab erzeugtes
   PDF. Deshalb hier ein eigenes Layout für genau eine A4-Seite: fest gesetzt
   statt responsiv (die Druckseite ist nur ~790 px breit, sonst griffen die
   Tablet-Regeln), randlos, damit der Browser keine URL/Datum-Zeilen
   darüberdruckt; die Ränder kommen aus dem Innenabstand von .page. */
@media print {
  @page { size: A4; margin: 0; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  html, body { background: var(--white); }
  .nav, .footer, #site-nav, #site-footer, .skip-link, .glow, .bg-grid, .op-cta__actions { display: none !important; }
  [data-reveal], [data-reveal-group] > * { opacity: 1 !important; transform: none !important; transition: none !important; }
  [data-parallax] { translate: none !important; }

  .page {
    box-sizing: border-box;
    width: 210mm;
    height: 297mm;
    max-width: none;
    margin: 0;
    padding: 13mm 15mm 10mm;
    border: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    break-after: avoid;
  }
  .page > section { max-width: none; border-inline: 0; }
  .container { padding-inline: 0; max-width: none; }

  /* Briefkopf */
  .op-doc-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 5mm;
    margin-bottom: 9mm;
    border-bottom: 2px solid transparent;
    border-image: linear-gradient(90deg, var(--plum-main), var(--blue-main)) 1;
  }
  .op-doc-head img { width: 36mm; height: auto; }
  .op-doc-head span { font-family: var(--font-body); font-size: 9pt; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--blue-main); }

  /* Hero */
  .op-hero__inner { grid-template-columns: minmax(0, 1fr) 44mm; gap: 8mm; padding-block: 0 9mm; align-items: center; }
  .op-hero__visual { order: 0; }
  .op-hero__visual img { max-width: 44mm; }
  .op-hero__copy { gap: 3mm; }
  .op-hero .eyebrow { font-size: 8pt; }
  .op-hero__title .h1 { font-size: 22pt; line-height: 1.12; }
  .grad-blue { background: none; color: var(--blue-main); -webkit-text-fill-color: initial; }
  .op-hero__text { width: auto; font-size: 10.5pt; line-height: 1.55; }
  .op-stats { grid-template-columns: repeat(3, 1fr); gap: 3mm; margin-top: 2mm; }
  .op-stat { padding: 4mm 5mm; border-radius: 3mm; }
  .op-stat strong { font-size: 19pt; }
  .op-stat span { font-size: 8.5pt; }

  /* Funktionen */
  .op-features__inner { padding-block: 2mm 8mm; }
  .op-features .eyebrow { font-size: 8pt; margin-bottom: 4mm; }
  .op-features__grid { grid-template-columns: repeat(2, 1fr); gap: 4mm; }
  .op-feature { padding: 5mm; gap: 4mm; border-radius: 3mm; filter: none; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .14); break-inside: avoid; }
  .op-feature h3 { font-size: 11.5pt; }
  .op-feature p { font-size: 9.5pt; line-height: 1.5; }
  .icon-badge { width: 9mm; height: 9mm; flex: none; box-shadow: none; }
  .icon-badge img { width: 5mm; height: 5mm; }

  /* Kundenlogos: Beschriftung über der Reihe, Reihe über die volle Breite */
  .logos__inner { flex-direction: column; align-items: flex-start; gap: 4mm; padding-block: 2mm 8mm; }
  .logos__label { font-size: 8pt; white-space: normal; }
  .logos__row { width: 100%; height: 8mm; flex-wrap: nowrap; justify-content: space-between; gap: 6mm; }
  .logos__row img { height: 7mm !important; width: auto !important; }

  /* Abschluss: Kontaktkasten */
  .op-cta { margin-top: auto; }
  .op-cta__inner {
    padding: 6mm 7mm;
    gap: 3mm;
    border-radius: 4mm;
    background: var(--blue-very-light);
    box-shadow: inset 0 0 0 1px var(--blue-medium);
  }
  .op-cta__row { gap: 2mm; }
  .op-cta__copy { gap: 1.5mm; }
  .op-cta__copy .h2 { font-size: 15pt; color: var(--blue-main); background: none; -webkit-text-fill-color: initial; }
  .op-cta__copy .lead { font-size: 9.5pt; }
  .op-doc-links { display: flex; gap: 8mm; font-family: var(--font-body); font-size: 9pt; color: var(--text-body); }
  .op-doc-links strong { font-weight: 600; color: var(--blue-dark-2); }
  .op-cta__contact { display: none; }

  /* Fußzeile */
  .op-doc-foot {
    display: flex;
    justify-content: space-between;
    gap: 6mm;
    margin-top: 5mm;
    padding-top: 3mm;
    border-top: 1px solid var(--gray-1);
    font-family: var(--font-body);
    font-size: 7.5pt;
    color: #6b7280;
  }
}
