:root {
  --bg: #0b0b0d;
  --bg-alt: #131315;
  --surface: #17171a;
  --line: #2a2a2e;
  --text: #f2f0ec;
  --text-muted: #94929a;
  --red: #e2231a;
  --red-bright: #ff4535;
  --red-dark: #8f140d;
  --red-tint: rgba(226, 35, 26, .12);
  --max-width: 1140px;
  --font-heading: "Oswald", "Inter", sans-serif;
  --font-body: "Inter", sans-serif;
  --cut: 10px;
}

* { 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); }

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;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: linear-gradient(180deg, var(--red), var(--red-dark));
  color: #fff;
  box-shadow: 0 10px 24px -8px rgba(226, 35, 26, .6);
}
.btn-primary:hover { box-shadow: 0 14px 28px -8px rgba(226, 35, 26, .75); }

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

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 11, 13, .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;
}
.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;
  gap: 16px;
  flex-wrap: wrap;
}

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

.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 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 input: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-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;
}
.portfolio-card:hover { transform: translateY(-4px); 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: lebendiger ---------- */
:root {
  --red-glow: rgba(226, 35, 26, .28);
  --card-grad: linear-gradient(160deg, #1d1d21 0%, #141417 100%);
}

body {
  background:
    radial-gradient(900px 500px at 85% -5%, rgba(226, 35, 26, .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(226, 35, 26, .22), transparent 65%),
    radial-gradient(800px 500px at 95% 90%, rgba(255, 69, 53, .14), transparent 60%),
    linear-gradient(180deg, #0d0d10 0%, #130809 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), #ff8a5c, var(--red-bright));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-list {
  background: rgba(23, 23, 26, .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 li { transition: transform .25s ease; }
.hero-list li:hover { transform: translateX(6px); }
.hero-list-num {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  background: var(--red-tint);
  border: 1px solid rgba(226, 35, 26, .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(226, 35, 26, .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 .3s ease, border-color .3s ease, box-shadow .3s 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 .4s ease;
}
.service-row:hover {
  transform: translateY(-4px);
  border-color: rgba(226, 35, 26, .6);
  box-shadow: 0 24px 50px -24px var(--red-glow), 0 0 0 1px rgba(226, 35, 26, .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(226, 35, 26, .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(226, 35, 26, .22), transparent 70%),
    var(--card-grad);
  border: 1px solid var(--red);
}
.service-list li { transition: color .2s ease, transform .2s ease; }
.service-row:hover .service-list li { color: #cfcdd3; }
.service-list li:hover { color: var(--text); transform: translateX(3px); }

/* Portfolio */
.portfolio-card {
  position: relative;
  background: var(--card-grad);
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s 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 .4s ease;
}
.portfolio-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 50px -22px var(--red-glow);
}
.portfolio-card:hover::after { transform: scaleX(1); }
.portfolio-card img { transition: transform .5s ease; }
.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(226, 35, 26, .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(226, 35, 26, .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: #46464c; }
.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--red-bright);
  background: rgba(226, 35, 26, .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; }
.btn-primary:hover {
  background: linear-gradient(180deg, #d41f16, #a3150e);
  box-shadow: 0 16px 34px -8px rgba(255, 69, 53, .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(255, 69, 53, .45); }
.footer-nav a { transition: color .2s ease; }
.site-footer {
  background: linear-gradient(180deg, transparent, rgba(226, 35, 26, .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(11, 11, 13, .45) 100%);
  pointer-events: none;
}
.about-text {
  padding: 40px 44px;
  background:
    radial-gradient(120% 90% at 0% 0%, rgba(226, 35, 26, .10), transparent 60%),
    var(--card-grad);
}
.about-text p { font-size: 19px; line-height: 1.75; color: #b9b7bf; }
.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 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; }
