/* Dr. Stephan Mauracher e.U. — KI-Beratung
   Bildsprache abgestimmt auf das bestehende Projektportal (dunkel, Türkis-Akzent). */

:root {
  --bg:        #080d14;
  --surface:   #111a26;
  --surface-2: #16222f;
  --line:      #223141;
  --text:      #e9eff7;
  --muted:     #8ba0b8;
  --accent:    #818cf8;
  --accent-2:  #38bdf8;
  --ink:       #0f1238;
  --warn:      #f4c05a;
  --radius:    16px;
  --wrap:      1120px;
  --ease:      cubic-bezier(.22,.61,.36,1);
  --font:      -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }

.glow {
  position: fixed;
  inset: -30% 0 auto 0;
  height: 70vh;
  background: radial-gradient(circle at 50% 0%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 62%);
  pointer-events: none;
  z-index: 0;
}

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; position: relative; z-index: 1; }

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

/* ---------- Kopfzeile ---------- */

.head {
  position: sticky; top: 0; z-index: 20;
  background: rgba(8,13,20,.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.head-inner { display: flex; align-items: center; gap: 1.5rem; justify-content: space-between; padding: .85rem 0; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: inherit; }
.brand-mark { width: 34px; height: 34px; flex: none; }
.brand-mark svg { width: 100%; height: 100%; fill: none; stroke: var(--accent); stroke-width: 3; }
.brand-mark .core { fill: var(--accent); stroke: none; }
.brand strong { display: block; font-size: .95rem; letter-spacing: .01em; }
.brand small { display: block; font-size: .72rem; color: var(--muted); }

.nav { display: flex; align-items: center; gap: 1.4rem; }
.nav a { color: var(--muted); text-decoration: none; font-size: .9rem; transition: color .2s var(--ease); }
.nav a:hover { color: var(--text); }
.nav a.btn, .nav a.btn:hover { color: var(--ink); }

.btn {
  display: inline-block;
  background: var(--accent); color: var(--ink);
  padding: .6rem 1.15rem; border-radius: 999px;
  font-weight: 650; font-size: .9rem; text-decoration: none;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 24px color-mix(in srgb, var(--accent) 22%, transparent); }
.btn-ghost {
  background: transparent; color: var(--text);
  border: 1px solid var(--line); box-shadow: none;
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); box-shadow: none; }

/* ---------- Hero ---------- */

.hero { padding: 4rem 0 3rem; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  grid-template-areas: "text photo";
  gap: 3.5rem;
  align-items: center;
}
.hero-text { grid-area: text; min-width: 0; }
.hero .eyebrow { color: var(--accent); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 .9rem; }
.hero h1 {
  font-size: clamp(1.9rem, 4.4vw, 3rem);
  line-height: 1.12;
  margin: 0 0 1.1rem;
  letter-spacing: -.02em;
  overflow-wrap: break-word;
}
.hero .lead { font-size: 1.1rem; color: var(--muted); max-width: 44rem; margin: 0 0 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }

.hero-photo { grid-area: photo; margin: 0; }
.hero-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 20px;
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(0,0,0,.45), 0 0 0 6px color-mix(in srgb, var(--accent) 7%, transparent);
}
.hero-photo figcaption { margin-top: .9rem; text-align: center; }
.hero-photo figcaption strong { display: block; font-size: 1rem; }
.hero-photo figcaption span { display: block; font-size: .82rem; color: var(--muted); }

@media (max-width: 820px) {
  .hero { padding: 2rem 0 2rem; }
  .hero-grid {
    grid-template-columns: 1fr;
    grid-template-areas: "photo" "text";
    gap: 1.6rem;
  }
  .hero-photo { display: flex; align-items: center; gap: 1rem; }
  .hero-photo picture { flex: none; }
  .hero-photo img { width: 104px; border-radius: 16px; box-shadow: none; }
  .hero-photo figcaption { margin: 0; text-align: left; }
}

/* ---------- Hinweisboxen ---------- */

.notice {
  border: 1px solid var(--line);
  border-left: 3px solid var(--warn);
  background: var(--surface);
  border-radius: 10px;
  padding: 1rem 1.2rem;
  font-size: .88rem; color: var(--muted);
  margin: 2.5rem 0 0;
}
.notice strong { color: var(--text); }
.notice.info { border-left-color: var(--accent-2); margin-top: 1.4rem; }

/* ---------- Abschnitte ---------- */

