/* =========================================================
   SINFLUENCER LTD – Stylesheet
   Elegant, schlicht, mit den Markenfarben (Magenta/Lila/Blau)
   Keine externen Schriften/CDNs (DSGVO-freundlich)
   ========================================================= */

:root {
  --c-magenta: #c2249f;
  --c-purple:  #7b2fa8;
  --c-blue:    #2b3fc4;
  --c-ink:     #16122b;
  --c-ink-2:   #2a2342;
  --c-bg:      #ffffff;
  --c-bg-soft: #f7f5fc;
  --c-bg-dark: #14102a;
  --c-muted:   #635c79;
  --c-border:  #e9e4f2;
  --grad: linear-gradient(120deg, #c2249f 0%, #7b2fa8 48%, #2b3fc4 100%);
  --grad-soft: linear-gradient(120deg, rgba(194,36,159,.10), rgba(43,63,196,.10));
  --shadow-sm: 0 2px 8px rgba(22,18,43,.06);
  --shadow-md: 0 10px 30px rgba(22,18,43,.10);
  --shadow-lg: 0 24px 60px rgba(22,18,43,.16);
  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 1160px;
  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --transition: .25s cubic-bezier(.4,0,.2,1);
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font);
  color: var(--c-ink);
  background: var(--c-bg);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  overflow-wrap: break-word;
  word-break: break-word;
}

/* Lange deutsche Komposita / Keywords / URLs sicher umbrechen */
h1, h2, h3, h4, p, li, a, span, td, th, summary, figcaption, .lead, .breadcrumb {
  overflow-wrap: break-word;
}
.prose { hyphens: auto; -webkit-hyphens: auto; }

img { max-width: 100%; height: auto; display: block; }

a { color: var(--c-purple); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--c-magenta); }

