/* ==========================================
   GUGGBYTE.COM – Brand Stylesheet
   Palette: #0A0C14 (bg), #FFE600 (brand), #0D1B4B (navy), #1C2033 (surface)
   Fonts: Barlow Condensed (display), Barlow (body), IBM Plex Mono (code)
   ========================================== */

:root {
  --bg: #0A0C14;
  --bg-2: #0f1220;
  --surface: #161929;
  --surface-2: #1e2235;
  --border: #2a2f48;
  --brand: #FFE600;
  --brand-dim: #c9b600;
  --brand-glow: rgba(255, 230, 0, 0.15);
  --navy: #0D1B4B;
  --text: #e8eaf0;
  --text-dim: #8b90a8;
  --text-faint: #4a5070;
  --font-display: 'Barlow Condensed', sans-serif;
  --font-body: 'Barlow', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;
  --radius: 4px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.mono { font-family: var(--font-mono); }
.accent { color: var(--brand); }

/* ==========================================
   NAVIGATION
   ========================================== */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  transition: background var(--transition), backdrop-filter var(--transition);
}

.nav.scrolled {
  background: rgba(10, 12, 20, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.nav-logo { display: flex; align-items: center; text-decoration: none; }
.nav-logo-img { height: 44px; width: auto; filter: brightness(1); }

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.nav-links a,
.nav-links .nav-dropdown-trigger {
  color: var(--text-dim);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  transition: color var(--transition);
  white-space: nowrap;
}

.nav-links a:hover { color: var(--brand); }

.nav-cta {
  background: var(--brand) !important;
  color: var(--bg) !important;
  padding: 0.5rem 1.25rem;
  font-weight: 500 !important;
  border-radius: var(--radius);
  transition: background var(--transition), transform var(--transition) !important;
}
.nav-cta:hover { background: #fff176 !important; transform: translateY(-1px); }

/* ── DESKTOP DROPDOWN ── */
.nav-dropdown { position: relative; }
.nav-dropdown-trigger {
  background: none;
  border: none;
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0;
  transition: color var(--transition);
}
.nav-dropdown-trigger:hover,
.nav-dropdown.open .nav-dropdown-trigger { color: var(--brand); }
.nav-chevron {
  width: 12px;
  height: 12px;
  transition: transform 0.2s ease;
}
.nav-dropdown.open .nav-chevron { transform: rotate(180deg); }

.nav-dropdown-panel {
  position: absolute;
  top: calc(100% + 16px);
  left: 0;
  transform: translateY(4px);
  width: 380px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
  z-index: 200;
  overflow: hidden;
}
.nav-dropdown-panel::before {
  content: '';
  position: absolute;
  top: -16px;
  left: 0;
  right: 0;
  height: 16px;
}
.nav-dropdown.open .nav-dropdown-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}
.nav-dropdown-sm { width: 340px; }
/* Prevent right-side dropdowns from overflowing viewport */
.nav-dropdown:last-of-type .nav-dropdown-panel {
  left: auto;
  right: 0;
}

.nav-dropdown-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 3px;
  text-decoration: none;
  transition: background var(--transition);
  overflow: hidden;
}
.nav-dropdown-item:hover {
  background: rgba(255, 230, 0, 0.04);
}
.nav-dropdown-icon {
  width: 20px;
  height: 20px;
  min-width: 20px;
  color: var(--brand);
  margin-top: 2px;
}
.nav-dropdown-icon svg { width: 20px; height: 20px; }
.nav-dropdown-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  overflow: hidden;
}
.nav-dropdown-text strong {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
}
.nav-dropdown-text span {
  font-size: 0.78rem;
  color: var(--text-dim);
  line-height: 1.4;
}

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

