:root {
  --bg-main: #070605;
  --text-main: #f4eee4;
  --text-soft: #c5b8a5;
  --text-muted: #827464;

  --gold: #c9a86a;
  --gold-light: #e5c98b;
  --gold-soft: rgba(201, 168, 106, 0.14);

  --blue: #4f8fb8;
  --blue-soft: rgba(79, 143, 184, 0.14);

  --card-dark: rgba(18, 15, 12, 0.82);
  --border: rgba(201, 168, 106, 0.2);
  --border-soft: rgba(255, 255, 255, 0.08);

  --shadow: 0 28px 90px rgba(0, 0, 0, 0.58);

  --font-heading: "Cormorant Garamond", Georgia, serif;
  --font-body: "Inter", Arial, sans-serif;

  --max-width: 1180px;
  --radius-xl: 34px;
  --radius-lg: 24px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

h1,
h2,
h3,
p,
a,
span,
strong {
  overflow-wrap: break-word;
}

.page-background {
  position: fixed;
  inset: 0;
  z-index: -10;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 8%, rgba(201, 168, 106, 0.16), transparent 33%),
    radial-gradient(circle at 88% 18%, rgba(79, 143, 184, 0.13), transparent 31%),
    radial-gradient(circle at 70% 88%, rgba(79, 143, 184, 0.1), transparent 34%),
    linear-gradient(135deg, #050403 0%, #0d0906 46%, #040404 100%);
}

.grain {
  position: absolute;
  inset: 0;
  opacity: 0.2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black 0%, transparent 88%);
}

.wood-lines {
  position: absolute;
  inset: -20%;
  opacity: 0.16;
  background:
    repeating-linear-gradient(
      115deg,
      transparent 0px,
      transparent 18px,
      rgba(201, 168, 106, 0.055) 19px,
      transparent 21px
    );
  transform: rotate(-3deg);
  animation: slowDrift 26s ease-in-out infinite alternate;
}

.ambient {
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 999px;
  filter: blur(90px);
  opacity: 0.3;
}

.ambient-gold {
  top: 8%;
  left: 4%;
  background: rgba(201, 168, 106, 0.28);
  animation: ambientGold 18s ease-in-out infinite alternate;
}

.ambient-blue {
  right: 4%;
  bottom: 7%;
  background: rgba(79, 143, 184, 0.22);
  animation: ambientBlue 20s ease-in-out infinite alternate;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(5, 4, 3, 0.78);
  border-bottom: 1px solid rgba(201, 168, 106, 0.12);
  backdrop-filter: blur(18px);
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.site-header.scrolled {
  background: rgba(5, 4, 3, 0.92);
  border-bottom-color: rgba(201, 168, 106, 0.22);
  box-shadow: 0 12px 38px rgba(0, 0, 0, 0.35);
}

.navbar {
  width: min(var(--max-width), calc(100% - 36px));
  min-height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: min-height 0.25s ease;
}

.site-header.scrolled .navbar {
  min-height: 70px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-logo-shell {
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(229, 201, 139, 0.12), rgba(7, 6, 5, 0.88)),
    rgba(5, 4, 3, 0.7);
  border: 1px solid rgba(229, 201, 139, 0.24);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 14px 32px rgba(0, 0, 0, 0.34);
  overflow: hidden;
  transition:
    width 0.25s ease,
    height 0.25s ease,
    border-radius 0.25s ease;
}

.site-header.scrolled .brand-logo-shell {
  width: 46px;
  height: 46px;
  border-radius: 16px;
}

.brand-logo {
  width: 44px;
  height: 44px;
  display: block;
  object-fit: cover;
  border-radius: 14px;
  transition:
    width 0.25s ease,
    height 0.25s ease,
    border-radius 0.25s ease;
}

.site-header.scrolled .brand-logo {
  width: 39px;
  height: 39px;
  border-radius: 13px;
}

.brand-text {
  display: grid;
  line-height: 1.2;
  min-width: 0;
}

.brand-text strong {
  font-size: 0.98rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.brand-text small {
  color: var(--text-muted);
  font-size: 0.78rem;
  margin-top: 3px;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--text-soft);
  font-size: 0.92rem;
}

.nav-links a {
  position: relative;
  transition: color 0.2s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -9px;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
  transition: width 0.22s ease;
}

.nav-links a:hover {
  color: var(--text-main);
}

.nav-links a:hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(20, 15, 11, 0.82);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  border-radius: 99px;
  background: var(--text-main);
}

