/* Gemeinsames Stylesheet fuer Startseite und Produktseiten.
 *
 * Am 29.08.2026 aus index.php herausgeloest: die Bausteine (Abschnittskicker,
 * Karten, Panel-Attrappe, Merkmalslisten) werden auf mehreren Seiten gebraucht,
 * und dreimal dasselbe CSS zu pflegen geht schief.
 *
 * Farben ausschliesslich ueber die Panel-Token aus newcp.css – damit folgen die
 * Seiten dem Hell-/Dunkel-Umschalter der Website.
 */
/* ============================================================ Grundlagen */
.hp { --hp-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
      background: var(--bg); color: var(--text); overflow-x: hidden; }
.hp * { box-sizing: border-box; }
.hp-wrap { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
.hp-sec { border-bottom: 1px solid var(--border); }
.hp-sec--tint { background: var(--surface); }

/* Auszeichnungsschrift: wir haben nur Roboto, also macht enger Satz und mehr
   Gewicht den Unterschied, den im Entwurf eine zweite Schrift getragen hat. */
.hp-display { font-weight: 700; letter-spacing: -.025em; line-height: 1.1; }
.hp-mono { font-family: var(--hp-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }

.hp-kicker { display: flex; align-items: baseline; gap: 14px; margin-bottom: 18px; }
.hp-kicker__no { font-size: 38px; font-weight: 700; color: var(--primary); line-height: 1; letter-spacing: -.03em; }
.hp-kicker__label { font-size: 11px; letter-spacing: .16em; color: var(--text-muted); font-weight: 600; text-transform: uppercase; }

.hp-h2 { font-size: 34px; letter-spacing: -.02em; margin: 0 0 12px; line-height: 1.15; font-weight: 700; }
.hp-lead { margin: 0 0 40px; color: var(--text-muted); font-size: 15px; line-height: 1.7; max-width: 620px; }

.hp-btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 9px;
          font-weight: 600; font-size: 15px; text-decoration: none; border: 1px solid transparent; }
.hp-btn--primary { background: var(--primary); color: #fff; }
.hp-btn--primary:hover { background: var(--primary-hover); }
.hp-btn--ghost { border-color: var(--border-strong); background: var(--surface); color: var(--text); }
.hp-btn--ghost:hover { border-color: var(--primary); }

/* ================================================================= Hero */
.hp-hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--border); }
.hp-hero__glow { position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(900px 420px at 12% 0%, var(--primary-soft) 0%, transparent 70%),
              radial-gradient(700px 500px at 85% 30%, var(--primary-soft) 0%, transparent 70%); opacity: .85; }
/* Der Hero ist seit dem 29.08.2026 einspaltig. Die rechte Spalte trug auf
   allen Seiten dasselbe generische Bild bzw. eine Datentafel – beides hat den
   Blick von der Aussage weggezogen, statt sie zu stuetzen. Die Textbreite ist
   begrenzt: ueber die volle Seite gezogen liest sich eine Schlagzeile nicht
   besser, sie wird nur schwerer zu fassen. */
.hp-hero__grid { position: relative; padding: 92px 0 96px; }
/* Die Breite wird an der inneren Spalte begrenzt, nicht am Rastercontainer:
   der traegt auch .hp-wrap, und ein zweites max-width dort wuerde den Hero
   mittig setzen statt ihn mit den Abschnitten darunter buendig zu halten. */
.hp-hero__grid > div { max-width: 780px; }
.hp-h1 { font-size: 58px; margin: 0 0 24px; font-weight: 700; letter-spacing: -.03em; line-height: 1.05; }
.hp-underline { position: relative; display: inline-block; white-space: nowrap; }
.hp-underline svg { position: absolute; left: -2%; bottom: -.16em; width: 104%; height: .34em;
                    opacity: .8; pointer-events: none; color: var(--primary); overflow: visible; }
