/* =========================================================
   Steiermark IT — Stylesheet
   B2B Managed Services · Steirisches Grün · Plattform
   ========================================================= */

/* ---------- 1. Design Tokens ---------- */
:root {
  --brand-dark:        #0A1410;
  --brand-bg:          #0F1815;
  --accent-green:      #00A35C;
  --accent-green-dark: #00824A;
  --accent-green-deep: #005C34;
  --accent-green-soft: #4FB87E;
  --text-light:        #F4F8F1;

  --surface:           #FFFFFF;
  --surface-alt:       #F1F6F2;
  --surface-line:      #D9E7DD;
  --text-body:         #15201A;
  --text-muted:        #5D6B62;
  --text-heading:      #0A1410;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-pill: 999px;

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

  --shadow-sm: 0 2px 6px rgba(10, 20, 16, 0.06);
  --shadow-md: 0 10px 30px rgba(10, 20, 16, 0.10);
  --shadow-glow: 0 0 40px rgba(0, 163, 92, 0.22);

  --font-sans: "DejaVu Sans", Arial, Helvetica, system-ui, sans-serif;
  --leading: 1.45;
}

/* ---------- 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(--text-heading); 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 ---------- */
.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; }
.section--dark .lead { color: rgba(244,248,241,0.85); }

/* ---------- 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(--text-light); }
.btn-ghost {
  background: transparent;
  color: var(--text-light);
  border-color: rgba(244,248,241,0.4);
}
.btn-ghost:hover { border-color: var(--accent-green); color: var(--accent-green); }
.btn-outline {
  background: transparent;
  color: var(--text-heading);
  border-color: var(--text-heading);
}
.btn-outline:hover { background: var(--text-heading); color: var(--text-light); }

/* ---------- 5. Pill ---------- */
.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--outline {
  background: transparent;
  color: var(--text-light);
  border: 1px solid rgba(244,248,241,0.35);
}

/* ---------- 6. Header / Navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(15, 24, 21, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(0, 163, 92, 0.18);
}
.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; }

.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,
.nav-links a.active { 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); color: var(--text-light) !important; border-bottom-color: transparent !important; }

.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: -20%; left: -10%;
  width: 55vw; height: 55vw;
  background: radial-gradient(circle, rgba(0,163,92,0.25) 0%, rgba(0,163,92,0) 60%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  bottom: -25%; right: -15%;
  width: 45vw; height: 45vw;
  background: radial-gradient(circle, rgba(0,92,52,0.32) 0%, rgba(0,92,52,0) 65%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.hero-text { min-width: 0; }
.hero-visual {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-illustration {
  width: 100%;
  max-width: 520px;
  height: auto;
  display: block;
  filter: drop-shadow(0 30px 50px rgba(0,0,0,0.45));
}
.hero h1 { color: var(--text-light); max-width: 22ch; }
.hero h1 em { font-style: normal; color: var(--accent-green); }
.hero .lead { color: rgba(244,248,241,0.85); font-size: 1.2rem; max-width: 58ch; margin-top: 8px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { max-width: 420px; margin: 24px auto 0; }
  .hero-illustration { max-width: 420px; }
}

.trust-bar {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 14px;
  padding: 18px 20px;
  background: rgba(10,20,16,0.4);
  border: 1px solid rgba(0,163,92,0.22);
  border-radius: var(--radius-md);
  color: rgba(244,248,241,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-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); }

/* Sub-Page Hero */
.subhero {
  background: var(--brand-bg);
  color: var(--text-light);
  padding: clamp(60px, 8vw, 90px) 0 clamp(40px, 6vw, 60px);
  position: relative;
  overflow: hidden;
}
.subhero::before {
  content: "";
  position: absolute;
  top: -30%; left: 60%;
  width: 50vw; height: 50vw;
  background: radial-gradient(circle, rgba(0,163,92,0.20) 0%, rgba(0,163,92,0) 60%);
  pointer-events: none;
}
.subhero h1 { color: var(--text-light); max-width: 22ch; }
.subhero .lead { color: rgba(244,248,241,0.85); max-width: 60ch; }
.subhero-inner { position: relative; z-index: 1; }

