/* ==========================================================================
   tomsdesignfactory – Landingpage im Apple-Produktseiten-Stil
   ========================================================================== */

:root {
  --bg: #ffffff;
  --bg-soft: #f5f5f7;
  --ink: #1d1d1f;
  --ink-soft: #6e6e73;
  --ink-light: #f5f5f7;
  --ink-light-soft: #a1a1a6;
  --accent: #0071e3;
  --accent-hover: #0077ed;
  --grad: linear-gradient(90deg, #0090f7 0%, #6c5ce7 50%, #e84393 100%);
  --radius: 28px;
  --nav-h: 52px;
  --ease: cubic-bezier(.25, .1, .25, 1);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, canvas, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* ===== Scroll-Reveal ===== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.reveal--d1 { transition-delay: .12s; }
.reveal--d2 { transition-delay: .24s; }
.reveal--d3 { transition-delay: .36s; }
.reveal--d4 { transition-delay: .5s; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .hero__scrollhint { display: none; }
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  background: rgba(255, 255, 255, .72);
  transition: background .4s var(--ease), box-shadow .4s var(--ease);
}
.nav.is-scrolled { box-shadow: 0 1px 0 rgba(0,0,0,.08); }
.nav__inner {
  max-width: 1024px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 22px;
}
.nav__brand { font-size: 17px; letter-spacing: -.02em; color: var(--ink); }
.nav__brand strong { font-weight: 700; }
.nav__links { display: flex; gap: 28px; }
.nav__links a {
  font-size: 13px;
  color: rgba(29,29,31,.8);
  transition: color .25s;
}
.nav__links a:hover { color: var(--accent); }
.nav__cta {
  font-size: 13px;
  background: var(--accent);
  color: #fff;
  padding: 6px 16px;
  border-radius: 980px;
  transition: background .25s, transform .25s;
}
.nav__cta:hover { background: var(--accent-hover); transform: scale(1.04); }

@media (max-width: 760px) {
  .nav__links { display: none; }
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-block;
  font-size: 17px;
  padding: 12px 26px;
  border-radius: 980px;
  transition: transform .3s var(--ease), background .3s, box-shadow .3s;
}
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-hover); transform: scale(1.04); box-shadow: 0 8px 30px rgba(0,113,227,.35); }
.btn--ghost { color: var(--accent); }
.btn--ghost:hover { text-decoration: underline; }
.btn--big { font-size: 19px; padding: 16px 34px; }

/* ==========================================================================
   Typografie-Bausteine
   ========================================================================== */
.section-eyebrow {
  font-size: clamp(19px, 2.4vw, 28px);
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--ink-soft);
}
.section-eyebrow--light { color: var(--ink-light-soft); }
.section-title {
  font-size: clamp(38px, 6.5vw, 80px);
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1.05;
  color: var(--ink);
  margin-top: 8px;
}
.section-title--light { color: var(--ink-light); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-h) + 36px) 24px 32px;
  background:
    radial-gradient(1200px 600px at 50% -10%, rgba(108,92,231,.10), transparent 60%),
    radial-gradient(900px 500px at 80% 20%, rgba(0,144,247,.08), transparent 60%),
    var(--bg);
  position: relative;
}
.hero__eyebrow {
  font-size: 19px;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 10px;
}
.hero__title {
  font-size: clamp(52px, 9.5vw, 118px);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.02;
}
.hero__title span { display: block; }
.hero__title-grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__sub {
  font-size: clamp(19px, 2.6vw, 28px);
  color: var(--ink-soft);
  margin-top: 22px;
  line-height: 1.4;
}
.hero__actions { display: flex; gap: 18px; align-items: center; margin-top: 34px; flex-wrap: wrap; justify-content: center; }

/* Hero-Video-Showcase (KI-Loop, abgerundete Karte)
   Breite zusätzlich an die Viewporthöhe gekoppelt (16:9),
   damit das Video beim Start nie abgeschnitten wird */
.hero__showcase {
  width: max(320px, min(900px, 92vw, calc((100svh - 600px) * 16 / 9)));
  margin-top: 36px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 40px 90px rgba(60, 60, 120, .25);
  line-height: 0;
}
.hero__video { width: 100%; height: auto; }

