/* faircode-solutions – Stylesheet
   Keine externen Ressourcen: System-Schriften, keine CDNs, kein Tracking. */

:root {
  --c-bg: #f7f6f1;
  --c-surface: #ffffff;
  --c-surface-2: #eef3ee;
  --c-text: #17221d;
  --c-muted: #4d5c55;
  --c-border: #d9e1db;
  --c-primary: #156f48;
  --c-primary-strong: #0f5537;
  --c-primary-soft: #dcefe3;
  --c-on-primary: #ffffff;
  --c-accent: #c76b12;
  --c-accent-soft: #fbead6;
  --c-dark: #0e261e;
  --c-on-dark: #eaf4ee;
  --c-danger: #b42318;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(14, 38, 30, 0.06), 0 8px 24px rgba(14, 38, 30, 0.08);
  --shadow-lg: 0 18px 50px rgba(14, 38, 30, 0.16);
  --max: 1160px;
  --font:
    system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial,
    "Noto Sans", sans-serif;
  --font-mono:
    ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --c-bg: #0f1714;
    --c-surface: #16211c;
    --c-surface-2: #1b2a23;
    --c-text: #e7efe9;
    --c-muted: #a9b9b0;
    --c-border: #2a3b33;
    --c-primary: #4cc28a;
    --c-primary-strong: #74d6a6;
    --c-primary-soft: #1d3a2d;
    --c-on-primary: #08130e;
    --c-accent: #f0a656;
    --c-accent-soft: #3a2a17;
    --c-dark: #0a120e;
    --c-on-dark: #e7efe9;
    --c-danger: #ff8a80;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 8px 24px rgba(0, 0, 0, 0.25);
    --shadow-lg: 0 18px 50px rgba(0, 0, 0, 0.45);
  }
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--c-text);
  background: var(--c-bg);
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: var(--c-primary);
  text-underline-offset: 3px;
}
a:hover {
  color: var(--c-primary-strong);
}
h1,
h2,
h3,
h4 {
  line-height: 1.2;
  margin: 0 0 0.6em;
  letter-spacing: -0.01em;
}
h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  letter-spacing: -0.025em;
}
h2 {
  font-size: clamp(1.75rem, 3.4vw, 2.5rem);
  letter-spacing: -0.02em;
}
h3 {
  font-size: 1.25rem;
}
p {
  margin: 0 0 1em;
}

:focus-visible {
  outline: 3px solid var(--c-accent);
  outline-offset: 3px;
  border-radius: 6px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 1000;
  background: var(--c-primary);
  color: var(--c-on-primary);
  padding: 0.7rem 1rem;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus {
  top: 1rem;
  color: var(--c-on-primary);
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.section {
  padding: clamp(4rem, 8vw, 6.5rem) 0;
}
.section--alt {
  background: var(--c-surface-2);
}
.section__head {
  max-width: 760px;
  margin-bottom: 2.75rem;
}
.section__head--center {
  margin-inline: auto;
  text-align: center;
}
.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--c-primary);
  margin-bottom: 0.75rem;
}
.lead {
  font-size: 1.2rem;
  color: var(--c-muted);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  border: 2px solid transparent;
  font: inherit;
  font-weight: 650;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.15s ease,
    background 0.15s ease,
    box-shadow 0.15s ease;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn--primary {
  background: var(--c-primary);
  color: var(--c-on-primary);
  box-shadow: var(--shadow);
}
.btn--primary:hover {
  background: var(--c-primary-strong);
  color: var(--c-on-primary);
}
.btn--ghost {
  border-color: currentColor;
  color: var(--c-primary);
  background: transparent;
}
.btn--light {
  background: #fff;
  color: #0e261e;
}
.btn--light:hover {
  color: #0e261e;
  background: #eaf4ee;
}
.btn--outline-light {
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
  background: transparent;
}
.btn--outline-light:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}
.btn--small {
  padding: 0.55rem 1rem;
  font-size: 0.92rem;
}
.btn--block {
  width: 100%;
}

