/* Senc Websolutions — Dark Web-Solutions Theme
   Tiefes Schwarz-Blau + kräftiges Cyan, moderne Tech-Typo (Sora + Inter). */

:root {
  color-scheme: dark;
  --display: "Sora", "Segoe UI", system-ui, -apple-system, sans-serif;
  --sans: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  --bg: #090d11;
  --bg-2: #0b1117;
  --surface: #0f151c;
  --surface-2: #131b23;
  --surface-3: #18222b;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);

  --ink: #f3f6f9;
  --muted: #94a1ad;
  --muted-2: #6d7884;

  --accent: #15a8e8;
  --accent-bright: #4cc1f5;
  --accent-deep: #0c87c2;
  --accent-soft: rgba(21, 168, 232, 0.14);
  --accent-line: rgba(21, 168, 232, 0.32);

  --radius: 16px;
  --radius-sm: 12px;
  --container: min(1200px, calc(100% - 48px));
  --shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
  --card-shadow: 0 26px 56px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

[id] {
  scroll-margin-top: 96px;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--sans);
  font-size: 1.02rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

::selection {
  background: var(--accent);
  color: #04141d;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.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;
}

.section-pad {
  width: var(--container);
  margin: 0 auto;
}

.section {
  padding-top: clamp(72px, 10vw, 132px);
  padding-bottom: clamp(72px, 10vw, 132px);
}

/* Helle Sektionen (zwischen die dunklen gemischt) */
.light {
  --ink: #10161d;
  --muted: #566472;
  --muted-2: #8b97a3;
  --surface: #ffffff;
  --surface-2: #eef2f7;
  --surface-3: #e6ecf2;
  --line: #e4e9ef;
  --line-2: #d6dde6;
  --bg-2: #f5f7fa;
  --accent-bright: #0c87c2;
  --card-shadow: 0 22px 46px rgba(16, 22, 29, 0.12);
  color: var(--ink);
  background: #ffffff;
}

.light.tint {
  background: var(--bg-2);
}

.light.references-section,
.light.trust-strip {
  background: #ffffff;
}

/* ---------- Typografie ---------- */

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--display);
  color: var(--ink);
  overflow-wrap: break-word;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(2.5rem, 5.4vw, 4.4rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.9rem, 3.6vw, 3.1rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.018em;
}

h3 {
  font-size: 1.18rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

p {
  margin: 0;
  overflow-wrap: break-word;
}

.eyebrow {
  margin: 0 0 18px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--accent-bright);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--accent);
}

.section-heading {
  max-width: 820px;
}

.section-heading.compact {
  max-width: 720px;
}

.lead {
  margin: 18px 0 0;
  max-width: 60ch;
  color: var(--muted);
  font-size: clamp(1.04rem, 1.4vw, 1.18rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 24px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.button.primary {
  color: #ffffff;
  background: linear-gradient(180deg, var(--accent-bright), var(--accent));
  box-shadow: 0 14px 34px rgba(21, 168, 232, 0.28);
}

.button.primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow: 0 18px 42px rgba(21, 168, 232, 0.36);
}

.button.ghost {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line-2);
}

.button.ghost:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.24);
}

.button.full {
  width: 100%;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(9, 13, 17, 0.72);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(16px);
  transition: background 240ms ease, border-color 240ms ease;
}

.site-header.is-scrolled {
  background: rgba(9, 13, 17, 0.9);
  border-bottom-color: var(--line);
}

.nav {
  width: var(--container);
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  height: 50px;
}

.brand .logo {
  width: auto;
  height: 42px;
  object-fit: contain;
}

.nav-panel {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-panel a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 500;
  border-radius: 10px;
  transition: color 160ms ease, background 160ms ease;
}

.nav-panel a:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.06);
}

.nav-panel .nav-cta {
  margin-left: 10px;
  padding: 0 18px;
  color: #ffffff;
  background: linear-gradient(180deg, var(--accent-bright), var(--accent));
  box-shadow: 0 10px 24px rgba(21, 168, 232, 0.26);
}

.nav-panel .nav-cta:hover {
  color: #ffffff;
  filter: brightness(1.06);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 0;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line-2);
  border-radius: 10px;
  cursor: pointer;
}

.menu-toggle span:not(.sr-only) {
  width: 20px;
  height: 2px;
  margin: 0 auto;
  background: currentColor;
  border-radius: 999px;
}

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

.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
}

