@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('assets/fonts/InterVariable.woff2') format('woff2-variations'),
       url('assets/fonts/InterVariable.woff2') format('woff2');
}

:root {
  --bg: #0b0d10;
  --bg-soft: #11151a;
  --surface: #ffffff;
  --surface-alt: #f5f7fa;
  --text: #1a1f26;
  --text-soft: #5a6472;
  --text-muted: #8892a0;
  --border: #e5e9ef;
  --accent: #00d47e;
  --accent-soft: #00d47e1a;
  --accent-hover: #00b86b;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .04), 0 1px 3px rgba(15, 23, 42, .06);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, .06), 0 2px 4px rgba(15, 23, 42, .04);
  --shadow-lg: 0 20px 40px -12px rgba(15, 23, 42, .12), 0 8px 16px -8px rgba(15, 23, 42, .08);
  --container: 1100px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  color: var(--text);
  background: var(--surface);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color .2s ease;
}
a:hover { color: var(--accent); }

h1, h2, h3 {
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.2;
  color: var(--text);
}
h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 800; letter-spacing: -.03em; }
h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  text-align: center;
  margin-bottom: 2.5rem;
  position: relative;
}
h2::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  margin: .8rem auto 0;
}
h3 { font-size: 1.15rem; font-weight: 500; }

p {
  font-size: 1.05rem;
  color: var(--text-soft);
  margin-bottom: 1.1em;
}

strong { color: var(--text); font-weight: 600; }

ul { list-style: none; }
ul li {
  font-size: 1rem;
  padding-left: 26px;
  margin-bottom: 12px;
  position: relative;
  color: var(--text-soft);
}
ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .55em;
  width: 16px;
  height: 16px;
  background: url("assets/pics/logo_arrow_rechts.svg") center / contain no-repeat;
}

/* HEADER */
header {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(20px, 4vw, 48px);
  position: sticky;
  top: 0;
  background: rgba(10, 22, 18, .82);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid rgba(0, 212, 126, .18);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  z-index: 100;
}
.logo { display: flex; align-items: center; gap: 14px; }
.logo-marks {
  position: relative;
  width: 44px;
  height: 44px;
}
.logo-marks img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.logo-text {
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -.01em;
  color: #fff;
}
header nav { display: flex; gap: 10px; }
header nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .9rem;
  font-weight: 500;
  padding: 9px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .15);
  color: #fff;
  transition: all .2s ease;
}
header nav a:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  transform: translateY(-1px);
}
header nav svg { width: 16px; height: 16px; fill: currentColor; }

/* LAYOUT */
main { overflow: hidden; }
section {
  padding: clamp(60px, 8vw, 110px) clamp(20px, 5vw, 40px);
}
section > *:not(.support-figure):not(.methods-list):not(.collab-list):not(.references-grid):not(.two-cols):not(.hero-img):not(.tags):not(.intro-grid) {
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
}

