:root {
  --warmwhite: #f7f5f1;
  --warmwhite-light: #fffefa;
  --paper: #ffffff;
  --champagne: #c6a166;
  --champagne-light: #dcc59f;
  --anthracite: #2b2b2b;
  --black: #121212;
  --muted: #625d55;
  --line: rgba(198, 161, 102, 0.28);
  --shadow-soft: 0 16px 45px rgba(40, 31, 22, 0.08);
  --shadow-premium: 0 28px 85px rgba(40, 31, 22, 0.14);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, Arial, Helvetica, sans-serif;
}

/* ==================================================
   GRUNDEINSTELLUNGEN
================================================== */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--warmwhite);
  color: var(--anthracite);
  font-family: var(--sans);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

section {
  scroll-margin-top: 95px;
}

/* ==================================================
   HEADER
================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;

  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;

  min-height: 84px;
  padding: 0 3.2vw;

  background: rgba(255, 254, 250, 0.94);
  border-bottom: 1px solid rgba(198, 161, 102, 0.18);

  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  white-space: nowrap;
}

.brand-mark {
  display: inline-block;

  font-size: 42px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.1em;

  background: linear-gradient(
    145deg,
    #1b1b1b 0%,
    #77736c 32%,
    #f9f1df 49%,
    #4b4740 67%,
    #151515 100%
  );

  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;

  filter: drop-shadow(0 7px 10px rgba(0, 0, 0, 0.2));
}

.brand-word {
  color: var(--black);
  font-size: 27px;
  font-weight: 500;
  letter-spacing: 0.22em;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2vw, 38px);

  padding: 0 22px;

  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
}

.main-nav a {
  position: relative;
  padding: 31px 0 27px;

  transition:
    color 0.25s ease,
    opacity 0.25s ease;
}

.main-nav a:hover {
  color: #8b6735;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 18px;

  width: 0;
  height: 2px;

  background: var(--champagne);
  transform: translateX(-50%);

  transition: width 0.25s ease;
}

.main-nav a.active::after,
.main-nav a:hover::after {
  width: 36px;
}

.header-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;

  border-radius: 3px;

  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;

  transition:
    background 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.header-cta {
  min-height: 52px;
  padding: 0 25px;

  background: var(--black);
  color: var(--champagne-light);

  box-shadow: 0 10px 26px rgba(18, 18, 18, 0.12);
}

.header-cta:hover,
.btn-dark:hover {
  background: #2a241d;
  transform: translateY(-2px);
}

/* ==================================================
   HERO
================================================== */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;

  display: grid;
  grid-template-columns:
    minmax(420px, 0.83fr)
    minmax(540px, 1.17fr);
  align-items: center;
  gap: clamp(30px, 4vw, 80px);

  min-height: calc(100vh - 84px);

  padding:
    clamp(70px, 8vh, 110px)
    5.8vw
    clamp(115px, 12vh, 155px);

  background:
    radial-gradient(
      circle at 77% 45%,
      rgba(255, 255, 255, 1) 0%,
      rgba(255, 253, 249, 0.96) 32%,
      transparent 66%
    ),
    radial-gradient(
      circle at 58% 20%,
      rgba(224, 198, 157, 0.11),
      transparent 42%
    ),
    linear-gradient(
      112deg,
      #ffffff 0%,
      #fffefa 50%,
      #fbf7f0 100%
    );
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0;

  opacity: 0.38;

  background: linear-gradient(
    118deg,
    transparent 0%,
    transparent 48%,
    rgba(255, 255, 255, 0.78) 53%,
    transparent 59%
  );
}

.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -10%;
  bottom: -38%;

  width: 72%;
  height: 65%;

  border-radius: 50%;
  background: rgba(198, 161, 102, 0.07);

  filter: blur(85px);
}

.hero-copy {
  position: relative;
  z-index: 5;
  max-width: 590px;
}

