/* =========================================================
   praxis.icte.at — Stylesheet
   Ein Angebot der ICTE Managed IT Services
   Design-System: ICTE Brand (Accent Green) + Praxis (Teal / Sand)
   ========================================================= */

/* ---------- 1. Design Tokens ---------- */
:root {
  /* ICTE Primärfarben */
  --brand-dark:     #08080A;
  --brand-bg:       #0F1311;
  --accent-green:   #7AD64A;
  --accent-green-dark: #5BB72E;
  --text-light:     #F0F5F0;

  /* Praxis-Akzente */
  --praxis-teal:        #1F6B7A;
  --praxis-teal-soft:   #2A8395;
  --praxis-teal-deep:   #154852;
  --praxis-sand:        #E8DBC5;
  --praxis-sand-soft:   #F2E8D5;

  /* Helle Flächen */
  --surface:        #FFFFFF;
  --surface-alt:    #F6F7F4;
  --surface-line:   #E5E7E0;
  --text-body:      #1A2632;
  --text-muted:     #5A6478;

  /* Maße */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-pill: 999px;

  --container: 1180px;
  --gutter: clamp(20px, 4vw, 48px);

  --shadow-sm: 0 2px 6px rgba(8, 8, 10, 0.06);
  --shadow-md: 0 10px 30px rgba(8, 8, 10, 0.10);
  --shadow-glow: 0 0 40px rgba(122, 214, 74, 0.18);

  /* Typo */
  --font-sans: "DejaVu Sans", Arial, Helvetica, system-ui, sans-serif;
  --leading: 1.35;
}

/* ---------- 2. Reset & Basics ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: var(--leading);
  color: var(--text-body);
  background: var(--surface);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-green-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { color: var(--praxis-teal-deep); margin: 0 0 0.5em; line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.25rem); letter-spacing: -0.005em; }
h3 { font-size: 1.2rem; }
p  { margin: 0 0 1em; max-width: 65ch; }
ul { margin: 0 0 1em; padding-left: 1.25em; }
li { margin-bottom: 0.35em; }

/* ---------- 3. Layout-Helfer ---------- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section   { padding: clamp(56px, 8vw, 96px) 0; }
.section--alt { background: var(--surface-alt); }
.section--dark {
  background: var(--brand-bg);
  color: var(--text-light);
  position: relative;
  overflow: hidden;
}
.section--dark h1,
.section--dark h2,
.section--dark h3 { color: var(--text-light); }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-green-dark);
  margin-bottom: 0.9em;
}
.section--dark .eyebrow { color: var(--accent-green); }

.lead { font-size: 1.15rem; color: var(--text-muted); max-width: 60ch; }

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.95em 1.6em;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: 0.02em;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, color .15s ease, box-shadow .15s ease;
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary {
  background: var(--accent-green);
  color: var(--brand-dark);
  box-shadow: var(--shadow-glow);
}
.btn-primary:hover { background: var(--accent-green-dark); color: var(--brand-dark); }
.btn-ghost {
  background: transparent;
  color: var(--text-light);
  border-color: rgba(240,245,240,0.4);
}
.btn-ghost:hover { border-color: var(--accent-green); color: var(--accent-green); }
.btn-outline {
  background: transparent;
  color: var(--praxis-teal-deep);
  border-color: var(--praxis-teal-deep);
}
.btn-outline:hover { background: var(--praxis-teal-deep); color: var(--text-light); }

/* ---------- 5. Pill-Badge (ICTE-Element) ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.4em 1em;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: var(--accent-green);
  color: var(--brand-dark);
}
.pill--sand { background: var(--praxis-sand); color: var(--praxis-teal-deep); }
.pill--teal { background: var(--praxis-teal); color: var(--text-light); }
.pill--outline {
  background: transparent;
  color: var(--text-light);
  border: 1px solid rgba(240,245,240,0.35);
}

/* ---------- 6. Header / Navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(15, 19, 17, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(122, 214, 74, 0.15);
}
.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 14px 0;
  color: var(--text-light);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text-light);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  margin-right: auto;
}
.brand-mark {
  width: 38px; height: 38px;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.brand-mark svg { width: 100%; height: 100%; display: block; }
.brand-suffix { color: var(--accent-green); font-weight: 400; }

/* ICTE Sub-Brand-Verweis im Header */
.powered-by {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  color: rgba(240,245,240,0.65);
  letter-spacing: 0.04em;
  text-decoration: none;
  padding-left: 18px;
  border-left: 1px solid rgba(240,245,240,0.15);
  white-space: nowrap;
}
.powered-by:hover { color: var(--accent-green); text-decoration: none; }
.powered-by img { width: 30px; height: 30px; border-radius: 50%; display: block; }
.powered-by-label { display: inline-block; }