/* ── MOBILE NAVIGATION ── */
.nav-mobile {
  display: none;
  background: var(--surface);
  border-top: 1px solid var(--border);
  max-height: 80vh;
  overflow-y: auto;
}
.nav-mobile-inner {
  padding: 16px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.nav-mobile-link {
  color: var(--text-dim);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  padding: 10px 0;
  display: block;
  transition: color var(--transition);
}
.nav-mobile-link:hover { color: var(--brand); }
.nav-mobile-muted { opacity: 0.6; }
.nav-mobile-divider {
  height: 1px;
  background: var(--border);
  margin: 8px 0;
}

/* Mobile accordion groups */
.nav-mobile-group { border-bottom: none; }
.nav-mobile-trigger {
  background: none;
  border: none;
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 0.9rem;
  padding: 10px 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: color var(--transition);
}
.nav-mobile-trigger:hover { color: var(--brand); }
.nav-mobile-chevron {
  width: 14px;
  height: 14px;
  transition: transform 0.25s ease;
  color: var(--text-faint);
}
.nav-mobile-group.open .nav-mobile-chevron { transform: rotate(180deg); }
.nav-mobile-group.open .nav-mobile-trigger { color: var(--brand); }

.nav-mobile-sub {
  display: none;
  flex-direction: column;
  padding: 0 0 8px 16px;
}
.nav-mobile-group.open .nav-mobile-sub { display: flex; }
.nav-mobile-sub a {
  color: var(--text-dim);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  padding: 8px 0;
  border-left: 2px solid var(--border);
  padding-left: 12px;
  transition: color var(--transition), border-color var(--transition);
}
.nav-mobile-sub a:hover {
  color: var(--brand);
  border-left-color: var(--brand);
}

@media (max-width: 1024px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .nav-mobile.open { display: block; }
}

/* ==========================================
   HERO
   ========================================== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bg);
}

.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,230,0,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,230,0,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.6;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 8rem 2rem 4rem;
  flex: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,230,0,0.1);
  border: 1px solid rgba(255,230,0,0.3);
  color: var(--brand);
  padding: 0.4rem 1rem;
  font-size: 0.8rem;
  border-radius: 2px;
  margin-bottom: 2rem;
  animation: fadeSlideUp 0.6s ease both;
}

.hero-headline {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(4rem, 10vw, 9rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  max-width: 800px;
  margin-bottom: 1.5rem;
}

.hero-headline .line-1 { display: block; animation: fadeSlideUp 0.6s 0.1s ease both; }
.hero-headline .line-2 { display: block; animation: fadeSlideUp 0.6s 0.2s ease both; }
.hero-headline .line-3 { display: block; animation: fadeSlideUp 0.6s 0.3s ease both; }
.hero-headline .accent { color: var(--brand); }

.hero-sub {
  font-size: 1.15rem;
  color: var(--text-dim);
  max-width: 560px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
  animation: fadeSlideUp 0.6s 0.4s ease both;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 4rem;
  animation: fadeSlideUp 0.6s 0.5s ease both;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 2rem;
  animation: fadeSlideUp 0.6s 0.6s ease both;
  flex-wrap: wrap;
}

.stat { display: flex; flex-direction: column; gap: 0.2rem; }
.stat-num { font-size: 1.1rem; color: var(--brand); font-weight: 500; }
.stat-label { font-size: 0.78rem; color: var(--text-faint); }
.stat-divider { width: 1px; height: 40px; background: var(--border); }

.hero-visual {
  position: absolute;
  right: 4%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  opacity: 0.4;
}

.hex-grid {
  display: grid;
  grid-template-columns: repeat(3, 100px);
  grid-template-rows: repeat(3, 100px);
  gap: 8px;
}

.hex {
  width: 90px;
  height: 90px;
  background: var(--surface);
  border: 1px solid var(--border);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.hex.pulse { background: rgba(255,230,0,0.08); border-color: rgba(255,230,0,0.3); }
.hex.delay-1 { animation-delay: 0.5s; }
.hex.delay-2 { animation-delay: 1s; }
.hex.delay-3 { animation-delay: 1.5s; }

@keyframes hexPulse {
  0%, 100% { background: rgba(255,230,0,0.08); }
  50% { background: rgba(255,230,0,0.2); box-shadow: 0 0 20px var(--brand-glow); }
}
.hex.pulse { animation: hexPulse 3s ease-in-out infinite; }

.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-faint);
  font-size: 0.72rem;
  animation: fadeSlideUp 0.6s 0.8s ease both;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--brand), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

/* ==========================================
   BUTTONS
   ========================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  letter-spacing: 0.03em;
}

.btn-primary {
  background: var(--brand);
  color: var(--bg);
}
.btn-primary:hover {
  background: #fff176;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255,230,0,0.25);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  border-color: var(--brand);
  color: var(--brand);
  transform: translateY(-2px);
}

.btn-sm { padding: 0.6rem 1.25rem; font-size: 0.8rem; }
.btn-full { width: 100%; }

/* ==========================================
   SECTIONS
   ========================================== */

.section {
  padding: 7rem 0;
}

.section-header {
  margin-bottom: 4rem;
}

.section-header.center { text-align: center; }
.section-header.center .section-desc { margin: 0 auto; }

.section-label {
  display: inline-block;
  color: var(--brand);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.section-header h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-dim);
  max-width: 600px;
  line-height: 1.7;
}

