/* ============================================================
   warteschleife.ai – root3
   Palette: Linen Soft (warm cream, amber primary)
   Font: Space Grotesk
   ============================================================ */

:root {
  --bg:         #fef7f0;
  --bg-alt:     #ffffff;
  --surface:    #f0e6d8;
  --text:       #1c1410;
  --muted:      #7a6f68;
  --border:     #ddd0be;
  --primary:    #b45309;
  --primary-h:  #92400e;
  --accent:     #3d7a55;

  --font: 'Space Grotesk', system-ui, sans-serif;

  --nav-height:    60px;
  --radius:        4px;
  --transition:    150ms ease;
  --shadow:        0 1px 4px rgba(28,20,16,0.08);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  font-weight: 400;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul[role="list"] { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ---- Typography ---- */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text);
}

/* ---- Layout ---- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.container--narrow {
  max-width: 720px;
}

/* ---- Accent ---- */
.accent { color: var(--primary); }

/* ---- Links ---- */
.link {
  color: var(--primary);
  text-decoration: underline;
  text-decoration-color: transparent;
  transition: text-decoration-color var(--transition);
}
.link:hover { text-decoration-color: var(--primary); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-family: var(--font);
  font-weight: 500;
  font-size: 0.925rem;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
  border: 1px solid transparent;
}

.btn--primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.btn--primary:hover {
  background: var(--primary-h);
  border-color: var(--primary-h);
}

.btn--outline {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}
.btn--outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn--ghost {
  background: transparent;
  color: var(--muted);
  padding-left: 0;
  padding-right: 0;
  border-color: transparent;
}
.btn--ghost:hover { color: var(--text); }

.btn--white {
  background: #fff;
  color: var(--primary);
  border-color: #fff;
}
.btn--white:hover {
  background: var(--bg);
  border-color: var(--bg);
}

.btn--lg { padding: 13px 26px; font-size: 1rem; }
.btn--sm { padding: 7px 14px; font-size: 0.85rem; }
.btn--full { width: 100%; justify-content: center; }

/* ---- Sections ---- */
.section {
  padding: 88px 0;
  background: var(--bg);
}

.section--alt {
  background: var(--bg-alt);
}

.section__title {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  margin-bottom: 20px;
}

.section__lead {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.75;
  max-width: 640px;
  margin-bottom: 44px;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.nav__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.nav__logo {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
  flex-shrink: 0;
  letter-spacing: -0.03em;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
  margin-left: auto;
}

.nav__link {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--muted);
  transition: color var(--transition);
}
.nav__link:hover { color: var(--text); }

.nav__link--cta {
  color: var(--primary);
  font-weight: 600;
}
.nav__link--cta:hover { color: var(--primary-h); }

.nav__cta { flex-shrink: 0; margin-left: 8px; }

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  margin-left: auto;
  cursor: pointer;
}
.nav__hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: transform var(--transition), opacity var(--transition);
}
.nav__hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding-top: var(--nav-height);
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.hero__inner {
  display: grid;
  grid-template-columns: 55fr 45fr;
  gap: 64px;
  align-items: center;
  padding-top: 80px;
  padding-bottom: 80px;
}

.hero__h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.hero__sub {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 480px;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---- Preview card ---- */
.preview-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: var(--shadow);
}

.preview-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--muted);
}

.preview-card__text {
  font-style: italic;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.65;
  border-left: 2px solid var(--border);
  padding-left: 12px;
}

.preview-card__footer {
  display: flex;
  gap: 16px;
  font-size: 0.78rem;
  color: var(--muted);
  padding-top: 4px;
  border-top: 1px solid var(--border);
}

/* ============================================================
   FAKE PLAYER (shared)
   ============================================================ */
.fake-player {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 8px 12px;
}

.fake-player__play {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background var(--transition);
}
.fake-player__play:hover { background: var(--primary-h); }
.fake-player__play.playing { background: var(--primary-h); }

.fake-player__wave {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 2px;
  height: 22px;
}