section { padding: 3.5rem 0; }
.section-title { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin: 0 0 .6rem; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 0 0 1.2rem; letter-spacing: -.01em; }
h3 { font-size: 1.05rem; margin: 0 0 .5rem; }
p { margin: 0 0 1rem; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.prose { max-width: 52rem; }

.grid   { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: border-color .2s var(--ease), transform .2s var(--ease);
}
.card:hover { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); transform: translateY(-2px); }
.card h3, .card h4 { font-size: 1.05rem; margin: 0 0 .5rem; }
.card p:last-child { margin-bottom: 0; }
.card .num { color: var(--accent); font-size: .78rem; letter-spacing: .12em; display: block; margin-bottom: .7rem; }

/* ---------- Zielgruppen ---------- */

.audience + .audience { margin-top: 2.8rem; }
.group-label { display: flex; align-items: center; gap: .7rem; font-size: 1.2rem; margin: 0 0 1.1rem; }
.pill {
  font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700;
  padding: .25rem .6rem; border-radius: 999px;
  color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
}
.audience.biz .pill {
  color: var(--accent-2); background: color-mix(in srgb, var(--accent-2) 12%, transparent);
  border-color: color-mix(in srgb, var(--accent-2) 35%, transparent);
}
.audience.biz .card .num { color: var(--accent-2); }
.audience.biz .card:hover { border-color: color-mix(in srgb, var(--accent-2) 45%, var(--line)); }

/* ---------- Engagement onchainaustria ---------- */

.org-card {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 2.2rem;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
}
.logo-badge {
  display: block;
  background: #fff;
  border-radius: 14px;
  padding: 1.1rem;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.logo-badge:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(244,114,182,.18); }
.logo-badge img { display: block; width: 100%; height: auto; }
.org-card h2 { margin-bottom: .8rem; }
@media (max-width: 720px) {
  .org-card { grid-template-columns: 1fr; gap: 1.4rem; padding: 1.5rem; }
  .logo-badge { max-width: 180px; }
}

/* ---------- Schwesterseite ---------- */

.xsite {
  --x: var(--accent-2);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.5rem 2rem;
  align-items: center;
  background: linear-gradient(135deg, color-mix(in srgb, var(--x) 12%, var(--surface)), var(--surface) 60%);
  border: 1px solid color-mix(in srgb, var(--x) 35%, var(--line));
  border-radius: var(--radius);
  padding: 2rem;
}
.xsite .section-title { color: var(--x); }
.xsite h2 { margin-bottom: .6rem; }
.xsite p:last-child { margin-bottom: 0; }
.btn-x { background: var(--x); color: var(--x-ink, #0b1020); }
.btn-x:hover { box-shadow: 0 8px 24px color-mix(in srgb, var(--x) 28%, transparent); }
@media (max-width: 720px) { .xsite { grid-template-columns: 1fr; padding: 1.5rem; } }

/* ---------- Ablauf ---------- */

.price-card { background: var(--surface-2); }
.price-card ul { margin: 0; padding-left: 1.1rem; color: var(--muted); }
.price-card li { margin-bottom: .45rem; }
.price-note { font-size: .92rem; color: var(--muted); margin-top: 1.5rem; }

/* ---------- Kontakt ---------- */

.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { padding: .6rem 0; border-bottom: 1px solid var(--line); display: flex; gap: 1rem; flex-wrap: wrap; }
.contact-list li:last-child { border-bottom: 0; }
.contact-list span { color: var(--muted); min-width: 6.5rem; font-size: .88rem; }

/* ---------- Kleingedrucktes ---------- */

details.legal {
  border: 1px solid var(--line); border-radius: 10px;
  background: var(--surface); padding: 1rem 1.2rem; margin-bottom: 1rem;
}
details.legal summary { cursor: pointer; font-weight: 600; font-size: .92rem; }
details.legal[open] summary { margin-bottom: .9rem; }
details.legal p { font-size: .86rem; color: var(--muted); }

/* ---------- Fußzeile ---------- */

.foot { border-top: 1px solid var(--line); padding: 2.5rem 0 3.5rem; font-size: .84rem; color: var(--muted); }
.foot a { color: var(--muted); }
.foot a:hover { color: var(--accent); }
.foot-links { display: flex; flex-wrap: wrap; gap: 1.2rem; margin-bottom: 1.2rem; }

/* ---------- Termin ---------- */

.calendly-inline-widget { min-width: 320px; height: 720px; border-radius: var(--radius); overflow: hidden; }

@media (max-width: 640px) {
  .nav a:not(.btn) { display: none; }
}