/* Global Layout */

.section {
  width: min(var(--max-width), calc(100% - 36px));
  margin: 0 auto;
  padding: 100px 0;
}

.signature,
.eyebrow,
.panel-label {
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.signature {
  margin-bottom: 24px;
}

h1,
h2,
h3 {
  color: var(--text-main);
}

h1 {
  max-width: 920px;
  font-family: var(--font-heading);
  font-size: clamp(3.4rem, 7.4vw, 7.2rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.052em;
}

h1 span {
  display: block;
  color: var(--gold-light);
}

.btn {
  position: relative;
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 800;
  border: 1px solid transparent;
  overflow: hidden;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    background 0.22s ease,
    border-color 0.22s ease;
  cursor: pointer;
}

.btn::after {
  content: "";
  position: absolute;
  top: -30%;
  left: -60%;
  width: 40%;
  height: 160%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.24), transparent);
  transform: rotate(18deg);
  transition: left 0.55s ease;
}

.btn:hover::after {
  left: 125%;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #150f09;
  box-shadow: 0 18px 38px rgba(201, 168, 106, 0.22);
}

.btn-primary:hover {
  box-shadow: 0 22px 48px rgba(201, 168, 106, 0.3);
}

.btn-secondary {
  color: var(--text-main);
  background: rgba(18, 15, 12, 0.7);
  border-color: rgba(201, 168, 106, 0.26);
}

.btn-secondary:hover {
  border-color: rgba(79, 143, 184, 0.46);
  background: rgba(79, 143, 184, 0.1);
}

/* Startseite */

.entrance {
  min-height: calc(100vh - 78px);
  display: grid;
  align-content: center;
  gap: 52px;
  padding-top: 82px;
  padding-bottom: 72px;
}

.entrance-copy {
  max-width: 940px;
}

.hero-seal {
  width: 104px;
  height: 104px;
  display: grid;
  place-items: center;
  margin-bottom: 28px;
  border-radius: 32px;
  background: rgba(7, 6, 5, 0.4);
  box-shadow:
    0 0 42px rgba(201, 168, 106, 0.18),
    0 0 90px rgba(79, 143, 184, 0.08);
  animation: softPulse 5s ease-in-out infinite;
}

.hero-seal img {
  width: 94px;
  height: 94px;
  display: block;
  object-fit: cover;
  border-radius: 28px;
}

.entrance-text {
  max-width: 820px;
  margin-top: 32px;
  color: var(--text-soft);
  font-size: clamp(1rem, 1.4vw, 1.12rem);
}

.entrance-subtext {
  margin-top: 16px;
  color: var(--text-muted);
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.choice-card,
.text-card,
.project-card,
.contact-card,
.cta-card,
.page-panel,
.career-card,
.legal-card {
  position: relative;
  overflow: hidden;
}

.choice-card::before,
.text-card::before,
.project-card::before,
.contact-card::before,
.cta-card::before,
.page-panel::before,
.legal-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 0%, rgba(229, 201, 139, 0.08) 42%, transparent 70%);
  transform: translateX(-130%);
  transition: transform 0.75s ease;
  pointer-events: none;
}

.choice-card:hover::before,
.text-card:hover::before,
.project-card:hover::before,
.contact-card:hover::before,
.cta-card:hover::before,
.page-panel:hover::before,
.legal-card:hover::before {
  transform: translateX(130%);
}

.choice-card {
  min-height: 370px;
  display: flex;
  flex-direction: column;
  padding: 30px;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(145deg, rgba(201, 168, 106, 0.1), transparent 42%),
    linear-gradient(180deg, rgba(31, 23, 16, 0.92), rgba(9, 8, 7, 0.9));
  border: 1px solid rgba(201, 168, 106, 0.18);
  box-shadow: 0 24px 72px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(18px);
  opacity: 0;
  transform: translateY(18px);
  animation: fadeUp 0.8s ease forwards;
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}

.choice-card:hover {
  transform: translateY(-6px);
  border-color: rgba(229, 201, 139, 0.42);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.48);
}

.choice-card-one {
  animation-delay: 0.15s;
}

