body.preloader-active {
  overflow: hidden;
}

body {
  opacity: 0;
}

:root {
  --color-light-gold: #FFE3A5;
  --color-dark-gold: #E6B554;
  --color-gold-border: #D7AD5F;
  --color-dark-gold-text: #9A6502;
  --color-white: #FFFFFF;
  --color-black: #000000;
  --color-grey-border: #CCCCCC;
  --color-grey-text: #4F4F4F;
  --color-bg-light: #FAFAFA;
  --container-width: 1200px;
  --radius-button: 8px;
  --radius-card: 16px;

  --size-h1: 65px;
  --size-h2: 50px;
  --size-h3: 40px;
  --size-h4: 35px;
  --size-h5: 30px;
  --size-h6: 25px;
  --size-p-large: 20px;
  --size-p: 16px;

  --fw-heading: 400;
  --fw-normal: 300;
  --fw-medium: 500;
}

@media (max-width: 1024px) {
  :root {
    --size-h1: 48px;
    --size-h2: 40px;
    --size-h3: 32px;
    --size-h4: 28px;
    --size-h5: 24px;
    --size-h6: 20px;
  }
}

@media (max-width: 768px) {
  :root {
    --size-h1: 45px;
    --size-h2: 30px;
    --size-h3: 26px;
    --size-h4: 22px;
    --size-h5: 20px;
    --size-h6: 18px;
  }
  .text-h6 { font-size: 25px; }
}

@font-face {
  font-family: 'SF Pro Display';
  src: url('/assets/fonts/SFProDisplay-Regular.ttf')
       format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'SF Pro Display';
  src: url('/assets/fonts/SFProDisplay-Medium.ttf')
       format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'SF Pro Display';
  src: url('/assets/fonts/SFProDisplay-Semibold.ttf')
       format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'SF Pro Display';
  src: url('/assets/fonts/SFProDisplay-Bold.ttf')
       format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'SF Pro Display';
  src: url('/assets/fonts/SFProDisplay-Light.ttf')
       format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

/* ===========================
   PRELOADER
=========================== */

#preloader {
  position: fixed;
  inset: 0;
  background: var(--color-bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: transform 0.7s cubic-bezier(0.76, 0, 0.24, 1);
}

#preloader-logo {
  width: 180px;
  height: auto;
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

#preloader-logo.is-visible {
  opacity: 1;
  transform: translateX(0);
}

#preloader.is-hiding {
  transform: translateY(-100%);
}

body.preloader-active {
  overflow: hidden;
}

/* ===========================
   RESET & BASE
=========================== */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html { scroll-behavior: smooth; }
body {
  font-family: 'SF Pro Display', sans-serif;
  color: var(--color-black);
  background: var(--color-white);
  opacity: 1;
}
ul { list-style: none; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

.container {
  max-width: var(--container-width);
  width: 95%;
  margin: 0 auto;
}

h1 { font-size: var(--size-h1); font-weight: var(--fw-heading); line-height: 1.15; }
h2 { font-size: var(--size-h2); font-weight: var(--fw-heading); line-height: 1.2; }
h3 { font-size: var(--size-h3); font-weight: var(--fw-heading); line-height: 1.2; }
h4 { font-size: var(--size-h4); font-weight: var(--fw-heading); line-height: 1.25; }
h5 { font-size: var(--size-h5); font-weight: var(--fw-heading); line-height: 1.3; }
h6 { font-size: var(--size-h6); font-weight: var(--fw-heading); line-height: 1.3; }
p { font-size: var(--size-p); font-weight: var(--fw-normal); line-height: 1.3; }
.p-large { font-size: var(--size-p-large); font-weight: var(--fw-normal); line-height: 1.3; }

/* ===========================
   BADGES
=========================== */

.badge-light {
  display: inline-block;
  width: fit-content;
  color: var(--color-black);
  font-size: 16px;
  font-weight: 300;
  padding: 7px 16px;
  border-radius: 8px;
  position: relative;
  isolation: isolate;
  border: none;
  background: rgba(255, 227, 165, 0.3);
}

/* Gradient Border via ::before */
.badge-light::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 8px;
  padding: 1px;
  background: linear-gradient(90deg, var(--color-dark-gold), var(--color-light-gold));
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  z-index: -1;
}

.badge-dark {
  display: inline-block;
  width: fit-content;
  color: var(--color-white);
  font-size: 16px;
  font-weight: 300;
  padding: 7px 16px;
  border-radius: 8px;
  position: relative;
  isolation: isolate;
  border: none;
  background: rgba(230, 181, 84, 0.15);
}

.badge-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 8px;
  padding: 1px;
  background: linear-gradient(90deg, var(--color-light-gold), var(--color-dark-gold-text));
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  z-index: -1;
}

/* ===========================
   BUTTONS
=========================== */

