/* ============================================================
   CSS Custom Properties
   ============================================================ */
:root {
  --navy:       #0D1B2A;
  --navy-mid:   #162436;
  --navy-card:  #0F202F;
  --white:      #F7F4EF;
  --white-pure: #FFFFFF;
  --gold:       #C9A84C;
  --gold-light: #E8C97A;
  --muted:      #8A9BAE;

  --fs-xl:   clamp(3rem, 6vw, 5.5rem);
  --fs-lg:   clamp(2rem, 3.5vw, 3rem);
  --fs-md:   clamp(1.25rem, 2vw, 1.5rem);
  --fs-base: 1rem;
  --fs-sm:   0.875rem;
  --fs-xs:   0.75rem;

  --lh-display: 1.1;
  --lh-heading: 1.2;
  --lh-body:    1.75;

  --radius:   4px;
  --max-w:    1200px;
  --section-pad: clamp(5rem, 10vw, 9rem);

  --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ============================================================
   Reset & Base
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-weight: 400;
  font-size: var(--fs-base);
  line-height: var(--lh-body);
  color: var(--navy);
  background-color: var(--white);
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font: inherit;
}

address {
  font-style: normal;
}

/* ============================================================
   Typography Utilities
   ============================================================ */
.section-label {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.section-label--light {
  color: var(--gold);
}

.section-heading {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: var(--fs-lg);
  font-weight: 700;
  line-height: var(--lh-heading);
  color: var(--navy);
}

.section-heading--light {
  color: var(--white);
}

.section-header {
  margin-bottom: clamp(3rem, 5vw, 4rem);
}

/* ============================================================
   Layout
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(1.5rem, 5vw, 3rem);
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-family: 'Inter', sans-serif;
  font-size: var(--fs-sm);
  font-weight: 500;
  letter-spacing: 0.05em;
  border-radius: var(--radius);
  transition: background-color 200ms var(--ease-out),
              color 200ms var(--ease-out),
              border-color 200ms var(--ease-out),
              transform 150ms var(--ease-out);
  white-space: nowrap;
}

.btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.btn--primary {
  background-color: var(--gold);
  color: var(--navy);
  border: 2px solid var(--gold);
}

.btn--primary:hover {
  background-color: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-1px);
}

.btn--ghost {
  background-color: transparent;
  color: var(--white);
  border: 2px solid rgba(201, 168, 76, 0.4);
}

.btn--ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn--full {
  width: 100%;
  justify-content: center;
}

/* ============================================================
   Navigation
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background-color 300ms var(--ease-out),
              backdrop-filter 300ms var(--ease-out),
              border-color 300ms var(--ease-out);
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background-color: rgba(13, 27, 42, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom-color: rgba(201, 168, 76, 0.15);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-w);
  margin-inline: auto;
  padding: 1.25rem clamp(1.5rem, 5vw, 3rem);
}

.nav__logo {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0 0.3rem;
  line-height: 1;
}

.nav__logo-mark {
  display: inline-flex;
  align-items: center;
  color: var(--gold);
}

.nav__logo-k {
  height: 2.2rem;
  width: 2.2rem;
  display: block;
}

.nav__logo-rest {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 1.1rem;
  color: var(--white);
  letter-spacing: 0.08em;
}

.nav__logo-sub {
  display: block;
  width: 100%;
  font-family: 'Inter', sans-serif;
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.15rem;
}

.nav__links {
  display: none;
  align-items: center;
  gap: 2.25rem;
}

.nav__link {
  font-family:    'Inter', system-ui, sans-serif;
  font-size:      var(--fs-xs);
  font-weight:    500;
  color:          rgba(247, 244, 239, 0.72);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  position:       relative;
  display:        inline-block;
  padding-bottom: 3px;
  transition:     color 250ms var(--ease-out), transform 250ms var(--ease-out);
}

/* Underline slides in from left on hover */
.nav__link::after {
  content:          "";
  position:         absolute;
  bottom:           0;
  left:             0;
  width:            100%;
  height:           1px;
  background:       linear-gradient(90deg, var(--gold), var(--gold-light));
  transform:        scaleX(0);
  transform-origin: left center;
  transition:       transform 350ms cubic-bezier(0.4, 0, 0.2, 1);
}

.nav__link:hover {
  color:     var(--gold);
  transform: translateY(-1px);
}

.nav__link:hover::after {
  transform: scaleX(1);
}

/* Kontakt — prominent badge pill, breathing glow, klar vom Rest abgesetzt */
.nav__link--cta {
  font-family:      'Inter', system-ui, sans-serif;
  font-size:        var(--fs-xs);
  font-weight:      500;
  letter-spacing:   0.12em;
  text-transform:   uppercase;
  color:            var(--gold);
  background-color: rgba(201, 168, 76, 0.10);
  border:           1px solid rgba(201, 168, 76, 0.45);
  padding:          0.45rem 1.25rem 0.45rem;
  border-radius:    999px;
  animation:        nav-cta-glow 2.6s ease-in-out infinite;
  transition:       background-color 200ms var(--ease-out),
                    border-color 200ms var(--ease-out),
                    color 200ms var(--ease-out),
                    transform 200ms var(--ease-out);
}

.nav__link--cta::after {
  display: none;
}

.nav__link--cta:hover {
  background-color: var(--gold);
  border-color:     var(--gold);
  color:            var(--navy);
  transform:        translateY(-1px);
  animation-play-state: paused;
}

@keyframes nav-cta-glow {
  0%, 100% { box-shadow: 0 0 6px  rgba(201, 168, 76, 0.20),
                         0 0 0 0  rgba(201, 168, 76, 0.00); }
  50%       { box-shadow: 0 0 18px rgba(201, 168, 76, 0.55),
                         0 0 36px rgba(201, 168, 76, 0.15); }
}

.nav__burger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  z-index: 200;
}