.fake-player__wave span {
  display: block;
  width: 3px;
  border-radius: 1px;
  background: var(--border);
  transition: background var(--transition);
}

.fake-player__wave span:nth-child(1)  { height: 40%; }
.fake-player__wave span:nth-child(2)  { height: 70%; }
.fake-player__wave span:nth-child(3)  { height: 55%; }
.fake-player__wave span:nth-child(4)  { height: 90%; }
.fake-player__wave span:nth-child(5)  { height: 65%; }
.fake-player__wave span:nth-child(6)  { height: 80%; }
.fake-player__wave span:nth-child(7)  { height: 100%; }
.fake-player__wave span:nth-child(8)  { height: 60%; }
.fake-player__wave span:nth-child(9)  { height: 85%; }
.fake-player__wave span:nth-child(10) { height: 45%; }
.fake-player__wave span:nth-child(11) { height: 75%; }
.fake-player__wave span:nth-child(12) { height: 55%; }
.fake-player__wave span:nth-child(13) { height: 95%; }
.fake-player__wave span:nth-child(14) { height: 40%; }
.fake-player__wave span:nth-child(15) { height: 70%; }
.fake-player__wave span:nth-child(16) { height: 85%; }
.fake-player__wave span:nth-child(17) { height: 50%; }
.fake-player__wave span:nth-child(18) { height: 75%; }
.fake-player__wave span:nth-child(19) { height: 60%; }
.fake-player__wave span:nth-child(20) { height: 90%; }
.fake-player__wave span:nth-child(21) { height: 45%; }
.fake-player__wave span:nth-child(22) { height: 80%; }
.fake-player__wave span:nth-child(23) { height: 65%; }
.fake-player__wave span:nth-child(24) { height: 100%; }
.fake-player__wave span:nth-child(25) { height: 55%; }
.fake-player__wave span:nth-child(26) { height: 70%; }
.fake-player__wave span:nth-child(27) { height: 40%; }
.fake-player__wave span:nth-child(28) { height: 85%; }
.fake-player__wave span:nth-child(29) { height: 60%; }
.fake-player__wave span:nth-child(30) { height: 35%; }

.fake-player.playing .fake-player__wave span {
  background: var(--primary);
  animation: player-wave .8s ease-in-out infinite alternate;
}
.fake-player.playing .fake-player__wave span:nth-child(even)  { animation-delay: .15s; }
.fake-player.playing .fake-player__wave span:nth-child(3n)    { animation-delay: .3s; }

@keyframes player-wave {
  from { transform: scaleY(0.4); }
  to   { transform: scaleY(1); }
}

.fake-player__time {
  font-size: 0.78rem;
  color: var(--muted);
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}

/* ============================================================
   STATS
   ============================================================ */
.stats {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  padding: 32px 0;
}

.stats__row {
  display: flex;
  align-items: stretch;
}

.stats__item {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 32px;
  border-left: 1px solid var(--border);
}
.stats__item:first-child { border-left: none; padding-left: 0; }

.stats__num {
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.02em;
  line-height: 1;
}

.stats__label {
  font-size: 0.8rem;
  color: var(--muted);
}

/* ============================================================
   TRUST VISUAL (full-width photo strip)
   ============================================================ */
.trust-visual {
  overflow: hidden;
  height: 320px;
  background: var(--bg-alt);
}

.trust-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  display: block;
}

/* ============================================================
   STEPS
   ============================================================ */
.steps {
  list-style: none;
  border-top: 1px solid var(--border);
}

.step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}

.step__num {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  min-width: 20px;
  padding-top: 3px;
  flex-shrink: 0;
}

.step__title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.step__text {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ============================================================
   FEATURES
   ============================================================ */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}

