/* ═══════════════════════════════════════════════════════
   pages.css — Seitenspezifische Styles (Startseite)
   Hero · Trust Bar · Prozess · Pakete · Referenzen ·
   FAQ · Über uns · Anfrage · Kontakt
   endlich-online.ch
   ═══════════════════════════════════════════════════════ */

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #0B1426;
  color: #fff;
  text-align: center;
  isolation: isolate;
}

/* Background Layer 1: Basis-Gradient */
.bg-base {
  position: absolute;
  inset: 0;
  z-index: -5;
  background:
    radial-gradient(ellipse at 35% 35%, #2B4A82 0%, transparent 55%),
    radial-gradient(ellipse at 75% 65%, var(--color-navy) 0%, transparent 60%),
    linear-gradient(135deg, #0B1426 0%, #10203A 50%, var(--color-navy) 100%);
}

/* Background Layer 2: Wandernde Aurora */
.bg-aurora {
  position: absolute;
  inset: -25%;
  z-index: -4;
  background:
    radial-gradient(circle at 22% 28%, rgba(123, 176, 243, 0.35) 0%, transparent 38%),
    radial-gradient(circle at 78% 72%, rgba(64, 126, 209, 0.40) 0%, transparent 42%),
    radial-gradient(circle at 50% 85%, rgba(157, 195, 242, 0.18) 0%, transparent 35%);
  filter: blur(35px);
  animation: hero-pan 32s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes hero-pan {
  0%   { transform: translate(0, 0) rotate(0deg) scale(1); }
  50%  { transform: translate(-3%, 2%) rotate(6deg) scale(1.05); }
  100% { transform: translate(-7%, -4%) rotate(14deg) scale(1.1); }
}

/* Background Layer 3: Lichtstrahlen */
.bg-rays {
  position: absolute;
  inset: -15%;
  z-index: -3;
  background:
    linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.04) 45%,
      rgba(255, 255, 255, 0.08) 50%, rgba(255, 255, 255, 0.04) 55%, transparent 65%),
    linear-gradient(115deg, transparent 55%, rgba(123, 176, 243, 0.06) 62%,
      rgba(123, 176, 243, 0.10) 65%, rgba(123, 176, 243, 0.06) 68%, transparent 75%);
  animation: hero-rays 24s ease-in-out infinite alternate;
  mix-blend-mode: screen;
}

@keyframes hero-rays {
  0%   { opacity: 0.6; transform: translateX(0); }
  100% { opacity: 1; transform: translateX(8%); }
}

/* Background Layer 4: Bokeh */
.bg-bokeh {
  position: absolute;
  inset: 0;
  z-index: -3;
  background-image:
    radial-gradient(circle 90px at 16% 22%, rgba(255, 255, 255, 0.10), transparent 70%),
    radial-gradient(circle 55px at 84% 28%, rgba(123, 176, 243, 0.14), transparent 70%),
    radial-gradient(circle 120px at 72% 78%, rgba(157, 195, 242, 0.10), transparent 70%),
    radial-gradient(circle 40px at 28% 82%, rgba(255, 255, 255, 0.08), transparent 70%),
    radial-gradient(circle 65px at 50% 50%, rgba(123, 176, 243, 0.06), transparent 70%);
  animation: hero-bokeh 16s ease-in-out infinite alternate;
}

@keyframes hero-bokeh {
  0%   { opacity: 0.65; transform: scale(1); }
  100% { opacity: 1; transform: scale(1.06); }
}

/* Background Layer 5: Film-Grain */
.bg-grain {
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: 0.45;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* Background Layer 6: Vignette */
.bg-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse at center, transparent 35%, rgba(11, 20, 38, 0.55) 100%),
    linear-gradient(180deg, rgba(11, 20, 38, 0.20) 0%, rgba(11, 20, 38, 0.55) 100%);
}

/* Hero Content */
.hero-content {
  max-width: 820px;
  padding: 0 28px;
  position: relative;
  z-index: 2;
}

/* Eyebrow pill */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 99px;
  margin-bottom: 30px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  opacity: 0;
  animation: hero-fadeUp 0.6s 0.15s ease-out forwards;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--sky-light);
  box-shadow: 0 0 14px rgba(123, 176, 243, 0.85);
  animation: eyebrow-pulse 2.2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes eyebrow-pulse {
  0%, 100% { box-shadow: 0 0 14px rgba(123, 176, 243, 0.85); }
  50%       { box-shadow: 0 0 22px rgba(123, 176, 243, 1); }
}

.hero h1 {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  color: #fff;
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.45);
  min-height: 2.4em;
}

.hero-sub {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.82);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.7;
  opacity: 0;
  animation: hero-fadeUp 0.6s 1.4s ease-out forwards;
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: hero-fadeUp 0.6s 1.65s ease-out forwards;
}

@keyframes hero-fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.55);
  font-size: 10px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  font-weight: 600;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 0;
  animation: hero-fadeIn 1s 2.2s ease-out forwards;
  white-space: nowrap;
}

.scroll-hint::after {
  content: "";
  width: 1px;
  height: 32px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.6), transparent);
  animation: scroll-slide 2.4s ease-in-out infinite;
}

@keyframes scroll-slide {
  0%, 100% { transform: translateY(0); opacity: 0.6; }
  50%       { transform: translateY(8px); opacity: 1; }
}

@keyframes hero-fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}


/* ── TYPEWRITER ── */
.typewriter-wrap { display: inline; }
.typewriter-static { color: #fff; }

.typewriter-animated {
  background: linear-gradient(120deg, var(--sky-light) 0%, #fff 60%, var(--sky-light) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: hero-shimmer 6s linear infinite;
}

@keyframes hero-shimmer {
  0%   { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

.typewriter-cursor {
  display: inline-block;
  width: 3px;
  height: 0.9em;
  background: var(--sky-light);
  margin-left: 3px;
  vertical-align: text-bottom;
  border-radius: 1px;
  animation: blink 0.75s step-end infinite;
  box-shadow: 0 0 12px rgba(123, 176, 243, 0.7);
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}


/* ── TRUST BAR ── */
.trust-bar {
  background: linear-gradient(180deg, #0B1426 0%, #0F1B33 100%);
  border-top: 1px solid rgba(123, 176, 243, 0.15);
  padding: 22px 28px;
  display: flex;
  justify-content: center;
  gap: 36px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 13.5px;
  font-weight: 500;
}

.trust-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(64, 126, 209, 0.18);
  color: var(--sky-light);
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 900;
  border: 1px solid rgba(64, 126, 209, 0.35);
  flex-shrink: 0;
}


/* ── SECTION UTILITIES ── */
.section-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 72px 48px;
  background: var(--color-eisblau);
}

.section-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-sky);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(26px, 3.5vw, 34px);
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.25;
  margin-bottom: 12px;
}

.section-sub {
  font-size: 17px;
  color: var(--color-tinte);
  max-width: 640px;
  line-height: 1.75;
  margin-bottom: 48px;
  opacity: 0.75;
}


/* ── HOW IT WORKS ── */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 960px) {
  .steps { grid-template-columns: 1fr; }
}

/* Progress track — Desktop (horizontal) */
.steps-progress-track {
  height: 3px;
  background: var(--border);
  border-radius: 99px;
  margin-bottom: 32px;
  overflow: hidden;
}

.steps-progress-fill {
  height: 100%;
  width: calc(var(--steps-progress, 0) * 100%);
  background: var(--color-sky);
  border-radius: 99px;
  transition: width 0.15s ease-out;
  will-change: width;
}