.choice-card-two {
  animation-delay: 0.3s;
}

.choice-card-three {
  animation-delay: 0.45s;
}

.choice-icon,
.page-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  margin-bottom: 34px;
  color: var(--gold-light);
  background: rgba(3, 3, 3, 0.42);
  border: 1px solid rgba(201, 168, 106, 0.24);
  font-size: 1.45rem;
}

.choice-kicker {
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 12px;
}

.choice-card h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 2.7vw, 2.35rem);
  line-height: 1.08;
  margin-bottom: 18px;
}

.choice-card p {
  color: var(--text-soft);
}

.choice-card span {
  margin-top: auto;
  padding-top: 34px;
  color: var(--gold-light);
  font-weight: 800;
}

/* Unterseiten allgemein */

.page-hero {
  min-height: calc(72vh - 78px);
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(300px, 0.94fr);
  align-items: center;
  gap: 58px;
  padding-top: 82px;
  padding-bottom: 74px;
}

.page-hero-text {
  max-width: 760px;
  margin-top: 32px;
  color: var(--text-soft);
  font-size: clamp(1rem, 1.4vw, 1.1rem);
}

.hero-actions {
  margin-top: 38px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.page-panel {
  padding: 30px;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(145deg, rgba(201, 168, 106, 0.1), transparent 42%),
    linear-gradient(180deg, rgba(31, 23, 16, 0.92), rgba(9, 8, 7, 0.9));
  border: 1px solid rgba(201, 168, 106, 0.24);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.panel-list {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.panel-list div,
.detail-list div,
.project-data div,
.tech-pill {
  padding: 15px;
  border-radius: 18px;
  background: rgba(3, 3, 3, 0.34);
  border: 1px solid rgba(255, 255, 255, 0.075);
}

.panel-list span,
.detail-list span,
.project-data span {
  display: block;
  color: var(--text-muted);
  font-size: 0.78rem;
  margin-bottom: 4px;
}

.panel-list strong,
.detail-list strong,
.project-data strong {
  color: var(--text-main);
  font-size: 0.92rem;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 18px;
}

.text-card,
.project-card,
.contact-card,
.legal-card {
  padding: 30px;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(145deg, rgba(201, 168, 106, 0.08), transparent 48%),
    var(--card-dark);
  border: 1px solid var(--border-soft);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
}

.text-card h2,
.contact-card h2,
.legal-card h2 {
  font-family: var(--font-heading);
  font-size: clamp(2.3rem, 4vw, 4.2rem);
  line-height: 1.08;
  margin-bottom: 20px;
}

.text-card h3,
.project-card h3,
.legal-card h3 {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  line-height: 1.16;
  margin-bottom: 16px;
}

.text-card p,
.project-card p,
.contact-card p,
.legal-card p,
.legal-card li {
  color: var(--text-soft);
}

.text-card p + p,
.legal-card p + p {
  margin-top: 16px;
}

.legal-card ul {
  display: grid;
  gap: 8px;
  margin-top: 14px;
  padding-left: 20px;
}

.card-number {
  display: inline-block;
  margin-bottom: 30px;
  color: var(--gold);
  font-weight: 900;
}

.feature-list {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.feature-list article {
  padding: 20px;
  border-radius: 22px;
  background: rgba(4, 4, 4, 0.34);
  border: 1px solid rgba(255, 255, 255, 0.075);
}

.feature-list span {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--gold);
  font-weight: 900;
}

.feature-list h3 {
  margin-bottom: 8px;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.project-card {
  min-height: 360px;
  display: flex;
  flex-direction: column;
}

.project-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-bottom: 26px;
}

.project-index {
  color: var(--gold);
  font-weight: 900;
  letter-spacing: 0.08em;
}

.project-state {
  padding: 7px 11px;
  border-radius: 999px;
  color: #d8ecf8;
  background: var(--blue-soft);
  border: 1px solid rgba(79, 143, 184, 0.3);
  font-size: 0.76rem;
  font-weight: 800;
  white-space: nowrap;
}

.project-card p {
  margin-bottom: 18px;
}

.project-data {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 40px;
}

.eyebrow {
  margin-bottom: 16px;
}

.section-heading h2 {
  font-family: var(--font-heading);
  font-size: clamp(2.7rem, 5vw, 5.2rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.section-heading p {
  color: var(--text-soft);
  margin-top: 18px;
}

.cta-card {
  max-width: 920px;
  margin: 0 auto;
  padding: 48px;
  text-align: center;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(135deg, rgba(201, 168, 106, 0.1), transparent 44%),
    rgba(18, 15, 12, 0.78);
  border: 1px solid rgba(201, 168, 106, 0.17);
  box-shadow: var(--shadow);
}

.cta-card h2 {
  font-family: var(--font-heading);
  font-size: clamp(2.7rem, 5vw, 5.2rem);
  line-height: 1.04;
  margin-bottom: 22px;
}

.cta-card p {
  max-width: 700px;
  margin: 0 auto 18px;
  color: var(--text-soft);
}

.cta-card p:last-of-type {
  margin-bottom: 30px;
}

.cta-card .hero-actions {
  justify-content: center;
  align-items: center;
  margin-top: 34px;
}

.cta-card .hero-actions .btn {
  min-width: 230px;
}

.cta-card .hero-actions .btn-secondary {
  background: rgba(7, 6, 5, 0.42);
}

/* Projekte */

.project-page-grid {
  display: grid;
  gap: 22px;
}

.project-page-card {
  min-height: 0;
}

.project-preview {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-bottom: 26px;
  border-radius: 22px;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(201, 168, 106, 0.16), transparent 45%),
    rgba(3, 3, 3, 0.45);
  border: 1px solid rgba(201, 168, 106, 0.18);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 18px 44px rgba(0, 0, 0, 0.32);
}

.project-preview::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent 48%, rgba(7, 6, 5, 0.42) 100%),
    linear-gradient(115deg, rgba(255, 255, 255, 0.08), transparent 30%, transparent 70%, rgba(79, 143, 184, 0.08));
}

.project-preview img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
  filter: saturate(0.92) contrast(1.04) brightness(0.86);
  transition:
    transform 0.35s ease,
    filter 0.35s ease;
}

.project-card:hover .project-preview img {
  transform: scale(1.035);
  filter: saturate(1) contrast(1.06) brightness(0.94);
}

.project-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.project-action-btn {
  min-height: 46px;
  padding: 0 20px;
  font-size: 0.92rem;
}

.project-static-action {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 999px;
  color: var(--text-soft);
  background: rgba(3, 3, 3, 0.34);
  border: 1px solid rgba(201, 168, 106, 0.22);
  font-size: 0.9rem;
  font-weight: 800;
}

.project-mood-section {
  width: min(var(--max-width), calc(100% - 36px));
  margin: 0 auto;
  padding: 12px 0 18px;
}

.project-mood-image {
  position: relative;
  min-height: 420px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(201, 168, 106, 0.16), transparent 42%),
    rgba(7, 6, 5, 0.72);
  border: 1px solid rgba(201, 168, 106, 0.18);
  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.46),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.project-mood-image::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(7, 6, 5, 0.2), transparent 42%, rgba(7, 6, 5, 0.24)),
    linear-gradient(180deg, rgba(7, 6, 5, 0.14), transparent 40%, rgba(7, 6, 5, 0.28));
}