/* Reveal animation */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================
   LEISTUNGEN
   ========================================== */

.leistungen { background: var(--bg); }

.leistungen-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  background: var(--border);
}

.leistung-card {
  background: var(--surface);
  padding: 2.5rem;
  position: relative;
  transition: background var(--transition);
}

.leistung-card:hover { background: var(--surface-2); }

.leistung-card.featured {
  background: var(--surface-2);
  border: 1px solid rgba(255,230,0,0.2);
  margin: -1px;
  z-index: 1;
}
.leistung-card.featured:hover { background: #1e2438; }

.card-badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: var(--brand);
  color: var(--bg);
  font-size: 0.7rem;
  padding: 0.25rem 0.6rem;
  border-radius: 2px;
  font-weight: 500;
}

.card-icon {
  width: 48px;
  height: 48px;
  color: var(--brand);
  margin-bottom: 1.5rem;
}

.leistung-card h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 0.75rem;
}

.leistung-card p {
  color: var(--text-dim);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.card-points {
  list-style: none;
}

.card-points li {
  color: var(--text-faint);
  font-size: 0.85rem;
  padding: 0.3rem 0;
  padding-left: 1.2rem;
  position: relative;
  font-family: var(--font-mono);
}

.card-points li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--brand);
}

@media (max-width: 900px) {
  .leistungen-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .leistungen-grid { grid-template-columns: 1fr; }
}

/* ==========================================
   KI-LÖSUNGEN (Tabs)
   ========================================== */

.ki-loesungen {
  background: var(--bg-2);
  position: relative;
  overflow: hidden;
}

