:root {
  --bg: #07101d;
  --bg-deep: #040914;
  --text: #eef3fb;
  --muted: #b4bfd4;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --panel-border: rgba(255, 255, 255, 0.08);
  --accent-1: #4f83ff;
  --accent-2: #7f66ff;
  --accent-3: #55c2ff;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.38);
  --shadow-soft: 0 16px 40px rgba(0, 0, 0, 0.22);
  --radius-xl: 28px;
  --transition: 220ms ease;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 8%, rgba(79, 131, 255, 0.15), transparent 18%),
    radial-gradient(circle at 82% 12%, rgba(127, 102, 255, 0.12), transparent 20%),
    linear-gradient(180deg, #07101d 0%, #091221 100%);
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.container {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
}

.desktop-only,
.desktop-tablet-only {
  display: inline-flex;
}

.mobile-only {
  display: none !important;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(18px);
  background: linear-gradient(180deg, rgba(7, 16, 29, 0.82) 0%, rgba(7, 16, 29, 0.66) 100%);
  border-bottom: 1px solid var(--line);
}

.nav {
  min-height: 86px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}

.brand {
  text-decoration: none;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.menu {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.menu a {
  position: relative;
  text-decoration: none;
  color: var(--muted);
  font-size: 15px;
  padding: 10px 16px;
  border-radius: 999px;
  transition: color var(--transition), background var(--transition), transform var(--transition), box-shadow var(--transition);
}

.menu a::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(79, 131, 255, 0.16), rgba(127, 102, 255, 0.12));
  opacity: 0;
  transition: opacity var(--transition);
}

.menu a:hover {
  color: var(--text);
  transform: translateY(-1px);
}

.menu a:hover::before {
  opacity: 1;
}

.menu a.active {
  color: var(--text);
  background: linear-gradient(135deg, rgba(79, 131, 255, 0.22), rgba(127, 102, 255, 0.18));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05), 0 10px 24px rgba(79, 131, 255, 0.16);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid rgba(79, 131, 255, 0.42);
  border-radius: 14px;
  text-decoration: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition), border-color var(--transition), background var(--transition);
}

.header-cta:hover {
  transform: translateY(-1px);
  border-color: rgba(127, 102, 255, 0.72);
  background: linear-gradient(180deg, rgba(79, 131, 255, 0.12) 0%, rgba(127, 102, 255, 0.08) 100%);
}

.menu-toggle {
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(79, 131, 255, 0.42);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 100%);
  box-shadow: var(--shadow-soft);
  display: none;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-direction: column;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: white;
  transition: transform var(--transition), opacity var(--transition);
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-menu-panel {
  display: none !important;
  width: 100%;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(7,16,29,0.96) 0%, rgba(7,16,29,0.92) 100%);
}

.mobile-menu-panel.is-open {
  display: block !important;
}

.mobile-menu-inner {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  padding: 14px 0 18px;
  display: grid;
  gap: 10px;
}

.mobile-menu-inner a {
  text-decoration: none;
  padding: 14px 16px;
  border-radius: 14px;
  color: var(--text);
  background: linear-gradient(180deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.02) 100%);
  border: 1px solid var(--line);
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
}

.hero-image {
  position: absolute;
  inset: 0;
  background: url("georg-hero-2.jpg") center center / cover no-repeat;
  transform: scale(1.01);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(3, 8, 17, 0.84) 0%,
      rgba(4, 9, 18, 0.78) 14%,
      rgba(5, 10, 19, 0.60) 28%,
      rgba(7, 12, 21, 0.28) 46%,
      rgba(9, 14, 24, 0.08) 66%,
      rgba(12, 18, 30, 0.00) 100%
    ),
    radial-gradient(circle at 24% 42%, rgba(79, 131, 255, 0.11), transparent 22%);
}

.hero-content {
  position: relative;
  z-index: 2;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 110px 0 70px;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow,
.section-label {
  margin: 0 0 18px;
  color: #85a8ff;
  font-size: 16px;
  letter-spacing: 0.02em;
}

h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: 0.97;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

.lead {
  margin: 30px 0 0;
  max-width: 720px;
  font-size: clamp(1.2rem, 2.1vw, 1.75rem);
  line-height: 1.55;
  color: #d6e0f1;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  padding: 0 28px;
  border-radius: 16px;
  text-decoration: none;
  font-size: 18px;
  font-weight: 700;
  transition: transform var(--transition), filter var(--transition), background var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.button-primary {
  color: white;
  background: linear-gradient(135deg, #4f83ff 0%, #677cff 42%, #7f66ff 72%, #55c2ff 100%);
  box-shadow: 0 18px 40px rgba(79, 131, 255, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.button-primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow: 0 24px 50px rgba(79, 131, 255, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.button-secondary {
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.025) 100%);
}

.button-secondary:hover {
  transform: translateY(-2px);
  border-color: rgba(127, 102, 255, 0.5);
  background: linear-gradient(180deg, rgba(79, 131, 255, 0.12) 0%, rgba(127, 102, 255, 0.08) 100%);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
  margin-top: 48px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 18px 0 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
  text-decoration: none;
  color: var(--text);
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition), border-color var(--transition), background var(--transition);
}

.social-links a:hover {
  transform: translateY(-2px);
  border-color: rgba(79, 131, 255, 0.45);
  background: linear-gradient(180deg, rgba(79, 131, 255, 0.12) 0%, rgba(127, 102, 255, 0.08) 100%);
}

.social-links img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  flex-shrink: 0;
}

.section {
  position: relative;
  padding: 110px 0;
}

.section::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.08) 20%, rgba(255,255,255,0.02) 100%);
}

