/* ==========================================================================
   seofuerth.de – Stylesheet
   Fonts werden lokal aus /assets/fonts/ geladen (DSGVO-konform, kein CDN).
   ========================================================================== */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/inter-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/inter-latin-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/inter-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/manrope-latin-700-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/manrope-latin-800-normal.woff2") format("woff2");
}

/* --------------------------------------------------------- Design-Tokens */
:root {
  --paper: #fbf8f4;
  --paper-2: #f3ece3;
  --card: #ffffff;
  --ink: #17130f;
  --ink-2: #5f574e;
  --line: #e4dad0;
  --orange: #f25c05;
  --orange-deep: #b84403;
  --orange-soft: #fde8da;
  --green: #1c7c4a;

  --font-display: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --r-s: 10px;
  --r-m: 16px;
  --r-l: 24px;
  --r-xl: 32px;

  --shadow-s: 0 1px 2px rgba(23, 19, 15, .05), 0 4px 14px rgba(23, 19, 15, .05);
  --shadow-m: 0 2px 6px rgba(23, 19, 15, .06), 0 18px 40px rgba(23, 19, 15, .08);

  --wrap: 1120px;
  --pad: clamp(20px, 5vw, 40px);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  letter-spacing: -0.006em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.032em;
  line-height: 1.08;
  margin: 0 0 .5em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.35rem, 6.4vw, 4.15rem); }
h2 { font-size: clamp(1.85rem, 4.2vw, 2.85rem); }
h3 { font-size: clamp(1.12rem, 2vw, 1.3rem); letter-spacing: -0.022em; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.lead {
  font-size: clamp(1.06rem, 2.1vw, 1.28rem);
  line-height: 1.6;
  color: var(--ink-2);
}

.muted { color: var(--ink-2); }
.center { text-align: center; }
.nowrap { white-space: nowrap; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--orange-deep);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--orange);
  border-radius: 2px;
}

.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--alt { background: var(--paper-2); }
.section-head { max-width: 640px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head.center { margin-inline: auto; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 12px 18px;
  border-radius: 0 0 var(--r-s) 0;
  z-index: 200;
}
.skip-link:focus { left: 0; }

:where(a, button, summary, input, textarea, select):focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
  border-radius: 6px;
}

/* --------------------------------------------------------------- Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.btn svg { width: 19px; height: 19px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 6px 18px rgba(242, 92, 5, .28);
}
.btn--primary:hover { background: var(--orange-deep); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn--ghost:hover { border-color: var(--ink); background: rgba(23, 19, 15, .04); }

.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #2c241d; }

.btn--sm { padding: 11px 20px; font-size: .93rem; }
.btn--block { width: 100%; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* ---------------------------------------------------------------- Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 248, 244, .82);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.site-header.is-stuck { border-bottom-color: var(--line); }

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.06rem;
  letter-spacing: -0.03em;
  text-decoration: none;
}
.brand svg { width: 30px; height: 30px; }
.brand span i { font-style: normal; color: var(--orange); }

.site-nav ul {
  display: flex;
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav a {
  font-size: .95rem;
  font-weight: 500;
  color: var(--ink-2);
  text-decoration: none;
  transition: color .16s ease;
}
.site-nav a:hover { color: var(--ink); }

.header-cta { display: inline-flex; gap: 10px; }

@media (max-width: 940px) {
  .site-nav { display: none; }
}
@media (max-width: 520px) {
  .header-cta .btn--ghost { display: none; }
}

/* ------------------------------------------------------------------ Hero */
.hero {
  position: relative;
  padding: clamp(52px, 8vw, 96px) 0 clamp(56px, 8vw, 88px);
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto -20% 0 auto;
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, rgba(242, 92, 5, .13), transparent 62%);
  transform: translateY(28%);
  pointer-events: none;
  z-index: 0;
}
.hero .wrap { position: relative; z-index: 1; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
}

.hero h1 span { color: var(--orange); }

.hero-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font-size: .88rem;
  color: var(--ink-2);
}
.hero-note svg { width: 16px; height: 16px; color: var(--green); flex: none; }

.trustbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  list-style: none;
  padding-left: 0;
}
.trustbar li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: .92rem;
  font-weight: 500;
  color: var(--ink-2);
}
.trustbar svg { width: 17px; height: 17px; color: var(--orange); flex: none; }

