/* ═══ MN BETEILIGUNG — PREMIUM DARK THEME ═══ */

:root {
  --bg:        #111111;
  --bg2:       #1A1A1A;
  --bg3:       #202020;
  --gold:      #D4AF37;
  --gold-dim:  rgba(212,175,55,0.12);
  --gold-glow: rgba(212,175,55,0.25);
  --white:     #F8FAFC;
  --muted:     #9CA3AF;
  --border:    rgba(255,255,255,0.08);
  --serif:     "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --sans:      "Segoe UI", -apple-system, BlinkMacSystemFont, Helvetica, Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ═══ SPRACHUMSCHALTUNG ═══ */
body.lang-de .en { display: none !important; }
body.lang-en .de { display: none !important; }
body.lang-de .lang-switch .ls-de,
body.lang-en .lang-switch .ls-en { color: var(--gold); font-weight: 700; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 32px; }

a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ═══ NAVIGATION ═══ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .4s ease, box-shadow .4s ease;
  background: transparent;
}
.nav.scrolled {
  background: rgba(17,17,17,0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border);
}
.nav-inner {
  max-width: 1180px; margin: 0 auto; padding: 0 32px;
  height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.nav-logo {
  font-family: var(--serif); font-size: 22px; letter-spacing: 2px;
  color: var(--white); font-weight: 700;
}
.nav-logo span { color: var(--gold); font-weight: 400; }
.nav-logo:hover { text-decoration: none; }
.nav-links { display: flex; gap: 28px; }
.nav-links a {
  color: var(--muted); font-size: 14px; letter-spacing: 1px; text-transform: uppercase;
  transition: color .25s;
}
.nav-links a:hover { color: var(--gold); text-decoration: none; }
.nav-right { display: flex; align-items: center; gap: 16px; }
.lang-switch {
  background: none; border: 1px solid var(--border); border-radius: 4px;
  color: var(--muted); padding: 6px 12px; cursor: pointer;
  font-family: var(--sans); font-size: 13px; letter-spacing: 1px;
  transition: border-color .25s;
}
.lang-switch:hover { border-color: var(--gold); }
.ls-sep { margin: 0 6px; opacity: .4; }
.nav-burger { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-burger span { display: block; width: 24px; height: 2px; background: var(--white); margin: 5px 0; transition: .3s; }

/* ═══ HERO ═══ */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  background: radial-gradient(ellipse at 70% 20%, #1d1d1d 0%, var(--bg) 60%);
  padding: 120px 0 80px;
}
.hero-net { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .5; }
.hero-inner {
  position: relative; z-index: 2;
  max-width: 1180px; margin: 0 auto; padding: 0 32px;
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 64px; align-items: center;
}
.hero-kicker {
  color: var(--gold); letter-spacing: 4px; text-transform: uppercase;
  font-size: 14px; margin-bottom: 20px;
}
.hero-title {
  font-family: var(--serif); font-size: clamp(44px, 6vw, 76px);
  line-height: 1.08; font-weight: 700; margin-bottom: 28px;
}
.hero-title em { font-style: italic; color: var(--gold); }
.hero-sub { font-size: 21px; color: var(--white); max-width: 560px; margin-bottom: 16px; }
.hero-sub2 { font-size: 16px; color: var(--muted); max-width: 560px; margin-bottom: 24px; }
.hero-tags { color: var(--gold); font-size: 14px; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 36px; }
.type-wrap { color: var(--gold); white-space: nowrap; }
.caret {
  display: inline-block; width: 2px; height: 1em; background: var(--gold);
  margin-left: 3px; vertical-align: -0.15em;
  animation: caretBlink 1s steps(1) infinite;
}
@keyframes caretBlink { 50% { opacity: 0; } }

.hero-title em {
  background: linear-gradient(110deg, #D4AF37 0%, #F5E08C 25%, #D4AF37 50%, #F5E08C 75%, #D4AF37 100%);
  background-size: 250% auto;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: goldSheen 6s linear infinite;
}
@keyframes goldSheen { to { background-position: -250% center; } }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }

.btn {
  display: inline-block; padding: 15px 32px; border-radius: 4px;
  font-size: 15px; letter-spacing: 1px; text-transform: uppercase;
  transition: all .3s ease; cursor: pointer; border: none; font-family: var(--sans);
}
.btn:hover { text-decoration: none; }
.btn-gold {
  background: var(--gold); color: #111;  font-weight: 700;
}
.btn-gold:hover { box-shadow: 0 0 32px var(--gold-glow); transform: translateY(-2px); }
.btn-ghost {
  border: 1px solid var(--gold); color: var(--gold); background: transparent;
}
.btn-ghost:hover { background: var(--gold-dim); transform: translateY(-2px); }

.hero-portrait { display: flex; justify-content: center; }
.portrait-frame {
  position: relative; width: 100%; max-width: 380px; aspect-ratio: 3/4;
  border: 1px solid var(--gold); border-radius: 2px;
  padding: 14px; background: var(--bg2);
  box-shadow: 0 24px 80px rgba(0,0,0,.5);
}
.portrait-frame img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  filter: grayscale(35%) contrast(1.05);
}
.pf-square { aspect-ratio: 4/5; }

.hero-scroll {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  width: 24px; height: 40px; border: 1px solid var(--muted); border-radius: 14px;
}
.hero-scroll span {
  position: absolute; top: 8px; left: 50%; width: 3px; height: 8px;
  background: var(--gold); border-radius: 2px; transform: translateX(-50%);
  animation: scrollDot 2s infinite;
}
@keyframes scrollDot { 0%{opacity:1;top:8px} 70%{opacity:0;top:22px} 100%{opacity:0} }

/* ═══ STATS ═══ */
.stats { background: var(--bg2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
  padding-top: 64px; padding-bottom: 64px; text-align: center;
}
.stat-num {
  font-family: var(--serif); font-size: 56px; color: var(--gold); font-weight: 700; line-height: 1.1;
}
.stat-txt { font-size: 28px; padding: 14px 0; letter-spacing: 1px; }
.stat-label { color: var(--muted); font-size: 15px; letter-spacing: 1px; text-transform: uppercase; margin-top: 8px; }

/* ═══ SECTIONS COMMON ═══ */
section { position: relative; }
.section-kicker {
  color: var(--gold); letter-spacing: 4px; text-transform: uppercase; font-size: 13px; margin-bottom: 16px;
}
.section-title {
  font-family: var(--serif); font-size: clamp(30px, 4vw, 44px); font-weight: 700;
  line-height: 1.2; margin-bottom: 28px;
}

/* ═══ PHILOSOPHY ═══ */
.philosophy { padding: 130px 0; text-align: center; }
.philo-statement {
  font-family: var(--serif); font-size: clamp(28px, 4vw, 46px);
  line-height: 1.35; font-weight: 400; max-width: 900px; margin: 0 auto 32px;
}
.philo-statement em { color: var(--gold); font-style: italic; }
.philo-sub { color: var(--muted); max-width: 700px; margin: 0 auto; }

/* ═══ WHY ═══ */
.why { padding: 0 0 120px; }
.why .section-kicker { text-align: center; margin-bottom: 48px; }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.why-col {
  padding: 40px 32px; background: var(--bg2); border: 1px solid var(--border); border-radius: 4px;
  transition: border-color .3s, transform .3s;
}
.why-col:hover { border-color: var(--gold); transform: translateY(-4px); }
.why-col h3 { font-family: var(--serif); font-size: 24px; color: var(--gold); margin-bottom: 14px; }
.why-col p { color: var(--muted); font-size: 15.5px; }

/* ═══ TECHNOLOGY / AI ═══ */
.tech {
  padding: 110px 0; text-align: center;
  border-top: 1px solid var(--border);
  background: radial-gradient(ellipse at 50% 0%, #191919 0%, var(--bg) 65%);
}
.tech-sub { color: var(--muted); max-width: 700px; margin: 0 auto; }
.tech-canvas-wrap { max-width: 920px; margin: 48px auto 0; }
#aiCanvas { width: 100%; height: 340px; display: block; }
.tech-chips { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 40px; }
.tech-chip {
  border: 1px solid rgba(212,175,55,0.45); color: var(--gold); border-radius: 999px;
  padding: 8px 20px; font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase;
  animation: chipGlow 4s ease-in-out infinite;
}
.tech-chip:nth-child(2) { animation-delay: .6s; }
.tech-chip:nth-child(3) { animation-delay: 1.2s; }
.tech-chip:nth-child(4) { animation-delay: 1.8s; }
.tech-chip:nth-child(5) { animation-delay: 2.4s; }
.tech-chip:nth-child(6) { animation-delay: 3s; }
@keyframes chipGlow {
  0%, 100% { box-shadow: none; border-color: rgba(212,175,55,0.45); }
  50% { box-shadow: 0 0 18px var(--gold-glow); border-color: var(--gold); }
}

/* ═══ FOCUS CARDS ═══ */
.focus { padding: 110px 0 130px; background: var(--bg2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.focus-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 48px; }
.card {
  background: var(--bg); border: 1px solid var(--border); border-radius: 4px;
  padding: 36px 28px;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.card:hover {
  transform: translateY(-6px) scale(1.015);
  border-color: var(--gold);
  box-shadow: 0 18px 60px rgba(0,0,0,.55), 0 0 40px var(--gold-glow);
}
.card-icon { color: var(--gold); font-size: 20px; margin-bottom: 18px; }
.card h3 { font-family: var(--serif); font-size: 21px; margin-bottom: 12px; }
.card p { color: var(--muted); font-size: 15px; margin-bottom: 18px; min-height: 72px; }
.card ul { list-style: none; }
.card li { color: var(--muted); font-size: 14px; padding: 5px 0; border-top: 1px solid var(--border); }
.card li::before { content: "— "; color: var(--gold); }

/* ═══ PORTFOLIO ═══ */
.portfolio { padding: 120px 0; border-top: 1px solid var(--border); }
.pf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 40px; }
.pf-card {
  background: var(--bg2); border: 1px solid var(--border); border-radius: 4px;
  padding: 40px 36px; display: flex; flex-direction: column;
  transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
}
.pf-card:hover {
  transform: translateY(-6px); border-color: var(--gold);
  box-shadow: 0 18px 60px rgba(0,0,0,.55), 0 0 40px var(--gold-glow);
}
.pf-logo { height: 44px; margin-bottom: 22px; display: flex; align-items: center; }
.pf-logo img { max-height: 100%; max-width: 220px; object-fit: contain; }
.pf-tags { color: var(--gold); font-size: 12.5px; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 14px; }
.pf-card h3 { font-family: var(--serif); font-size: 23px; line-height: 1.3; margin-bottom: 14px; }
.pf-card p { color: var(--muted); font-size: 15.5px; flex: 1; }
.pf-card p em { color: var(--white); font-style: italic; }
.pf-meta {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  flex-wrap: wrap; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--border);
}
.pf-badge {
  border: 1px solid rgba(212,175,55,0.45); color: var(--gold);
  border-radius: 999px; padding: 6px 16px; font-size: 12.5px; letter-spacing: 1px; text-transform: uppercase;
  background: var(--gold-dim);
}
.pf-link { font-size: 14.5px; letter-spacing: .5px; white-space: nowrap; }
@media (max-width: 1000px) { .pf-grid { grid-template-columns: 1fr; } }

/* ═══ ABOUT ═══ */
.about { padding: 130px 0; }
.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: center; }
.about-text p { color: var(--muted); margin-bottom: 20px; }
.quote {
  font-family: var(--serif); font-size: 24px; font-style: italic; color: var(--gold);
  border-left: 2px solid var(--gold); padding-left: 24px; margin-top: 32px; line-height: 1.5;
}

/* ═══ TIMELINE (Werdegang) ═══ */
.tl-heading {
  font-family: var(--serif); font-size: 26px; color: var(--gold);
  margin: 72px 0 32px;
}
.timeline { list-style: none; position: relative; padding-left: 34px; }
.timeline::before {
  content: ""; position: absolute; left: 8px; top: 6px; bottom: 6px;
  width: 1px; background: linear-gradient(180deg, var(--gold) 0%, rgba(212,175,55,0.15) 100%);
}
.timeline li { position: relative; padding: 0 0 34px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: ""; position: absolute; left: -30px; top: 7px;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--gold);
  box-shadow: 0 0 12px var(--gold-glow);
}
.tl-year {
  display: inline-block; font-family: var(--serif); font-size: 19px; font-weight: 700;
  color: var(--gold); margin-bottom: 6px; letter-spacing: 1px;
}
.timeline p { color: var(--muted); font-size: 15.5px; max-width: 820px; }
.timeline p strong { color: var(--white); font-weight: 600; }
.tl-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 40px; }