.nav-links {
  display: flex; gap: 22px; align-items: center;
  list-style: none; margin: 0; padding: 0;
}
.nav-links a {
  color: var(--text-light);
  font-size: 0.94rem;
  text-decoration: none;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
}
.nav-links a:hover { color: var(--accent-green); border-bottom-color: var(--accent-green); text-decoration: none; }
.nav-cta {
  background: var(--accent-green);
  color: var(--brand-dark) !important;
  padding: 8px 14px !important;
  border-radius: var(--radius-sm);
  font-weight: 700;
  border: 0 !important;
}
.nav-cta:hover { background: var(--accent-green-dark); }

.nav-toggle {
  display: none;
  background: transparent; border: 0; color: var(--text-light);
  font-size: 1.4rem; cursor: pointer;
}

/* ---------- 7. Hero ---------- */
.hero {
  position: relative;
  padding: clamp(80px, 12vw, 140px) 0 clamp(70px, 10vw, 120px);
  background: var(--brand-bg);
  color: var(--text-light);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -10%; left: 50%;
  width: 60vw; height: 60vw;
  background: radial-gradient(circle, rgba(122,214,74,0.22) 0%, rgba(122,214,74,0) 60%);
  transform: translateX(-50%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  bottom: -20%; right: -10%;
  width: 35vw; height: 35vw;
  background: radial-gradient(circle, rgba(31,107,122,0.20) 0%, rgba(31,107,122,0) 60%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; }
.hero h1 { color: var(--text-light); max-width: 18ch; }
.hero h1 em { font-style: normal; color: var(--accent-green); }
.hero .lead { color: rgba(240,245,240,0.85); font-size: 1.15rem; max-width: 56ch; margin-top: 8px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

.trust-bar {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 14px;
  padding: 18px 20px;
  background: rgba(8,8,10,0.4);
  border: 1px solid rgba(122,214,74,0.18);
  border-radius: var(--radius-md);
  color: rgba(240,245,240,0.85);
  font-size: 0.88rem;
}
.trust-bar span { display: inline-flex; align-items: center; gap: 8px; }
.trust-bar span::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--accent-green);
  border-radius: 50%;
  display: inline-block;
}

/* Corner-Akzente */
.corner-tl, .corner-br {
  position: absolute;
  width: 80px; height: 80px;
  pointer-events: none;
  z-index: 0;
}
.corner-tl { top: 24px; left: 24px; border-top: 4px solid var(--accent-green); border-left: 4px solid var(--accent-green); }
.corner-br { bottom: 24px; right: 24px; border-bottom: 4px solid var(--accent-green); border-right: 4px solid var(--accent-green); }

/* ---------- 8. Karten-Grid ---------- */
.grid {
  display: grid;
  gap: 24px;
}
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(360px, 1fr)); }

.card {
  background: var(--surface);
  border: 1px solid var(--surface-line);
  border-radius: var(--radius-md);
  padding: 28px 26px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  position: relative;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--accent-green); }
.card h3 { margin-top: 14px; }
.card p { color: var(--text-muted); font-size: 0.96rem; margin-bottom: 0; }

.card-icon {
  width: 44px; height: 44px;
  background: var(--accent-green);
  color: var(--brand-dark);
  border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 900;
  font-size: 1.1rem;
}
.card--teal .card-icon { background: var(--praxis-teal); color: var(--text-light); }
.card--sand .card-icon { background: var(--praxis-sand); color: var(--praxis-teal-deep); }

/* Branchen-Karten */
.branch-card {
  display: flex;
  flex-direction: column;
  padding: 32px 28px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--surface-line);
  border-top: 4px solid var(--accent-green);
  transition: transform .18s ease, box-shadow .18s ease;
}
.branch-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.branch-card--teal { border-top-color: var(--praxis-teal); }
.branch-card--sand { border-top-color: var(--praxis-sand); }
.branch-card h3 { color: var(--praxis-teal-deep); font-size: 1.3rem; }
.branch-card p { color: var(--text-muted); margin-bottom: 18px; }
.branch-card .link-arrow {
  margin-top: auto;
  color: var(--accent-green-dark);
  font-weight: 700;
  font-size: 0.95rem;
  display: inline-flex; align-items: center; gap: 6px;
  text-decoration: none;
}
.branch-card .link-arrow:hover { gap: 10px; color: var(--accent-green); text-decoration: none; }

/* ---------- 9. „Warum"-Block ---------- */
.why-item h3 {
  font-size: 1.1rem;
  color: var(--text-light);
  display: flex; align-items: center; gap: 10px;
}
.why-item h3::before {
  content: "✓";
  width: 28px; height: 28px;
  background: var(--accent-green);
  color: var(--brand-dark);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 900;
  font-size: 0.85rem;
}
.why-item p { color: rgba(240,245,240,0.78); }

