/* ==========================================================================
   scmsoft – Design-System
   Farben aus dem Logo gemessen: Orange #FFA800, Grün #3A8A34
   ========================================================================== */

:root {
  --color-orange: #ffa800;
  --color-orange-dark: #dc8f00;
  --color-green: #3a8a34;
  --color-green-dark: #2e6e29;
  --color-green-light: #eaf4e8;
  --color-orange-light: #fff3dc;

  --color-bg: #fffdf9;
  --color-surface: #ffffff;
  --color-text: #22281f;
  --color-text-muted: #5b6358;
  --color-border: #e9e4d8;

  --font-heading: "Poppins", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;

  --shadow-sm: 0 2px 8px rgba(34, 40, 31, 0.06);
  --shadow-md: 0 12px 32px rgba(34, 40, 31, 0.1);

  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  font-size: 1rem;
}

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

a {
  color: inherit;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.2;
  margin: 0 0 0.6em;
  font-weight: 600;
}

h1 { font-size: clamp(2.2rem, 4vw + 1rem, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 2.4vw + 1rem, 2.4rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section--tight {
  padding: 3rem 0;
}

.section-header {
  max-width: 720px;
  margin: 0 auto 3rem;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-green-dark);
  background: var(--color-green-light);
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.9rem 1.8rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn--primary {
  background: var(--color-orange);
  color: #24290f;
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover {
  background: var(--color-orange-dark);
  box-shadow: var(--shadow-md);
}

.btn--secondary {
  background: transparent;
  border-color: var(--color-green);
  color: var(--color-green-dark);
}
.btn--secondary:hover {
  background: var(--color-green-light);
}

.btn--block { width: 100%; }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 253, 249, 0.9);
  backdrop-filter: saturate(150%) blur(8px);
  border-bottom: 1px solid var(--color-border);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.7rem;
  padding-bottom: 0.7rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-green-dark);
  font-size: 1.1rem;
}

.brand img {
  height: 42px;
  width: auto;
}

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

.nav__links {
  display: flex;
  gap: 1.6rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-weight: 500;
  font-size: 0.95rem;
}

.nav__links a {
  text-decoration: none;
  color: var(--color-text);
  transition: color 0.15s ease;
}
.nav__links a:hover {
  color: var(--color-green-dark);
}

.nav__cta {
  display: none;
}

.nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
}
.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  margin: 5px 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ---------- Hero ---------- */
.hero {
  padding: 4.5rem 0 5rem;
  position: relative;
  overflow: hidden;
}

.hero__glow {
  position: absolute;
  inset: -20% -10% auto auto;
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, rgba(255, 168, 0, 0.16), transparent 70%);
  pointer-events: none;
}

.hero__glow--green {
  inset: auto auto -30% -12%;
  background: radial-gradient(circle, rgba(58, 138, 52, 0.14), transparent 70%);
}

.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
  position: relative;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.8rem;
}

.hero__stat {
  margin-top: 2.5rem;
  display: flex;
  gap: 2.2rem;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  flex-direction: column;
}
.stat strong {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--color-green-dark);
}
.stat span {
  font-size: 0.88rem;
  color: var(--color-text-muted);
}

.hero__card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 2rem;
  border: 1px solid var(--color-border);
}

.savings {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.savings__row {
  display: grid;
  grid-template-columns: 100px 1fr 70px;
  align-items: center;
  gap: 0.9rem;
}

.savings__label {
  font-weight: 600;
  font-size: 0.92rem;
}

.savings__bar {
  height: 14px;
  border-radius: 999px;
  background: var(--color-border);
  overflow: hidden;
}
.savings__bar > span {
  display: block;
  height: 100%;
  border-radius: 999px;
}
.savings__row--standard .savings__bar > span {
  width: 100%;
  background: #c9c2ab;
}
.savings__row--ki .savings__bar > span {
  width: 20%;
  background: linear-gradient(90deg, var(--color-green), var(--color-orange));
}

.savings__value {
  text-align: right;
  font-weight: 700;
  font-family: var(--font-heading);
}

.savings__badge {
  align-self: flex-start;
  margin-top: 0.3rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--color-orange-light);
  color: var(--color-orange-dark);
  font-weight: 700;
  font-family: var(--font-heading);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-size: 0.95rem;
}

/* ---------- Checklist (Hero-Card Variante) ---------- */
.checklist {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.checklist__row {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 600;
  font-size: 0.95rem;
}

.checklist__row--done {
  color: var(--color-text);
}
.checklist__row--done svg {
  flex: none;
  color: var(--color-green-dark);
}

.checklist__row--next {
  color: var(--color-text-muted);
  font-weight: 500;
}
.checklist__row--next svg {
  flex: none;
  color: var(--color-text-muted);
}

/* ---------- Journey (Hero-Card Variante) ---------- */
.journey {
  display: flex;
  flex-direction: column;
}

.journey__step {
  display: flex;
  gap: 1rem;
  position: relative;
  padding-bottom: 1.7rem;
}
.journey__step:last-child {
  padding-bottom: 0;
}

.journey__step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 15px;
  top: 32px;
  bottom: 2px;
  width: 2px;
  background: var(--color-border);
}