/* ═══ SALZBURG ═══ */
.salzburg {
  background: linear-gradient(180deg, var(--bg2) 0%, var(--bg) 100%);
  border-top: 1px solid var(--border);
  padding: 100px 0 0; text-align: center; overflow: hidden;
}
.salzburg-text { max-width: 760px; padding-bottom: 60px; }
.salzburg h2 { font-family: var(--serif); font-size: clamp(28px, 4vw, 42px); margin-bottom: 20px; }
.salzburg p { color: var(--muted); }
.skyline { max-width: 1100px; margin: 0 auto 40px; }
.skyline svg { width: 100%; height: auto; display: block; }

/* ═══ FOUNDERS ═══ */
.founders { padding: 120px 0; border-top: 1px solid var(--border); }
.founders-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 72px; align-items: start; }
.founders p { color: var(--muted); margin-bottom: 32px; }
.criteria {
  background: var(--bg2); border: 1px solid var(--border); border-radius: 4px; padding: 40px;
}
.criteria h3 { font-family: var(--serif); font-size: 22px; color: var(--gold); margin-bottom: 20px; }
.checks { list-style: none; margin-bottom: 24px; }
.checks li { padding: 9px 0; border-bottom: 1px solid var(--border); color: var(--white); font-size: 16px; }
.checks li::before { content: "✓  "; color: var(--gold); font-weight: 700; }
.criteria-tags { color: var(--muted); font-size: 13.5px; letter-spacing: 1px; text-transform: uppercase; line-height: 2; }

