/* FAIRTURA Web Solutions GmbH
   Schlicht, eine Seite, keine externen Ressourcen. */

@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("../fonts/montserrat-variable-latin.woff2") format("woff2-variations"),
       url("../fonts/montserrat-variable-latin.woff2") format("woff2");
}

:root {
  --ink: #fff;
  --text: rgba(255, 255, 255, .82);
  --muted: rgba(255, 255, 255, .55);
  --line: rgba(255, 255, 255, .14);
  --bg: #0b0b10;
  --font: "Montserrat", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --pad: clamp(24px, 5vw, 64px);
}

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

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
  font-weight: 400;
  color: var(--text);
  min-height: 100vh;
  position: relative;
  isolation: isolate;
  overflow-x: hidden;
  background-color: var(--bg);
  /* Grundverlauf: läuft nach unten ins Dunkle */
  background-image: linear-gradient(180deg, #23304a 0%, #141824 45%, var(--bg) 80%);
  background-repeat: no-repeat;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ---------- Farbige Lichter (bewegen sich langsam) ----------
   Weich auslaufende Verläufe (Kosinus-Kurve), damit am Rand keine
   sichtbare Kante entsteht, die bei der Bewegung als Strich mitwandert. */
body::before, body::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: -20vh; left: -20vw; right: -20vw;
  height: 110vh;
  pointer-events: none;
  will-change: transform;
}
body::before { /* Grün links, Violett rechts */
  background:
    radial-gradient(ellipse 43% 50% at 23% 14%, rgba(158, 207, 169, 0.55) 0%, rgba(158, 207, 169, 0.533) 8.7%, rgba(158, 207, 169, 0.486) 17.3%, rgba(158, 207, 169, 0.413) 26%, rgba(158, 207, 169, 0.323) 34.7%, rgba(158, 207, 169, 0.227) 43.3%, rgba(158, 207, 169, 0.138) 52%, rgba(158, 207, 169, 0.064) 60.7%, rgba(158, 207, 169, 0.017) 69.3%, rgba(158, 207, 169, 0) 78%),
    radial-gradient(ellipse 43% 50% at 77% 14%, rgba(155, 150, 202, 0.6) 0%, rgba(155, 150, 202, 0.582) 8.7%, rgba(155, 150, 202, 0.53) 17.3%, rgba(155, 150, 202, 0.45) 26%, rgba(155, 150, 202, 0.352) 34.7%, rgba(155, 150, 202, 0.248) 43.3%, rgba(155, 150, 202, 0.15) 52%, rgba(155, 150, 202, 0.07) 60.7%, rgba(155, 150, 202, 0.018) 69.3%, rgba(155, 150, 202, 0) 78%);
  animation: glow-a 18s ease-in-out infinite alternate;
}
body::after { /* Apricot in der Mitte */
  background: radial-gradient(ellipse 39% 45% at 50% 9%, rgba(247, 189, 148, 0.45) 0%, rgba(247, 189, 148, 0.436) 8.7%, rgba(247, 189, 148, 0.397) 17.3%, rgba(247, 189, 148, 0.338) 26%, rgba(247, 189, 148, 0.264) 34.7%, rgba(247, 189, 148, 0.186) 43.3%, rgba(247, 189, 148, 0.113) 52%, rgba(247, 189, 148, 0.053) 60.7%, rgba(247, 189, 148, 0.014) 69.3%, rgba(247, 189, 148, 0) 78%);
  animation: glow-b 23s ease-in-out infinite alternate;
}
@keyframes glow-a {
  0%   { transform: translate3d(-4%, 0, 0) scale(1); }
  50%  { transform: translate3d(2%, 4%, 0) scale(1.06); }
  100% { transform: translate3d(5%, -2%, 0) scale(.96); }
}
@keyframes glow-b {
  0%   { transform: translate3d(6%, 2%, 0) scale(1); }
  50%  { transform: translate3d(-6%, -2%, 0) scale(1.1); }
  100% { transform: translate3d(-2%, 5%, 0) scale(.94); }
}

