/* PRÜV – Übergangsseite. Markenblau gemessen aus dem Logo: #1E62FF */
:root {
  --brand: #1E62FF;
  --brand-strong: #1753E0;
  --brand-soft: #8DB0FF;
  --bg: #0A0F1C;
  --bg-raise: #111829;
  --line: rgba(167, 177, 198, 0.16);
  --text: #F2F5FB;
  --muted: #A7B1C6;
  --faint: #939EB5;
  --ui-line: #66728C;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a { color: inherit; }

:focus-visible {
  outline: 3px solid var(--brand-soft);
  outline-offset: 4px;
  border-radius: 6px;
}

/* Layout --------------------------------------------------------------- */

.page {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  max-width: 72rem;
  margin: 0 auto;
  padding:
    max(1.5rem, env(safe-area-inset-top))
    max(1.5rem, env(safe-area-inset-right))
    max(1.25rem, env(safe-area-inset-bottom))
    max(1.5rem, env(safe-area-inset-left));
  overflow: hidden;
}

.top { position: relative; z-index: 2; }

.brand { display: inline-block; }
.brand img { width: 120px; height: auto; }

.main {
  position: relative;
  display: grid;
  align-items: center;
  padding: 3rem 0 2.5rem;
}

.copy { position: relative; z-index: 2; max-width: 34rem; }

/* Text ----------------------------------------------------------------- */

h1 {
  margin: 0 0 1.25rem;
  font-size: clamp(2.125rem, 8.5vw, 3.75rem);
  line-height: 1.08;
  font-weight: 750;
  letter-spacing: -.025em;
  text-wrap: balance;
}

.trade {
  margin: 0 0 1rem;
  color: var(--text);
  font-size: clamp(1.0625rem, 2.6vw, 1.25rem);
  font-weight: 600;
  letter-spacing: -.005em;
}

.lead {
  margin: 0 0 2.25rem;
  max-width: 30rem;
  color: var(--muted);
  font-size: clamp(1.0625rem, 2.6vw, 1.1875rem);
  text-wrap: pretty;
}

/* Anruf-Button ----------------------------------------------------------- */

.cta {
  display: grid;
  grid-template-columns: 1fr 4fr;
  gap: .5rem;
  width: 100%;
}

.call {
  display: flex;
  align-items: center;
  gap: .625rem;
  min-width: 0;
  min-height: 4.75rem;
  padding: .75rem .75rem .75rem .75rem;
  border-radius: 1rem;
  background: var(--brand);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .18) inset;
  transition: transform .25s var(--ease), background-color .25s var(--ease), box-shadow .25s var(--ease);
  -webkit-tap-highlight-color: transparent;
}

.call:hover {
  background: var(--brand-strong);
  transform: translateY(-2px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .18) inset;
}
.call:active { transform: translateY(0) scale(.985); transition-duration: .08s; }
.call:focus-visible { outline-offset: 4px; border-radius: 1rem; }

.call-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: .625rem;
  background: rgba(255, 255, 255, .14);
}

.call-text { display: flex; flex-direction: column; line-height: 1.2; }
.call-label {
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  opacity: 1;
}
.call-number {
  font-size: 1.1875rem;
  font-weight: 700;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* WhatsApp-Button: dunkle Fläche, feine Kontur, Glyph in WhatsApp-Grün */

.wa {
  display: grid;
  place-items: center;
  min-width: 3rem;
  min-height: 4.75rem;
  border: 1px solid var(--ui-line);
  border-radius: 1rem;
  background: var(--bg-raise);
  transition: transform .25s var(--ease), background-color .25s var(--ease), border-color .25s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.wa img { width: 1.75rem; height: 1.75rem; }
.wa:hover { background: #18213A; border-color: var(--muted); transform: translateY(-2px); }
.wa:active { transform: translateY(0) scale(.985); transition-duration: .08s; }
.wa:focus-visible { outline-offset: 4px; border-radius: 1rem; }

/* Bildzeichen ---------------------------------------------------------- */

.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: clip;
  pointer-events: none;
}
.mark {
  position: absolute;
  right: -7rem;
  top: 50%;
  transform: translateY(-50%);
  width: 26rem;
  opacity: .16;
  filter: drop-shadow(0 0 2.5rem rgba(30, 98, 255, .35));
  pointer-events: none;
}
.mark img {
  width: 100%;
  animation: draw 1.4s var(--ease) .35s both;
}
.mark picture { display: block; animation: float 9s ease-in-out 1.8s infinite; }

/* Fußzeile ------------------------------------------------------------- */

.foot {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .5rem 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: .9375rem;
}
.foot p { margin: 0; }
.foot nav { display: flex; gap: .5rem; margin-left: -.75rem; }
.foot a {
  display: inline-flex;
  align-items: center;
  min-height: 3rem;
  padding: 0 .75rem;
  color: var(--muted);
  text-decoration: none;
  border-radius: 6px;
  transition: color .2s var(--ease);
}
.foot a:hover { color: var(--text); text-decoration: underline; text-underline-offset: .25em; }
.foot a:focus-visible { outline-offset: 0; }

/* Unterseiten (Impressum, Datenschutz) --------------------------------- */

.legal { padding: 3rem 0 2.5rem; max-width: 42rem; }
.legal h1 { font-size: clamp(2rem, 7vw, 3rem); }
.legal h2 { margin: 2rem 0 .5rem; font-size: 1.1875rem; }
.legal p, .legal li, .legal address { color: var(--muted); font-style: normal; }
.legal h3 { margin: 1.5rem 0 .25rem; font-size: 1.0625rem; }
.legal ul { padding-left: 1.25rem; }
.legal a { color: var(--brand-soft); text-underline-offset: .2em; }
.todo { color: #FFD27A; font-weight: 700; }
.back {
  display: inline-flex;
  align-items: center;
  min-height: 3rem;
  margin-top: 1.5rem;
  color: var(--brand-soft);
  font-weight: 600;
  text-underline-offset: .25em;
}

/* Größere Bildschirme --------------------------------------------------- */

@media (min-width: 600px) {
  .page { padding-left: 2.5rem; padding-right: 2.5rem; }
  .brand img { width: 136px; }
  .cta { width: 21.6875rem; }
  .call { padding-right: 1.25rem; }
  .call-number { font-size: 1.3125rem; }
  .wa img { width: 2rem; height: 2rem; }
  .mark { width: 34rem; right: -8rem; }
  .foot nav { margin-right: -.75rem; }
}

@media (min-width: 960px) {
  .page { padding: 2.5rem 3rem 2rem; }
  .main {
    padding: 4rem 0;
  }
  .mark { width: 44rem; right: -10rem; }
}

/* Bewegung ------------------------------------------------------------- */

.d0 { --d: 0; } .d1 { --d: 1; } .d2 { --d: 2; } .d3 { --d: 3; } .d4 { --d: 4; }
.reveal { animation: rise .8s var(--ease) both; animation-delay: calc(var(--d, 0) * 90ms + 80ms); }

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}
@keyframes draw {
  from { clip-path: inset(0 100% 0 0); transform: translateY(10px); }
  to   { clip-path: inset(0 0 0 0); transform: none; }
}
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-10px) rotate(-1deg); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .call:hover, .wa:hover { transform: none; }
}