.nav__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--white);
  border-radius: 2px;
  transition: transform 300ms var(--ease-out), opacity 300ms var(--ease-out);
  transform-origin: center;
}

.nav__burger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__burger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav__burger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav__mobile {
  display: none;
  background-color: rgba(13, 27, 42, 0.98);
  backdrop-filter: blur(12px);
  padding: 2rem clamp(1.5rem, 5vw, 3rem) 3rem;
}

.nav__mobile.open {
  display: block;
}

.nav__mobile-links {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.nav__mobile-link {
  display:        block;
  padding:        1rem 0;
  font-family:    'Inter', system-ui, sans-serif;
  font-size:      0.8rem;
  font-weight:    500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color:          rgba(247, 244, 239, 0.72);
  border-bottom:  1px solid rgba(247, 244, 239, 0.08);
  transition:     color 200ms var(--ease-out), padding-left 200ms var(--ease-out);
}

.nav__mobile-link:hover {
  color:        var(--gold);
  padding-left: 0.5rem;
}

/* Kontakt im mobilen Menü — identisch zum Desktop-CTA-Pill */
.nav__mobile-link--cta {
  display:          inline-block;
  align-self:       flex-start;
  margin-top:       1.25rem;
  padding:          0.6rem 2rem;
  font-size:        var(--fs-xs);
  font-weight:      500;
  letter-spacing:   0.12em;
  text-transform:   uppercase;
  color:            var(--gold);
  background-color: rgba(201, 168, 76, 0.10);
  border:           1px solid rgba(201, 168, 76, 0.45);
  border-radius:    999px;
  border-bottom:    1px solid rgba(201, 168, 76, 0.45);
  animation:        nav-cta-glow 2.6s ease-in-out infinite;
  transition:       background-color 200ms var(--ease-out),
                    border-color     200ms var(--ease-out),
                    color            200ms var(--ease-out);
}

.nav__mobile-link--cta:hover {
  background-color: var(--gold);
  border-color:     var(--gold);
  color:            var(--navy);
  padding-left:     2rem;
  animation-play-state: paused;
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  background-color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Canvas particle background */
.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.hero__spine {
  display: none;
  position: absolute;
  left: -2rem;
  top: 50%;
  transform: translateY(-50%) rotate(-90deg);
  font-family: 'Inter', sans-serif;
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.45;
  white-space: nowrap;
  transform-origin: center center;
  z-index: 2;
}

.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding: clamp(7rem, 15vw, 10rem) clamp(1.5rem, 5vw, 3rem) clamp(5rem, 10vw, 8rem);
}

/* Centered layout variant */
.hero__content--center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Badge / eyebrow pill */
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  background-color: rgba(201, 168, 76, 0.08);
  border: 1px solid rgba(201, 168, 76, 0.25);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  margin-bottom: 1.75rem;
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

.hero__badge svg {
  flex-shrink: 0;
  color: var(--gold);
}

.hero__headline {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: var(--fs-xl);
  font-weight: 700;
  font-style: italic;
  line-height: var(--lh-display);
  color: var(--white);
  margin-bottom: 1.75rem;
  /* gradient text like the component */
  background: linear-gradient(to bottom, #F7F4EF 60%, #8A9BAE);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* override gradient for gold line */
.hero__line--gold {
  background: linear-gradient(to bottom, var(--gold) 30%, var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__sub {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  line-height: 1.8;
  color: var(--muted);
  max-width: 52ch;
  margin-bottom: 2.5rem;
  text-align: center;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

/* Fade-up animation for hero elements (JS-driven, like framer-motion) */
.hero--fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 800ms var(--ease-out), transform 800ms var(--ease-out);
  transition-delay: calc(0.5s + var(--fi, 0) * 0.2s);
}

.hero--fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.hero__scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--fs-xs);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  cursor: pointer;
  animation: scrollBounce 2s ease-in-out infinite;
  transition: color 200ms;
}

.hero__scroll:hover {
  color: var(--gold);
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

/* ============================================================
   About
   ============================================================ */
.about {
  background-color: var(--white);
  padding-block: var(--section-pad);
  position: relative;
  overflow: hidden;
}

.about__grid-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  mask-image: radial-gradient(ellipse 80% 75% at 50% 55%, black 0%, black 18%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 80% 75% at 50% 55%, black 0%, black 18%, transparent 72%);
}

.about .container {
  position: relative;
  z-index: 1;
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(3rem, 6vw, 5rem);
}

.about__rule {
  width: 2px;
  height: 60px;
  background-color: var(--gold);
  margin-bottom: 2rem;
}

.about__stats {
  display: flex;
  flex-direction: column;
}

.about__stat {
  display: flex;
  flex-direction: column;
  margin-bottom: 2rem;
}

.about__stat-num {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-style: italic;
  font-weight: 700;
  color: var(--gold);
  line-height: 1.1;
}

.about__stat-label {
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  font-variant: small-caps;
  margin-top: 0.25rem;
  color: var(--muted);
}

.about__heading {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: var(--fs-lg);
  font-weight: 700;
  line-height: var(--lh-heading);
  color: var(--navy);
  margin-bottom: 1.5rem;
}

.about__text p {
  color: #3a4a5a;
  margin-bottom: 1.25rem;
  max-width: 58ch;
}

.about__text p:last-child {
  margin-bottom: 0;
}

/* ============================================================
   Services
   ============================================================ */
.services {
  position: relative;
  background-color: var(--navy-mid);
  padding-block: var(--section-pad);
  overflow: hidden;
}

/* Beam canvas — absolute background layer */
.services__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
  filter: blur(15px);
  opacity: 0.9;
}

/* Pulsing translucent overlay — replicates framer-motion opacity animation */
.services__overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(22, 36, 54, 0.05);
  backdrop-filter: blur(50px);
  -webkit-backdrop-filter: blur(50px);
  pointer-events: none;
  animation: beamOverlayPulse 10s ease-in-out infinite;
}

@keyframes beamOverlayPulse {
  0%, 100% { opacity: 0.05; }
  50%       { opacity: 0.2;  }
}

/* Content above canvas */
.services__inner {
  position: relative;
  z-index: 1;
}

.services__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

/* ============================================================
   Service Cards — GlowingShadow
   Adapted from glowing-shadow.tsx (vanilla CSS, no JS required).
   Conic-gradient border strip rotates autonomously via @property.
   Orbiting gold glow blob spins inside the card, illuminating edges.
   mask-composite:intersect clips the border glow to the 2px strip only.
   ============================================================ */

@property --sc-rotate { syntax: "<number>"; inherits: true; initial-value: -70; }

.service-card,
.portfolio-card {
  --sc-anim:   7s;
  --sc-border: 2px;
}

.service-card {
  background:    #091520;
  border:        var(--sc-border) solid rgba(201, 168, 76, 0.05);
  border-radius: var(--radius);
  position:      relative;
  padding:       clamp(2rem, 4vw, 2.5rem);
  height:        100%;
  cursor:        pointer;
  transition:    transform 250ms var(--ease-out), box-shadow 250ms var(--ease-out);
}

/* Shared pseudo-element base */
.service-card::before, .service-card::after,
.portfolio-card::before, .portfolio-card::after {
  content:          "";
  pointer-events:   none;
  position:         absolute;
  inset:            calc(var(--sc-border) * -1);
  border:           var(--sc-border) solid transparent;
  border-radius:    calc(var(--radius) + var(--sc-border));
  background-position: center;
  mask:              linear-gradient(#0000, #0000), linear-gradient(#fff, #fff);
  mask-clip:         padding-box, border-box;
  mask-composite:    intersect;
  -webkit-mask:      linear-gradient(#0000, #0000), linear-gradient(#fff, #fff);
  -webkit-mask-clip: padding-box, border-box;
  -webkit-mask-composite: destination-in;
  animation:         sc-border-spin var(--sc-anim) linear infinite;
}

/* Service cards — rotating gold arc */
.service-card::before {
  background-image: conic-gradient(
    from calc(var(--sc-rotate) * 1deg) at 50% 50%,
    transparent 0%,
    hsl(44deg 80% 62%) 15%,
    hsl(38deg 90% 52%) 26%,
    transparent 40%,
    transparent 60%,
    hsl(44deg 78% 60%) 73%,
    transparent 86%
  );
  z-index: 1;
}

.service-card::after {
  background-image: conic-gradient(
    from calc(var(--sc-rotate) * 1deg + 180deg) at 50% 50%,
    transparent 0%,
    rgba(255, 255, 255, 0.2) 12%,
    transparent 24%
  );
  z-index: 2;
}

/* Portfolio cards — rotating blue arc */
.portfolio-card::before {
  background-image: conic-gradient(
    from calc(var(--sc-rotate) * 1deg) at 50% 50%,
    transparent 0%,
    hsl(207deg 85% 62%) 15%,
    hsl(213deg 95% 52%) 26%,
    transparent 40%,
    transparent 60%,
    hsl(200deg 90% 60%) 73%,
    transparent 86%
  );
  z-index: 1;
}

.portfolio-card::after {
  background-image: conic-gradient(
    from calc(var(--sc-rotate) * 1deg + 180deg) at 50% 50%,
    transparent 0%,
    rgba(100, 180, 255, 0.25) 12%,
    transparent 24%
  );
  z-index: 2;
}


.service-card:hover {
  transform:  translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45),
              0 0 32px rgba(201, 168, 76, 0.12);
}


.service-card:hover::before,
.service-card:hover::after,
.portfolio-card:hover::before,
.portfolio-card:hover::after {
  animation-play-state: paused;
}

@keyframes sc-border-spin {
  from { --sc-rotate: -70; }
  to   { --sc-rotate: 290; }
}


.service-card__body {
  position:       relative;
  overflow:       hidden;
  height:         100%;
  display:        flex;
  flex-direction: column;
  z-index:        3;
}

.service-card__num {
  position:       absolute;
  top:            -0.5rem;
  right:          1.5rem;
  font-family:    'Playfair Display', Georgia, serif;
  font-size:      8rem;
  font-style:     italic;
  font-weight:    700;
  color:          var(--white);
  opacity:        0.05;
  line-height:    1;
  pointer-events: none;
  user-select:    none;
}

.service-card__title {
  font-family:   'Playfair Display', Georgia, serif;
  font-size:     var(--fs-md);
  font-weight:   700;
  color:         var(--white);
  line-height:   var(--lh-heading);
  margin-bottom: 1.25rem;
  position:      relative;
}

.service-card__text {
  font-size:     var(--fs-sm);
  line-height:   1.8;
  color:         var(--muted);
  position:      relative;
  margin-bottom: 1.5rem;
}

.service-card__rule {
  width:            40px;
  height:           1px;
  background-color: var(--gold);
  opacity:          0.5;
  transition:       width 250ms var(--ease-out), opacity 250ms var(--ease-out);
}

.service-card:hover .service-card__rule {
  width:   80px;
  opacity: 1;
}

/* ============================================================
   Portfolio
   ============================================================ */
.portfolio {
  background-color: var(--white);
  padding-block: var(--section-pad);
  position: relative;
  overflow: hidden;
}

.portfolio .container {
  position: relative;
  z-index: 1;
}

.portfolio__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: clamp(4rem, 7vw, 5rem);
}

.portfolio-card {
  border-radius: var(--radius);
  overflow: visible;
  border: var(--sc-border) solid rgba(201, 168, 76, 0.05);
  position: relative;
  transition: transform 250ms var(--ease-out), box-shadow 250ms var(--ease-out);
}

.portfolio-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(13, 27, 42, 0.14),
              0 0 32px rgba(74, 144, 217, 0.18);
}

