/* PKV Vergleichswerk — Coming Soon */

:root {
  --bg: #f3f5f7;
  --navy: #0c1e36;
  --royal: #18497f;
  --cyan: #157a86;
  --ink: #1c242c;
  --muted: #3a4550;
  --line: rgba(12, 30, 54, 0.14);
  --line-strong: rgba(12, 30, 54, 0.34);
  color-scheme: light;
  --font: "Manrope", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: transparent;
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  font-weight: 450;
  line-height: 1.6;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

p,
h1,
h2,
dl,
dd {
  margin: 0;
}

a {
  color: inherit;
}

:focus:not(:focus-visible) {
  outline: none;
}

:focus-visible {
  outline: 2px solid var(--royal);
  outline-offset: 3px;
}

::selection {
  background: #d5e4ea;
  color: var(--navy);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: 1rem;
  top: 0;
  z-index: 5;
  transform: translateY(-120%);
  background: var(--navy);
  color: #f7f8fa;
  padding: 0.65rem 0.9rem;
  text-decoration: none;
  font-size: 0.95rem;
}

.skip:focus {
  transform: none;
}

.atmosphere {
  position: fixed;
  inset: -12vmax;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(42vmax 36vmax at 88% 12%, rgba(24, 73, 127, 0.08), transparent 70%),
    radial-gradient(34vmax 30vmax at 6% 96%, rgba(21, 122, 134, 0.07), transparent 68%);
  animation: drift 36s var(--ease) infinite alternate;
}

.frame {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.35rem 0 0.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--navy);
  text-decoration: none;
  font-size: 1.125rem;
  font-weight: 650;
  letter-spacing: -0.034em;
  line-height: 1;
}

.brand-rest {
  font-weight: 500;
  letter-spacing: -0.02em;
  transition: color 0.2s ease;
}

.brand:hover .brand-rest,
.brand:focus-visible .brand-rest {
  color: var(--royal);
}

.brand-rule {
  width: 1px;
  height: 0.85em;
  background: var(--line-strong);
}

.soon {
  margin: 0;
  flex: 0 0 auto;
  border: 1px solid var(--line-strong);
  padding: 0.42rem 0.55rem 0.34rem;
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  line-height: 1;
  text-transform: uppercase;
}

.main-home {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  justify-content: safe center;
  padding: 1.75rem 0 2.5rem;
}

.hero {
  display: flex;
  flex-direction: column;
}

.eyebrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.9rem;
  margin-bottom: 1.15rem;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.145em;
  line-height: 1.45;
  text-transform: uppercase;
  animation: rise 0.85s var(--ease) 0.04s both;
}

.dev {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--navy);
}

.dev-mark {
  width: 0.42rem;
  height: 0.42rem;
  background: var(--cyan);
  animation: pulse 3.4s ease-in-out infinite;
}

.eyebrow-label::before {
  content: "";
  display: inline-block;
  width: 1.35rem;
  height: 1px;
  margin-right: 0.8rem;
  background: currentColor;
  opacity: 0.55;
  vertical-align: 0.2em;
}

.hero h1 {
  margin: 0 0 1.25rem;
  max-width: 11em;
  color: var(--navy);
  font-size: clamp(2.7rem, 5.5vw, 5.35rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.02;
  text-wrap: balance;
  animation: rise 0.95s var(--ease) 0.12s both;
}

.line-two {
  display: inline-block;
}

.hero h1 em {
  position: relative;
  font-style: normal;
  color: var(--royal);
  white-space: nowrap;
}

.hero h1 em::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.07em;
  height: 0.045em;
  min-height: 2px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left center;
  animation: underline 0.85s var(--ease) 0.48s forwards;
}

.lead {
  max-width: 36rem;
  color: var(--ink);
  font-size: clamp(1.05rem, 1.35vw, 1.2rem);
  font-weight: 450;
  line-height: 1.65;
  text-wrap: pretty;
  hyphens: auto;
  animation: rise 0.95s var(--ease) 0.26s both;
}

.note {
  max-width: 32rem;
  margin-top: 1.65rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.6;
  hyphens: auto;
  animation: rise 0.95s var(--ease) 0.4s both;
}

.plate {
  position: relative;
  margin: 2.15rem 0 0.35rem;
  padding: 1.35rem 0.85rem 1.35rem 0.7rem;
  overflow: hidden;
  animation: fade 1.05s var(--ease) 0.2s both;
}

.plate::before {
  content: "";
  position: absolute;
  top: 12%;
  right: -4%;
  width: 58%;
  height: 52%;
  background: radial-gradient(circle, rgba(24, 73, 127, 0.07), transparent 70%);
  filter: blur(14px);
  pointer-events: none;
}

.crop {
  position: absolute;
  width: 13px;
  height: 13px;
  z-index: 2;
  border-color: rgba(12, 30, 54, 0.55);
  border-style: solid;
}

.crop-tl { top: 0; left: 0; border-width: 1px 0 0 1px; }
.crop-tr { top: 0; right: 0; border-width: 1px 1px 0 0; }
.crop-bl { bottom: 0; left: 0; border-width: 0 0 1px 1px; }
.crop-br { bottom: 0; right: 0; border-width: 0 1px 1px 0; }

