/* ================================
   IT Service Level1 – Global Styles (Business)
   Gilt für: index, leistungen, kontakt, thankyou (+ EN)
   Keine Designänderung – nur ausgelagert & geordnet
==================================*/

/* ====== Design-Varianten ====== */
:root {
  --bg-dark: #0c1118;
  --bg-light: #f8fafc;
  --accent: #00c4b3;
  --accent-dark: #009b8c;
  --text-light: #f3f4f6;
  --text-dark: #1e293b;
  --bg: #0b1220;
  --bg-2: #0d1426;
  --card: #0f172a;
  --text: #e5e7eb;
  --muted: #94a3b8;
  --border: rgba(255, 255, 255, .08);
  --brand: #2563eb;
  --brand-2: #1e40af;
  --cta: #12b886;
  --ok: #10b981;
  --danger: #ef4444;
  --shadow: 0 10px 30px rgba(0, 0, 0, .25);
  --radius: 14px;
}

/* ====== Reset & Baselines ====== */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
img { max-width: 100%; height: auto; display: block; }

/* ====== Typografie & Grundfarben ====== */
body.index {
  font-family: "Poppins", system-ui, sans-serif;
  color: var(--text-dark);
  background: var(--bg-light);
  line-height: 1.6;
}

body.dark {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Inter, Arial, sans-serif;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg) 40%, var(--bg-2) 100%);
  color: var(--text);
  line-height: 1.6;
}

/* ====== Header / Navigation ====== */
header, .site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: saturate(120%) blur(8px);
  background: rgba(12, 17, 24, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.header-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 8%;
  gap: 10px;
  flex-wrap: nowrap;
}

.container {
  width: min(1100px, 92%);
  margin-inline: auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
  font-weight: 700;
}

.brand img { width: 36px; height: 36px; }
.brand span { letter-spacing: .2px; }

.site-nav ul, nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1rem;
}

.site-nav a, nav a {
  color: #cbd5e1;
  text-decoration: none;
  font-weight: 500;
  padding: .4rem .6rem;
  border-radius: 8px;
  transition: background .2s, color .2s, box-shadow .2s;
}

.site-nav a:hover, nav a:hover { background: rgba(255, 255, 255, .06); }

.site-nav a.active, nav a.active, .site-nav a[aria-current="page"] {
  color: #eaf2ff;
  box-shadow: inset 0 -2px 0 0 var(--cta);
}