/* ---------- Header / Navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--c-bg) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--c-border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 1rem;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--c-text);
  text-decoration: none;
  letter-spacing: -0.02em;
}
.logo:hover {
  color: var(--c-text);
}
.logo__mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--c-primary);
  color: var(--c-on-primary);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
}
.logo__text span {
  color: var(--c-primary);
}

.nav__toggle {
  display: none;
  background: none;
  border: 2px solid var(--c-border);
  border-radius: 10px;
  width: 46px;
  height: 42px;
  cursor: pointer;
  color: var(--c-text);
  padding: 0;
}
.nav__toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  margin: 4px auto;
  transition:
    transform 0.2s,
    opacity 0.2s;
}
.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(2) {
  opacity: 0;
}
.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__menu a {
  display: block;
  padding: 0.5rem 0.8rem;
  border-radius: 8px;
  color: var(--c-text);
  text-decoration: none;
  font-weight: 550;
  font-size: 0.98rem;
}
.nav__menu a:hover {
  background: var(--c-primary-soft);
  color: var(--c-text);
}
.nav__menu .nav__cta a {
  background: var(--c-primary);
  color: var(--c-on-primary);
  margin-left: 0.4rem;
  border-radius: 999px;
  padding: 0.5rem 1.05rem;
}
.nav__menu .nav__cta a:hover {
  background: var(--c-primary-strong);
  color: var(--c-on-primary);
}

@media (max-width: 900px) {
  .nav__toggle {
    display: block;
  }
  .nav__menu {
    position: absolute;
    left: 0;
    right: 0;
    top: 68px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--c-surface);
    border-bottom: 1px solid var(--c-border);
    padding: 0.5rem 1.25rem 1.25rem;
    box-shadow: var(--shadow-lg);
    display: none;
  }
  .nav__menu.is-open {
    display: flex;
  }
  .nav__menu a {
    padding: 0.9rem 0.5rem;
    border-bottom: 1px solid var(--c-border);
    border-radius: 0;
  }
  .nav__menu .nav__cta a {
    margin: 1rem 0 0;
    text-align: center;
    border-radius: 999px;
    border: 0;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  color: #fff;
  overflow: hidden;
}
.hero__media,
.hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(
      90deg,
      rgba(8, 26, 19, 0.92) 0%,
      rgba(8, 26, 19, 0.78) 42%,
      rgba(8, 26, 19, 0.25) 100%
    ),
    linear-gradient(0deg, rgba(8, 26, 19, 0.55) 0%, rgba(8, 26, 19, 0) 40%);
}
.hero__inner {
  padding: clamp(5rem, 12vw, 9rem) 0 clamp(4rem, 9vw, 7rem);
  max-width: 720px;
}
.hero .eyebrow {
  color: #9fe3bd;
}
.hero h1 {
  color: #fff;
}
.hero h1 em {
  font-style: normal;
  color: #9fe3bd;
}
.hero__sub {
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  color: #dbe9e1;
  max-width: 600px;
  margin-bottom: 2rem;
}
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 2.4rem;
}
.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
}
.badge svg {
  width: 18px;
  height: 18px;
  flex: none;
  color: #9fe3bd;
}

/* ---------- Werte ---------- */
.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.value-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow);
}
.value-card__icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--c-primary-soft);
  color: var(--c-primary);
  margin-bottom: 1.2rem;
}
.value-card__icon svg {
  width: 28px;
  height: 28px;
}
.value-card__slogan {
  font-weight: 650;
  color: var(--c-text);
  font-size: 1.05rem;
}
.value-card p:last-child {
  margin-bottom: 0;
  color: var(--c-muted);
}
.keywords {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin: 2.2rem 0 0;
  padding: 0;
  list-style: none;
}
.keywords li {
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  font-size: 0.9rem;
  color: var(--c-muted);
}

