/* SBJ Digital – Angebotsseite
   Farben und Formen nach Design-Guide. Akzent: Signal-Orange (Petrol als Alternative, nie gemischt).
   Schriften: Systemschriften – Serif für Überschriften (Anmutung Fraunces), Sans für Text (Anmutung Inter).
   Keine externen Ressourcen. */

:root {
  --bg: #F7F4EF;
  --surface: #ECE9E4;
  --line: #C9C6C0;       /* nur Linien/Deko, nie Text */
  --text-2: #5C6166;
  --text: #2B2F33;
  --accent: #C2410C;
  --accent-hover: #9A3412;
  --white: #FFFFFF;

  --font-head: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --radius-card: 12px;
  --radius-input: 8px;
  --radius-pill: 999px;
  --shadow: 0 2px 8px rgba(43, 47, 51, 0.08);

  --section: 64px;
  --max: 1120px;
}

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

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

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

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 16px;
  letter-spacing: -0.01em;
}
h1 { font-size: 32px; }
h2 { font-size: 26px; max-width: 24ch; }
h3 { font-size: 20px; }

p { margin: 0 0 16px; max-width: 70ch; }

a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-hover); }

:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 16px;
  top: -64px;
  background: var(--text);
  color: var(--bg);
  padding: 8px 16px;
  border-radius: var(--radius-input);
  z-index: 10;
}
.skip:focus { top: 16px; color: var(--bg); }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}
.narrow { max-width: 800px; }
.center { text-align: center; }
.center p { margin-left: auto; margin-right: auto; }
.center h2 { margin-left: auto; margin-right: auto; }

/* Header */
.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}
.wordmark {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -0.015em;
  color: var(--text);
  text-decoration: none;
  display: inline-flex;
  align-items: baseline;
  white-space: nowrap;
}
.wordmark:hover { color: var(--text); }
/* Optionaler Punkt in der Akzentfarbe am Ende der Schriftmarke (reine Deko) */
.dot {
  display: inline-block;
  width: 0.22em;
  height: 0.22em;
  margin-left: 0.08em;
  background: var(--accent);
  border-radius: 50%;
}
.lang {
  display: flex;
  gap: 4px;
  font-weight: 600;
  font-size: 15px;
}
.lang a,
.lang-current {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  min-height: 48px;
  border-radius: var(--radius-pill);
}
.lang a { color: var(--text); text-decoration: none; }
.lang a:hover { background: var(--surface); color: var(--text); }
.lang-current { background: var(--text); color: var(--bg); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 17px;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  border: 2px solid transparent;
}
.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover,
.btn-primary:active { background: var(--accent-hover); color: var(--white); }
.btn-secondary { background: transparent; color: var(--text); border-color: var(--text); }
.btn-secondary:hover { background: var(--text); color: var(--bg); }
.btn-large { min-height: 56px; padding: 16px 32px; }
.btn:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }

.actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 24px 0;
}

/* Hero */
.hero { padding: 48px 0 var(--section); }
.hero-grid { display: grid; gap: 32px; }
.tagline {
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
  display: inline-block;
}
.eyebrow {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-2);
  margin-bottom: 16px;
}
.lead { font-size: 19px; }
.ai-note {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  color: var(--text-2);
}
.ai-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 24px;
  padding: 0 8px;
  border: 1.5px solid currentColor;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.hero-facts {
  list-style: none;
  margin: 0;
  padding: 24px;
  background: var(--surface);
  border-radius: var(--radius-card);
  display: grid;
  gap: 16px;
  align-self: start;
}
.hero-facts li { padding-left: 24px; position: relative; }
.hero-facts li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--text);
}
.hero-facts strong { display: block; font-family: var(--font-head); font-size: 20px; }

/* Sections */
.section { padding: var(--section) 0; }
.alt { background: var(--surface); }
.dark { background: var(--text); color: var(--bg); }
.dark a { color: var(--bg); }
.intro { font-size: 18px; margin-bottom: 32px; }
.small { font-size: 15px; color: var(--text-2); }
.fineprint { font-size: 15px; color: var(--text-2); margin-top: 32px; }

.cards { display: grid; gap: 24px; }
.card {
  background: var(--bg);
  border-radius: var(--radius-card);
  padding: 24px;
  box-shadow: var(--shadow);
}
.alt .card { background: var(--bg); }
.section:not(.alt) .card { background: var(--surface); box-shadow: none; }
.card p:last-child { margin-bottom: 0; }

