/* ============================================================
   SSI — Firmenwebseite CSS
   Salzburg Server & IT Solutions
   ============================================================ */

/* ----------------------------------------------------------
   1. RESET & ROOT
   ---------------------------------------------------------- */

:root {
  --black: #f8f9fc;
  --dark: #f0f2f7;
  --night: #e8eaf2;
  --deep: #ffffff;
  --steel: #d0d5e0;
  --slate: #b8c0d0;
  --teal: #1a6b6b;
  --teal-light: #1d7a7a;
  --teal-bright: #147070;
  --accent: #e07800;
  --accent-light: #cc6d00;
  --accent-glow: rgba(224, 120, 0, .1);
  --text-muted: #6b7a90;
  --text: #3a4558;
  --text-light: #1a2236;
  --white: #111827;

  --section-padding: 7rem 2rem;
  --card-padding: 2rem;
  --gap: 2rem;
  --transition: 0.3s ease;
  --radius: 6px;
  --radius-lg: 12px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--dark);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--teal-bright);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--accent-light);
}

ul, ol {
  list-style: none;
}

::selection {
  background: var(--teal);
  color: var(--white);
}


/* ----------------------------------------------------------
   2. TYPOGRAPHY
   ---------------------------------------------------------- */

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.2;
  color: var(--text-light);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.15rem; }
h5 { font-size: 1rem; }
h6 { font-size: 0.85rem; letter-spacing: 0.12em; }

p {
  margin-bottom: 1rem;
}

.section-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal-bright);
  margin-bottom: 0.75rem;
  display: inline-block;
}

.section-tag::before {
  content: '// ';
  opacity: 0.5;
}

.section-title {
  margin-bottom: 1.25rem;
}

.section-title span {
  color: var(--accent);
}

.section-lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 3rem;
}

.text-center { text-align: center; }
.text-accent { color: var(--accent); }
.text-teal   { color: var(--teal-bright); }
.text-muted  { color: var(--text-muted); }

.mono {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.9em;
}


/* ----------------------------------------------------------
   3. NAVIGATION
   ---------------------------------------------------------- */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
}

.navbar.scrolled {
  background: rgba(240, 242, 247, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  padding: 0.6rem 2rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
}

.nav-logo img {
  height: 36px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
  position: relative;
  padding: 0.3rem 0;
  transition: color var(--transition);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1010;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--text-light);
  transition: transform var(--transition), opacity var(--transition);
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Overlay */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(240, 242, 247, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.nav-overlay.open {
  display: flex;
}

.nav-overlay a {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
  transition: color var(--transition);
}

.nav-overlay a:hover {
  color: var(--accent);
}


/* ----------------------------------------------------------
   4. HERO
   ---------------------------------------------------------- */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 2rem 4rem;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(26, 107, 107, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 80%, rgba(255, 140, 0, 0.06) 0%, transparent 50%),
    var(--dark);
}

/* Tech Grid Lines */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(26, 107, 107, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26, 107, 107, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  pointer-events: none;
}

/* Glow Orb */
.hero::after {
  content: '';
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(26, 107, 107, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--teal-bright);
  margin-bottom: 1.5rem;
  display: inline-block;
}

.hero h1 {
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero h1 span {
  color: var(--accent);
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.hero-scroll span {
  display: block;
  width: 20px;
  height: 30px;
  border: 2px solid var(--teal);
  border-radius: 10px;
  position: relative;
}

.hero-scroll span::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 6px;
  background: var(--teal-bright);
  border-radius: 2px;
  animation: scrollDot 1.8s ease-in-out infinite;
}

@keyframes scrollDot {
  0%, 100% { opacity: 1; transform: translateX(-50%) translateY(0); }
  50%      { opacity: 0.3; transform: translateX(-50%) translateY(8px); }
}


/* ----------------------------------------------------------
   5. BANNER STRIP
   ---------------------------------------------------------- */

.banner-strip {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 3rem;
  padding: 2.5rem 2rem;
  background: var(--night);
  border-top: 1px solid rgba(26, 107, 107, 0.1);
  border-bottom: 1px solid rgba(26, 107, 107, 0.1);
}

.banner-stat {
  text-align: center;
  min-width: 120px;
}

.banner-stat .number {
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.banner-stat .label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 0.4rem;
}


/* ----------------------------------------------------------
   6. CONTENT SECTIONS
   ---------------------------------------------------------- */

.container {
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}

section {
  padding: var(--section-padding);
  overflow-x: clip;
}

.section-dark {
  background: var(--dark);
}

.section-deep {
  background: var(--deep);
}

.section-night {
  background: var(--night);
}

.section-gradient {
  background: linear-gradient(180deg, var(--dark) 0%, var(--deep) 100%);
}


/* ----------------------------------------------------------
   7. CARDS
   ---------------------------------------------------------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}

.card {
  padding: var(--card-padding);
  background: var(--deep);
  border: 1px solid rgba(26, 107, 107, 0.12);
  border-radius: var(--radius);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--teal), var(--accent));
  opacity: 0;
  transition: opacity var(--transition);
}

.card {
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(26, 107, 107, 0.3);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
}

.card:hover::before {
  opacity: 1;
}

.card-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  background: rgba(26, 107, 107, 0.1);
  border: 1px solid rgba(26, 107, 107, 0.2);
  margin-bottom: 1.25rem;
  font-size: 1.4rem;
  color: var(--teal-bright);
  transition: background var(--transition), border-color var(--transition);
}

.card:hover .card-icon {
  background: rgba(26, 107, 107, 0.18);
  border-color: rgba(26, 107, 107, 0.35);
}

.card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.75rem;
}

.card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 0;
}

/* Card Variant: Gradient Border */
.card-glow {
  border: none;
  background: var(--deep);
  position: relative;
}

.card-glow::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  padding: 1px;
  background: linear-gradient(135deg, var(--teal), var(--accent));
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  -webkit-mask-composite: xor;
  pointer-events: none;
  opacity: 0.4;
  transition: opacity var(--transition);
}

.card-glow:hover::after {
  opacity: 0.8;
}


/* ----------------------------------------------------------
   8. TIMELINE
   ---------------------------------------------------------- */

.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(to bottom, var(--teal), var(--accent));
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  margin-bottom: 3rem;
  position: relative;
}