/* ---------- FAQ / Probleme ---------- */
.faq-layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 3rem;
  align-items: start;
}
.faq-layout .section__head {
  position: sticky;
  top: 100px;
  margin-bottom: 0;
}
.faq {
  display: grid;
  gap: 0.8rem;
}
.faq__item {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq__item h3 {
  margin: 0;
  font-size: 1.08rem;
}
.faq__button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.3rem;
  background: none;
  border: 0;
  text-align: left;
  cursor: pointer;
  font: inherit;
  font-weight: 650;
  color: var(--c-text);
}
.faq__button:hover {
  background: var(--c-primary-soft);
}
.faq__icon {
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--c-primary-soft);
  color: var(--c-primary);
  transition: transform 0.2s;
}
.faq__button[aria-expanded="true"] .faq__icon {
  transform: rotate(45deg);
}
.faq__panel {
  padding: 0 1.3rem 1.3rem;
}
.faq__panel[hidden] {
  display: none;
}
.faq__problem,
.faq__solution {
  padding: 0.9rem 1rem;
  border-radius: 10px;
  margin-bottom: 0.7rem;
}
.faq__problem {
  background: var(--c-accent-soft);
}
.faq__solution {
  background: var(--c-primary-soft);
}
.faq__label {
  display: block;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.2rem;
}
.faq__problem .faq__label {
  color: var(--c-accent);
}
.faq__solution .faq__label {
  color: var(--c-primary);
}
.faq__panel p {
  margin: 0;
}
.faq__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 650;
  margin-top: 0.3rem;
}

/* ---------- Garantie ---------- */
.guarantee {
  position: relative;
  overflow: hidden;
  background: var(--c-dark);
  color: var(--c-on-dark);
  border-radius: 28px;
  padding: clamp(2rem, 5vw, 4rem);
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 2.5rem;
  align-items: center;
}
.guarantee::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: -160px;
  top: -200px;
  background: radial-gradient(
    circle,
    rgba(76, 194, 138, 0.35),
    transparent 65%
  );
  pointer-events: none;
}
.guarantee .eyebrow {
  color: #9fe3bd;
}
.guarantee h2 {
  color: #fff;
}
.guarantee p {
  color: #c9dbd1;
  font-size: 1.1rem;
}
.guarantee__list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  gap: 0.7rem;
}
.guarantee__list li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  color: #e7efe9;
}
.guarantee__list svg {
  flex: none;
  width: 22px;
  height: 22px;
  color: #4cc28a;
  margin-top: 2px;
}
.code-card {
  position: relative;
  background: #08140f;
  border: 1px solid #22402f;
  border-radius: 16px;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  line-height: 1.7;
  color: #cfe6d8;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}
.code-card__bar {
  display: flex;
  gap: 6px;
  padding: 0.7rem 0.9rem;
  border-bottom: 1px solid #1d3428;
  align-items: center;
}
.code-card__bar i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #2f4a3b;
  display: block;
}
.code-card__bar span {
  margin-left: 0.6rem;
  font-size: 0.78rem;
  color: #7fa892;
}
.code-card pre {
  margin: 0;
  padding: 1.1rem 1.2rem 1.3rem;
  white-space: pre-wrap;
  word-break: break-word;
}
.tok-c {
  color: #6f8f7d;
}
.tok-k {
  color: #f0a656;
}
.tok-s {
  color: #9fe3bd;
}
.tok-n {
  color: #8ec5ff;
}