/* ---------- 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.2rem;
}

/* ---------- 9. Paket-Karten (ohne Preise) ---------- */
.package-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  margin-top: 42px;
}
.package-card {
  background: var(--surface);
  border: 1px solid var(--surface-line);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease;
  position: relative;
}
.package-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.package-card--featured {
  border: 2px solid var(--accent-green);
  box-shadow: var(--shadow-glow);
}
.package-card--featured::before {
  content: "Beliebteste Wahl";
  position: absolute;
  top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--accent-green);
  color: var(--brand-dark);
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}
.package-card .level {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-green-dark);
  margin-bottom: 8px;
}
.package-card h3 { font-size: 1.45rem; color: var(--text-heading); margin-bottom: 8px; }
.package-card .goal {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
  font-style: italic;
}
.package-card .feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  font-size: 0.95rem;
}
.package-card .feature-list li {
  padding: 7px 0 7px 26px;
  position: relative;
  color: var(--text-body);
}
.package-card .feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 7px;
  width: 18px; height: 18px;
  background: var(--accent-green);
  color: var(--brand-dark);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.7rem;
  font-weight: 900;
}
.package-card .feature-list li.excluded {
  color: var(--text-muted);
}
.package-card .feature-list li.excluded::before {
  content: "−";
  background: var(--surface-line);
  color: var(--text-muted);
  font-size: 0.9rem;
}
.package-card .btn { margin-top: auto; width: 100%; justify-content: center; }

/* ---------- 10. Säulen-Box (Verantwortungsbereiche) ---------- */
.pillar-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  margin-top: 38px;
}
.pillar {
  background: var(--surface);
  border: 1px solid var(--surface-line);
  border-radius: var(--radius-md);
  padding: 32px 30px;
  position: relative;
}
.pillar-icon {
  width: 56px; height: 56px;
  background: var(--accent-green);
  color: var(--brand-dark);
  border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.7rem;
  margin-bottom: 18px;
}
.pillar h3 { font-size: 1.3rem; margin-bottom: 10px; }
.pillar .quote {
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 18px;
  padding-left: 14px;
  border-left: 3px solid var(--accent-green);
}
.pillar ul { margin: 0; padding-left: 1.2em; }
.pillar li { color: var(--text-body); }
.pillar--open {
  border-style: dashed;
  border-color: var(--accent-green-soft);
  background: linear-gradient(180deg, var(--surface) 0%, var(--surface-alt) 100%);
}
.pillar--open .pillar-icon {
  background: transparent;
  border: 2px dashed var(--accent-green);
  color: var(--accent-green-dark);
}
.pillar--open::after {
  content: "Partner gesucht";
  position: absolute;
  top: 22px; right: 22px;
  background: var(--surface-alt);
  color: var(--accent-green-dark);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid var(--accent-green);
}

/* ---------- 11. Cloud-Alternative Block ---------- */
.cloud-options {
  display: grid;
  gap: 22px;
  grid-template-columns: 1fr 1fr;
  margin-top: 32px;
}
.cloud-option {
  padding: 26px 28px;
  border-radius: var(--radius-md);
  border: 1px solid var(--surface-line);
  background: var(--surface);
}
.cloud-option h4 {
  display: flex; align-items: center; gap: 10px;
  font-size: 1.1rem; margin-bottom: 10px;
}
.cloud-option h4::before {
  content: "";
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--accent-green);
}
.cloud-option--alt h4::before { background: var(--accent-green-deep); }
.cloud-option p { color: var(--text-muted); font-size: 0.95rem; margin: 0; }
@media (max-width: 720px) {
  .cloud-options { grid-template-columns: 1fr; }
}