.timeline-item:nth-child(odd) {
  flex-direction: row-reverse;
}

.timeline-item:nth-child(odd) .timeline-content {
  text-align: right;
}

.timeline-dot {
  position: absolute;
  left: 50%;
  top: 1.5rem;
  transform: translateX(-50%);
  width: 14px;
  height: 14px;
  background: var(--accent);
  border: 3px solid var(--night);
  border-radius: 50%;
  z-index: 2;
  box-shadow: 0 0 12px rgba(255, 140, 0, 0.3);
}

.timeline-content {
  width: 45%;
  padding: 1.5rem 2rem;
  background: var(--deep);
  border: 1px solid rgba(26, 107, 107, 0.2);
  border-radius: var(--radius);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.timeline-content:hover {
  border-color: rgba(26, 107, 107, 0.4);
  box-shadow: 0 4px 20px rgba(26, 107, 107, 0.06);
}

.timeline-year {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
  display: inline-block;
}

.timeline-content h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.timeline-content p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0;
}


/* ----------------------------------------------------------
   9. BUTTONS
   ---------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.85rem 2rem;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--accent);
  color: var(--black);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}

.btn-primary:hover {
  background: var(--accent-light);
  color: var(--black);
  box-shadow: 0 4px 24px rgba(255, 140, 0, 0.3);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--teal-bright);
  border: 2px solid var(--teal);
  border-radius: 6px;
}

.btn-ghost:hover {
  background: rgba(26, 107, 107, 0.08);
  border-color: var(--teal-bright);
  color: var(--teal-bright);
  box-shadow: 0 4px 24px rgba(26, 107, 107, 0.15);
  transform: translateY(-1px);
}

.btn-small {
  font-size: 0.7rem;
  padding: 0.55rem 1.2rem;
}

.btn-icon {
  font-size: 1em;
  line-height: 1;
}


/* ----------------------------------------------------------
   10. FORMS
   ---------------------------------------------------------- */

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--text-light);
  background: #fff;
  border: 1px solid var(--steel);
  border-radius: var(--radius);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(26, 107, 107, 0.15);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--slate);
}

.form-textarea {
  min-height: 140px;
  resize: vertical;
}

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


/* ----------------------------------------------------------
   11. FOOTER
   ---------------------------------------------------------- */