.hero-glow {
  position: absolute;
  top: -20%;
  right: -8%;
  width: 60%;
  height: 130%;
  background: radial-gradient(circle, rgba(21, 168, 232, 0.22), transparent 62%);
  filter: blur(30px);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(36px, 5vw, 70px);
  align-items: center;
  padding-top: clamp(56px, 7vw, 96px);
  padding-bottom: clamp(60px, 8vw, 110px);
}

.hero-copy {
  max-width: 620px;
}

.hero-text {
  max-width: 50ch;
  margin: 0 0 32px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.trust-row span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 6px 14px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 500;
}

.hero-figure {
  position: relative;
  margin: 0;
}

.hero-figure-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-figure-frame img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  max-height: 540px;
  object-fit: cover;
}

.hero-figure-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(9, 13, 17, 0.12), rgba(9, 13, 17, 0.62)),
    radial-gradient(circle at 78% 22%, rgba(21, 168, 232, 0.28), transparent 46%);
}

.hero-badge {
  position: absolute;
  display: grid;
  gap: 2px;
  padding: 14px 18px;
  color: var(--ink);
  background: rgba(15, 21, 28, 0.82);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-sm);
  backdrop-filter: blur(12px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.hero-badge small {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-badge strong {
  font-family: var(--display);
  font-size: 1.16rem;
  font-weight: 700;
}

.hero-badge-a {
  left: -14px;
  top: 26px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-badge-a .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent-bright);
  box-shadow: 0 0 0 4px rgba(21, 168, 232, 0.2);
}

.hero-badge-b {
  right: -14px;
  bottom: 26px;
}

.hero-badge-b strong {
  color: var(--accent-bright);
}

/* ---------- Trust-Strip ---------- */

.trust-strip {
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  padding: 26px 0;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px 30px;
  color: var(--ink);
  font-weight: 500;
}

.trust-item + .trust-item {
  border-left: 1px solid var(--line);
}

.trust-item:first-child {
  padding-left: 0;
}

.tick {
  position: relative;
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
}

.tick::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 5px;
  width: 8px;
  height: 4px;
  border-left: 1.8px solid var(--accent-bright);
  border-bottom: 1.8px solid var(--accent-bright);
  transform: rotate(-45deg);
}

/* ---------- Intro ---------- */

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.78fr);
  gap: clamp(36px, 5vw, 80px);
  align-items: end;
}

/* ---------- Cards (gemeinsam) ---------- */

.service-grid,
.target-grid,
.reference-grid {
  display: grid;
  margin-top: clamp(36px, 5vw, 56px);
}

.service-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.service-card,
.target-card,
.reference-card,
.price-card,
.step,
.faq-item,
.contact-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.service-card {
  padding: 28px 26px;
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease, background 200ms ease;
}

.service-card:hover,
.target-card:hover,
.reference-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-line);
  box-shadow: var(--card-shadow);
}

.feat-icon {
  display: inline-grid;
  place-items: center;
  width: 50px;
  height: 50px;
  margin-bottom: 22px;
  color: var(--accent-bright);
  background: linear-gradient(160deg, rgba(21, 168, 232, 0.2), rgba(21, 168, 232, 0.04));
  border: 1px solid var(--accent-line);
  border-radius: 14px;
}

.feat-icon svg {
  width: 23px;
  height: 23px;
}

.service-card p,
.target-card p,
.step p,
.price-card p,
.faq-answer p {
  margin: 10px 0 0;
  color: var(--muted);
}

/* ---------- Branchen ---------- */