.project-mood-image::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: 0.2;
  background:
    repeating-linear-gradient(
      115deg,
      transparent 0px,
      transparent 28px,
      rgba(201, 168, 106, 0.045) 29px,
      transparent 31px
    );
  mix-blend-mode: screen;
}

.project-mood-image img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  display: block;
  object-fit: cover;
  object-position: center center;
  filter: saturate(0.94) contrast(1.04) brightness(0.9);
  transform: scale(1.01);
  transition:
    transform 0.45s ease,
    filter 0.45s ease;
}

.project-mood-image:hover img {
  transform: scale(1.035);
  filter: saturate(1.02) contrast(1.06) brightness(0.96);
}

.tech-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.tech-pill {
  color: var(--text-soft);
  font-size: 0.9rem;
}

/* Über mich */

.about-hero {
  position: relative;
  width: 100%;
  max-width: none;
  min-height: calc(88vh - 78px);
  margin: 0;
  padding: 0;
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.about-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      rgba(7, 6, 5, 0.94) 0%,
      rgba(7, 6, 5, 0.84) 27%,
      rgba(7, 6, 5, 0.58) 49%,
      rgba(7, 6, 5, 0.24) 70%,
      rgba(7, 6, 5, 0.5) 100%
    ),
    linear-gradient(
      180deg,
      rgba(7, 6, 5, 0.7) 0%,
      rgba(7, 6, 5, 0.08) 42%,
      rgba(7, 6, 5, 0.84) 100%
    ),
    radial-gradient(circle at 74% 34%, rgba(201, 168, 106, 0.18), transparent 36%),
    radial-gradient(circle at 82% 70%, rgba(79, 143, 184, 0.18), transparent 38%);
}

