/* ============================================
   SJB People & Payroll — Stylesheet
   ============================================ */

:root {
  /* Neutrale Farben */
  --color-black: #1a1a1a;
  --color-text: #4a4a4a;
  --color-muted: #7a7a7a;
  --color-line: #e5e5e5;
  --color-bg: #f9f9fb;
  --color-surface: #ffffff;
  /* Markenfarben: Pink = Buttons, Links, Highlights */
  --color-accent: #e64097;
  --color-accent-light: #f06aaf;
  --color-accent-dark: #c92d7e;
  /* Markenfarben: Violett = Überschriften, Branding, dunkle Flächen */
  --color-secondary: #6a2a86;
  --color-secondary-light: #8a45a7;
  --color-secondary-dark: #4f1f6b;
  --color-dark: #4f1f6b;
  --color-dark-soft: #6a2a86;
  --color-purple: #6a2a86;
  /* Marken-Gradients: main = Buttons, Header, CTA · soft = dekorative Akzente · dark = Hover/Active */
  --gradient-main: linear-gradient(135deg, #e64097 0%, #6a2a86 100%);
  --gradient-soft: linear-gradient(135deg, #f06aaf 0%, #8a45a7 100%);
  --gradient-dark: linear-gradient(135deg, #c92d7e 0%, #4f1f6b 100%);
  --radius: 22px;
  --shadow: 0 6px 24px rgba(79, 31, 107, 0.08);
  --shadow-hover: 0 14px 32px rgba(79, 31, 107, 0.14);
  --font-serif: "Fraunces", Georgia, serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --max-width: 1100px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  color: var(--color-secondary);
  line-height: 1.2;
  hyphens: auto;
}

a {
  color: var(--color-accent-dark);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---------- Header / Navigation ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(25, 10, 38, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.3s, border-color 0.3s;
}

.site-header.transparent {
  background: transparent;
  backdrop-filter: none;
  border-bottom-color: transparent;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--color-accent);
  letter-spacing: 0.02em;
}

.brand:hover {
  text-decoration: none;
}

.brand-mark {
  height: 2.3rem;
  width: 2.3rem;
}

.brand span {
  color: #fff;
}

.main-nav {
  display: flex;
  gap: 0.5rem;
}

.main-nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.82);
  letter-spacing: 0.01em;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  transition: background 0.2s, color 0.2s;
}

.main-nav a:hover,
.main-nav a.active {
  color: #fff;
  background: rgba(230, 64, 151, 0.32);
  text-decoration: none;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  margin: 5px 0;
  border-radius: 2px;
}

/* ---------- Hero ---------- */

.hero {
  background:
    radial-gradient(55% 60% at 18% 20%, rgba(230, 64, 151, 0.4) 0%, transparent 60%),
    radial-gradient(50% 55% at 85% 75%, rgba(138, 69, 167, 0.55) 0%, transparent 60%),
    #190a26;
  color: #f6f1ea;
  margin-top: -4.5rem;
  padding: 11rem 0 11rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero .eyebrow {
  display: inline-block;
  background: linear-gradient(135deg, rgba(230, 64, 151, 0.25), rgba(138, 69, 167, 0.25));
  border: 1px solid rgba(240, 106, 175, 0.4);
  border-radius: 999px;
  padding: 0.4rem 1.2rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #f06aaf;
  margin-bottom: 1.8rem;
}

.hero h1 {
  font-size: clamp(2.5rem, 5.5vw, 4.1rem);
  color: #fff;
  line-height: 1.1;
  max-width: 17em;
  margin: 0 auto 1.4rem;
  hyphens: manual;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(90deg, #f06aaf, #b07ce0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p {
  font-size: 1.12rem;
  color: rgba(255, 255, 255, 0.72);
  max-width: 38em;
  margin: 0 auto 2.4rem;
}

.hero .stats {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 4rem;
  flex-wrap: wrap;
}

.hero .stat {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 1.1rem 2.2rem;
}

.hero .stat b {
  display: block;
  font-family: var(--font-serif);
  font-size: 2rem;
  line-height: 1.2;
  background: linear-gradient(90deg, #f06aaf, #b07ce0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero .stat span {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.06em;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  padding: 0.85rem 2.2rem;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  border-radius: 999px;
  transition: background 0.2s, color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--gradient-main);
  color: #fff;
  box-shadow: 0 0 36px rgba(230, 64, 151, 0.5);
}

.btn-primary:hover {
  background: var(--gradient-dark);
  box-shadow: 0 0 44px rgba(230, 64, 151, 0.6);
}

.btn-outline {
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  margin-left: 0.75rem;
}

.btn-copy {
  border: 1.5px solid var(--color-secondary);
  color: var(--color-secondary);
  background: none;
  cursor: pointer;
  font-family: var(--font-sans);
  margin-left: 0.75rem;
}

.btn-copy:hover {
  background: rgba(106, 42, 134, 0.08);
}

.btn-copy.copied {
  border-color: var(--color-accent);
  color: var(--color-accent-dark);
}

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

/* ---------- Sections ---------- */

.section {
  padding: 5.5rem 0;
}

.section.alt {
  background: var(--color-surface);
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
}

.section.overlap {
  margin-top: -8rem;
  padding-top: 0;
  position: relative;
  z-index: 2;
}

.section.overlap .card {
  box-shadow: 0 16px 40px rgba(79, 31, 107, 0.16);
}

.section-head {
  max-width: 640px;
  margin-bottom: 3.5rem;
}

.section-head .eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
}

.section-head h1,
.section-head h2 {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  margin-bottom: 1rem;
}

.section-head h1::after,
.section-head h2::after {
  content: "";
  display: block;
  width: 110px;
  height: 12px;
  margin-top: 0.6rem;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="110" height="12" viewBox="0 0 110 12"><path d="M2 8c9-6 18-6 27 0s18 6 27 0 18-6 27 0 18 6 25 1" fill="none" stroke="%23e64097" stroke-width="3" stroke-linecap="round"/></svg>') no-repeat;
}

.section-head p {
  color: var(--color-muted);
}

/* ---------- Cards / Leistungen ---------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2.25rem 1.85rem;
  transition: transform 0.25s, box-shadow 0.25s;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}

.card h3::before {
  content: "";
  display: block;
  width: 2.4rem;
  height: 2.4rem;
  margin-bottom: 1rem;
  border-radius: 50% 50% 50% 12%;
  background: var(--gradient-soft);
}

.card p {
  font-size: 0.98rem;
  color: var(--color-muted);
}

.card .more {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.grid-cta {
  text-align: center;
  margin-top: 2.75rem;
  font-weight: 600;
}

.lead-text {
  max-width: 720px;
}

.lead-text p {
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
}

.intro-list {
  margin-bottom: 3.5rem;
  max-width: 760px;
}

/* ---------- Leistungen (Detailseite) ---------- */

.service {
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2.75rem 2.5rem;
  margin-bottom: 2rem;
}

.service h2 {
  font-size: 1.9rem;
  margin-bottom: 0.5rem;
}

.service-lead {
  font-size: 1.1rem;
  color: var(--color-muted);
  margin-bottom: 2rem;
  max-width: 46em;
}

.service h3 {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent-dark);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.service h3::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--color-line);
}

