/*
Theme Name: zorVaro V2 Test
Theme URI: https://zorvaro.de/
Author: zorVaro
Description: Kühles, responsives WordPress-Theme in Schiefergrau und Dunkelblau für die zorVaro-Website.
Version: 2.0.8-test
Requires at least: 6.6
Tested up to: 7.0
Requires PHP: 8.1
Text Domain: zorvaro
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

:root {
  /* Legacy variable names stay in place so existing Gutenberg content keeps
   * working, but version 2 maps them to the new slate/navy brand palette. */
  --zv-green: #173a5e;
  --zv-green-dark: #182431;
  --zv-green-soft: #dce6ef;
  --zv-gold: #5b7894;
  --zv-ink: #182431;
  --zv-muted: #66717d;
  --zv-line: #cad3dc;
  --zv-surface: #ffffff;
  --zv-background: #f4f6f8;
  --zv-warm: #eef2f5;
  --zv-radius-small: 10px;
  --zv-radius: 18px;
  --zv-radius-large: 28px;
  --zv-shadow: 0 18px 55px rgba(23, 58, 94, .10);
  --zv-content: 860px;

  /* Bounded typography: responsive where useful, but never grows without a cap. */
  --zv-font-body: clamp(1rem, calc(.35vw + .93rem), 1.125rem);
  --zv-font-kicker: clamp(.72rem, calc(.12vw + .70rem), .78rem);
  --zv-font-card-title: clamp(1.4rem, 2.2vw, 1.9rem);
  --zv-font-section-title: clamp(1.75rem, 3vw, 2.4rem);
  --zv-font-page-title: clamp(2rem, 4vw, 3.25rem);
  --zv-font-hero-title: clamp(3rem, 5vw, 4.25rem);
  --zv-font-hero-title-dog: clamp(2.7rem, 4.7vw, 4.05rem);
  --zv-font-hero-lead: clamp(1rem, 1.7vw, 1.2rem);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--zv-background);
  color: var(--zv-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: var(--zv-font-body);
  line-height: 1.62;
  text-rendering: optimizeLegibility;
}

body.admin-bar .site-header {
  top: 32px;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--zv-green);
  text-underline-offset: .16em;
}

a:hover {
  color: var(--zv-green-dark);
}

button,
input,
textarea,
select {
  font: inherit;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.screen-reader-text:focus {
  z-index: 100000;
  top: 12px;
  left: 12px;
  width: auto;
  height: auto;
  padding: 12px 16px;
  clip: auto;
  background: #fff;
  border-radius: 8px;
}

.zv-container,
.site-header__inner,
.site-footer__inner,
.entry-container {
  width: min(calc(100% - 40px), var(--zv-content));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid rgba(202, 211, 220, .88);
  backdrop-filter: blur(16px);
}

.site-header__inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: 26px;
}

.site-branding {
  flex: 0 0 auto;
}

.site-branding a {
  display: grid;
  grid-template-columns: 38px auto;
  column-gap: 10px;
  align-items: center;
  color: var(--zv-ink);
  text-decoration: none;
}

.site-branding__mark {
  display: block;
  grid-row: 1 / span 2;
  width: 38px;
  height: auto;
  color: var(--zv-green);
}

.site-branding__name {
  font-size: 1.22rem;
  font-weight: 850;
  line-height: 1;
  letter-spacing: -.025em;
}

.site-branding__tagline {
  color: var(--zv-muted);
  font-size: .68rem;
  line-height: 1.2;
}

.custom-logo-link {
  display: block !important;
}

.custom-logo {
  width: auto;
  max-height: 52px;
}

.primary-navigation {
  margin-left: auto;
}