/* ═══ NEWS ═══ */
.news { padding: 120px 0; border-top: 1px solid var(--border); }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 32px; }
.news-card {
  background: var(--bg2); border: 1px solid var(--border); border-radius: 4px;
  padding: 32px 28px;
  transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
}
.news-card:hover {
  transform: translateY(-5px); border-color: var(--gold);
  box-shadow: 0 14px 48px rgba(0,0,0,.5), 0 0 32px var(--gold-glow);
}
.news-date { color: var(--gold); font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; }
.news-card h3 { font-family: var(--serif); font-size: 20px; margin: 12px 0 12px; line-height: 1.35; }
.news-card p { color: var(--muted); font-size: 15px; }
@media (max-width: 1000px) { .news-grid { grid-template-columns: 1fr; } }

/* ═══ CONTACT ═══ */
.contact { padding: 120px 0; background: var(--bg2); border-top: 1px solid var(--border); }
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; }
.contact address { font-style: normal; color: var(--muted); line-height: 2; margin-bottom: 24px; }
.contact address strong { color: var(--white); font-size: 18px; }
.contact-mail { line-height: 2; }
.contact-form label {
  display: block; color: var(--muted); font-size: 13px; letter-spacing: 1px;
  text-transform: uppercase; margin-bottom: 18px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.contact-form input, .contact-form textarea {
  display: block; width: 100%; margin-top: 6px;
  background: var(--bg); border: 1px solid var(--border); border-radius: 4px;
  color: var(--white); padding: 13px 14px; font-family: var(--sans); font-size: 16px;
  transition: border-color .25s;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--gold); }