/* Basis für alle Buttons */
.btn-gold-small,
.btn-gold-small-transparent,
.btn-gold,
.btn-white,
.btn-transparent-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 500;
  cursor: pointer;
  border: none;
  border-radius: var(--radius-button);
  transition: transform 0.2s ease;
  position: relative;
  text-decoration: none;
}

/* Button: Gold Small */
.btn-gold-small {
  background: linear-gradient(90deg, #E6B554 0%, #FBD78C 50%, #E6B554 100%);
  padding: 10px 25px;
  color: var(--color-black);
  font-size: 16px;
  overflow: hidden;
}
.btn-gold-small::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  transition: left 0.5s ease;
}
.btn-gold-small:hover { transform: scale(1.03); }
.btn-gold-small:hover::before { left: 150%; }

/* Button: Gold Small Transparent */
.btn-gold-small-transparent {
  background: rgba(255, 227, 165, 0.12);
  padding: 10px 25px;
  color: var(--color-black);
  font-size: 16px;
  border: none;
  isolation: isolate;
}
.btn-gold-small-transparent::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-button);
  padding: 1.5px;
  background: linear-gradient(90deg, #E6B554, #FFE3A5);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  z-index: -1;
}
.btn-gold-small-transparent:hover { transform: scale(1.03); }

/* Button: Gold (mit Arrow) */
.btn-gold {
  background: linear-gradient(90deg, #E6B554 0%, #FBD78C 50%, #E6B554 100%);
  padding: 15px 25px;
  color: var(--color-black);
  font-size: 16px;
  overflow: hidden;
}
.btn-gold::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  transition: left 0.5s ease;
  z-index: 0;
}
.btn-gold:hover { transform: scale(1.03); }
.btn-gold:hover::before { left: 150%; }
.btn-gold svg { position: relative; z-index: 1; }

/* Button: White (mit Arrow) */
.btn-white {
  background: var(--color-white);
  padding: 15px 25px;
  color: var(--color-black);
  font-size: 16px;
}
.btn-white:hover { transform: scale(1.03); }

/* Button: Transparent mit Arrow */
.btn-transparent-arrow {
  background: rgba(255, 227, 165, 0.12);
  padding: 15px 25px;
  color: var(--color-black);
  font-size: 16px;
  border: none;
  isolation: isolate;
}
.btn-transparent-arrow::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-button);
  padding: 1.5px;
  background: linear-gradient(90deg, #E6B554, #FFE3A5);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  z-index: -1;
}
.btn-transparent-arrow:hover { transform: scale(1.03); }

/* Button: Transparent ohne Arrow */
.btn-transparent {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  font-weight: 500;
  cursor: pointer;
  border: none;
  border-radius: var(--radius-button);
  transition: transform 0.2s ease;
  position: relative;
  text-decoration: none;
  background: rgba(255, 227, 165, 0.12);
  padding: 15px 25px;
  color: var(--color-black);
  font-size: 16px;
  isolation: isolate;
}
.btn-transparent::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-button);
  padding: 1.5px;
  background: linear-gradient(90deg, #E6B554, #FFE3A5);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  z-index: -1;
}
.btn-transparent:hover { transform: scale(1.03); }

/* Arrow SVG Icon (wird inline in HTML eingebaut) */
.btn-arrow-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* ===========================
   CTA BLOCK
=========================== */

.cta-block {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  flex-direction: column;
  margin-top: 40px;
}

@media (max-width: 768px) {
  .cta-block {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    flex-direction: column;
    margin-top: 30px;
  }
}

/* ===========================
   TRUST CLIENTS
=========================== */

.trust-clients {
  display: flex;
  align-items: center;
  gap: 10px;
}
.trust-clients-img {
  height: 48px;
  width: auto;
}
.trust-clients-text {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-black);
  text-align: left;
  line-height: 1.4;
}

.text-h6 { font-size: var(--size-h6); }

.text-gradient {
  background: radial-gradient(50% 50% at 50% 50%, var(--color-dark-gold) 0%, var(--color-dark-gold-text) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  width: fit-content;
}

.section-header {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

/* ===========================
   BEREICH HERO (GLOBAL)
=========================== */

.bereich-hero {
  padding: 160px 0 100px;
  position: relative;
  overflow: hidden;
}

.bereich-hero-bg {
  position: absolute;
  left: -200px;
  top: 50px;
  width: 600px;
  opacity: 0.04;
  pointer-events: none;
  z-index: 0;
}

.bereich-hero .container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  text-align: center;
}

.bereich-hero-desc {
  max-width: 750px;
  margin: 0 auto;
}

.bereich-hero-buttons {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.bereich-hero .cta-block {
  margin-top: 0;
}

@media (max-width: 768px) {
  .bereich-hero {
    padding: 120px 0 80px;
  }
}