/* =========================================================
   Praxis Gschmeidig – Coming Soon  (helles Theme)
   ========================================================= */

@font-face {
  font-family: "Paramount";
  src: url("../fonts/Paramount-Medium.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Paramount";
  src: url("../fonts/Paramount-Bold.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}

:root {
  --bg:        #ffffff;
  --ink:       #16191b;   /* nahezu Schwarz, wie das Logo */
  --muted:     #5d6468;
  --faint:     #8b9296;
  --line:      #e4e7e8;
  --accent:    #5c8a7c;   /* gedämpftes Salbei, lesbar auf Weiß */
  --badge-bg:  #d9e8e2;   /* helles Salbei */
  --badge-ink: #2f4d44;   /* dunkles Salbei */
  --card:      #ffffff;
  --card-edge: #e7eae9;
  --shadow:    0 18px 50px -22px rgba(22, 25, 27, .22);
  --shadow-hi: 0 26px 60px -20px rgba(22, 25, 27, .30);

  --fs-headline: clamp(2.3rem, 6.2vw, 5rem);
  --maxw: 1120px;
  --sans: "Paramount", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--sans);
  font-weight: 500;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  min-height: 100vh; min-height: 100dvh;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* ---------- Layout ---------- */
.stage {
  display: flex; align-items: center; justify-content: center;
  min-height: 100vh; min-height: 100dvh;
  padding: clamp(2.8rem, 6vw, 5.5rem) clamp(1.4rem, 5vw, 3.5rem);
}
.inner { width: 100%; max-width: var(--maxw); text-align: center; }

/* ---------- Logo ---------- */
.masthead { margin-bottom: clamp(2.4rem, 5vw, 3.6rem); }
.logo { width: clamp(230px, 36vw, 420px); height: auto; display: inline-block; }

/* ---------- Intro ---------- */
.eyebrow {
  font-size: .72rem; font-weight: 700; letter-spacing: .42em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 1.4rem; padding-left: .42em;
}
.headline {
  font-weight: 700; font-size: var(--fs-headline);
  line-height: 1.04; letter-spacing: -.015em; margin-bottom: 1.5rem;
}
.headline .dot { color: var(--accent); }
.lead {
  max-width: 40em; margin: 0 auto; color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
}

/* ---------- Team / Kontakte ---------- */
.team {
  margin-top: clamp(3.2rem, 6vw, 4.8rem);
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2.2vw, 1.6rem); align-items: stretch;
}
.card {
  position: relative;
  display: flex; flex-direction: column; justify-content: center;
  gap: .55rem;
  padding: clamp(2rem, 3vw, 2.6rem) clamp(1.1rem, 2vw, 1.6rem) clamp(1.7rem, 2.6vw, 2.1rem);
  background: var(--card);
  border: 1px solid var(--card-edge);
  border-radius: 16px;
  box-shadow: var(--shadow);
  transition: transform .35s ease, box-shadow .35s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hi); }

.card__badge {
  position: absolute;
  top: -.78rem; left: 50%; transform: translateX(-50%);
  white-space: nowrap;
  font-size: .6rem; font-weight: 700; letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--badge-ink); background: var(--badge-bg);
  padding: .5em 1em; border-radius: 100px;
}
.card__name {
  font-weight: 700; font-size: clamp(1.3rem, 2vw, 1.65rem);
  line-height: 1.15; letter-spacing: -.01em;
  /* zwei Zeilen reservieren -> alle Namen beginnen gleich hoch,
     Telefonnummern liegen auf einer Linie */
  min-height: 2.45em;
}
.card__suffix { font-weight: 500; color: var(--muted); font-size: .82em; }
.card__phone {
  margin-top: .3rem; font-size: 1.05rem; font-weight: 500;
  color: var(--ink); text-decoration: none;
  display: inline-block; position: relative;
}
.card__phone::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -3px;
  height: 1px; background: var(--accent); transition: right .3s ease;
}
.card__phone:hover::after { right: 0; }

/* ---------- Footer ---------- */
.foot { margin-top: clamp(3.2rem, 6vw, 4.8rem); }
.foot__rule {
  height: 1px; background: var(--line);
  margin: 0 auto clamp(1.6rem, 3vw, 2.2rem); max-width: 620px;
}
.foot__row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem 2rem; flex-wrap: wrap;
}
.foot__addr { text-align: left; font-size: .9rem; color: var(--faint); line-height: 1.5; }
.foot__addr span { color: var(--muted); }
.foot__mail {
  font-size: .95rem; font-weight: 500; color: var(--ink);
  text-decoration: none; letter-spacing: .01em; position: relative;
}
.foot__mail::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -3px;
  height: 1px; background: var(--accent); transition: right .3s ease;
}
.foot__mail:hover::after { right: 0; }

/* ---------- Reveal-Animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); }
body.is-ready .reveal {
  animation: reveal .9s cubic-bezier(.2, .7, .25, 1) forwards;
  animation-delay: var(--d, 0ms);
}
@keyframes reveal { to { opacity: 1; transform: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 760px) {
  .team {
    grid-template-columns: 1fr;
    max-width: 420px; margin-left: auto; margin-right: auto;
    gap: 1.9rem;
  }
  .foot__row { justify-content: center; text-align: center; }
  .foot__addr { text-align: center; }
}
@media (max-width: 420px) {
  .eyebrow { letter-spacing: .32em; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  body.is-ready .reveal { animation: none; }
  .card, .card__phone::after, .foot__mail::after { transition: none; }
}