/* Progress track — Mobile (vertikal) */
@media (max-width: 960px) {
  .steps-outer {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 16px;
  }

  .steps-progress-track {
    width: 3px;
    height: auto;
    margin-bottom: 0;
    flex-shrink: 0;
    align-self: stretch;
    border-radius: 99px;
  }

  .steps-progress-fill {
    width: 100%;
    height: calc(var(--steps-progress, 0) * 100%);
    transition: height 0.15s ease-out;
    will-change: height;
  }

  .steps { flex: 1; min-width: 0; }

  .step.is-active {
    box-shadow: 0 4px 16px rgba(26, 46, 87, 0.08);
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .steps-progress-fill { transition: none; }
}


/* ── LEISTUNGEN / PRODUCTS ── */
#leistungen .section-title,
body.page-leistungen .section-title { margin-bottom: 36px; }

/* Abstände auf /leistungen: kein h2 über den Karten, daher kompaktere Übergänge */
body.page-leistungen .section-wrap { padding-top: 48px; padding-bottom: 52px; }


/* ── REFERENZEN ── */
#referenzen { background: var(--color-eisblau); }

.referenzen-sub {
  font-size: 17px;
  color: var(--color-tinte);
  max-width: 640px;
  margin: 0 0 48px;
  line-height: 1.75;
  opacity: 0.75;
}

.referenzen-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: left;
}

@media (max-width: 900px) {
  .referenzen-grid { grid-template-columns: 1fr; gap: 28px; }
}

.referenzen-foot {
  margin-top: 40px;
  font-size: 15px;
  color: var(--steel);
  text-align: center;
}

.referenzen-foot a {
  color: var(--color-sky);
  font-weight: 700;
  text-decoration: none;
}

.referenzen-foot a:hover { text-decoration: underline; }


/* ── FAQ ── */
.faq-bg { background: var(--color-eisblau); }

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

/* FAQ Accordion (shared with ics-generator, email-signatur) */
.faq-acc-list { display: flex; flex-direction: column; gap: 10px; max-width: 760px; margin: 0 auto; }
.faq-acc-item { background: #fff; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; transition: box-shadow 0.2s; }
.faq-acc-item:hover { box-shadow: 0 4px 18px rgba(26,46,87,0.07); }
.faq-acc-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px;
  font-weight: 700;
  font-size: 15px;
  color: var(--color-navy);
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
}
.faq-acc-q:hover { background: #fafcff; }
.faq-acc-chevron {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-eisblau);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s, background 0.2s;
}
.faq-acc-chevron svg { stroke: var(--color-navy); transition: stroke 0.2s; }
.faq-acc-item.is-open .faq-acc-chevron { transform: rotate(180deg); background: var(--color-sky); }
.faq-acc-item.is-open .faq-acc-chevron svg { stroke: #fff; }
.faq-acc-body { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-acc-item.is-open .faq-acc-body { max-height: 600px; padding-bottom: 20px; }
.faq-acc-preview { padding: 0 20px; color: var(--color-stahlgrau); font-size: 14px; line-height: 1.7; }
.faq-acc-preview p { margin: 0; }


/* ── ÜBER UNS ── */
.ueber-uns { background: var(--white); }

.ueber-uns-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 48px;
  align-items: center;
  padding: 72px 48px;
}

.ueber-uns-photo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--color-eisblau);
  border: 3px solid var(--border);
  display: block;
}

.ueber-uns-photo-placeholder {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: var(--color-eisblau);
  border: 3px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 56px;
  flex-shrink: 0;
}

.ueber-uns-text .section-label { margin-bottom: 16px; }

.ueber-uns-text p {
  font-size: 16px;
  color: var(--color-tinte);
  line-height: 1.75;
  margin-bottom: 14px;
  opacity: 0.85;
}

.ueber-uns-sig {
  border-top: 1px solid var(--border);
  margin-top: 20px;
  padding-top: 16px;
}

.ueber-uns-sig-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-navy);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 3px;
}

.ueber-uns-linkedin {
  color: var(--color-sky);
  display: flex;
  align-items: center;
  transition: opacity 0.15s;
}

.ueber-uns-linkedin:hover { opacity: 0.7; }

.ueber-uns-sig-sub {
  font-size: 13px;
  color: var(--steel);
}

@media (max-width: 640px) {
  .ueber-uns-inner {
    grid-template-columns: 1fr;
    padding: 48px 20px;
    gap: 20px;
    text-align: left;
  }

  .ueber-uns-photo {
    width: 100px;
    height: 100px;
    margin: 0;
  }
}


/* ── KONTAKT ── */
#kontakt { background: var(--color-eisblau); }


/* ── GLOBAL RESPONSIVE ── */
@media (max-width: 640px) {
  .hero { min-height: 100vh; }
  .hero-content { padding: 0 22px; }
  .hero-eyebrow { font-size: 11px; letter-spacing: 1.2px; padding: 6px 12px; }
  .hero h1 { font-size: 34px; min-height: 2.8em; }
  .hero-sub { font-size: 16px; margin-bottom: 28px; }
  .btn-primary, .btn-outline { padding: 13px 24px; font-size: 14px; width: 100%; max-width: 340px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .trust-bar { gap: 18px 24px; padding: 18px 22px; font-size: 12.5px; }
  .scroll-hint { bottom: 24px; }
  .section-wrap { padding: 52px 20px; }
  .form-section { padding: 52px 20px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-brand { flex-direction: column; align-items: center; text-align: center; }
  .footer-tagline { text-align: center; }
}

/* ── REDUCED MOTION ── */
@media (prefers-reduced-motion: reduce) {
  .bg-aurora, .bg-rays, .bg-bokeh,
  .hero-eyebrow, .hero-sub, .hero-actions, .scroll-hint,
  .eyebrow-dot, .scroll-hint::after { animation: none !important; }
  .hero-eyebrow, .hero-sub, .hero-actions { opacity: 1; }
  .typewriter-animated {
    background: none;
    color: var(--sky-light);
    -webkit-text-fill-color: var(--sky-light);
  }
}

/* ============================================================
   === /leistungen ===
   ============================================================ */

/* Utility: visuell versteckt, für Screen Reader sichtbar */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Active-Nav-Link per Body-Klasse — Sky-Blau Glow */
body.page-leistungen .site-nav__link[href="/leistungen"],
body.page-referenzen  .site-nav__link[href="/referenzen"],
body.page-ablauf      .site-nav__link[href="/ablauf"],
body.page-ueber-uns  .site-nav__link[href="/ueber-uns"],
body.page-kontakt     .site-nav__link[href="/kontakt"] {
  color: #fff;
  border-bottom-color: transparent;
  text-shadow:
    0    0  6px rgba(74, 144, 217, 1),
   -10px 0 14px rgba(74, 144, 217, 0.9),
    10px 0 14px rgba(74, 144, 217, 0.9),
   -22px 0 28px rgba(74, 144, 217, 0.55),
    22px 0 28px rgba(74, 144, 217, 0.55);
}

/* ── PAGE HERO ── */
.page-hero {
  background: var(--color-eisblau);
  padding: calc(72px + var(--space-xl)) var(--space-lg) 40px;
  text-align: center;
}

.page-hero__inner {
  max-width: var(--container-max);
  margin: 0 auto;
}

.page-hero__eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--color-sky);
  text-transform: uppercase;
  margin: 0 0 12px;
}

.page-hero h1 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.2;
  margin: 0 0 16px;
}

.page-hero__sub {
  font-size: 18px;
  color: var(--color-tinte);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── VERTRAUENSHINWEIS (innerhalb section-wrap) ── */
.trust-note {
  font-size: 13px;
  color: var(--color-stahlgrau);
  text-align: center;
  margin: var(--space-lg) 0 0;
}

/* ── FINAL CTA ── */
.page-cta {
  background: var(--color-navy);
  padding: var(--space-xl) var(--space-lg);
  text-align: center;
}

.page-cta__inner {
  max-width: 640px;
  margin: 0 auto;
}

.page-cta__eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--color-sky);
  text-transform: uppercase;
  margin: 0 0 12px;
}

.page-cta h2 {
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 700;
  color: #fff;
  margin: 0 0 16px;
  line-height: 1.2;
}

.page-cta__sub {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.75);
  margin: 0 0 var(--space-lg);
  line-height: 1.6;
}

.page-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 32px;
  background: var(--color-sky);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.15s, transform 0.15s;
}