/* ---------- Angebote ---------- */
.offers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  align-items: stretch;
}
.offer {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow);
}
.offer--featured {
  border: 2px solid var(--c-primary);
  box-shadow: var(--shadow-lg);
}
.offer__badge {
  position: absolute;
  top: -14px;
  left: 1.75rem;
  background: var(--c-accent);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
}
@media (prefers-color-scheme: dark) {
  .offer__badge {
    color: #1a1206;
  }
}
.offer__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--c-primary-soft);
  color: var(--c-primary);
  display: grid;
  place-items: center;
  margin-bottom: 1.1rem;
}
.offer__icon svg {
  width: 28px;
  height: 28px;
}
.offer p {
  color: var(--c-muted);
}
.offer__price {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--c-text);
  margin: 0.2rem 0 0.3rem;
  letter-spacing: -0.02em;
}
.offer__price small {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--c-muted);
}
.offer__extra {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  font-size: 0.95rem;
  background: var(--c-primary-soft);
  color: var(--c-text);
  border-radius: 10px;
  padding: 0.7rem 0.85rem;
  margin: 0.6rem 0 1.4rem;
}
.offer__extra svg {
  flex: none;
  width: 20px;
  height: 20px;
  color: var(--c-primary);
  margin-top: 2px;
}
.offer__actions {
  margin-top: auto;
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

/* ---------- Dialog ---------- */
dialog.modal {
  width: min(640px, calc(100% - 2rem));
  max-height: calc(100% - 2rem);
  border: 0;
  border-radius: var(--radius-lg);
  padding: 0;
  background: var(--c-surface);
  color: var(--c-text);
  box-shadow: var(--shadow-lg);
}
dialog.modal::backdrop {
  background: rgba(8, 20, 15, 0.6);
  backdrop-filter: blur(3px);
}
.modal__inner {
  padding: 2rem 1.9rem 1.8rem;
}
.modal__close {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--c-border);
  background: var(--c-surface);
  color: var(--c-text);
  cursor: pointer;
  font-size: 1.3rem;
  line-height: 1;
}
.modal__close:hover {
  background: var(--c-primary-soft);
}
.modal ul {
  padding-left: 1.2rem;
}
.modal li {
  margin-bottom: 0.35rem;
}
.calc {
  background: var(--c-surface-2);
  border-radius: 12px;
  padding: 1rem 1.1rem;
  margin: 1rem 0 1.2rem;
}
.calc label {
  font-weight: 650;
  display: block;
  margin-bottom: 0.35rem;
}
.calc input {
  width: 100%;
  max-width: 220px;
}
.calc output {
  display: block;
  margin-top: 0.6rem;
}

/* ---------- Preise ---------- */
.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.plan {
  display: flex;
  flex-direction: column;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow);
}
.plan--highlight {
  background: var(--c-dark);
  color: var(--c-on-dark);
  border-color: var(--c-dark);
}
.plan--highlight .plan__desc,
.plan--highlight .plan__once {
  color: #b9cdc2;
}
.plan--highlight .plan__features li::before {
  background-color: #4cc28a;
}
.plan h3 {
  font-size: 1.3rem;
  margin-bottom: 0.3rem;
}
.plan__desc {
  color: var(--c-muted);
  font-size: 0.97rem;
  min-height: 3em;
}
.plan__price {
  font-size: 2.4rem;
  font-weight: 850;
  letter-spacing: -0.03em;
  line-height: 1;
  margin: 0.6rem 0 0.3rem;
}
.plan__price span {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0;
}
.plan__once {
  color: var(--c-muted);
  font-size: 0.95rem;
  margin-bottom: 1.4rem;
}
.plan__features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.8rem;
  display: grid;
  gap: 0.6rem;
}
.plan__features li {
  position: relative;
  padding-left: 1.8rem;
}
.plan__features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.3em;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 50%;
  background-color: var(--c-primary);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='10'/%3E%3C/svg%3E");
}
.plan__features li::after {
  content: "";
  position: absolute;
  left: 0.36rem;
  top: calc(0.3em + 0.26rem);
  width: 0.38rem;
  height: 0.58rem;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
@media (prefers-color-scheme: dark) {
  .plan__features li::after {
    border-color: #08130e;
  }
}
.plan .btn {
  margin-top: auto;
}
.pricing-notes {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  list-style: none;
  padding: 0;
}
.pricing-notes li {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  background: var(--c-surface);
  border: 1px dashed var(--c-border);
  border-radius: 12px;
  padding: 0.9rem 1rem;
  font-size: 0.96rem;
  color: var(--c-muted);
}
.pricing-notes svg {
  flex: none;
  width: 20px;
  height: 20px;
  color: var(--c-primary);
  margin-top: 2px;
}
.pricing-notes strong {
  color: var(--c-text);
}

/* ---------- CMS ---------- */
.cms {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 3rem;
  align-items: center;
}
.cms__features {
  list-style: none;
  padding: 0;
  margin: 1.6rem 0 0;
  display: grid;
  gap: 1rem;
}
.cms__features li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
}
.cms__emoji {
  font-size: 1.5rem;
  line-height: 1;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--c-primary-soft);
  flex: none;
}
.cms__features strong {
  display: block;
}
.cms__features span.desc {
  color: var(--c-muted);
  font-size: 0.97rem;
}