.portfolio-card__visual {
  position: relative;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  border-radius: calc(var(--radius) - 2px) calc(var(--radius) - 2px) 0 0;
  overflow: hidden;
  cursor: pointer;
}

.portfolio-card__visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 400ms var(--ease-out);
}

.portfolio-card:hover .portfolio-card__visual img {
  transform: scale(1.04);
}

.portfolio-card__overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(13, 27, 42, 0.82);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  transition: opacity 300ms var(--ease-out);
}

.portfolio-card:hover .portfolio-card__overlay {
  opacity: 1;
}

.portfolio-card__overlay p {
  font-size: var(--fs-sm);
  color: var(--white);
  text-align: center;
  line-height: 1.7;
}

.portfolio-card__info {
  padding: 1rem 1.1rem 1rem;
  background: rgba(13, 27, 42, 0.06);
  border-radius: 0 0 calc(var(--radius) - 2px) calc(var(--radius) - 2px);
  backdrop-filter: blur(6px);
  border-top: 1px solid rgba(74, 144, 217, 0.12);
}

.portfolio-card__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.35rem;
}

.portfolio-card__tag {
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Testimonials */
.testimonials {
  border-top: 1px solid rgba(13, 27, 42, 0.1);
  padding-top: clamp(3rem, 5vw, 4rem);
}

.testimonials__track {
  position: relative;
  min-height: 10rem;
  margin-bottom: 2rem;
}

.testimonial {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 400ms var(--ease-out), transform 400ms var(--ease-out);
  pointer-events: none;
}

.testimonial--active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.testimonial--exit {
  opacity: 0;
  transform: translateY(-8px);
}

.testimonial__text {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.1rem, 2vw, 1.375rem);
  font-style: italic;
  font-weight: 600;
  line-height: 1.55;
  color: var(--navy);
  margin-bottom: 1.5rem;
  max-width: 70ch;
}