.contact-form .btn { margin-top: 8px; }
.form-note { color: var(--muted); font-size: 13px; margin-top: 16px; }
.hp { position: absolute; left: -9999px; height: 0; opacity: 0; }
.form-status { display: none; border-radius: 4px; padding: 14px 18px; margin-bottom: 22px; font-size: 15px; }
.form-status.ok { display: block; border: 1px solid var(--gold); color: var(--gold); background: var(--gold-dim); }
.form-status.err { display: block; border: 1px solid #F85149; color: #F85149; background: rgba(248,81,73,0.08); }

/* ═══ FOOTER ═══ */
.footer { border-top: 1px solid var(--border); padding: 64px 0 0; }
.footer-inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 48px; }
.footer-logo { font-family: var(--serif); font-size: 22px; letter-spacing: 2px; font-weight: 700; }
.footer-logo span { color: var(--gold); font-weight: 400; }
.footer-tagline { color: var(--muted); font-size: 14px; letter-spacing: 1px; text-transform: uppercase; margin-top: 10px; }
.footer-quote { color: var(--gold); font-family: var(--serif); font-style: italic; margin-top: 18px; }
.footer-links { display: flex; gap: 28px; align-items: flex-start; }
.footer-links a { color: var(--muted); font-size: 14px; }
.footer-links a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid var(--border); text-align: center;
  color: var(--muted); font-size: 13px; padding: 22px 0;
}

