/* Paket C (Homepage-Prüfung 02.12.2026): Startseite und Handy-Ansicht.
   Gilt nur mit Körperklasse paket-c (bis zur Abnahme nur auf vorschau-Seiten, danach überall). */

/* ---------- Handy-Kopf: Anrufen und Anfrage ohne Menü (H6) ---------- */
.paket-c .kopf-schnell { display: none; }
@media (max-width: 960px) {
  .paket-c .kopf-schnell { display: flex; align-items: center; gap: 0.5rem; margin-left: auto; }
  .paket-c .menu-toggle { margin-left: 0.25rem; }
  .paket-c .kopf-schnell__tel {
    display: inline-grid; place-items: center; width: 44px; height: 44px;
    color: var(--blau); border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--linie);
    transition: box-shadow 0.2s var(--ease), background-color 0.2s var(--ease);
  }
  .paket-c .kopf-schnell__tel svg { width: 20px; height: 20px; }
  .paket-c .kopf-schnell__anfrage {
    display: inline-flex; align-items: center; height: 44px; padding: 0 1rem;
    background: var(--blau); color: var(--weiss); font-weight: 600; font-size: 0.95rem; text-decoration: none;
    transition: background-color 0.2s var(--ease), transform 0.16s var(--ease);
  }
  .paket-c .kopf-schnell__anfrage:active, .paket-c .kopf-schnell__tel:active { transform: scale(0.97); }
  @media (hover: hover) {
    .paket-c .kopf-schnell__tel:hover { box-shadow: inset 0 0 0 1.5px var(--blau); }
    .paket-c .kopf-schnell__anfrage:hover { background: var(--blau-hover); }
  }
  /* Im offenen Menü stehen Telefon und Anfrage schon oben, unten nicht noch einmal */
  .paket-c .header.is-open .header__cta { display: none; }
}
@media (max-width: 360px) {
  .paket-c .logo img { height: 36px; }
  .paket-c .kopf-schnell__anfrage { padding: 0 0.75rem; }
}