.plate-body {
  position: relative;
  z-index: 1;
  margin-left: 0.35rem;
  padding-left: 0.95rem;
  border-left: 1px solid rgba(12, 30, 54, 0.22);
}

.stave {
  display: flex;
  flex-direction: column;
  gap: 0.78rem;
  padding: 0.15rem 0;
}

.stave span {
  display: block;
  height: 1px;
  width: var(--w);
  background: rgba(12, 30, 54, 0.34);
  transform-origin: left center;
  animation: draw 0.9s var(--ease) both;
}

.stave span:nth-child(1) { background: rgba(12, 30, 54, 0.72); }
.stave span:nth-child(2) { background: rgba(12, 30, 54, 0.32); }
.stave span:nth-child(3) { background: rgba(12, 30, 54, 0.5); }

.stave:first-child span:nth-child(1) { animation-delay: 0.28s; }
.stave:first-child span:nth-child(2) { animation-delay: 0.38s; }
.stave:first-child span:nth-child(3) { animation-delay: 0.48s; }
.stave:last-child span:nth-child(1) { animation-delay: 0.64s; }
.stave:last-child span:nth-child(2) { animation-delay: 0.74s; }
.stave:last-child span:nth-child(3) { animation-delay: 0.84s; }

.w-a { --w: 86%; }
.w-b { --w: 54%; }
.w-c { --w: 71%; }
.w-d { --w: 93%; }
.w-e { --w: 42%; }
.w-f { --w: 66%; }

.axis {
  position: relative;
  height: 0.7rem;
  margin: 1rem 0;
}

.axis-track {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: rgba(12, 30, 54, 0.2);
}

.axis-runner {
  position: absolute;
  left: 0;
  width: calc(100% - 8px);
  top: 0;
  height: 100%;
  animation: travel 12s ease-in-out 0.7s infinite alternate;
}

.axis-end {
  position: absolute;
  left: 0;
  top: 50%;
  width: 8px;
  height: 8px;
  background: var(--cyan);
  transform: translateY(-50%);
}

.axis-end::before {
  content: "";
  position: absolute;
  right: 8px;
  top: 50%;
  width: 4.25rem;
  height: 2px;
  margin-top: -1px;
  background: var(--cyan);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  margin-top: auto;
  padding: 1rem 0 calc(1.25rem + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.copyright {
  font-variant-numeric: tabular-nums;
}

.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.25rem;
}

.legal-nav a {
  color: var(--navy);
  text-underline-offset: 0.2em;
  text-decoration-thickness: 1px;
  transition: color 0.2s ease;
}

.legal-nav a:hover {
  color: var(--royal);
}

@keyframes fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes underline {
  to { transform: scaleX(1); }
}

@keyframes draw {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@keyframes travel {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(100%, 0, 0); }
}

@keyframes drift {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-1.6vmax, 1vmax, 0); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

@media (min-width: 720px) {
  .frame {
    width: min(1120px, calc(100% - 5rem));
  }

  .site-header {
    padding-top: 1.6rem;
  }

  .plate {
    margin-top: 2.6rem;
    padding: 1.8rem 1rem 1.8rem 0.85rem;
  }

  .stave {
    gap: 0.95rem;
  }

  .axis {
    margin: 1.25rem 0;
  }
}

@media (min-width: 1000px) {
  .frame {
    width: min(1120px, calc(100% - 6.5rem));
  }

  .main-home {
    padding: 1rem 0 2.75rem;
  }

  .hero {
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(17.5rem, 0.82fr);
    column-gap: clamp(2.75rem, 5vw, 5.25rem);
    align-items: start;
  }

  .copy-top {
    grid-column: 1;
    grid-row: 1;
  }

  .note {
    grid-column: 1;
    grid-row: 2;
  }

  .plate-slot {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
  }

  .plate {
    position: relative;
    top: auto;
    margin: 0;
    padding: 1.65rem 1rem 1.65rem 0.35rem;
    transform: none;
  }

  .stave {
    gap: 1.28rem;
    padding: 0.45rem 0;
  }

  .axis {
    margin: 1.65rem 0;
  }

  .note {
    margin-top: 1.85rem;
  }
}

@media (min-width: 1280px) {
  .frame {
    width: min(1140px, calc(100% - 8rem));
  }
}

@media (max-width: 380px) {
  .brand {
    font-size: 1.02rem;
    gap: 0.45rem;
  }

  .soon {
    letter-spacing: 0.11em;
    padding-inline: 0.42rem;
  }

  .hero h1 {
    font-size: 2.45rem;
  }
}

@media (max-width: 560px) {
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .hero h1 em::after {
    transform: scaleX(1);
  }

  .axis-runner {
    transform: translate3d(46%, 0, 0);
  }
}

@media print {
  .atmosphere,
  .plate::before,
  .soon,
  .dev-mark {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }

  .hero h1,
  .hero h1 em,
  .brand {
    color: #000;
  }

  a {
    text-decoration: underline;
  }
}