.footer {
  background: #e0e3ec;
  border-top: 1px solid rgba(26, 107, 107, 0.1);
  padding: 4rem 2rem 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.footer-col h4 {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  margin-bottom: 1.25rem;
  color: var(--text-light);
}

.footer-col p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.footer-col a {
  display: block;
  font-size: 0.88rem;
  color: var(--text-muted);
  padding: 0.25rem 0;
  transition: color var(--transition), padding-left var(--transition);
}

.footer-col a:hover {
  color: var(--teal-bright);
  padding-left: 0.3rem;
}

.footer-bottom {
  max-width: 1100px;
  margin: 3rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(26, 107, 107, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0;
}

.footer-bottom a {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-bottom a:hover {
  color: var(--teal-bright);
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}


/* ----------------------------------------------------------
   12. REVEAL ANIMATION
   ---------------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-left.visible,
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}


/* ----------------------------------------------------------
   13. RESPONSIVE
   ---------------------------------------------------------- */

@media (max-width: 900px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    display: none;
  }

  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .timeline::before {
    left: 20px;
  }

  .timeline-item,
  .timeline-item:nth-child(odd) {
    flex-direction: row;
    padding-left: 50px;
  }

  .timeline-item:nth-child(odd) .timeline-content {
    text-align: left;
  }

  .timeline-dot {
    left: 20px;
  }

  .timeline-content {
    width: 100%;
  }

  .hero h1 {
    font-size: clamp(1.8rem, 5vw, 2.6rem);
  }

  :root {
    --section-padding: 5rem 1.5rem;
  }
}

@media (max-width: 900px) {
  .product-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
}

@media (max-width: 600px) {
  table {
    font-size: 0.8rem;
  }

  table th,
  table td {
    padding: 0.5rem 0.4rem !important;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  .banner-strip {
    gap: 1.5rem;
    padding: 2rem 1rem;
  }

  .banner-stat .number {
    font-size: 1.5rem;
  }

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-legal {
    justify-content: center;
  }

  :root {
    --section-padding: 4rem 1rem;
    --card-padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 5rem 1rem 3rem;
  }

  .hero-sub {
    font-size: 1rem;
  }

  .navbar {
    padding: 0.8rem 1rem;
  }

  .navbar.scrolled {
    padding: 0.5rem 1rem;
  }

  .timeline-item,
  .timeline-item:nth-child(odd) {
    padding-left: 40px;
  }

  .timeline::before {
    left: 14px;
  }

  .timeline-dot {
    left: 14px;
    width: 12px;
    height: 12px;
  }

  .timeline-content {
    padding: 1.2rem 1.2rem;
  }
}


/* ----------------------------------------------------------
   14. LIGHT THEME
   ---------------------------------------------------------- */

[data-theme="dark"] {
  --black: #050810;
  --dark: #0a0e18;
  --night: #0f1420;
  --deep: #141a2e;
  --steel: #1c2440;
  --slate: #2a3555;
  --teal: #1a6b6b;
  --teal-light: #238888;
  --teal-bright: #2cb5b5;
  --accent: #ff8c00;
  --accent-light: #ffaa33;
  --accent-glow: rgba(255, 140, 0, .15);
  --text-muted: #8090a8;
  --text: #c0cce0;
  --text-light: #e0e8f4;
  --white: #f0f4fc;
}

[data-theme="dark"] .navbar.scrolled {
  background: rgba(10, 14, 24, 0.95);
  box-shadow: 0 1px 0 rgba(26, 107, 107, 0.15);
}

[data-theme="dark"] .card {
  box-shadow: none;
}

[data-theme="dark"] .terminal-box {
  background: #050810;
}

[data-theme="dark"] .footer {
  background: #030508;
}


/* ----------------------------------------------------------
   15. THEME TOGGLE
   ---------------------------------------------------------- */

.theme-toggle {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 900;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(26, 107, 107, 0.3);
  background: var(--deep);
  color: var(--teal-bright);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

.theme-toggle:hover {
  border-color: var(--teal);
  background: rgba(26, 107, 107, 0.1);
  transform: scale(1.08);
}

[data-theme="dark"] .theme-toggle {
  background: var(--deep);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}


/* ----------------------------------------------------------
   16. COOKIE BANNER (DSGVO)
   ---------------------------------------------------------- */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--night);
  border-top: 1px solid rgba(26, 107, 107, 0.15);
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  transform: translateY(100%);
  transition: transform 0.4s ease;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-banner p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0;
  max-width: 700px;
}

.cookie-banner a {
  color: var(--teal-bright);
  text-decoration: underline;
}

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

.cookie-btn {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.55rem 1.2rem;
  border-radius: var(--radius);
  cursor: pointer;
  border: none;
  transition: all var(--transition);
}

.cookie-btn-accept {
  background: var(--teal);
  color: var(--white);
}

.cookie-btn-accept:hover {
  background: var(--teal-light);
}

.cookie-btn-decline {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--steel);
}

.cookie-btn-decline:hover {
  border-color: var(--text-muted);
  color: var(--text);
}


/* ----------------------------------------------------------
   17. CODE / TECH ACCENTS
   ---------------------------------------------------------- */

code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.88em;
  background: rgba(26, 107, 107, 0.1);
  color: var(--teal-bright);
  padding: 0.15em 0.45em;
  border-radius: 3px;
}

pre {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  background: var(--black);
  color: var(--text);
  padding: 1.5rem;
  border-radius: var(--radius);
  overflow-x: auto;
  border: 1px solid rgba(26, 107, 107, 0.1);
}

