/* Previta Health · Platzhalter-Website */
:root {
  --cream: #F4F1EC;
  --ink: #3F4D10;
  --ink-deep: #2A340C;
  --text: #1C1C16;
  --muted: #5A5A50;
  --line: #D5D0C6;
  --zecke: #3F4D10;
  --blase: #1B4587;
  --muede: #1C5B3B;
  --stoff: #0B5C65;
  --font: "Segoe UI", "Helvetica Neue", ui-sans-serif, system-ui, -apple-system, Arial, sans-serif;
  --spine: 3.5rem;
}

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

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

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

body {
  font-family: var(--font);
  background: var(--cream);
  color: var(--text);
  min-height: 100vh;
  min-height: 100dvh;
  line-height: 1.5;
  display: flex;
  flex-direction: column;
}

::selection {
  background: #EEF0D6;
  color: var(--ink);
}

a {
  color: var(--ink);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--ink-deep);
  text-decoration-thickness: 2px;
}

a:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 30;
  background: var(--ink);
  color: var(--cream);
  padding: 0.6rem 0.9rem;
  text-decoration: none;
}

.skip:focus {
  left: 1rem;
  top: 1rem;
}

/* Mobile top edge, desktop right spine (like the box packaging) */
.topbar {
  height: 0.4rem;
  background: var(--ink);
  flex-shrink: 0;
}

.spine {
  display: none;
}

@media (min-width: 52rem) {
  .topbar { display: none; }

  .spine {
    display: flex;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: var(--spine);
    background: var(--ink);
    align-items: center;
    justify-content: center;
    z-index: 10;
  }

  .spine span {
    color: var(--cream);
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-weight: 600;
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    white-space: nowrap;
  }

  body { padding-right: var(--spine); }
}

.wrap {
  width: 100%;
  max-width: 72rem;
  margin: 0 auto;
  padding-left: clamp(1.4rem, 6vw, 6.5rem);
  padding-right: clamp(1.4rem, 4vw, 3.5rem);
}

/* Header */
.site-header {
  padding-top: clamp(1.5rem, 3.5vh, 2.5rem);
  padding-bottom: 0.5rem;
}

.logo {
  display: inline-block;
  line-height: 0;
  text-decoration: none;
}

.logo img {
  display: block;
  height: 3.25rem;
  width: auto;
}

/* Home hero */
.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: clamp(2.5rem, 10vh, 7rem);
  padding-bottom: clamp(2.5rem, 8vh, 5rem);
}

.hero h1 {
  font-size: clamp(2.4rem, 7.2vw, 4.8rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.04;
  color: var(--ink);
  margin: 0 0 1.4rem;
}

.sub {
  font-size: clamp(1.08rem, 2.1vw, 1.32rem);
  line-height: 1.5;
  max-width: 28em;
  color: var(--text);
  font-weight: 400;
}

.status {
  margin-top: 1.75rem;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
}

.contact {
  margin-top: 1.5rem;
}

.contact a {
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--ink);
}

.family {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.6rem;
  margin-top: clamp(2.8rem, 8vh, 4.5rem);
  font-size: 0.95rem;
  color: var(--muted);
}

.family li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.family i {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

.dot-zecke { background: var(--zecke); }
.dot-blase { background: var(--blase); }
.dot-muede { background: var(--muede); }
.dot-stoff { background: var(--stoff); }

/* Footer */
.site-footer {
  padding-bottom: 1.6rem;
  padding-top: 0.5rem;
}

.site-footer .wrap + .colorbar,
.site-footer > .colorbar {
  margin-left: 0;
  margin-right: 0;
}

.site-footer > .colorbar + .wrap {
  padding-top: 1.25rem;
}

.hint {
  font-size: 0.86rem;
  color: var(--muted);
  margin-bottom: 1.15rem;
}

.colorbar {
  display: flex;
  height: 0.4rem;
  width: 100%;
  margin-bottom: 1.25rem;
}

.colorbar span { flex: 1; display: block; }
.colorbar .c1 { background: var(--zecke); }
.colorbar .c2 { background: var(--blase); }
.colorbar .c3 { background: var(--muede); }
.colorbar .c4 { background: var(--stoff); }

.foot-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.6rem 1.5rem;
  align-items: baseline;
  font-size: 0.9rem;
  color: var(--muted);
}

.foot-row nav {
  display: flex;
  gap: 1.25rem;
}

.foot-row a {
  color: var(--muted);
}

.foot-row a:hover { color: var(--ink); }

/* Legal pages */
.legal {
  flex: 1;
  padding-top: clamp(2rem, 6vh, 3.5rem);
  padding-bottom: 3rem;
}

.legal h1 {
  font-size: clamp(2rem, 4.5vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--ink);
  line-height: 1.1;
  margin-bottom: 0.35rem;
}

.legal .lede {
  color: var(--muted);
  margin-bottom: 1.8rem;
  font-size: 0.98rem;
}

.legal h2 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  margin: 1.55rem 0 0.45rem;
  letter-spacing: -0.01em;
}

.legal p,
.legal address {
  font-style: normal;
  max-width: 38rem;
  margin: 0 0 0.7rem;
  line-height: 1.55;
}

.legal ul {
  max-width: 38rem;
  margin: 0 0 0.7rem 1.15rem;
  line-height: 1.55;
}

.legal li { margin: 0.2rem 0; }


@media print {
  .spine,
  .topbar,
  .colorbar,
  .skip { display: none !important; }
  body { padding-right: 0; background: #fff; color: #000; }
  a { color: inherit; }
}