.hero__scrollhint {
  position: absolute; bottom: 22px; left: 50%;
  width: 26px; height: 42px;
  margin-left: -13px;
  border: 2px solid rgba(29,29,31,.25);
  border-radius: 14px;
}
.hero__scrollhint span {
  position: absolute; top: 7px; left: 50%;
  width: 4px; height: 8px; margin-left: -2px;
  border-radius: 3px; background: rgba(29,29,31,.4);
  animation: scrollhint 1.8s ease-in-out infinite;
}
@keyframes scrollhint { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* ==========================================================================
   Highlights
   ========================================================================== */
.highlights { padding: 110px 24px; max-width: 1200px; margin: 0 auto; }
.highlights .section-eyebrow { text-align: center; margin-bottom: 44px; font-size: clamp(28px, 4vw, 48px); color: var(--ink); }
.highlights__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 22px;
}
.hl-card {
  background: #fff;
  border: 1px solid #e9e9ee;
  border-radius: var(--radius);
  padding: 34px 30px 0;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .05);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.hl-card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(0,0,0,.10); }
.hl-card h3 { font-size: 25px; font-weight: 700; letter-spacing: -.02em; line-height: 1.15; color: var(--ink); }
.hl-card p { color: var(--ink-soft); margin-top: 10px; font-size: 15px; }

.hl-card__img {
  width: calc(100% + 60px);
  max-width: none;
  height: 260px;
  margin: auto -30px 0;
  padding-top: 20px;
  object-fit: cover;
  flex: none;
  align-self: flex-start;
  /* Oberkante weich in die Kartenfarbe einblenden */
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 70px);
  mask-image: linear-gradient(to bottom, transparent 0, #000 70px);
}

/* ==========================================================================
   Scroll-Scrub-Sektionen (Apple-Technik)
   ========================================================================== */
.scrub__track { position: relative; height: 340vh; }
.scrub__track--short { height: 240vh; }
.scrub__sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: calc(var(--nav-h) + 10px) 24px 24px;
}
.scrub__head { text-align: center; margin-bottom: 10px; }
.scrub__canvas {
  width: min(1100px, 94vw);
  height: min(58svh, 620px);
}
.scrub__caption {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-soft);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-top: 14px;
  transition: opacity .3s;
}
.scrub__copy {
  max-width: 720px;
  margin: 0 auto;
  padding: 90px 24px 130px;
  font-size: clamp(19px, 2.4vw, 24px);
  line-height: 1.5;
  color: var(--ink-soft);
}
.scrub__copy strong, .scrub__copy--dark strong { color: inherit; font-weight: 700; }
.scrub__copy strong { color: var(--ink); }

.scrub { background: var(--bg-soft); }
.scrub .scrub__sticky { background: var(--bg-soft); }

/* Mobil: kürzere Scroll-Strecke, kompakteres Canvas – sonst wirkt die
   Animation "langgezogen" */
@media (max-width: 760px) {
  .scrub__track { height: 200vh; }
  .scrub__track--short { height: 160vh; }
  .scrub__canvas { height: min(44svh, 620px); }
  .scrub__copy { padding: 70px 24px 90px; }
}

