/* ============================================
   UNRUH ITK – Custom Styles
   ============================================ */

/* Inter Regular (400) */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/inter-v20-latin-regular.woff2') format('woff2');
}

/* Inter Bold (700) */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/inter-v20-latin-700.woff2') format('woff2');
}

/* JetBrains Mono Regular (400) */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/jetbrains-mono-v24-latin-regular.woff2') format('woff2');
}

:root {
  --bg:        #0d1117;
  --bg-2:      #161b27;
  --bg-3:      #1e2636;
  --accent:    #4a9eff;
  --accent-dim:#1e4a80;
  --text:      #e6edf3;
  --text-muted:#8892a4;
  --border:    #21293a;
  --font-sans: 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  --radius:    8px;
  --max-w:     1100px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

/* ---- NAV ---- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(13, 17, 23, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.nav-logo span { color: var(--accent); }
.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
  align-items: center;
}
.nav-links a {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }
.nav-cta {
  background: var(--accent) !important;
  color: var(--bg) !important;
  padding: 0.45rem 1rem;
  border-radius: var(--radius);
  font-weight: 600;
  transition: opacity 0.2s !important;
}
.nav-cta:hover { opacity: 0.85; }

/* ---- HERO ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 2rem 80px;
  overflow: hidden;
}
.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
}
.dot {
  width: 6px; height: 6px;
  background: #22c55e;
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.hero-headline {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -0.04em;
  margin-bottom: 1.5rem;
}
.hero-accent {
  color: var(--accent);
}
.cursor {
  display: inline-block;
  animation: blink 1.1s step-end infinite;
  font-weight: 300;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}
.hero-sub {
  max-width: 580px;
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2.5rem;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Buttons */
.btn-primary {
  background: var(--accent);
  color: var(--bg);
  padding: 0.8rem 1.8rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.95rem;
  transition: opacity 0.2s, transform 0.2s;
}
.btn-primary:hover { opacity: 0.88; transform: translateY(-1px); }
.btn-ghost {
  color: var(--text-muted);
  padding: 0.8rem 1.8rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  font-size: 0.95rem;
  transition: color 0.2s, border-color 0.2s;
}
.btn-ghost:hover { color: var(--text); border-color: var(--text-muted); }

/* Grid background */
.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.4;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
  z-index: 1;
}

/* ---- TRUST BAR ---- */
.trust-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-2);
  padding: 1rem 2rem;
  overflow: hidden;
}
.trust-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
  justify-content: center;
}
.trust-inner span {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ---- SECTIONS ---- */
.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
}
.section-label {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.section-header {
  margin-bottom: 3.5rem;
}
.section-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

/* ---- LEISTUNGEN ---- */
.leistungen {
  padding: 6rem 0;
}
.leistungen-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 2px);
  overflow: hidden;
}
.leistung-card {
  background: var(--bg-2);
  padding: 2rem;
  transition: background 0.2s;
}
.leistung-card:hover { background: var(--bg-3); }
.leistung-icon {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.leistung-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
}
.leistung-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ---- ÜBER ---- */
.ueber {
  padding: 6rem 0;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.ueber-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.ueber-text h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}
.ueber-text p {
  color: var(--text-muted);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}
.ueber-text .btn-primary { margin-top: 1rem; display: inline-block; }

/* Terminal */
.ueber-terminal {
  background: #0d1117;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 0.82rem;
}
.terminal-header {
  background: var(--bg-3);
  padding: 0.6rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  border-bottom: 1px solid var(--border);
}
.t-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.t-dot.red    { background: #ff5f56; }
.t-dot.yellow { background: #ffbd2e; }
.t-dot.green  { background: #27c93f; }
.t-title {
  margin-left: 0.5rem;
  color: var(--text-muted);
  font-size: 0.75rem;
}
.terminal-body {
  padding: 1.2rem 1.4rem;
  line-height: 1.8;
}
.t-prompt { color: var(--accent); margin-right: 0.5rem; }
.t-out { color: var(--text-muted); padding-left: 1.1rem; }

/* ---- KONTAKT ---- */
.kontakt {
  padding: 6rem 0;
}
.kontakt-inner {
  text-align: center;
}
.kontakt-inner h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  margin-bottom: 1rem;
}
.kontakt-sub {
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 3rem;
  font-size: 1rem;
}
.kontakt-cards {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}
.kontakt-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  min-width: 180px;
  transition: border-color 0.2s, background 0.2s;
}
.kontakt-card:hover {
  border-color: var(--accent);
  background: var(--bg-3);
}
.kontakt-icon { font-size: 1.4rem; margin-bottom: 0.3rem; }
.kontakt-label {
  font-size: 0.75rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.kontakt-value {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--accent);
}

/* ---- FOOTER ---- */
.footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem 2rem;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: var(--text-muted);
}
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a:hover { color: var(--text); }

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .ueber-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero { padding: 100px 1.5rem 60px; }
  .section-inner { padding: 0 1.5rem; }
  .leistungen, .ueber, .kontakt { padding: 4rem 0; }
  .footer-inner { flex-direction: column; gap: 1rem; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  .cursor, .dot { animation: none; }
  * { transition: none !important; }
}