h1, h2, h3, h4 { line-height: 1.2; font-weight: 700; color: var(--c-ink); margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.4vw, 1.5rem); }
p { margin: 0 0 1.1em; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.section { padding: 84px 0; }
.section--soft { background: var(--c-bg-soft); }
.section--dark { background: var(--c-bg-dark); color: #eceaf5; }
.section--dark h1, .section--dark h2, .section--dark h3 { color: #fff; }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--c-magenta);
  margin-bottom: 14px;
}
.section--dark .eyebrow { color: #e69ad8; }

.lead { font-size: 1.18rem; color: var(--c-muted); max-width: 62ch; }
.section--dark .lead { color: #c7c2da; }

.text-center { text-align: center; }
.center-narrow { max-width: 760px; margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px; border-radius: 100px;
  font-weight: 600; font-size: 1rem; cursor: pointer;
  border: 1.5px solid transparent; transition: var(--transition);
  text-align: center;
}
.btn--primary { background: var(--grad); color: #fff; box-shadow: 0 8px 22px rgba(123,47,168,.28); }
.btn--primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 14px 30px rgba(123,47,168,.38); }
.btn--ghost { background: transparent; border-color: var(--c-border); color: var(--c-ink); }
.btn--ghost:hover { border-color: var(--c-purple); color: var(--c-purple); }
.section--dark .btn--ghost { border-color: rgba(255,255,255,.28); color: #fff; }
.section--dark .btn--ghost:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.08); }
.btn--light { background: #fff; color: var(--c-ink); }
.btn--light:hover { color: var(--c-purple); transform: translateY(-2px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--c-border);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.nav__logo img { height: 40px; width: auto; }
.nav__menu { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav__menu a { color: var(--c-ink); font-weight: 500; font-size: .98rem; position: relative; }
.nav__menu a:hover, .nav__menu a[aria-current="page"] { color: var(--c-purple); }
.nav__menu a[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px;
  background: var(--grad); border-radius: 2px;
}
.nav__actions { display: flex; align-items: center; gap: 14px; }
.nav__toggle {
  display: none; flex-direction: column; gap: 5px; background: none; border: 0;
  cursor: pointer; padding: 8px;
}
.nav__toggle span { width: 24px; height: 2px; background: var(--c-ink); border-radius: 2px; transition: var(--transition); }

/* Sprachumschalter / Language switch */
.lang-switch { display: inline-flex; align-items: stretch; border: 2px solid var(--c-purple); border-radius: 999px; overflow: hidden; background: #fff; box-shadow: 0 2px 8px rgba(123,47,168,.14); }
.lang-switch::before {
  content: ""; align-self: stretch; width: 30px; flex: none;
  border-right: 2px solid var(--c-purple);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237b2fa8' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18'/%3E%3Cpath d='M12 3c2.6 2.7 2.6 15.3 0 18'/%3E%3Cpath d='M12 3c-2.6 2.7-2.6 15.3 0 18'/%3E%3C/svg%3E") center / 15px 15px no-repeat;
}
.lang-switch__opt { display: flex; align-items: center; padding: 7px 13px; font-size: .9rem; font-weight: 800; letter-spacing: .05em; color: var(--c-purple); line-height: 1; }
.lang-switch__opt + .lang-switch__opt { border-left: 2px solid var(--c-purple); }
.lang-switch__opt.is-active { background: var(--grad); color: #fff; }
.lang-switch__opt:not(.is-active):hover { color: #fff; background: var(--c-purple); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 96px 0 84px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(40% 55% at 12% 18%, rgba(194,36,159,.16), transparent 70%),
    radial-gradient(45% 60% at 88% 30%, rgba(43,63,196,.16), transparent 70%),
    radial-gradient(50% 60% at 50% 100%, rgba(123,47,168,.10), transparent 70%);
}
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 { margin-bottom: .35em; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.hero__stats { display: flex; gap: 36px; margin-top: 44px; flex-wrap: wrap; }
.hero__stat .num { font-size: 2rem; font-weight: 800; }
.hero__stat .lbl { font-size: .9rem; color: var(--c-muted); }
.hero__media { position: relative; }
.hero__media img { width: 100%; border-radius: var(--radius); }

/* ---------- Cards / Grids ---------- */
.grid { display: grid; gap: 26px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow-sm); transition: var(--transition); height: 100%;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.card__icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--grad-soft); margin-bottom: 18px; color: var(--c-purple);
}
.card__icon svg { width: 26px; height: 26px; }
.card__photo {
  width: 104px; height: 104px; border-radius: 50%; object-fit: cover; object-position: center top;
  margin-bottom: 18px; display: block; box-shadow: var(--shadow-sm); border: 3px solid #fff;
}
.card h3 { margin-bottom: .4em; }
.card p { color: var(--c-muted); margin-bottom: 0; font-size: .98rem; }

.section-head { max-width: 720px; margin: 0 auto 54px; text-align: center; }
.section-head .lead { margin: 0 auto; }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; gap: 24px; grid-template-columns: repeat(4,1fr); }
.step { background:#fff; border:1px solid var(--c-border); border-radius: var(--radius); padding: 28px; position: relative; }
.step::before {
  counter-increment: step; content: counter(step,decimal-leading-zero);
  font-weight: 800; font-size: 1.1rem; color: #fff; background: var(--grad);
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 16px;
}
.step h3 { font-size: 1.15rem; }
.step p { color: var(--c-muted); margin: 0; font-size: .96rem; }

/* ---------- Feature split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media img { border-radius: var(--radius); box-shadow: var(--shadow-md); }
.check-list { list-style: none; padding: 0; margin: 22px 0 0; }
.check-list li { position: relative; padding-left: 34px; margin-bottom: 14px; color: var(--c-ink); }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--grad);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/16px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/16px no-repeat;
}

/* ---------- Stats band ---------- */
.stat-band { display: grid; grid-template-columns: repeat(4,1fr); gap: 30px; text-align: center; }
.stat-band .num { font-size: clamp(2rem,4vw,2.8rem); font-weight: 800; }
.stat-band .lbl { color: var(--c-muted); font-size: .95rem; }
.section--dark .stat-band .lbl { color: #b7b2cc; }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; border-radius: 28px; padding: 64px 32px; background: var(--grad); color: #fff; box-shadow: var(--shadow-lg); }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.9); max-width: 60ch; margin: 0 auto 28px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--c-bg-dark); color: #c7c2da; padding: 70px 0 32px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer__logo { height: 38px; width: auto; margin-bottom: 18px; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: #c7c2da; font-size: .95rem; }
.site-footer a:hover { color: #fff; }
.footer__bottom {
  margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .88rem; color: #9b96b3;
}
.footer__bottom a { color: #9b96b3; }

/* ---------- Article / Blog ---------- */
.page-hero { padding: 70px 0 40px; background: var(--c-bg-soft); border-bottom: 1px solid var(--c-border); }
.breadcrumb { font-size: .85rem; color: var(--c-muted); margin-bottom: 16px; }
.breadcrumb a { color: var(--c-muted); }
.breadcrumb a:hover { color: var(--c-purple); }

.article { padding: 56px 0 84px; }
.article__wrap { display: grid; grid-template-columns: minmax(0,1fr) 280px; gap: 56px; align-items: start; }
.prose { max-width: 760px; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose p, .prose li { font-size: 1.06rem; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .5em; }
.prose img { border-radius: var(--radius); margin: 28px 0; box-shadow: var(--shadow-sm); }
.prose figure { margin: 28px 0; }
.prose figcaption { font-size: .85rem; color: var(--c-muted); text-align: center; margin-top: 8px; }
.article-meta { display: flex; gap: 18px; flex-wrap: wrap; color: var(--c-muted); font-size: .9rem; margin-bottom: 8px; }
.tag { display: inline-block; background: var(--grad-soft); color: var(--c-purple); font-size: .78rem; font-weight: 700; padding: 5px 12px; border-radius: 100px; letter-spacing: .04em; text-transform: uppercase; }

/* Callout / tip box */
.callout {
  background: var(--grad-soft); border-left: 4px solid var(--c-magenta);
  border-radius: var(--radius-sm); padding: 22px 24px; margin: 28px 0;
}
.callout strong { color: var(--c-ink); }
.callout p:last-child { margin-bottom: 0; }
.callout--key { background: #fff; border: 1px solid var(--c-border); border-left: 4px solid var(--c-blue); box-shadow: var(--shadow-sm); }

/* Table */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 28px 0; border-radius: var(--radius-sm); border: 1px solid var(--c-border); }
table { border-collapse: collapse; width: 100%; font-size: .98rem; min-width: 480px; background:#fff; }
thead th { background: var(--c-ink); color: #fff; text-align: left; padding: 14px 16px; font-weight: 600; }
tbody td { padding: 13px 16px; border-top: 1px solid var(--c-border); vertical-align: top; }
tbody tr:nth-child(even) td { background: var(--c-bg-soft); }

/* FAQ (native details) */
.faq { margin: 8px 0; }
.faq details {
  border: 1px solid var(--c-border); border-radius: var(--radius-sm); padding: 0; margin-bottom: 14px;
  background: #fff; transition: var(--transition); overflow: hidden;
}
.faq details[open] { box-shadow: var(--shadow-sm); border-color: transparent; }
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 56px 20px 22px; font-weight: 600; position: relative; color: var(--c-ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; font-weight: 400; color: var(--c-purple); transition: var(--transition);
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq .faq__body { padding: 0 22px 20px; color: var(--c-muted); }
.faq .faq__body p:last-child { margin-bottom: 0; }

/* Sidebar */
.sidebar { position: sticky; top: 94px; }
.sidebar__box { background: var(--c-bg-soft); border: 1px solid var(--c-border); border-radius: var(--radius); padding: 24px; margin-bottom: 24px; }
.sidebar__box h4 { font-size: 1rem; margin-bottom: 14px; }
.toc { list-style: none; padding: 0; margin: 0; }
.toc li { margin-bottom: 10px; }
.toc a { font-size: .95rem; color: var(--c-muted); }
.toc a:hover { color: var(--c-purple); }
.sidebar__cta { background: var(--grad); color:#fff; border-radius: var(--radius); padding: 26px; }
.sidebar__cta h4 { color:#fff; } .sidebar__cta p { color: rgba(255,255,255,.9); font-size:.92rem; }

/* Blog index cards */
.post-card { display: flex; flex-direction: column; background:#fff; border:1px solid var(--c-border); border-radius: var(--radius); overflow: hidden; transition: var(--transition); height:100%; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.post-card__img { aspect-ratio: 16/9; background: var(--grad-soft); }
.post-card__img img { width:100%; height:100%; object-fit: cover; }
.post-card__body { padding: 24px; display:flex; flex-direction: column; flex:1; }
.post-card__body h3 { font-size: 1.2rem; margin: 12px 0 8px; }
.post-card__body p { color: var(--c-muted); font-size:.96rem; flex:1; }
.post-card__more { margin-top: 16px; font-weight: 600; color: var(--c-purple); font-size:.95rem; }

/* Contact */
.contact-grid { display:grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items:start; }
.field { margin-bottom: 18px; }
.field label { display:block; font-weight:600; font-size:.92rem; margin-bottom: 7px; }
.field input, .field textarea, .field select {
  width:100%; padding: 13px 15px; border:1.5px solid var(--c-border); border-radius: var(--radius-sm);
  font-family: inherit; font-size: 1rem; color: var(--c-ink); background:#fff; transition: var(--transition);
}
.field input:focus, .field textarea:focus, .field select:focus { outline:none; border-color: var(--c-purple); box-shadow: 0 0 0 4px rgba(123,47,168,.12); }
.field textarea { resize: vertical; min-height: 140px; }
.checkbox-row { display:flex; gap:10px; align-items:flex-start; font-size:.9rem; color: var(--c-muted); }
.checkbox-row input { width:auto; margin-top:4px; }
.info-card { background: var(--c-bg-soft); border:1px solid var(--c-border); border-radius: var(--radius); padding: 30px; }
.info-card dl { margin:0; }
.info-card dt { font-weight:700; margin-top:16px; font-size:.85rem; text-transform:uppercase; letter-spacing:.06em; color: var(--c-muted); }
.info-card dd { margin:4px 0 0; font-size:1.02rem; }
.form-note { font-size:.82rem; color: var(--c-muted); }

/* Legal pages */
.legal { padding: 56px 0 84px; }
.legal .prose { max-width: 820px; margin: 0 auto; }
.legal h2 { margin-top: 1.8em; }
.legal h3 { margin-top: 1.3em; font-size: 1.2rem; }
.legal address { font-style: normal; }

/* Utilities */
.mt-0{margin-top:0}.mb-0{margin-bottom:0}.mt-1{margin-top:1rem}.mb-2{margin-bottom:2rem}
.skip-link { position:absolute; left:-999px; top:0; background:#fff; padding:10px 16px; z-index:200; border-radius:0 0 8px 0; }
.skip-link:focus { left:0; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero__grid, .split, .split--reverse .split__media { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2,1fr); }
  .stat-band { grid-template-columns: repeat(2,1fr); gap: 36px 20px; }
  .article__wrap { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .contact-grid { grid-template-columns: 1fr; }
  .hero__media { order: -1; }
}

@media (max-width: 760px) {
  .nav__toggle { display: flex; }
  .nav__menu {
    position: fixed; inset: 74px 0 auto 0; flex-direction: column; gap: 0; align-items: stretch;
    background: #fff; border-bottom: 1px solid var(--c-border); box-shadow: var(--shadow-md);
    padding: 8px 0; transform: translateY(-130%); transition: transform var(--transition); visibility: hidden;
  }
  .nav__menu.is-open { transform: translateY(0); visibility: visible; }
  .nav__menu li { width: 100%; }
  .nav__menu a { display: block; padding: 14px 24px; }
  .nav__menu a[aria-current="page"]::after { display: none; }
  .nav__actions .btn { display: none; }
  .nav__menu .btn { margin: 10px 24px; justify-content: center; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .section { padding: 56px 0; }
  .grid--3, .grid--4, .steps, .grid--2 { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .stat-band { grid-template-columns: 1fr 1fr; }
  .hero { padding: 60px 0 50px; }
  .cta-band { padding: 48px 22px; }
  .footer__bottom { flex-direction: column; }
}

/* Tabellen auf schmalen Screens als gestapelte Karten – kein horizontales Scrollen */
@media (max-width: 600px) {
  .table-wrap { overflow: visible; border: 0; border-radius: 0; }
  .table-wrap table { min-width: 0; width: 100%; font-size: .95rem; }
  .table-wrap thead {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
  }
  .table-wrap tr {
    display: block; border: 1px solid var(--c-border); border-radius: var(--radius-sm);
    margin-bottom: 16px; background: #fff; box-shadow: var(--shadow-sm); overflow: hidden;
  }
  .table-wrap tbody td {
    display: flex; justify-content: space-between; align-items: baseline; gap: 18px;
    padding: 11px 16px; border-top: 0; border-bottom: 1px solid var(--c-border); text-align: right;
  }
  .table-wrap tbody tr:nth-child(even) td { background: #fff; }
  .table-wrap tbody td:last-child { border-bottom: 0; }
  .table-wrap tbody td::before {
    content: attr(data-label); font-weight: 700; color: var(--c-ink);
    text-align: left; flex: 0 0 42%; letter-spacing: -.01em;
  }
  .table-wrap tbody td:first-child {
    background: var(--c-bg-soft); font-weight: 600; font-size: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