.two-col {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 34px;
  align-items: start;
}

.section-top {
  margin-bottom: 28px;
}

h2 {
  margin: 0;
  font-size: clamp(2.25rem, 4vw, 3.375rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.content-card,
.contact-box,
.experience-item,
.cert-card {
  background: linear-gradient(180deg, rgba(15, 24, 40, 0.82) 0%, rgba(10, 17, 29, 0.72) 100%);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.content-card:hover,
.contact-box:hover,
.experience-item:hover,
.cert-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255,255,255,0.14);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.42);
}

.content-card {
  padding: 32px;
}

.content-card p,
.contact-box p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

.project-list {
  display: grid;
  gap: 22px;
}

.experience-item {
  padding: 30px;
}

.experience-head {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}

.logo-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  padding: 14px 18px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.14);
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18);
}

.company-logo {
  display: block;
  width: auto;
  object-fit: contain;
}

.company-logo-cm4all { max-height: 28px; max-width: 136px; }
.company-logo-rtl { max-height: 28px; max-width: 92px; }
.company-logo-rewe { max-height: 34px; max-width: 130px; }
.company-logo-otto { max-height: 34px; max-width: 140px; }
.company-logo-db { max-height: 34px; max-width: 170px; }

.experience-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.experience-company,
.experience-time {
  margin: 0;
}

.experience-company {
  font-size: 15px;
  color: #9ec0ff;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.experience-time {
  font-size: 14px;
  color: var(--muted);
}

.experience-body h3 {
  margin: 0 0 16px;
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.experience-body p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.78;
  max-width: 980px;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.project-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 13px;
  color: #d9e4f7;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 22px;
}

.cert-card {
  grid-column: span 4;
  padding: 24px;
}

.cert-card-featured {
  grid-column: span 4;
}

.cert-card h3 {
  margin: 0 0 8px;
  font-size: 1.25rem;
  line-height: 1.25;
}

.cert-provider {
  margin: 0 0 12px;
  color: #9ec0ff;
  font-size: 14px;
}