.about-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: 0.17;
  background:
    repeating-linear-gradient(
      115deg,
      transparent 0px,
      transparent 26px,
      rgba(201, 168, 106, 0.04) 27px,
      transparent 29px
    ),
    linear-gradient(
      90deg,
      rgba(7, 6, 5, 0.62) 0%,
      transparent 45%,
      rgba(7, 6, 5, 0.44) 100%
    );
  mix-blend-mode: screen;
}

.about-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 40%, rgba(201, 168, 106, 0.08), transparent 34%),
    linear-gradient(135deg, #050403 0%, #0d0906 48%, #040404 100%);
}

.about-hero-bg img {
  position: absolute;
  right: 0;
  top: 50%;
  width: min(68vw, 1040px);
  height: 100%;
  min-height: 680px;
  transform: translateY(-50%);
  object-fit: cover;
  object-position: center center;
  opacity: 0.82;
  filter: saturate(0.9) contrast(1.06) brightness(0.9) blur(0.1px);
  animation: portraitFade 1.2s ease both;
  mask-image:
    linear-gradient(
      90deg,
      transparent 0%,
      rgba(0, 0, 0, 0.1) 6%,
      black 24%,
      black 78%,
      rgba(0, 0, 0, 0.6) 89%,
      transparent 100%
    ),
    linear-gradient(
      180deg,
      transparent 0%,
      black 10%,
      black 76%,
      transparent 100%
    );
  mask-composite: intersect;
}

.about-hero-content {
  position: relative;
  z-index: 5;
  width: min(var(--max-width), calc(100% - 36px));
  margin: 0 auto;
  padding: 96px 0 98px;
  max-width: none;
  animation: fadeUp 0.8s ease both;
}

.about-hero-content .page-hero-text,
.about-hero-content .about-intro {
  max-width: 720px;
}

.about-intro {
  margin-top: 22px;
  color: var(--text-soft);
}

.personal-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(0, 0.84fr);
  gap: 18px;
}

.main-profile-card {
  grid-row: span 2;
}

.detail-list {
  display: grid;
  gap: 10px;
}

.career-card {
  padding: 34px;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(135deg, rgba(201, 168, 106, 0.1), transparent 44%),
    rgba(18, 15, 12, 0.78);
  border: 1px solid rgba(201, 168, 106, 0.17);
  backdrop-filter: blur(18px);
  position: relative;
  overflow: hidden;
}

.career-line {
  position: absolute;
  left: 34px;
  top: 76px;
  bottom: 76px;
  width: 1px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  opacity: 0.38;
}

.career-item {
  position: relative;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 24px;
  padding: 24px 0;
}

.career-item span {
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: var(--gold-light);
  background: rgba(3, 3, 3, 0.92);
  border: 1px solid rgba(201, 168, 106, 0.26);
  font-weight: 900;
  z-index: 2;
  box-shadow: 0 0 0 10px rgba(18, 15, 12, 0.82);
}

.career-item h3 {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  line-height: 1.16;
  margin-bottom: 16px;
}

.career-item p {
  color: var(--text-soft);
}

.career-item p + p {
  margin-top: 14px;
}

/* Kontakt */

.contact-page,
.legal-page {
  min-height: calc(100vh - 78px);
  display: grid;
  align-content: center;
  padding-top: 82px;
  padding-bottom: 72px;
}

.contact-card {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}

.contact-card .page-icon {
  margin: 0 auto 28px;
}

