/* ============================================================
   sitefertig.ch — styles.css
   Mobile-first, System-Fonts, keine externen Abhaengigkeiten
   ============================================================ */

:root {
  /* Farbwelt: Anthrazit + warmes Orange, viel Weissraum */
  --anthrazit:        #1f2429;
  --anthrazit-800:    #2a3037;
  --anthrazit-700:    #3a424b;
  --orange:           #e8631a;
  --orange-dark:      #c9500e;
  --orange-soft:      #fdf1e8;
  --rot:              #d52b1e; /* Schweizer Rot, sehr dezent */

  --text:             #23282d;
  --text-muted:       #5c666f;
  --text-invert:      #f4f6f8;
  --text-invert-muted:#b9c2cb;

  --bg:               #ffffff;
  --bg-soft:          #f6f7f9;
  --bg-card:          #ffffff;
  --border:           #e3e7eb;

  --shadow-sm: 0 1px 2px rgba(15, 20, 25, .06), 0 2px 8px rgba(15, 20, 25, .05);
  --shadow-md: 0 4px 12px rgba(15, 20, 25, .08), 0 12px 32px rgba(15, 20, 25, .08);

  --radius:    14px;
  --radius-sm: 10px;

  --maxw: 1120px;
  --gutter: clamp(1.15rem, 4vw, 2.5rem);

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
          Arial, "Helvetica Neue", sans-serif;
}

/* ---------- Reset / Basis ---------- */
* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;      /* 17px */
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

img, svg { max-width: 100%; height: auto; display: block; }

a { color: var(--orange-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 6vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 4vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p  { margin: 0 0 1rem; text-wrap: pretty; }
li { text-wrap: pretty; }

/* Sichtbarer Fokus fuer Tastaturnutzung (Barrierefreiheit) */
:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--anthrazit);
  color: #fff;
  padding: .7rem 1.1rem;
  z-index: 200;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Layout-Helfer ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

section { padding-block: clamp(3.5rem, 8vw, 6rem); }

.section-head {
  max-width: 720px;
  margin-bottom: clamp(2rem, 5vw, 3rem);
}
.section-head.center { margin-inline: auto; text-align: center; }

.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--orange-dark);
  margin-bottom: .75rem;
}

.lead { font-size: 1.15rem; color: var(--text-muted); text-wrap: pretty; max-width: 62ch; }
.section-head.center .lead { margin-inline: auto; }

.bg-soft { background: var(--bg-soft); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font: inherit;
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1;
  padding: 1rem 1.6rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .12s ease, background-color .15s ease, box-shadow .15s ease;
  text-decoration: none;
}
.btn:hover { text-decoration: none; }
.btn-primary {
  background: var(--orange);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--orange-dark); transform: translateY(-2px); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover { border-color: var(--anthrazit-700); }
.btn-invert {
  background: #fff;
  color: var(--anthrazit);
}
.btn-invert:hover { background: #f1f1f1; transform: translateY(-2px); }
.btn-lg { padding: 1.15rem 2rem; font-size: 1.1rem; }

/* ============================================================
   Header / Navigation
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.9);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--anthrazit);
  letter-spacing: -.02em;
  padding: .3rem .2rem;
}
.brand:hover { text-decoration: none; }
.brand .dot { color: var(--orange); }
.brand svg { width: 40px; height: 40px; flex: none; }

.nav-links {
  display: flex;
  align-items: center;
  gap: .35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: var(--text);
  font-weight: 600;
  font-size: .98rem;
  padding: .5rem .8rem;
  border-radius: 8px;
}
.nav-links a:hover { background: var(--bg-soft); text-decoration: none; }
.nav-links .btn { color: #fff; padding: .65rem 1.15rem; font-size: .98rem; }
.nav-links .btn:hover { color: #fff; }

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 9px;
  width: 44px;
  height: 44px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  display: block;
  width: 22px;
  height: 2px;
  background: var(--anthrazit);
  position: relative;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle span::before { position: absolute; top: -7px; }
.nav-toggle span::after  { position: absolute; top: 7px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 820px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: .15rem;
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: .75rem var(--gutter) 1.25rem;
    box-shadow: var(--shadow-md);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: .85rem .6rem; font-size: 1.05rem; }
  .nav-links .btn { margin-top: .4rem; justify-content: center; padding: .95rem; }
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  background: linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%);
  overflow: hidden;
  padding-block: clamp(3rem, 7vw, 5.5rem) 0;
}
.hero-inner { position: relative; z-index: 2; max-width: 760px; }
.hero h1 { margin-bottom: 1rem; }
.hero h1 .accent { color: var(--orange); }
.hero .subline {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
  max-width: 600px;
  text-wrap: pretty;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; }

.trustline {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.15rem;
  font-size: .95rem;
  color: var(--text-muted);
  font-weight: 600;
}
.trustline span { display: inline-flex; align-items: center; gap: .45rem; }
.trustline svg { width: 18px; height: 18px; color: var(--orange); flex: none; }

/* Saentis-Silhouette am unteren Rand des Hero */
.hero-saentis {
  position: relative;
  z-index: 1;
  margin-top: clamp(2rem, 6vw, 4rem);
  width: 100%;
  color: var(--anthrazit);
  line-height: 0;
}
.hero-saentis svg { width: 100%; height: auto; display: block; }

/* ============================================================
   Problem-Karten "Kommt Ihnen das bekannt vor?"
   ============================================================ */
.cards {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) { .cards { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
  box-shadow: var(--shadow-sm);
}
.card .card-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: var(--orange-soft);
  color: var(--orange-dark);
  margin-bottom: 1rem;
}
.card .card-icon svg { width: 24px; height: 24px; }
.card h3 { margin-bottom: .4rem; }
.card p { margin: 0; color: var(--text-muted); }

/* ============================================================
   Prozess "So einfach geht's"
   ============================================================ */
.steps {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
  counter-reset: step;
}
@media (min-width: 780px) { .steps { grid-template-columns: repeat(3, 1fr); } }

.step { position: relative; padding-top: .5rem; }
.step .num {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--anthrazit);
  color: #fff;
  font-weight: 800;
  font-size: 1.2rem;
  display: grid; place-items: center;
  margin-bottom: 1rem;
}
.step h3 { margin-bottom: .35rem; }
.step p { margin: 0; color: var(--text-muted); }