.hp-hero__text { font-size: 17px; line-height: 1.7; color: var(--text-muted); margin: 0 0 34px; max-width: 620px; }
.hp-hero__cta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.hp-hero__facts { display: flex; align-items: center; gap: 8px 18px; margin-top: 38px;
                  font-size: 13px; color: var(--text-muted); flex-wrap: wrap; }
/* Trennzeichen gehoeren an den Anfang des folgenden Punktes, nicht als eigenes
   Element dazwischen – sonst bleibt beim Umbruch ein Punkt am Zeilenende stehen. */
.hp-hero__facts > span + span::before { content: "·"; margin-right: 18px; color: var(--border-strong); }
.hp-dot { width: 7px; height: 7px; border-radius: 99px; background: var(--success);
          animation: hpPulse 2.4s ease-in-out infinite; flex: none; }
@keyframes hpPulse { 0%,100% { opacity: .35 } 50% { opacity: .9 } }

/* ====================================================== Vertrauensleiste */
.hp-trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px; padding: 56px 0; }
.hp-trust__k { color: var(--primary); margin-bottom: 14px; }
.hp-trust h3 { font-size: 16px; margin: 0 0 10px; font-weight: 700; letter-spacing: -.01em; }
.hp-trust p { margin: 0; font-size: 14px; line-height: 1.65; color: var(--text-muted); }

/* ============================================================= Produkte */
.hp-prod { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.hp-card { border: 1px solid var(--border); background: var(--surface); border-radius: 12px;
           padding: 22px; display: flex; flex-direction: column; position: relative; }
.hp-card:hover { border-color: var(--border-strong); }
.hp-card--featured { border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-soft); }
.hp-card__kind { color: var(--text-muted); margin-bottom: 12px; }
.hp-card--featured .hp-card__kind { color: var(--primary); }
.hp-card__name { font-weight: 700; font-size: 15.5px; margin-bottom: 10px; letter-spacing: -.01em; }
.hp-card__text { margin: 0 0 26px; font-size: 13.5px; line-height: 1.6; color: var(--text-muted); flex: 1; }
.hp-card__foot { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.hp-card__price { font-size: 21px; font-weight: 700; letter-spacing: -.02em; }
/* „Auf Anfrage" ist Text, keine Zahl – in Preisgroesse wuerde es die Zeile sprengen. */
.hp-card__price--wort { font-size: 15px; font-weight: 600; color: var(--text-muted); }
.hp-card__per { font-size: 11px; color: var(--text-muted); }
.hp-card__link { font-size: 13px; font-weight: 600; color: var(--primary); text-decoration: none; white-space: nowrap; }
.hp-card__link:hover { color: var(--primary-hover); }

/* =============================================================== Panel */
.hp-panel { position: relative; overflow: hidden; }
.hp-panel__glow { position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(800px 400px at 50% -10%, var(--primary-soft) 0%, transparent 70%); }
.hp-panel__inner { position: relative; padding: 92px 0 100px; }
.hp-can { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 32px; margin-top: 44px; }
.hp-can div { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--text-muted); }
.hp-can b { color: var(--success); flex: none; }

/* ============================================================= Prepaid */
.hp-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 8px; }
.hp-step { border: 1px solid var(--border); background: var(--surface); border-radius: 12px; padding: 24px; }
.hp-step__no { font-family: var(--hp-mono); font-size: 12px; color: var(--primary); margin-bottom: 14px; }
.hp-step h3 { font-size: 16px; margin: 0 0 8px; font-weight: 700; letter-spacing: -.01em; }
.hp-step p { margin: 0; font-size: 14px; line-height: 1.65; color: var(--text-muted); }
.hp-note { margin-top: 26px; border: 1px solid var(--border); background: var(--surface-2);
           border-radius: 10px; padding: 16px 18px; font-size: 14px; line-height: 1.65;
           color: var(--text-muted); display: flex; gap: 12px; align-items: flex-start; }
.hp-note i { color: var(--primary); flex: none; margin-top: 2px; }