.ki-loesungen::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,230,0,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.solutions-wrapper {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.solution-tabs {
  display: flex;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.tab-btn {
  flex: 1;
  padding: 1rem 1.5rem;
  background: none;
  border: none;
  border-right: 1px solid var(--border);
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  cursor: pointer;
  transition: all var(--transition);
  letter-spacing: 0.03em;
}
.tab-btn:last-child { border-right: none; }
.tab-btn:hover { color: var(--text); background: var(--surface-2); }
.tab-btn.active {
  color: var(--brand);
  background: var(--bg);
  border-bottom: 2px solid var(--brand);
  margin-bottom: -1px;
}

.solution-panel {
  display: none;
  padding: 3rem;
  background: var(--surface);
  gap: 4rem;
  align-items: center;
}
.solution-panel.active {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.panel-text h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.panel-text p {
  color: var(--text-dim);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.tech-tag {
  background: rgba(255,230,0,0.08);
  border: 1px solid rgba(255,230,0,0.2);
  color: var(--brand);
  padding: 0.3rem 0.7rem;
  font-size: 0.75rem;
  border-radius: 2px;
}

/* Terminal */
.terminal {
  background: #0d1117;
  border: 1px solid #30363d;
  border-radius: 6px;
  overflow: hidden;
  font-size: 0.82rem;
}

.terminal-bar {
  background: #21262d;
  padding: 0.6rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px solid #30363d;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.dot.red { background: #ff5f57; }
.dot.yellow { background: var(--brand); }
.dot.green { background: #28c840; }

.terminal-title {
  margin-left: auto;
  color: #8b949e;
  font-size: 0.75rem;
}

.terminal-body { padding: 1rem 1.2rem; }
.t-line { margin: 0.25rem 0; color: #c9d1d9; }
.t-line.out { color: #8b949e; padding-left: 1rem; }
.t-line .prompt { color: var(--brand); margin-right: 0.5rem; }

@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
.cursor-blink { animation: blink 1s step-end infinite; }

/* RAG Diagram */
.rag-diagram {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem;
}

.rag-node {
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 0.75rem 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-dim);
  width: 100%;
  text-align: center;
  border-radius: var(--radius);
}

.rag-node.accent-node {
  background: rgba(255,230,0,0.1);
  border-color: rgba(255,230,0,0.4);
  color: var(--brand);
}

.rag-arrow { color: var(--text-faint); font-size: 1.2rem; }

/* Agent Loop */
.agent-loop {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  padding: 1rem;
}

.agent-step {
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 0.65rem 1.5rem;
  font-size: 0.85rem;
  color: var(--text-dim);
  width: 100%;
  text-align: center;
  border-radius: var(--radius);
}
.agent-step.highlight {
  border-color: rgba(255,230,0,0.4);
  color: var(--brand);
  background: rgba(255,230,0,0.08);
}

.agent-arrow { color: var(--text-faint); }

.agent-connect {
  margin-top: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-faint);
  background: var(--surface-2);
  padding: 0.4rem 1rem;
  border-radius: 99px;
  border: 1px solid var(--border);
}

/* Vision Demo */
.vision-demo {
  padding: 1rem;
}

.vision-img-frame {
  position: relative;
  height: 200px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  padding: 1rem;
  gap: 0.5rem;
}

.vision-scan-line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--brand), transparent);
  animation: scanLine 2s linear infinite;
}
@keyframes scanLine {
  0% { top: 0; }
  100% { top: 100%; }
}

.vision-label {
  display: flex;
  align-items: center;
  font-size: 0.7rem;
  color: var(--text-faint);
  background: rgba(255,255,255,0.03);
  padding: 0.3rem 0.5rem;
  border: 1px solid var(--border);
  border-radius: 2px;
}
.vision-label.accent { color: var(--brand); border-color: rgba(255,230,0,0.3); }

@media (max-width: 768px) {
  .solution-panel.active { grid-template-columns: 1fr; }
  .solution-tabs { overflow-x: auto; }
  .tab-btn { min-width: 120px; }
}

/* ==========================================
   PROZESS
   ========================================== */

.prozess { background: var(--bg); }

.prozess-steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: 0;
}

.prozess-step {
  padding: 2rem;
  border: 1px solid var(--border);
  background: var(--surface);
  position: relative;
}

.prozess-step:hover {
  border-color: rgba(255,230,0,0.3);
  background: var(--surface-2);
}

.step-num {
  font-size: 2.5rem;
  font-weight: 500;
  color: var(--brand);
  opacity: 0.6;
  margin-bottom: 1rem;
  display: block;
}

.step-content h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.step-content p { color: var(--text-dim); font-size: 0.9rem; line-height: 1.6; }

.step-connector {
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, var(--border), rgba(255,230,0,0.3));
  align-self: center;
  margin-top: -2rem;
}

@media (max-width: 900px) {
  .prozess-steps {
    grid-template-columns: 1fr;
  }
  .step-connector {
    width: 2px;
    height: 32px;
    background: linear-gradient(to bottom, var(--border), rgba(255,230,0,0.3));
    margin-left: 2rem;
    margin-top: 0;
  }
}

/* ==========================================
   ÜBER UNS
   ========================================== */

.ueber { background: var(--bg-2); }

.ueber-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.ueber-text .section-label { margin-bottom: 1rem; }

.ueber-text h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.ueber-text p {
  color: var(--text-dim);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.ueber-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

.highlight {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.highlight .accent { font-size: 0.85rem; font-weight: 500; }
.highlight span:last-child { font-size: 0.82rem; color: var(--text-faint); }

.ueber-logo-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.logo-display {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ueber-logo { max-width: 320px; width: 100%; filter: drop-shadow(0 0 24px rgba(255,230,0,0.15)); }
.logo-bg-glow {
  position: absolute;
  inset: -40px;
  background: radial-gradient(circle, rgba(255,230,0,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.ueber-tech-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.tech-pill {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-dim);
  padding: 0.35rem 0.75rem;
  font-size: 0.78rem;
  border-radius: 99px;
  transition: all var(--transition);
}
.tech-pill:hover {
  border-color: rgba(255,230,0,0.3);
  color: var(--brand);
  background: rgba(255,230,0,0.05);
}

@media (max-width: 800px) {
  .ueber-container { grid-template-columns: 1fr; }
  .ueber-logo-side { order: -1; }
}

/* ==========================================
   KONTAKT
   ========================================== */

.kontakt {
  background: var(--bg);
  position: relative;
}

.kontakt::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--brand), transparent);
  opacity: 0.3;
}

.kontakt-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: start;
}

.kontakt-text .section-label { margin-bottom: 1rem; }
.kontakt-text h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.kontakt-text p { color: var(--text-dim); line-height: 1.7; margin-bottom: 2rem; }

.kontakt-info {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.kontakt-link {
  color: var(--brand);
  text-decoration: none;
  font-size: 0.9rem;
  transition: opacity var(--transition);
}
.kontakt-link:hover { opacity: 0.7; }

/* Form */
.kontakt-form {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 2.5rem;
  border-radius: var(--radius);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.form-group label {
  font-size: 0.78rem;
  color: var(--text-dim);
  letter-spacing: 0.05em;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  border-radius: var(--radius);
  transition: border-color var(--transition);
  resize: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: rgba(255,230,0,0.4);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-faint);
}

.form-group select option { background: var(--bg); }

.form-note {
  text-align: center;
  font-size: 0.72rem;
  color: var(--text-faint);
  margin-top: 1rem;
}

@media (max-width: 800px) {
  .kontakt-inner { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

/* ==========================================
   FOOTER  (MinimalFooter)
   ========================================== */

.footer {
  position: relative;
  background: var(--bg-2);
}

.footer-top-border,
.footer-bottom-border {
  height: 1px;
  background: var(--border);
  width: 100%;
}

.footer-main {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem 3rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  /* MinimalFooter radial gradient */
  background: radial-gradient(35% 80% at 15% 0%, rgba(255,230,0,0.06), transparent);
}

/* Brand column */
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-logo-link { display: inline-block; opacity: 0.85; transition: opacity 0.2s; }
.footer-logo-link:hover { opacity: 1; }
.footer-logo-img { height: 44px; width: auto; }

.footer-tagline {
  color: var(--text-faint);
  font-size: 0.8rem;
  line-height: 1.7;
  max-width: 260px;
}

.footer-social {
  display: flex;
  gap: 0.5rem;
}

.footer-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: var(--text-dim);
  border: 1px solid var(--border);
  border-radius: 6px;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.footer-social-btn:hover {
  color: var(--brand);
  border-color: var(--brand);
  background: rgba(255,230,0,0.06);
}

/* Link columns */
.footer-cols {
  display: contents; /* lets children sit directly in the grid */
}

.footer-col { display: flex; flex-direction: column; gap: 0.75rem; }

.footer-col-label {
  display: block;
  color: var(--text-dim);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.4rem; }
.footer-col ul a {
  color: var(--text-faint);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s;
  display: inline-block;
  padding: 2px 0;
}
.footer-col ul a:hover { color: var(--brand); text-decoration: underline; }

/* Bottom bar */
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  text-align: center;
}
.footer-bottom p {
  color: var(--text-faint);
  font-size: 0.78rem;
}

@media (max-width: 900px) {
  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 480px) {
  .footer-main { grid-template-columns: 1fr; padding: 2rem 1.25rem; }
  .footer-brand { grid-column: auto; }
}

/* ==========================================
   ANIMATIONS
   ========================================== */

@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================
   COOKIE CONSENT BANNER
   ========================================== */

@keyframes cookieSlideUp {
  from { transform: translateY(32px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

/* Positionierungs-Wrapper – unsichtbar, zentriert den schwebenden Card */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  display: none;
  justify-content: center;
  align-items: flex-end;
  padding: 28px 24px;
  pointer-events: none;
}

.cookie-banner.visible {
  display: flex;
}

/* Der schwebende Card */
.cookie-banner-inner {
  pointer-events: all;
  max-width: 620px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.75rem;
  padding: 1.25rem 1.75rem;

  /* Farben: dunkel-navy mit Brand-Akzent */
  background: #0d1729;
  border: 1px solid rgba(255, 230, 0, 0.18);
  border-top: 2px solid var(--brand);
  border-radius: 12px;

  /* Schwebeeffekt */
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.7),
    0 4px 24px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 230, 0, 0.06);

  animation: cookieSlideUp 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.cookie-text {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.cookie-title {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text);
  letter-spacing: 0.03em;
}

.cookie-text p {
  font-size: 0.85rem;
  color: var(--text-dim);
  line-height: 1.55;
  margin: 0;
}

.cookie-text a {
  color: var(--brand);
  text-decoration: none;
  transition: opacity var(--transition);
}
.cookie-text a:hover { opacity: 0.75; }

.cookie-actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

.cookie-btn-accept,
.cookie-btn-decline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.4rem;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 500;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.cookie-btn-accept {
  background: var(--brand);
  color: var(--bg);
  border: 1px solid var(--brand);
}
.cookie-btn-accept:hover {
  background: #fff176;
  border-color: #fff176;
  transform: translateY(-1px);
}

.cookie-btn-decline {
  background: transparent;
  color: var(--text-dim);
  border: 1px solid var(--border);
}
.cookie-btn-decline:hover {
  border-color: var(--brand);
  color: var(--brand);
  transform: translateY(-1px);
}

@media (max-width: 640px) {
  .cookie-banner {
    padding: 16px 12px;
  }
  .cookie-banner-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    border-radius: 10px;
  }
  .cookie-actions {
    flex-direction: column;
  }
  .cookie-btn-accept,
  .cookie-btn-decline {
    width: 100%;
  }
}

/* ==========================================
   FOOTER VERSION TAG
   ========================================== */

.footer-version {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-faint);
  opacity: 0.6;
  letter-spacing: 0.05em;
}

/* ==========================================
   PROJEKTE
   ========================================== */

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

.projekt-card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 2.5rem;
  position: relative;
  transition: background var(--transition), border-color var(--transition);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.projekt-card:hover {
  background: var(--surface-2);
  border-color: rgba(255, 230, 0, 0.3);
}

.projekt-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.projekt-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: 0;
}

.projekt-card p {
  color: var(--text-dim);
  font-size: 0.95rem;
  line-height: 1.65;
  flex: 1;
}

.projekt-card .tech-stack {
  margin-top: 0.25rem;
}

.projekt-card .btn {
  align-self: flex-start;
  margin-top: 0.5rem;
}

@media (max-width: 600px) {
  .projekte-grid { grid-template-columns: 1fr; }
}

/* ==========================================
   REDUCED MOTION
   ========================================== */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ==========================================
   RESPONSIVE
   ========================================== */

@media (max-width: 480px) {
  .hero-content { padding: 6rem 1rem 3rem; }
  .hero-headline { font-size: 3.5rem; }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; }
  .hero-visual { display: none; }
  .section { padding: 4rem 0; }
  .kontakt-form { padding: 1.5rem; }
}