.eyebrow {
  margin: 0 0 18px;

  color: var(--champagne);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero-kicker {
  margin-bottom: 20px;

  font-size: clamp(12px, 0.9vw, 15px);
  letter-spacing: 0.34em;
}

.hero h1 {
  margin: 0;

  color: var(--black);
  font-family: var(--serif);
  font-size: clamp(76px, 7.7vw, 138px);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.92;
}

.tagline {
  margin: 28px 0 0;

  color: var(--champagne);
  font-size: clamp(12px, 1vw, 17px);
  font-weight: 600;
  letter-spacing: 0.43em;
  line-height: 1.4;
  text-transform: uppercase;
}

.rule,
.gold-line {
  display: block;

  width: 62px;
  height: 2px;
  margin: 28px 0;

  background: var(--champagne);
}

.intro {
  max-width: 510px;
  margin: 0 0 36px;

  color: var(--anthracite);
  font-size: clamp(16px, 1.14vw, 20px);
  line-height: 1.55;
}

.button-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.btn {
  min-height: 62px;
  padding: 0 30px;
}

.btn-dark {
  border: 1px solid var(--black);

  background: var(--black);
  color: var(--champagne-light);

  box-shadow: 0 14px 32px rgba(18, 18, 18, 0.13);
}

.btn-outline {
  border: 1px solid var(--champagne);

  background: rgba(255, 255, 255, 0.45);
  color: var(--black);
}

.btn-outline:hover {
  background: rgba(198, 161, 102, 0.1);
  transform: translateY(-2px);
}

/* ==================================================
   HERO – TITAN-X
================================================== */

.hero-visual {
  position: relative;
  z-index: 2;

  display: flex;
  align-items: center;
  justify-content: center;

  min-width: 0;
  min-height: 580px;

  perspective: 900px;
  perspective-origin: 50% 50%;
}

.hero-glow {
  position: absolute;
  z-index: -2;

  width: 84%;
  aspect-ratio: 1;

  border-radius: 50%;

  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 250, 241, 0.74) 38%,
    rgba(198, 161, 102, 0.14) 62%,
    transparent 77%
  );

  filter: blur(18px);

  animation: glowPulse 6.5s ease-in-out infinite;
}

.hero-x-stage {
  position: relative;
  overflow: hidden;

  width: min(760px, 110%);

  border-radius: 38px;

  transform-style: preserve-3d;
  transform-origin: center;

  animation: xStageFloat 6.5s ease-in-out infinite;

  will-change: transform;
}

.hero-x-stage::after {
  content: "";
  position: absolute;
  z-index: -1;

  left: 14%;
  right: 7%;
  bottom: 1%;

  height: 12%;

  border-radius: 50%;

  background: rgba(33, 26, 19, 0.2);

  filter: blur(35px);
  transform: scaleX(1.05);
}

.hero-x-image {
  display: block;

  width: 100%;

  border-radius: 28px;

  mix-blend-mode: multiply;

  transform-origin: center center;
  transform-style: preserve-3d;

  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;

  filter:
    brightness(1.1)
    saturate(0.76)
    contrast(1.03)
    drop-shadow(0 40px 45px rgba(44, 35, 25, 0.17));

  -webkit-mask-image: radial-gradient(
    ellipse 76% 78% at 53% 50%,
    #000 55%,
    rgba(0, 0, 0, 0.96) 67%,
    transparent 100%
  );

  mask-image: radial-gradient(
    ellipse 76% 78% at 53% 50%,
    #000 55%,
    rgba(0, 0, 0, 0.96) 67%,
    transparent 100%
  );

  animation: xImageTurn 8s ease-in-out infinite;

  will-change: transform;
}

.hero-shine {
  position: absolute;
  z-index: 4;

  top: -24%;
  left: -52%;

  width: 29%;
  height: 155%;

  opacity: 0;

  background: linear-gradient(
    105deg,
    transparent 0%,
    rgba(255, 255, 255, 0.06) 24%,
    rgba(255, 255, 255, 0.92) 49%,
    rgba(255, 243, 214, 0.4) 59%,
    transparent 82%
  );

  filter: blur(3px);
  mix-blend-mode: screen;

  transform: skewX(-18deg);

  pointer-events: none;

  animation: shineSweep 7.8s ease-in-out infinite;
}

