:root {
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --bg: #000f08;
  --bg-alt: #04180f;
  --surface: #071d13;
  --line: #1b3a29;
  --text: #f2f0ec;
  --text-muted: #8fa89a;
  --red: #fb3640;
  --red-bright: #ff5c66;
  --red-dark: #b3202a;
  --red-tint: rgba(251, 54, 64, .12);
  --brand-rgb: 251, 54, 64;
  --max-width: 1140px;
  --font-heading: "Oswald", "Inter", sans-serif;
  --font-body: "Inter", sans-serif;
  --cut: 10px;
  --red-glow: rgba(var(--brand-rgb), .3);
  --card-grad: linear-gradient(160deg, #071d13 0%, #06180f 100%);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

/* ---------- Skip-Link & Fokus ---------- */
.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  background: var(--red);
  color: #fff;
  padding: 12px 20px;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  transition: top .15s ease;
}
.skip-link:focus {
  top: 16px;
}

a:focus-visible,
button:focus-visible,
.price-table-wrap:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--red-bright);
  outline-offset: 2px;
}

h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  text-transform: uppercase;
  line-height: 1.15;
  letter-spacing: .01em;
  margin: 0 0 .5em;
  text-wrap: balance;
}

p { margin: 0 0 1em; color: var(--text-muted); max-width: 68ch; }

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

ul, ol { padding: 0; margin: 0; list-style: none; }

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

/* ---------- Buttons ---------- */
.btn {
  --c: var(--cut);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .04em;
  cursor: pointer;
  border: 2px solid transparent;
  clip-path: polygon(var(--c) 0, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0 var(--c));
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
  touch-action: manipulation;
}
@media (hover: hover) and (pointer: fine) { .btn:hover { transform: translateY(-2px); } }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: linear-gradient(180deg, var(--red-bright), var(--red));
  color: #000f08;
  box-shadow: 0 10px 24px -8px rgba(var(--brand-rgb), .6);
}
.btn-primary:hover { box-shadow: 0 14px 28px -8px rgba(var(--brand-rgb), .75); }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--red); color: #fff; }

/* Gefüllte zweite Aktion (z. B. Anruf): bleibt sichtbar, ohne dem Haupt-Button Konkurrenz zu machen */
.btn-fill {
  background: rgba(var(--brand-rgb), .16);
  color: #fff;
  border-color: rgba(var(--brand-rgb), .6);
}
.btn-fill:hover { background: rgba(var(--brand-rgb), .26); border-color: var(--red-bright); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(0, 15, 8, .97);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-mark { display: block; height: 34px; width: auto; }

.main-nav {
  display: flex;
  gap: 30px;
}
.main-nav a {
  font-family: var(--font-heading);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color .15s ease;
  border-bottom: 2px solid transparent;
  padding-bottom: 4px;
  white-space: nowrap;
}
@media (min-width: 1021px) and (max-width: 1180px) {
  .main-nav { gap: 16px; }
  .main-nav a { font-size: 12.5px; letter-spacing: .02em; }
}
.main-nav a:hover { color: var(--text); border-color: var(--red); }
.main-nav a.active { color: var(--text); border-color: var(--red); }

.nav-cta { font-size: 12.5px; padding: 10px 20px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 90px 0 100px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  scroll-margin-top: 74px;
}

.hero-watermark {
  position: absolute;
  top: 50%;
  right: -6%;
  width: 620px;
  max-width: 60vw;
  transform: translateY(-50%);
  opacity: .1;
  pointer-events: none;
  filter: grayscale(.2);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 70px;
  align-items: start;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--red-bright);
  margin-bottom: 20px;
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 3px;
  background: var(--red);
  transform: skewX(-20deg);
}

.hero h1 {
  font-size: clamp(2.1rem, 4.4vw, 3.2rem);
  text-transform: none;
  letter-spacing: -.01em;
  margin-bottom: 24px;
}

.hero-sub {
  font-size: 16.5px;
  max-width: 480px;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px 24px;
  flex-wrap: wrap;
}
.nowrap { white-space: nowrap; }
.text-link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--text);
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  transition: border-color .15s ease, color .15s ease;
}
.text-link:hover { color: #fff; border-color: var(--red); }
.assurance {
  margin: 14px 0 0;
  font-size: 13.5px;
  color: var(--text);
  opacity: .8;
}

.hero-list {
  display: flex;
  flex-direction: column;
  gap: 26px;
  border-left: 3px solid var(--red);
  padding-left: 28px;
}
.hero-list li {
  display: flex;
  gap: 16px;
}
.hero-list-num {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  color: var(--red-bright);
  flex-shrink: 0;
}
.hero-list strong {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: .01em;
  margin-bottom: 4px;
  color: var(--text);
}
.hero-list p {
  font-size: 13.5px;
  margin: 0;
}

/* ---------- Sections ---------- */
.section { padding: 96px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 74px; }
.section-alt { background: var(--bg-alt); }

.section-head {
  display: flex;
  align-items: baseline;
  gap: 18px;
  flex-wrap: wrap;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--red-bright);
}
.section-tag::before {
  content: "";
  width: 18px;
  height: 3px;
  background: var(--red);
  transform: skewX(-20deg);
}

