/* ═══════════════════════════════════════════════════════════
   GellClan Software Products – theme.css
   Orange #FF6B00 / Black #0D0D0D / Monospace accent
   ═══════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;600;700;900&family=Barlow:wght@300;400;500;600&family=JetBrains+Mono:wght@400;600&display=swap');

/* ── Variables ── */
:root {
  --orange:      #FF6B00;
  --orange-dim:  #cc5500;
  --black:       #0D0D0D;
  --dark:        #141414;
  --dark2:       #1a1a1a;
  --dark3:       #242424;
  --white:       #F5F3F0;
  --gray:        #888;
  --gray-light:  #333;
  --transition:  0.3s ease;
  --font-cond:   'Barlow Condensed', sans-serif;
  --font-body:   'Barlow', sans-serif;
  --font-mono:   'JetBrains Mono', monospace;
  --nav-h:       72px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── NAV ── */
#main-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  height: var(--nav-h);
  background: rgba(13,13,13,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,107,0,0.15);
  transition: var(--transition);
}
.nav-logo-link { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-logo { height: 36px; width: auto; object-fit: contain; }
.nav-wordmark {
  font-family: var(--font-cond);
  font-weight: 900;
  font-size: 20px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1;
}
.nav-wordmark span { color: var(--orange); }

#main-nav ul {
  display: flex;
  align-items: center;
  gap: 8px;
}
#main-nav ul li a {
  font-family: var(--font-cond);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #aaa;
  padding: 6px 14px;
  border-radius: 3px;
  transition: var(--transition);
}
#main-nav ul li a:hover,
#main-nav ul li a.nav-active { color: var(--orange); }

.nav-lang {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 16px;
  padding-left: 16px;
  border-left: 1px solid var(--gray-light);
}
.nav-lang button {
  background: none;
  border: none;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  cursor: pointer;
  color: #555;
  padding: 4px 6px;
  border-radius: 3px;
  transition: var(--transition);
}
.nav-lang button.active { color: var(--orange); }
.nav-lang button:hover { color: var(--white); }

/* Mobile toggle */
.nav-mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
}

/* Mobile menu */
#mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: var(--dark);
  border-bottom: 1px solid var(--gray-light);
  z-index: 999;
  padding: 24px 0;
}
#mobile-menu.open { display: block; }
#mobile-menu ul { display: flex; flex-direction: column; }
#mobile-menu ul li a {
  display: block;
  padding: 14px 32px;
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: var(--transition);
}
#mobile-menu ul li a:hover { color: var(--orange); padding-left: 40px; }
.mobile-lang { display: flex; gap: 12px; padding: 16px 32px; }
.mobile-lang button {
  background: none; border: none;
  font-family: var(--font-mono); font-size: 12px; font-weight: 600;
  color: #555; cursor: pointer; padding: 4px 8px;
  border-radius: 3px; transition: var(--transition);
}
.mobile-lang button.active { color: var(--orange); }

/* ── SECTIONS wrapper ── */
#main-page { padding-top: var(--nav-h); }

/* ── HERO ── */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 100px 5vw 60px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}
.hero-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-label::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--orange);
}
.hero-name {
  font-family: var(--font-cond);
  font-weight: 900;
  font-size: clamp(52px, 7vw, 96px);
  text-transform: uppercase;
  line-height: 0.9;
  margin-bottom: 8px;
}
.hero-name span { color: var(--orange); }
.hero-company {
  font-family: var(--font-cond);
  font-weight: 400;
  font-size: clamp(14px, 1.8vw, 20px);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #555;
  margin-bottom: 28px;
}
.hero-tagline {
  font-size: 16px;
  font-weight: 300;
  color: #aaa;
  max-width: 480px;
  line-height: 1.8;
  margin-bottom: 32px;
}
.hero-tagline p {
  margin-bottom: 14px;
}
.hero-tagline p:last-child { margin-bottom: 0; }
.hero-tagline strong { color: var(--white); font-weight: 500; }
.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Hero avatar – rund, kompakt */
.hero-photo-wrap {
  position: relative;
  flex-shrink: 0;
}
.hero-avatar-ring {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  border: 2px solid var(--orange);
  padding: 4px;
  background: var(--dark2);
  overflow: hidden;
  display: block;
}
.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 50%;
  display: block;
}
.hero-photo-placeholder {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--dark3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #555;
}
.hero-photo-placeholder svg { width: 48px; height: 48px; stroke: #444; }
.hero-photo-placeholder span { font-family: var(--font-mono); font-size: 10px; }
.hero-photo-frame { display: none; } /* nicht mehr benötigt */

/* orange dot decoration */
.hero-avatar-ring::after {
  content: none;
}
.hero-avatar-dot {
  position: absolute;
  bottom: 12px;
  right: 8px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--orange);
  border: 2px solid var(--black);
}