.target-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.target-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 30px 28px;
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.tag {
  margin-bottom: 18px;
  padding: 6px 12px;
  color: var(--accent-bright);
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ---------- Referenzen ---------- */

.references-section {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.reference-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.reference-card {
  display: flex;
  flex-direction: column;
  padding: 22px;
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.reference-logo {
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  padding: 18px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.reference-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.reference-logo.logo-light-bg {
  background: #ffffff;
}

.reference-logo.logo-dark-bg {
  background: #0a0d10;
}

.reference-logo.logo-amanuel img {
  max-width: 90%;
  max-height: 84%;
}

.reference-card p {
  margin: 0 0 6px;
  color: var(--accent-bright);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.reference-card h3 {
  margin-bottom: 18px;
}

.reference-card a {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--ink);
  font-weight: 600;
}

.reference-card a span {
  color: var(--accent-bright);
  transition: transform 200ms ease;
}

.reference-card a:hover span {
  transform: translate(2px, -2px);
}

/* ---------- Preise ---------- */

.pricing-section {
  position: relative;
  overflow: hidden;
}

.pricing-glow {
  position: absolute;
  top: -10%;
  left: 60%;
  width: 50%;
  height: 90%;
  background: radial-gradient(circle, rgba(21, 168, 232, 0.16), transparent 60%);
  filter: blur(40px);
  pointer-events: none;
}

.pricing-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.78fr);
  gap: 20px;
  margin-top: clamp(36px, 5vw, 56px);
  align-items: stretch;
}

.price-card {
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 3.4vw, 40px);
}

.price-card.featured {
  background:
    linear-gradient(160deg, rgba(21, 168, 232, 0.12), rgba(21, 168, 232, 0)) ,
    var(--surface);
  border-color: var(--accent-line);
}

.price-label {
  margin: 0 0 14px !important;
  color: var(--accent-bright) !important;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0;
}

.price span,
.price small {
  color: var(--muted);
  font-weight: 500;
}

.price strong {
  font-family: var(--display);
  font-size: clamp(3rem, 6vw, 4.8rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.02em;
}

.price-note {
  margin-bottom: 26px !important;
  color: var(--muted-2) !important;
}

.check-list {
  display: grid;
  gap: 13px;
  margin: 0 0 30px;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--ink);
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 0;
  width: 13px;
  height: 7px;
  border-left: 2px solid var(--accent-bright);
  border-bottom: 2px solid var(--accent-bright);
  transform: rotate(-45deg);
}

.price-card.featured .button {
  margin-top: auto;
}

.support-price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 22px 0;
}

.support-price strong {
  font-family: var(--display);
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--accent-bright);
  line-height: 1;
}

.support-price span {
  color: var(--muted);
  font-weight: 500;
}

/* ---------- Ablauf ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: clamp(36px, 5vw, 56px);
}

.step {
  padding: 32px 28px;
}

.step-num {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 22px;
  font-family: var(--display);
  font-weight: 700;
  color: var(--accent-bright);
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  border-radius: 14px;
}

/* ---------- FAQ ---------- */

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 880px;
  margin-top: clamp(32px, 4vw, 48px);
}

.faq-item {
  overflow: hidden;
}

.faq-item button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 22px 24px;
  color: var(--ink);
  background: transparent;
  border: 0;
  text-align: left;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.08rem;
  cursor: pointer;
}

.faq-item button span {
  position: relative;
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  border: 1px solid var(--line-2);
  border-radius: 50%;
}

.faq-item button span::before,
.faq-item button span::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: 10px;
  height: 2px;
  background: var(--accent-bright);
  transform: translate(-50%, -50%);
  transition: opacity 200ms ease;
}

.faq-item button span::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item button[aria-expanded="true"] span::after {
  opacity: 0;
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 220ms ease;
}

.faq-answer p {
  min-height: 0;
  overflow: hidden;
  padding: 0 24px;
  margin: 0;
}

.faq-item.is-open {
  border-color: var(--accent-line);
}

.faq-item.is-open .faq-answer {
  grid-template-rows: 1fr;
}

.faq-item.is-open .faq-answer p {
  padding-bottom: 22px;
}

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

.contact {
  position: relative;
  overflow: hidden;
  background: var(--bg-2);
  border-top: 1px solid var(--line);
}

.contact-glow {
  position: absolute;
  top: -20%;
  left: -10%;
  width: 55%;
  height: 120%;
  background: radial-gradient(circle, rgba(21, 168, 232, 0.16), transparent 60%);
  filter: blur(40px);
  pointer-events: none;
}

.contact-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.02fr);
  gap: clamp(40px, 5vw, 72px);
  align-items: start;
  padding-top: clamp(72px, 9vw, 120px);
  padding-bottom: clamp(72px, 9vw, 120px);
}

.contact-copy p {
  margin-top: 18px;
  max-width: 46ch;
  color: var(--muted);
}

.contact-direct {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  margin-top: 28px;
}

.contact-direct a {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--ink);
  border-bottom: 1px solid var(--line-2);
  padding-bottom: 3px;
  transition: border-color 180ms ease, color 180ms ease;
}

.contact-direct a:hover {
  color: var(--accent-bright);
  border-bottom-color: var(--accent);
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: clamp(24px, 3vw, 34px);
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--muted);
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 13px 14px;
  color: var(--ink);
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  outline: none;
  resize: vertical;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--muted-2);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(21, 168, 232, 0.16);
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.form-note.is-success {
  color: #4ade80;
  font-weight: 600;
}

.form-note.is-error {
  color: #f87171;
  font-weight: 600;
}

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

.footer {
  background: #070a0d;
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(160px, 0.55fr) minmax(220px, 0.75fr);
  gap: 48px;
  padding-top: 60px;
  padding-bottom: 44px;
}