/* Steps */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 24px;
  counter-reset: step;
}
.steps li {
  position: relative;
  padding: 0 0 0 64px;
  counter-increment: step;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--text);
  color: var(--bg);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-day {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-2);
  margin-bottom: 4px;
}
.steps h3 { margin-bottom: 8px; }
.steps p { margin-bottom: 0; }

/* Packages */
.package {
  display: flex;
  flex-direction: column;
  border: 2px solid transparent;
}
.package .btn { margin-top: auto; }
.package-featured { border-color: var(--accent); }
.badge {
  align-self: flex-start;
  background: var(--accent);
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  padding: 4px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
}
.price {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 32px;
  line-height: 1.2;
  margin-bottom: 4px;
}
.price-from,
.price-unit {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  color: var(--text-2);
}
.price-month { font-weight: 600; margin-bottom: 24px; }

.checklist {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: grid;
  gap: 8px;
}
.checklist li { position: relative; padding-left: 32px; }
.checklist li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.45em;
  width: 12px;
  height: 7px;
  border-left: 2px solid var(--text);
  border-bottom: 2px solid var(--text);
  border-radius: 0 0 0 2px;
  transform: rotate(-45deg);
}
.checklist-light li::before { border-color: var(--bg); }

/* Split layout */
.split { display: grid; gap: 32px; align-items: start; }

/* Phone mockup (Beispiel-Chat) */
.phone {
  margin: 0 auto;
  width: 100%;
  max-width: 340px;
}
.phone-screen {
  background: var(--white);
  border: 8px solid var(--text);
  border-radius: 32px;
  padding: 24px 16px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.chat-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-2);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 8px;
}
.bubble {
  font-size: 15px;
  line-height: 1.5;
  padding: 8px 16px;
  border-radius: 16px;
  margin: 0;
  max-width: 88%;
}
.bubble-user {
  align-self: flex-end;
  background: var(--text);
  color: var(--bg);
  border-bottom-right-radius: 4px;
}
.bubble-bot {
  align-self: flex-start;
  background: var(--surface);
  color: var(--text);
  border-bottom-left-radius: 4px;
}
.phone figcaption {
  text-align: center;
  font-size: 14px;
  color: var(--text-2);
  margin-top: 16px;
}

/* FAQ */
.faq { display: grid; gap: 8px; }
.faq details {
  background: var(--surface);
  border-radius: var(--radius-card);
}
.alt .faq details { background: var(--bg); }
.faq summary {
  cursor: pointer;
  list-style: none;
  min-height: 48px;
  padding: 16px 56px 16px 24px;
  font-weight: 600;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
}
.faq details[open] summary::after { content: "–"; }
.faq summary:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; border-radius: var(--radius-card); }
.faq details p { padding: 0 24px 16px; margin: 0; }

/* CTA */
.cta { background: var(--surface); }
.contact-line { margin-top: 24px; font-weight: 500; }
.contact-line a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  font-weight: 600;
}

/* Footer */
.site-footer {
  background: var(--text);
  color: var(--bg);
  padding: 48px 0;
  font-size: 15px;
}
.footer-inner p { margin-bottom: 8px; }
.wordmark-footer { color: var(--bg); font-size: 22px; }
.site-footer a { color: var(--bg); }
.site-footer a:hover { color: var(--line); }
.site-footer :focus-visible { outline-color: var(--bg); }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-top: 16px;
}
.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
}

/* Tablet */
@media (min-width: 720px) {
  body { font-size: 18px; }
  h1 { font-size: 40px; }
  h2 { font-size: 30px; }
  h3 { font-size: 22px; }
  .wrap { padding: 0 32px; }
  .tagline { font-size: 18px; }
  .actions { flex-direction: row; flex-wrap: wrap; }
  .cards-3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .split { grid-template-columns: 1fr 1fr; gap: 48px; }
}

/* Desktop */
@media (min-width: 1024px) {
  :root { --section: 96px; }
  h1 { font-size: 48px; }
  h2 { font-size: 36px; }
  h3 { font-size: 24px; }
  .hero { padding-top: 64px; }
  .hero-grid { grid-template-columns: 3fr 2fr; gap: 64px; align-items: center; }
  .cards-3 { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .steps li { padding: 64px 0 0; }
}