/* =============================================================== Warum */
.hp-why { display: grid; grid-template-columns: .85fr 1.15fr; gap: 72px; padding: 92px 0; }
.hp-why__list { display: grid; gap: 28px; }
.hp-why__row { display: flex; gap: 18px; }
.hp-why__no { flex: none; font-family: var(--hp-mono); font-size: 12px; color: var(--primary); padding-top: 3px; }
.hp-why h4 { font-size: 15px; margin: 0 0 6px; font-weight: 700; letter-spacing: -.01em; }
.hp-why p { margin: 0; font-size: 14px; line-height: 1.65; color: var(--text-muted); }

/* ======================================================= Infrastruktur */
.hp-infra { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding: 92px 0; }
/* Bildkachel im Infrastruktur-Abschnitt. Kein festes Seitenverhaeltnis mehr:
   das Foto bringt seins mit (3:2), und ein erzwungenes 4:3 wuerde es
   beschneiden. width/height stehen am <img>, damit beim Laden nichts springt. */
.hp-infra__art { margin: 0; border: 1px solid var(--border); border-radius: 14px;
                 overflow: hidden; background: var(--surface); }
.hp-infra__art img { display: block; width: 100%; height: auto; }
.hp-check { display: grid; gap: 12px; margin-bottom: 32px; }
.hp-check div { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--text); }
.hp-check b { color: var(--success); flex: none; }

/* ================================================================= CTA */
.hp-cta { position: relative; overflow: hidden; }
.hp-cta__glow { position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(700px 340px at 50% 110%, var(--primary-soft) 0%, transparent 70%); }
.hp-cta__inner { position: relative; padding: 100px 0; text-align: center; }
.hp-cta__k { font-size: 11px; letter-spacing: .18em; color: var(--primary); font-weight: 700;
             margin-bottom: 18px; text-transform: uppercase; }
.hp-cta h2 { font-size: 42px; letter-spacing: -.03em; line-height: 1.1; margin: 0 auto 18px;
             max-width: 620px; font-weight: 700; }