/* Sprachumschalter */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 6px;
}
.lang-switch a { color: #16a085; text-decoration: none; font-weight: 600; margin: 0 4px; }
.lang-switch a:hover { text-decoration: underline; }
.lang-switch .active { color: #000; font-weight: 700; text-decoration: underline; }
.lang-switch img { width: 24px; height: 24px; }

/* ====== Hero / Buttons ====== */
.hero {
  background: linear-gradient(135deg, #08142b, #003366 60%, #006d73);
  color: #fff;
  padding: 100px 8% 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
}
.hero h1 { font-size: 2.8rem; line-height: 1.3; margin: 0 0 20px; }
.hero .lead { font-size: 1.2rem; opacity: .9; margin-bottom: 25px; }
.hero ul { list-style: none; padding: 0; margin-top: 25px; display: flex; flex-wrap: wrap; gap: 15px; font-size: .95rem; opacity: .9; }
.hero img { width: 100%; border-radius: 12px; box-shadow: 0 10px 35px rgba(0, 0, 0, .4); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 25px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform .03s, filter .15s, background .2s, box-shadow .2s;
}
.btn.primary { background: var(--accent, var(--cta)); color: #0a0f1a; box-shadow: var(--shadow); }
.btn.primary:hover { filter: saturate(110%) brightness(1.05); transform: translateY(-1px); }
.btn.ghost { border-color: rgba(255, 255, 255, .18); color: #e2e8f0; background: rgba(255, 255, 255, .03); }
.btn.ghost:hover { background: rgba(255, 255, 255, .08); }

/* ====== About / Sections ====== */
#about {
  background: var(--bg-light);
  padding: 100px 8%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 50px;
}
#about h2 { color: #009b8c; font-size: 2rem; margin-bottom: 20px; }
#about p { color: #444; }

section.section { padding: 100px 8%; background: var(--bg-dark); color: var(--text-light); }
section.section.alt { background: #111827; }
h2 { text-align: center; font-size: 2rem; margin-bottom: 50px; color: var(--accent, var(--cta)); }

/* ====== Cards / Grids ====== */
.grid.cards {
  display: grid;
  gap: 1rem;
  margin-top: 1.2rem;
  grid-template-columns: repeat(3, 1fr);
}
.card {
  background: var(--card, #0f172a);
  border: 1px solid var(--border);
  border-radius: var(--radius, 12px);
  padding: 1rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .18);
  transition: transform .25s ease, box-shadow .25s ease;
  cursor: pointer;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 12px 32px rgba(0, 0, 0, .3); }
.card h3 { font-weight: 700; color: #fff; }
.card ul { margin: .2rem 0 0 1.1rem; color: #cbd5e1; }
.card img { width: 44px; height: 44px; opacity: .95; }

/* ====== SLA ====== */
.sla-section {
  background: linear-gradient(180deg, #0f172a, #0d1426);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  margin-top: 4rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, .25);
}
.sla-section h2 {
  color: var(--cta);
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}
.sla-section p {
  color: var(--text);
  text-align: center;
  max-width: 800px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}
.sla-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.sla-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  color: var(--muted);
  transition: transform .25s, box-shadow .25s;
}
.sla-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 28px rgba(0,0,0,.35);
}
.sla-card h4 { color: var(--cta); margin-top: 0; margin-bottom: .5rem; }
.sla-card ul { margin: .6rem 0 0 1.2rem; list-style: disc; color: #cbd5e1; line-height: 1.5; }
@media (max-width: 768px) {
  .sla-cards { grid-template-columns: 1fr; }
}

/* ====== Footer ====== */
.site-footer {
  background: #0b1018;
  padding: 35px 0;
  text-align: center;
  color: #9aa4b2;
  font-size: 14px;
  margin-top: 50px;
}
.site-footer a { color: #00c4b3; margin: 0 8px; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

/* ====== Kontaktformular ====== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; margin-top: 40px; align-items: start; }
.contact-info { font-size: 16px; line-height: 1.6; }
.contact-info a { color: var(--cta); text-decoration: none; font-weight: 500; }
.contact-info a:hover { text-decoration: underline; }
.contact-form form {
  background: var(--card);
  padding: 25px;
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: 0 8px 28px rgba(0, 0, 0, .25);
}
.contact-form input, .contact-form textarea {
  width: 100%; padding: 12px; margin-top: 5px; margin-bottom: 15px;
  border-radius: 8px; border: 1px solid var(--border);
  background: #0f172a; color: #fff; font-family: inherit; font-size: 15px; resize: vertical;
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--cta);
  box-shadow: 0 0 0 2px rgba(18,184,134,.3);
}
.contact-form button {
  background: var(--cta); border: none; padding: 12px 20px; border-radius: 8px;
  color: #fff; font-size: 16px; font-weight: 600; cursor: pointer;
  transition: background .2s ease, transform .15s ease;
}
.contact-form button:hover { background: #10a37f; transform: translateY(-2px); }
.privacy-note { font-size: .9rem; margin-top: 10px; color: #94a3b8; text-align: center; }

/* ====== Mobile Ansicht ====== */
@media (max-width: 900px) {
  body.index .hero, body.dark .hero {
    grid-template-columns: 1fr; text-align: center; padding: 80px 6%;
  }
  .hero div:last-child { order: -1; margin-bottom: 25px; }
  .hero ul { justify-content: center; }
  #about { grid-template-columns: 1fr; text-align: center; gap: 35px; padding: 80px 6%; }
  .grid.cards { grid-template-columns: 1fr 1fr; gap: 20px; }
  section.section { padding: 80px 6%; }
}
@media (max-width: 600px) {
  .hero { padding: 60px 5%; }
  #about { padding: 60px 5%; }
  .grid.cards { grid-template-columns: 1fr; }
  .btn { width: 100%; justify-content: center; margin-bottom: 10px; }
  .site-footer { font-size: 13px; padding: 25px 10px; }
  main { margin-top: 70px; }
}

/* ====== Mobile-Fix: Häkchen entfernen ====== */
@media (max-width: 768px) {
  .hero ul li { list-style: none; margin-left: 0; }
  .hero ul li::before { content: none !important; }
}

/* ====== "about-list" entfernen ====== */
.about-list { display: none !important; }



.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 22px;
  margin-left: 10px; /* Abstand zur Flagge */
  z-index: 2000;
}

.nav-toggle .bar {
  height: 3px;
  width: 100%;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.nav-toggle.active .bar:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
.nav-toggle.active .bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle.active .bar:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* --- Nur auf mobilen Geräten aktiv --- */
@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
    order: 3; /* Toggle ganz rechts */
  }

  .header-wrap {
    flex-wrap: nowrap;
  }

  .lang-switch {
    display: flex;
    align-items: center;
    gap: 8px;
    order: 2;
  }

  .site-nav {
    display: none;
    flex-direction: column;
    background: rgba(12, 17, 24, 0.98);
    border-top: 1px solid rgba(255, 255, 255, .08);
    padding: 10px 0;
    text-align: center;
    position: absolute;
    top: 65px;
    right: 8%;
    width: 230px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,.5);
  }

  .site-nav ul {
    flex-direction: column;
    gap: 0;
  }

  .site-nav a {
    display: block;
    padding: 12px 0;
    border-radius: 0;
  }

  .site-nav.active {
    display: flex;
    animation: slideDown .3s ease forwards;
  }
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