.testimonial__author {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.testimonial__author cite {
  font-style: normal;
  font-weight: 500;
  font-size: var(--fs-sm);
  color: var(--navy);
  font-variant: small-caps;
  letter-spacing: 0.08em;
}

.testimonial__author span {
  font-size: var(--fs-xs);
  color: var(--muted);
  letter-spacing: 0.05em;
}

.testimonials__controls {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.testimonials__btn {
  font-size: 1.25rem;
  color: var(--muted);
  padding: 0.25rem;
  transition: color 200ms var(--ease-out);
  line-height: 1;
}

.testimonials__btn:hover {
  color: var(--gold);
}

.testimonials__btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

.testimonials__dots {
  display: flex;
  gap: 0.5rem;
}

.testimonials__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: rgba(13, 27, 42, 0.2);
  transition: background-color 300ms var(--ease-out), transform 300ms var(--ease-out);
}

.testimonials__dot--active {
  background-color: var(--gold);
  transform: scale(1.3);
}

/* ============================================================
   Contact
   ============================================================ */
.contact {
  position: relative;
  background-color: var(--navy);
  padding-block: var(--section-pad);
  overflow: hidden;
}

/* Animated radial gradient — adapted from AnimatedGradientBackground */
.contact__gradient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  /* Entrance: framer-motion initial {opacity:0, scale:1.5} → animate {opacity:1, scale:1} */
  opacity: 0;
  transform: scale(1.5);
  animation: gradientReveal 2s cubic-bezier(0.25, 0.1, 0.25, 1) 0.2s forwards;
}