/* ==================================================
   SCROLL-HINWEIS
================================================== */

.scroll-indicator {
  position: absolute;
  z-index: 8;

  left: 5.8vw;
  bottom: 28px;

  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;

  color: var(--black);
}

.scroll-line {
  display: block;

  width: 1px;
  height: 45px;
  margin-left: 9px;

  background: var(--champagne);
}

.scroll-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.scroll-arrow {
  margin-left: 5px;

  font-size: 17px;
  line-height: 1;

  animation: scrollHint 1.8s ease-in-out infinite;
}

/* ==================================================
   ANIMATIONEN
================================================== */

@keyframes xStageFloat {
  0%,
  100% {
    transform:
      translate3d(3%, 0, 0)
      scale(1);
  }

  50% {
    transform:
      translate3d(3%, -14px, 10px)
      scale(1.012);
  }
}

@keyframes xImageTurn {
  0%,
  100% {
    transform:
      rotateY(-9deg)
      rotateX(2.2deg)
      rotateZ(-0.8deg)
      scale(1.025);
  }

  25% {
    transform:
      rotateY(-3deg)
      rotateX(0.7deg)
      rotateZ(-0.25deg)
      scale(1.032);
  }

  50% {
    transform:
      rotateY(9deg)
      rotateX(-2.2deg)
      rotateZ(0.8deg)
      scale(1.04);
  }

  75% {
    transform:
      rotateY(3deg)
      rotateX(-0.7deg)
      rotateZ(0.25deg)
      scale(1.032);
  }
}

@keyframes shineSweep {
  0%,
  42% {
    left: -52%;
    opacity: 0;
  }

  50% {
    opacity: 0.75;
  }

  66% {
    left: 127%;
    opacity: 0.3;
  }

  72%,
  100% {
    left: 127%;
    opacity: 0;
  }
}

@keyframes glowPulse {
  0%,
  100% {
    opacity: 0.7;
    transform: scale(0.98);
  }

  50% {
    opacity: 1;
    transform: scale(1.035);
  }
}

@keyframes scrollHint {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(5px);
  }
}

/* ==================================================
   LÖSUNGEN
================================================== */

.cards-section {
  position: relative;
  z-index: 10;

  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;

  max-width: 1240px;
  margin: -25px auto 0;

  padding: 0 5vw 90px;
}

.service-card {
  min-height: 240px;
  padding: 34px;

  border: 1px solid rgba(198, 161, 102, 0.24);
  border-radius: 8px;

  background: rgba(255, 254, 250, 0.92);

  box-shadow: var(--shadow-soft);

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.service-card:hover {
  border-color: rgba(198, 161, 102, 0.54);
  box-shadow: var(--shadow-premium);
  transform: translateY(-6px);
}

.icon {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 58px;
  height: 58px;
  margin-bottom: 22px;

  border: 1px solid var(--line);
  border-radius: 50%;

  color: var(--champagne);
  font-size: 29px;
}

.service-card h3 {
  margin: 0 0 14px;

  color: var(--black);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.service-card p {
  max-width: 290px;
  margin: 0;

  color: var(--muted);
  font-size: 14px;
}

.service-card > a {
  display: inline-block;
  margin-top: 22px;

  color: var(--black);
  font-size: 27px;
}

/* ==================================================
   REFERENZEN
================================================== */

.trust {
  padding: 72px 6vw 58px;

  border-top: 1px solid rgba(198, 161, 102, 0.18);
  border-bottom: 1px solid rgba(198, 161, 102, 0.18);

  background: var(--warmwhite-light);

  text-align: center;
}

.trust h2 {
  margin: 0;

  color: var(--black);
  font-family: var(--serif);
  font-size: clamp(30px, 3vw, 46px);
  font-weight: 400;
}

.trust .gold-line {
  margin: 20px auto 42px;
}

.logo-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);

  max-width: 1120px;
  margin: 0 auto;
}

.logo-row span {
  padding: 22px 12px;

  border-right: 1px solid var(--line);

  color: #736b61;
  font-family: var(--serif);
  font-size: 21px;
}