.section h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  max-width: 620px;
}

.section-lead {
  max-width: 560px;
  font-size: 16px;
  margin-bottom: 52px;
}

/* ---------- Services (Leistungen) ---------- */
.services {
  display: flex;
  flex-direction: column;
}

.service-row {
  padding: 40px 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
}
.services .service-row:last-child { border-bottom: none; }

.service-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
}

.service-num {
  font-family: var(--font-heading);
  font-size: 14px;
  color: var(--red-bright);
  font-weight: 600;
}

.service-head h3 { font-size: 19px; margin: 0; }

.service-row-marked {
  background: var(--red-tint);
  margin: 0 -28px;
  padding: 40px 28px;
  border-top: 1px solid var(--red);
  border-bottom: 1px solid var(--red);
  scroll-margin-top: 74px;
}

.service-badge {
  grid-column: 2;
  grid-row: 1;
  align-self: end;
  font-size: 13px;
  font-weight: 600;
  color: var(--red-bright);
  margin: 0;
}

.service-row-marked .service-list {
  grid-column: 1 / -1;
  grid-row: 2;
  margin-top: 4px;
}

.service-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
}
.service-list li {
  position: relative;
  padding-left: 18px;
  font-size: 14.5px;
  color: var(--text-muted);
}
.service-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 7px;
  height: 2px;
  background: var(--red);
}

/* ---------- Price table ---------- */
.price-table-wrap {
  border: 1px solid var(--line);
  overflow-x: auto;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 480px;
}

.price-table th, .price-table td {
  padding: 16px 24px;
  text-align: left;
  font-size: 15px;
  border-bottom: 1px solid var(--line);
}

.price-table thead th {
  background: var(--surface);
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.price-table tbody tr:last-child td { border-bottom: none; }
.price-table tbody tr:hover { background: var(--surface); }

.price-table td:last-child {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--red-bright);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.row-highlight { background: var(--red-tint); }
.row-highlight td:first-child { color: var(--text); font-weight: 600; }
.row-highlight:hover { background: var(--red-tint); }

.price-note {
  margin-top: 18px;
  font-size: 13px;
  color: var(--text-muted);
}

/* ---------- Kontakt ---------- */
.kontakt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-info { margin-top: 24px; }

.contact-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 600;
  font-family: var(--font-heading);
  border-bottom: 2px solid var(--red);
  padding-bottom: 4px;
}
.contact-item:hover { color: var(--red-bright); }

.contact-discord { margin-top: 20px; }
.btn-discord { gap: 10px; }

.contact-form {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 32px;
  scroll-margin-top: 74px;
}

.form-row-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-row { margin-bottom: 20px; }
.form-row label {
  display: block;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .03em;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: var(--text-muted);
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 11px 4px;
  background: transparent;
  border: none;
  border-bottom: 2px solid var(--line);
  border-radius: 0;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14.5px;
  resize: vertical;
}
.form-row select option { background: var(--surface); color: var(--text); }
.form-row input[type="date"] { color-scheme: dark; }
.form-row input:focus-visible,
.form-row select:focus-visible,
.form-row textarea:focus-visible {
  border-color: var(--red);
}

.form-submit { width: 100%; margin-top: 6px; }

.form-status {
  margin: 14px 0 0;
  font-size: 13.5px;
  min-height: 18px;
}
.form-status.success { color: #6fdc9a; }
.form-status.error { color: var(--red-bright); }

/* ---------- Footer ---------- */
.site-footer {
  padding: 28px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13.5px;
  color: var(--text-muted);
}

.footer-nav { display: flex; flex-wrap: wrap; gap: 8px; }
.footer-nav a { padding: 10px 6px; }
.footer-nav a:hover { color: var(--red-bright); }

.footer-address {
  display: block;
  margin-top: 16px;
  text-align: center;
  font-style: normal;
  font-size: 13px;
  color: var(--text-muted);
}
.footer-address a { color: var(--text-muted); padding: 10px 4px; display: inline-block; }
.footer-address a:hover { color: var(--red-bright); }

.footer-credit {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
}
.footer-credit a {
  color: var(--text-muted);
  font-weight: 600;
  border-bottom: 1px solid var(--red);
  padding-bottom: 1px;
}
.footer-credit a:hover { color: var(--red-bright); }

/* ---------- Legal pages ---------- */
.legal-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 100px 24px 80px;
}
.legal-page h1 { margin-bottom: 24px; text-transform: none; }
.legal-page h2 { font-size: 19px; margin-top: 32px; text-transform: none; }
.legal-page a { color: var(--red-bright); border-bottom: 1px solid var(--red); }
.back-link {
  display: inline-block;
  margin-bottom: 32px;
  font-size: 14px;
  color: var(--text-muted);
}

/* ---------- 404 ---------- */
.error-page {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
}
.error-logo { height: 48px; width: auto; margin-bottom: 32px; }
.error-code {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--red-bright);
  margin: 0 0 8px;
}
.error-page h1 { max-width: 480px; margin-bottom: 12px; }
.error-page p { max-width: 420px; margin-bottom: 28px; }

