/* ============================================
   campus-it.eu – Stylesheet
   Aesthetic: Industrial precision / clean tech
   ============================================ */
@font-face {
  font-family: 'Geist';
  src: url('../fonts/Geist[wght].woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: 'Geist Mono';
  src: url('../fonts/GeistMono[wght].woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --bg:          #0c0f0d;
  --bg-card:     #121710;
  --bg-hover:    #181f16;
  --border:      #232b21;
  --border-light:#2d3a2a;
  --accent:      #26e392;
  --accent-dim:  #26e39220;
  --accent2:     #1fbb6e;
  --text:        #e6ede8;
  --text-muted:  #748a79;
  --text-faint:  #374039;
  --nav-h:       60px;
  --max-w:       920px;
  --font-head:   'Geist', system-ui, sans-serif;
  --font-mono:   'Geist Mono', ui-monospace, monospace;
}
*, *::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-mono);
  font-size: 15px;
  line-height: 1.7;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border-light); border-radius: 2px; }
/* ── LAYOUT ── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
}
/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  z-index: 100;
  display: flex;
  align-items: center;
}
.nav-inner {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
  display: flex;
  align-items: center;
  gap: 0;
}
.nav-logo {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1rem;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: -0.02em;
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-logo:hover { opacity: 0.8; }
.nav-center {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex: 1;
  padding-left: 2rem;
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
}
.nav-link {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--text-muted);
  text-decoration: none;
  padding: 0.35rem 0.7rem;
  border-radius: 4px;
  transition: color 0.15s, background 0.15s;
  white-space: nowrap;
}
.nav-link:hover,
.nav-link.active {
  color: var(--text);
  background: var(--bg-hover);
}
.nav-link.active { color: var(--accent); }
/* hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-light);
  color: var(--text);
  cursor: pointer;
  padding: 0.35rem 0.55rem;
  border-radius: 4px;
  font-size: 1rem;
  line-height: 1;
  flex-shrink: 0;
}
.nav-toggle:hover { border-color: var(--accent); color: var(--accent); }
/* mobile nav menu */
.nav-mobile-menu {
  display: none;
  flex-direction: column;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  z-index: 99;
  padding: 0.5rem 0 1rem;
}
.nav-mobile-menu.open { display: flex; }
.nav-mobile-menu .nav-link {
  padding: 0.65rem 1.5rem;
  font-size: 0.9rem;
  border-radius: 0;
}
.nav-mobile-menu .nav-link:hover { background: var(--bg-hover); }
/* ── MOBILE NAV LAYOUT ── */
@media (max-width: 640px) {
  .nav-center,
  .nav-right { display: none; }
  .nav-toggle { display: block; }
  .nav-inner { gap: 0.75rem; }
}
/* ── MAIN CONTENT ── */
main {
  padding-top: calc(var(--nav-h) + 3rem);
  padding-bottom: 5rem;
  min-height: 100vh;
}
/* ── PAGE HEADER ── */
.page-header {
  margin-bottom: 3.5rem;
}
.page-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.page-label::before {
  content: '';
  display: inline-block;
  width: 20px; height: 1px;
  background: var(--accent);
}
h1 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text);
}
h1 em {
  font-style: normal;
  color: var(--accent);
}
.page-sub {
  margin-top: 1rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  max-width: 560px;
}
/* ── HERO (index only) ── */
.hero {
  padding: 4rem 0 3rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 4rem;
  position: relative;
  overflow: hidden;
}
/* Hero-Hintergrund SVG */
.hero-bg-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: translateX(clamp(2.5rem, 6vw, 5rem));
  opacity: 0.9;
  pointer-events: none;
  z-index: 0;
}
@media (max-width: 640px) {
  .hero-bg-svg {
    transform: translateX(22%);
    opacity: 0.7;
  }
}
/* Alle direkten Kinder des Hero (außer dem SVG) liegen darüber */
.hero > *:not(.hero-bg-svg) {
  position: relative;
  z-index: 1;
}
/* Reduced-motion: Pulse deaktivieren */
@media (prefers-reduced-motion: reduce) {
  .hero-bg-svg circle {
    animation: none !important;
    opacity: 0 !important;
  }
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid var(--accent);
  padding: 0.3rem 0.75rem;
  border-radius: 2px;
  margin-bottom: 2rem;
}
.hero h1 {
  font-size: clamp(1.8rem, 4.5vw, 3rem);
  margin-bottom: 2rem;
}
.hero-sub {
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 520px;
  line-height: 1.8;
  margin-bottom: 3.5rem;
}
.hero-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.4rem;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 500;
  border-radius: 3px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.15s;
  border: none;
}
.btn-primary {
  background: var(--accent);
  color: #000;
}
.btn-primary:hover { background: #00e0b2; }
.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border-light);
}
.btn-ghost:hover { border-color: var(--text-muted); color: var(--text); }
/* ── CARDS / SERVICES ── */
.section-label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 1.5rem;
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
  gap: 1px;
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 4rem;
}
.card {
  background: var(--bg-card);
  padding: 1.75rem;
  transition: background 0.15s;
}
.card:hover { background: var(--bg-hover); }
.card-icon {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  display: block;
}
.card-title {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.6rem;
}
.card-body {
  font-size: 0.83rem;
  color: var(--text-muted);
  line-height: 1.7;
}
/* ── FEATURE ROW ── */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 4rem;
}
.feature-cell {
  background: var(--bg-card);
  padding: 2rem 1.75rem;
}
.feature-cell:hover { background: var(--bg-hover); }
.feature-num {
  font-family: var(--font-head);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.4rem;
}
.feature-label {
  font-size: 0.8rem;
  color: var(--text-muted);
}
@media (max-width: 480px) {
  .feature-row { grid-template-columns: 1fr 1fr; }
}
/* ── PROSE SECTIONS ── */
.prose {
  max-width: 680px;
  margin-bottom: 4rem;
}
.prose h2 {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  margin: 2.5rem 0 0.75rem;
  letter-spacing: -0.02em;
}
.prose h2:first-child { margin-top: 0; }
.prose p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.85;
  margin-bottom: 1rem;
}
.prose ul {
  list-style: none;
  margin-bottom: 1rem;
}
.prose ul li {
  color: var(--text-muted);
  font-size: 0.88rem;
  padding: 0.3rem 0;
  padding-left: 1.2rem;
  position: relative;
}
.prose ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}
.prose a {
  color: var(--accent);
  text-decoration: none;
}
.prose a:hover { text-decoration: underline; }
/* ── CONTACT BLOCK ── */
.contact-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 2.5rem;
  max-width: 520px;
  margin-bottom: 3rem;
}
.contact-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
}
.contact-item:last-child { border-bottom: none; padding-bottom: 0; }
.contact-item:first-child { padding-top: 0; }
.contact-label {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.contact-value {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  user-select: none;
}
.contact-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
}
/* ── IMPRESSUM / DATENSCHUTZ ── */
.legal-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 2rem 2.5rem;
  margin-bottom: 2rem;
}
.legal-block h2 {
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}
.legal-block p,
.legal-block address {
  color: var(--text-muted);
  font-size: 0.87rem;
  line-height: 1.85;
  font-style: normal;
  margin-bottom: 0.5rem;
}
.legal-block p:last-child { margin-bottom: 0; }
/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0;
  margin-top: 4rem;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-copy {
  font-size: 0.78rem;
  color: var(--text-faint);
}
.footer-links {
  display: flex;
  gap: 1.5rem;
}
.footer-links a {
  font-size: 0.78rem;
  color: var(--text-faint);
  text-decoration: none;
}
.footer-links a:hover { color: var(--text-muted); }