/* ═══ LEGAL PAGES ═══ */
.legal { padding: 150px 0 100px; max-width: 800px; }
.legal h1 { font-family: var(--serif); font-size: 38px; margin-bottom: 36px; }
.legal h2 { font-family: var(--serif); font-size: 24px; color: var(--gold); margin: 36px 0 14px; }
.legal p, .legal li { color: var(--muted); margin-bottom: 12px; }
.legal ul { padding-left: 22px; }

/* ═══ REVEAL ANIMATIONEN ═══ */
.reveal {
  opacity: 0; transform: translateY(28px); filter: blur(6px);
  transition: opacity .9s ease, transform .9s ease, filter .9s ease;
}
.reveal.visible { opacity: 1; transform: none; filter: none; }
.d1 { transition-delay: .12s; }
.d2 { transition-delay: .24s; }
.d3 { transition-delay: .36s; }
.d4 { transition-delay: .48s; }
.d5 { transition-delay: .6s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; filter: none; transition: none; }
  .hero-scroll, .hero-net { display: none; }
  .caret, .tech-chip, .hero-title em { animation: none; }
}

/* ═══ RESPONSIVE ═══ */
@media (max-width: 1000px) {
  .focus-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-portrait { order: -1; }
  .portrait-frame { max-width: 260px; }
  .about-grid, .founders-grid, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .why-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .nav-links {
    position: fixed; top: 72px; left: 0; right: 0;
    background: rgba(17,17,17,0.97); backdrop-filter: blur(12px);
    flex-direction: column; padding: 24px 32px; gap: 20px;
    transform: translateY(-130%); transition: transform .35s ease;
    border-bottom: 1px solid var(--border);
  }
  .nav-links.open { transform: none; }
  .nav-burger { display: block; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .hero { padding-top: 100px; }
  .hero-title { font-size: 42px; }
  .focus-grid { grid-template-columns: 1fr; }
}