.page-cta__btn:hover {
  background: #3570bb;
  transform: translateY(-2px);
}

/* ── /leistungen RESPONSIVE ── */
@media (max-width: 780px) {
  .pakete__grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }
  .paket-card--featured {
    margin-top: 0;
    order: -1;
  }
}

@media (max-width: 640px) {
  .page-hero {
    padding: calc(72px + var(--space-lg)) var(--space-md) var(--space-lg);
  }
  .pakete          { padding: var(--space-lg) var(--space-md); }
  .trust-note      { padding: 0 var(--space-md) var(--space-lg); }
  .why-recurring   { padding: var(--space-lg) var(--space-md); }
  .faq-excerpt     { padding: var(--space-lg) var(--space-md); }
  .page-cta        { padding: var(--space-lg) var(--space-md); }
  .paket-card      { padding: var(--space-md); }
}


/* ════════════════════════════════════════════
   === /kontakt ===
   ════════════════════════════════════════════ */

body.page-kontakt .section-wrap { padding-top: 48px; padding-bottom: 52px; }

.kontakt-paths {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}

.kontakt-path {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
}

.kontakt-path--featured {
  border-color: var(--color-sky);
  box-shadow: 0 0 0 1px var(--color-sky);
}

.kontakt-path__eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-sky);
  margin: 0 0 12px;
}

.kontakt-path__title {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.3;
  margin: 0 0 12px;
}

.kontakt-path__desc {
  font-size: 16px;
  color: var(--color-tinte);
  line-height: 1.7;
  margin: 0 0 28px;
  opacity: 0.85;
}

.kontakt-path__btn {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  background: var(--color-navy);
  color: #fff;
  border-radius: 8px;
  padding: 13px 24px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.15s;
}

.kontakt-path__btn:hover        { background: #142349; }
.kontakt-path__btn--sky         { background: var(--color-sky); }
.kontakt-path__btn--sky:hover   { background: #3570bb; }

.kontakt-trust {
  font-size: 13px;
  color: var(--color-stahlgrau);
  text-align: center;
  margin: 36px 0 0;
  line-height: 1.6;
}

@media (max-width: 780px) {
  .kontakt-paths  { grid-template-columns: 1fr; }
  .kontakt-path   { padding: 28px 20px; }
}


/* ════════════════════════════════════════════
   === /ueber-mich ===
   ════════════════════════════════════════════ */

/* Active-Nav — bereits via globale Regel oben abgedeckt */

/* section-wrap auf warmweiss-Sektion transparent */
.um-werdegang .section-wrap {
  background: transparent;
}

/* ── Porträt-Sektion ──
   Navy-Hintergrund passend zum Bild (1366×768, navy bg).
   Kein section-wrap — Grid läuft randlos über die volle Breite. */
.um-portrait {
  background: #0B1426;
}

.um-portrait__grid {
  display: grid;
  grid-template-columns: 55% 45%;
  min-height: 440px;
  background: var(--color-navy);
  padding: 40px;
  gap: 40px;
}

/* Linke Spalte: Bild füllt die gesamte Spalte, object-fit contain
   damit das navy-Bild nahtlos mit dem Sektion-Hintergrund verschmilzt */
.um-portrait__foto-col {
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.um-portrait__foto {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: center bottom;
}

/* Rechte Spalte: Text auf #0B1426, vertikal zentriert */
.um-portrait__text-col {
  display: flex;
  align-items: center;
  background: #0B1426;
  padding: 56px 56px 56px 40px;
}

.um-portrait__text-inner {
  width: 100%;
}

.um-portrait__heading {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 18px;
}

.um-portrait__text-col p {
  font-size: 15px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 14px;
}

.um-portrait__text-col p:last-of-type {
  margin-bottom: 28px;
}

.um-portrait__sig {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 18px;
  margin-top: 4px;
}

.um-portrait__sig-name {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 17px;
  font-weight: 700;
  color: #fff;
}

.um-portrait__linkedin {
  color: rgba(255, 255, 255, 0.6);
  display: inline-flex;
  align-items: center;
  transition: color 0.15s;
}

.um-portrait__linkedin:hover {
  color: var(--color-sky);
}

.um-portrait__sig-sub {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 4px;
}

/* ── Werte-Sektion ── */
.um-werte {
  background: var(--color-eisblau);
}

.um-werte__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.um-werte__card {
  background: #fff;
  border-radius: 12px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.um-werte__icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--color-eisblau);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-sky);
  flex-shrink: 0;
}

.um-werte__card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--color-navy);
  margin: 0;
}

.um-werte__card p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--color-stahlgrau, #4a5568);
  margin: 0;
}

/* ── Werdegang-Sektion ── */
.um-werdegang {
  background: var(--color-warmweiss, #faf9f7);
}

.um-werdegang__list {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 640px;
}

.um-werdegang__item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--color-border, #e8e8e4);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-navy);
}

.um-werdegang__item:first-child {
  border-top: 1px solid var(--color-border, #e8e8e4);
}

.um-werdegang__dot {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-sky);
  margin-top: 7px;
}

/* ── Responsive ── */
@media (max-width: 860px) {
  /* Grid: kein Padding/Gap auf Mobile */
  .um-portrait__grid {
    grid-template-columns: 1fr;
    padding: 0;
    gap: 0;
  }

  /* Foto: Landscape-Bild im Portrait-Format zuschneiden (4:5).
     object-fit: cover + object-position fokussiert auf Jonas' Gesicht/Oberkörper.
     ::after-Gradient lässt das Bild nahtlos in die Textsektion übergehen. */
  .um-portrait__foto-col {
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
  }

  .um-portrait__foto-col::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 45%;
    background: linear-gradient(to bottom, transparent, #0B1426);
    pointer-events: none;
  }

  .um-portrait__foto {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 62% 8%; /* Fokus: Kopf/Oberkörper, leicht rechts von Mitte */
    display: block;
  }

  /* Textspalte: kein Overlap mehr — sauberer Anschluss ans Bild */
  .um-portrait__text-col {
    margin-top: 0;
    padding: 32px 24px 44px;
  }
}

@media (max-width: 700px) {
  .um-werte__grid {
    grid-template-columns: 1fr;
  }
}

/* === end /ueber-uns === */


/* ════════════════════════════════════════════
   === /referenzen ===
   ════════════════════════════════════════════ */

/* Listing-Sektion: Eisblau (wie Referenzen-Block auf der Startseite) */
.referenzen-listing {
  background: var(--color-eisblau);
}

/* Beschreibende Tags pro Referenz-Karte */
.referenz-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.referenz-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: var(--color-navy);
  background: var(--color-eisblau);
  border: 1px solid rgba(30, 58, 100, 0.15);
  border-radius: 99px;
  padding: 4px 10px;
  line-height: 1.4;
}

/* Gratisentwurf-Badge: hebt sich ab */
.referenz-tag--entwurf {
  background: var(--color-sky);
  color: #fff;
  border-color: transparent;
  font-weight: 700;
}

/* Tablet: 2-spaltig (überschreibt die 1-Spalte-Regel aus der Homepage) */
@media (min-width: 601px) and (max-width: 900px) {
  body.page-referenzen .referenzen-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Prozess-Sektion: eisblau, zentriert */
.referenzen-prozess {
  background: var(--color-eisblau);
  padding: var(--space-xl) var(--space-lg);
  text-align: center;
}

.referenzen-prozess__inner {
  max-width: 700px;
  margin: 0 auto;
}

.referenzen-prozess__eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-sky);
  margin-bottom: 14px;
}


/* ════════════════════════════════════════════
   === /ablauf ===
   ════════════════════════════════════════════ */

/* Active-Nav — bereits via globale Regel oben abgedeckt */

/* ── Timeline-Sektion ── */
.ab-timeline {
  background: var(--color-eisblau);
  padding: var(--space-xl) var(--space-lg);
}

.ab-timeline__wrap {
  max-width: 1060px;
  margin: 0 auto;
}