.journey__dot {
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(160deg, var(--color-orange), var(--color-green));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  position: relative;
  z-index: 1;
}

.journey__step strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.98rem;
  margin-bottom: 0.15rem;
}

.journey__step p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* ---------- Vergleich ---------- */
.compare {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.compare-standard {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 2rem 2.2rem 2.2rem;
  box-shadow: var(--shadow-sm);
}

.compare-standard__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.compare-standard__item h4 {
  font-size: 1.05rem;
  margin-bottom: 0.6rem;
}

.compare-standard__item p {
  font-size: 0.92rem;
  color: var(--color-text-muted);
}

.compare-standard__counter {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-green-dark);
  background: var(--color-green-light);
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.8rem;
  margin: 0;
}

.compare-standard__counter::before {
  content: "✓";
  flex: none;
}

.compare-bridge {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
  font-size: 1rem;
  color: var(--color-text-muted);
}

.compare-bridge strong {
  color: var(--color-text);
}

.compare-bridge a {
  color: var(--color-green-dark);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.compare-bridge a:hover {
  text-decoration: underline;
}

/* ---------- Feature-Grid (schneller/besser/günstiger) ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: 2rem;
  border: 1px solid var(--color-border);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.feature__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  background: var(--color-orange-light);
  color: var(--color-orange-dark);
}
.feature:nth-child(2) .feature__icon {
  background: var(--color-green-light);
  color: var(--color-green-dark);
}
.feature:nth-child(3) .feature__icon {
  background: var(--color-orange-light);
  color: var(--color-orange-dark);
}

/* ---------- KI & Kosten ---------- */
.cost-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.cost-grid .feature:nth-child(odd) .feature__icon {
  background: var(--color-orange-light);
  color: var(--color-orange-dark);
}
.cost-grid .feature:nth-child(even) .feature__icon {
  background: var(--color-green-light);
  color: var(--color-green-dark);
}

/* ---------- Beispiele ---------- */
.examples {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.examples__note {
  text-align: center;
  margin: 1.6rem 0 0;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.example {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.6rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.example__icon {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-green-light);
  color: var(--color-green-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
}

.example h3 {
  margin-bottom: 0.3rem;
  font-size: 1.05rem;
}
.example p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--color-text-muted);
}

/* ---------- Über mich ---------- */
.about {
  display: grid;
  grid-template-columns: 140px 1.15fr 1fr;
  gap: 2.6rem;
  align-items: start;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  padding: 3rem;
  box-shadow: var(--shadow-sm);
}

.about__avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: linear-gradient(160deg, var(--color-orange), var(--color-green));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
  margin: 0 auto;
  box-shadow: var(--shadow-md);
}

/* ---------- Testimonials ---------- */
.testimonials {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.testimonials__title {
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
  color: var(--color-text-muted);
}

.testimonial {
  background: var(--color-bg);
  border: 1px dashed var(--color-border);
  border-radius: var(--radius-sm);
  padding: 1rem 1.1rem;
}

.testimonial__quote-icon {
  color: var(--color-orange);
  opacity: 0.8;
  margin-bottom: 0.3rem;
}

.testimonial__text {
  margin: 0 0 0.4rem;
  font-size: 0.88rem;
  font-style: italic;
  color: var(--color-text-muted);
}

.testimonial__author {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-orange-dark);
}

.about__trust {
  display: flex;
  gap: 1.4rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
  list-style: none;
  padding: 0;
}
.about__trust li {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-green-dark);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.about__trust li::before {
  content: "●";
  color: var(--color-orange);
  font-size: 0.6rem;
}

/* ---------- Blog Teaser ---------- */
.blog-teaser {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  background: linear-gradient(120deg, var(--color-green-light), var(--color-orange-light));
  border-radius: var(--radius-lg);
  padding: 2.6rem 3rem;
  flex-wrap: wrap;
}

/* ---------- FAQ ---------- */
.faq {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  max-width: 800px;
  margin: 0 auto;
}

.faq__item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

.faq__item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.4rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.98rem;
}
.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__chevron {
  flex: none;
  color: var(--color-green-dark);
  transition: transform 0.2s ease;
}
.faq__item[open] .faq__chevron {
  transform: rotate(180deg);
}

.faq__item p {
  margin: 0;
  padding: 0 1.4rem 1.3rem;
  color: var(--color-text-muted);
  font-size: 0.92rem;
}