/* Social links */
.hero-socials {
  display: flex;
  gap: 8px;
  margin-top: 24px;
  flex-wrap: wrap;
}
.social-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #555;
  border: 1px solid #222;
  padding: 6px 12px;
  transition: var(--transition);
}
.social-link:hover { color: var(--orange); border-color: var(--orange); }
.social-link svg { width: 12px; height: 12px; }

/* Hero bg decoration */
.hero-bg-code {
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 40%;
  overflow: hidden;
  opacity: 0.03;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.6;
  color: var(--orange);
  white-space: pre;
  pointer-events: none;
  user-select: none;
}

/* ── SECTIONS base ── */
.section {
  padding: 100px 5vw;
}
.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.section-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-label::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--orange);
}
.section-title {
  font-family: var(--font-cond);
  font-weight: 900;
  font-size: clamp(36px, 5vw, 64px);
  text-transform: uppercase;
  line-height: 1.0;
  margin-bottom: 20px;
}
.section-title span { color: var(--orange); }
.section-intro {
  font-size: 17px;
  font-weight: 300;
  color: #999;
  max-width: 600px;
  line-height: 1.8;
  margin-bottom: 60px;
}
.section-divider {
  width: 48px;
  height: 3px;
  background: var(--orange);
  margin: 20px 0 48px;
}

/* ── ÜBER MICH ── */
#ueber { background: var(--dark); }
.ueber-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.ueber-text p {
  font-size: 16px;
  font-weight: 300;
  color: #bbb;
  line-height: 1.9;
  margin-bottom: 20px;
}
.ueber-text p strong { color: var(--white); font-weight: 600; }
.skills-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 32px;
}
.skill-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: #888;
  padding: 10px 14px;
  border: 1px solid #222;
  transition: var(--transition);
}
.skill-tag::before {
  content: '▸';
  color: var(--orange);
  font-size: 10px;
}
.skill-tag:hover { border-color: var(--orange); color: var(--white); }

.ueber-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  margin-bottom: 32px;
}
.stat-box {
  background: var(--dark2);
  padding: 28px 24px;
  border-left: 3px solid var(--orange);
}
.stat-num {
  font-family: var(--font-cond);
  font-weight: 900;
  font-size: 48px;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 4px;
}
.stat-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #555;
}
.platform-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.platform-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  border: 1px solid var(--orange);
  padding: 5px 10px;
}

/* ── LEISTUNGEN ── */
#leistungen { background: var(--black); }
.leistungen-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2px;
}
.leistung-card {
  background: var(--dark2);
  padding: 36px 32px;
  border-top: 3px solid transparent;
  transition: var(--transition);
  cursor: default;
}
.leistung-card:hover {
  border-top-color: var(--orange);
  background: var(--dark3);
}
.leistung-icon {
  font-size: 28px;
  margin-bottom: 20px;
  display: block;
}
.leistung-title {
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
  color: var(--white);
}
.leistung-text {
  font-size: 14px;
  font-weight: 300;
  color: #888;
  line-height: 1.7;
}
.leistung-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.leistung-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  color: #555;
  border: 1px solid #2a2a2a;
  padding: 3px 8px;
}

/* ── PORTFOLIO ── */
#portfolio { background: var(--dark); }

/* Tab Navigation */
.portfolio-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 48px;
  border-bottom: 1px solid #222;
  padding-bottom: 0;
  flex-wrap: wrap;
}
.tab-btn {
  background: none;
  border: none;
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #555;
  padding: 12px 20px;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: var(--transition);
}
.tab-btn:hover { color: var(--white); }
.tab-btn.active { color: var(--orange); border-bottom-color: var(--orange); }