.service ul,
.check-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 0.9rem 2.5rem;
}

.service li,
.check-list li {
  padding-left: 2.2rem;
  position: relative;
  font-size: 0.98rem;
  line-height: 1.55;
}

.service li::before,
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.1em;
  width: 1.4rem;
  height: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-accent-dark);
  background: rgba(230, 64, 151, 0.16);
  border-radius: 50%;
}

.service-extra {
  background: rgba(230, 64, 151, 0.09);
  border-radius: var(--radius);
  padding: 1.75rem 2rem;
}

.service-extra h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.service-extra p {
  color: var(--color-muted);
}

/* ---------- Werte / Feature-Liste ---------- */

.feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 2.5rem 3rem;
}

.feature h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.feature h3::before {
  content: "";
  display: inline-block;
  width: 0.85rem;
  height: 0.85rem;
  margin-right: 0.6rem;
  border-radius: 50% 50% 50% 12%;
  background: var(--gradient-soft);
}

.feature p {
  font-size: 0.98rem;
  color: var(--color-muted);
}

/* ---------- Zitat / Statement ---------- */

.statement {
  padding: 5.5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.statement::before {
  content: "";
  display: block;
  width: 110px;
  height: 12px;
  margin: 0 auto 2rem;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="110" height="12" viewBox="0 0 110 12"><path d="M2 8c9-6 18-6 27 0s18 6 27 0 18-6 27 0 18 6 25 1" fill="none" stroke="%23e64097" stroke-width="3" stroke-linecap="round"/></svg>') no-repeat center;
}

.statement blockquote {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  font-style: italic;
  line-height: 1.4;
  max-width: 28em;
  margin: 0 auto 1.25rem;
  position: relative;
  color: var(--color-secondary);
}

.statement cite {
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 0.9rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-muted);
}