/* ---------- Portfolio & Über mich ---------- */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.portfolio-card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform .2s, border-color .2s;
}
@media (hover: hover) and (pointer: fine) { .portfolio-card:hover { border-color: var(--red); } }
.portfolio-card img { display: block; width: 100%; height: auto; }
.portfolio-info { padding: 16px 20px; border-top: 1px solid var(--line); }
.portfolio-info h3 { font-size: 18px; margin: 0 0 4px; }
.portfolio-info p { margin: 0; color: var(--text-muted); font-size: 14px; }

.about {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: start;
}
.about-text p { margin: 0 0 16px; color: var(--text-muted); font-size: 17px; line-height: 1.7; }

/* ---------- Look & Feel ---------- */
body {
  background:
    radial-gradient(900px 500px at 85% -5%, rgba(var(--brand-rgb), .10), transparent 60%),
    var(--bg);
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
  opacity: .55;
}

/* Hero */
.hero {
  padding: 120px 0 130px;
  background:
    radial-gradient(700px 420px at 12% 20%, rgba(var(--brand-rgb), .22), transparent 65%),
    radial-gradient(800px 500px at 95% 90%, rgba(var(--brand-rgb), .14), transparent 60%),
    linear-gradient(180deg, #02130b 0%, #12090a 100%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at 30% 40%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse at 30% 40%, #000 20%, transparent 75%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  width: 520px; height: 520px;
  left: -140px; top: -180px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--red-glow), transparent 70%);
  animation: glow-drift 12s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes glow-drift {
  from { transform: translate(0, 0) scale(1); opacity: .7; }
  to { transform: translate(120px, 90px) scale(1.2); opacity: 1; }
}
.hero-watermark { opacity: .12; animation: float 9s ease-in-out infinite; }
@keyframes float {
  0%, 100% { transform: translateY(-50%); }
  50% { transform: translateY(calc(-50% - 14px)); }
}

.hero h1 {
  font-size: clamp(2.4rem, 5.6vw, 4rem);
  line-height: 1.08;
  letter-spacing: -.02em;
}
.hero h1 .accent {
  background: linear-gradient(90deg, var(--red-bright), #ffa766, var(--red-bright));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline;
  padding: .08em .06em;
  margin: -.08em -.06em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.hero-list {
  background: rgba(7, 29, 19, .88);
  border: 1px solid var(--line);
  border-left: 3px solid var(--red);
  padding: 28px;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8), 0 0 40px -20px var(--red);
}
.hero-list-num {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  background: var(--red-tint);
  border: 1px solid rgba(var(--brand-rgb), .45);
  font-size: 15px;
}

/* Sektionen: abwechselnde Hintergruende + Glow */
.section { position: relative; overflow: hidden; }
#portfolio, #preise { background: var(--bg-alt); }
#leistungen, #ueber-mich, #kontakt { background: transparent; }
#preise::before, #ueber-mich::before {
  content: "";
  position: absolute;
  width: 500px; height: 500px;
  top: -200px; right: -150px;
  background: radial-gradient(circle, var(--red-tint), transparent 70%);
  pointer-events: none;
}
#ueber-mich::before { right: auto; left: -200px; }
#kontakt::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 60%;
  background: radial-gradient(ellipse at 50% 100%, rgba(var(--brand-rgb), .14), transparent 70%);
  pointer-events: none;
}
.section > .container { position: relative; z-index: 1; }

.section h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); letter-spacing: -.01em; }
.section h2::after {
  content: "";
  display: block;
  width: 56px; height: 3px;
  margin-top: 14px;
  background: linear-gradient(90deg, var(--red), transparent);
}

/* Leistungen als Karten */
.services { gap: 20px; }
.service-row {
  position: relative;
  padding: 36px 32px;
  background: var(--card-grad);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform .2s var(--ease-out), border-color .2s ease, box-shadow .2s ease;
}
.service-row::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--red-bright), var(--red-dark));
  transform: scaleY(.25);
  transform-origin: top;
  transition: transform .25s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .service-row:hover {
    border-color: rgba(var(--brand-rgb), .6);
    box-shadow: 0 24px 50px -24px var(--red-glow), 0 0 0 1px rgba(var(--brand-rgb), .15);
  }
  .service-row:hover::before { transform: scaleY(1); }
}
.services .service-row:last-child { border-bottom: 1px solid var(--line); }
.service-num {
  display: grid; place-items: center;
  width: 38px; height: 38px;
  background: var(--red-tint);
  border: 1px solid rgba(var(--brand-rgb), .45);
}
.service-head { align-items: center; }
.service-head h3 { font-size: 21px; }
.service-row-marked {
  margin: 0;
  padding: 36px 32px;
  background:
    radial-gradient(500px 220px at 100% 0%, rgba(var(--brand-rgb), .22), transparent 70%),
    var(--card-grad);
  border: 1px solid var(--red);
}
.service-list li { transition: color .2s ease; }
.service-row:hover .service-list li { color: #cfdcd4; }
.service-list li:hover { color: var(--text); }

/* Portfolio */
.portfolio-card {
  position: relative;
  background: var(--card-grad);
  transition: transform .2s var(--ease-out), border-color .2s ease, box-shadow .2s ease;
}
.portfolio-card::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red-dark), var(--red-bright));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .portfolio-card:hover {
    box-shadow: 0 28px 50px -22px var(--red-glow);
  }
  .portfolio-card:hover::after { transform: scaleX(1); }
}
.portfolio-card img { transition: transform .3s var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .portfolio-card:hover img { transform: scale(1.05); } }
.portfolio-info { padding: 20px 24px; }
.portfolio-info h3 { font-size: 20px; }