.feature {
  padding: 28px 24px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.feature__title {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.feature__text {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ============================================================
   DEMOS
   ============================================================ */
.demos {
  border-top: 1px solid var(--border);
}

.demo {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}

.demo__info {
  flex: 0 0 220px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.demo__name {
  font-size: 0.9rem;
  font-weight: 600;
}

.demo__desc {
  font-size: 0.8rem;
  color: var(--muted);
}

.demo__player {
  flex: 1;
}

.demo__cta {
  flex-shrink: 0;
}

/* ============================================================
   BRANCHES
   ============================================================ */
.branches {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}

.branch {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color var(--transition);
}
.branch:hover { border-color: var(--primary); }

.branch__title {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.branch__text {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.7;
}

.branch__quote {
  font-style: italic;
  font-size: 0.85rem;
  color: var(--muted);
  border-left: 2px solid var(--border);
  padding-left: 12px;
  line-height: 1.6;
}

.branches-more {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.825rem;
}

.branches-more__label {
  color: var(--muted);
  font-weight: 500;
}

.branches-more span:not(.branches-more__label) {
  padding: 4px 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--muted);
  background: var(--bg-alt);
}

/* ============================================================
   COMPATIBILITY
   ============================================================ */
.compat-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.compat-list li {
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  background: var(--bg);
  transition: border-color var(--transition), color var(--transition);
}
.compat-list li:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.compat-note {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 560px;
}

/* ============================================================
   FAQ / ACCORDION
   ============================================================ */
.accordion {
  border-top: 1px solid var(--border);
}

.accordion__item {
  border-bottom: 1px solid var(--border);
}

.accordion__trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  transition: color var(--transition);
}
.accordion__trigger:hover { color: var(--primary); }

.accordion__icon {
  flex-shrink: 0;
  color: var(--muted);
  transition: transform var(--transition);
}
.accordion__trigger[aria-expanded="true"] .accordion__icon {
  transform: rotate(180deg);
}

.accordion__body {
  padding-bottom: 16px;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.75;
}
.accordion__body[hidden] { display: none; }
.accordion__body p + p { margin-top: 12px; }

/* ============================================================
   PRICING
   ============================================================ */
.pricing-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
  margin-bottom: 20px;
}

.pricing {
  max-width: 460px;
  margin: 0 auto 20px;
}

.pricing-card {
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  background: var(--bg-alt);
}

.pricing-card__top {
  padding: 28px 28px 24px;
  border-bottom: 1px solid var(--border);
}

.pricing-card__name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 16px;
}

.pricing-card__price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 8px;
}

.pricing-card__amount {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1;
}

.pricing-card__period {
  font-size: 0.875rem;
  color: var(--muted);
}

.pricing-card__note {
  font-size: 0.8rem;
  color: var(--muted);
}

.pricing-card__list {
  list-style: none;
  padding: 20px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-bottom: 1px solid var(--border);
}

.pricing-card__list li {
  font-size: 0.9rem;
  color: var(--text);
  padding-left: 18px;
  position: relative;
}
.pricing-card__list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 600;
}

.pricing-card .btn--primary {
  display: flex;
  border-radius: 0;
  padding: 16px;
  font-size: 1rem;
}

.pricing__vat {
  font-size: 0.825rem;
  color: var(--muted);
}

/* ---- Compare table ---- */
.pricing-compare {
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  background: var(--bg-alt);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.compare-table thead th {
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
  font-size: 0.825rem;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}

.compare-table thead th:first-child {
  width: 36%;
}

.compare-table tbody td {
  padding: 11px 16px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
  color: var(--text);
}

.compare-table tbody tr:last-child td {
  border-bottom: none;
}

.compare-table tbody td:first-child {
  color: var(--muted);
  font-size: 0.825rem;
}

.compare-table__bad {
  color: var(--muted);
}

.compare-table__good {
  font-weight: 500;
  color: var(--accent);
}

/* ============================================================
   WARTEMUSIK PRODUCT SPLIT
   ============================================================ */
.product-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 40px;
}

.product-split__visual img {
  width: 100%;
  border-radius: 6px;
  border: 1px solid var(--border);
  display: block;
}