.ab-timeline__heading {
  font-size: 28px;
  font-weight: 700;
  color: var(--color-navy);
  text-align: center;
  margin-bottom: var(--space-xl);
}

/* Steps container — vertikale Linie als ::before */
.ab-steps {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.ab-steps::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  background: rgba(128, 141, 159, 0.3);
  z-index: 0;
}

/* Einzelner Schritt — 3-Spalten-Grid: [karte] [marker] [karte/leer] */
.ab-step {
  display: grid;
  grid-template-columns: 1fr 80px 1fr;
  column-gap: var(--space-lg);
  align-items: start;
}

/* Marker (Zahlen-Kreis) */
.ab-step__node {
  justify-self: center;
  align-self: start;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-warmweiss);
  border: 2px solid var(--color-sky);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 700;
  color: var(--color-navy);
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  /* Leichte Verschiebung nach unten, damit Mitte des Kreises mit
     dem ersten Textzeile der Karte auf einer Höhe liegt */
  margin-top: 14px;
}

/* Karte — Linke Schritte: Karte in Spalte 1 (justify-self: end) */
.ab-step:not(.ab-step--r) .ab-step__card {
  justify-self: end;
  width: 100%;
  max-width: 440px;
}

/* Karte — Rechte Schritte: Karte in Spalte 3 (justify-self: start) */
.ab-step--r .ab-step__card {
  justify-self: start;
  width: 100%;
  max-width: 440px;
}

/* Füller-Zelle (leer, balanciert das Grid) */
.ab-step__fill {
  /* bewusst leer */
}

/* Karten-Stil */
.ab-step__card {
  background: var(--color-warmweiss);
  border-radius: 12px;
  padding: var(--space-lg);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

/* Karten-Eyebrow: GeistMono, Stahlgrau, Uppercase */
.ab-card__eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-sky);
  margin: 0 0 12px;
}

/* Karten-Titel */
.ab-card__title {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.2;
  margin-bottom: 12px;
}

/* Karten-Beschreibung */
.ab-card__desc {
  font-size: 16px;
  line-height: 1.72;
  color: var(--color-tinte);
}

/* Trennlinie */
.ab-card__divider {
  border: none;
  border-top: 1px solid var(--color-eisblau);
  margin: var(--space-md) 0;
}

/* Du lieferst / Wir übernehmen */
.ab-card__split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 var(--space-md);
}

.ab-card__split-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-stahlgrau);
  margin-bottom: 6px;
}

.ab-card__bullets {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.ab-card__bullets li {
  font-size: 13px;
  line-height: 1.5;
  color: var(--color-stahlgrau);
  display: flex;
  align-items: flex-start;
  gap: 7px;
}

.ab-card__bullets li::before {
  content: '';
  flex-shrink: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-sky);
  margin-top: 6px;
}

/* Bild-Bereich in Schritt-Karten */
.ab-card__img {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  margin: 16px 0;
  aspect-ratio: 16 / 9;
  background: var(--color-eisblau);
}
.ab-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Akkordeon / FAQ am Ende jeder Karte */
.ab-card__faq {
  border-top: 1px solid var(--color-eisblau);
  margin-top: var(--space-md);
  padding-top: 14px;
}
.ab-card__faq summary {
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-navy);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  user-select: none;
}
.ab-card__faq summary::-webkit-details-marker { display: none; }
.ab-card__faq summary::after {
  content: '+';
  font-size: 18px;
  font-weight: 400;
  color: var(--color-sky);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.ab-card__faq[open] summary::after {
  transform: rotate(45deg);
}
.ab-card__faq p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--color-tinte);
  margin: 10px 0 0;
}

/* Link innerhalb Karten-Text */
.ab-card__link {
  color: var(--color-sky);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
}

/* ── Übersicht-Sektion ── */
.ab-uebersicht {
  background: var(--color-warmweiss);
  padding: var(--space-xl) var(--space-lg);
}

.ab-uebersicht__inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

/* section-label und section-title werden von components.css geliefert,
   aber section-wrap wird hier NICHT verwendet → kein bg-Konflikt */

.ab-uebersicht__list {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  text-align: left;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

.ab-uebersicht__item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--color-eisblau);
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-navy);
}

.ab-uebersicht__item:first-child {
  border-top: 1px solid var(--color-eisblau);
}

.ab-uebersicht__dot {
  flex-shrink: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-sky);
  margin-top: 7px;
}

.ab-uebersicht__link-wrap {
  margin-top: 28px;
}

/* ── CTA Eyebrow (nur auf /ablauf) ── */
.ab-cta-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-sky);
  margin-bottom: 12px;
}

/* ── Sticky Side-Navigation: default hidden on mobile ── */
.ab-step-nav { display: none; }

/* ── Desktop/Tablet (≥ 900px): Option A — Sticky Side Navigation ── */
@media (min-width: 900px) {

  /* 2-column grid: sticky nav left, scrollable steps right */
  body.page-ablauf .ab-timeline__wrap {
    display: grid;
    grid-template-areas:
      "heading heading"
      "nav     steps";
    grid-template-columns: 280px 1fr;
    grid-template-rows: auto 1fr;
    column-gap: 64px;
    align-items: start;
  }

  body.page-ablauf .ab-timeline__heading {
    grid-area: heading;
    margin-bottom: 56px;
  }

  /* Hide the old vertical line */
  body.page-ablauf .ab-steps::before { display: none; }

  /* Steps column */
  body.page-ablauf .ab-steps {
    grid-area: steps;
    display: block;
    position: relative;
  }
  body.page-ablauf .ab-steps::after { display: none; }

  /* Each step: full-width block with generous vertical padding */
  body.page-ablauf .ab-step {
    display: block;
    padding: 0 0 72px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    position: relative;
  }
  body.page-ablauf .ab-step:last-child {
    border-bottom: none;
    padding-bottom: 32px;
  }

  /* Hide structural elements only needed for the zigzag layout */
  body.page-ablauf .ab-step__node,
  body.page-ablauf .ab-step__fill { display: none; }

  /* Cards: full width, clean left-aligned */
  body.page-ablauf .ab-step__card,
  body.page-ablauf .ab-step:not(.ab-step--r) .ab-step__card,
  body.page-ablauf .ab-step--r .ab-step__card {
    display: block;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 36px 40px;
    background: var(--color-warmweiss);
    border: 1px solid rgba(64, 126, 209, 0.12);
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(26, 46, 87, 0.06);
    overflow: hidden; /* für full-bleed Bild-Header */
  }

  /* Scroll-in animation: cards slide up gently */
  body.page-ablauf .ab-step__card {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }
  body.page-ablauf .ab-step.is-visible .ab-step__card {
    opacity: 1;
    transform: translateY(0);
  }

  /* Active step: sky-blue border accent */
  body.page-ablauf .ab-step.is-active .ab-step__card {
    border-color: rgba(64, 126, 209, 0.3);
    box-shadow: 0 4px 24px rgba(26, 46, 87, 0.10),
                0 0 0 1px rgba(64, 126, 209, 0.12);
  }

  /* ── Bild-Header: full-bleed, 21:9, mit Schrittnummer-Wasserzeichen ── */
  .ab-card__img-wrap {
    position: relative;
    /* Negativ-Margins: Bild bricht aus dem Card-Padding aus */
    margin: -36px -40px 28px;
  }

  .ab-card__img-wrap .ab-card__img {
    aspect-ratio: 21 / 9;
    border-radius: 0;
    margin: 0;
    background: linear-gradient(135deg, #dae8f8 0%, #c5d9f2 60%, #d4e5f7 100%);
  }

  /* Grosse Schrittnummer als subtiles Wasserzeichen */
  .ab-card__step-num {
    position: absolute;
    bottom: 8px;
    right: 20px;
    font-size: 96px;
    font-weight: 900;
    line-height: 0.9;
    letter-spacing: -5px;
    color: rgba(26, 46, 87, 0.13);
    font-family: var(--font-mono, monospace);
    user-select: none;
    pointer-events: none;
  }

  /* Split-Sektion: leichte Hintergrundboxen */
  body.page-ablauf .ab-card__split {
    gap: 12px;
  }
  body.page-ablauf .ab-card__split > div {
    padding: 14px 16px;
    border-radius: 8px;
  }
  body.page-ablauf .ab-card__split > div:first-child {
    background: rgba(26, 46, 87, 0.04);
    border: 1px solid rgba(26, 46, 87, 0.07);
  }
  body.page-ablauf .ab-card__split > div:last-child {
    background: rgba(64, 126, 209, 0.06);
    border: 1px solid rgba(64, 126, 209, 0.12);
  }

  /* ── Sticky Side Navigation ── */
  .ab-step-nav {
    grid-area: nav;
    display: flex;
    flex-direction: column;
    gap: 4px;
    position: sticky;
    top: 100px;
    align-self: start;
  }

  .ab-step-nav__btn {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 12px 16px 12px 12px;
    border: none;
    background: transparent;
    cursor: pointer;
    text-align: left;
    border-radius: 10px;
    border-left: 2px solid transparent;
    transition: background 0.2s ease, border-color 0.2s ease;
    width: 100%;
  }

  .ab-step-nav__btn:hover {
    background: rgba(64, 126, 209, 0.06);
  }

  .ab-step-nav__btn.is-active {
    background: rgba(64, 126, 209, 0.08);
    border-left-color: var(--color-sky);
  }

  .ab-step-nav__num {
    font-family: var(--font-mono, monospace);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--color-sky);
    opacity: 0.45;
    min-width: 22px;
    padding-top: 2px;
    transition: opacity 0.2s ease;
  }

  .ab-step-nav__btn.is-active .ab-step-nav__num {
    opacity: 1;
  }

  .ab-step-nav__info {
    display: flex;
    flex-direction: column;
    gap: 3px;
  }

  .ab-step-nav__eyebrow {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: var(--color-sky);
    opacity: 0.55;
    transition: opacity 0.2s ease;
  }

  .ab-step-nav__btn.is-active .ab-step-nav__eyebrow {
    opacity: 1;
  }

  .ab-step-nav__title {
    font-size: 13px;
    font-weight: 500;
    color: var(--color-stahlgrau);
    line-height: 1.35;
    transition: color 0.2s ease;
  }

  .ab-step-nav__btn.is-active .ab-step-nav__title {
    color: var(--color-navy);
    font-weight: 600;
  }

  /* Progress line between nav buttons */
  .ab-step-nav__btn + .ab-step-nav__btn {
    position: relative;
  }

  /* Reduced Motion */
  @media (prefers-reduced-motion: reduce) {
    body.page-ablauf .ab-step__card {
      opacity: 1 !important;
      transform: none !important;
      transition: none !important;
    }
  }
}