/* ---------- CTA-Band ---------- */

.cta-band {
  text-align: center;
  padding: 5.5rem 0;
  background: radial-gradient(60% 100% at 50% 0%, rgba(230, 64, 151, 0.5) 0%, transparent 70%), #190a26;
}

.cta-band h2 {
  font-size: clamp(1.9rem, 4vw, 2.5rem);
  margin-bottom: 1rem;
  color: #fff;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.8);
  max-width: 36em;
  margin: 0 auto 2.25rem;
}

/* ---------- Über mich ---------- */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 4rem;
  align-items: start;
}

.about-aside {
  position: sticky;
  top: 6.5rem;
}

.portrait {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  margin-bottom: 1.5rem;
  border-radius: 46% 54% 50% 50% / 38% 38% 62% 62%;
  box-shadow: var(--shadow);
}

.about-aside .name {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-dark);
}

.about-aside .role {
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.about-body h1 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.about-body h2 {
  font-size: 1.9rem;
  margin: 2.5rem 0 1rem;
}

.about-body p {
  margin-bottom: 1.25rem;
}

.about-body ul {
  list-style: none;
  margin-bottom: 1.25rem;
}

.about-body li {
  padding-left: 2.2rem;
  position: relative;
  margin-bottom: 0.6rem;
}

.about-body li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.15em;
  width: 1.4rem;
  height: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-accent-dark);
  background: rgba(230, 64, 151, 0.16);
  border-radius: 50%;
}

/* ---------- Kontakt ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-info h1,
.contact-info h2 {
  font-size: 1.9rem;
  margin-bottom: 1.5rem;
}

.contact-item {
  margin-bottom: 1.75rem;
}

.contact-item .label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-accent-dark);
  margin-bottom: 0.25rem;
}

.contact-item p,
.contact-item a {
  font-size: 1.1rem;
  color: var(--color-text);
}

.contact-note {
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2.25rem;
}

.contact-note h3 {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}

.contact-note p {
  font-size: 0.98rem;
  color: var(--color-muted);
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.1rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-secondary);
  margin-bottom: 0.3rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--color-text);
  background: var(--color-bg);
  border: 1px solid var(--color-line);
  border-radius: 12px;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 0;
  border-color: transparent;
}

.form-honig {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.form-hinweis {
  font-size: 0.82rem !important;
  margin-bottom: 1.25rem !important;
}

.form-meldung {
  padding: 0.9rem 1.1rem;
  border-radius: 12px;
  font-size: 0.95rem !important;
}

.form-meldung.erfolg {
  background: rgba(46, 160, 90, 0.12);
  color: #1d7a44 !important;
}

.form-meldung.fehler {
  background: rgba(214, 60, 60, 0.1);
  color: #b03030 !important;
}

/* ---------- Rechtstexte ---------- */

.legal {
  max-width: 760px;
  padding: 4.5rem 1.5rem;
  margin: 0 auto;
}

.legal h1 {
  font-size: 2.4rem;
  margin-bottom: 2rem;
}

.legal h2 {
  font-size: 1.5rem;
  margin: 2.25rem 0 0.75rem;
}

.legal p {
  margin-bottom: 1rem;
}

/* ---------- Footer ---------- */

.site-footer {
  background: #190a26;
  color: #b5a8cb;
  padding: 3rem 0 2.5rem;
  font-size: 0.92rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: space-between;
  align-items: center;
}

.site-footer .footer-brand {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: #f6f1ea;
}

.site-footer .footer-brand span {
  color: #f06aaf;
}

.site-footer nav {
  display: flex;
  gap: 1.5rem;
}

.site-footer a {
  color: #b5a8cb;
}

.site-footer a:hover {
  color: #f6f1ea;
}

/* ---------- Responsive ---------- */

@media (max-width: 760px) {
  .nav-toggle {
    display: block;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 4.5rem;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0.25rem;
    background: #321346;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.75rem 1.5rem 1rem;
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    padding: 0.65rem 0.9rem;
  }

  .hero {
    padding: 8.5rem 0 8rem;
  }

  .section {
    padding: 3.5rem 0;
  }

  .section.overlap {
    margin-top: -6rem;
    padding-top: 0;
  }


  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-aside {
    position: static;
    max-width: 320px;
  }

  .service {
    padding: 2rem 1.5rem;
  }

  .service-extra {
    padding: 1.5rem;
  }

  .btn-outline {
    margin-left: 0;
    margin-top: 0.75rem;
  }
}