.product-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.product-list li {
  font-size: 0.9rem;
  color: var(--text);
  padding-left: 18px;
  position: relative;
  line-height: 1.5;
}

.product-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 600;
}

.gema-note {
  border: 1px solid var(--border);
  border-left: 3px solid var(--primary);
  border-radius: var(--radius);
  padding: 18px 20px;
  background: var(--bg-alt);
}

.gema-note p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.7;
}

.gema-note strong {
  color: var(--text);
  font-weight: 600;
}

/* ============================================================
   TELEFONANSAGEN GRID
   ============================================================ */
.ansagen-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.ansage-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color var(--transition);
}
.ansage-item:hover { border-color: var(--primary); }

.ansage-item__title {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.ansage-item__text {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.6;
}

.ansage-item__example {
  font-style: italic;
  font-size: 0.825rem;
  color: var(--muted);
  border-left: 2px solid var(--border);
  padding-left: 10px;
  line-height: 1.6;
  margin-top: 4px;
}

.ansagen-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

/* ============================================================
   CTA STRIP
   ============================================================ */
.cta-strip {
  background: var(--primary);
  padding: 72px 0;
}

.cta-strip__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.cta-strip__title {
  font-size: clamp(1.3rem, 2.5vw, 1.75rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.cta-strip__sub {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--text);
  padding: 64px 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer__logo {
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  display: inline-block;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.footer__tagline {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.65;
  max-width: 260px;
}

.footer__heading {
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 16px;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
}

.footer__link {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition);
  background: none;
  border: none;
  padding: 0;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
}
.footer__link:hover { color: #fff; }

.footer__link--btn {
  font-size: 0.875rem;
}

.footer__legal {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.25);
  line-height: 1.6;
  padding-bottom: 16px;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0 32px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.3);
}

.footer__bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding-bottom: 8px;
}

.footer-legal {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

.memberof {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color var(--transition);
}
.memberof:hover { color: rgba(255, 255, 255, 0.8); }

.memberof__flame {
  display: inline-flex;
  align-items: center;
  color: #fff;
  opacity: 0.5;
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  justify-content: flex-end;
  font-size: 0.7rem;
}

.footer-legal-links a,
.footer-legal-links button.footer__link--btn {
  color: rgba(255, 255, 255, 0.2);
  text-decoration: none;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font: inherit;
  font-size: 0.7rem;
  transition: color var(--transition);
}
.footer-legal-links a:hover,
.footer-legal-links button.footer__link--btn:hover {
  color: rgba(255, 255, 255, 0.5);
}

.footer__seo-brand {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 14px 0;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.2);
  line-height: 1.65;
}

.footer__seo {
  padding: 8px 0 14px;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.15);
  line-height: 1.65;
}

.footer__seo a {
  color: rgba(255, 255, 255, 0.25);
}