/* ── Mobile (≤ 599px) ── */
@media (max-width: 599px) {
  .ab-timeline {
    padding: 24px var(--space-md) var(--space-md); /* oben schmal: Abstand zum Hero reduzieren */
  }
  .ab-timeline__heading {
    margin-bottom: var(--space-md); /* von 64px auf 16px – Platz sparen auf kleinem Screen */
  }

  .ab-uebersicht {
    padding: var(--space-xl) var(--space-md);
  }

  /* Split-Spalten auf sehr engen Viewports untereinander */
  .ab-card__split {
    grid-template-columns: 1fr;
    gap: var(--space-md) 0;
  }
}

/* ── Mobile: Einfaches Card-Layout (fliessend, kein Sticky-Stack) ── */
@media (max-width: 899px) {
  /* Strukturelemente ausblenden */
  body.page-ablauf .ab-steps::before { display: none; }
  body.page-ablauf .ab-step__node,
  body.page-ablauf .ab-step__fill    { display: none; }

  /* Steps fliessen normal untereinander */
  body.page-ablauf .ab-steps { display: block; }
  body.page-ablauf .ab-step  { display: block; margin-bottom: 12px; }
  body.page-ablauf .ab-step:last-child { margin-bottom: 0; }

  /* Karte */
  body.page-ablauf .ab-step__card,
  body.page-ablauf .ab-step:not(.ab-step--r) .ab-step__card,
  body.page-ablauf .ab-step--r .ab-step__card {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: none;
    border-radius: 20px;
    box-shadow: 0 2px 16px rgba(11, 20, 38, 0.10);
    padding: 20px var(--space-md) 0;
    transform: none !important;
    opacity: 1 !important;
    transition: none;
    position: relative;
    overflow: hidden;
  }
  body.page-ablauf .ab-step__card::before { display: none; } /* kein Drag-Handle */

  /* Inhalt-Reihenfolge: eyebrow → title → desc → bild */
  body.page-ablauf .ab-card__eyebrow  { order: 1; margin-bottom: 4px; }
  body.page-ablauf .ab-card__title    { order: 2; }
  body.page-ablauf .ab-card__desc     { order: 3; }
  body.page-ablauf .ab-card__step-num { display: none; }

  /* Bild-Bereich */
  body.page-ablauf .ab-card__img-wrap {
    order: 4;
    margin: 16px 0 0;
    border-radius: 8px;
    overflow: hidden;
    background: linear-gradient(to bottom, var(--color-sand, #faf8f2) 0%, var(--color-eisblau, #e0edf9) 100%);
    min-height: 80px;
  }
  body.page-ablauf .ab-card__img-wrap .ab-card__img {
    aspect-ratio: unset;
    border-radius: 0;
    margin: 0;
    background: none;
  }
  body.page-ablauf .ab-card__img-wrap .ab-card__img img {
    width: 100%;
    height: auto;
    object-fit: unset;
    display: block;
  }

  /* Nicht benötigte Elemente */
  body.page-ablauf .ab-card__divider,
  body.page-ablauf .ab-card__split,
  body.page-ablauf .ab-card__faq,
  body.page-ablauf .ab-card__link { display: none; }

  .ab-card__title { font-size: 18px; }
}

/* === end /ablauf === */

.referenzen-prozess h2 {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  color: var(--color-navy);
  line-height: 1.25;
  margin: 0 0 20px;
}

.referenzen-prozess__body {
  font-size: 16px;
  color: var(--color-tinte);
  line-height: 1.75;
  opacity: 0.8;
  margin: 0 0 28px;
}

.referenzen-prozess__link {
  display: inline-block;
  font-size: 15px;
  font-weight: 700;
  color: var(--color-sky);
  text-decoration: none;
}

.referenzen-prozess__link:hover {
  text-decoration: underline;
}

/* Kundenstimmen-Platzhalter */
.ref-stimmen {
  background: var(--color-eisblau);
}

.ref-stimmen__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 8px;
}

.ref-stimmen__card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 24px 24px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ref-stimmen__card blockquote {
  margin: 0;
  padding: 0;
}

.ref-stimmen__card blockquote p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-tinte);
  font-style: italic;
  opacity: 0.6;
}

.ref-stimmen__author {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-top: auto;
}

.ref-stimmen__name {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-navy);
}

.ref-stimmen__project {
  font-size: 12px;
  color: var(--color-sky);
  font-weight: 600;
  letter-spacing: 0.4px;
}

@media (max-width: 900px) {
  .ref-stimmen__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .ref-stimmen__grid { grid-template-columns: 1fr; }
}

/* === end /referenzen === */

/* === /tools/email-signatur === */

/* ── Wrapper ── */
.sig-tool-section {
  background: var(--color-warmweiss);
  padding: 56px 0 72px;
}

.sig-tool-wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.sig-tool-intro {
  text-align: center;
  margin-bottom: 40px;
}

.sig-tool-heading {
  font-size: clamp(22px, 2.8vw, 30px);
  font-weight: 800;
  color: var(--color-navy);
  margin: 0 0 8px;
}

.sig-tool-sub {
  font-size: 15px;
  color: var(--color-stahlgrau);
  margin: 0;
  letter-spacing: 0.2px;
}

/* ── Mobile tab bar (only on small screens) ── */
.sig-tab-bar {
  display: none;
  gap: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 20px;
}

