/* Dr. Stephan Mauracher e.U. — Kryptoberatung
   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:    #2dd4bf;
  --ink:       #04211d;
  --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;
}

.glow {
  position: fixed;
  inset: -30% 0 auto 0;
  height: 70vh;
  background: radial-gradient(circle at 50% 0%, rgba(45,212,191,.14), 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); }

.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 rgba(45,212,191,.22); }
.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: 4.5rem 0 3rem; }
.hero .eyebrow { color: var(--accent); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 .9rem; }
.hero h1 { font-size: clamp(2.1rem, 5.2vw, 3.3rem); line-height: 1.1; margin: 0 0 1.1rem; letter-spacing: -.02em; }
.hero .lead { font-size: 1.12rem; color: var(--muted); max-width: 46rem; margin: 0 0 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }

/* ---------- Hinweisbox ---------- */

.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); }

/* ---------- 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); }

.grid { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(260px, 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 p:last-child { margin-bottom: 0; }
.card .num { color: var(--accent); font-size: .78rem; letter-spacing: .12em; display: block; margin-bottom: .7rem; }

/* ---------- Über mich ---------- */

.about { display: grid; grid-template-columns: 220px 1fr; gap: 2.5rem; align-items: start; }
.about img { width: 100%; border-radius: var(--radius); border: 1px solid var(--line); display: block; }
@media (max-width: 720px) { .about { grid-template-columns: 1fr; } .about img { max-width: 220px; } }

/* ---------- Preise ---------- */

.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: .88rem; 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; }
  .hero { padding: 3rem 0 2rem; }
}