.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* App cards (.net MAUI) */
.maui-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}
.app-card {
  background: var(--dark2);
  border: 1px solid #1e1e1e;
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
}
.app-card:hover { border-color: #333; transform: translateY(-2px); }
.app-card-header {
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  border-bottom: 1px solid #1e1e1e;
}
.app-icon {
  width: 52px;
  height: 52px;
  background: var(--dark3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
  border-radius: 12px;
  overflow: hidden;
}
.app-icon img { width: 100%; height: 100%; object-fit: cover; }
.app-meta { flex: 1; }
.app-name {
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}
.app-version {
  font-family: var(--font-mono);
  font-size: 10px;
  color: #555;
  font-weight: 600;
}
.app-platforms {
  display: flex;
  gap: 4px;
  margin-top: 8px;
}
.platform-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
  opacity: 0.6;
  title: '';
}
.app-card-body { padding: 20px 24px; }
.app-desc {
  font-size: 14px;
  font-weight: 300;
  color: #888;
  line-height: 1.7;
  margin-bottom: 16px;
}
.app-features {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}
.app-feature {
  font-family: var(--font-mono);
  font-size: 11px;
  color: #666;
  display: flex;
  align-items: center;
  gap: 8px;
}
.app-feature::before { content: '✓'; color: var(--orange); }
.app-card-footer {
  padding: 16px 24px;
  border-top: 1px solid #1e1e1e;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.app-price {
  font-family: var(--font-cond);
  font-weight: 900;
  font-size: 20px;
  color: var(--white);
}
.app-price small {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 400;
  color: #555;
  display: block;
  line-height: 1;
  margin-top: 2px;
}
.app-price.free { color: var(--orange); }
.app-actions { display: flex; gap: 8px; }
.btn-store {
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 16px;
  border: 1px solid #333;
  background: none;
  color: #888;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.btn-store:hover { border-color: var(--orange); color: var(--orange); }
.btn-store.primary {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}
.btn-store.primary:hover { background: var(--orange-dim); border-color: var(--orange-dim); }

/* Web Apps grid */
.webapps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.webapp-card {
  background: var(--dark2);
  overflow: hidden;
  border: 1px solid #1e1e1e;
  transition: var(--transition);
}
.webapp-card:hover { border-color: #333; }
.webapp-screenshot {
  aspect-ratio: 16/10;
  background: var(--dark3);
  overflow: hidden;
  position: relative;
}
.webapp-screenshot img { width: 100%; height: 100%; object-fit: cover; }
.webapp-screenshot-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
  font-size: 40px;
}
.webapp-info { padding: 20px; }
.webapp-name {
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}
.webapp-desc {
  font-size: 13px;
  font-weight: 300;
  color: #888;
  line-height: 1.6;
  margin-bottom: 16px;
}
.webapp-link {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--orange);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
  text-decoration: none;
}
.webapp-link:hover { color: var(--white); }
.webapp-link::after { content: '→'; }

/* App Detail Modal */
.app-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  z-index: 2000;
  display: none;
  align-items: flex-start;
  justify-content: center;
  overflow-y: auto;
  padding: 40px 20px;
}
.app-modal-overlay.active { display: flex; }
.app-modal {
  background: var(--dark2);
  width: 100%;
  max-width: 860px;
  border: 1px solid #2a2a2a;
  position: relative;
}
.app-modal-close {
  position: absolute;
  top: 20px; right: 20px;
  background: none; border: none;
  color: #555; font-size: 20px; cursor: pointer;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
  z-index: 1;
}
.app-modal-close:hover { color: var(--white); }
.app-modal-hero {
  background: var(--dark3);
  padding: 40px;
  border-bottom: 1px solid #222;
  display: flex;
  gap: 24px;
  align-items: flex-start;
}
.app-modal-icon {
  width: 72px; height: 72px;
  background: var(--dark2);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 36px; flex-shrink: 0;
  overflow: hidden;
}
.app-modal-icon img { width: 100%; height: 100%; object-fit: cover; }
.app-modal-meta h2 {
  font-family: var(--font-cond);
  font-weight: 900; font-size: 32px;
  text-transform: uppercase; margin-bottom: 8px;
}
.app-modal-meta .app-modal-sub {
  font-family: var(--font-mono); font-size: 12px; color: #555; margin-bottom: 12px;
}
.app-modal-body { padding: 40px; }
.app-modal-tabs {
  display: flex; gap: 0; margin-bottom: 32px;
  border-bottom: 1px solid #222;
}
.app-modal-tab {
  background: none; border: none;
  font-family: var(--font-cond); font-weight: 700; font-size: 13px;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: #555; padding: 10px 20px; cursor: pointer;
  border-bottom: 2px solid transparent; margin-bottom: -1px;
  transition: var(--transition);
}
.app-modal-tab.active { color: var(--orange); border-bottom-color: var(--orange); }
.app-modal-panel { display: none; }
.app-modal-panel.active { display: block; }
.app-modal-panel p { font-size: 15px; font-weight: 300; color: #aaa; line-height: 1.8; margin-bottom: 16px; }
.app-modal-panel ul { display: flex; flex-direction: column; gap: 8px; }
.app-modal-panel ul li {
  font-family: var(--font-mono); font-size: 12px; color: #888;
  display: flex; align-items: flex-start; gap: 10px;
}
.app-modal-panel ul li::before { content: '▸'; color: var(--orange); margin-top: 1px; flex-shrink: 0; }
.screenshot-gallery {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px;
}
.screenshot-gallery img {
  width: 100%; aspect-ratio: 9/16; object-fit: cover; cursor: zoom-in;
}
.screenshot-gallery-wide img { aspect-ratio: 16/10; }
.price-box {
  background: var(--dark3); padding: 32px;
  border-left: 3px solid var(--orange); margin-bottom: 24px;
}
.price-main { font-family: var(--font-cond); font-weight: 900; font-size: 48px; color: var(--orange); }
.price-desc { font-size: 14px; color: #888; margin-top: 8px; line-height: 1.6; }
.video-wrap {
  position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; margin-bottom: 16px;
}
.video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: none; }

/* ── KONTAKT ── */
#kontakt { background: var(--dark); }
.kontakt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.kontakt-info { display: flex; flex-direction: column; gap: 24px; }
.kontakt-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: var(--dark2);
  border-left: 3px solid var(--orange);
}
.kontakt-item-icon { font-size: 20px; flex-shrink: 0; margin-top: 2px; }
.kontakt-item-label {
  font-family: var(--font-mono); font-size: 10px; font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase; color: #555; margin-bottom: 4px;
}
.kontakt-item-value { font-size: 15px; color: var(--white); }
.kontakt-item-value a { color: var(--orange); transition: var(--transition); }
.kontakt-item-value a:hover { color: var(--white); }