.browser {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.browser__bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 0.9rem;
  background: var(--c-surface-2);
  border-bottom: 1px solid var(--c-border);
}
.browser__dots {
  display: flex;
  gap: 6px;
}
.browser__dots i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  display: block;
  background: #e0675a;
}
.browser__dots i:nth-child(2) {
  background: #e9b949;
}
.browser__dots i:nth-child(3) {
  background: #58b86b;
}
.browser__url {
  flex: 1;
  min-width: 0;
  font-size: 0.8rem;
  color: var(--c-muted);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: 999px;
  padding: 0.2rem 0.8rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cms-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0.6rem 0.8rem;
  border-bottom: 1px solid var(--c-border);
  background: var(--c-surface);
}
.cms-toolbar button {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.45rem 0.8rem;
  border-radius: 8px;
  border: 1px solid var(--c-border);
  background: var(--c-surface-2);
  color: var(--c-text);
  cursor: pointer;
}
.cms-toolbar button[aria-pressed="true"] {
  background: var(--c-primary);
  color: var(--c-on-primary);
  border-color: var(--c-primary);
}
.cms-toolbar button:hover {
  border-color: var(--c-primary);
}

.demo-site {
  --demo: #156f48;
  --demo-soft: #e3f2e9;
  padding: 1.4rem;
  background: #fcfbf8;
  color: #1b2420;
  transition: background 0.3s;
}
.demo-site__nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  margin-bottom: 1.2rem;
  gap: 0.5rem;
}
.demo-site__brand {
  font-weight: 800;
  color: var(--demo);
}
.demo-site__links {
  display: flex;
  gap: 0.8rem;
  color: #5b6862;
}
.demo-site__hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1rem;
  align-items: center;
}
.demo-site__hero h4 {
  font-size: 1.35rem;
  margin-bottom: 0.4rem;
  color: #1b2420;
}
.demo-site__hero p {
  font-size: 0.9rem;
  color: #4b5852;
  margin-bottom: 0.8rem;
}
.demo-site__btn {
  display: inline-block;
  background: var(--demo);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
}
.demo-site__img {
  aspect-ratio: 4/3;
  border-radius: 12px;
  background: var(--demo-soft);
  display: grid;
  place-items: center;
  overflow: hidden;
  position: relative;
}
.demo-site__img svg {
  width: 70%;
  height: auto;
  color: var(--demo);
}
.demo-site__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
  margin-top: 1rem;
}
.demo-site__cards div {
  background: var(--demo-soft);
  border-radius: 10px;
  padding: 0.6rem;
  font-size: 0.75rem;
  color: #33413a;
}
.demo-site__cards b {
  display: block;
  color: var(--demo);
  font-size: 0.8rem;
}
.demo-site.is-editing [contenteditable="true"] {
  outline: 2px dashed var(--demo);
  outline-offset: 3px;
  border-radius: 4px;
  cursor: text;
}
.demo-site.is-editing [contenteditable="true"]:focus {
  outline-style: solid;
  background: #fff;
}
.demo-panel {
  padding: 0.8rem 1rem;
  border-top: 1px solid var(--c-border);
  background: var(--c-surface-2);
  font-size: 0.9rem;
}
.demo-panel[hidden] {
  display: none;
}
.swatches {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  align-items: center;
}
.swatch {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 3px solid var(--c-surface);
  box-shadow: 0 0 0 1px var(--c-border);
  cursor: pointer;
}
.swatch[aria-pressed="true"] {
  box-shadow: 0 0 0 3px var(--c-text);
}
.dropzone {
  border: 2px dashed var(--c-border);
  border-radius: 10px;
  padding: 0.8rem;
  text-align: center;
  color: var(--c-muted);
}
.dropzone.is-over {
  border-color: var(--c-primary);
  background: var(--c-primary-soft);
}
.dropzone label {
  color: var(--c-primary);
  font-weight: 650;
  cursor: pointer;
  text-decoration: underline;
}
.demo-status {
  min-height: 1.4em;
  font-size: 0.85rem;
  color: var(--c-muted);
  padding: 0.4rem 1rem 0.7rem;
  background: var(--c-surface);
}