/* Über mich */
.about-text {
  padding: 28px 32px;
  background: var(--card-grad);
  border: 1px solid var(--line);
  border-left: 3px solid var(--red);
  box-shadow: 0 24px 50px -30px rgba(0, 0, 0, .9);
}
.about-text p:last-child { margin-bottom: 0; }
.about-photo {
  margin: 28px 0 0;
  max-width: 360px;
  border: 1px solid var(--line);
  border-bottom: 3px solid var(--red);
  background: var(--surface);
  box-shadow: 0 24px 50px -30px rgba(0, 0, 0, .9);
  overflow: hidden;
}
.about-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
}

/* Preise */
.price-table-wrap {
  background: var(--card-grad);
  box-shadow: 0 30px 60px -36px rgba(0, 0, 0, .9);
}
.price-table tbody tr { transition: background .2s ease; }
.price-table tbody tr:hover { background: rgba(var(--brand-rgb), .07); }
.price-table tbody tr:hover td:first-child { box-shadow: inset 3px 0 0 var(--red); }
.price-table td:last-child { font-size: 16px; }
.row-highlight { background: linear-gradient(90deg, rgba(var(--brand-rgb), .2), var(--red-tint)); }

/* Kontakt */
.contact-form {
  background: var(--card-grad);
  border-top: 3px solid var(--red);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9), 0 0 50px -30px var(--red);
}
.form-row input,
.form-row textarea { transition: border-color .2s ease, background .2s ease; }
.form-row input:hover,
.form-row textarea:hover { border-color: #2c5440; }
.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--red-bright);
  background: rgba(var(--brand-rgb), .05);
  box-shadow: 0 2px 0 0 var(--red-bright);
}
.contact-item { transition: color .2s ease, border-color .2s ease, gap .2s ease; }
.contact-item:hover { border-color: var(--red-bright); gap: 14px; }

/* Buttons & Links */
.btn { transition: transform .2s ease, box-shadow .2s ease, background .25s ease, border-color .2s ease, color .2s ease; }
@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover {
    filter: brightness(1.1);
    box-shadow: 0 16px 34px -8px rgba(var(--brand-rgb), .8);
    transform: translateY(-3px);
  }
  .btn-ghost:hover {
    background: var(--red-tint);
    box-shadow: 0 10px 26px -10px var(--red-glow);
  }
}
.btn:focus-visible { box-shadow: 0 0 0 3px rgba(var(--brand-rgb), .45); }
.footer-nav a { transition: color .2s ease; }
.site-footer {
  background: linear-gradient(180deg, transparent, rgba(var(--brand-rgb), .06));
  border-top: 1px solid var(--line);
}

/* Scroll-Animationen (nur aktiv, wenn JS laeuft) */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1);
  transition-delay: var(--delay, 0s);
}
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .service-row.reveal.is-visible,
.js .portfolio-card.reveal.is-visible {
  transition: opacity .7s ease, transform .3s ease, border-color .3s ease, box-shadow .3s ease;
  transition-delay: 0s;
}