.cert-card p:last-child {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.contact-section {
  padding-bottom: 120px;
}

.contact-box {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 30px;
  padding: 34px;
}

.contact-details strong {
  color: var(--text);
}

.contact-details a {
  color: var(--text);
  text-decoration: none;
}

.contact-details a:hover {
  text-decoration: underline;
}

.legal-page {
  min-height: 100vh;
}

.legal-layout {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 34px;
  align-items: start;
}

.legal-title {
  margin: 0;
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.legal-card h2 {
  margin: 28px 0 12px;
  font-size: 1.25rem;
}

.legal-card h2:first-of-type {
  margin-top: 0;
}

.legal-card p {
  margin: 0 0 16px;
  color: var(--muted);
  line-height: 1.75;
}

.legal-backlink {
  margin-top: 28px !important;
}

.legal-backlink a {
  color: var(--text);
  text-decoration: none;
}

.legal-backlink a:hover {
  text-decoration: underline;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(7, 16, 29, 0.72) 0%, rgba(7, 16, 29, 0.88) 100%);
}

.footer-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-inner p {
  margin: 0;
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

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

.footer-links a:hover {
  text-decoration: underline;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 1600px) {
  .container {
    width: min(1380px, calc(100% - 80px));
  }

  .hero-content {
    padding-top: 130px;
    padding-bottom: 90px;
  }

  .hero-copy {
    max-width: 760px;
  }
}

@media (max-width: 1100px) {
  .two-col,
  .contact-box,
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .cert-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cert-card,
  .cert-card-featured {
    grid-column: auto;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    min-height: auto;
    padding-top: 120px;
    padding-bottom: 80px;
  }

  .hero-copy {
    max-width: 640px;
  }

  .hero-overlay {
    background:
      linear-gradient(
        180deg,
        rgba(3, 8, 17, 0.76) 0%,
        rgba(4, 9, 18, 0.54) 32%,
        rgba(5, 10, 19, 0.28) 55%,
        rgba(7, 12, 21, 0.12) 100%
      ),
      linear-gradient(
        90deg,
        rgba(3, 8, 17, 0.76) 0%,
        rgba(4, 9, 18, 0.30) 35%,
        rgba(5, 10, 19, 0.04) 100%
      );
  }
}

@media (max-width: 820px) {
  .desktop-menu,
  .desktop-only,
  .desktop-tablet-only {
    display: none !important;
  }

  .mobile-only {
    display: block !important;
  }

  .menu-toggle.mobile-only {
    display: inline-flex !important;
  }

  .mobile-menu-panel.mobile-only {
    display: none !important;
  }

  .mobile-menu-panel.mobile-only.is-open {
    display: block !important;
  }

  .container {
    width: min(100% - 28px, 1240px);
  }

  .site-header {
    backdrop-filter: blur(14px);
  }

  .nav {
    min-height: 68px;
    grid-template-columns: 1fr auto;
    gap: 12px;
  }

  .brand {
    font-size: 16px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .hero {
    min-height: auto;
  }

  .hero-image {
    background-position: 82% center;
    background-size: cover;
  }

  .hero-overlay {
    background:
      linear-gradient(
        180deg,
        rgba(3, 8, 17, 0.82) 0%,
        rgba(4, 9, 18, 0.68) 26%,
        rgba(5, 10, 19, 0.42) 52%,
        rgba(7, 12, 21, 0.18) 100%
      ),
      linear-gradient(
        90deg,
        rgba(3, 8, 17, 0.84) 0%,
        rgba(4, 9, 18, 0.64) 38%,
        rgba(5, 10, 19, 0.24) 66%,
        rgba(7, 12, 21, 0.04) 100%
      );
  }

  .hero-content {
    min-height: 100svh;
    align-items: flex-end;
    padding-top: 82px;
    padding-bottom: 24px;
  }

  .hero-copy {
    max-width: 100%;
  }

  .eyebrow,
  .section-label {
    font-size: 13px;
    margin-bottom: 10px;
  }

  h1 {
    max-width: 92%;
    font-size: clamp(2rem, 8.8vw, 3rem);
    line-height: 0.98;
    letter-spacing: -0.04em;
    text-wrap: balance;
  }

  .lead {
    margin-top: 16px;
    max-width: 92%;
    font-size: 0.98rem;
    line-height: 1.42;
  }

  .hero-actions {
    margin-top: 22px;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .button {
    width: 100%;
    min-height: 52px;
    font-size: 15px;
    padding: 0 18px;
    border-radius: 14px;
  }

  .social-links {
    display: none;
  }

  .section {
    padding: 72px 0;
  }

  .content-card,
  .contact-box,
  .experience-item,
  .cert-card {
    padding: 20px;
    border-radius: 20px;
  }

  .experience-head {
    gap: 14px;
    margin-bottom: 18px;
  }

  .logo-badge {
    min-height: 56px;
    padding: 12px 14px;
    border-radius: 16px;
  }

  .company-logo-cm4all { max-height: 24px; max-width: 120px; }
  .company-logo-rtl { max-height: 24px; max-width: 82px; }
  .company-logo-rewe { max-height: 28px; max-width: 112px; }
  .company-logo-otto { max-height: 28px; max-width: 120px; }
  .company-logo-db { max-height: 28px; max-width: 145px; }

  .content-card p,
  .contact-box p,
  .experience-body p,
  .legal-card p {
    font-size: 15px;
    line-height: 1.65;
  }

  .experience-body h3 {
    font-size: 1.55rem;
  }

  .cert-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    min-height: auto;
    padding: 18px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  h2 {
    font-size: clamp(1.9rem, 7vw, 2.8rem);
  }
}

@media (max-width: 390px) {
  .brand {
    max-width: 150px;
    font-size: 13px;
  }

  .hero-image {
    background-position: 84% center;
  }

  h1 {
    max-width: 94%;
    font-size: clamp(1.8rem, 8.5vw, 2.7rem);
  }

  .lead {
    max-width: 94%;
    font-size: 0.94rem;
  }

  .button {
    min-height: 50px;
    font-size: 14px;
  }
}

@media (max-height: 520px) and (orientation: landscape) {
  .hero,
  .hero-content {
    min-height: auto;
  }

  .hero-image {
    background-position: center center;
  }

  .hero-content {
    align-items: flex-end;
    padding-top: 90px;
    padding-bottom: 28px;
  }

  h1 {
    font-size: clamp(2.1rem, 6vw, 3.4rem);
  }

  .lead {
    font-size: 1rem;
  }

  .hero-actions {
    margin-top: 20px;
  }
}