.process-note {
  margin-top: 2rem;
  text-align: center;
  font-weight: 600;
  color: var(--text);
  background: var(--orange-soft);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
}

/* ============================================================
   Preise
   ============================================================ */
.pricing {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
  align-items: stretch;
}
@media (min-width: 860px) { .pricing { grid-template-columns: repeat(3, 1fr); } }

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1.6rem;
  box-shadow: var(--shadow-sm);
}
.plan.featured {
  border-color: var(--orange);
  box-shadow: var(--shadow-md);
}
.plan .badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--orange);
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: .35rem .85rem;
  border-radius: 999px;
  white-space: nowrap;
}
.plan .plan-name { font-size: 1.15rem; font-weight: 800; margin-bottom: .2rem; }
.plan .price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--anthrazit);
  margin-bottom: .9rem;
  letter-spacing: -.02em;
}
.plan .price small { font-size: .95rem; font-weight: 600; color: var(--text-muted); }
.plan p.desc { color: var(--text-muted); margin-bottom: 1.25rem; }
.plan .btn { margin-top: auto; }

.pricing-addon {
  margin-top: 1.5rem;
  background: var(--anthrazit);
  color: var(--text-invert);
  border-radius: var(--radius);
  padding: 1.35rem 1.6rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem 1rem;
  justify-content: space-between;
}
.pricing-addon strong { color: #fff; }
.pricing-addon .addon-price { font-weight: 800; color: var(--orange); font-size: 1.15rem; }
.pricing-addon p { margin: 0; color: var(--text-invert-muted); }

.pricing-note {
  margin-top: 1.25rem;
  text-align: center;
  color: var(--text-muted);
  font-size: .98rem;
}

/* ============================================================
   Warum sitefertig
   ============================================================ */
.reasons {
  display: grid;
  gap: 1.25rem 2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) { .reasons { grid-template-columns: 1fr 1fr; } }

.reason { display: flex; gap: 1rem; }
.reason .tick {
  flex: none;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--orange-soft);
  color: var(--orange-dark);
  display: grid; place-items: center;
}
.reason .tick svg { width: 20px; height: 20px; }
.reason h3 { margin-bottom: .2rem; }
.reason p { margin: 0; color: var(--text-muted); }

/* ============================================================
   FAQ (native details/summary)
   ============================================================ */
.faq { max-width: 800px; margin-inline: auto; }
.faq details {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
  margin-bottom: .75rem;
  overflow: hidden;
}
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1.1rem 1.25rem;
  font-weight: 700;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .chev {
  flex: none;
  width: 22px; height: 22px;
  transition: transform .2s ease;
  color: var(--orange-dark);
}
.faq details[open] summary .chev { transform: rotate(180deg); }
.faq .faq-body { padding: 0 1.25rem 1.2rem; color: var(--text-muted); }
.faq .faq-body p { max-width: 62ch; }
.faq .faq-body p { margin: 0; }

/* ============================================================
   Kontakt
   ============================================================ */
.contact {
  background: var(--anthrazit);
  color: var(--text-invert);
}
.contact h2 { color: #fff; }
.contact .lead { color: var(--text-invert-muted); }
.contact-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 780px) { .contact-grid { grid-template-columns: 1.1fr .9fr; align-items: center; } }

.contact-methods { display: grid; gap: 1rem; margin-top: 1.5rem; }
.contact-method {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--anthrazit-800);
  border: 1px solid var(--anthrazit-700);
  border-radius: var(--radius);
  padding: 1.1rem 1.35rem;
  color: #fff;
}
.contact-method:hover { text-decoration: none; border-color: var(--orange); }
.contact-method .m-icon {
  flex: none;
  width: 46px; height: 46px;
  border-radius: 12px;
  background: rgba(232,99,26,.16);
  color: var(--orange);
  display: grid; place-items: center;
}
.contact-method .m-icon svg { width: 24px; height: 24px; }
.contact-method .m-label { font-size: .85rem; color: var(--text-invert-muted); }
.contact-method .m-value { font-weight: 700; font-size: 1.1rem; }