.logo-row span:last-child {
  border-right: 0;
}

/* ==================================================
   XELIA
================================================== */

.xelia-section {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  align-items: stretch;

  min-height: 600px;
}

.xelia-image {
  overflow: hidden;
  background: var(--black);
}

.xelia-image img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  filter:
    saturate(0.82)
    contrast(1.03);
}

.xelia-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;

  padding: 90px 8vw;

  background:
    radial-gradient(
      circle at 20% 20%,
      rgba(255, 255, 255, 0.74),
      transparent 50%
    ),
    var(--warmwhite);
}

.xelia-copy h2 {
  max-width: 620px;
  margin: 0 0 24px;

  color: var(--black);
  font-family: var(--serif);
  font-size: clamp(38px, 4vw, 59px);
  font-weight: 400;
  line-height: 1.12;
}

.xelia-copy p:not(.eyebrow) {
  max-width: 520px;
  margin: 0 0 32px;

  color: var(--muted);
}

/* ==================================================
   WERTE
================================================== */

.values {
  display: grid;
  grid-template-columns: repeat(4, 1fr);

  padding: 65px 6vw;

  background: var(--warmwhite-light);
}

.values article {
  padding: 24px 34px;

  border-right: 1px solid var(--line);

  text-align: center;
}

.values article:last-child {
  border-right: 0;
}

.value-icon {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 56px;
  height: 56px;
  margin: 0 auto 18px;

  border: 1px solid rgba(198, 161, 102, 0.28);
  border-radius: 50%;

  color: var(--champagne);
  font-size: 29px;
}