/* Kontakt form */
.kontakt-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-label {
  font-family: var(--font-mono); font-size: 10px; font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase; color: #555;
}
.form-input, .form-textarea, .form-select {
  background: var(--dark2);
  border: 1px solid #222;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 300;
  padding: 12px 16px;
  transition: var(--transition);
  outline: none;
  width: 100%;
}
.form-input:focus, .form-textarea:focus, .form-select:focus { border-color: var(--orange); }
.form-textarea { min-height: 140px; resize: vertical; }
.form-select { cursor: pointer; }
option { background: var(--dark2); }
.form-dsgvo {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 12px; color: #666; line-height: 1.5;
}
.form-dsgvo input { margin-top: 2px; accent-color: var(--orange); flex-shrink: 0; }
.form-message {
  display: none; padding: 12px 16px; font-size: 14px;
}
.btn-submit {
  background: var(--orange); border: none; color: #fff;
  font-family: var(--font-cond); font-weight: 700; font-size: 15px;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 16px 32px; cursor: pointer; transition: var(--transition);
  align-self: flex-start;
}
.btn-submit:hover { background: var(--orange-dim); }
.btn-submit:disabled { opacity: 0.5; cursor: not-allowed; }

/* ── FOOTER ── */
footer {
  background: var(--black);
  border-top: 1px solid #1a1a1a;
}
.footer-top {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 5vw 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.footer-logo-img { height: 32px; width: auto; filter: brightness(0) invert(1); opacity: 0.5; }
.footer-wordmark {
  font-family: var(--font-cond);
  font-weight: 900;
  font-size: 18px;
  text-transform: uppercase;
  color: #444;
  letter-spacing: 0.05em;
}
.footer-wordmark span { color: var(--orange); opacity: 0.7; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; align-items: center; }
.footer-links a {
  font-family: var(--font-mono); font-size: 11px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; color: #444;
  transition: var(--transition);
}
.footer-links a:hover { color: var(--orange); }
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 5vw 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #1a1a1a;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom span {
  font-family: var(--font-mono); font-size: 11px; color: #333;
}