@keyframes gradientReveal {
  to { opacity: 1; transform: scale(1); }
}

/* Content above canvas layers */
.contact__inner {
  position: relative;
  z-index: 1;
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(3rem, 6vw, 5rem);
}

.contact__heading {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: var(--fs-lg);
  font-weight: 700;
  font-style: italic;
  line-height: var(--lh-heading);
  color: var(--white);
  margin-bottom: 1.5rem;
}

.contact__sub {
  font-size: var(--fs-sm);
  line-height: 1.8;
  color: var(--muted);
  max-width: 40ch;
  margin-bottom: 2.5rem;
}

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

.contact__detail {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  font-size: var(--fs-sm);
  color: var(--muted);
  transition: color 200ms var(--ease-out);
}

.contact__detail[href]:hover {
  color: var(--gold);
}

.contact__icon {
  font-size: 1rem;
  color: var(--gold);
  width: 1.25rem;
  text-align: center;
  flex-shrink: 0;
}

/* Form */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.form-label {
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.form-input {
  background-color: transparent;
  border: 1px solid rgba(247, 244, 239, 0.15);
  border-radius: var(--radius);
  padding: 0.875rem 1rem;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  color: var(--white);
  transition: border-color 200ms var(--ease-out), box-shadow 200ms var(--ease-out);
  width: 100%;
  -webkit-appearance: none;
}

.form-input::placeholder {
  color: rgba(138, 155, 174, 0.5);
}

.form-input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.12);
}

.form-textarea {
  resize: vertical;
  min-height: 7rem;
}

/* ============================================================
   Animated Glowing Field — adapted from animated-glowing-search-bar.tsx
   Gold/navy conic-gradient spinner wraps each contact form field.
   .glow-wrap contains 3 .gw-layer divs; each layer clips a large
   rotating conic-gradient to the field bounds (overflow:hidden).
   filter:blur on each layer creates the soft layered depth effect.
   On hover the gradient reverses; on focus it completes a full loop.
   ============================================================ */

.glow-wrap {
  position: relative;
}

/* All layers sit absolutely at their respective insets behind the input.
   overflow:hidden clips the oversized spinning gradient (999 / 600 px)
   to the field area. pointer-events:none prevents blocking the input. */
.gw-layer {
  position: absolute;
  overflow: hidden;
  border-radius: 8px;
  pointer-events: none;
}

/* All layers sit OUTSIDE the input bounds so the gradient never fills
   the field interior. The input's solid opaque background covers the
   center; only the thin strip outside the input shows the glow. */
.gw-layer--a { inset: -2px; filter: blur(3px);   border-radius: 8px; }
.gw-layer--b { inset: -1px; filter: blur(2px);   border-radius: 6px; }
.gw-layer--c { inset:    0; filter: blur(0.5px); border-radius: 4px; }