.footer__seo a:hover {
  color: rgba(255, 255, 255, 0.45);
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ============================================================
   RESPONSIVE – 1024px
   ============================================================ */
@media (max-width: 1024px) {
  .features {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

/* ============================================================
   RESPONSIVE – 768px
   ============================================================ */
@media (max-width: 768px) {
  :root { --nav-height: 56px; }

  .nav__links {
    position: fixed;
    top: var(--nav-height);
    left: 0; right: 0;
    z-index: 999;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 4px 12px rgba(28,20,16,0.1);
    flex-direction: column;
    gap: 0;
    padding: 8px 0 16px;
    margin-left: 0;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-6px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }
  .nav__links.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
  .nav__links li { width: 100%; }
  .nav__link {
    display: block;
    padding: 12px 24px;
    font-size: 0.95rem;
    border-bottom: 1px solid var(--border);
  }
  .nav__hamburger { display: flex; }
  .nav__cta { display: none; }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .stats__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .stats__item {
    padding: 16px;
    border-left: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
  }
  .stats__item:first-child { padding-left: 16px; }
  .stats__item:nth-child(1),
  .stats__item:nth-child(2) { border-top: 1px solid var(--border); }

  .features { grid-template-columns: 1fr; }

  .branches { grid-template-columns: 1fr; }

  .pricing-layout { grid-template-columns: 1fr; }

  .product-split { grid-template-columns: 1fr; gap: 32px; }
  .product-split__visual { order: -1; }

  .ansagen-grid { grid-template-columns: 1fr; }

  .demo {
    flex-wrap: wrap;
    gap: 12px;
  }
  .demo__info { flex: 1 1 100%; }
  .demo__player { flex: 1; }

  .cta-strip__inner {
    flex-direction: column;
    text-align: center;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .section { padding: 56px 0; }

  .trust-visual { height: 200px; }
}

/* ============================================================
   RESPONSIVE – 480px
   ============================================================ */
@media (max-width: 480px) {
  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .compat-list li { flex: 1 1 calc(50% - 4px); text-align: center; }
}

/* ============================================================
   PRINT
   ============================================================ */
@media print {
  .nav, .cta-strip { display: none !important; }
  body { background: white; color: black; }
}

/* ============================================================
   PAGE HERO (subpages)
   ============================================================ */
.page-hero {
  padding-top: var(--nav-height);
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.page-hero__inner {
  padding-top: 56px;
  padding-bottom: 56px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 720px;
}

.page-hero__h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.page-hero__sub {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 600px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.825rem;
  color: var(--muted);
}

.breadcrumb a {
  color: var(--primary);
  text-decoration: underline;
  text-decoration-color: transparent;
  transition: text-decoration-color var(--transition);
}
.breadcrumb a:hover { text-decoration-color: var(--primary); }

/* ============================================================
   GUIDE STEPS
   ============================================================ */
.guide-steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 32px;
}

.guide-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}
.guide-step:first-child { border-top: 1px solid var(--border); }

.guide-step__num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.guide-step__content h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.guide-step__content p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.75;
}

.guide-step__content code {
  font-family: ui-monospace, 'Cascadia Code', monospace;
  font-size: 0.85em;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 1px 5px;
  color: var(--text);
}

/* ============================================================
   TIP BOX
   ============================================================ */
.tip-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--primary);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-top: 8px;
}

.tip-box__text {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
}

.tip-box__text strong { color: var(--text); }

/* ============================================================
   CTA BAND (subpage bottom CTA)
   ============================================================ */
.cta-band {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 56px 0;
}

.cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.cta-band__title {
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 700;
  margin-bottom: 6px;
}

.cta-band__sub {
  font-size: 0.9rem;
  color: var(--muted);
}

@media (max-width: 768px) {
  .cta-band__inner { flex-direction: column; text-align: center; }
}

/* ============================================================
   EXAMPLE CARDS (Vorlagen)
   ============================================================ */
.example-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color var(--transition);
}
.example-card:hover { border-color: var(--primary); }

.example-card__label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.example-card__text {
  font-style: italic;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
  border-left: 2px solid var(--border);
  padding-left: 12px;
  margin: 0;
}

.example-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.vorlagen-grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.vorlagen-group__title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

/* ============================================================
   BRANCHE TILES (branchen.html)
   ============================================================ */
.branche-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.branche-tile {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  background: var(--bg-alt);
  transition: border-color var(--transition), box-shadow var(--transition);
  text-decoration: none;
  color: inherit;
}
.branche-tile:hover {
  border-color: var(--primary);
  box-shadow: 0 2px 8px rgba(180,83,9,0.08);
}

.branche-tile__title {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
}

.branche-tile__text {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.65;
  flex: 1;
}

.branche-tile__arrow {
  font-size: 0.825rem;
  color: var(--primary);
  font-weight: 500;
  margin-top: 4px;
}

@media (max-width: 1024px) {
  .branche-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .branche-grid { grid-template-columns: 1fr; }
  .page-hero__inner { padding-top: 40px; padding-bottom: 40px; }
}

/* ============================================================
   GENERATOR EMBED
   ============================================================ */
#generator-embed {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 0.9rem;
}