/* ------------------------------------------- Signature: Ranking-Simulation */
.serp {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-m);
  padding: 20px;
}
.serp-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .92rem;
  color: var(--ink-2);
  margin-bottom: 16px;
}
.serp-bar svg { width: 15px; height: 15px; flex: none; }
.serp-bar strong { color: var(--ink); font-weight: 600; }

.serp-list { list-style: none; margin: 0; padding: 0; }

.serp-item {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 58px;
  padding: 0 12px;
  border-radius: var(--r-m);
  transition: transform .85s cubic-bezier(.2, .85, .25, 1), background-color .3s ease;
  will-change: transform;
}
.serp-rank {
  flex: none;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--paper-2);
  font-size: .76rem;
  font-weight: 600;
  color: var(--ink-2);
}
.serp-lines { flex: 1; min-width: 0; }
.serp-line {
  height: 8px;
  border-radius: 4px;
  background: var(--paper-2);
  margin-bottom: 7px;
}
.serp-line:last-child { margin-bottom: 0; width: 62%; height: 6px; opacity: .7; }

.serp-item--you {
  background: var(--orange-soft);
  order: 0;
  transition: transform .9s cubic-bezier(.2, .8, .2, 1), background-color .3s ease;
}
.serp-item--you .serp-rank { background: var(--orange); color: #fff; }
.serp-item--you .serp-lines { font-size: .95rem; font-weight: 600; }
.serp-item--you .serp-line { display: none; }
.serp-item--you .serp-title { color: var(--ink); }
.serp-item--you .serp-url { font-size: .8rem; font-weight: 500; color: var(--orange-deep); }

.serp-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: .84rem;
  color: var(--ink-2);
}
.serp-foot b { font-family: var(--font-display); color: var(--ink); font-size: 1rem; }

/* ------------------------------------------------------------------ Karten */
.grid {
  display: grid;
  gap: 18px;
}
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  padding: 28px 26px;
  box-shadow: var(--shadow-s);
}
.card h3 { margin-bottom: .4em; }
.card p { font-size: .97rem; color: var(--ink-2); }

.card-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: var(--orange-soft);
  color: var(--orange-deep);
  margin-bottom: 18px;
}
.card-icon svg { width: 24px; height: 24px; }

/* ------------------------------------------------------------------ Ablauf */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.step {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 22px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.04em;
  color: var(--orange);
}
.step h3 { margin-bottom: .35em; }
.step p { color: var(--ink-2); font-size: .98rem; margin: 0; }
.step-time {
  display: inline-block;
  margin-top: 10px;
  font-size: .8rem;
  font-weight: 600;
  color: var(--ink-2);
  background: var(--paper-2);
  border-radius: 999px;
  padding: 4px 12px;
}
.section--alt .step-time { background: #fff; }
@media (max-width: 620px) {
  .step { grid-template-columns: 1fr; gap: 8px; }
}

/* ------------------------------------------------------------------ Preise */
.price-grid { align-items: stretch; }

.price {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  padding: 30px 26px;
  box-shadow: var(--shadow-s);
}
.price--featured {
  border-color: var(--orange);
  box-shadow: var(--shadow-m);
  position: relative;
}
.price-badge {
  position: absolute;
  top: -13px;
  left: 26px;
  background: var(--orange);
  color: #fff;
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 5px 13px;
  border-radius: 999px;
}
.price h3 { margin-bottom: .3em; }
.price-desc { font-size: .93rem; color: var(--ink-2); margin-bottom: 20px; }
.price-tag {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.35rem;
  letter-spacing: -0.04em;
  line-height: 1;
}
.price-unit { font-size: .88rem; font-weight: 500; color: var(--ink-2); margin-bottom: 22px; }
.price ul {
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
  display: grid;
  gap: 11px;
  font-size: .95rem;
}
.price li { display: flex; gap: 10px; align-items: flex-start; }
.price li svg { width: 17px; height: 17px; color: var(--green); flex: none; margin-top: 4px; }
.price .btn { margin-top: auto; }

/* ------------------------------------------------------------------ Zahlen */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  overflow: hidden;
}
.stat { background: var(--paper); padding: 30px 24px; }
.section--alt .stat { background: var(--paper-2); }
.stat b {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.9rem, 4vw, 2.5rem);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 8px;
}
.stat span { font-size: .9rem; color: var(--ink-2); }
@media (max-width: 780px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ------------------------------------------------------------------ Person */
.about-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
}
@media (max-width: 780px) { .about-grid { grid-template-columns: 1fr; } }