.sig-tab {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 12px 16px;
  background: none;
  border: none;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-stahlgrau);
  cursor: pointer;
  font-family: var(--font-sans);
  transition: background 0.15s, color 0.15s;
  border-radius: 0;
}

.sig-tab.is-active {
  background: var(--color-navy);
  color: #fff;
}

/* ── Two-column layout ── */
.sig-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 28px;
  align-items: start;
}

/* ── Controls sidebar ── */
.sig-controls {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ── Panel (control group) ── */
.sig-panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: visible;
  position: relative;
}

.sig-panel__head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-bottom: none;
  background: #FAFCFF;
  cursor: pointer;
  user-select: none;
}

.sig-panel.is-open .sig-panel__head {
  border-bottom: 1px solid var(--border);
}

.sig-panel__chevron {
  margin-left: auto;
  color: var(--color-stahlgrau);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.sig-panel.is-open .sig-panel__chevron {
  transform: rotate(180deg);
}

.sig-panel__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.32s cubic-bezier(0.4, 0, 0.2, 1);
}

.sig-panel.is-open .sig-panel__body {
  max-height: 1800px;
  overflow: visible;
}

.sig-panel__num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--color-navy);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  font-family: var(--font-mono);
  flex-shrink: 0;
  line-height: 1;
}

.sig-panel__title {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-navy);
  margin: 0;
  letter-spacing: 0.1px;
}

/* ── Template thumbnails ── */
.sig-template-btns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 14px;
}

.sig-tpl-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 12px 8px 10px;
  border: 2px solid var(--border);
  border-radius: 10px;
  background: #FAFCFF;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-stahlgrau);
  transition: border-color 0.15s, background 0.15s, color 0.15s, box-shadow 0.15s;
  font-family: var(--font-sans);
  position: relative;
}

.sig-tpl-btn:hover {
  border-color: var(--color-sky);
  color: var(--color-navy);
}

.sig-tpl-btn.is-active {
  border-color: var(--color-navy);
  background: var(--color-eisblau);
  color: var(--color-navy);
  box-shadow: 0 2px 10px rgba(26,46,87,0.10);
}

/* Visual template thumbnails */
.sig-tpl-thumb {
  width: 100%;
  height: 52px;
  display: flex;
  align-items: flex-start;
  gap: 5px;
  position: relative;
}

.sig-tpl-thumb__img-placeholder {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #D0DDEF;
  flex-shrink: 0;
  margin-top: 2px;
}

.sig-tpl-thumb__vline {
  width: 2px;
  background: var(--color-navy);
  align-self: stretch;
  border-radius: 1px;
  opacity: 0.5;
  flex-shrink: 0;
  margin: 0 2px;
}

.sig-tpl-btn.is-active .sig-tpl-thumb__vline {
  opacity: 1;
  background: var(--color-navy);
}

.sig-tpl-thumb__lines {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 2px;
}

.sig-tpl-thumb__lines.full {
  padding-top: 2px;
}

/* Line elements in thumbnails */
.sig-tl {
  border-radius: 2px;
  height: 4px;
  background: #D0DDEF;
}

.sig-tl--name   { width: 75%; height: 5px; background: var(--color-navy); opacity: 0.6; }
.sig-tl--role   { width: 55%; background: #B0C4D8; }
.sig-tl--contact { width: 80%; }
.sig-tl--contact.short { width: 55%; }
.sig-tl--spacer { height: 3px; background: none; }
.sig-tl--role-c { width: 90%; background: #B0C4D8; }
.sig-tl--accent-top {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--color-navy);
  border-radius: 2px;
  opacity: 0.7;
}

.sig-tpl-btn.is-active .sig-tl--name { opacity: 1; }

/* ── Color pickers ── */
.sig-color-pickers {
  display: flex;
  gap: 12px;
  padding: 14px 18px 0;
}

.sig-color-lbl {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-stahlgrau);
  cursor: pointer;
}

.sig-color-swatch-btn {
  position: relative;
  width: 100%;
  height: 40px;
  border-radius: 8px;
  border: 2px solid rgba(0,0,0,0.08);
  cursor: pointer;
  overflow: hidden;
  transition: box-shadow 0.15s, transform 0.1s, border-color 0.15s;
  box-shadow: 0 1px 4px rgba(0,0,0,0.12);
}

.sig-color-swatch-btn::after {
  content: '✎';
  position: absolute;
  bottom: 3px;
  right: 5px;
  font-size: 11px;
  color: rgba(255,255,255,0.85);
  text-shadow: 0 1px 2px rgba(0,0,0,0.4);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s;
}

.sig-color-swatch-btn:hover {
  box-shadow: 0 2px 10px rgba(0,0,0,0.25);
  transform: translateY(-1px);
  border-color: rgba(0,0,0,0.22);
}

.sig-color-swatch-btn:hover::after {
  opacity: 1;
}

.sig-color-swatch-btn input[type="color"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  border: none;
  padding: 0;
}

/* Presets */
.sig-presets-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--color-stahlgrau);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 12px 18px 6px;
}

.sig-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 18px 14px;
}

.sig-preset {
  display: flex;
  gap: 2px;
  padding: 3px;
  border: 2px solid var(--border);
  border-radius: 7px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.13s, transform 0.1s;
}

.sig-preset:hover {
  border-color: var(--color-sky);
  transform: scale(1.05);
}

.sig-preset.is-active {
  border-color: var(--color-navy);
  box-shadow: 0 0 0 2px rgba(26,46,87,0.12);
}

.sig-preset span {
  display: block;
  width: 16px;
  height: 16px;
  border-radius: 4px;
}

/* Brand URL */
.sig-brand-url {
  padding: 12px 18px 16px;
  border-top: 1px solid var(--border);
  margin-top: 2px;
}

.sig-brand-url-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--color-stahlgrau);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.sig-brand-url-row {
  display: flex;
  gap: 6px;
}

.sig-brand-url-row input {
  flex: 1;
  min-width: 0;
  padding: 7px 10px;
  border: 1px solid var(--border);
  border-radius: 7px;
  font-size: 12px;
  font-family: var(--font-sans);
  color: var(--color-tinte);
  background: #fff;
  transition: border-color 0.15s;
}

.sig-brand-url-row input:focus { outline: none; border-color: var(--color-sky); }
.sig-brand-url-row input:disabled { background: var(--color-eisblau); color: var(--color-stahlgrau); cursor: not-allowed; }

.sig-brand-btn {
  padding: 7px 11px;
  background: var(--color-navy);
  color: #fff;
  border: none;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--font-sans);
  white-space: nowrap;
  transition: background 0.15s;
}

.sig-brand-btn:hover:not(:disabled) { background: var(--color-sky); }
.sig-brand-btn:disabled { opacity: 0.5; cursor: not-allowed; }

.sig-brand-palette {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 10px;
  min-height: 20px;
}

.sig-color-swatch {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px var(--border);
  cursor: pointer;
  transition: box-shadow 0.13s, transform 0.1s;
}

.sig-color-swatch:hover {
  box-shadow: 0 0 0 2px var(--color-sky);
  transform: scale(1.12);
}

.sig-brand-note { font-size: 12px; color: var(--color-stahlgrau); }

/* ── Image upload ── */
.sig-upload-zone {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin: 14px 18px 0;
  padding: 18px 12px;
  border: 2px dashed var(--border);
  border-radius: 10px;
  cursor: pointer;
  font-size: 13px;
  color: var(--color-stahlgrau);
  text-align: center;
  transition: border-color 0.15s, background 0.15s;
  background: #FAFCFF;
}

.sig-upload-zone:hover,
.sig-upload-zone.is-dragover {
  border-color: var(--color-sky);
  background: var(--color-eisblau);
  color: var(--color-navy);
}

.sig-img-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 10px 18px;
  font-size: 11px;
  color: var(--color-stahlgrau);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.sig-img-divider::before,