.bgGrey {
  background: linear-gradient(180deg, #0b0d10 0%, #151a22 100%);
  color: #e6ebf2;
  position: relative;
}
.bgGrey::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px circle at 20% 20%, rgba(0, 212, 126, .14), transparent 40%),
    radial-gradient(500px circle at 80% 80%, rgba(0, 212, 126, .10), transparent 40%),
    radial-gradient(700px circle at 50% 110%, rgba(0, 212, 126, .09), transparent 45%);
  pointer-events: none;
}
.bgGrey > * { position: relative; }
.bgGrey h2, .bgGrey h1, .bgGrey h3 { color: #fff; }
.bgGrey p { color: #a8b3c1; }
.bgGrey ul li { color: #b4bdc9; }

.bgWhite { background: var(--surface); }

/* HERO */
.intro {
  text-align: center;
  padding-top: clamp(80px, 10vw, 140px);
  padding-bottom: clamp(80px, 10vw, 140px);
}
.intro-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: clamp(30px, 5vw, 70px);
  text-align: left;
}
.intro-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
@media (max-width: 780px) {
  .intro-grid {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }
  .intro-text { align-items: center; }
  .intro .hero-img { margin: 0 auto; }
}
.intro .hero-img {
  max-width: 347px;
  width: 100%;
  margin: 0;
  filter: drop-shadow(0 20px 40px rgba(0, 212, 126, .15));
  border-radius: 24px;
  overflow: hidden;
}
.intro .hero-img img { border-radius: 24px; }
.intro-qr {
  display: block;
  width: 140px;
  margin: 18px 0 0;
  padding: 8px;
  background: #fff;
  border-radius: 10px;
  line-height: 0;
}
.intro-qr img { width: 100%; height: auto; display: block; }
@media (max-width: 780px) {
  .intro-qr { display: none; }
}
.intro-slogan {
  color: var(--accent);
  margin-top: 18px;
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  font-weight: 500;
  line-height: 1.4;
}
.intro .hero-img.heartbeat {
  position: relative;
}
.intro .hero-img.heartbeat picture,
.intro .hero-img.heartbeat img {
  display: block;
  width: 100%;
  height: auto;
}
.intro .hero-img.heartbeat .pulse-top {
  position: absolute;
  inset: 0;
  opacity: 0;
  animation: crossfade 8s ease-in-out infinite;
}
.intro .hero-img.heartbeat .pulse-top img { border-radius: 24px; }
@keyframes crossfade {
  0%, 100% { opacity: 0; }
  50%      { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .intro .hero-img.heartbeat .pulse-top { animation: none; }
}
.intro .tags {
  display: flex;
  gap: 14px;
  margin: 0 0 4px;
  flex-wrap: wrap;
}
@media (max-width: 780px) {
  .intro .tags { justify-content: center; }
}
.intro .tags span {
  background: rgba(0, 212, 126, .12);
  border: 1px solid rgba(0, 212, 126, .4);
  color: var(--accent);
  padding: 10px 26px;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 999px;
  backdrop-filter: blur(8px);
}

/* ABOUT */
.about p {
  max-width: 780px;
  margin: 0 auto 1.2em;
  font-size: 1.08rem;
  line-height: 1.75;
}
.about .signature {
  text-align: left;
  margin-top: 2em;
  font-size: 1.1rem;
  color: var(--text);
}

/* SUPPORT FIGURE */
.support-figure {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 36px;
  align-items: center;
}
.support-figure > .support-row > * {
  opacity: 0;
  transform: translateY(12px);
}
.support-figure.in-view > .support-row > * {
  animation: supportReveal .6s ease-out forwards;
}
.support-figure.in-view > .support-row:nth-child(1) > *:nth-child(1) { animation-delay: .0s; }
.support-figure.in-view > .support-row:nth-child(1) > *:nth-child(2) { animation-delay: .5s; }
.support-figure.in-view > .support-row:nth-child(1) > *:nth-child(3) { animation-delay: 1s; }
.support-figure.in-view > .support-row:nth-child(2) > *:nth-child(1) { animation-delay: 1.5s; }
.support-figure.in-view > .support-row:nth-child(2) > *:nth-child(2) { animation-delay: 2s; }
.support-figure.in-view > .support-row:nth-child(2) > *:nth-child(3) { animation-delay: 2.5s; }
@keyframes supportReveal {
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .support-figure > .support-row > * { opacity: 1; transform: none; }
}
.support-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}
.support-figure .label {
  background: rgba(255, 255, 255, .06);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 212, 126, .5);
  color: #fff;
  padding: clamp(8px, 1.6vw, 12px) clamp(14px, 3vw, 28px);
  font-size: clamp(.78rem, 1.8vw, 1rem);
  font-weight: 500;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .2);
  min-width: clamp(90px, 22vw, 160px);
  text-align: center;
}
.support-mark {
  width: 64px;
  height: 64px;
  object-fit: contain;
  flex-shrink: 0;
}
.support-mark.mark-stack {
  position: relative;
}
.support-mark.mark-stack img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* METHODS / COLLAB */
.methods-list, .collab-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  max-width: 900px;
  margin: 0 auto;
}
.methods-list div, .collab-list div {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 16px 28px;
  font-size: 1rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  transition: all .25s ease;
  color: var(--text);
}
.methods-list div:hover, .collab-list div:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
  color: var(--accent);
}
.bgGrey .methods-list div, .bgGrey .collab-list div {
  background: rgba(255, 255, 255, .04);
  border-color: rgba(255, 255, 255, .1);
  color: #fff;
}
.bgGrey .methods-list div:hover, .bgGrey .collab-list div:hover {
  background: rgba(0, 212, 126, .1);
  border-color: var(--accent);
  color: var(--accent);
}
.collab-list div { min-width: 180px; text-align: center; }

/* REFERENCES */
.references-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}
.references-grid div {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100px;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius);
  padding: 22px;
  transition: all .3s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .2);
}
.references-grid div:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 212, 126, .2);
}
.references-grid img {
  max-height: 55px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
}

/* TWO COLS (legacy) */
.two-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  max-width: 900px;
  margin: 0 auto;
}
.projects-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 5vw, 70px);
  max-width: 1000px;
  margin: 0 auto;
}
.project-col h3 {
  color: var(--accent);
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(0, 212, 126, .35);
  letter-spacing: .02em;
}
.project-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.project-col li {
  position: relative;
  padding: 8px 0 8px 28px;
  line-height: 1.55;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.project-col li:last-child { border-bottom: none; }
@media (max-width: 820px) {
  .projects-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* BULLET COLS – 3-spaltig, responsive */
.bullet-cols {
  max-width: 1000px;
  margin: 0 auto;
  columns: 3;
  column-gap: 50px;
  list-style: none;
  padding: 0;
}
.bullet-cols li {
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
  position: relative;
  padding: 6px 0 6px 26px;
  line-height: 1.55;
}
@media (max-width: 820px) {
  .bullet-cols { columns: 2; column-gap: 30px; max-width: 560px; }
}
@media (max-width: 520px) {
  .bullet-cols {
    columns: 1;
    max-width: max-content;
    text-align: left;
  }
}

/* FOOTER */
footer {
  padding: 60px 40px 40px;
  text-align: center;
  background: #0b0d10;
  color: #a8b3c1;
  border-top: 1px solid rgba(255, 255, 255, .06);
}
footer h2 { color: #fff; margin-bottom: 20px; }
footer h2::after { background: var(--accent); }
footer address {
  font-style: normal;
  line-height: 2;
  font-size: .95rem;
}
footer a {
  color: #e6ebf2;
  border-bottom: 1px solid rgba(0, 212, 126, .4);
  padding-bottom: 1px;
}
footer a:hover { color: var(--accent); border-bottom-color: var(--accent); }

/* RESPONSIVE */
@media (max-width: 820px) {
  .two-cols { grid-template-columns: 1fr; gap: 20px; }
  .support-row { gap: 12px; }
  .support-mark { width: 40px; height: 40px; }
  header nav a span, header nav a { font-size: .85rem; padding: 8px 12px; }
  h2::after { margin-top: .6rem; }
}

@media (max-width: 520px) {
  header nav a { padding: 8px 10px; gap: 4px; }
  .intro .tags { gap: 10px; }
}

/* SCROLL REVEAL (simple) */
@media (prefers-reduced-motion: no-preference) {
  section { animation: fadeUp .8s ease-out both; }
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
  }
}
