/* ============================================================
   Bucksteeg & Partner — Übergangs-Website
   Markenfarben (Styleguide 07/2026):
   Dark Blue #002c32 · Bavarian Cyan #489cd6
   Light Blue #e2f2f4 · Fresh Lime #c6d64e
   Schriften: Space Grotesk (Bold, Headlines) · DM Sans (Fließtext)
   — lokal eingebunden (SIL Open Font License), kein externer Request
   ============================================================ */

@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/SpaceGrotesk-Medium.woff") format("woff");
}
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/SpaceGrotesk-Bold.woff") format("woff");
}
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/DMSans-Regular.woff") format("woff");
}
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/DMSans-Medium.woff") format("woff");
}


:root {
  --blue:   #002c32;
  --cyan:   #489cd6;
  --light:  #e2f2f4;
  --lime:   #c6d64e;

  --ink:    #002c32;
  --muted:  rgba(0, 44, 50, 0.62);
  --hair:   rgba(0, 44, 50, 0.12);
  --paper:  #f3fafb;

  --max:    600px;
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--light);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--blue); }

/* ---------- Layout-Hüllen ---------- */
.page {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
}

/* ============================================================
   STARTSEITE
   ============================================================ */
.hero {
  flex: 1 0 auto;
  display: flex;
  align-items: center;
  padding: 72px 0 48px;
}

.card {
  width: 100%;
  text-align: center;
  animation: rise 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.logo {
  width: min(300px, 72vw);
  height: auto;
  display: block;
  margin: 0 auto;
}

.eyebrow {
  margin: 40px 0 0;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--cyan);
}

h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.9rem, 6vw, 2.7rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 40px auto 0;
  max-width: 18ch;
}

.lead {
  margin: 36px auto 0;
  color: var(--muted);
  max-width: 46ch;
}

/* ---------- Kontaktblock ---------- */
.contact {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--hair);
}

.firm {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.06rem;
}

.address {
  font-style: normal;
  margin: 4px 0 24px;
  color: var(--muted);
}

.rows { display: grid; gap: 2px; }

.row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 14px 0;
  border-bottom: 1px solid var(--hair);
}
.row:first-of-type { border-top: 1px solid var(--hair); }

.row .label {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.row a {
  text-decoration: none;
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--blue);
  position: relative;
  width: fit-content;
  transition: color 0.18s ease;
}
.row a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--lime);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}
.row a:hover { color: var(--cyan); }
.row a:hover::after,
.row a:focus-visible::after { transform: scaleX(1); }

/* ============================================================
   FUSSZEILE
   ============================================================ */
.site-footer {
  flex-shrink: 0;
  padding: 28px 0 36px;
}
.site-footer .wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 12px;
}
.foot-nav {
  display: flex;
  gap: 22px;
}
.foot-nav a {
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--blue);
  transition: color 0.18s ease;
}
.foot-nav a:hover { color: var(--cyan); }
.copyright {
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
}

/* ============================================================
   RECHTSTEXT-SEITEN (Impressum / Datenschutz)
   ============================================================ */
.legal-head {
  padding: 40px 0 0;
  text-align: center;
}
.legal-head .logo { width: min(190px, 52vw); margin: 0 auto; }

.back {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 26px;
  font-size: 0.86rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--blue);
  transition: gap 0.18s ease, color 0.18s ease;
}
.back:hover { color: var(--cyan); gap: 11px; }
.back svg { width: 14px; height: 14px; }

.legal {
  flex: 1 0 auto;
  padding: 30px 0 64px;
}
.legal .wrap { max-width: 720px; }

.legal h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.8rem, 5vw, 2.4rem);
  letter-spacing: -0.01em;
  margin: 12px 0 8px;
  max-width: none;
}
.legal h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.18rem;
  margin: 38px 0 10px;
  padding-top: 22px;
  border-top: 1px solid var(--hair);
}
.legal h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  margin: 24px 0 8px;
}
.legal p { margin: 0 0 14px; }
.legal ul { margin: 0 0 16px; padding-left: 1.1rem; }
.legal li { margin: 4px 0; }
.legal a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.legal a:hover { color: var(--cyan); }

.legal address {
  font-style: normal;
  margin: 0 0 14px;
}

.note {
  background: rgba(72, 156, 214, 0.08);
  border-left: 3px solid var(--cyan);
  padding: 16px 18px;
  border-radius: 4px;
  margin: 0 0 16px;
}
.note p { margin: 0 0 10px; }
.note p:last-child { margin-bottom: 0; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 480px) {
  body { font-size: 16px; }
  .wrap { padding: 0 22px; }
  .hero { padding: 52px 0 36px; }
}

/* ============================================================
   ZUGÄNGLICHKEIT
   ============================================================ */
:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