.primary-navigation ul,
.footer-navigation ul {
  display: flex;
  align-items: center;
  gap: 25px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.primary-navigation a {
  color: var(--zv-ink);
  font-size: .82rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.primary-navigation a:hover,
.primary-navigation .current-menu-item > a {
  color: var(--zv-green);
}

.primary-navigation__mobile-actions {
  display: none;
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.zv-button,
.wp-block-button__link,
.site-header__cta,
.site-header__login {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 11px 20px;
  border: 2px solid var(--zv-green);
  border-radius: 999px;
  background: var(--zv-green);
  color: #fff;
  font-size: .86rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.zv-button:hover,
.wp-block-button__link:hover,
.site-header__cta:hover {
  transform: translateY(-1px);
  background: var(--zv-green-dark);
  border-color: var(--zv-green-dark);
  color: #fff;
  box-shadow: 0 12px 28px rgba(23, 58, 94, .22);
}

.zv-button--secondary,
.site-header__login {
  background: #fff;
  color: var(--zv-green-dark);
  border-color: #aebbc7;
}

.zv-button--secondary:hover,
.site-header__login:hover {
  background: var(--zv-green-soft);
  border-color: var(--zv-green);
  color: var(--zv-green-dark);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--zv-line);
  border-radius: 50%;
  background: #fff;
  color: var(--zv-ink);
  cursor: pointer;
}

.menu-toggle svg {
  width: 23px;
}

.site-main {
  min-height: 60vh;
  overflow: hidden;
}

.zv-section {
  padding: 86px 0;
}

.zv-section--white {
  background: #fff;
}

.zv-section--warm {
  background: var(--zv-warm);
}

.zv-section--soft {
  background: linear-gradient(180deg, #eef2f5, #f8fafb);
}

.zv-kicker {
  margin: 0 0 12px;
  color: var(--zv-green);
  font-size: var(--zv-font-kicker);
  font-weight: 850;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.zv-section-heading {
  max-width: 780px;
  margin: 0 auto 42px;
  text-align: center;
}

.zv-section-heading h2,
.entry-header h1 {
  margin: 0 0 16px;
  color: var(--zv-green-dark);
  font-size: var(--zv-font-page-title);
  line-height: 1.08;
  letter-spacing: -.045em;
}

.zv-section-heading p {
  max-width: 720px;
  margin: 0 auto;
  color: var(--zv-muted);
}

.zv-hero {
  padding: 62px 0 72px;
  background:
    radial-gradient(circle at 82% 18%, rgba(91, 120, 148, .16), transparent 27%),
    linear-gradient(135deg, #fff 12%, #edf2f6 100%);
}

.zv-hero__grid {
  min-height: 560px;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(420px, 1.08fr);
  align-items: center;
  gap: 56px;
}

.zv-hero__copy {
  position: relative;
  z-index: 2;
}

.zv-hero h1 {
  max-width: 720px;
  margin: 0 0 22px;
  color: var(--zv-green-dark);
  font-size: var(--zv-font-hero-title);
  line-height: .98;
  letter-spacing: -.06em;
}

.zv-hero--dog h1 {
  font-size: var(--zv-font-hero-title-dog);
}

.zv-hero__lead {
  max-width: 630px;
  margin: 0 0 30px;
  color: #5a6875;
  font-size: var(--zv-font-hero-lead);
}

.zv-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.zv-hero__proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding-top: 28px;
  border-top: 1px solid var(--zv-line);
}

.zv-proof {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  column-gap: 18px;
  align-items: center;
  color: var(--zv-muted);
  font-size: .74rem;
  line-height: 1.35;
}

.zv-proof strong {
  display: block;
  color: var(--zv-ink);
}

.zv-hero__visual {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  border-radius: var(--zv-radius-large);
  background:
    radial-gradient(circle at 70% 32%, rgba(255, 255, 255, .9) 0 12%, transparent 13%),
    radial-gradient(circle at 50% 50%, #9caebf, #446783 64%, #173a5e);
  box-shadow: var(--zv-shadow);
}

.has-featured-image .zv-hero__visual {
  background-image:
    linear-gradient(180deg, rgba(16, 42, 69, .08), rgba(16, 42, 69, .34)),
    var(--zv-hero-image);
  background-position: center;
  background-size: cover;
}

.zv-hero__symbol {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 156px;
  height: 156px;
  display: grid;
  place-items: center;
  transform: translate(-50%, -58%);
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 50%;
  background: rgba(255, 255, 255, .18);
  color: #fff;
  backdrop-filter: blur(12px);
}

.zv-hero__symbol .zv-icon {
  width: 78px;
  height: 78px;
}

.zv-hero__note {
  position: absolute;
  right: 24px;
  bottom: 24px;
  left: 24px;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  column-gap: 18px;
  align-items: center;
  padding: 18px 20px;
  border-radius: var(--zv-radius);
  background: rgba(255, 255, 255, .94);
  color: var(--zv-muted);
  font-size: .82rem;
  line-height: 1.4;
  box-shadow: 0 14px 38px rgba(23, 58, 94, .20);
}

.zv-hero__note strong {
  display: block;
  color: var(--zv-ink);
  font-size: .96rem;
}

.zv-grid {
  display: grid;
  gap: 18px;
}

.zv-grid > *,
.zv-section-heading > *,
.zv-card > *,
.zv-hero__grid > *,
.zv-hero__copy > * {
  margin-block-start: 0;
  margin-block-end: 0;
}

.zv-grid--4 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.zv-grid--5 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.zv-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.zv-card {
  height: 100%;
  padding: 28px 24px;
  border: 1px solid var(--zv-line);
  border-radius: var(--zv-radius);
  background: #fff;
  text-align: center;
  box-shadow: 0 10px 34px rgba(23, 58, 94, .05);
}

.zv-card h3 {
  margin: 20px 0 8px;
  color: var(--zv-ink);
  font-size: 1rem;
  line-height: 1.25;
}

.zv-card p {
  margin: 0;
  color: var(--zv-muted);
  font-size: .84rem;
  line-height: 1.5;
}

.zv-card--compact {
  padding: 24px 16px;
}

.zv-icon {
  width: 58px;
  height: 58px;
  display: inline-grid;
  flex: 0 0 58px;
  place-items: center;
  border-radius: 16px;
  background: var(--zv-green-soft);
  color: var(--zv-green);
  font-size: 1.35rem;
  font-weight: 850;
  line-height: 1;
}

.zv-icon.zv-icon--outline {
  background: transparent;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.zv-icon__svg {
  width: 28px;
  height: 28px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.zv-hero__symbol .zv-icon__svg,
.zv-quote__visual .zv-icon__svg {
  width: 34px;
  height: 34px;
}

.zv-feature-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
}

.zv-feature-row .zv-mini-feature {
  padding: 12px 22px;
  border-right: 1px solid var(--zv-line);
  text-align: center;
}

.zv-feature-row .zv-mini-feature:last-child {
  border-right: 0;
}

.zv-feature-row .zv-mini-feature:nth-child(3n) {
  border-right: 0;
}

.zv-mini-feature strong {
  display: block;
  margin: 16px 0 5px;
  font-size: .86rem;
  line-height: 1.25;
}

.zv-mini-feature span:last-child {
  color: var(--zv-muted);
  font-size: .75rem;
  line-height: 1.35;
}

.zv-steps {
  counter-reset: zorvaro-step;
}

.zv-step {
  position: relative;
  padding: 38px 28px 28px;
}

.zv-step::before {
  counter-increment: zorvaro-step;
  content: counter(zorvaro-step);
  position: absolute;
  top: -18px;
  left: 50%;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  transform: translateX(-50%);
  border-radius: 50%;
  background: var(--zv-green);
  color: #fff;
  font-weight: 850;
  box-shadow: 0 8px 20px rgba(23, 58, 94, .24);
}

.zv-quote {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
  overflow: hidden;
  border: 1px solid var(--zv-line);
  border-radius: var(--zv-radius-large);
  background: #fff;
}

.zv-quote blockquote {
  margin: 0;
  padding: 48px;
  font-size: clamp(1.25rem, 2.5vw, 2rem);
  font-weight: 750;
  line-height: 1.35;
}

.zv-quote cite {
  display: block;
  margin-top: 18px;
  color: var(--zv-muted);
  font-size: .8rem;
  font-style: normal;
  font-weight: 500;
}

.zv-quote__visual {
  min-height: 260px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 65% 40%, rgba(255, 255, 255, .72), transparent 20%),
    linear-gradient(135deg, #dce6ef, #afc0cf);
  color: var(--zv-green);
}

.zv-quote__visual .zv-icon {
  width: 86px;
  height: 86px;
  font-size: 2rem;
}

.zv-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 34px;
  align-items: center;
  padding: 42px 48px;
  border-radius: var(--zv-radius-large);
  background: linear-gradient(135deg, #102a45, #173a5e);
  color: #fff;
  box-shadow: 0 20px 50px rgba(23, 58, 94, .20);
}

.zv-cta h2 {
  margin: 0 0 7px;
  color: #fff;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  line-height: 1.1;
}

.zv-cta p {
  margin: 0;
  color: rgba(255, 255, 255, .78);
}

.zv-cta .zv-button {
  min-width: 210px;
  background: #fff;
  border-color: #fff;
  color: var(--zv-green-dark);
}

.zv-trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  padding: 34px 0;
}

.zv-trust-item {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  column-gap: 18px;
  align-items: center;
  color: var(--zv-muted);
  font-size: .76rem;
  line-height: 1.35;
}

.zv-trust-item strong {
  display: block;
  color: var(--zv-ink);
}

.entry-header {
  padding: 72px 0 44px;
  background: linear-gradient(180deg, #fff, #f4f6f8);
  text-align: center;
}

.entry-header__inner {
  max-width: 840px;
  margin: 0 auto;
}

.entry-header__subtitle {
  margin: 0;
  color: var(--zv-muted);
  font-size: 1.08rem;
}

.entry-header .zv-kicker {
  margin: 0 0 12px;
  color: var(--zv-green);
  font-size: .76rem;
}

.entry-content {
  padding: 64px 0 90px;
}

.entry-content > * {
  max-width: 860px;
  margin-right: auto;
  margin-left: auto;
}

.entry-content > .alignwide {
  max-width: var(--zv-content);
}

.entry-content > .alignfull {
  max-width: none;
}

/* Landing pages have no outer .entry-container. Give ordinary editor blocks the
 * same calm side gutters as the rest of the site instead of letting text touch
 * the viewport edge. Full-width blocks remain intentionally full width. */
.zv-landing .entry-content > :not(.alignfull):not(.alignwide):not(.zv-docs-hero) {
  width: min(calc(100% - 40px), 860px);
}

.zv-landing .entry-content > .alignwide:not(.zv-docs-hero) {
  width: min(calc(100% - 40px), var(--zv-content));
}

.entry-content h2 {
  margin-top: 2em;
  color: var(--zv-green-dark);
  font-size: var(--zv-font-section-title);
  line-height: 1.15;
}

.entry-content h3 {
  margin-top: 1.7em;
  color: var(--zv-ink);
}

.entry-content p,
.entry-content li {
  color: #485562;
}

.zv-info-box,
.entry-content .wp-block-group.is-style-zv-info {
  padding: 24px 28px;
  border-left: 5px solid var(--zv-green);
  border-radius: 0 var(--zv-radius) var(--zv-radius) 0;
  background: var(--zv-green-soft);
}

.zv-notice {
  padding: 18px 22px;
  border: 1px solid #ead9b8;
  border-radius: var(--zv-radius-small);
  background: #fff9eb;
  color: #665331;
}

.zv-post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  padding: 64px 0 90px;
}

.zv-post-card {
  overflow: hidden;
  border: 1px solid var(--zv-line);
  border-radius: var(--zv-radius);
  background: #fff;
}

.zv-post-card__image {
  aspect-ratio: 16 / 9;
  background: var(--zv-green-soft);
}

.zv-post-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.zv-post-card__body {
  padding: 24px;
}

.zv-post-card h2 {
  margin: 0 0 10px;
  font-size: 1.25rem;
  line-height: 1.25;
}

.zv-post-card h2 a {
  color: var(--zv-ink);
  text-decoration: none;
}

.zv-post-card p {
  color: var(--zv-muted);
  font-size: .88rem;
}

.site-footer {
  background: #111c27;
  color: rgba(255, 255, 255, .68);
}

.site-footer__main {
  display: grid;
  grid-template-columns: 1.15fr 1.85fr;
  gap: 60px;
  padding: 64px 0 46px;
}

.site-footer__brand {
  max-width: 390px;
}

.site-footer__brand strong {
  display: block;
  margin-bottom: 12px;
  color: #fff;
  font-size: 1.35rem;
}

.footer-navigation ul {
  justify-content: flex-end;
  flex-wrap: wrap;
}

.footer-navigation a {
  color: rgba(255, 255, 255, .82);
  font-size: .82rem;
  text-decoration: none;
}

.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: .74rem;
}

.site-footer__bottom a {
  color: rgba(255, 255, 255, .7);
}

.site-footer__editor-note {
  color: #a8c5dd;
}

.pagination {
  grid-column: 1 / -1;
  margin-top: 20px;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-numbers {
  padding: 7px 12px;
  border-radius: 8px;
  background: #fff;
  text-decoration: none;
}

@media (max-width: 1100px) {
  .primary-navigation ul {
    gap: 15px;
  }

  .primary-navigation a {
    font-size: .86rem;
  }

  .site-header__cta {
    display: none;
  }

  .zv-grid--5 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .zv-feature-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 28px;
  }

  .zv-feature-row .zv-mini-feature:nth-child(3) {
    border-right: 0;
  }
}

@media (max-width: 880px) {
  body.admin-bar .site-header {
    top: 46px;
  }

  .site-header__inner {
    min-height: 72px;
  }

  .menu-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .primary-navigation {
    position: absolute;
    top: 100%;
    right: 20px;
    left: 20px;
    display: none;
    padding: 16px;
    border: 1px solid var(--zv-line);
    border-radius: var(--zv-radius);
    background: #fff;
    box-shadow: var(--zv-shadow);
  }

  .primary-navigation.is-open {
    display: block;
  }

  .primary-navigation ul {
    display: grid;
    gap: 0;
  }

  .primary-navigation a {
    display: block;
    padding: 12px;
    font-size: .9rem;
  }

  .primary-navigation__mobile-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 10px;
    padding-top: 14px;
    border-top: 1px solid var(--zv-line);
  }

  .primary-navigation__mobile-actions .zv-button {
    display: flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    padding: 10px 12px;
    color: #fff;
    line-height: 1.2;
    text-align: center;
  }

  .primary-navigation__mobile-actions .zv-button:hover {
    color: #fff;
  }

  .primary-navigation__mobile-actions .zv-button--secondary,
  .primary-navigation__mobile-actions .zv-button--secondary:hover {
    color: var(--zv-green-dark);
  }

  .site-header__actions {
    display: none;
  }

  .zv-hero__grid {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .zv-hero__visual {
    min-height: 430px;
  }

  .zv-grid--5,
  .zv-grid--4,
  .zv-grid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .zv-feature-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .zv-feature-row .zv-mini-feature:nth-child(3n) {
    border-right: 1px solid var(--zv-line);
  }

  .zv-feature-row .zv-mini-feature:nth-child(2n) {
    border-right: 0;
  }

  .zv-quote {
    grid-template-columns: 1fr;
  }

  .zv-quote__visual {
    min-height: 180px;
  }

  .zv-cta {
    grid-template-columns: 1fr;
  }

  .zv-trust-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .zv-post-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer__main {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-navigation ul {
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  body {
    font-size: 16px;
  }

  .site-header__inner {
    gap: 14px;
  }

  .site-branding {
    min-width: 0;
    flex: 1 1 auto;
  }

  .zv-container,
  .site-header__inner,
  .site-footer__inner,
  .entry-container {
    width: min(calc(100% - 28px), var(--zv-content));
  }

  .site-branding__tagline {
    display: block;
    font-size: .64rem;
    line-height: 1.2;
  }

  .site-branding a {
    grid-template-columns: 34px minmax(0, 1fr);
  }

  .site-branding__mark {
    width: 34px;
  }

  .menu-toggle {
    flex: 0 0 46px;
  }

  .zv-section {
    padding: 62px 0;
  }

  .zv-hero {
    padding: 44px 0 56px;
  }

  .zv-hero h1,
  .zv-hero--dog h1 {
    font-size: clamp(2.65rem, 14vw, 4.1rem);
  }

  .zv-hero__proof {
    grid-template-columns: 1fr;
  }

  .zv-actions {
    display: grid;
  }

  .zv-actions .zv-button {
    width: 100%;
  }

  .zv-hero__visual {
    min-height: 370px;
  }

  .zv-hero__symbol {
    width: 118px;
    height: 118px;
  }

  .zv-hero__symbol .zv-icon {
    width: 58px;
    height: 58px;
  }

  .zv-hero__note {
    right: 14px;
    bottom: 14px;
    left: 14px;
  }

  .zv-grid--5,
  .zv-grid--4,
  .zv-grid--3,
  .zv-post-grid {
    grid-template-columns: 1fr;
  }

  .zv-feature-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .zv-feature-row .zv-mini-feature {
    padding: 16px 10px;
    border-right: 0;
  }

  .zv-quote blockquote {
    padding: 32px 26px;
  }

  .zv-cta {
    padding: 32px 26px;
  }

  .zv-cta .zv-button {
    width: 100%;
  }

  .zv-trust-strip {
    grid-template-columns: 1fr;
  }

  .entry-header {
    padding: 54px 0 34px;
  }

  .entry-content {
    padding: 44px 0 64px;
  }

  .site-footer__bottom {
    display: grid;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* --------------------------------------------------------------------------
 * Reusable zorVaro hero in the same visual language as zorVaro Docs.
 * Use the supplied Gutenberg pattern "zorVaro Hero – Dokumentationsstil".
 * -------------------------------------------------------------------------- */
.zv-docs-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: min(calc(100% - 40px), 860px);
  max-width: 860px !important;
  margin: 63px auto 28px !important;
  padding: clamp(34px, 6vw, 64px);
  border-radius: 28px;
  background:
    radial-gradient(circle at 88% 20%, rgba(255, 255, 255, .18), transparent 32%),
    linear-gradient(135deg, #244b6b, #102a45);
  color: #fff;
  box-shadow: 0 22px 60px rgba(16, 42, 69, .16);
}

.zv-docs-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -110px;
  bottom: -150px;
  width: 360px;
  height: 360px;
  border: 52px solid rgba(255, 255, 255, .10);
  border-radius: 999px;
  pointer-events: none;
}

.zv-docs-hero > * {
  position: relative;
  z-index: 1;
  margin-block-start: 0;
  margin-block-end: 0;
}

.zv-docs-hero .zv-docs-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  width: auto;
  max-width: 100%;
  margin: 0 0 18px;
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  background: rgba(255, 255, 255, .14);
  color: rgba(255, 255, 255, .90) !important;
  font-size: .78rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.zv-docs-hero .zv-docs-hero__title {
  max-width: 860px;
  margin: 0;
  color: #fff !important;
  font-size: clamp(2.4rem, 4.5vw, 4.25rem);
  font-weight: 800;
  line-height: .98;
  letter-spacing: -.07em;
}

.zv-docs-hero .zv-docs-hero__text {
  max-width: 760px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, .86) !important;
  font-size: var(--zv-font-hero-lead);
  line-height: 1.65;
}

/* Keep Docs detail and overview pages visually closer to the site navigation.
 * These values are exactly half of the previous top spacing components. */
body.zvd-doc-page .entry-content {
  padding-top: 32px;
}

body.zvd-doc-single .zvd-doc {
  padding-top: 13px;
}

body.zvd-doc-single .zvd-hero {
  margin-top: 17px;
}

body.zvd-doc-overview-page .zvd-doc-overview {
  padding-top: 17px;
}

body.zvd-doc-overview-page .zvd-overview-hero {
  margin-top: 14px;
}

/* 0.1.15: one shared 860px content axis across normal pages, landing pages
 * and zorVaro Docs. The header intentionally remains wider for navigation. */
body.zvd-doc-page .zvd-doc,
body.zvd-doc-overview-page .zvd-doc,
body.zvd-doc-overview-page .zvd-doc-overview {
  width: 100%;
  max-width: 860px;
  margin-inline: auto;
}

/* --------------------------------------------------------------------------
 * One universal zorVaro content card. Deliberately only one card language so
 * normal pages and Docs stay visually related instead of accumulating variants.
 * -------------------------------------------------------------------------- */
.zv-content-card {
  padding: 34px 36px;
  border: 1px solid var(--zv-line);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 16px 42px rgba(23, 58, 94, .07);
}

.zv-content-card > * {
  margin-block-start: 0;
}

.zv-content-card .zv-content-card__eyebrow {
  display: inline-block;
  width: auto;
  margin: 0 0 15px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--zv-green-soft);
  color: var(--zv-green) !important;
  font-size: .72rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.entry-content .zv-content-card h2,
.entry-content .zv-content-card h3 {
  margin: 0 0 12px;
  color: var(--zv-green-dark);
  font-size: var(--zv-font-card-title);
  line-height: 1.15;
}

.zv-content-card p {
  margin: 0;
  color: #485562;
}

@media (max-width: 680px) {
  .zv-docs-hero {
    width: calc(100% - 28px);
    margin-top: 53px !important;
    padding: 34px 28px 38px;
    border-radius: 22px;
  }

  .zv-landing .entry-content > :not(.alignfull):not(.alignwide):not(.zv-docs-hero),
  .zv-landing .entry-content > .alignwide:not(.zv-docs-hero) {
    width: calc(100% - 28px);
  }

  .zv-content-card {
    padding: 28px 26px;
    border-radius: 22px;
  }

  .zv-docs-hero::after {
    right: -125px;
    bottom: -155px;
    width: 330px;
    height: 330px;
    border-width: 46px;
  }

  .zv-docs-hero .zv-docs-hero__eyebrow {
    font-size: .72rem;
    white-space: normal;
  }

  .zv-docs-hero .zv-docs-hero__title {
    font-size: clamp(2.35rem, 11vw, 3.35rem);
  }

  .zv-docs-hero .zv-docs-hero__text {
    font-size: 1.08rem;
    line-height: 1.55;
  }

  body.zvd-doc-page .entry-content {
    padding-top: 22px;
  }
}

/* --------------------------------------------------------------------------
 * Header 0.1.14: stable two-row desktop navigation.
 * The header has its own slightly wider container so navigation never sits on
 * top of the logo, while the actual page content can stay pleasantly compact.
 * At <= 1120 px the complete menu moves into the normal hamburger.
 * -------------------------------------------------------------------------- */
.site-header__secondary-nav {
  display: none;
}

/* Header width is independent from the narrower page-content width. */
.site-header__inner {
  width: min(calc(100% - 40px), 1120px);
}

@media (min-width: 1121px) {
  .site-header__inner {
    min-height: 94px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas:
      "brand primary actions"
      "brand secondary actions";
    column-gap: 24px;
    row-gap: 3px;
    padding-block: 10px;
  }

  .site-branding {
    grid-area: brand;
    align-self: center;
  }

  .primary-navigation {
    grid-area: primary;
    min-width: 0;
    margin-left: 0;
    align-self: end;
  }

  .primary-navigation ul {
    justify-content: flex-end;
    gap: 15px;
  }

  .primary-navigation a {
    font-size: .86rem;
  }

  .primary-navigation .zv-menu-item--secondary-row {
    display: none;
  }

  .site-header__secondary-nav {
    grid-area: secondary;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    align-self: start;
    gap: 20px;
    min-width: 0;
  }

  .site-header__secondary-nav a {
    color: var(--zv-green);
    font-size: .86rem;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
  }

  .site-header__secondary-nav a:hover {
    color: var(--zv-green-dark);
  }

  .site-header__actions {
    grid-area: actions;
    align-self: center;
    gap: 8px;
  }

  .site-header__cta,
  .site-header__login {
    display: inline-flex;
    min-height: 42px;
    padding: 8px 14px;
    font-size: .78rem;
  }
}

/* Below the safe desktop width use one complete, predictable hamburger. */
@media (max-width: 1120px) {
  .site-header__inner {
    min-height: 72px;
    display: flex;
    align-items: center;
    gap: 14px;
  }

  .site-branding {
    min-width: 0;
    flex: 1 1 auto;
  }

  .menu-toggle {
    display: inline-flex;
    flex: 0 0 46px;
    margin-left: auto;
  }

  .primary-navigation {
    position: absolute;
    top: 100%;
    right: 20px;
    left: 20px;
    display: none;
    margin-left: 0;
    padding: 16px;
    border: 1px solid var(--zv-line);
    border-radius: var(--zv-radius);
    background: #fff;
    box-shadow: var(--zv-shadow);
  }

  .primary-navigation.is-open {
    display: block;
  }

  .primary-navigation ul {
    display: grid;
    gap: 0;
  }

  .primary-navigation .zv-menu-item--secondary-row {
    display: list-item;
  }

  .primary-navigation a {
    display: block;
    padding: 12px;
    font-size: .9rem;
  }

  .primary-navigation__mobile-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 10px;
    padding-top: 14px;
    border-top: 1px solid var(--zv-line);
  }

  .primary-navigation__mobile-actions .zv-button {
    display: flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    padding: 10px 12px;
    color: #fff;
    line-height: 1.2;
    text-align: center;
  }

  .primary-navigation__mobile-actions .zv-button:hover {
    color: #fff;
  }

  .primary-navigation__mobile-actions .zv-button--secondary,
  .primary-navigation__mobile-actions .zv-button--secondary:hover {
    color: var(--zv-green-dark);
  }

  .site-header__actions,
  .site-header__secondary-nav {
    display: none;
  }
}

/* The start-page headline should stay strong, but not grow to billboard size on
 * a wide monitor. Mobile sizing below 620 px remains unchanged. */
@media (min-width: 881px) {
  .home .zv-hero__grid {
    grid-template-columns: minmax(0, .95fr) minmax(360px, 1.05fr);
    gap: 36px;
  }
}

@media (min-width: 621px) {
  .home .zv-hero h1,
  .home .zv-hero--dog h1 {
    font-size: clamp(3rem, 4.4vw, 4.2rem);
    line-height: 1;
  }
}



/* --------------------------------------------------------------------------
 * 0.1.16: bounded typography. WordPress presets and theme headings have a
 * deliberate ceiling; large monitors no longer make text grow indefinitely.
 * -------------------------------------------------------------------------- */
.has-small-font-size {
  font-size: clamp(.82rem, 1.2vw, .9rem) !important;
}

.has-medium-font-size {
  font-size: var(--zv-font-body) !important;
}

.has-large-font-size {
  font-size: clamp(1.35rem, 2.2vw, 1.75rem) !important;
}

.has-x-large-font-size {
  font-size: clamp(2rem, 4vw, 3rem) !important;
}


/* 0.1.17: slightly larger two-row desktop navigation (.86rem). */


/* --------------------------------------------------------------------------
 * 0.1.18: mobile readability floor.
 * The main audience should not have to fight tiny type on a phone:
 * - normal copy: at least 16 px (body already enforces this)
 * - readable secondary copy / controls: at least 14 px
 * - decorative labels / kickers only: at least 12 px
 * -------------------------------------------------------------------------- */
@media (max-width: 620px) {
  /* Decorative / orientation labels may be compact, but never below 12 px. */
  .site-branding__tagline,
  .zv-kicker,
  .entry-header .zv-kicker,
  .zv-docs-hero .zv-docs-hero__eyebrow,
  .zv-content-card .zv-content-card__eyebrow {
    font-size: .75rem !important;
  }

  /* Anything users are expected to actually read stays at 14 px or more. */
  small,
  .zv-proof,
  .zv-hero__note,
  .zv-card p,
  .zv-mini-feature span:last-child,
  .zv-quote cite,
  .zv-trust-item,
  .zv-post-card p,
  .footer-navigation a,
  .site-footer__bottom,
  .has-small-font-size {
    font-size: .875rem !important;
  }
}


/* --------------------------------------------------------------------------
 * 0.1.19: wider desktop cards for the 860 px content axis. Dense 4/5/6-column
 * layouts were too narrow at the new unified width, so desktop grids now use
 * 2-3 columns and tablets use two columns before stacking on mobile.
 * -------------------------------------------------------------------------- */

/* --------------------------------------------------------------------------
 * 2.0.1: retained page spacing, clickable price cards and the four-step grid.
 * These rules replace the matching Customizer CSS while this theme is active.
 * -------------------------------------------------------------------------- */
.site-main .entry-content > .wp-block-group {
  padding-top: 20px;
  padding-bottom: 20px;
}

.zorvaro-preis-jahr,
.zorvaro-preis-monat {
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}

.zorvaro-preis-jahr:hover,
.zorvaro-preis-monat:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .10);
}

.zorvaro-preis-jahr:focus,
.zorvaro-preis-monat:focus {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

.zv-ablauf-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.zv-ablauf-grid > * {
  width: auto !important;
  min-width: 0;
  height: 100%;
}

@media (max-width: 700px) {
  .zv-ablauf-grid {
    grid-template-columns: 1fr !important;
  }

  .zv-ablauf-grid > * {
    height: auto;
  }
}


/* 2.0.4: Startseite – Hero-Vorteile auf Desktop unter beide Spalten ziehen. */
@media (min-width: 881px) {
  .zv-hero__grid {
    position: relative;
    min-height: 680px;
    padding-bottom: 132px;
  }

  .zv-hero__copy {
    position: static;
  }

  .zv-hero__proof {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* 2.0.4: Schrittfolgen immer einspaltig darstellen. */
.zv-steps.zv-grid--4 {
  width: 100%;
  max-width: 860px;
  margin-inline: auto;
  grid-template-columns: 1fr;
  gap: 36px;
}

@media (max-width: 620px) {
  .zv-steps.zv-grid--4 {
    gap: 32px;
  }
}

/* --------------------------------------------------------------------------
 * 2.0.6: dauerhaft aus dem WordPress-Customizer übernommen.
 * - Schritt-/Ablauf-Grid auf kleinen Displays sicher einspaltig.
 * - CTA-Überschrift auf der Haustierseite auf dunklem Hintergrund weiß.
 * -------------------------------------------------------------------------- */
@media (max-width: 700px) {
  .zv-ablauf-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  .zv-ablauf-grid > * {
    width: auto !important;
    height: auto !important;
    min-width: 0 !important;
  }
}

.pet-cta h2 {
  color: #fff;
}


/* --------------------------------------------------------------------------
 * 2.0.7: Desktop-Header – Aktionsbuttons unter die Navigation verschieben.
 * Auf Tablet/Mobil bleibt der bestehende Hamburger unverändert.
 * -------------------------------------------------------------------------- */
@media (min-width: 1121px) {
  .site-header__inner {
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas:
      "brand primary"
      "brand secondary"
      "brand actions";
    row-gap: 4px;
  }

  .site-header__actions {
    grid-area: actions;
    justify-self: end;
    align-self: start;
  }
}

/* --------------------------------------------------------------------------
 * 2.0.8: Desktop-Header – Branding oben an der ersten Navigationszeile
 * ausrichten und Aktionsbuttons mit etwas mehr Abstand zur zweiten Zeile.
 * Mobile/Tablet bleiben unverändert.
 * -------------------------------------------------------------------------- */
@media (min-width: 1121px) {
  .site-branding {
    align-self: start;
  }

  .site-header__actions {
    margin-top: 3px;
  }
}