.sig-img-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.sig-text-input {
  display: block;
  width: calc(100% - 36px);
  margin: 0 18px;
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: 7px;
  font-size: 13px;
  font-family: var(--font-sans);
  color: var(--color-tinte);
  background: #fff;
  box-sizing: border-box;
  transition: border-color 0.15s;
}

.sig-text-input:focus { outline: none; border-color: var(--color-sky); }

.sig-img-hint {
  display: flex;
  align-items: flex-start;
  gap: 5px;
  font-size: 11px;
  color: var(--color-stahlgrau);
  line-height: 1.55;
  margin: 8px 18px 0;
}

.sig-shape-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px 16px;
}

.sig-shape-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--color-stahlgrau);
  white-space: nowrap;
}

.sig-shape-row > div {
  display: flex;
  gap: 8px;
}

.sig-shape-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: #fff;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-stahlgrau);
  cursor: pointer;
  transition: all 0.13s;
  font-family: var(--font-sans);
}

.sig-shape-btn.is-active {
  background: var(--color-navy);
  border-color: var(--color-navy);
  color: #fff;
}

/* ── Preview column ── */
.sig-preview-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: sticky;
  top: 96px;
}


/* ── Email client chrome ── */
.sig-email-chrome {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: visible;
  box-shadow: 0 4px 20px rgba(26,46,87,0.07);
}

.sig-chrome-topbar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  background: #F2F4F7;
  border-bottom: 1px solid var(--border);
  border-radius: 14px 14px 0 0;
}

.sig-chrome-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.sig-chrome-title {
  flex: 1;
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  color: var(--color-stahlgrau);
  margin-right: 0;
  font-family: var(--font-sans);
}

.sig-chrome-meta {
  padding: 0;
  border-bottom: 1px solid var(--border);
}

.sig-chrome-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-bottom: 1px solid #F0F4F8;
  font-size: 13px;
}

.sig-chrome-row:last-child { border-bottom: none; }
.sig-chrome-row--betreff .sig-chrome-row__val { font-weight: 400; color: var(--color-stahlgrau); }

.sig-chrome-row__label {
  font-weight: 600;
  color: var(--color-stahlgrau);
  min-width: 50px;
  font-size: 12px;
}

.sig-chrome-row__val {
  color: var(--color-stahlgrau);
  font-size: 13px;
}

.sig-chrome-body {
  padding: 20px 24px;
}

/* Example / placeholder area */
.sig-chrome-example-area {
  position: relative;
  background: #F6F8FB;
  border: 1px dashed #C8D4E0;
  border-radius: 6px;
  padding: 12px 14px 10px;
  margin-bottom: 16px;
}

.sig-chrome-example-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  color: var(--color-stahlgrau);
  background: #E4EBF3;
  border-radius: 4px;
  padding: 2px 7px;
  margin-bottom: 8px;
  font-family: var(--font-mono);
}

.sig-chrome-text {
  font-size: 13px;
  color: #8FA0B4;
  line-height: 1.65;
  margin: 0;
  font-style: italic;
}

.sig-chrome-sep {
  border: none;
  color: #C8D4E0;
  font-size: 11px;
  letter-spacing: 3px;
  text-align: left;
  margin: 0 0 16px;
  padding: 0;
}

/* ── Contenteditable fields + pencil icons ── */

.sig-field-wrap {
  position: relative;
  display: block;
}

/* Inline context (template C role·company line) */
span.sig-field-wrap {
  display: inline-block;
}

.sig-field {
  display: block;
  outline: none;
  cursor: text;
  border-radius: 3px;
  border-left: 2px solid transparent;
  padding-left: 3px;
  margin-left: -5px;
  transition: background 0.12s, border-color 0.12s;
}

span.sig-field {
  display: inline;
  border-left: none;
  padding-left: 0;
  margin-left: 0;
  border-bottom: 1px dashed transparent;
  transition: background 0.12s, border-color 0.12s;
}

.sig-field-wrap:hover .sig-field,
.sig-field:focus {
  background: rgba(64,126,209,0.07);
  border-left-color: rgba(64,126,209,0.45);
}

span.sig-field-wrap:hover span.sig-field {
  background: rgba(64,126,209,0.07);
  border-bottom-color: rgba(64,126,209,0.45);
  border-left: none;
}

.sig-field:focus {
  background: rgba(64,126,209,0.10);
  border-left-color: var(--color-sky);
  outline: none;
}

.sig-placeholder {
  opacity: 0.32;
  cursor: text;
}

/* Pencil icon */
.sig-pencil-icon {
  position: absolute;
  right: -18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-sky);
  opacity: 0;
  transition: opacity 0.15s;
  pointer-events: none;
  display: flex;
  align-items: center;
  line-height: 1;
}

/* Always visible while field is still empty (placeholder showing) */
.sig-placeholder ~ .sig-pencil-icon {
  opacity: 0.55;
}

/* Show on hover for filled fields too */
.sig-field-wrap:hover .sig-pencil-icon {
  opacity: 0.65;
}

/* Hide while actively typing */
.sig-field:focus ~ .sig-pencil-icon {
  opacity: 0;
}

/* ── Copy CTA ── */
.sig-copy-zone {
  display: flex;
  align-items: center;
  gap: 14px;
}

.sig-reset-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: transparent;
  border: none;
  color: #9BAABB;
  font-family: var(--font-sans);
  font-size: 12px;
  cursor: pointer;
  padding: 4px 0;
  transition: color 0.15s;
  margin-top: 4px;
  align-self: center;
}