.footer-logo-link {
  display: inline-flex;
  width: max-content;
  margin-bottom: 20px;
}

.footer-brand img {
  width: 158px;
}

.footer-brand p {
  max-width: 420px;
  color: var(--muted);
}

.footer-column {
  display: grid;
  align-content: start;
  gap: 12px;
}

.footer-column h2 {
  margin: 0 0 8px;
  font-family: var(--sans);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.footer-column a,
.footer-column p {
  margin: 0;
  color: var(--muted);
  transition: color 160ms ease;
}

.footer-address {
  display: grid;
  gap: 2px;
  width: max-content;
}

.footer-column a:hover,
.footer-bottom a:hover {
  color: var(--accent-bright);
}

.footer-bottom {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted-2);
  border-top: 1px solid var(--line);
}

.footer-bottom p {
  margin: 0;
  font-size: 0.92rem;
}

.footer-bottom a {
  color: var(--ink);
  font-weight: 500;
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

/* ---------- Back to top ---------- */

.back-to-top {
  position: fixed;
  right: clamp(16px, 3vw, 32px);
  bottom: clamp(16px, 3vw, 32px);
  z-index: 60;
  width: 50px;
  height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: linear-gradient(180deg, var(--accent-bright), var(--accent));
  border-radius: var(--radius-sm);
  box-shadow: 0 14px 32px rgba(21, 168, 232, 0.34);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px) scale(0.94);
  transition: opacity 200ms ease, transform 200ms ease, filter 200ms ease;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.back-to-top::before {
  content: "";
  width: 12px;
  height: 12px;
  border-top: 2px solid currentColor;
  border-left: 2px solid currentColor;
  transform: translateY(3px) rotate(45deg);
}

.back-to-top:hover {
  filter: brightness(1.08);
  transform: translateY(-3px) scale(1);
}

/* ---------- Reveal ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: var(--delay, 0ms);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Rechtsseiten ---------- */

.legal-page-main,
.legal-section {
  background: var(--bg);
}

.legal-section .section-pad {
  padding-top: clamp(64px, 9vw, 120px);
  padding-bottom: clamp(64px, 9vw, 120px);
}

.legal-layout.single {
  max-width: 860px;
}

.legal-card {
  padding: clamp(28px, 4vw, 44px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.legal-card h1 {
  margin-bottom: 28px;
  font-size: clamp(2.1rem, 4.4vw, 3.2rem);
}

.legal-block {
  display: grid;
  gap: 4px;
  padding-top: 20px;
  margin-top: 20px;
  border-top: 1px solid var(--line);
}

.legal-block:first-of-type {
  padding-top: 0;
  margin-top: 0;
  border-top: 0;
}

.legal-block p {
  margin: 0;
  color: var(--muted);
}

.legal-block strong {
  color: var(--ink);
  font-weight: 600;
}

.legal-block a {
  color: var(--accent-bright);
  font-weight: 600;
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    transition-duration: 1ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

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

@media (max-width: 1020px) {
  .menu-toggle {
    display: inline-flex;
  }

  .nav-panel {
    position: fixed;
    top: 84px;
    right: 24px;
    left: 24px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px;
    background: rgba(11, 17, 23, 0.98);
    border: 1px solid var(--line-2);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow);
  }

  .nav-panel.is-open {
    display: flex;
  }

  .nav-panel a {
    min-height: 46px;
    padding: 0 16px;
  }

  .nav-panel .nav-cta {
    margin-left: 0;
    margin-top: 4px;
    justify-content: center;
  }

  .hero-inner,
  .intro,
  .pricing-layout,
  .contact-inner,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .hero-figure-frame img {
    min-height: 280px;
    max-height: 360px;
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .reference-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 680px) {
  :root {
    --container: calc(100% - 32px);
  }

  body {
    font-size: 1rem;
  }

  .nav {
    min-height: 66px;
  }

  .brand .logo {
    height: 36px;
  }

  .hero-actions .button,
  .trust-row span {
    width: 100%;
    justify-content: center;
  }

  .hero-badge-a {
    left: 12px;
  }

  .hero-badge-b {
    right: 12px;
  }

  .trust-grid,
  .service-grid,
  .target-grid,
  .reference-grid {
    grid-template-columns: 1fr;
  }

  .trust-grid {
    padding: 8px 0;
  }

  .trust-item {
    padding: 16px 0;
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }

  .trust-item:first-child {
    padding-left: 0;
  }

  .trust-item:last-child {
    border-bottom: 0;
  }
}