img, svg { display: block; max-width: 100%; }
p, h1, h2, dl, dd { margin: 0; }

a { color: inherit; text-decoration: none; transition: color .2s; }
a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
:focus-visible { outline: 1.5px solid var(--ink); outline-offset: 4px; border-radius: 2px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Seitenrahmen: genau ein Bildschirm ---------- */
.page {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding: 0 var(--pad);
  max-width: 1280px;
  margin: 0 auto;
}

.intro {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 72px 0 56px;
}

.intro h1 { width: clamp(260px, 30vw, 380px); container-type: inline-size; }
.intro h1 svg { width: 100%; height: auto; overflow: visible; }

.claim {
  margin-top: clamp(22px, 3vw, 32px);
  font-size: clamp(15px, 1.2vw, 17px);
  color: var(--muted);
  letter-spacing: .005em;
}

/* ---------- Infozeile ---------- */
.info {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}
.info dt { font-size: 12px; color: var(--muted); margin-bottom: 8px; letter-spacing: .01em; }
.info dd { font-size: 14px; line-height: 1.7; }
.fg-logo { display: inline-block; margin: 2px 0 6px; }
.fg-logo img { height: 24px; width: auto; filter: brightness(0) invert(1); }
.fg-logo:hover { opacity: .7; }
.slogan { color: var(--ink); font-weight: 500; }

.foot {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0 28px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
}

/* ---------- Logo-Animation (kurz und leise) ---------- */
.ft-logo .ft-o {
  fill: none;
  stroke-width: 19;
  stroke-miterlimit: 6;
  stroke-dasharray: 1 1;
  stroke-dashoffset: 1;
  animation: ft-draw .9s cubic-bezier(.65, 0, .35, 1) forwards;
  animation-delay: calc(var(--i) * 60ms + 150ms);
}
.ft-logo .ft-f { display: none; } /* Logo nur als farbige Kontur, ohne Füllung */
@keyframes ft-draw { to { stroke-dashoffset: 0; } }
.ft-sub {
  display: block;
  margin-top: 4.5cqw;
  margin-right: -.3em; /* Letter-Spacing nach dem letzten Buchstaben ausgleichen */
  text-align: right;
  font-size: 3.4cqw;   /* skaliert mit der Logobreite */
  font-weight: 300;
  line-height: 1;
  letter-spacing: .3em;
  white-space: nowrap;
  color: #fff;
  opacity: 0;
  animation: fade .8s ease forwards 1.2s;
}
.claim { opacity: 0; animation: fade .8s ease forwards 1.7s; }
@keyframes fade { to { opacity: 1; } }

/* ---------- Impressum ---------- */
.legal-top { padding: 32px 0; }
.legal-top img { height: 22px; width: auto; }
.legal {
  flex: 1;
  width: 100%;
  max-width: 560px;
  padding: clamp(32px, 7vh, 80px) 0 64px;
}
.legal h1 { font-size: 20px; font-weight: 500; color: var(--ink); letter-spacing: -.01em; }
.legal .sub { font-size: 13px; color: var(--muted); margin-top: 4px; }
.legal dl { margin-top: 36px; display: grid; gap: 22px; }
.legal dt { font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.legal dd { font-size: 14px; line-height: 1.7; }
.legal dd a { text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .35); text-underline-offset: 3px; }

/* ---------- Mobil ---------- */
@media (max-width: 720px) {
  .intro { padding: 56px 0 40px; }
  .info { grid-template-columns: 1fr; gap: 20px; padding: 24px 0; }
}

@media (prefers-reduced-motion: reduce) {
  .ft-logo .ft-o, .claim, .ft-sub, body::before, body::after { animation: none; }
  .ft-sub { opacity: 1; }
  .ft-logo .ft-o { stroke-dashoffset: 0; }
  .claim { opacity: 1; }
}