.values h3 {
  margin: 0 0 13px;

  color: var(--black);
  font-size: 12px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.values p {
  margin: 0;

  color: var(--muted);
  font-size: 14px;
}

.values small {
  display: block;
  margin-top: 14px;
}

/* ==================================================
   KONTAKTBEREICHE
================================================== */

.contact-band {
  display: grid;
  grid-template-columns: 1.45fr auto 0.8fr;
  align-items: center;
  gap: 42px;

  padding: 54px 6vw;

  border-top: 1px solid var(--line);

  background: linear-gradient(
    90deg,
    #f2ede5 0%,
    #fffefa 100%
  );
}

.contact-band h2 {
  margin: 0 0 10px;

  color: var(--black);
  font-family: var(--serif);
  font-size: clamp(34px, 3vw, 48px);
  font-weight: 400;
  line-height: 1.05;
}

.contact-band p {
  margin-bottom: 0;
  color: var(--muted);
}

.contact-data {
  padding-left: 34px;

  border-left: 1px solid var(--line);

  color: var(--anthracite);
}

/* ==================================================
   FOOTER
================================================== */

.footer {
  display: grid;
  grid-template-columns: 1.45fr repeat(4, 1fr);
  gap: 48px;

  padding: 62px 6vw;

  border-top: 1px solid rgba(198, 161, 102, 0.34);

  background:
    radial-gradient(
      circle at 20% 0%,
      rgba(198, 161, 102, 0.08),
      transparent 34%
    ),
    var(--black);

  color: #eeeeeb;
}

.footer .brand-word {
  color: #f5f2ec;
  font-size: 23px;
}

.footer p {
  max-width: 310px;
  color: #bfb8ad;
}

.footer h4 {
  color: var(--champagne);
  font-size: 11px;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.footer a {
  display: block;
  margin: 9px 0;

  color: #d9d5cf;
  font-size: 14px;
}

.footer a:hover {
  color: var(--champagne-light);
}

.socials {
  display: flex;
  gap: 16px;

  margin-top: 22px;
}

.made {
  color: #d9d5cf;
  font-size: 13px;
}

/* ==================================================
   XELIA-CHATBUTTON
================================================== */

.xelia-bubble {
  position: fixed;
  z-index: 150;

  right: 26px;
  bottom: 24px;

  width: 58px;
  height: 58px;

  border: 1px solid rgba(198, 161, 102, 0.24);
  border-radius: 50%;

  background: var(--black);
  color: var(--champagne-light);

  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.24);

  font-size: 22px;
  cursor: pointer;

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.xelia-bubble:hover {
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.3);
  transform: translateY(-3px);
}

/* ==================================================
   MITTLERE BILDSCHIRME
================================================== */

@media (max-width: 1320px) {
  .site-header {
    padding: 0 2.4vw;
  }

  .main-nav {
    gap: 20px;
  }

  .main-nav a {
    font-size: 10px;
  }

  .header-cta {
    padding: 0 18px;
  }

  .hero {
    grid-template-columns:
      minmax(390px, 0.9fr)
      minmax(500px, 1.1fr);
  }
}

/* ==================================================
   TABLET
================================================== */

@media (max-width: 1120px) {
  .main-nav {
    display: none;
  }

  .site-header {
    grid-template-columns: auto 1fr auto;
  }

  .header-cta {
    justify-self: end;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 75px;
  }

  .hero-copy {
    max-width: 720px;
  }

  .hero-visual {
    min-height: 500px;
  }

  .hero-x-stage {
    width: min(720px, 100%);
  }

  .hero-x-image {
    animation-name: xImageTurnTablet;
  }

  .scroll-indicator {
    display: none;
  }

  .cards-section {
    margin-top: 0;
  }

  .values {
    grid-template-columns: repeat(2, 1fr);
  }

  .values article:nth-child(2) {
    border-right: 0;
  }

  .values article:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .contact-band {
    grid-template-columns: 1fr;
  }

  .contact-data {
    padding-left: 0;
    border-left: 0;
  }

  .footer {
    grid-template-columns: repeat(2, 1fr);
  }
}

@keyframes xImageTurnTablet {
  0%,
  100% {
    transform:
      rotateY(-6deg)
      rotateX(1.5deg)
      rotateZ(-0.5deg)
      scale(1.02);
  }

  50% {
    transform:
      rotateY(6deg)
      rotateX(-1.5deg)
      rotateZ(0.5deg)
      scale(1.032);
  }
}

/* ==================================================
   SMARTPHONE
================================================== */

@media (max-width: 760px) {
  .site-header {
    min-height: 72px;
    padding: 0 20px;
  }

  .brand-mark {
    font-size: 34px;
  }

  .brand-word {
    font-size: 20px;
  }

  .header-cta {
    min-height: 44px;
    padding: 0 14px;

    font-size: 9px;
  }

  .hero {
    padding:
      58px
      22px
      80px;
  }

  .hero h1 {
    font-size: clamp(65px, 20vw, 94px);
  }

  .tagline {
    letter-spacing: 0.3em;
  }

  .intro {
    font-size: 16px;
  }

  .button-row {
    align-items: stretch;
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .hero-visual {
    min-height: 370px;
    margin-top: 10px;

    perspective: 700px;
  }

  .hero-x-stage {
    width: 116%;
  }

  .hero-x-image {
    animation-name: xImageTurnMobile;
  }

  .cards-section {
    grid-template-columns: 1fr;

    padding:
      0
      22px
      65px;
  }

  .logo-row {
    grid-template-columns: 1fr;
  }

  .logo-row span {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .logo-row span:last-child {
    border-bottom: 0;
  }

  .xelia-section {
    grid-template-columns: 1fr;
  }

  .xelia-image {
    min-height: 420px;
  }

  .xelia-copy {
    padding: 60px 22px;
  }

  .values {
    grid-template-columns: 1fr;

    padding:
      45px
      22px;
  }

  .values article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .values article:last-child {
    border-bottom: 0;
  }

  .contact-band {
    padding:
      48px
      22px;
  }

  .footer {
    grid-template-columns: 1fr;

    padding:
      52px
      22px;
  }
}

@keyframes xImageTurnMobile {
  0%,
  100% {
    transform:
      rotateY(-4deg)
      rotateX(1deg)
      rotateZ(-0.3deg)
      scale(1.02);
  }

  50% {
    transform:
      rotateY(4deg)
      rotateX(-1deg)
      rotateZ(0.3deg)
      scale(1.028);
  }
}