/* ---------- Referenzen ---------- */
.refs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.ref {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.ref__shot {
  aspect-ratio: 16/10;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  position: relative;
  overflow: hidden;
}
.ref__shot .mini-nav {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  font-weight: 700;
}
.ref__shot .mini-nav span:last-child {
  opacity: 0.6;
  font-weight: 500;
  letter-spacing: 0.25em;
}
.ref__shot .mini-title {
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.15;
  max-width: 70%;
  letter-spacing: -0.01em;
}
.ref__shot .mini-text {
  height: 6px;
  border-radius: 3px;
  background: currentColor;
  opacity: 0.18;
}
.ref__shot .mini-btn {
  margin-top: auto;
  align-self: flex-start;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
}
.ref__shot .mini-deco {
  position: absolute;
  right: -24px;
  bottom: -24px;
  width: 46%;
  aspect-ratio: 1;
  border-radius: 50%;
  opacity: 0.9;
}
.ref__shot--a {
  background: linear-gradient(135deg, #1b1c3a, #3b2f6b);
  color: #fff;
}
.ref__shot--a .mini-btn {
  background: #ffcf5a;
  color: #1b1c3a;
}
.ref__shot--a .mini-deco {
  background: radial-gradient(circle at 30% 30%, #ffcf5a, #ff7a59);
}
.ref__shot--b {
  background: linear-gradient(135deg, #fbefe9, #f6d9cf);
  color: #6b3a2e;
}
.ref__shot--b .mini-btn {
  background: #b8644f;
  color: #fff;
}
.ref__shot--b .mini-deco {
  background: radial-gradient(circle at 35% 35%, #fff, #e8b7a8);
}
.ref__shot--c {
  background: linear-gradient(135deg, #eef4f1, #d6e6df);
  color: #23443a;
}
.ref__shot--c .mini-btn {
  background: #2f6b5a;
  color: #fff;
}
.ref__shot--c .mini-deco {
  background: radial-gradient(circle at 35% 35%, #bcd8cb, #7fae9b);
}
.ref__body {
  padding: 1.4rem 1.5rem 1.6rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.ref__tag {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--c-primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.3rem;
}
.ref__body p {
  color: var(--c-muted);
}
.ref__body a {
  margin-top: auto;
  font-weight: 650;
}

/* ---------- Über mich ---------- */
.about {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3.5rem;
  align-items: center;
}
.about__media {
  position: relative;
}
.about__media picture img {
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: center 20%;
}
.about__card {
  position: absolute;
  right: -1rem;
  bottom: -1.5rem;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: 16px;
  padding: 0.9rem 1.1rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  gap: 0.8rem;
  align-items: center;
  max-width: 290px;
}
.about__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--c-primary);
  color: var(--c-on-primary);
  display: grid;
  place-items: center;
  font-weight: 800;
  flex: none;
}
.about__card strong {
  display: block;
  line-height: 1.25;
}
.about__card span {
  font-size: 0.88rem;
  color: var(--c-muted);
}
.about__points {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 2rem;
  display: grid;
  gap: 0.8rem;
}
.about__points li {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
}
.about__points svg {
  flex: none;
  width: 24px;
  height: 24px;
  color: var(--c-primary);
  margin-top: 1px;
}

/* ---------- Kontakt ---------- */
.contact {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 2rem;
  align-items: start;
}
.panel {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
}
.form {
  display: grid;
  gap: 1.1rem;
}
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}
.field label {
  display: block;
  font-weight: 650;
  margin-bottom: 0.35rem;
  font-size: 0.97rem;
}
.field .req {
  color: var(--c-danger);
}
.field .opt {
  color: var(--c-muted);
  font-weight: 500;
  font-size: 0.88rem;
}
input,
textarea {
  width: 100%;
  font: inherit;
  color: var(--c-text);
  background: var(--c-bg);
  border: 1.5px solid var(--c-border);
  border-radius: 10px;
  padding: 0.75rem 0.9rem;
}
input:focus,
textarea:focus {
  border-color: var(--c-primary);
  outline: 3px solid color-mix(in srgb, var(--c-primary) 30%, transparent);
  outline-offset: 0;
}
textarea {
  min-height: 150px;
  resize: vertical;
}
input[aria-invalid="true"],
textarea[aria-invalid="true"] {
  border-color: var(--c-danger);
}
.field__error {
  color: var(--c-danger);
  font-size: 0.88rem;
  margin-top: 0.3rem;
  min-height: 0;
}
.form__note {
  font-size: 0.88rem;
  color: var(--c-muted);
  margin: 0;
}
.form-status {
  border-radius: 10px;
  padding: 0;
  font-weight: 600;
}
.form-status.is-success {
  padding: 0.85rem 1rem;
  background: var(--c-primary-soft);
  color: var(--c-text);
}
.form-status.is-error {
  padding: 0.85rem 1rem;
  background: var(--c-accent-soft);
  color: var(--c-text);
}

.contact-info {
  list-style: none;
  padding: 0;
  margin: 0 0 1.4rem;
  display: grid;
  gap: 1rem;
}
.contact-info li {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
}
.contact-info__icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--c-primary-soft);
  color: var(--c-primary);
  display: grid;
  place-items: center;
  flex: none;
}
.contact-info__icon svg {
  width: 22px;
  height: 22px;
}
.contact-info small {
  display: block;
  color: var(--c-muted);
  font-size: 0.85rem;
}
.contact-info a {
  color: var(--c-text);
  font-weight: 650;
  text-decoration: none;
}
.contact-info a:hover {
  color: var(--c-primary);
  text-decoration: underline;
}

.map {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--c-border);
  aspect-ratio: 4/3;
  background: var(--c-surface-2);
}
.map__placeholder {
  position: absolute;
  inset: 0;
}
.map__placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.8);
}
.map__placeholder::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    rgba(8, 26, 19, 0.7),
    rgba(8, 26, 19, 0.15)
  );
}
.map__hint {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 2;
  color: #fff;
  font-size: 0.9rem;
}
.map__viewport {
  position: absolute;
  inset: 0;
  overflow: hidden;
  touch-action: none;
  cursor: grab;
}
.map__viewport.is-dragging {
  cursor: grabbing;
}
.map__layer {
  position: absolute;
  left: 0;
  top: 0;
  will-change: transform;
}
.map__layer img {
  position: absolute;
  width: 256px;
  height: 256px;
  max-width: none;
  user-select: none;
  -webkit-user-drag: none;
}
.map__marker {
  position: absolute;
  width: 34px;
  height: 46px;
  transform: translate(-50%, -100%);
  pointer-events: none;
  filter: drop-shadow(0 3px 4px rgba(0, 0, 0, 0.35));
}
.map__controls {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  z-index: 3;
  display: grid;
  gap: 4px;
}
.map__controls button {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid #c9d3cd;
  background: #fff;
  color: #17221d;
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
}
.map__attr {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 3;
  background: rgba(255, 255, 255, 0.85);
  color: #333;
  font-size: 0.7rem;
  padding: 1px 6px;
}
.map__attr a {
  color: #0f5537;
}
.map-actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--c-dark);
  color: #b9cdc2;
  padding: 3.5rem 0 2rem;
  font-size: 0.96rem;
}
.site-footer a {
  color: #e7efe9;
}
.site-footer a:hover {
  color: #9fe3bd;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.site-footer .logo {
  color: #fff;
  margin-bottom: 0.8rem;
}
.site-footer .logo__text span {
  color: #9fe3bd;
}
.site-footer .logo__mark {
  background: #4cc28a;
  color: #08130e;
}
.footer__title {
  color: #fff;
  font-weight: 700;
  margin-bottom: 0.7rem;
  font-size: 1rem;
}
.footer__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.45rem;
}
.footer__bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1.5rem;
  font-size: 0.9rem;
}
.footer__privacy {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}
.footer__privacy svg {
  width: 18px;
  height: 18px;
  color: #4cc28a;
}