/* ===== SEO (dunkel) ===== */
.seo { background: #000; }
.seo__sticky { background: radial-gradient(900px 500px at 50% 0%, rgba(0,113,227,.18), transparent 60%), #000; }

/* Animierter Hintergrund (Weltkugel, Partikel, Glow) hinter dem Inhalt */
.seo__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.seo__sticky > *:not(.seo__bg) { position: relative; z-index: 1; }
.scrub__copy--dark { color: var(--ink-light-soft); }
.scrub__copy--dark strong { color: var(--ink-light); }

.serp {
  width: min(620px, 92vw);
  background: #16161a;
  border: 1px solid #2c2c33;
  border-radius: 22px;
  padding: 18px;
  margin-top: 26px;
  box-shadow: 0 40px 80px rgba(0,0,0,.5);
}
.serp__bar {
  display: flex; align-items: center; gap: 10px;
  background: #26262d;
  border-radius: 980px;
  padding: 10px 18px;
  color: #d0d0d6;
  font-size: 15px;
  margin-bottom: 14px;
}
.serp__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--grad); flex: none; }
.serp__list { position: relative; display: flex; flex-direction: column; gap: 10px; }
.serp__item {
  background: #1e1e24;
  border-radius: 14px;
  padding: 13px 16px;
  position: relative;
}
.serp__item b { display: block; color: #e8e8ee; font-size: 15px; }
.serp__item span { color: #8e8e96; font-size: 13px; }
.serp__item--you {
  background: linear-gradient(120deg, rgba(0,144,247,.25), rgba(108,92,231,.25));
  border: 1px solid rgba(0,144,247,.5);
  z-index: 2;
  will-change: transform;
}
.serp__item--you em {
  position: absolute; right: 14px; top: 50%;
  transform: translateY(-50%);
  font-style: normal; font-weight: 800; font-size: 22px;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.seo__note { color: #6e6e76; font-size: 13px; margin-top: 18px; }

/* Auf niedrigen Viewports Liste kürzen, damit alles in die Sticky-Höhe passt */
@media (max-height: 800px) {
  .serp__item:nth-child(5) { display: none; }
  .serp { margin-top: 18px; padding: 14px; }
  .serp__item { padding: 10px 14px; }
  .seo__note { margin-top: 12px; }
}
@media (max-height: 640px) {
  .serp__item:nth-child(4) { display: none; }
  .scrub__head .section-title { font-size: clamp(30px, 5vw, 54px); }
}

/* ===== Slogan-Interlude ===== */
.slogan { background: var(--bg); }
.slogan__sticky { background: var(--bg); }

/* Freigestellte Deko-Elemente, die beim Scrollen von den Rändern hereinschweben */
.slogan__deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.deco-card {
  position: absolute;
  background: #fff;
  border: 1px solid #e9e9ee;
  border-radius: 18px;
  box-shadow: 0 28px 70px rgba(50, 50, 90, .16);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  will-change: transform, opacity;
  opacity: 0;
}
.deco-card--browser { width: 230px; height: 165px; left: 3vw; top: 22%; }
.deco-card--phone { width: 130px; height: 225px; right: 3.5vw; top: 50%; border-radius: 24px; }
.deco-card__dots { display: flex; gap: 5px; }
.deco-card__dots i { width: 8px; height: 8px; border-radius: 50%; background: #e4e4e9; }
.deco-card__hero { display: block; flex: 1; border-radius: 10px; background: var(--grad); }
.deco-card__line { display: block; height: 10px; border-radius: 5px; background: #ececf1; }
.deco-card__line--short { width: 60%; }
.deco-ring {
  position: absolute;
  border-radius: 50%;
  border: 2.5px solid transparent;
  background: linear-gradient(#fff, #fff) padding-box, var(--grad) border-box;
  opacity: 0;
  will-change: transform, opacity;
}
.deco-ring--left { width: 90px; height: 90px; left: 13vw; top: 70%; }
.deco-ring--right { width: 150px; height: 150px; right: 10vw; top: 14%; }
/* Mobil: Elemente kommen von oben und unten, mittig zentriert */
@media (max-width: 900px) {
  .deco-card { padding: 10px; gap: 7px; border-radius: 14px; }
  .deco-card--browser { width: 190px; height: 136px; left: 50%; top: 5%; margin-left: -95px; }
  .deco-card--phone { width: 104px; height: 180px; right: auto; left: 50%; top: auto; bottom: 5%; margin-left: -52px; border-radius: 18px; }
  .deco-card__line { height: 8px; }
  .deco-ring--left { width: 56px; height: 56px; left: 9%; top: auto; bottom: 18%; }
  .deco-ring--right { width: 80px; height: 80px; right: 9%; top: 9%; }
}
.slogan__text {
  max-width: 1000px;
  text-align: center;
  font-size: clamp(34px, 6vw, 74px);
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1.12;
  color: var(--ink);
}
.slogan__text .w { opacity: .12; transition: opacity .25s linear; }
.slogan__text .w.on { opacity: 1; }

/* ==========================================================================
   Split-Sektionen (Beratung / Hosting)
   ========================================================================== */
.split {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1150px;
  margin: 0 auto;
  padding: 130px 24px;
}
.split--reverse { direction: rtl; }
.split--reverse > * { direction: ltr; }
.split--dark {
  max-width: none;
  /* Server-Raum-Atmosphäre: feines Raster + farbige Glows auf Schwarz */
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .025) 0 1px, transparent 1px 90px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .025) 0 1px, transparent 1px 90px),
    radial-gradient(750px 460px at 12% 18%, rgba(0, 144, 247, .13), transparent 62%),
    radial-gradient(650px 420px at 88% 85%, rgba(108, 92, 231, .13), transparent 62%),
    radial-gradient(480px 300px at 75% 8%, rgba(48, 209, 88, .07), transparent 60%),
    #000;
}
.split--dark > * { max-width: 1150px; }
.split--dark.split { padding-left: max(24px, calc(50vw - 575px)); padding-right: max(24px, calc(50vw - 575px)); }
.split__copy { font-size: 19px; line-height: 1.55; color: var(--ink-soft); margin: 22px 0 30px; }
.split__copy--light { color: var(--ink-light-soft); }
.split__copy em { font-style: italic; }

.ticks { display: flex; flex-direction: column; gap: 12px; }
.ticks li { color: var(--ink-light); font-size: 17px; padding-left: 32px; position: relative; }
.ticks li::before {
  content: "✓";
  position: absolute; left: 0; top: 0;
  color: #30d158; font-weight: 700;
}

.chatcard {
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: 30px;
  display: flex; flex-direction: column; gap: 14px;
  box-shadow: 0 30px 60px rgba(0,0,0,.10);
}
.chatcard__bubble {
  max-width: 82%;
  padding: 13px 18px;
  border-radius: 20px;
  font-size: 15px;
  line-height: 1.4;
}
.chatcard__bubble--in { background: #e4e4e9; color: var(--ink); border-bottom-left-radius: 6px; align-self: flex-start; }
.chatcard__bubble--out { background: var(--accent); color: #fff; border-bottom-right-radius: 6px; align-self: flex-end; }

.servercard {
  background: #131318;
  border: 1px solid #2c2c33;
  border-radius: var(--radius);
  padding: 34px 30px;
  display: flex; flex-direction: column; gap: 20px;
  box-shadow: 0 40px 80px rgba(0,0,0,.45);
  position: relative;
}
.servercard__row { display: flex; align-items: center; gap: 14px; }
.servercard__row i { width: 10px; height: 10px; border-radius: 50%; background: #30d158; box-shadow: 0 0 12px #30d158; flex: none; }
.servercard__row b {
  flex: 1; height: 10px; border-radius: 6px; background: #26262d;
  position: relative; overflow: hidden;
}
.servercard__row b::after {
  content: ""; position: absolute; inset: 0;
  width: 0;
  background: var(--grad);
  border-radius: 6px;
  transition: width 1.1s cubic-bezier(.25, .1, .25, 1);
}
/* Balken füllen sich zeitversetzt, sobald die Karte im Viewport ist */
.servercard.is-live .servercard__row b::after { width: var(--w, 80%); }
.servercard.is-live .servercard__row:nth-child(1) b::after { transition-delay: .2s; }
.servercard.is-live .servercard__row:nth-child(2) b::after { transition-delay: .4s; }
.servercard.is-live .servercard__row:nth-child(3) b::after { transition-delay: .6s; }
@media (prefers-reduced-motion: reduce) {
  .servercard__row b::after { width: var(--w, 80%); transition: none; }
}
.servercard__row span { color: #a1a1a8; font-size: 13px; white-space: nowrap; }
.servercard__badge {
  align-self: flex-start;
  background: rgba(48,209,88,.15);
  color: #30d158;
  font-size: 13px; font-weight: 600;
  padding: 6px 14px;
  border-radius: 980px;
}

@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; gap: 44px; padding: 90px 24px; }
}

/* ==========================================================================
   Referenzen
   ========================================================================== */
.work { max-width: 1150px; margin: 0 auto; padding: 130px 24px; text-align: center; }
.work__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
  margin-top: 54px;
  text-align: left;
}
/* Referenz-Karte im Browser-Fenster-Look mit echtem Screenshot */
.work-shot {
  display: block;
  background: #fff;
  border: 1px solid #e8e8ed;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 34px rgba(0, 0, 0, .07);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.work-shot:hover { transform: translateY(-6px); box-shadow: 0 28px 60px rgba(0, 0, 0, .15); }
.work-shot__browser {
  display: flex;
  gap: 6px;
  padding: 11px 14px;
  background: #f0f0f4;
  border-bottom: 1px solid #e6e6eb;
}
.work-shot__browser i { width: 9px; height: 9px; border-radius: 50%; background: #d9d9e0; }
.work-shot img { width: 100%; height: auto; display: block; }
.work-shot__meta { display: block; padding: 15px 20px 17px; }
.work-shot__meta b { display: block; font-size: 17px; font-weight: 700; letter-spacing: -.01em; color: var(--ink); }
.work-shot__meta span { font-size: 13.5px; color: var(--ink-soft); }

/* ==========================================================================
   Kundenstimmen
   ========================================================================== */
.quotes { max-width: 1150px; margin: 0 auto; padding: 130px 24px; text-align: center; }
.quotes__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
  margin-top: 54px;
  text-align: left;
}
.quote-card {
  background: #fff;
  border: 1px solid #e9e9ee;
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .05);
}
.quote-card__stars {
  font-size: 16px;
  letter-spacing: 2px;
  background: linear-gradient(90deg, #f5a623, #f7b733);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.quote-card blockquote { margin: 14px 0 16px; font-size: 17px; line-height: 1.5; color: var(--ink); }
.quote-card figcaption { font-size: 13px; color: var(--ink-soft); }
.quotes__note { margin-top: 34px; font-size: 14px; color: var(--ink-soft); }
.quotes__note a { color: var(--accent); }
.quotes__maps { display: inline-block; margin-top: 18px; }

/* ==========================================================================
   Website-Check (Lead-Magnet)
   ========================================================================== */
.check {
  padding: 130px 24px;
  text-align: center;
  background:
    radial-gradient(750px 460px at 20% 15%, rgba(0, 144, 247, .14), transparent 62%),
    radial-gradient(650px 420px at 80% 85%, rgba(232, 67, 147, .10), transparent 62%),
    #000;
}
.check__sub { color: var(--ink-light-soft); font-size: clamp(17px, 2.2vw, 21px); margin-top: 18px; }
.check__form {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 34px;
}
.check__form input {
  width: min(420px, 100%);
  padding: 13px 22px;
  font-size: 17px;
  font-family: var(--font);
  border: 1px solid #3a3a44;
  border-radius: 980px;
  background: #16161c;
  color: var(--ink-light);
  outline: none;
  transition: border-color .3s;
}
.check__form input:focus { border-color: var(--accent); }
.check__form button { border: none; cursor: pointer; font-family: var(--font); }
.check__status { color: var(--ink-light-soft); font-size: 15px; margin-top: 20px; min-height: 22px; }
.check__result {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 26px;
}
.check__score {
  background: #131318;
  border: 1px solid #2c2c33;
  border-radius: 20px;
  padding: 24px 34px;
  min-width: 170px;
}
.check__score b {
  display: block;
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -.02em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.check__score span { display: block; margin-top: 6px; font-size: 13px; color: var(--ink-light-soft); }
.check__cta { margin-top: 30px; display: inline-block; }
.check__note { margin-top: 26px; font-size: 12px; color: #6e6e76; }
.check__note a { color: #9ab; }

/* ==========================================================================
   Über mich
   ========================================================================== */
.about {
  display: grid;
  grid-template-columns: minmax(240px, 380px) 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
  padding: 130px 24px;
}
.about__foto {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: 0 30px 70px rgba(0, 0, 0, .18);
}
.about__actions { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; margin-top: 28px; }
@media (max-width: 760px) {
  .about { grid-template-columns: 1fr; gap: 36px; padding: 90px 24px; }
  .about__foto { max-width: 320px; margin: 0 auto; }
  .about__text { text-align: center; }
  .about__actions { justify-content: center; }
}

/* Branchen-Links im Footer */
.footer__branchen {
  margin-top: 16px;
  display: flex;
  gap: 8px 20px;
  justify-content: center;
  flex-wrap: wrap;
}
.footer__branchen a:hover { color: var(--accent); }

/* ==========================================================================
   Prozess
   ========================================================================== */
.process { background: var(--bg-soft); padding: 130px 24px; text-align: center; }
.process__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  max-width: 1100px;
  margin: 54px auto 0;
}
.process__list li {
  background: #fff;
  border-radius: 20px;
  padding: 22px 24px;
  display: flex; align-items: center; gap: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
  transition: transform .4s var(--ease);
}
.process__list li:hover { transform: translateY(-5px); }
.process__list b {
  width: 38px; height: 38px; flex: none;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--grad);
  color: #fff; font-size: 17px;
}
.process__list span { font-size: 15px; font-weight: 600; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { max-width: 760px; margin: 0 auto; padding: 130px 24px; }
.faq .section-eyebrow { text-align: center; font-size: clamp(28px, 4vw, 48px); color: var(--ink); margin-bottom: 44px; }
.faq__list { display: flex; flex-direction: column; gap: 14px; }
.faq details {
  background: var(--bg-soft);
  border-radius: 18px;
  padding: 22px 26px;
}
.faq summary {
  font-size: 18px; font-weight: 600;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 34px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute; right: 0; top: 50%;
  transform: translateY(-50%);
  font-size: 26px; font-weight: 400; color: var(--accent);
  transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { margin-top: 14px; color: var(--ink-soft); line-height: 1.55; font-size: 16px; }

/* ==========================================================================
   CTA / Kontakt
   ========================================================================== */
.cta {
  text-align: center;
  padding: 160px 24px;
  background:
    radial-gradient(1000px 500px at 50% 110%, rgba(108,92,231,.12), transparent 60%),
    var(--bg);
}
.cta__title {
  font-size: clamp(44px, 7.5vw, 96px);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.05;
}
.cta__sub { font-size: clamp(19px, 2.4vw, 26px); color: var(--ink-soft); margin-top: 20px; }
.cta__actions { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; margin-top: 40px; }

/* Fairtech-Trust-Badge */
.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
  padding: 11px 22px;
  background: #fff;
  border: 1px solid #e9e9ee;
  border-radius: 980px;
  box-shadow: 0 8px 26px rgba(0, 0, 0, .07);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.trust-badge:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(0, 0, 0, .12); }
.trust-badge__stars {
  font-size: 16px;
  letter-spacing: 2px;
  background: linear-gradient(90deg, #f5a623, #f7b733);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.trust-badge__text { font-size: 14px; color: var(--ink-soft); }
.trust-badge__text strong { color: var(--ink); font-weight: 600; }
@media (max-width: 560px) {
  .trust-badge { flex-direction: column; gap: 4px; padding: 12px 20px; text-align: center; }
}
.cta__loc { margin-top: 44px; font-size: 14px; color: var(--ink-soft); }

/* ==========================================================================
   Branchen-Landingpages
   ========================================================================== */
.lp-hero {
  max-width: 900px;
  margin: 0 auto;
  padding: calc(var(--nav-h) + 80px) 24px 60px;
  text-align: center;
}
.lp-hero__sub {
  font-size: clamp(18px, 2.3vw, 22px);
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 24px 0 34px;
}
.lp-punkte {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 24px;
}
.lp-punkt {
  background: var(--bg-soft);
  border-radius: 22px;
  padding: 30px 28px;
}
.lp-punkt h3 { font-size: 21px; font-weight: 700; letter-spacing: -.01em; }
.lp-punkt p { margin-top: 12px; font-size: 15.5px; line-height: 1.55; color: var(--ink-soft); }
.lp-work { padding-top: 70px; padding-bottom: 70px; }
.lp-work__mehr { margin-top: 26px; font-size: 15px; color: var(--ink-soft); }
.work__grid--single { grid-template-columns: minmax(280px, 480px); justify-content: center; }
.lp-ref-text {
  max-width: 640px;
  margin: 40px auto 0;
  background: var(--bg-soft);
  border-radius: 22px;
  padding: 30px;
  text-align: left;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-soft);
}
.lp-ref-text strong { color: var(--ink); }

/* ==========================================================================
   Rechtsseiten (Impressum / Datenschutz)
   ========================================================================== */
.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: calc(var(--nav-h) + 70px) 24px 110px;
}
.legal h1 {
  font-size: clamp(36px, 5.5vw, 56px);
  font-weight: 700;
  letter-spacing: -.025em;
  margin-bottom: 34px;
}
.legal h2 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -.01em;
  margin: 40px 0 12px;
}
.legal p, .legal li {
  font-size: 16px;
  line-height: 1.65;
  color: #3c3c43;
}
.legal ul {
  list-style: disc;
  padding-left: 22px;
  margin: 10px 0;
}
.legal a { color: var(--accent); }
.legal a:hover { text-decoration: underline; }
.legal__back { margin-top: 54px; }
.legal__back a { font-size: 17px; color: var(--accent); }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: var(--bg-soft);
  padding: 44px 24px 60px;
  text-align: center;
  font-size: 13px;
  color: var(--ink-soft);
  border-top: 1px solid #e2e2e7;
}
.footer__fairtech { margin-top: 8px; }
.footer__fairtech a { color: var(--accent); }
.footer__fairtech a:hover { text-decoration: underline; }
.footer nav { margin-top: 12px; display: flex; gap: 22px; justify-content: center; }
.footer nav a:hover { color: var(--accent); }
.footer__fine { margin-top: 18px; font-size: 11px; color: #9e9ea5; }