/* ---------- Kontakt ---------- */
.contact {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.contact__info-item {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
}

.contact__info-icon {
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--color-green-light);
  color: var(--color-green-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  padding: 2.4rem;
  box-shadow: var(--shadow-md);
}

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

.field {
  margin-bottom: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.field label {
  font-size: 0.88rem;
  font-weight: 600;
}

.field input,
.field textarea {
  font-family: var(--font-body);
  font-size: 0.98rem;
  padding: 0.75rem 0.9rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  background: var(--color-bg);
  color: var(--color-text);
  resize: vertical;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--color-green);
  box-shadow: 0 0 0 3px rgba(58, 138, 52, 0.15);
}

.field--hp {
  position: absolute;
  left: -9999px;
  top: -9999px;
}

.pill-note {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.4rem;
  font-size: 0.78rem;
  line-height: 1.4;
  color: var(--color-text-muted);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
  margin-top: 0.5rem;
}
.pill-note svg {
  flex: none;
  margin-top: 0.15rem;
  color: var(--color-green-dark);
}

.form-note {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  margin-top: 0.8rem;
}

.form-status {
  margin-top: 1rem;
  font-weight: 600;
  font-size: 0.92rem;
  display: none;
}
.form-status.is-success { display: block; color: var(--color-green-dark); }
.form-status.is-error { display: block; color: #b3401f; }

/* ---------- CTA-Band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--color-green-dark), var(--color-green));
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 3.2rem;
  text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.85); }
.cta-band .btn--secondary {
  border-color: #fff;
  color: #fff;
}
.cta-band .btn--secondary:hover {
  background: rgba(255,255,255,0.12);
}

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--color-border);
  padding: 2.6rem 0;
  margin-top: 2rem;
}
.footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.86rem;
  color: var(--color-text-muted);
}
.footer__links {
  display: flex;
  gap: 1.4rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer__links a {
  text-decoration: none;
  color: var(--color-text-muted);
}
.footer__links a:hover {
  color: var(--color-green-dark);
}

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero .container { grid-template-columns: 1fr; }
  .features, .examples, .cost-grid { grid-template-columns: 1fr 1fr; }
  .compare-standard__grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .about { grid-template-columns: 1fr; text-align: center; padding: 2.2rem; }
  .about__trust { justify-content: center; }
  .testimonials { text-align: left; margin-top: 1rem; }
  .testimonials__title { text-align: center; }
  .contact { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .header > .container { flex-wrap: nowrap; }
  .nav { gap: 0.8rem; }
  .nav > .btn--primary { display: none; }
  .nav__links {
    position: fixed; top: 65px; left: 0; right: 0; background: var(--color-surface);
    flex-direction: column; align-items: stretch; gap: 0.2rem;
    padding: 1rem 1.5rem 1.4rem; border-bottom: 1px solid var(--color-border); box-shadow: var(--shadow-md);
    transform: translateY(-130%); opacity: 0; transition: transform 0.2s ease, opacity 0.2s ease;
  }
  .nav__links a { display: block; padding: 0.6rem 0; border-bottom: 1px solid var(--color-border); }
  .nav__links li:last-child a { border-bottom: none; }
  .nav__links .nav__cta { display: block; border: none; padding-top: 0.9rem; }
  .nav__links.is-open { transform: translateY(0); opacity: 1; }
  .nav__toggle { display: block; }
  .features, .examples, .cost-grid { grid-template-columns: 1fr; }
  .compare-standard { padding: 1.6rem 1.4rem 1.8rem; }
  .blog-teaser { flex-direction: column; text-align: center; }
  .cta-band { padding: 2.2rem 1.4rem; }
  .section { padding: 3.4rem 0; }
  .pill-note { border-radius: var(--radius-md); }
}

/* ==========================================================================
   Theme-Varianten pro Landingpage (Grundstruktur bleibt gleich, Stimmung variiert)
   ========================================================================== */

/* ---------- theme-digital: Landingpage 2, Digitalisierung/Effizienz ---------- */
body.theme-digital {
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
}
body.theme-digital .hero__glow {
  background: radial-gradient(circle, rgba(255, 168, 0, 0.08), transparent 70%);
}
body.theme-digital .hero__glow--green {
  background: radial-gradient(circle, rgba(58, 138, 52, 0.12), transparent 70%);
}

/* ---------- theme-kreativ: Landingpage 3, Kreativität/Träume verwirklichen ---------- */
body.theme-kreativ {
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 34px;
}
body.theme-kreativ .hero__glow {
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(255, 168, 0, 0.26), transparent 70%);
}
body.theme-kreativ .hero__glow--green {
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(58, 138, 52, 0.22), transparent 70%);
}
body.theme-kreativ .hero h1 {
  font-size: clamp(2.3rem, 4.6vw + 1rem, 3.7rem);
}
body.theme-kreativ .eyebrow {
  background: var(--color-orange-light);
  color: var(--color-orange-dark);
}