/* ---------- 12. Prozess (3-Schritte) ---------- */
.steps { counter-reset: step; margin-top: 42px; }
.step {
  position: relative;
  padding-left: 76px;
  margin-bottom: 32px;
  max-width: 760px;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0; top: -6px;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: var(--accent-green);
  color: var(--brand-dark);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 900;
  font-size: 1.4rem;
}
.section--dark .step h3 { color: var(--text-light); }
.section--dark .step p { color: rgba(244,248,241,0.78); }
.step h3 { margin-bottom: 6px; }
.step p { color: var(--text-muted); }

/* ---------- 13. FAQ ---------- */
.faq-list {
  margin-top: 38px;
  max-width: 820px;
}
.faq-list details {
  background: var(--surface);
  border: 1px solid var(--surface-line);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin-bottom: 12px;
  transition: border-color .15s ease;
}
.faq-list details[open] { border-color: var(--accent-green); }
.faq-list summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--text-heading);
  list-style: none;
  position: relative;
  padding-right: 32px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 0; top: -2px;
  width: 24px; height: 24px;
  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: 1.1rem;
}
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { margin: 14px 0 4px; color: var(--text-muted); }

/* ---------- 14. Trust-Block ---------- */
.trust-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-top: 38px;
}
.trust-item h4 {
  display: flex; align-items: center; gap: 10px;
  color: var(--text-light);
  font-size: 1.02rem;
  margin: 0 0 8px;
}
.trust-item h4::before {
  content: "✓";
  width: 26px; height: 26px;
  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.78rem;
  flex-shrink: 0;
}
.trust-item p { color: rgba(244,248,241,0.78); font-size: 0.94rem; margin: 0; }

/* ---------- 15. Bookings-Embed ---------- */
.bookings-embed {
  background: var(--surface);
  border: 1px solid var(--surface-line);
  border-radius: var(--radius-md);
  padding: 28px;
  margin-top: 38px;
}
.bookings-embed iframe {
  width: 100%;
  min-height: 900px;
  border: 0;
  border-radius: var(--radius-sm);
}

/* ---------- 16. 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(0,163,92,0.22) 0%, rgba(0,163,92,0) 60%);
  pointer-events: none;
}
.final-cta h2 { color: var(--text-light); }
.final-cta .lead { color: rgba(244,248,241,0.85); margin: 0 auto; }
.final-cta-actions { display: inline-flex; flex-wrap: wrap; gap: 12px 22px; margin-top: 28px; position: relative; justify-content: center; align-items: center; }
.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(--text-light); }

/* ---------- 17. Footer ---------- */
.site-footer {
  background: var(--brand-dark);
  color: rgba(244,248,241,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(244,248,241,0.75); }
.site-footer a:hover { color: var(--accent-green); text-decoration: none; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.footer-bottom {
  border-top: 1px solid rgba(244,248,241,0.12);
  padding-top: 20px;
  display: flex; flex-wrap: wrap; gap: 16px;
  justify-content: space-between;
  font-size: 0.85rem;
  color: rgba(244,248,241,0.55);
}
.claim {
  color: var(--accent-green);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin-top: 18px;
}

/* ---------- 18. Legal-Seiten ---------- */
.legal { max-width: 780px; }
.legal h2 { margin-top: 1.6em; }
.legal h3 {
  margin-top: 1.8em;
  font-size: 1.05rem;
}
.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(--text-heading);
  font-size: 0.92rem;
}
.legal dd {
  margin: 0;
  color: var(--text-body);
  font-size: 0.95rem;
}

/* ---------- 19. Mobile ---------- */
@media (max-width: 820px) {
  .nav-toggle { display: inline-block; order: 3; }
  .nav-links {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    background: var(--brand-bg);
    border-bottom: 1px solid rgba(0,163,92,0.22);
    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; }
  .legal dl { grid-template-columns: 1fr; gap: 4px 0; }
  .legal dt { margin-top: 8px; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .brand-mark { width: 34px; height: 34px; }
}