/* ---------- Handymenü mit Aufklappern (H6, M3) ---------- */
.paket-c .nav__auf { display: none; }
@media (max-width: 960px) {
  .paket-c .header.is-open .nav li.hat-unter { display: grid; grid-template-columns: 1fr auto; align-items: stretch; border-top: 1px solid var(--linie); }
  .paket-c .header.is-open .nav li.hat-unter > a { border-top: 0; }
  .paket-c .header.is-open .nav li.hat-unter > .nav__sub { grid-column: 1 / -1; }
  .paket-c .header.is-open .nav li.hat-unter:not(.is-auf) > .nav__sub { display: none; }
  .paket-c .header.is-open .nav li.is-auf > .nav__sub { animation: paketc-auf 0.22s var(--ease) both; }
  .paket-c .nav__auf {
    display: grid; place-items: center; width: 52px; min-height: 52px; margin-right: -0.5rem;
    background: none; border: 0; color: var(--blau); cursor: pointer;
  }
  .paket-c .nav__auf svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.22s var(--ease); }
  .paket-c .nav li.is-auf > .nav__auf svg { transform: rotate(180deg); }
}
@keyframes paketc-auf { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* ---------- Hero: für wen und warum (H1) ---------- */
.paket-c .hero__karte { width: min(760px, calc(100% - 2 * var(--gutter))); }
.paket-c .hero__h1 { margin-bottom: 1rem; }
.paket-c .hero__unter { color: var(--text-auf-blau); font-size: clamp(1rem, 1.2vw, 1.125rem); line-height: 1.55; max-width: 56ch; margin: 0 0 1.75rem; text-wrap: pretty; }
/* Hero und Beweisleiste zusammen füllen auf dem Desktop den ersten Bildschirm */
@media (min-width: 761px) {
  .paket-c .hero { height: min(calc(100svh - var(--header-h) - var(--beweis-h, 104px)), 860px); min-height: 540px; }
}

/* ---------- Beweisleiste unter dem Hero (H2) ---------- */
.beweis { --beweis-h: 104px; background: var(--weiss); border-bottom: 1px solid var(--linie); }
.beweis__inner { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: clamp(1.5rem, 3vw, 3rem); min-height: var(--beweis-h); padding-block: 0.75rem; }
.beweis__google { display: grid; grid-template-columns: auto auto; align-items: center; column-gap: 0.75rem; text-decoration: none; color: var(--blau); }
.beweis__wert { font-size: 2rem; font-weight: 700; line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; grid-row: span 2; }
.beweis__sterne { display: flex; gap: 2px; color: var(--gold); }
.beweis__sterne svg { width: 16px; height: 16px; fill: currentColor; }
.beweis__klein { font-size: 0.875rem; color: var(--anthrazit); line-height: 1.3; }
.beweis__google:hover .beweis__klein { text-decoration: underline; text-underline-offset: 3px; }
.beweis__kunden { display: flex; align-items: center; gap: 1rem; min-width: 0; border-left: 1px solid var(--linie); padding-left: clamp(1.5rem, 3vw, 3rem); }
.beweis__kunden > span { flex: none; font-size: 0.875rem; color: var(--anthrazit); line-height: 1.3; max-width: 7.5rem; }
.beweis__logos { display: flex; align-items: center; justify-content: space-between; gap: clamp(0.5rem, 1.5vw, 1.5rem); list-style: none; margin: 0; padding: 0; flex: 1; min-width: 0; }
.beweis__logos li { flex: 0 1 auto; min-width: 0; }
.beweis__logos img { display: block; height: 84px; width: auto; max-width: 100%; object-fit: contain; }
.beweis__preis { display: flex; align-items: center; gap: 0.75rem; border-left: 1px solid var(--linie); padding-left: clamp(1.5rem, 3vw, 3rem); }
.beweis__preis img { height: 72px; width: auto; }
.beweis__preis p { margin: 0; font-size: 0.875rem; line-height: 1.35; color: var(--anthrazit); max-width: 12rem; }
.beweis__preis strong { display: block; color: var(--blau); font-weight: 600; }
@media (max-width: 1180px) {
  .beweis__logos img { height: 76px; }
  .beweis__logos li:nth-child(n + 4) { display: none; }
}
@media (max-width: 960px) {
  .beweis__inner { grid-template-columns: auto auto; justify-content: space-between; row-gap: 0.75rem; padding-block: 1rem; }
  .beweis__kunden { grid-column: 1 / -1; grid-row: 2; border-left: 0; padding-left: 0; border-top: 1px solid var(--linie); padding-top: 0.75rem; }
  .beweis__logos li:nth-child(n + 4) { display: none; }
  .beweis__preis { border-left: 0; padding-left: 0; }
}
@media (max-width: 560px) {
  .beweis__wert { font-size: 1.6rem; }
  .beweis__kunden > span { display: none; }
  .beweis__logos img { height: 64px; }
  .beweis__preis img { height: 56px; }
  .beweis__preis p { max-width: 9.5rem; font-size: 0.8125rem; }
}

/* ---------- Kontakt: was nach dem Absenden passiert (M1) ---------- */
.weiter { margin-top: 1.75rem; padding: 1.25rem 1.5rem; background: var(--flaeche); box-shadow: inset 0 0 0 1px var(--linie); }
.weiter h3 { font-size: 1rem; margin: 0 0 0.75rem; color: var(--blau); }
.weiter ol { margin: 0; padding: 0; list-style: none; counter-reset: weiter; display: grid; gap: 0.6rem; }
.weiter li { counter-increment: weiter; display: grid; grid-template-columns: 1.6rem 1fr; gap: 0.5rem; font-size: 0.975rem; line-height: 1.5; }
.weiter li::before { content: counter(weiter); display: grid; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--blau); color: var(--weiss); font-size: 0.8125rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.hell .weiter { background: var(--weiss); }

/* Cookie-Leiste: einzeilig auf dem Desktop, steht in Snippet 31 („Cookie-Banner als kompakte Leiste“), damit sie auch auf den alten Landingpages gilt. */

@media (prefers-reduced-motion: reduce) {
  .paket-c .header.is-open .nav li.is-auf > .nav__sub { animation: none; }
  .paket-c .nav__auf svg { transition: none; }
}