.sig-reset-btn:hover { color: #E05252; }

/* ── "Weitere Felder" add-button + dropdown ── */
.sig-add-wrap {
  position: relative;
  display: inline-block;
  margin-top: 5px;
}
.sig-add-fields-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px 3px 6px;
  background: transparent;
  border: 1.5px dashed var(--color-sky, #3A7BD5);
  border-radius: 6px;
  color: var(--color-sky, #3A7BD5);
  font-family: var(--font-sans, sans-serif);
  font-size: 11px;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
  white-space: nowrap;
}
.sig-add-fields-btn:hover,
.sig-add-fields-btn[aria-expanded="true"] {
  background: #EBF3FC;
  border-color: var(--color-sky, #3A7BD5);
}
/* Dropdown menu */
.sig-add-menu {
  display: none;
  position: absolute;
  left: 0;
  top: calc(100% + 4px);
  z-index: 2000;
  min-width: 160px;
  background: #fff;
  border: 1px solid #D9E4EF;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(26,46,87,0.13);
  padding: 6px;
  flex-direction: column;
  gap: 1px;
}
.sig-add-menu.is-open {
  display: flex;
}
.sig-add-menu-title {
  font-family: var(--font-sans, sans-serif);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #9BAABB;
  padding: 4px 8px 6px;
}
.sig-add-menu-item {
  display: block;
  width: 100%;
  text-align: left;
  padding: 6px 10px;
  background: transparent;
  border: none;
  border-radius: 6px;
  font-family: var(--font-sans, sans-serif);
  font-size: 13px;
  color: var(--color-navy, #1A2E57);
  cursor: pointer;
  transition: background 0.1s;
}
.sig-add-menu-item:hover {
  background: #EBF3FC;
  color: var(--color-sky, #3A7BD5);
}
/* Extra columns */
.sig-extra-col {
  /* border-left entfernen — kein vertikaler Trennstrich */
  padding-left: 32px !important; /* statt 16px */
}
.sig-col-header {
  height: 16px;
  display: flex;
  justify-content: flex-end;
  margin-bottom: 4px;
}
.sig-remove-col {
  background: transparent;
  border: none;
  padding: 2px 4px;
  cursor: pointer;
  color: #B0BEC9;
  opacity: 0;
  transition: opacity 0.15s, color 0.15s;
  line-height: 1;
  border-radius: 4px;
}
.sig-extra-col:hover .sig-remove-col,
.sig-extra-col:focus-within .sig-remove-col {
  opacity: 1;
}
.sig-remove-col:hover {
  color: #E05252;
  background: #FFF0F0;
}
/* Add-column button */
.sig-add-col-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 48px;
  background: transparent;
  border: 1.5px dashed #C8D8E8;
  border-radius: 6px;
  color: #9BAABB;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
  padding: 0;
}
.sig-add-col-btn:hover {
  border-color: var(--color-sky, #3A7BD5);
  color: var(--color-sky, #3A7BD5);
  background: #EBF3FC;
}
/* Remove button on extra fields */
.sig-field-wrap--extra {
  padding-right: 48px; /* room for pencil + remove — mindestens 40px */
}
.sig-remove-ef {
  position: absolute;
  right: -34px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  padding: 2px;
  cursor: pointer;
  color: #B0BEC9;
  opacity: 0;
  transition: opacity 0.15s, color 0.15s;
  pointer-events: none;
  line-height: 1;
}
.sig-field-wrap--extra:hover .sig-remove-ef,
.sig-field-wrap--extra:focus-within .sig-remove-ef {
  opacity: 1;
  pointer-events: auto;
}
.sig-remove-ef:hover {
  color: #E05252;
}

.sig-copy-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 24px;
  background: var(--color-navy);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--font-sans);
  transition: background 0.15s, transform 0.12s, box-shadow 0.15s;
  box-shadow: 0 2px 12px rgba(26,46,87,0.20);
  letter-spacing: 0.1px;
}

.sig-copy-btn:hover {
  background: var(--color-sky);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(64,126,209,0.30);
}

.sig-copy-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(26,46,87,0.15);
}

.sig-copy-confirm {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
  font-weight: 700;
  color: #2C6E49;
  white-space: nowrap;
}

/* ── Secondary row ── */
.sig-secondary-row {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 10px;
}

.sig-html-toggle {
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 9px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-stahlgrau);
  cursor: pointer;
  font-family: var(--font-sans);
  transition: border-color 0.15s, color 0.15s;
}

.sig-html-toggle:hover {
  border-color: var(--color-sky);
  color: var(--color-sky);
}

.sig-html-output {
  width: 100%;
  box-sizing: border-box;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--color-tinte);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px;
  background: var(--color-eisblau);
  resize: vertical;
  line-height: 1.5;
}

/* Insert guide */
.sig-guide {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.sig-guide summary {
  padding: 11px 16px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-navy);
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
  user-select: none;
}

.sig-guide summary::-webkit-details-marker { display: none; }

.sig-guide summary::before {
  content: '▶';
  font-size: 9px;
  color: var(--color-sky);
  transition: transform 0.18s;
}

.sig-guide[open] summary::before { transform: rotate(90deg); }

.sig-guide-body {
  padding: 4px 16px 14px;
  display: grid;
  gap: 12px;
}

.sig-guide-item h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-navy);
  margin: 0 0 3px;
}

.sig-guide-item p {
  font-size: 12px;
  color: var(--color-tinte);
  margin: 0;
  line-height: 1.6;
}

.sig-optional {
  font-weight: 400;
  font-style: italic;
  font-size: 11px;
  color: var(--color-stahlgrau);
  text-transform: none;
  letter-spacing: 0;
}

/* ── Responsive ── */
@media (max-width: 860px) {
  .sig-tab-bar  { display: flex; }
  .sig-layout   { grid-template-columns: 1fr; }
  .sig-preview-col { position: static; }

  /* Mobile: hide inactive panel via JS toggling .sig-tab-hidden */
  .sig-tab-hidden { display: none !important; }

  .sig-tool-section { padding: 36px 0 56px; }
  .sig-tool-intro   { margin-bottom: 24px; }
}

@media (max-width: 480px) {
  .sig-tool-wrap    { padding: 0 16px; }
  .sig-chrome-body  { padding: 16px; }
  .sig-copy-btn     { font-size: 14px; padding: 13px 18px; }
  .sig-color-pickers { gap: 8px; }
}

/* Font picker */
.sig-font-picker { display: flex; flex-direction: column; gap: 8px; padding: 14px 18px; }
.sig-font-lbl { font-size: 13px; font-weight: 500; color: var(--color-navy); }
.sig-font-select {
  width: 100%;
  padding: 8px 10px;
  border: 1.5px solid #D0DCE8;
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--color-navy);
  background: #fff;
  cursor: pointer;
  appearance: auto;
}
.sig-font-select:focus { outline: 2px solid var(--color-sky); outline-offset: 1px; }
.sig-font-hint {
  display: flex; gap: 6px; align-items: flex-start;
  font-size: 11px; color: #7A8FA0; line-height: 1.4; margin: 0;
}
.sig-font-hint svg { flex-shrink: 0; margin-top: 1px; }

/* Template thumb extras for D, E, F */
.sig-tpl-thumb__split { display: flex; align-items: center; gap: 4px; height: 100%; }
.sig-tpl-thumb__split-left { flex: 1; display: flex; flex-direction: column; gap: 3px; }
.sig-tpl-thumb__split-right { flex: 1; display: flex; flex-direction: column; gap: 3px; }
.sig-tpl-thumb__banner { height: 18px; background: var(--color-navy); border-radius: 3px 3px 0 0; margin: -8px -8px 0; }
.sig-tl--name-xl { height: 7px; width: 70%; background: var(--color-navy); border-radius: 2px; }
.sig-tl--accent-line { height: 1px; width: 100%; background: var(--color-navy); opacity: 0.2; margin: 2px 0; }
.sig-tl--role-sm { height: 4px; width: 80%; background: #C8D8E8; border-radius: 1px; }

/* OS badge + guide extras */
.sig-os-badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 2px 8px; border-radius: 20px;
  font-size: 11px; font-weight: 500;
}
.sig-os-badge--mac { background: #E8F0FE; color: #1A73E8; }
.sig-os-badge--win { background: #E3F2FD; color: #0078D4; }
.sig-guide-os-row { margin-bottom: 8px; min-height: 16px; }
.sig-guide-item ol { padding-left: 18px; margin: 6px 0 0; }
.sig-guide-item ol li { font-size: 13px; color: #4A5568; margin-bottom: 4px; line-height: 1.5; }
kbd {
  display: inline-block;
  padding: 1px 5px; margin: 0 1px;
  border: 1px solid #CBD5E0; border-bottom-width: 2px;
  border-radius: 4px; background: #F7FAFC;
  font-family: var(--font-mono, monospace); font-size: 11px; color: #2D3748;
}

.sig-os-toggle {
  display: flex;
  gap: 4px;
  margin-bottom: 12px;
  background: #F0F4F8;
  border-radius: 8px;
  padding: 3px;
}
.sig-os-tab {
  flex: 1;
  padding: 5px 10px;
  border: none;
  border-radius: 6px;
  background: transparent;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  color: #7A8FA0;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.sig-os-tab.is-active {
  background: #fff;
  color: var(--color-navy);
  box-shadow: 0 1px 3px rgba(26,46,87,0.10);
}

/* === end /tools/email-signatur === */

/* === Tool Cards (Weitere Tools Sektion) === */
.tool-card {
  background: #fff;
  border: 1.5px solid #e4eaf2;
  border-radius: 16px;
  padding: 28px 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  position: relative;
  transition: box-shadow .18s, border-color .18s, transform .18s;
}
.tool-card:hover {
  box-shadow: 0 8px 28px rgba(26,46,87,.11);
  border-color: var(--color-sky);
  transform: translateY(-3px);
}
.tool-card__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 2px;
}
.tool-card__badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 999px;
}
.badge--kostenlos {
  background: #e8f5e9;
  color: #2e7d32;
}
.tool-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-navy);
  margin: 0;
  line-height: 1.3;
}
.tool-card__desc {
  font-size: 0.875rem;
  color: var(--color-tinte);
  opacity: .7;
  margin: 0;
  line-height: 1.55;
  flex: 1;
}
.tool-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-sky);
  margin-top: 4px;
}
.tool-card__cta svg { transition: transform .15s; }
.tool-card:hover .tool-card__cta svg { transform: translateX(3px); }
/* === end Tool Cards === */