/* Each layer's ::before is the actual conic-gradient spinner.
   It's larger than the field (999px or 600px) and centred;
   overflow:hidden on the parent clips it to field bounds. */
.gw-layer::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  background-repeat: no-repeat;
  transition: transform 2000ms cubic-bezier(0.25, 0.1, 0.25, 1);
}

/* Layer A — strong outer glow: full gold/navy conic (999 px) */
.gw-layer--a::before {
  width: 999px;
  height: 999px;
  background-image: conic-gradient(
    #0A1520,
    #C9A84C 5%,
    #0A1520 38%,
    #0A1520 50%,
    #E8C97A 60%,
    #0A1520 87%
  );
  transform: translate(-50%, -50%) rotate(60deg);
}

/* Layer B — inner secondary glow: translucent gold arcs (600 px) */
.gw-layer--b::before {
  width: 600px;
  height: 600px;
  background-image: conic-gradient(
    transparent,
    rgba(201, 168, 76, 0.45),
    transparent 10%,
    transparent 50%,
    rgba(232, 201, 122, 0.35),
    transparent 60%
  );
  transform: translate(-50%, -50%) rotate(82deg);
}

/* Layer C — fine bright line + base background conic (600 px) */
.gw-layer--c::before {
  width: 600px;
  height: 600px;
  background-image: conic-gradient(
    #0D1B2A,
    #C9A84C 5%,
    #0D1B2A 14%,
    #0D1B2A 50%,
    #E8C97A 60%,
    #0D1B2A 64%
  );
  filter: brightness(1.3);
  transform: translate(-50%, -50%) rotate(70deg);
}

/* Hover: gradient swings to opposite angle (2 s) */
.glow-wrap:hover .gw-layer--a::before { transform: translate(-50%, -50%) rotate(-120deg); }
.glow-wrap:hover .gw-layer--b::before { transform: translate(-50%, -50%) rotate(-98deg);  }
.glow-wrap:hover .gw-layer--c::before { transform: translate(-50%, -50%) rotate(-110deg); }

/* Focus-within: completes a full loop at 4 × the speed */
.glow-wrap:focus-within .gw-layer--a::before {
  transform: translate(-50%, -50%) rotate(420deg);
  transition-duration: 4000ms;
}
.glow-wrap:focus-within .gw-layer--b::before {
  transform: translate(-50%, -50%) rotate(442deg);
  transition-duration: 4000ms;
}
.glow-wrap:focus-within .gw-layer--c::before {
  transform: translate(-50%, -50%) rotate(430deg);
  transition-duration: 4000ms;
}

/* Input/textarea: fully opaque background so the rotating gradient
   CANNOT show through the field interior — only the thin outer rim
   (where the glow layers extend beyond the input edge) is visible.
   z-index:1 stacks the input above the absolutely-positioned layers. */
.glow-wrap .form-input {
  position: relative;
  z-index: 1;
  background-color: #0A1520;
  border-color: rgba(201, 168, 76, 0.08);
}

.glow-wrap .form-input:focus {
  border-color: rgba(201, 168, 76, 0.12);
  box-shadow: none;
}

@media (prefers-reduced-motion: reduce) {
  .gw-layer::before { transition: none; }
}

/* ============================================================
   Lead Funnel
   ============================================================ */
.funnel {
  background: var(--navy-mid);
  border: 1px solid rgba(201, 168, 76, 0.12);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 3vw, 2rem);
}

.funnel__head {
  margin-bottom: 1.5rem;
}

.funnel__step-label {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.55rem;
}

.funnel__progress {
  height: 2px;
  background: rgba(201, 168, 76, 0.15);
  border-radius: 2px;
  overflow: hidden;
}

.funnel__progress-fill {
  height: 100%;
  width: 20%;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 2px;
  transition: width 380ms cubic-bezier(0.4, 0, 0.2, 1);
}

.funnel__step {
  animation: funnel-in 280ms var(--ease-out) both;
}

@keyframes funnel-in {
  from { opacity: 0; transform: translateX(10px); }
  to   { opacity: 1; transform: translateX(0); }
}

.funnel__q {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.05rem, 2.5vw, 1.3rem);
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.3rem;
}

.funnel__hint {
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 1.1rem;
}

.funnel__options--grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.55rem;
}

@media (min-width: 400px) {
  .funnel__options--grid {
    grid-template-columns: 1fr 1fr;
  }
}

.funnel__options--list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.funnel__opt {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(201, 168, 76, 0.14);
  border-radius: 8px;
  color: rgba(247, 244, 239, 0.72);
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.4;
  padding: 0.75rem 1rem;
  text-align: left;
  transition: border-color 160ms, background 160ms, color 140ms, transform 140ms;
  width: 100%;
}

