:root {
  --bg: #0D0D0D;
  --surface: #181818;
  --surface2: #242424;
  --surface-hover: #2C2C2C;

  --text: #F0EDE8;
  --text-muted: rgba(240, 237, 232, 0.65);
  --text-dim: rgba(240, 237, 232, 0.35);

  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.15);

  --accent: #C9943A;
  /* Refined, muted gold/yellow from preview */
  --accent-soft: rgba(201, 148, 58, 0.12);

  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, -apple-system, sans-serif;

  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 8px;

  --ease: cubic-bezier(0.25, 1, 0.5, 1);
  --transition: all 0.4s var(--ease);
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.1;
  color: var(--text);
}

h1 {
  font-size: clamp(3rem, 6vw, 5rem);
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 2rem;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

p {
  color: var(--text-muted);
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
  max-width: 65ch;
}

a {
  color: var(--text);
  text-decoration: none;
  transition: var(--transition);
}

/* Layout Classes */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 8rem 0;
  position: relative;
  scroll-margin-top: 100px;
}

/* Header & Nav */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

header.scrolled {
  background: var(--surface);
  padding: 1rem 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.02em;
  color: var(--text);
}

.logo span {
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 1rem;
  margin-left: 0.5rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 1rem;
  transition: var(--transition);
  position: relative;
}

.nav-link:hover {
  color: var(--text);
}

.nav-link.active {
  color: var(--text);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: var(--accent);
}

.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text);
  cursor: pointer;
  padding: 0.5rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
}

.btn-primary {
  background-color: var(--text);
  color: var(--bg);
}

.btn-primary:hover {
  background-color: var(--text-muted);
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--border);
  color: var(--text);
}

.btn-outline:hover {
  border-color: var(--text-muted);
  background-color: var(--surface);
  transform: translateY(-2px);
}

/* Hero Section */
.hero {
  min-height: 85vh;
  display: flex;
  align-items: center;
  padding-top: 6rem;
  background: linear-gradient(to bottom, rgba(13, 13, 13, 0.65) 0%, rgba(13, 13, 13, 0.95) 100%), url('hamburg_rich_hero.png') center/cover no-repeat;
}

.hero-eyebrow {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 1rem;
  display: block;
}

.hero-content {
  max-width: 800px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2.5rem;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
}

.scroll-indicator a {
  color: var(--text-muted);
  transition: var(--transition);
  display: flex;
  justify-content: center;
  align-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  backdrop-filter: blur(4px);
}

.scroll-indicator a:hover {
  color: var(--accent);
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border-hover);
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  40% {
    transform: translateX(-50%) translateY(-15px);
  }

  60% {
    transform: translateX(-50%) translateY(-7px);
  }
}

/* Philosophy Section */
.philosophy {
  background-color: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.philosophy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.philosophy-statement h2 {
  font-size: clamp(2rem, 3vw, 2.5rem);
  line-height: 1.2;
  margin-bottom: 0;
  color: var(--text);
}

.philosophy-statement h2 span {
  color: var(--accent);
  font-style: italic;
}

.philosophy-points {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.point {
  border-left: 2px solid var(--border);
  padding-left: 1.5rem;
  transition: var(--transition);
}

.point:hover {
  border-left-color: var(--accent);
}

.point h4 {
  font-family: var(--font-body);
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
}

.point p {
  font-size: 1rem;
  margin-bottom: 0;
}

/* Services Section */
.services.section {
  padding-top: 4rem;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 4rem;
}

.service-card {
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
  transition: var(--transition);
}

.service-card:hover {
  border-top-color: var(--accent);
}

.service-icon {
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.service-card p {
  color: var(--text-muted);
}

/* Profile Section */
.profile {
  background-color: var(--surface);
  border-top: 1px solid var(--border);
}

.profile-container {
  display: flex;
  gap: 4rem;
  align-items: center;
}

.profile-image {
  flex: 1;
  position: relative;
}

.profile-image-placeholder {
  width: 100%;
  aspect-ratio: 4/5;
  background: var(--surface2);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  color: var(--text-dim);
  font-size: 2rem;
  overflow: hidden;
}

/* Abstract design element for image */
.profile-image-placeholder::after {
  content: '';
  position: absolute;
  inset: 10%;
  border-radius: 40%;
  background: radial-gradient(circle, var(--accent-soft) 0%, transparent 70%);
  filter: blur(20px);
}

.profile-content {
  flex: 1;
}

.profile-content h2 {
  margin-bottom: 0.5rem;
}

.profile-role {
  font-family: var(--font-body);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 2rem;
  display: block;
}

/* Footer / Contact */
footer {
  border-top: 1px solid var(--border);
  padding: 6rem 0 3rem;
  background: var(--bg);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 6rem;
}

.footer-col h3 {
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  color: var(--text);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.footer-col.contact-col h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.footer-col p {
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
}

.contact-email {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.5rem;
  display: inline-block;
  margin-bottom: 0.5rem;
}

.contact-email:hover {
  border-bottom-color: var(--accent);
  color: var(--accent);
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 1rem;
}

.footer-nav a:hover {
  color: var(--text);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  font-size: 0.875rem;
  color: var(--text-dim);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text-dim);
}

.footer-links a:hover {
  color: var(--text);
}

/* Process Timeline */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 4rem;
}

.process-step {
  position: relative;
}

.process-number {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--accent);
  margin-bottom: 1rem;
  line-height: 1;
}

.process-step:hover .process-number {
  color: var(--text);
}

.process-step h4 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.process-step p {
  font-size: 1rem;
}

/* Responsive */
@media (max-width: 900px) {

  .philosophy-grid,
  .profile-container {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    padding: 2rem 0;
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    transition: clip-path 0.4s var(--ease);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  }

  .nav-links.open {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }

  .nav-links .btn {
    margin-left: 0 !important;
  }

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

  .footer-top {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  h1 {
    font-size: 2.5rem;
  }

  .section {
    padding: 5rem 0;
  }
}

@media (max-width: 600px) {
  .hero-actions {
    flex-direction: column;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

/* Animations */
.fade-in {
  /* Animation removed for performance and immediate visibility */
}

.fade-in.visible {
  /* Animation removed */
}

/* Staggered delay for children */
.delay-1 {
  transition-delay: 0.1s;
}

.delay-2 {
  transition-delay: 0.2s;
}

.delay-3 {
  transition-delay: 0.3s;
}

/* Accordion FAQ */
details {
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 0;
}

summary {
  font-size: 1.25rem;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text);
  outline: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  color: var(--accent);
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

details[open] summary::after {
  transform: rotate(45deg);
}

details[open] summary {
  margin-bottom: 1rem;
}

details p {
  color: var(--text-muted);
  margin-bottom: 0;
  padding-right: 2rem;
  line-height: 1.6;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  width: 90%;
  max-width: 600px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}

.cookie-banner.show {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.cookie-text {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.cookie-text a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
}

@media (max-width: 600px) {
  .cookie-banner {
    bottom: 1rem;
    padding: 1.25rem;
  }
  .cookie-actions {
    flex-direction: column-reverse;
  }
  .cookie-actions .btn {
    width: 100%;
    text-align: center;
  }
}