.contact-cta-card {
  background: linear-gradient(160deg, var(--anthrazit-800), var(--anthrazit));
  border: 1px solid var(--anthrazit-700);
  border-radius: var(--radius);
  padding: 1.75rem;
  text-align: center;
}
.contact-cta-card p { color: var(--text-invert-muted); }

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: #14181c;
  color: var(--text-invert-muted);
  padding-block: 2.5rem;
  font-size: .95rem;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  align-items: center;
  justify-content: space-between;
}
.footer-brand { color: #fff; font-weight: 700; display: inline-flex; align-items: center; gap: .55rem; }
.footer-brand svg { width: 30px; height: 30px; flex: none; }
.footer-brand .dot { color: var(--orange); }
.site-footer nav { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.site-footer a { color: var(--text-invert-muted); }
.site-footer a:hover { color: #fff; }
.footer-meta { width: 100%; margin-top: 1rem; font-size: .85rem; color: #6b757e; }

/* ============================================================
   Beispiele / Demo-Vorschaukarten
   ============================================================ */
.demo-cards {
  display: grid;
  gap: 1.75rem;
  grid-template-columns: 1fr;
}
@media (min-width: 760px) { .demo-cards { grid-template-columns: 1fr 1fr; } }

.demo-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .15s ease, box-shadow .15s ease;
  color: inherit;
}
.demo-card:hover {
  text-decoration: none;
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

/* Browser-Mockup als "Screenshot"-Vorschau */
.browser-mock { background: #fff; }
.browser-bar {
  display: flex;
  align-items: center;
  gap: .4rem;
  padding: .6rem .8rem;
  background: #e9edf1;
  border-bottom: 1px solid var(--border);
}
.browser-bar .dot3 { width: 11px; height: 11px; border-radius: 50%; background: #c3ccd4; }
.browser-bar .url {
  margin-left: .5rem;
  font-size: .78rem;
  color: #6b757e;
  background: #fff;
  border-radius: 999px;
  padding: .2rem .7rem;
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* Fake-Screenshot-Flaeche, Palette je Demo per Modifier */
.mock-shot {
  height: 210px;
  padding: 1.4rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: .55rem;
  position: relative;
  overflow: hidden;
}
.mock-shot .m-ey { font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; opacity: .85; }
.mock-shot .m-h { font-size: 1.35rem; font-weight: 800; line-height: 1.15; }
.mock-shot .m-sub { font-size: .85rem; opacity: .8; max-width: 24ch; }
.mock-shot .m-row { display: flex; gap: .5rem; margin-top: .4rem; }
.mock-shot .m-pill { height: 26px; border-radius: 999px; padding: 0 .9rem; display: inline-flex; align-items: center; font-size: .78rem; font-weight: 700; }
.mock-shot .m-bars { position: absolute; right: -20px; bottom: -20px; display: flex; gap: .5rem; opacity: .5; }
.mock-shot .m-bars span { width: 34px; border-radius: 8px 8px 0 0; }

/* Maler: warme Palette */
.mock-maler { background: linear-gradient(150deg, #fff6ee 0%, #ffe8d5 100%); color: #5a3311; }
.mock-maler .m-ey { color: #c2591b; }
.mock-maler .m-pill.solid { background: #e8631a; color: #fff; }
.mock-maler .m-pill.ghost { background: rgba(226,120,40,.15); color: #a8480f; }
.mock-maler .m-bars span { background: #e8842f; }

/* Barbershop: dunkle, maskuline Palette */
.mock-barber { background: linear-gradient(150deg, #22262b 0%, #14171a 100%); color: #eef1f3; }
.mock-barber .m-ey { color: #d8b26a; }
.mock-barber .m-pill.solid { background: #d8b26a; color: #1b1e21; }
.mock-barber .m-pill.ghost { background: rgba(216,178,106,.16); color: #d8b26a; }
.mock-barber .m-bars span { background: #4a5058; }

.demo-card .demo-meta { padding: 1.25rem 1.4rem 1.4rem; }
.demo-card .demo-meta h3 { margin-bottom: .25rem; }
.demo-card .demo-meta p { margin: 0 0 1rem; color: var(--text-muted); }
.demo-card .demo-link {
  font-weight: 700;
  color: var(--orange-dark);
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}
.demo-card:hover .demo-link { gap: .65rem; }
.demo-note { margin-top: 1.5rem; text-align: center; color: var(--text-muted); font-size: .95rem; }

/* ============================================================
   Rechts-Seiten (Impressum / Datenschutz)
   ============================================================ */
.legal { padding-block: clamp(2.5rem, 6vw, 4rem); }
.legal .container { max-width: 760px; }
.legal h1 { font-size: clamp(1.8rem, 5vw, 2.6rem); }
.legal h2 { font-size: 1.35rem; margin-top: 2rem; }
.legal a.back {
  display: inline-flex; align-items: center; gap: .4rem;
  font-weight: 600; margin-bottom: 1.5rem;
}
.legal address { font-style: normal; }