.funnel__opt:hover {
  border-color: rgba(201, 168, 76, 0.40);
  background: rgba(201, 168, 76, 0.06);
  color: var(--white);
  transform: translateY(-1px);
}

.funnel__opt--selected {
  border-color: var(--gold) !important;
  background: rgba(201, 168, 76, 0.12) !important;
  color: var(--gold-light) !important;
}

/* Kontaktfelder (Schritt 5) */
.funnel__fields {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.funnel__field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.funnel__field label {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.03em;
}

.funnel__field label abbr,
.funnel__field label span {
  font-weight: 400;
  color: rgba(138, 155, 174, 0.6);
  text-decoration: none;
}

.funnel__field input,
.funnel__field textarea {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(201, 168, 76, 0.14);
  border-radius: 6px;
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  padding: 0.6rem 0.85rem;
  transition: border-color 200ms, box-shadow 200ms;
  width: 100%;
}

.funnel__field input::placeholder,
.funnel__field textarea::placeholder {
  color: rgba(138, 155, 174, 0.45);
}

.funnel__field input:focus,
.funnel__field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.10);
}

.funnel__field textarea {
  resize: vertical;
  min-height: 4.5rem;
}

/* Navigation (Zurück / Weiter) */
.funnel__nav {
  display: flex;
  align-items: center;
  margin-top: 1.5rem;
  gap: 1rem;
}

.funnel__back {
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  padding: 0.4rem 0;
  transition: color 180ms;
}

.funnel__back:hover { color: var(--white); }

.funnel__next {
  background: var(--gold);
  border: none;
  border-radius: 999px;
  color: var(--navy);
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  margin-left: auto;
  padding: 0.6rem 1.6rem;
  transition: background 200ms, opacity 200ms, transform 180ms;
}

.funnel__next:hover:not(:disabled) {
  background: var(--gold-light);
  transform: translateY(-1px);
}

.funnel__next:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

/* Erfolgsstatus */
.funnel__success {
  padding: 2rem 1rem;
  text-align: center;
}

.funnel__success-icon {
  align-items: center;
  background: rgba(201, 168, 76, 0.10);
  border: 1px solid rgba(201, 168, 76, 0.5);
  border-radius: 50%;
  color: var(--gold);
  display: flex;
  font-size: 1.5rem;
  height: 3.5rem;
  justify-content: center;
  margin: 0 auto 1.25rem;
  width: 3.5rem;
}

.funnel__success h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 0.65rem;
}

.funnel__success p {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.65;
}

.funnel__success p + p { margin-top: 0.35rem; }

/* ============================================================
   Footer
   ============================================================ */
.footer {
  background-color: var(--navy);
  border-top: 1px solid rgba(247, 244, 239, 0.06);
  padding-block: 2rem;
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer__copy {
  font-size: var(--fs-xs);
  color: var(--muted);
}

.footer__nav {
  display: flex;
  gap: 1.5rem;
}

.footer__link {
  font-size: var(--fs-xs);
  color: var(--muted);
  transition: color 200ms var(--ease-out);
}

.footer__link:hover {
  color: var(--gold);
}

.footer__link:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

.footer__link--btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
}

.footer__link--admin {
  font-size: 0.45rem;
  color: rgba(138, 155, 174, 0.2);
  transition: color 400ms;
  line-height: 1;
}

.footer__link--admin:hover {
  color: rgba(201, 168, 76, 0.5);
}

/* ============================================================
   Legal Modal (Impressum / Datenschutz)
   ============================================================ */
.legal-modal {
  position: fixed;
  inset: 0;
  width: min(680px, calc(100vw - 2rem));
  max-height: calc(100vh - 4rem);
  margin: auto;
  padding: 0;
  border: 1px solid rgba(201, 168, 76, 0.15);
  border-radius: var(--radius);
  background: var(--navy-mid);
  color: var(--white);
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.6);
}

.legal-modal::backdrop {
  background: rgba(7, 15, 24, 0.80);
  backdrop-filter: blur(4px);
}

.legal-modal__inner {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  overflow-y: auto;
  max-height: calc(100vh - 4rem);
}

.legal-modal__close {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  transition: color 150ms var(--ease-out);
}

.legal-modal__close:hover { color: var(--gold); }
.legal-modal__close:focus-visible { outline: 2px solid var(--gold); border-radius: 2px; }

.legal-modal__heading {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-style: italic;
  color: var(--gold);
  margin-bottom: 0.25rem;
}

.legal-modal__meta {
  font-size: var(--fs-xs);
  color: var(--muted);
  margin-bottom: 2rem;
}

.legal-modal__inner h3 {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--gold-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 1.75rem;
  margin-bottom: 0.5rem;
}