/* ---------- 10. Partner-Stack ---------- */
.partners {
  display: grid;
  gap: 36px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.partner-group h4 {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-green-dark);
  margin: 0 0 14px;
}
.partner-group ul { list-style: none; padding: 0; margin: 0; }
.partner-group li {
  padding: 10px 14px;
  background: var(--surface-alt);
  border-left: 3px solid var(--accent-green);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--praxis-teal-deep);
}
.partner-group li small {
  display: block;
  font-weight: 400;
  color: var(--text-muted);
  font-size: 0.82rem;
}

/* ---------- 11. Prozess (3 Schritte) ---------- */
.steps { counter-reset: step; }
.step {
  position: relative;
  padding-left: 70px;
  margin-bottom: 28px;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0; top: -6px;
  width: 50px; height: 50px;
  border-radius: 50%;
  background: var(--praxis-teal);
  color: var(--praxis-sand);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 900;
  font-size: 1.3rem;
  font-family: var(--font-sans);
}
.step h3 { margin-bottom: 6px; }

/* ---------- 12. Final CTA ---------- */
.final-cta {
  position: relative;
  background: var(--brand-bg);
  color: var(--text-light);
  border-radius: var(--radius-md);
  padding: clamp(40px, 6vw, 64px);
  overflow: hidden;
  text-align: center;
}
.final-cta::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(122,214,74,0.18) 0%, rgba(122,214,74,0) 60%);
  pointer-events: none;
}
.final-cta h2 { color: var(--text-light); }
.final-cta .lead { color: rgba(240,245,240,0.85); margin: 0 auto; }
.final-cta-actions { display: inline-flex; flex-wrap: wrap; gap: 12px 22px; margin-top: 28px; position: relative; }
.final-cta-actions a { color: var(--text-light); }
.final-cta-actions a:hover { color: var(--accent-green); }
.final-cta-actions .btn-primary:hover { color: var(--brand-dark); }

/* ---------- 13. Footer ---------- */
.site-footer {
  background: var(--brand-dark);
  color: rgba(240,245,240,0.75);
  padding: 56px 0 24px;
  font-size: 0.92rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 36px;
}
.site-footer h4 {
  color: var(--text-light);
  font-size: 0.84rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.site-footer a { color: rgba(240,245,240,0.75); }
.site-footer a:hover { color: var(--accent-green); text-decoration: none; }
.footer-bottom {
  border-top: 1px solid rgba(240,245,240,0.12);
  padding-top: 20px;
  display: flex; flex-wrap: wrap; gap: 16px;
  justify-content: space-between;
  font-size: 0.85rem;
  color: rgba(240,245,240,0.55);
}
.claim {
  color: var(--accent-green);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin-top: 18px;
}
.footer-icte {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
  padding: 10px 14px 10px 10px;
  background: rgba(240,245,240,0.04);
  border: 1px solid rgba(240,245,240,0.10);
  border-radius: var(--radius-sm);
  color: rgba(240,245,240,0.85) !important;
  font-size: 0.85rem;
  text-decoration: none;
  transition: border-color .15s ease, background .15s ease;
}
.footer-icte:hover {
  border-color: var(--accent-green);
  background: rgba(122,214,74,0.06);
  text-decoration: none;
}
.footer-icte img { width: 36px; height: 36px; border-radius: 50%; display: block; }

/* ---------- 13b. Legal-Seiten ---------- */
.legal { max-width: 780px; }
.legal h2 { margin-top: 1.6em; }
.legal h3 {
  margin-top: 1.8em;
  font-size: 1.05rem;
  color: var(--praxis-teal-deep);
}
.legal p, .legal li { color: var(--text-body); }
.legal .meta {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-top: 0.4em;
}
.legal dl {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 10px 24px;
  margin: 1.4em 0;
  padding: 22px 24px;
  background: var(--surface-alt);
  border-left: 3px solid var(--accent-green);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.legal dt {
  font-weight: 700;
  color: var(--praxis-teal-deep);
  font-size: 0.92rem;
}
.legal dd {
  margin: 0;
  color: var(--text-body);
  font-size: 0.95rem;
}
.legal-note {
  margin-top: 2.4em;
  padding: 18px 22px;
  background: rgba(122, 214, 74, 0.08);
  border-left: 3px solid var(--accent-green);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.95rem;
}
@media (max-width: 640px) {
  .legal dl { grid-template-columns: 1fr; gap: 4px 0; }
  .legal dt { margin-top: 8px; }
}

/* ---------- 14. Mobile ---------- */
@media (max-width: 820px) {
  .nav-toggle { display: inline-block; order: 3; }
  .powered-by { order: 2; padding-left: 12px; }
  .powered-by-label { display: none; }
  .powered-by img { width: 26px; height: 26px; }
  .nav-links {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    background: var(--brand-bg);
    border-bottom: 1px solid rgba(122,214,74,0.18);
    padding: 14px var(--gutter);
    gap: 14px;
    display: none;
    order: 4;
  }
  .nav-links.open { display: flex; }
  .corner-tl, .corner-br { width: 50px; height: 50px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .brand-mark { width: 34px; height: 34px; }
}