.portrait {
  border-radius: var(--r-l);
  background: var(--card);
  border: 1px solid var(--line);
  padding: 22px;
  box-shadow: var(--shadow-s);
}
.portrait svg { width: 100%; height: auto; }
.portrait figcaption {
  margin-top: 16px;
  font-size: .9rem;
  color: var(--ink-2);
  text-align: center;
}
.portrait figcaption b { display: block; color: var(--ink); font-family: var(--font-display); font-size: 1.02rem; }

/* --------------------------------------------------------------------- FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 22px 2px;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 11px;
  height: 11px;
  border-right: 2px solid var(--orange);
  border-bottom: 2px solid var(--orange);
  transform: rotate(45deg);
  transition: transform .22s ease;
  margin-top: -5px;
}
.faq details[open] summary::after { transform: rotate(225deg); margin-top: 3px; }
.faq .faq-body { padding: 0 2px 24px; color: var(--ink-2); font-size: .99rem; max-width: 76ch; }

/* ---------------------------------------------------------------- Kontakt */
.cta-panel {
  background: var(--ink);
  color: #fff;
  border-radius: var(--r-xl);
  padding: clamp(36px, 6vw, 68px);
  position: relative;
  overflow: hidden;
}
.cta-panel::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(242, 92, 5, .38), transparent 66%);
  pointer-events: none;
}
.cta-panel > * { position: relative; z-index: 1; }
.cta-panel h2 { color: #fff; }
.cta-panel p { color: #cdc4bb; }
.cta-panel .eyebrow { color: #ff9152; }
.cta-panel .eyebrow::before { background: #ff9152; }
.cta-panel .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .3); }
.cta-panel .btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .1); }

.contact-list {
  list-style: none;
  margin: 30px 0 0;
  padding: 26px 0 0;
  border-top: 1px solid rgba(255, 255, 255, .16);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.contact-list a { color: #fff; text-decoration: none; font-weight: 600; }
.contact-list a:hover { text-decoration: underline; }
.contact-list span { display: block; font-size: .8rem; color: #a89e94; margin-bottom: 4px; letter-spacing: .05em; text-transform: uppercase; }
@media (max-width: 700px) { .contact-list { grid-template-columns: 1fr; } }

.privacy-hint {
  font-size: .82rem;
  color: #a89e94;
  margin-top: 22px;
  max-width: 60ch;
}
.privacy-hint a { color: #e5ded7; }

/* ---------------------------------------------------------------- Footer */
.site-footer {
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  padding: 52px 0 34px;
  font-size: .92rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 34px;
}
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 {
  font-size: .8rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-2);
  font-weight: 700;
  margin-bottom: 14px;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.site-footer a { color: var(--ink-2); text-decoration: none; }
.site-footer a:hover { color: var(--ink); text-decoration: underline; }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  color: var(--ink-2);
  font-size: .86rem;
}

/* --------------------------------------------------- Mobile Sticky-CTA-Bar */
.mobile-cta {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 90;
  display: none;
  gap: 8px;
  padding: 8px;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow-m);
}
.mobile-cta .btn { flex: 1; padding: 12px 14px; font-size: .92rem; }
@media (max-width: 700px) {
  .mobile-cta { display: flex; }
  body { padding-bottom: 80px; }
}

/* ------------------------------------------------------------ Textseiten */
.legal { padding: clamp(48px, 7vw, 88px) 0 clamp(56px, 8vw, 96px); }
.legal-inner { max-width: 760px; }
.legal-inner h2 { font-size: clamp(1.35rem, 2.6vw, 1.7rem); margin-top: 2em; }
.legal-inner h3 { margin-top: 1.6em; }
.legal-inner h2:first-child, .legal-inner h3:first-child { margin-top: 0; }
.legal-inner ul, .legal-inner ol { padding-left: 1.2em; margin: 0 0 1.1em; }
.legal-inner li { margin-bottom: .4em; }
.legal-inner a { color: var(--orange-deep); }
.legal-placeholder {
  border: 1px dashed var(--line);
  border-radius: var(--r-m);
  padding: 24px;
  color: var(--ink-2);
  background: var(--card);
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .93rem;
  font-weight: 600;
  color: var(--ink-2);
  text-decoration: none;
  margin-bottom: 26px;
}
.back-link:hover { color: var(--ink); }
.back-link svg { width: 16px; height: 16px; }

/* --------------------------------------------------------- Scroll-Reveal */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s cubic-bezier(.2, .8, .2, 1);
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