.legal-modal__inner p {
  font-size: var(--fs-sm);
  color: rgba(247, 244, 239, 0.80);
  line-height: 1.7;
  margin-bottom: 0;
}

.legal-modal__inner a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-modal__inner a:hover { color: var(--gold-light); }

/* ============================================================
   Scroll Reveal
   ============================================================ */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 600ms var(--ease-out),
              transform 600ms var(--ease-out);
  transition-delay: var(--delay, 0ms);
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   Responsive — 768px
   ============================================================ */
@media (min-width: 768px) {
  .about__grid {
    grid-template-columns: 1fr 2fr;
    align-items: start;
  }

  .about__stats {
    position: sticky;
    top: 6rem;
  }

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

  .hero__spine {
    display: block;
  }
}

/* ============================================================
   Responsive — 1024px
   ============================================================ */
@media (min-width: 1024px) {
  .nav__links {
    display: flex;
  }

  .nav__burger {
    display: none;
  }

  .services__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .portfolio__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .contact__grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  .testimonials__track {
    min-height: 8rem;
  }
}

/* ============================================================
   Reduced Motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero--fade-up {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .contact__gradient {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* ============================================================
   Coming Soon — Referenzen Baustelle
   ============================================================ */
.coming-soon {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 4rem 0 5rem;
  gap: 1.75rem;
}

.coming-soon__emblem {
  position: relative;
  width: 96px;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.coming-soon__ring {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(201, 168, 76, 0.25);
  border-radius: 50%;
  animation: cs-ring 3.5s ease-out infinite;
}
.coming-soon__ring--2 { animation-delay: 1.75s; }

@keyframes cs-ring {
  0%   { transform: scale(0.7); opacity: 0.6; }
  100% { transform: scale(1.5); opacity: 0; }
}

.coming-soon__k {
  color: var(--gold);
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 0 12px rgba(201, 168, 76, 0.35));
}

.coming-soon__label {
  font-family: var(--font-sans);
  font-size: var(--fs-xs);
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0;
}

.coming-soon__text {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: var(--lh-body);
  max-width: 440px;
  margin: 0;
}

/* ============================================================
   Mobile Fixes (max-width: 767px)
   ============================================================ */
@media (max-width: 767px) {

  /* Hero: Top-Padding drastisch reduzieren — war clamp(7rem,...) = 112px */
  .hero__content {
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
  }

  /* Hero: Abstände zwischen Badge, Headline, Sub verkleinern */
  .hero__badge {
    margin-bottom: 0.75rem;
  }

  .hero__headline {
    margin-bottom: 0.75rem;
  }

  .hero__sub {
    margin-bottom: 1.25rem;
    font-size: 0.9rem;
  }

  /* Hero: Buttons untereinander statt nebeneinander */
  .hero__actions {
    flex-direction: column;
    width: 100%;
  }

  .hero__actions .btn {
    width: 100%;
    justify-content: center;
  }

  /* Hero: "Mehr entdecken" höher positionieren damit kein Overlap */
  .hero__scroll {
    bottom: 2rem;
  }

  /* Hero: Scroll-Animation läuft immer durch, kein visuelles Feedback bei Touch */
  .hero__scroll,
  .hero__scroll:hover,
  .hero__scroll:active,
  .hero__scroll:focus {
    color: var(--muted);
    animation-play-state: running;
  }

  /* Canvas-Grid: auf Mobile per JS und CSS deaktiviert */
  .about__grid-canvas {
    display: none;
  }

  /* Flaches Gitter-Ersatz via Pseudo-Element (maskiert nur Background, nicht Inhalt) */
  .about::before,
  .portfolio::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image:
      linear-gradient(rgba(0,0,0,0.045) 1px, transparent 1px),
      linear-gradient(90deg, rgba(0,0,0,0.045) 1px, transparent 1px);
    background-size: 48px 48px;
    -webkit-mask-image: radial-gradient(ellipse 90% 85% at 50% 50%, black 10%, transparent 70%);
    mask-image: radial-gradient(ellipse 90% 85% at 50% 50%, black 10%, transparent 70%);
    pointer-events: none;
  }

  /* Service Cards auf Mobile: background-clip statt mask-composite (iOS-sicher) */
  .service-card::before,
  .service-card::after {
    display: none;
  }

  .service-card {
    background:
      linear-gradient(#091520, #091520) padding-box,
      conic-gradient(
        from calc(var(--sc-rotate) * 1deg) at 50% 50%,
        transparent 0%,
        hsl(44deg 80% 62%) 15%,
        hsl(38deg 90% 52%) 26%,
        transparent 40%,
        transparent 100%
      ) border-box;
    border-color: transparent;
    animation: sc-border-spin var(--sc-anim) linear infinite;
  }
}