@media (prefers-reduced-motion: reduce) {
  .hero::after, .hero-watermark { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .service-row, .portfolio-card, .portfolio-card img, .hero-list li { transition: none; }
}

/* ---------- Über mich: ausgewogenes Layout ---------- */
.about {
  grid-template-columns: minmax(0, 400px) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}
.about-photo {
  max-width: 400px;
  position: relative;
}
.about-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0, 15, 8, .45) 100%);
  pointer-events: none;
}
.about-text {
  padding: 40px 44px;
  background:
    radial-gradient(120% 90% at 0% 0%, rgba(var(--brand-rgb), .10), transparent 60%),
    var(--card-grad);
}
.about-text p { font-size: 19px; line-height: 1.75; color: #b4c7bb; }
.about-text p:first-child { color: var(--text); font-size: 21px; line-height: 1.6; font-weight: 500; }

@media (max-width: 900px) {
  .about { grid-template-columns: 1fr; gap: 28px; align-items: start; }
  .about-photo { max-width: 340px; }
  .about-text { padding: 26px 24px; }
  .about-text p, .about-text p:first-child { font-size: 17px; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .portfolio-grid { grid-template-columns: 1fr 1fr; }
  .about { grid-template-columns: 1fr; gap: 24px; }
  .about-photo { max-width: 320px; margin-top: 20px; }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-watermark { opacity: .06; width: 460px; }
  .service-row { grid-template-columns: 1fr; gap: 16px; }
  .service-row-marked { margin: 0 -20px; padding: 32px 20px; }
  .service-badge { grid-column: 1; grid-row: auto; }
  .kontakt-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 1020px) {
  .main-nav, .nav-cta { display: none; }
  .nav-toggle { display: flex; }

  .main-nav.open {
    display: flex;
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    padding: 8px 24px 16px;
    gap: 0;
  }
  .main-nav.open a { padding: 14px 0; font-size: 15px; border-bottom: 1px solid var(--line); }
  .main-nav.open a:last-child { border-bottom: none; }
}

@media (max-width: 760px) {

  .hero { padding: 60px 0 70px; }
  .section { padding: 64px 0; }
  .service-list { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .hero { padding: 80px 0 90px; }
  .service-row, .service-row-marked { padding: 28px 22px; margin: 0; }
  .about-text { padding: 22px; }
}
@media (max-width: 760px) {
  .hero { padding: 64px 0 72px; }
  .hero-list { padding: 22px; }
  .contact-form { padding: 24px; }
}

/* ---------- Barrierefreiheit: Hilfsklassen & Formularfehler ---------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.req { color: var(--red-bright); }
.field-error {
  margin: 6px 0 0;
  font-size: 13px;
  color: #ff8a80;
}
.field-error:empty { display: none; }
.form-row input[aria-invalid="true"],
.form-row select[aria-invalid="true"],
.form-row textarea[aria-invalid="true"] { border-color: #ff6a5f; }

/* Über mich: Instagram-Link */
.about-social { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.about-social .btn { padding: 12px 24px; }
.about-social .btn:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }


/* ---------- Ruhiger Hero (Vorschlag) ---------- */
/* Eine einzige weiche Lichtquelle statt Raster, zwei Verlaeufen und Endlosschleifen */
.hero {
  padding: 130px 0 140px;
  background: radial-gradient(900px 480px at 15% 25%, rgba(var(--brand-rgb), .16), transparent 65%), var(--bg);
}
.hero::before, .hero::after { content: none; }
.hero-watermark { animation: none; opacity: .07; }
.hero-inner { grid-template-columns: 1fr; }
.hero-copy { max-width: 720px; }
.hero h1 { margin-bottom: 28px; }
.hero-sub { max-width: 560px; margin-bottom: 40px; }
.assurance { margin-top: 18px; }

.why { padding: 72px 0; background: var(--bg-alt); }
.why-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin: 0; padding: 0; list-style: none; }
.why-list li { display: flex; gap: 16px; }
.why-num { font-family: var(--font-heading); font-size: 20px; font-weight: 600; color: var(--red-bright); flex-shrink: 0; }
.why-list strong { display: block; font-family: var(--font-heading); font-weight: 600; font-size: 15px; text-transform: uppercase; letter-spacing: .01em; margin-bottom: 6px; color: var(--text); }
.why-list p { font-size: 14px; margin: 0; }
@media (max-width: 900px) {
  .hero { padding: 80px 0 90px; }
  .why-list { grid-template-columns: 1fr; gap: 28px; }
}

/* Portfolio mit zwei Projekten */
.portfolio-grid-two { grid-template-columns: repeat(2, 1fr); max-width: 880px; margin-left: auto; margin-right: auto; }
@media (max-width: 640px) { .portfolio-grid-two { grid-template-columns: 1fr; } }

/* Auswahl-Buttons im Anfrageformular */
.choice-group { border: 0; padding: 0; min-width: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.choice-group legend {
  padding: 0; margin-bottom: 8px; width: 100%; float: left;
  font-family: var(--font-heading); font-size: 12px; font-weight: 600;
  letter-spacing: .03em; text-transform: uppercase; color: var(--text-muted);
}
.choice-group .field-error { width: 100%; }
.form-row .choice { position: relative; display: block; margin: 0; text-transform: none; letter-spacing: 0; font-family: var(--font-body); }
.form-row .choice input {
  position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; padding: 0;
  opacity: 0; cursor: pointer; border: 0;
}
.choice span {
  display: block; padding: 10px 16px; border: 1px solid var(--line); background: var(--surface);
  color: var(--text-muted); font-size: 14.5px; font-weight: 400; transition: border-color .2s ease, color .2s ease, background .2s ease;
}
.choice input:hover + span { border-color: #2c5440; color: var(--text); }
.choice input:checked + span { border-color: var(--red-bright); background: var(--red-tint); color: var(--text); }
.choice input:focus-visible + span { outline: 2px solid var(--red-bright); outline-offset: 2px; }
[data-show][hidden] { display: none; }

/* Anfrageformular: eine Frage pro Schritt */
.is-stepped .step:not(.is-current) { display: none; }
.is-stepped .step.is-current { animation: step-in .25s ease; }
@keyframes step-in { from { opacity: 0; transform: translateY(6px); } }
@media (prefers-reduced-motion: reduce) { .is-stepped .step.is-current { animation: none; } }
.step-progress {
  margin: 0 0 20px; padding-bottom: 12px; position: relative;
  font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted, #9bb3a5);
}
.step-progress::before,
.step-progress::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; }
.step-progress::before { right: 0; background: var(--line); }
.step-progress::after { width: var(--progress, 0); background: var(--red-bright); transition: width .25s ease; }
.form-nav { display: flex; gap: 12px; }
.form-nav .btn { flex: 1; }
.form-nav [hidden], .form-submit[hidden] { display: none; }

/* ---------- Desktop: breiterer Container ---------- */
@media (min-width: 1280px) {
  :root { --max-width: 1280px; }
  .hero-inner { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
  .hero-copy { max-width: none; }
  .hero h1 { font-size: clamp(60px, 4.2vw, 80px); }
  .hero-sub { max-width: 620px; }
  .hero-watermark { right: calc((100vw - var(--max-width)) / 2 + 24px); width: 440px; max-width: none; opacity: .16; }
  .portfolio-grid-two { max-width: 1100px; }
}
@media (min-width: 1700px) {
  :root { --max-width: 1520px; }
}

/* ---------- Betriebszentrale ---------- */
.bz { display: grid; gap: 28px; margin-top: 40px; align-items: center; }
.bz-stage { display: grid; gap: 10px; }
.bz-lines { display: none; }
.bz-hub {
  display: grid; place-items: center; min-height: 64px; padding: 12px;
  font-family: var(--font-heading); font-size: 1.4rem; letter-spacing: .04em; text-transform: uppercase;
  background: var(--red-tint); border: 1px solid var(--red); color: var(--text);
  box-shadow: 0 0 24px var(--red-glow);
}
.bz-node {
  --c: var(--cut);
  min-height: 56px; padding: 10px 14px; text-align: left; cursor: pointer;
  font-family: var(--font-heading); font-size: 1.05rem; letter-spacing: .03em; line-height: 1.2; color: var(--text);
  background: var(--card-grad); border: 1px solid var(--line);
  clip-path: polygon(0 0, calc(100% - var(--c)) 0, 100% var(--c), 100% 100%, var(--c) 100%, 0 calc(100% - var(--c)));
  transition: transform .25s ease, border-color .25s ease;
}
.bz-node small { display: block; font-family: var(--font-body); font-size: .75rem; color: var(--text-muted); letter-spacing: 0; }
.bz-node:hover, .bz-node[aria-pressed="true"] { border-color: var(--red); transform: translateY(-2px); }
.bz-node[aria-pressed="true"] { background: var(--red-tint); }
.bz-panel { padding: 24px; background: var(--card-grad); border: 1px solid var(--line); border-left: 3px solid var(--red); min-height: 240px; }
.bz-panel article + article { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.bz-js .bz-panel article { display: none; }
.bz-js .bz-panel article.is-on { display: block; margin: 0; padding: 0; border: 0; }
.bz-panel h3 { font-family: var(--font-heading); font-size: 1.4rem; margin: 0 0 12px; }
.bz-panel ul { margin: 0 0 16px; padding-left: 1.1em; color: var(--text-muted); }
.bz-panel li { margin-bottom: 6px; }
.bz-price { margin: 0; font-weight: 600; color: var(--red-bright); }

.bz-node:focus-visible { outline: 2px solid var(--red-bright); outline-offset: -4px; }
@media (min-width: 1100px) {
  .bz { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; }
  .bz-stage { display: block; position: relative; aspect-ratio: 1; max-width: 520px; width: 100%; }
  .bz-lines { display: block; position: absolute; inset: 0; width: 100%; height: 100%; stroke: var(--line); stroke-width: 1.5; }
  .bz-lines line { vector-effect: non-scaling-stroke; stroke-dasharray: 4 5; }
  .bz-hub { position: absolute; left: 50%; top: 50%; width: 28%; aspect-ratio: 1; min-height: 0; border-radius: 50%; text-align: center; font-size: 1.25rem; transform: translate(-50%, -50%); }
  .bz-node { position: absolute; width: 27%; min-height: 64px; transform: translate(-50%, -50%); }
  .bz-node:hover, .bz-node[aria-pressed="true"] { transform: translate(-50%, calc(-50% - 2px)); }
  .bz-node:nth-of-type(1) { left: 50%; top: 12%; }
  .bz-node:nth-of-type(2) { left: 86%; top: 38%; }
  .bz-node:nth-of-type(3) { left: 72%; top: 81%; }
  .bz-node:nth-of-type(4) { left: 28%; top: 81%; }
  .bz-node:nth-of-type(5) { left: 14%; top: 38%; }
}
@media (prefers-reduced-motion: reduce) {
  .bz-node { transition: none; }
  .bz-node:hover, .bz-node[aria-pressed="true"] { transform: none; }
}
@media (prefers-reduced-motion: reduce) and (min-width: 1100px) {
  .bz-node:hover, .bz-node[aria-pressed="true"] { transform: translate(-50%, -50%); }
}

/* Hero-Titel, Textlink, Demo-Kennzeichnung */
.hero h1 { font-size: clamp(56px, 9vw, 96px); line-height: 1.02; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.text-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--text); text-decoration: underline; text-underline-offset: 4px; }
.text-link:hover { color: var(--red-bright); }
.demo-tag { display: inline-block; margin-left: 6px; padding: 2px 8px; border: 1px solid var(--line); font-size: .7rem; font-weight: 500; letter-spacing: .04em; color: var(--text-muted); vertical-align: middle; }
.service-note { margin-top: 14px; color: var(--text-muted); font-size: .9rem; }
.service-note a { display: inline-block; min-height: 44px; line-height: 44px; color: var(--red-bright); }

/* Beispiel-Dashboard (reines CSS) */
.dash { position: relative; overflow: hidden; padding: 28px; background: #03140c; border: 1px solid var(--line); }
.dash-label { position: relative; margin-bottom: 18px; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); }
.dash-orb { position: absolute; top: -90px; right: -70px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, rgba(var(--brand-rgb), .55), rgba(var(--brand-rgb), 0) 70%); animation: orb 8s ease-in-out infinite; }
.dash-grid { position: relative; display: grid; gap: 14px; }
@media (min-width: 768px) { .dash-grid { grid-template-columns: 1fr 2fr; } }
.dash-card { padding: 20px; background: var(--surface); border: 1px solid var(--line); }
.dash-k { display: block; font-size: .8rem; color: var(--text-muted); }
.dash-count strong { display: block; font: 600 clamp(56px, 9vw, 80px)/1 var(--font-heading); color: #fff; }
.dash-sub { font-size: .85rem; color: var(--text-muted); }
.dash-list { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 12px; }
.dash-list li { display: flex; align-items: center; gap: 12px; }
.dash-check { flex: none; position: relative; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--red); }
.dash-check::after { content: ""; position: absolute; left: 6px; top: 2px; width: 5px; height: 10px; border: solid var(--red-bright); border-width: 0 2px 2px 0; transform: rotate(45deg) scale(0); }
.dash.is-in .dash-check::after { animation: tick .4s ease-out forwards; }
.dash.is-in .dash-list li:nth-child(2) .dash-check::after { animation-delay: .5s; }
.dash.is-in .dash-list li:nth-child(3) .dash-check::after { animation-delay: 1s; }
@keyframes tick { to { transform: rotate(45deg) scale(1); } }
@keyframes orb { 50% { transform: translate(-16px, 12px) scale(1.08); } }
@media (prefers-reduced-motion: reduce) {
  .dash-orb { animation: none; }
  .dash-check::after, .dash.is-in .dash-check::after { animation: none; transform: rotate(45deg) scale(1); }
}

/* Formular- und Button-Zustände */
.btn, .form-row .choice span, .form-nav .btn { min-height: 44px; }
.btn { transition-duration: .15s; }
.btn:active, .btn-primary:active, .btn-ghost:active { transform: scale(.97); transition-duration: 90ms; }
.btn:focus-visible, a:focus-visible, button:focus-visible { outline: 2px solid var(--red-bright); outline-offset: 2px; }
.form-submit:disabled { opacity: .6; cursor: progress; }
@media (prefers-reduced-motion: reduce) { .btn:active { transform: none; } }

/* Nutzen mit Kreis-Nummern, Ablauf, FAQ, Schluss, dritte Referenz */
.why-num { display: grid; place-items: center; width: 36px; height: 36px; border: 2px solid var(--red); border-radius: 50%; font-size: 16px; line-height: 1; }
.flow-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin: 0; padding: 0; list-style: none; counter-reset: flow; }
.flow-list li { counter-increment: flow; padding-top: 16px; border-top: 1px solid var(--line); }
.flow-list li::before { content: counter(flow, decimal-leading-zero); display: block; margin-bottom: 8px; font: 600 14px var(--font-heading); color: var(--red-bright); }
.flow-list strong { display: block; margin-bottom: 6px; font-family: var(--font-heading); text-transform: uppercase; color: var(--text); }
.flow-list p { margin: 0; }
.faq { max-width: 760px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { min-height: 44px; display: flex; align-items: center; padding: 8px 0; cursor: pointer; font-weight: 600; color: var(--text); }
.faq details p { margin: 0 0 16px; }
.portfolio-grid-three { max-width: 1100px; grid-template-columns: repeat(3, 1fr); }
.portfolio-pending { display: flex; align-items: flex-end; min-height: 200px; border: 1px dashed var(--line); }
.portfolio-card picture { display: block; }
@media (max-width: 900px) { .portfolio-grid-three { grid-template-columns: 1fr; max-width: 880px; } }
@media (max-width: 760px) { .flow-list { grid-template-columns: 1fr; gap: 24px; } }

/* Unterseiten (Leistungsseiten) */
.sub-narrow { max-width: 820px; }
.sub-hero { padding-top: 48px; }
.sub-hero h1 { font-family: var(--font-heading); font-weight: 700; text-transform: uppercase; font-size: clamp(34px, 6vw, 56px); line-height: 1.05; margin: 12px 0 20px; }
.sub-crumbs { font-size: 13px; color: var(--text-muted); margin-bottom: 18px; }
.sub-crumbs a { color: var(--text-muted); }
.sub-crumbs a:hover { color: var(--red-bright); }
.sub-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.sub-text p { margin: 0 0 16px; line-height: 1.7; }
.sub-related { margin-top: 28px; color: var(--text-muted); display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.service-more { display: inline-block; margin-top: 14px; color: var(--red-bright); font-weight: 600; }
.service-more:hover { text-decoration: underline; }

/* Discord-Bots (Liste aus dem Discord-Shop) */
.bot-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.bot-item { padding: 20px 22px; background: var(--card-grad); border: 1px solid var(--line); border-left: 3px solid var(--red); }
.bot-top { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; margin-bottom: 8px; }
.bot-item h3 { font-family: var(--font-heading); font-size: 1.25rem; margin: 0; }
.bot-item p { margin: 0; color: var(--text-muted); line-height: 1.65; white-space: pre-line; }
.bot-item .bz-price { color: var(--red-bright); white-space: nowrap; }
.bot-note { margin-top: 16px; font-size: 14px; color: var(--text-muted); }

/* ---------- Feinschliff: ruhiger und professioneller ----------
   Weg mit allem, was nach Vorlage aussieht: Leuchteffekte, Farbverläufe in Text und Karten, Akzentstreifen an
   Karten, abgeschnittene Button-Ecken und Zierstriche unter Überschriften. Übrig bleiben flache Flächen, klare
   Linien und ein einziges Rot. */
:root { --card-grad: var(--surface); --red-glow: transparent; }

.btn { clip-path: none; border-radius: 3px; letter-spacing: .05em; }
.btn-primary { background: var(--red); color: #000f08; box-shadow: none; }
.btn-ghost { border-radius: 3px; }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { transform: none; }
  .btn-primary:hover { background: #e22a35; filter: none; box-shadow: none; transform: none; }
  .btn-ghost:hover { box-shadow: none; }
}
.btn:focus-visible { box-shadow: 0 0 0 3px rgba(var(--brand-rgb), .45); }

.hero h1 .accent { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: var(--red-bright); }
.section h2::after { content: none; }
.eyebrow::before, .section-tag::before { content: none; }

.hero-list, .about-text, .bz-panel, .bot-item { border-left: 1px solid var(--line); box-shadow: none; }
.hero-list { background: var(--surface); }
.service-row::before { display: none; }
.service-row, .portfolio-card, .price-table-wrap, .contact-form, .bz-node { box-shadow: none; }
@media (hover: hover) and (pointer: fine) {
  .service-row:hover, .portfolio-card:hover { box-shadow: none; border-color: var(--red); transform: none; }
}
.bz-hub { box-shadow: none; }
.hero::before, .hero::after { content: none; }
.hero { background: var(--bg); }
.section-head { flex-direction: column; align-items: flex-start; gap: 12px; }
.section-tag { letter-spacing: .12em; font-size: 12px; }

/* ---------- Referenzen ---------- */
.ref-grid { display: grid; gap: 40px 32px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.ref-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); }
.ref-shot { display: block; overflow: hidden; border-bottom: 1px solid var(--line); background: var(--bg); }
.ref-shot img { display: block; width: 100%; height: auto; aspect-ratio: 8 / 5; object-fit: cover; object-position: top; }
.ref-body { padding: 24px 26px 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.ref-body h2 { font-size: 1.5rem; margin: 0; }
.ref-body h2::after { content: none; }
.ref-kind { margin: 0; font-family: var(--font-heading); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--red-bright); }
.ref-body p { margin: 0; color: var(--text-muted); line-height: 1.65; }
.ref-link { margin-top: auto; padding-top: 10px; font-weight: 600; color: var(--red-bright); }
.ref-link:hover { text-decoration: underline; }
.ref-more { margin: 32px 0 0; }

/* Für wen: Text links, Zielgruppen als ruhige Liste rechts */
.who { display: grid; gap: 32px 64px; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: start; margin-top: 8px; }
.who .section-lead { margin: 0; }
.who-list { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--line); }
.who-list li { padding: 14px 0; border-top: 1px solid var(--line); font-family: var(--font-heading); font-size: clamp(1.4rem, 2.4vw, 2rem); text-transform: uppercase; letter-spacing: .02em; }
@media (max-width: 800px) { .who { grid-template-columns: 1fr; } }

/* Kurz-Check-Karten: Liste über die volle Breite statt gequetschter Spalten */
#seo-kurz-check .service-list, #website-kurz-pruefung .service-list { grid-column: 1 / -1; grid-row: 2; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
#seo-kurz-check .service-note, #website-kurz-pruefung .service-note { grid-column: 1 / -1; }
.ref-grid-four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 800px) { .ref-grid-four { grid-template-columns: 1fr; } }
.ref-link + .ref-link { margin-top: 0; padding-top: 6px; }
/* Scrollen: Einblenden kurz und unauffällig, damit nichts nachträglich ins Bild springt */
.js .reveal { transform: translateY(10px); transition: opacity .3s ease, transform .3s cubic-bezier(.2, .7, .2, 1); transition-delay: 0s; }
.js .service-row.reveal.is-visible,
.js .portfolio-card.reveal.is-visible,
.js .ref-card.reveal.is-visible { transition: opacity .35s ease, transform .3s ease, border-color .3s ease; transition-delay: 0s; }