/* ---------- Legal pages ---------- */
.legal {
  padding: clamp(3rem, 7vw, 5rem) 0;
}
.legal .container {
  max-width: 820px;
}
.legal h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
}
.legal h2 {
  font-size: 1.4rem;
  margin-top: 2.2rem;
}
.legal .panel {
  margin-top: 1.5rem;
}
.legal address {
  font-style: normal;
}
.back-link {
  display: inline-flex;
  gap: 0.4rem;
  align-items: center;
  font-weight: 650;
  margin-bottom: 1.5rem;
}

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
.no-js .reveal {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .values,
  .offers,
  .pricing,
  .refs {
    grid-template-columns: 1fr 1fr;
  }
  .offers .offer--featured {
    order: -1;
    grid-column: 1 / -1;
  }
  .pricing-notes {
    grid-template-columns: 1fr;
  }
  .faq-layout,
  .cms,
  .about,
  .contact,
  .guarantee {
    grid-template-columns: 1fr;
  }
  .faq-layout .section__head {
    position: static;
  }
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer__grid > :first-child {
    grid-column: 1 / -1;
  }
  .about__card {
    right: 1rem;
  }
}
@media (max-width: 680px) {
  .values,
  .offers,
  .pricing,
  .refs {
    grid-template-columns: 1fr;
  }
  .form__row {
    grid-template-columns: 1fr;
  }
  .demo-site__hero {
    grid-template-columns: 1fr;
  }
  .demo-site__links {
    display: none;
  }
  .footer__grid {
    grid-template-columns: 1fr;
  }
  .panel {
    padding: 1.4rem;
  }
  .hero::after {
    background: linear-gradient(
      0deg,
      rgba(8, 26, 19, 0.95) 0%,
      rgba(8, 26, 19, 0.78) 60%,
      rgba(8, 26, 19, 0.55) 100%
    );
  }
}