/* Terminal-Style Box */
.terminal-box {
  background: var(--black);
  border: 1px solid rgba(26, 107, 107, 0.15);
  border-radius: var(--radius);
  overflow: hidden;
}

.terminal-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1rem;
  background: rgba(26, 107, 107, 0.06);
  border-bottom: 1px solid rgba(26, 107, 107, 0.1);
}

.terminal-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.terminal-dot:nth-child(1) { background: #ff5f57; }
.terminal-dot:nth-child(2) { background: #ffbd2e; }
.terminal-dot:nth-child(3) { background: #28c840; }

.terminal-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-left: 0.5rem;
}

.terminal-body {
  padding: 1.25rem 1.25rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.82rem;
  line-height: 1.8;
  color: var(--teal-bright);
}

.terminal-body .prompt {
  color: var(--accent);
  user-select: none;
}

.terminal-body .comment {
  color: var(--slate);
}

.terminal-body .output {
  color: var(--text-muted);
}

/* Tech Feature List */
.tech-list {
  list-style: none;
  padding: 0;
}

.tech-list li {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  color: var(--text);
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(26, 107, 107, 0.08);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.tech-list li::before {
  content: '>';
  color: var(--teal-bright);
  font-weight: 700;
  flex-shrink: 0;
}

/* Code Snippet Feature Cards */
.code-feature {
  background: var(--black);
  border: 1px solid rgba(26, 107, 107, 0.12);
  border-radius: var(--radius);
  padding: 1.5rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.82rem;
  color: var(--teal-bright);
  line-height: 1.8;
  position: relative;
  overflow: hidden;
}

.code-feature::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(to bottom, var(--teal), var(--accent));
}

.code-feature .keyword { color: var(--accent); }
.code-feature .string  { color: #a8e6cf; }
.code-feature .comment { color: var(--slate); }


/* ----------------------------------------------------------
   18. LANGUAGE SWITCHER
   ---------------------------------------------------------- */

.lang-switch {
  display: flex;
  gap: 0;
  border: 1px solid rgba(26, 107, 107, 0.3);
  border-radius: 3px;
  overflow: hidden;
  align-self: center;
}

.lang-btn {
  padding: 0.3rem 0.8rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.lang-btn:first-child {
  border-right: 1px solid rgba(26, 107, 107, 0.3);
}

.lang-btn.active {
  background: var(--teal);
  color: var(--white);
}

.lang-btn:hover:not(.active) {
  color: var(--text-light);
  background: rgba(26, 107, 107, 0.08);
}


/* ----------------------------------------------------------
   UTILITIES
   ---------------------------------------------------------- */

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.gap-4 { gap: 2rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-2 { margin-top: 1rem; }
.mt-4 { margin-top: 2rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 2rem; }
.w-full { width: 100%; }
.hidden { display: none; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ----------------------------------------------------------
   REFERENZ-THUMBNAILS
   ---------------------------------------------------------- */
.ref-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.ref-card:hover { color: inherit; }
.ref-thumb {
  aspect-ratio: 16/10;
  object-fit: cover;
  object-position: top;
  border-radius: var(--radius) var(--radius) 0 0;
  margin-top: calc(-1 * var(--card-padding));
  margin-left: calc(-1 * var(--card-padding));
  margin-right: calc(-1 * var(--card-padding));
  margin-bottom: 1.25rem;
  width: calc(100% + 2 * var(--card-padding));
  max-width: none;
  display: block;
  transition: opacity var(--transition);
}
.ref-card:hover .ref-thumb { opacity: 0.85; }
.ref-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: var(--teal-bright);
  margin-top: auto;
  padding-top: 0.75rem;
  text-decoration: none;
  transition: color var(--transition);
}
.ref-card:hover .ref-link { color: var(--accent); }

/* ----------------------------------------------------------
   BEFORE / AFTER SHOWCASE
   ---------------------------------------------------------- */
.ba-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-top: 2.5rem;
  align-items: start;
}
.ba-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  background: var(--deep);
}
.ba-card img {
  width: 100%;
  display: block;
}
.ba-label {
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ba-label-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: 3px;
  font-weight: 700;
}
.ba-label-tag--old {
  background: var(--text-muted);
  color: var(--deep);
}
.ba-label-tag--new {
  background: var(--accent);
  color: var(--black);
}
.ba-label span:last-child {
  font-size: 0.85rem;
  color: var(--text-muted);
}
.ba-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--accent);
  align-self: center;
}
@media (max-width: 600px) {
  .ba-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .ba-arrow {
    transform: rotate(90deg);
    font-size: 2rem;
  }
}