/* ── MODALS (Impressum etc.) ── */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.9);
  z-index: 3000; display: none;
  align-items: center; justify-content: center;
  padding: 40px 20px;
}
.modal-overlay.active { display: flex; }
.modal {
  background: var(--dark2);
  max-width: 680px; width: 100%;
  max-height: 80vh; overflow-y: auto;
  padding: 48px; position: relative;
  border-top: 3px solid var(--orange);
}
.modal-close {
  position: absolute; top: 16px; right: 16px;
  background: none; border: none;
  color: #555; font-size: 20px; cursor: pointer;
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.modal-close:hover { color: var(--white); }
.modal h2 {
  font-family: var(--font-cond); font-weight: 900;
  font-size: 28px; text-transform: uppercase; margin-bottom: 24px;
  color: var(--white);
}
.modal p, .modal li { font-size: 14px; color: #888; line-height: 1.8; margin-bottom: 12px; }

/* ── SCROLL REVEAL ── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ── SUBPAGE (page.php) ── */
.subpage-wrap { max-width: 860px; margin: 0 auto; padding: 110px 5vw 80px; }
.subpage-hero { padding-bottom: 48px; border-bottom: 3px solid var(--orange); margin-bottom: 48px; }
.subpage-label {
  font-family: var(--font-mono); font-weight: 700; font-size: 11px;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--orange); margin-bottom: 12px;
}
.subpage-title {
  font-family: var(--font-cond); font-weight: 900;
  font-size: clamp(36px, 5vw, 64px); text-transform: uppercase;
  line-height: 1.0; margin-bottom: 24px;
}
.subpage-content { font-size: 17px; font-weight: 300; line-height: 1.8; color: #bbb; }
.subpage-content h2 {
  font-family: var(--font-cond); font-weight: 900; font-size: clamp(24px, 3vw, 36px);
  text-transform: uppercase; margin: 48px 0 16px; color: var(--white);
}
.subpage-content p { margin-bottom: 20px; }
.subpage-content a { color: var(--orange); }
.subpage-cta { margin-top: 64px; padding: 40px; background: var(--dark2); text-align: center; }
.subpage-cta p { color: #777; font-size: 18px; font-weight: 300; margin-bottom: 24px; }

/* Nav active / back */
.nav-active { color: var(--orange) !important; }
.nav-back { color: var(--orange) !important; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-avatar-ring { width: 160px; height: 160px; margin: 0 auto; }
  .ueber-grid { grid-template-columns: 1fr; gap: 48px; }
  .kontakt-grid { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 768px) {
  #main-nav { padding: 0 24px; }
  #main-nav ul, .nav-lang { display: none; }
  .nav-mobile-toggle { display: flex; }
  .section { padding: 72px 5vw; }
  .form-row { grid-template-columns: 1fr; }
  .skills-grid { grid-template-columns: 1fr; }
  .ueber-stats { grid-template-columns: 1fr 1fr; }
  .maui-grid, .webapps-grid { grid-template-columns: 1fr; }
  .app-modal { margin: 0; }
  .app-modal-hero { padding: 24px; flex-direction: column; }
  .app-modal-body { padding: 24px; }
  .footer-top { flex-direction: column; align-items: flex-start; }
}

/* ═══════════════════════════════════════════════
   REFERENZEN
   ═══════════════════════════════════════════════ */

.referenzen-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.ref-card {
  background: var(--dark2);
  border: 1px solid #1e1e1e;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}
.ref-card:hover { border-color: #333; }

.ref-card-header {
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid #1e1e1e;
  background: var(--dark3);
}

.ref-logo {
  width: 60px;
  height: 60px;
  background: var(--dark2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 8px;
}
.ref-logo img { max-height: 44px; width: auto; object-fit: contain; }

.ref-logo-placeholder {
  width: 60px;
  height: 60px;
  background: var(--dark2);
  border: 1px solid var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: var(--font-cond);
  font-weight: 900;
  font-size: 22px;
  color: var(--orange);
  text-transform: uppercase;
}

.ref-header-meta { flex: 1; min-width: 0; }

.ref-name {
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
  color: var(--white);
}
.ref-slogan {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--orange);
  font-weight: 600;
  letter-spacing: 0.05em;
}

.ref-card-body {
  padding: 20px 24px;
  flex: 1;
}

.ref-section { margin-bottom: 16px; }
.ref-section:last-of-type { margin-bottom: 0; }

.ref-section-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #555;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.ref-section-label::before {
  content: '';
  display: block;
  width: 16px;
  height: 1px;
  background: var(--orange);
  opacity: 0.5;
}

.ref-text {
  font-size: 13px;
  font-weight: 300;
  color: #999;
  line-height: 1.7;
}

.ref-card-footer {
  padding: 16px 24px;
  border-top: 1px solid #1e1e1e;
}

/* ── WIP Badge ── */
.app-wip-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f5a623;
  background: rgba(245,166,35,0.1);
  border: 1px solid rgba(245,166,35,0.35);
  padding: 4px 10px;
  position: absolute;
  top: 12px;
  right: 12px;
}
.app-card-header { position: relative; }