.hp-cta p { margin: 0 auto 34px; max-width: 480px; color: var(--text-muted); font-size: 15px; line-height: 1.7; }
.hp-cta__btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ============================================================== Schmal */
@media (max-width: 1080px) {
  .hp-prod { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .hp-wrap { padding: 0 20px; }
  .hp-hero__grid { padding: 56px 0 64px; }
  .hp-h1 { font-size: 36px; }
  .hp-h2 { font-size: 27px; }
  .hp-cta h2 { font-size: 31px; }
  .hp-trust, .hp-steps, .hp-can { grid-template-columns: 1fr; gap: 28px; }
  .hp-why, .hp-infra { grid-template-columns: 1fr; gap: 36px; padding: 64px 0; }
  .hp-underline svg { display: none; }
}
@media (max-width: 620px) {
  .hp-prod { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Nur Produktseiten
   ========================================================================== */

/* Tarifkarte mit Merkmalsliste. Breiter als die Produktkachel der Startseite,
   weil hier die Ausstattung Zeile fuer Zeile dastehen soll. */
.hp-tarife { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.hp-tarif { border: 1px solid var(--border); background: var(--surface); border-radius: 12px;
            padding: 24px; display: flex; flex-direction: column; position: relative; }
.hp-tarif:hover { border-color: var(--border-strong); }
.hp-tarif--featured { border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-soft); }
.hp-tarif__name { font-size: 17px; font-weight: 700; letter-spacing: -.015em; margin-bottom: 4px; }
.hp-tarif__cpu { font-family: var(--hp-mono); font-size: 11px; letter-spacing: .06em;
                 color: var(--text-muted); margin-bottom: 18px; }
.hp-tarif__preis { display: flex; align-items: baseline; gap: 7px; margin-bottom: 20px;
                   padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.hp-tarif__preis b { font-size: 30px; font-weight: 700; letter-spacing: -.03em; }
.hp-tarif__preis span { font-size: 12.5px; color: var(--text-muted); }
.hp-tarif__liste { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 10px; flex: 1; }
.hp-tarif__liste li { display: flex; gap: 9px; align-items: flex-start; font-size: 13.5px;
                      line-height: 1.5; color: var(--text-muted); }
.hp-tarif__liste b { color: var(--success); flex: none; font-weight: 700; }
.hp-tarif__liste em { font-style: normal; color: var(--text); }
.hp-tarif .hp-btn { width: 100%; justify-content: center; }

/* Betriebssysteme. Kacheln statt Liste, damit man auf einen Blick sieht,
   was da ist – und was eben nicht. */
.hp-os { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.hp-os__kachel { border: 1px solid var(--border); background: var(--surface); border-radius: 11px;
                 padding: 18px; display: flex; flex-direction: column; gap: 6px; }
.hp-os__kachel:hover { border-color: var(--border-strong); }
.hp-os__name { font-size: 15px; font-weight: 700; letter-spacing: -.01em; }
.hp-os__ver { font-family: var(--hp-mono); font-size: 11.5px; color: var(--text-muted); line-height: 1.6; }
.hp-os__hint { font-size: 12.5px; color: var(--text-muted); line-height: 1.55; margin-top: 2px; }

/* Einsatzzwecke */
.hp-use { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.hp-use__k { border: 1px solid var(--border); background: var(--surface); border-radius: 12px; padding: 22px; }
.hp-use__ico { width: 38px; height: 38px; border-radius: 10px; background: var(--primary-soft);
               color: var(--primary); display: grid; place-items: center; margin-bottom: 14px; }
.hp-use__k h3 { font-size: 15px; margin: 0 0 8px; font-weight: 700; letter-spacing: -.01em; }
.hp-use__k p { margin: 0; font-size: 13.5px; line-height: 1.6; color: var(--text-muted); }

/* Fragen und Antworten */
.hp-faq { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 32px; }
.hp-faq__i { border-top: 1px solid var(--border); padding-top: 18px; }
.hp-faq__i h3 { font-size: 15px; margin: 0 0 8px; font-weight: 700; letter-spacing: -.01em; }
.hp-faq__i p { margin: 0; font-size: 14px; line-height: 1.65; color: var(--text-muted); }

@media (max-width: 1080px) {
  .hp-tarife { grid-template-columns: repeat(2, 1fr); }
  .hp-os, .hp-use { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  .hp-tarife, .hp-os, .hp-use, .hp-faq { grid-template-columns: 1fr; }
}

/* Dedicated-Karten. Das Markup baut das Skript der Seite aus der Tenantos-
   Antwort – wir stylen die Klassen, die es erzeugt, statt den Renderer
   umzuschreiben. Sonst muesste man beides parallel pflegen. */
.package-card--dedicated { border: 1px solid var(--border); background: var(--surface);
  border-radius: 12px; padding: 24px; display: flex; flex-direction: column; }
.package-card--dedicated:hover { border-color: var(--border-strong); }

/* Status und Verfuegbarkeitsdatum stehen nebeneinander, nicht ineinander.
   Vorher lag das Datum im Markup INNERHALB der Pille – die wuchs dann um das
   Datum herum und beides klebte zusammen. */
.package-card__statusrow { display: flex; align-items: center; gap: 10px;
  flex-wrap: wrap; margin-bottom: 18px; }
.package-card__status { display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 999px;
  background: var(--success-soft); color: var(--success); }
.package-card__status--limited { background: var(--warning-soft); color: var(--warning); }
.package-card__status-date { font-size: 12.5px; color: var(--text-muted); }

.package-card--dedicated .package-card__header { margin-bottom: 20px;
  padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.package-card--dedicated .package-card__name { font-size: 18px; font-weight: 700;
  letter-spacing: -.015em; margin: 0 0 10px; }
.package-card--dedicated .package-card__price { font-size: 28px; font-weight: 700;
  letter-spacing: -.03em; line-height: 1; }
.package-card--dedicated .package-card__price span { font-size: 13px; font-weight: 500;
  color: var(--text-muted); letter-spacing: 0; margin-left: 4px; }

.package-card--dedicated .package-card__specs { display: grid; gap: 18px; flex: 1; margin-bottom: 22px; }
.package-card--dedicated .spec-group__title { font-family: var(--hp-mono); font-size: 10px;
  letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted);
  margin: 0 0 9px; font-weight: 700; }
.package-card--dedicated .spec-item { display: flex; gap: 9px; align-items: flex-start;
  font-size: 13.5px; line-height: 1.5; color: var(--text); margin-bottom: 7px; }
.package-card--dedicated .spec-item:last-child { margin-bottom: 0; }
.package-card--dedicated .spec-item i,
.package-card--dedicated .spec-item svg { width: 15px; height: 15px; color: var(--primary);
  flex: none; margin-top: 2px; }
.package-card--dedicated .spec-item--small { font-size: 12.5px; color: var(--text-muted); }
.package-card--dedicated .spec-item--small svg { color: var(--text-faint); }

/* Der Renderer nennt die Schaltflaeche .package-card__btn – nicht .btn.
   Die frueher hier gestylte .btn-Klasse gab es auf diesen Karten nie, deshalb
   stand „Jetzt bestellen" als nackter Link da. */
.package-card__btn { display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; width: 100%; padding: 12px 18px; border-radius: 9px; font-weight: 600;
  font-size: 14.5px; text-decoration: none; background: var(--primary); color: #fff;
  border: none; margin-top: auto; }
.package-card__btn:hover { background: var(--primary-hover); }
.package-card__btn svg { width: 16px; height: 16px; }

.dedicated-card--hidden { display: none; }

.empty-state { text-align: center; padding: 48px 24px; }
.empty-state__icon { width: 44px; height: 44px; border-radius: 12px; background: var(--surface-2);
  color: var(--text-muted); display: grid; place-items: center; margin: 0 auto 14px; }
.empty-state h3 { font-size: 17px; margin: 0 0 8px; font-weight: 700; }
.empty-state p { margin: 0 0 18px; color: var(--text-muted); font-size: 14px; }
.empty-state .btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px;
  border-radius: 9px; font-weight: 600; font-size: 14.5px; text-decoration: none;
  background: var(--primary); color: #fff; }

/* Auszeichnung ohne Aufkleber.
   Statt einer Pille mit Rahmen und Farbe reicht eine kleine Zeile in
   Monospace – sie ordnet ein, ohne sich vor die Ueberschrift zu draengen. */
.hp-eyebrow { color: var(--primary); margin-bottom: 18px; font-weight: 600; }


/* ==========================================================================
   Bildschirmfoto aus dem Panel
   ========================================================================== */

/* Zwei Fassungen liegen im Markup, weil der Umschalter der Website
   [data-theme] setzt und <picture> darauf nicht reagiert – media-Abfragen
   kennen nur die Systemeinstellung. Sichtbar ist immer genau eine. */
.hp-shot { margin: 0; max-width: 940px; border: 1px solid var(--border); border-radius: 14px;
           overflow: hidden; background: var(--surface);
           box-shadow: 0 50px 90px -40px rgba(0,0,0,.55); }
.hp-shot__var { display: none; }
.hp-shot__var img { display: block; width: 100%; height: auto; }
/* Dunkel ist die Vorgabe – wie im uebrigen Farbsystem. */
.hp-shot__var--dunkel { display: block; }
[data-theme="light"] .hp-shot__var--dunkel { display: none; }
[data-theme="light"] .hp-shot__var--hell { display: block; }
/* Ohne ausdrueckliche Wahl gilt die Systemeinstellung. */
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .hp-shot__var--dunkel { display: none; }
  :root:not([data-theme="dark"]) .hp-shot__var--hell { display: block; }
}