/* Lange deutsche Wörter auf kleinen Screens sauber umbrechen */
h1,
h2,
h3 {
  overflow-wrap: break-word;
  hyphens: auto;
  -webkit-hyphens: auto;
}
.cms > *,
.about > *,
.contact > *,
.faq-layout > *,
.guarantee > * {
  min-width: 0;
}

/* ===== Anpassungen Runde 2 ===== */

/* FAQ: Abstand zwischen Button und aufgeklapptem Panel */
.faq__panel {
  padding-top: 0.35rem;
}
.faq__button[aria-expanded="true"] {
  border-bottom: 1px solid var(--c-border);
  margin-bottom: 0.9rem;
}

/* Dialog-Schliessen-Kreuz exakt zentriert */
.modal__close {
  display: grid;
  place-items: center;
  padding: 0;
  font-size: 0;
}
.modal__close svg {
  width: 18px;
  height: 18px;
  display: block;
}

/* Sparrechner: Beträge sauber rechtsbündig, Label und Betrag immer auf einer Zeile */
.calc__result {
  margin: 0.8rem 0 0;
  display: grid;
  gap: 0.35rem;
}
.calc__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.45rem 0;
  border-bottom: 1px dashed var(--c-border);
}
.calc__row:last-child {
  border-bottom: 0;
}
.calc__row dt {
  color: var(--c-muted);
}
.calc__row dd {
  margin: 0;
  font-weight: 700;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.calc__row--main {
  background: var(--c-primary-soft);
  border-radius: 8px;
  padding: 0.55rem 0.7rem;
  border-bottom: 0;
}
.calc__row--main dt {
  color: var(--c-text);
  font-weight: 650;
}
.calc__row--main dd {
  color: var(--c-primary);
  font-size: 1.15rem;
}

/* Preise: Business-Paket hebt sich klar ab (Rahmen + hellerer Ton im Dark Mode) */
.plan--highlight {
  border: 2px solid var(--c-primary);
  box-shadow:
    0 0 0 6px color-mix(in srgb, var(--c-primary) 18%, transparent),
    var(--shadow-lg);
}
@media (prefers-color-scheme: dark) {
  .plan--highlight {
    background: #1c4a36;
    border-color: #4cc28a;
  }
  .plan--highlight .plan__desc,
  .plan--highlight .plan__once {
    color: #cfe3d7;
  }
}

/* CMS-Demo: Button bleibt beim Bearbeiten lesbar */
.demo-site.is-editing .demo-site__btn[contenteditable="true"]:focus {
  background: var(--demo);
  color: #fff;
  outline-color: #1b2420;
}