.contact-card h1,
.legal-card h1 {
  max-width: 100%;
  margin-bottom: 30px;
  font-size: clamp(3rem, 5.2vw, 5.6rem);
  line-height: 1.1;
  letter-spacing: -0.035em;
  text-wrap: balance;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.contact-card h1 span,
.legal-card h1 span {
  display: block;
  margin-top: 0.06em;
}

.contact-card > p,
.legal-card > p {
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.85;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.contact-grid div {
  padding: 18px;
  border-radius: 20px;
  background: rgba(3, 3, 3, 0.34);
  border: 1px solid rgba(255, 255, 255, 0.075);
}

.contact-grid strong {
  display: block;
  color: var(--gold-light);
  margin-bottom: 8px;
}

.contact-grid span {
  color: var(--text-soft);
  font-size: 0.9rem;
}

.notice {
  margin-top: 28px;
  padding: 18px 20px;
  border-radius: 22px;
  color: var(--text-soft);
  background: rgba(79, 143, 184, 0.1);
  border: 1px solid rgba(79, 143, 184, 0.22);
}

/* Legal */

.legal-wrap {
  display: grid;
  gap: 18px;
}

.legal-card {
  max-width: 940px;
}

.legal-card address {
  margin-top: 14px;
  color: var(--text-soft);
  font-style: normal;
  line-height: 1.9;
}

/* Footer */

.footer {
  width: min(var(--max-width), calc(100% - 36px));
  margin: 0 auto;
  padding: 46px 0 50px;
  color: var(--text-muted);
  text-align: center;
  border-top: 1px solid rgba(201, 168, 106, 0.13);
}

.footer-minimal {
  border-top: none;
}

.footer-inner {
  display: grid;
  gap: 16px;
  justify-items: center;
}

.footer-brand {
  display: grid;
  gap: 3px;
}

.footer-brand strong {
  color: var(--text-main);
  font-family: var(--font-heading);
  font-size: 1.3rem;
  line-height: 1.2;
}

.footer-brand span,
.footer-copy,
.footer-tech {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-tech {
  font-size: 0.82rem;
}

.footer-links,
.footer-legal {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px 20px;
}

.footer-links a,
.footer-legal a {
  color: var(--text-soft);
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer-links a:hover,
.footer-legal a:hover {
  color: var(--gold-light);
}

.reveal {
  opacity: 0;
  transform: translateY(24px) scale(0.985);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Animationen */

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes portraitFade {
  from {
    opacity: 0;
    transform: translateY(-50%) scale(1.03);
  }

  to {
    opacity: 0.82;
    transform: translateY(-50%) scale(1);
  }
}

@keyframes ambientGold {
  from {
    transform: translate(0, 0) scale(1);
  }

  to {
    transform: translate(80px, 50px) scale(1.08);
  }
}

@keyframes ambientBlue {
  from {
    transform: translate(0, 0) scale(1);
  }

  to {
    transform: translate(-70px, -45px) scale(1.05);
  }
}

@keyframes slowDrift {
  from {
    transform: rotate(-3deg) translateX(0);
  }

  to {
    transform: rotate(-3deg) translateX(42px);
  }
}

@keyframes softPulse {
  0%,
  100% {
    box-shadow:
      0 0 42px rgba(201, 168, 106, 0.18),
      0 0 90px rgba(79, 143, 184, 0.08);
  }

  50% {
    box-shadow:
      0 0 58px rgba(201, 168, 106, 0.25),
      0 0 110px rgba(79, 143, 184, 0.12);
  }
}

/* Responsive */

@media (max-width: 1080px) {
  .choice-grid,
  .page-hero,
  .content-grid,
  .personal-grid {
    grid-template-columns: 1fr;
  }

  .choice-card {
    min-height: auto;
  }

  .page-panel {
    max-width: 760px;
  }

  .main-profile-card {
    grid-row: auto;
  }

  .about-hero-bg img {
    right: -8%;
    width: min(82vw, 820px);
    opacity: 0.72;
    filter: saturate(0.88) contrast(1.06) brightness(0.82) blur(0.1px);
  }
}

@media (max-width: 860px) {
  .projects-grid,
  .project-data,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .project-card {
    min-height: auto;
  }

  .project-mood-image {
    min-height: 340px;
  }

  .project-mood-image img {
    min-height: 340px;
  }
}

@media (max-width: 740px) {
  .navbar {
    min-height: 70px;
  }

  .brand-text small {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 70px;
    left: 18px;
    right: 18px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 14px;
    border-radius: 22px;
    background: rgba(7, 6, 5, 0.96);
    border: 1px solid rgba(201, 168, 106, 0.2);
    box-shadow: var(--shadow);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    width: 100%;
    padding: 13px 10px;
  }

  .nav-links a::after {
    display: none;
  }

  .section {
    width: min(100% - 28px, var(--max-width));
    padding: 74px 0;
  }

  .entrance,
  .page-hero,
  .contact-page,
  .legal-page {
    padding-top: 58px;
    padding-bottom: 58px;
  }

  h1 {
    font-size: clamp(3.05rem, 15vw, 5rem);
    line-height: 1.04;
  }

  .signature {
    line-height: 1.5;
  }

  .hero-seal {
    width: 86px;
    height: 86px;
    border-radius: 26px;
  }

  .hero-seal img {
    width: 78px;
    height: 78px;
    border-radius: 23px;
  }

  .choice-card,
  .page-panel,
  .text-card,
  .project-card,
  .career-card,
  .cta-card,
  .contact-card,
  .legal-card {
    padding: 24px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .cta-card .hero-actions {
    align-items: stretch;
  }

  .cta-card .hero-actions .btn {
    width: 100%;
    min-width: 0;
  }

  .btn {
    width: 100%;
  }

  .project-head {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 24px;
  }

  .project-preview {
    border-radius: 20px;
    margin-bottom: 24px;
  }

  .project-actions {
    flex-direction: column;
  }

  .project-action-btn,
  .project-static-action {
    width: 100%;
  }

  .project-mood-section {
    width: min(100% - 28px, var(--max-width));
    padding: 4px 0 12px;
  }

  .project-mood-image {
    min-height: 300px;
    border-radius: 24px;
  }

  .project-mood-image img {
    min-height: 300px;
    object-position: center center;
  }

  .career-line {
    display: none;
  }

  .career-item {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .career-item span {
    box-shadow: none;
  }

  .section-heading h2,
  .cta-card h2,
  .contact-card h2,
  .text-card h2,
  .legal-card h2 {
    font-size: clamp(2.4rem, 12vw, 4rem);
    line-height: 1.08;
  }

  .contact-card h1,
  .legal-card h1 {
    font-size: clamp(2.35rem, 10vw, 3.8rem);
    line-height: 1.12;
    margin-bottom: 22px;
    letter-spacing: -0.02em;
    text-wrap: balance;
  }

  .contact-card p,
  .legal-card p,
  .legal-card address {
    font-size: 0.98rem;
    line-height: 1.8;
  }

  .about-hero {
    position: relative;
    min-height: auto;
    padding: 0;
    overflow: hidden;
  }

  .about-hero-bg {
    position: absolute;
    inset: 0 0 auto 0;
    height: 470px;
    z-index: 0;
    display: block;
    overflow: hidden;
  }

  .about-hero-bg img {
    display: none;
  }

  .about-hero-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("assets/christoph-hero-workspace.png");
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    opacity: 0.76;
    filter: saturate(0.88) contrast(1.06) brightness(0.84) blur(0.15px);
    -webkit-mask-image: linear-gradient(to bottom, black 0%, black 60%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 0%, black 60%, transparent 100%);
  }

  .about-hero::before {
    z-index: 1;
    background:
      linear-gradient(
        180deg,
        rgba(7, 6, 5, 0.22) 0%,
        rgba(7, 6, 5, 0.42) 34%,
        rgba(7, 6, 5, 0.82) 72%,
        rgba(7, 6, 5, 0.96) 100%
      );
  }

  .about-hero::after {
    z-index: 2;
    opacity: 0.1;
  }

  .about-hero-content {
    position: relative;
    z-index: 5;
    width: min(var(--max-width), calc(100% - 28px));
    padding-top: 310px;
    padding-bottom: 72px;
  }
}

@media (max-width: 460px) {
  .brand-text strong {
    font-size: 0.9rem;
  }

  .brand-logo-shell {
    width: 46px;
    height: 46px;
    border-radius: 16px;
  }

  .brand-logo {
    width: 39px;
    height: 39px;
    border-radius: 13px;
  }

  .choice-card h2 {
    font-size: 2rem;
  }

  .project-preview {
    aspect-ratio: 4 / 3;
  }

  .project-mood-image {
    min-height: 240px;
  }

  .project-mood-image img {
    min-height: 240px;
  }

  .footer {
    padding-bottom: 42px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}