:root {
  color-scheme: dark;
  --bg: #050505;
  --bg-soft: #0d0a06;
  --panel: rgba(255, 255, 255, 0.08);
  --panel-strong: rgba(255, 255, 255, 0.14);
  --text: #ffffff;
  --muted: #e1d6c3;
  --brand: #d39b32;
  --brand-light: #fff0a8;
  --accent: #f5d27b;
  --border: rgba(245, 210, 123, 0.32);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.55);
  --radius: 22px;
  --focus: #fff0a8;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(211, 155, 50, 0.18), transparent 32rem),
    radial-gradient(circle at 82% 8%, rgba(255, 240, 168, 0.08), transparent 28rem),
    linear-gradient(180deg, #050505 0%, #0b0703 100%);
}

body.reduce-motion *,
body.reduce-motion *::before,
body.reduce-motion *::after {
  animation-duration: 0.01ms !important;
  animation-iteration-count: 1 !important;
  scroll-behavior: auto !important;
  transition-duration: 0.01ms !important;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration-thickness: 0.12em;
  text-underline-offset: 0.22em;
}

a:hover {
  color: var(--accent);
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

.container {
  width: min(calc(100% - 32px), var(--max));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: 16px;
  z-index: 1000;
  padding: 10px 16px;
  color: #050505;
  background: var(--focus);
  border-radius: 999px;
  transform: translateY(-140%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(5, 5, 5, 0.86);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand img {
  display: block;
  width: auto;
  height: 66px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-nav a {
  padding: 10px 14px;
  color: var(--muted);
  text-decoration: none;
  border-radius: 999px;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
  background: var(--panel);
}


.nav-social {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-left: 10px;
  padding-left: 14px;
  border-left: 1px solid rgba(245, 210, 123, 0.18);
}

.nav-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 999px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: transform 160ms ease, box-shadow 160ms ease, opacity 160ms ease;
}

.instagram-link {
  background: linear-gradient(135deg, #f58529 0%, #feda77 18%, #dd2a7b 52%, #8134af 76%, #515bd4 100%);
  box-shadow: 0 12px 26px rgba(221, 42, 123, 0.24);
}

.tiktok-link {
  background: #111;
  box-shadow:
    -2px 0 0 rgba(37, 244, 238, 0.9),
    2px 0 0 rgba(254, 44, 85, 0.85),
    0 12px 26px rgba(0, 0, 0, 0.34);
}

.nav-social-link svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tiktok-link svg {
  fill: currentColor;
  stroke: none;
}

.nav-whatsapp {
  width: 44px;
  min-width: 44px;
  padding: 0;
  gap: 0;
  border-radius: 14px;
  background: linear-gradient(180deg, #32d86b 0%, #25d366 100%);
  border-color: rgba(255,255,255,0.14);
  box-shadow: 0 14px 28px rgba(37, 211, 102, 0.22);
}

.nav-whatsapp svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  stroke: none;
}

.nav-social-link:hover,
.nav-social-link:focus-visible,
.nav-whatsapp:hover,
.nav-whatsapp:focus-visible {
  transform: translateY(-1px);
}


.menu-button {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  color: var(--text);
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 999px;
  cursor: pointer;
}

.menu-button-lines,
.menu-button-lines::before,
.menu-button-lines::after {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
  content: "";
}

.menu-button-lines::before {
  transform: translateY(-6px);
}

.menu-button-lines::after {
  transform: translateY(4px);
}

.section {
  padding: clamp(72px, 8vw, 116px) 0;
}

.section-muted {
  background: rgba(255, 255, 255, 0.035);
  border-block: 1px solid rgba(245, 210, 123, 0.14);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 760px;
  display: grid;
  align-items: center;
}

.hero-background {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(5, 5, 5, 0.92), rgba(5, 5, 5, 0.82) 58%, rgba(5, 5, 5, 0.74));
  opacity: 1;
}

.hero-background::after {
  position: absolute;
  inset: 0;
  content: "";
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.85) 0 1px, transparent 2px),
    radial-gradient(rgba(245, 210, 123, 0.85) 0 1.4px, transparent 2.8px);
  background-size: 92px 92px, 138px 138px;
  background-position: 0 0, 28px 36px;
  animation: star-drift 34s linear infinite, hero-star-pulse 5.8s ease-in-out infinite alternate;
  opacity: 0.26;
}

@keyframes star-drift {
  to { transform: translate3d(-80px, 80px, 0); }
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 6vw, 82px);
}

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

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 13ch;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.1rem, 8vw, 6.8rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
}

.hero h1 {
  max-width: 9ch;
  font-size: clamp(2.85rem, 6.2vw, 5.2rem);
  color: transparent;
  background: linear-gradient(135deg, #fff4c2 0%, #e6ba56 35%, #fff0a8 63%, #b66d18 100%);
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow: 0 10px 28px rgba(211, 155, 50, 0.14);
}

h2 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

h3 {
  margin: 0 0 10px;
  font-size: 1.22rem;
  line-height: 1.2;
}

.hero-text,
.section-heading p,
.price-layout p,
.contact-grid p {
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-text {
  max-width: 650px;
  margin: 26px 0 0;
}

.button-group,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  font-weight: 850;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
}

.button-primary {
  color: #050505;
  background: linear-gradient(135deg, #fff4c2 0%, #d39b32 50%, #fff0a8 100%);
  box-shadow: 0 16px 42px rgba(211, 155, 50, 0.28);
}

.button-secondary {
  color: var(--text);
  background: var(--panel);
  border-color: var(--border);
}

.button:hover {
  filter: brightness(1.08);
}

.hero-visual,
.service-card,
.price-card,
.work-card,
.contact-form,
.steps li {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.045));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-visual {
  overflow: hidden;
  margin: 0;
}

.hero-visual img {
  display: block;
  width: 100%;
  max-height: 540px;
  object-fit: cover;
  object-position: center;
}

.hero-visual figcaption {
  padding: 16px 20px 20px;
  color: var(--muted);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 36px;
}

.card-grid,
.work-grid,
.price-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.service-card,
.price-card {
  padding: 28px;
}

.service-card p,
.price-card p,
.steps p {
  color: var(--muted);
}

.icon {
  position: relative;
  display: grid;
  width: 64px;
  height: 64px;
  margin-bottom: 22px;
  place-items: center;
  border-radius: 22px;
  border: 1px solid rgba(245, 210, 123, 0.52);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 18px 40px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(245, 210, 123, 0.03);
  overflow: hidden;
}

.icon::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 22%, rgba(255, 240, 168, 0.18), transparent 48%);
  pointer-events: none;
}

.icon::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  top: 12px;
  height: 1px;
  background: linear-gradient(90deg, rgba(245, 210, 123, 0.08), rgba(245, 210, 123, 0.66), rgba(245, 210, 123, 0.08));
  pointer-events: none;
}

.icon svg {
  position: relative;
  z-index: 1;
  width: 29px;
  height: 29px;
  stroke: #f5d27b;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.work-card {
  overflow: hidden;
  margin: 0;
}

.work-card img {
  display: block;
  width: 100%;
}

.work-card figcaption {
  padding: 16px 18px 20px;
  color: var(--muted);
}

.price-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(640px, 1.18fr);
  gap: clamp(28px, 5vw, 56px);
  align-items: start;
}

.price-card.featured {
  border-color: rgba(255, 240, 168, 0.78);
}

.price-cards {
  grid-template-columns: repeat(3, minmax(185px, 1fr));
  align-items: stretch;
}

.price-card {
  min-height: 100%;
}

.price-card h3 {
  margin: 0 0 14px;
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  line-height: 1.2;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.price {
  margin: 12px 0 16px;
  color: var(--text) !important;
  font-size: clamp(1.08rem, 1.45vw, 1.2rem) !important;
  line-height: 1.25;
  font-weight: 900;
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: normal;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: steps;
}

.steps li {
  position: relative;
  padding: 78px 26px 26px;
  counter-increment: steps;
}

.steps li::before {
  position: absolute;
  top: 24px;
  left: 26px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: #050505;
  background: var(--accent);
  border-radius: 50%;
  font-weight: 900;
  content: counter(steps);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.78fr);
  gap: clamp(30px, 6vw, 80px);
  align-items: start;
}

.contact-info {
  margin-top: 28px;
  color: var(--muted);
  font-style: normal;
}

.contact-info a {
  color: var(--text);
}

.contact-form {
  padding: clamp(24px, 4vw, 34px);
}

.form-row {
  margin-bottom: 18px;
}

label {
  display: inline-block;
  margin-bottom: 8px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--border);
  border-radius: 12px;
  font: inherit;
}

select option {
  color: #050505;
}

textarea {
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  color: #d5c8b4;
}

input:invalid[aria-invalid="true"],
select:invalid[aria-invalid="true"],
textarea:invalid[aria-invalid="true"] {
  border-color: #ffb3b3;
}

.form-note,
.form-status {
  color: var(--muted);
  font-size: 0.95rem;
}

.form-status {
  min-height: 1.5em;
  font-weight: 800;
}

.site-footer {
  border-top: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.2);
}

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

.footer-inner nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.motion-toggle {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 60;
  padding: 10px 14px;
  color: #050505;
  background: var(--focus);
  border: 0;
  border-radius: 999px;
  font-weight: 900;
  box-shadow: var(--shadow);
  cursor: pointer;
}

.legal-page main {
  padding: 80px 0;
}

.legal-content {
  max-width: 900px;
}

.legal-content h1 {
  max-width: none;
  margin-bottom: 28px;
}

.legal-content h2 {
  margin-top: 42px;
  font-size: clamp(1.55rem, 3vw, 2.1rem);
}

.legal-content p,
.legal-content li {
  color: var(--muted);
}

.legal-content a {
  color: var(--text);
}


@media (max-width: 1180px) {
  .price-layout {
    grid-template-columns: 1fr;
  }

  .price-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .header-inner {
    min-height: 84px;
  }

  .brand img {
    height: 54px;
  }

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

  .site-nav {
    position: absolute;
    inset: 76px 16px auto 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    background: rgba(5, 5, 5, 0.96);
    border: 1px solid var(--border);
    border-radius: 18px;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 14px 16px;
  }

  .nav-social {
    margin-left: 0;
    padding-left: 0;
    padding-top: 10px;
    border-left: 0;
    border-top: 1px solid rgba(245, 210, 123, 0.18);
    flex-wrap: wrap;
  }

    .nav-whatsapp {
    width: 42px;
    justify-content: center;
    padding: 0;
  }

  .hero {
    min-height: auto;
  }

  .hero-background {
    background: linear-gradient(180deg, rgba(5, 5, 5, 0.88), rgba(5, 5, 5, 0.94));
  }

  .hero-grid,
  .price-layout,
  .contact-grid,
  .project-showcase {
    grid-template-columns: 1fr;
  }

  .project-copy {
    position: static;
  }

  .card-grid,
  .work-grid,
  .price-cards,
  .steps,
  .project-media-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .icon {
    width: 58px;
    height: 58px;
    border-radius: 20px;
  }

  .icon svg {
    width: 27px;
    height: 27px;
  }

  body::before {
    background: url("assets/logo-header.png") center 120px / min(56vw, 210px) auto no-repeat;
    opacity: 0.075;
  }

  .container {
    width: min(calc(100% - 24px), var(--max));
  }

  .header-inner {
    min-height: 68px;
  }

  .site-nav {
    inset: 68px 12px auto 12px;
  }

  h1 {
    font-size: clamp(2.75rem, 18vw, 4.2rem);
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 24px 0;
  }

  .motion-toggle {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}


.project-showcase {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.35fr);
  gap: clamp(24px, 5vw, 54px);
  align-items: start;
}

.project-copy {
  position: sticky;
  top: 110px;
  padding: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.045));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.project-copy h3 {
  margin: 0 0 16px;
  font-size: clamp(1.5rem, 2.45vw, 2.15rem);
  line-height: 1.14;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
  text-wrap: balance;
}

.project-copy p {
  color: var(--muted);
}

.feature-list {
  display: grid;
  gap: 10px;
  padding-left: 20px;
  color: var(--text);
}

.project-media-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.work-card img,
.work-card video {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.video-card video {
  background: #000000;
}

.project-showcase + .project-showcase {
  margin-top: clamp(42px, 8vw, 86px);
  padding-top: clamp(34px, 6vw, 64px);
  border-top: 1px solid var(--border);
}

.work-card.landscape img,
.work-card.landscape video {
  aspect-ratio: 4 / 3;
}


.project-note,
.brand-disclaimer {
  color: var(--muted);
  font-size: 0.95rem;
}

.project-note {
  max-width: 900px;
  margin-top: 24px;
}

.brand-disclaimer {
  max-width: 520px;
  margin: 6px 0 0;
}


@media (max-width: 900px) {
  .project-showcase {
    grid-template-columns: 1fr;
  }

  .project-copy {
    position: static;
  }

  .project-media-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}


/* Dezent funkelnder MAJESTIC Sternenhintergrund */
body {
  position: relative;
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

body::before {
  background:
    url("assets/logo-header.png") center 210px / min(28vw, 400px) auto no-repeat,
    radial-gradient(circle at 50% 20%, rgba(245, 210, 123, 0.08), transparent 24%);
  opacity: 0.085;
  filter: brightness(1.01) contrast(1.01);
}

body::after {
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.98) 0 1.1px, transparent 2.2px),
    radial-gradient(circle, rgba(245, 210, 123, 0.9) 0 1.4px, transparent 2.8px),
    radial-gradient(circle, rgba(255, 240, 168, 0.72) 0 1.8px, transparent 3.3px);
  background-size: 130px 130px, 210px 210px, 320px 320px;
  background-position: 18px 26px, 88px 118px, 160px 44px;
  opacity: 0.2;
  mix-blend-mode: screen;
  animation: majestic-stars-twinkle 4.8s ease-in-out infinite alternate;
}

.site-header,
main,
.site-footer,
.motion-toggle {
  position: relative;
  z-index: 1;
}

@keyframes hero-star-pulse {
  0% { opacity: 0.18; filter: brightness(0.95); }
  50% { opacity: 0.3; filter: brightness(1.28); }
  100% { opacity: 0.22; filter: brightness(1.05); }
}

@keyframes majestic-stars-twinkle {
  0% { opacity: 0.12; filter: brightness(0.9); }
  45% { opacity: 0.23; filter: brightness(1.28); }
  70% { opacity: 0.18; filter: brightness(1.08); }
  100% { opacity: 0.16; filter: brightness(1.02); }
}

body.reduce-motion::before,
body.reduce-motion::after {
  animation: none !important;
}

@media (prefers-reduced-motion: reduce) {
  body::before,
  body::after,
  .hero-background::after {
    animation: none !important;
  }
}


.gallery-cta {
  margin-top: clamp(38px, 7vw, 70px);
  padding: clamp(28px, 5vw, 40px);
  text-align: center;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.gallery-cta h3 {
  margin-bottom: 10px;
  font-size: clamp(1.7rem, 3vw, 2.25rem);
}

.gallery-cta p {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  color: var(--muted);
}

.gallery-cta .button {
  margin-top: 10px;
}

.project-index {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 26px 0 44px;
}

.vehicle-tabs {
  padding: 12px 0;
  border-block: 1px solid rgba(245, 210, 123, 0.14);
}

.project-index a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted);
  text-decoration: none;
  background: rgba(255,255,255,0.055);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.02);
}

.project-index a:hover,
.project-index a:focus-visible {
  color: var(--text);
  background: var(--panel-strong);
  border-color: rgba(255, 240, 168, 0.62);
}

.project-showcase {
  scroll-margin-top: 96px;
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 4px;
}

.project-meta span {
  display: inline-flex;
  align-items: center;
  padding: 7px 11px;
  color: var(--muted);
  border: 1px solid rgba(245, 210, 123, 0.24);
  border-radius: 999px;
  background: rgba(255,255,255,0.045);
  font-size: 0.92rem;
}

.text-link {
  display: inline-flex;
  margin-top: 12px;
  color: var(--accent);
  font-weight: 800;
  text-decoration: none;
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--brand-light);
  text-decoration: underline;
}


.service-card h3 {
  margin-bottom: 10px;
}

.section .project-showcase {
  margin-top: clamp(34px, 6vw, 56px);
}

.price-card p:last-child {
  max-width: 18ch;
}

/* Premium Preisbereich */
.price-section {
  position: relative;
}

.price-intro .button {
  margin-top: 18px;
}

.price-layout-featured {
  align-items: center;
}

.price-cards-premium,
.price-detail-grid {
  display: grid;
  gap: 20px;
}

.price-cards-premium {
  grid-template-columns: repeat(3, minmax(210px, 1fr));
}

.price-detail-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.price-card-premium {
  position: relative;
  overflow: hidden;
  min-height: 248px;
  padding: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.045)),
    radial-gradient(circle at 18% 0%, rgba(255, 240, 168, 0.16), transparent 18rem);
}

.price-card-premium::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255, 240, 168, 0.18);
  pointer-events: none;
}

.price-card-premium.featured {
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.55),
    0 0 54px rgba(211, 155, 50, 0.16);
}

.price-label {
  display: none;
}


.price-card-premium h3 {
  min-height: 0;
  margin: 0 0 14px;
  font-size: clamp(1.12rem, 1.6vw, 1.34rem);
  line-height: 1.22;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
  text-wrap: balance;
}

.price-card-premium .price {
  margin: 10px 0 14px;
  color: var(--text) !important;
  font-size: clamp(1.08rem, 1.45vw, 1.2rem) !important;
  line-height: 1.25;
  font-weight: 900;
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: normal;
}

.price-card-premium p:last-child {
  max-width: 28ch;
}

.price-note-box {
  margin-top: 28px;
  padding: clamp(26px, 4vw, 38px);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.price-note-box h3 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
}

.price-note-box p {
  max-width: 780px;
  color: var(--muted);
}

.price-note-box .button {
  margin-top: 14px;
}

@media (max-width: 1180px) {
  .price-cards-premium,
  .price-detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .price-cards-premium,
  .price-detail-grid {
    grid-template-columns: 1fr;
  }

  .price-card-premium h3 {
  min-height: 0;
  margin: 0 0 14px;
  font-size: clamp(1.12rem, 1.6vw, 1.34rem);
  line-height: 1.22;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
  text-wrap: balance;
}
}


@media (max-width: 760px) {
  .price-cards {
    grid-template-columns: 1fr;
  }

  .price-card {
    padding: 24px;
  }

  .price-card h3 {
  margin: 0 0 14px;
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  line-height: 1.2;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

  .price {
  margin: 12px 0 16px;
  color: var(--text) !important;
  font-size: clamp(1.08rem, 1.45vw, 1.2rem) !important;
  line-height: 1.25;
  font-weight: 900;
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: normal;
}

  .project-copy {
    padding: 22px;
  }

  .project-copy h3 {
  margin: 0 0 16px;
  font-size: clamp(1.5rem, 2.45vw, 2.15rem);
  line-height: 1.14;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
  text-wrap: balance;
}

  .project-copy p,
  .feature-list {
    font-size: 1rem;
  }
}


/* Mobile Feinschliff und Bild-Vergrößerung */
.zoomable-image,
.zoomable-video {
  cursor: zoom-in;
}

.work-card {
  position: relative;
}

.work-card:has(.zoomable-image)::after,
.work-card:has(.zoomable-video)::after {
  position: absolute;
  right: 12px;
  top: 12px;
  padding: 6px 10px;
  color: #050505;
  background: rgba(255, 240, 168, 0.88);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 160ms ease, transform 160ms ease;
  pointer-events: none;
}

.work-card:has(.zoomable-image)::after {
  content: "Bild öffnen";
}

.work-card:has(.zoomable-video)::after {
  content: "Video öffnen";
}

.work-card:hover:has(.zoomable-image)::after,
.work-card:focus-within:has(.zoomable-image)::after,
.work-card:hover:has(.zoomable-video)::after,
.work-card:focus-within:has(.zoomable-video)::after {
  opacity: 1;
  transform: translateY(0);
}

body.lightbox-open {
  overflow: hidden;
}

.image-lightbox[hidden] {
  display: none;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: grid;
  place-items: center;
  padding: 18px;
}

.image-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.84);
  backdrop-filter: blur(12px);
}

.image-lightbox-panel {
  position: relative;
  z-index: 1;
  width: min(1120px, 100%);
  max-height: calc(100vh - 36px);
  display: grid;
  place-items: center;
}

.image-lightbox-panel figure {
  margin: 0;
  width: min(100%, 980px);
  display: grid;
  gap: 12px;
}

.image-lightbox-media {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 120px);
  margin-inline: auto;
  object-fit: contain;
  border: 1px solid rgba(245, 210, 123, 0.42);
  border-radius: 18px;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.72);
  background: #000;
}

.image-lightbox-video {
  width: min(100%, 980px);
}

.image-lightbox-caption {
  color: var(--muted);
  text-align: center;
  font-size: 0.98rem;
}

.image-lightbox-close,
.image-lightbox-nav {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  color: #050505;
  background: linear-gradient(135deg, #fff4c2 0%, #d39b32 58%, #fff0a8 100%);
  border: 1px solid rgba(255, 240, 168, 0.7);
  border-radius: 999px;
  box-shadow: var(--shadow);
  cursor: pointer;
}

.image-lightbox-close {
  top: 0;
  right: 0;
  width: 46px;
  height: 46px;
  font-size: 2rem;
  line-height: 1;
}

.image-lightbox-nav {
  top: 50%;
  width: 48px;
  height: 48px;
  font-size: 2rem;
  transform: translateY(-50%);
}

.image-lightbox-prev {
  left: 0;
}

.image-lightbox-next {
  right: 0;
}

@media (max-width: 900px) {
  .section {
    padding: 58px 0;
  }

  .hero {
    min-height: auto;
    padding-top: 86px;
    padding-bottom: 72px;
  }

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

  .hero h1 {
    max-width: 10ch;
    font-size: clamp(2.35rem, 12vw, 4.1rem);
  }

  .hero-text,
  .section-heading p,
  .price-layout p,
  .contact-grid p {
    font-size: 1rem;
  }

  .button-group,
  .contact-actions {
    gap: 10px;
  }

  .button {
    min-height: 52px;
    padding: 13px 18px;
  }

  .project-index {
    gap: 8px;
    margin-bottom: 30px;
  }

  .project-index a {
    min-height: 40px;
    padding: 8px 12px;
    font-size: 0.92rem;
  }

  .project-copy {
    border-radius: 18px;
  }

  .project-meta span {
    font-size: 0.86rem;
  }
}

@media (max-width: 560px) {
  .site-header {
    background: rgba(5, 5, 5, 0.94);
  }

  .brand img {
    height: 38px;
  }

  .menu-button {
    min-height: 44px;
    padding: 9px 12px;
  }

  .section-heading {
    margin-bottom: 24px;
  }

  .card-grid,
  .work-grid,
  .price-cards,
  .steps,
  .project-media-grid {
    gap: 14px;
  }

  .service-card,
  .price-card,
  .project-copy,
  .contact-form,
  .gallery-cta {
    padding: 20px;
  }

  .work-card figcaption {
    padding: 12px 14px 16px;
    font-size: 0.95rem;
  }

  .feature-list {
    padding-left: 18px;
  }

  .feature-list li {
    padding-left: 2px;
  }

  .contact-actions .button,
  .button-group .button {
    width: 100%;
  }

  .image-lightbox {
    padding: 10px;
  }

  .image-lightbox-close {
    top: 8px;
    right: 8px;
    width: 44px;
    height: 44px;
  }

  .image-lightbox-nav {
    top: auto;
    bottom: 18px;
    transform: none;
  }

  .image-lightbox-prev {
    left: 18px;
  }

  .image-lightbox-next {
    right: 18px;
  }

  .image-lightbox-media {
    max-height: calc(100vh - 148px);
    border-radius: 14px;
  }

  .image-lightbox-caption {
    padding-inline: 46px;
    font-size: 0.9rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .work-card:has(.zoomable-image)::after,
  .work-card:has(.zoomable-video)::after {
    transition: none;
  }
}

@media (max-width: 560px) {
  .price-card-premium {
    padding: 24px;
    min-height: 0;
  }

  .price-card-premium h3 {
    font-size: 1.22rem;
    line-height: 1.2;
  }

  .price-card-premium .price {
    font-size: 1.14rem !important;
    white-space: nowrap;
  }

  .project-copy h3 {
    font-size: 1.36rem;
    line-height: 1.16;
  }
}


/* Premium Feinschliff: ruhiger Luxuslook, bessere Hover Effekte */
.site-header {
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.28);
}

.brand img {
  filter: drop-shadow(0 0 10px rgba(211, 155, 50, 0.18));
}

.site-nav a {
  position: relative;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 6px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 240, 168, 0.85), transparent);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  opacity: 1;
  transform: translateY(0);
}

.button {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(115deg, transparent 0 34%, rgba(255, 255, 255, 0.32) 46%, transparent 60% 100%);
  transform: translateX(-115%);
  transition: transform 520ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button:hover::before,
.button:focus-visible::before {
  transform: translateX(115%);
}

.button-primary:hover,
.button-primary:focus-visible {
  box-shadow: 0 20px 54px rgba(211, 155, 50, 0.34);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: rgba(255, 240, 168, 0.75);
  background: rgba(255, 255, 255, 0.12);
}

.service-card,
.price-card,
.project-copy,
.work-card,
.gallery-cta,
.contact-form,
.steps li {
  transition: transform 190ms ease, border-color 190ms ease, box-shadow 190ms ease, background 190ms ease;
}

.service-card:hover,
.price-card:hover,
.work-card:hover,
.gallery-cta:hover,
.steps li:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 240, 168, 0.58);
  box-shadow: 0 28px 82px rgba(0, 0, 0, 0.62), 0 0 42px rgba(211, 155, 50, 0.08);
}

.project-copy {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.045)),
    radial-gradient(circle at 12% 0%, rgba(255, 240, 168, 0.08), transparent 18rem);
}

.project-copy::before,
.service-card::before,
.price-card-premium::after {
  content: "";
  display: block;
  width: 56px;
  height: 2px;
  margin-bottom: 18px;
  background: linear-gradient(90deg, #fff4c2, #d39b32, transparent);
  border-radius: 999px;
  opacity: 0.9;
}

.project-meta span,
.project-index a {
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.project-index a:hover,
.project-index a:focus-visible,
.project-meta span:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 240, 168, 0.72);
  background: rgba(255, 240, 168, 0.1);
}

.work-card img,
.work-card video {
  transition: transform 260ms ease, filter 260ms ease;
}

.work-card:hover img,
.work-card:hover video,
.work-card:focus-within img,
.work-card:focus-within video {
  transform: scale(1.018);
  filter: brightness(1.06) contrast(1.03);
}

.work-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.095), rgba(255, 255, 255, 0.04)),
    radial-gradient(circle at top, rgba(255, 240, 168, 0.07), transparent 18rem);
}

.price-card-premium {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.045)),
    radial-gradient(circle at 18% 0%, rgba(255, 240, 168, 0.19), transparent 18rem),
    radial-gradient(circle at 100% 100%, rgba(211, 155, 50, 0.08), transparent 16rem);
}

.price-card-premium::after {
  margin-bottom: 14px;
}

.price-label {
  display: none;
}


.section-heading .eyebrow,
.hero .eyebrow,
.project-copy .eyebrow {
  text-shadow: 0 0 18px rgba(211, 155, 50, 0.28);
}

.gallery-cta {
  position: relative;
  overflow: hidden;
}

.gallery-cta::before {
  content: "";
  position: absolute;
  inset: -40% auto auto -20%;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(255, 240, 168, 0.12), transparent 65%);
  pointer-events: none;
}

.image-lightbox-panel {
  animation: majestic-lightbox-in 180ms ease both;
}

@keyframes majestic-lightbox-in {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 900px) {
  .service-card:hover,
  .price-card:hover,
  .work-card:hover,
  .gallery-cta:hover,
  .steps li:hover {
    transform: none;
  }

  .site-nav a::after {
    left: 16px;
    right: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .button,
  .button::before,
  .service-card,
  .price-card,
  .project-copy,
  .work-card,
  .gallery-cta,
  .steps li,
  .work-card img,
  .work-card video,
  .image-lightbox-panel,
  .project-index a,
  .project-meta span,
  .site-nav a::after {
    transition: none !important;
    animation: none !important;
  }
}

/* Fix Preise und Videobedienung */
.price-cards-premium,
.price-detail-grid {
  align-items: stretch;
}

.price-card-premium {
  overflow: hidden;
  min-width: 0;
}

.price-card-premium h3 {
  min-height: 0 !important;
  font-size: clamp(1.05rem, 1.35vw, 1.22rem) !important;
  line-height: 1.2 !important;
  overflow-wrap: anywhere;
  word-break: normal;
  hyphens: auto;
}

.price-card-premium .price,
.price {
  white-space: normal !important;
  overflow-wrap: normal;
  word-break: normal;
}

.price-card-premium .price {
  font-size: clamp(1.65rem, 2.3vw, 2.2rem) !important;
  line-height: 1.1 !important;
}

.price-card-premium p:last-child {
  max-width: 30ch;
}

.project-video {
  cursor: pointer;
}

.video-card::after {
  content: "Video starten";
  position: absolute;
  right: 12px;
  top: 12px;
  padding: 6px 10px;
  color: #050505;
  background: rgba(255, 240, 168, 0.88);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
  pointer-events: none;
}

.video-card.is-playing::after {
  content: "Video pausieren";
}

@media (max-width: 760px) {
  .price-card-premium h3 {
    font-size: 1.28rem !important;
  }

  .price-card-premium .price {
    font-size: 1.9rem !important;
  }
}

video::-webkit-media-controls-fullscreen-button { display: none !important; }
video::-webkit-media-controls-picture-in-picture-button { display: none !important; }
video::-webkit-media-controls-overflow-button { display: none !important; }

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.social-links a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 8px 13px;
  color: var(--muted);
  text-decoration: none;
  border: 1px solid rgba(245, 210, 123, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
}

.social-links a:hover,
.social-links a:focus-visible {
  color: var(--text);
  background: rgba(255, 255, 255, 0.085);
}


.project-copy h3 {
  margin-top: 0;
}


/* v37 final premium polish */
.site-header {
  background: rgba(5, 5, 5, 0.82);
  border-bottom-color: rgba(245, 210, 123, 0.16);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.section {
  padding: clamp(80px, 8.4vw, 124px) 0;
}

body::before {
  background:
    url("assets/logo-header.png") center 195px / min(25vw, 350px) auto no-repeat,
    radial-gradient(circle at 50% 20%, rgba(245, 210, 123, 0.065), transparent 22%);
  opacity: 0.072;
}

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

.hero h1 {
  font-size: clamp(3rem, 6vw, 5.35rem);
  letter-spacing: -0.045em;
  text-shadow: 0 10px 30px rgba(211, 155, 50, 0.18);
}

.hero-text {
  max-width: 620px;
  margin-top: 24px;
  line-height: 1.75;
}

.section-heading {
  max-width: 800px;
  margin-bottom: 40px;
}

.button {
  min-height: 50px;
  padding: 13px 22px;
  font-weight: 800;
  letter-spacing: 0.01em;
  transition: transform 160ms ease, filter 160ms ease, box-shadow 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button-primary {
  box-shadow: 0 18px 44px rgba(211, 155, 50, 0.24);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.05);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.card-grid,
.work-grid,
.price-cards {
  gap: 24px;
}

.service-card,
.price-card {
  padding: 32px;
}

.service-card h3 {
  margin-bottom: 12px;
  font-size: 1.32rem;
}

.service-card p,
.price-card p,
.steps p,
.project-copy p,
.contact-grid p,
.price-intro p,
.gallery-cta p {
  line-height: 1.75;
}

.icon {
  width: 68px;
  height: 68px;
  margin-bottom: 24px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 20px 42px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(245, 210, 123, 0.04);
}

.project-copy {
  top: 118px;
  padding: 32px;
}

.project-copy h3 {
  margin-bottom: 18px;
}

.feature-list {
  gap: 12px;
  line-height: 1.62;
}

.gallery-cta {
  padding: clamp(32px, 5vw, 44px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.095), rgba(255, 255, 255, 0.04)),
    radial-gradient(circle at top, rgba(255, 240, 168, 0.08), transparent 18rem);
}

.project-note {
  max-width: 920px;
  margin: 26px auto 0;
  text-align: center;
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(235, 235, 235, 0.62);
}

.price-card-premium {
  min-height: 256px;
}

.price-card-premium h3 {
  font-size: clamp(1.14rem, 1.6vw, 1.4rem);
}

.price-card-premium .price {
  font-size: clamp(1.2rem, 1.75vw, 1.42rem) !important;
}

.nav-social-link,
.nav-whatsapp {
  height: 44px;
}

.nav-social-link {
  width: 44px;
}

.nav-whatsapp {
  padding: 0 16px;
}

.contact-actions .button-secondary[href*="instagram"],
.contact-actions .button-secondary[href*="tiktok"] {
  border-color: rgba(245, 210, 123, 0.2);
}

@media (max-width: 900px) {
  body::before {
    background: url("assets/logo-header.png") center 118px / min(54vw, 190px) auto no-repeat;
    opacity: 0.065;
  }

  .section {
    padding: 72px 0;
  }

  .service-card,
  .price-card,
  .project-copy {
    padding: 26px;
  }
}


.nav-whatsapp {
  width: 44px;
  min-width: 44px;
  padding: 0;
  gap: 0;
  border-radius: 14px;
  background: linear-gradient(180deg, #32d86b 0%, #25d366 100%);
  border-color: rgba(255,255,255,0.14);
  box-shadow: 0 14px 28px rgba(37, 211, 102, 0.22);
}

.nav-whatsapp span {
  display: none;
}

.nav-social {
  gap: 12px;
}

@media (max-width: 900px) {
  .nav-whatsapp {
    width: 42px;
    min-width: 42px;
  }
}


/* v40 price card text cleanup */
.price-cards-premium {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(258px, 1fr));
  gap: 28px;
  align-items: stretch;
}

.price-card-premium {
  min-height: 278px;
  padding: 34px 30px;
}

.price-card-premium h3 {
  margin: 0 0 14px;
  font-size: clamp(1.02rem, 1.28vw, 1.2rem);
  line-height: 1.18;
  white-space: nowrap;
  overflow-wrap: normal !important;
  word-break: keep-all !important;
  hyphens: none !important;
}

.price-card-premium .price {
  margin: 0 0 16px;
  font-size: clamp(1.12rem, 1.45vw, 1.32rem) !important;
  line-height: 1.2;
  white-space: nowrap;
  overflow-wrap: normal !important;
  word-break: keep-all !important;
  hyphens: none !important;
}

.price-card-premium p:last-child {
  max-width: 30ch;
  line-height: 1.72;
}

@media (max-width: 1024px) {
  .price-cards-premium {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 22px;
  }

  .price-card-premium {
    min-height: 260px;
    padding: 30px 26px;
  }

  .price-card-premium h3 {
    font-size: 1rem;
  }

  .price-card-premium .price {
    font-size: 1.14rem !important;
  }
}

@media (max-width: 760px) {
  .price-cards-premium {
    grid-template-columns: 1fr;
  }

  .price-card-premium {
    min-height: 0;
  }
}


/* v41 final polish */
.nav-social-link,
.nav-whatsapp {
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.nav-whatsapp svg {
  width: 20px;
  height: 20px;
  fill: #fff;
}

.project-meta {
  gap: 10px;
}

.project-meta span {
  min-width: fit-content;
}

.project-copy h3,
.project-copy p,
.project-meta,
.feature-list {
  max-width: 100%;
}

.nowrap {
  white-space: nowrap;
}


/* v42 luxury final */
:root {
  --shadow-soft-gold: 0 18px 46px rgba(211, 155, 50, 0.16);
}

body::before {
  background:
    url("assets/logo-header.png") center 185px / min(23vw, 320px) auto no-repeat,
    radial-gradient(circle at 50% 20%, rgba(245, 210, 123, 0.05), transparent 20%);
  opacity: 0.065;
}

.hero h1,
.project-copy h3,
.price-card-premium h3,
.gallery-cta h3,
.service-card h3 {
  text-wrap: balance;
}

.site-nav {
  gap: 14px;
}

.site-nav a {
  font-size: 0.98rem;
}

.nav-social {
  gap: 10px;
  margin-left: 14px;
}

.nav-social-link {
  width: 42px;
  height: 42px;
}

.nav-whatsapp {
  border-radius: 12px;
  box-shadow: 0 12px 24px rgba(37, 211, 102, 0.18);
}

.service-card,
.price-card,
.gallery-cta,
.project-copy {
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
}

.service-card:hover,
.price-card:hover,
.gallery-cta:hover,
.project-copy:hover {
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22);
}

.icon {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    var(--shadow-soft-gold),
    0 0 0 1px rgba(245, 210, 123, 0.05);
}

.hero-text,
.section-heading p,
.project-copy p,
.price-card-premium p:last-child,
.gallery-cta p,
.project-note {
  color: rgba(245, 245, 245, 0.82);
}

.project-copy p {
  max-width: 62ch;
}

.project-meta span,
.tag-list span {
  white-space: nowrap;
}

.price-cards-premium {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.price-card-premium {
  min-height: 286px;
  padding: 34px 30px;
}

.price-card-premium h3 {
  font-size: clamp(1rem, 1.15vw, 1.18rem);
  white-space: nowrap;
}

.price-card-premium .price {
  font-size: clamp(1.14rem, 1.45vw, 1.3rem) !important;
  white-space: nowrap;
}

.gallery-cta {
  padding: clamp(34px, 5vw, 48px);
}

.gallery-cta .eyebrow {
  margin-bottom: 10px;
}

.project-note {
  max-width: 820px;
  margin-top: 22px;
}

@media (max-width: 1100px) {
  .price-cards-premium {
    grid-template-columns: 1fr;
  }

  .price-card-premium {
    min-height: 0;
  }
}

@media (max-width: 900px) {
  body::before {
    background: url("assets/logo-header.png") center 112px / min(50vw, 170px) auto no-repeat;
    opacity: 0.06;
  }
}

/* v43 final clean polish */
.hero .button-primary[href="#arbeiten"] {
  box-shadow: 0 18px 44px rgba(211, 155, 50, 0.22);
}

.price-layout-featured {
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.45fr);
  align-items: center;
}

.price-cards-premium {
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: 30px;
}

.price-card-premium {
  min-height: 270px;
  padding: 34px 32px;
}

.price-card-premium h3 {
  font-size: clamp(1.02rem, 1.2vw, 1.18rem) !important;
  line-height: 1.18;
  white-space: nowrap;
  overflow-wrap: normal !important;
  word-break: keep-all !important;
  hyphens: none !important;
}

.price-card-premium .price {
  font-size: clamp(1.14rem, 1.45vw, 1.32rem) !important;
  white-space: nowrap;
}

.price-card-premium p:last-child {
  max-width: 28ch;
  font-size: 1rem;
  line-height: 1.72;
}

@media (max-width: 1180px) {
  .price-layout-featured {
    grid-template-columns: 1fr;
  }

  .price-cards-premium {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .price-cards-premium {
    grid-template-columns: 1fr;
  }

  .price-card-premium {
    min-height: 0;
  }
}

/* Keep the empty hero side intentional and premium */
.hero-grid {
  min-height: 520px;
}

@media (min-width: 1000px) {
  .hero-content {
    max-width: 690px;
  }
}

/* v45 gallery optimisation */
.project-media-grid {
  align-items: start;
}

.work-card {
  align-self: start;
}

.gallery-reveal {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  margin-top: 8px;
}

.gallery-reveal button {
  min-height: 46px;
  padding: 12px 18px;
  color: #050505;
  background: linear-gradient(135deg, #fff4c2 0%, #d39b32 52%, #fff0a8 100%);
  border: 0;
  border-radius: 999px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 14px 34px rgba(211, 155, 50, 0.2);
}

.gallery-reveal button:hover,
.gallery-reveal button:focus-visible {
  filter: brightness(1.05);
}

.gallery-hidden-media {
  display: none;
}

.project-showcase.gallery-expanded .gallery-hidden-media {
  display: block;
}

/* v46 Standort mit Google Maps */
.location-section {
  background: rgba(255, 255, 255, 0.018);
  border-top: 1px solid rgba(245, 210, 123, 0.12);
}

.location-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
  gap: clamp(28px, 5vw, 58px);
  align-items: center;
}

.location-copy {
  max-width: 620px;
}

.location-copy p {
  color: rgba(245, 245, 245, 0.82);
  line-height: 1.75;
}

.location-copy address {
  margin-top: 24px;
  color: var(--text);
  font-style: normal;
  line-height: 1.75;
  padding: 18px 20px;
  border: 1px solid rgba(245, 210, 123, 0.22);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.045);
}

.map-card {
  overflow: hidden;
  min-height: 420px;
  border: 1px solid rgba(245, 210, 123, 0.28);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035));
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
}

.map-card iframe {
  display: block;
  width: 100%;
  height: 420px;
  border: 0;
  filter: grayscale(0.2) contrast(1.02) brightness(0.92);
}

@media (max-width: 900px) {
  .location-grid {
    grid-template-columns: 1fr;
  }

  .map-card,
  .map-card iframe {
    min-height: 340px;
    height: 340px;
  }
}

/* v48: Header Logo exakt wie Version 35 */
.header-inner {
  min-height: 92px !important;
}

.brand img {
  display: block !important;
  width: auto !important;
  height: 66px !important;
  max-height: none !important;
  object-fit: contain !important;
}

@media (max-width: 900px) {
  .header-inner {
    min-height: 84px !important;
  }

  .brand img {
    height: 54px !important;
  }
}

/* v49 restore header logo exactly like version 35 */
.header-inner { min-height: 92px !important; display:flex !important; align-items:center !important; justify-content:space-between !important; gap:24px !important; }
.brand { display:inline-flex !important; align-items:center !important; text-decoration:none !important; }
.brand img { display:block !important; width:auto !important; height:66px !important; max-height:none !important; object-fit:contain !important; filter:drop-shadow(0 0 10px rgba(211,155,50,0.18)) !important; }
@media (max-width: 900px) { .header-inner { min-height:84px !important; } .brand img { height:54px !important; } }
@media (max-width: 560px) { .brand img { height:38px !important; } }
.location-section { background: rgba(255,255,255,0.018); border-top: 1px solid rgba(245,210,123,0.12); }
.location-grid { display:grid; grid-template-columns:minmax(0,0.92fr) minmax(320px,1.08fr); gap:clamp(28px,5vw,58px); align-items:center; }
.location-copy { max-width: 620px; }
.location-copy address { margin-top:24px; color:var(--text); font-style:normal; line-height:1.75; padding:18px 20px; border:1px solid rgba(245,210,123,0.22); border-radius:20px; background: rgba(255,255,255,0.045); }
.map-card { overflow:hidden; min-height:420px; border:1px solid rgba(245,210,123,0.28); border-radius:var(--radius); background:linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.035)); box-shadow:0 18px 48px rgba(0,0,0,0.28); }
.map-card iframe { display:block; width:100%; height:420px; border:0; background:#111; }
@media (max-width: 900px) { .location-grid { grid-template-columns:1fr; } .map-card, .map-card iframe { min-height:340px; height:340px; } }


/* v51 exact logo from version 35 */
.header-inner {
  min-height: 92px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 24px !important;
}
.brand {
  display: inline-flex !important;
  align-items: center !important;
  text-decoration: none !important;
}
.brand img {
  display: block !important;
  width: auto !important;
  height: 66px !important;
  max-height: none !important;
  object-fit: contain !important;
}
@media (max-width: 900px) {
  .header-inner { min-height: 84px !important; }
  .brand img { height: 54px !important; }
}
@media (max-width: 560px) {
  .brand img { height: 38px !important; }
}

/* v51 Standort als sauberer Block mit Karte darunter */
.location-grid {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 28px !important;
  align-items: start !important;
}
.location-copy {
  max-width: 760px !important;
}
.map-card {
  width: 100% !important;
  min-height: 0 !important;
  border-radius: 28px !important;
  overflow: hidden !important;
}
.map-card iframe {
  display: block !important;
  width: 100% !important;
  height: 360px !important;
  border: 0 !important;
}
@media (min-width: 1000px) {
  .map-card iframe { height: 430px !important; }
}

/* v52: Header Logo neu aus hochgeladener Datei */
.header-inner {
  min-height: 92px !important;
}

.brand {
  display: inline-flex !important;
  align-items: center !important;
  text-decoration: none !important;
}

.brand img {
  display: block !important;
  width: auto !important;
  height: 66px !important;
  max-height: none !important;
  object-fit: contain !important;
  filter: drop-shadow(0 0 10px rgba(211, 155, 50, 0.22)) !important;
}

@media (max-width: 900px) {
  .header-inner {
    min-height: 84px !important;
  }

  .brand img {
    height: 54px !important;
  }
}

@media (max-width: 560px) {
  .brand img {
    height: 40px !important;
  }
}

/* v53: Header Logo exakt wie gewünscht wiederhergestellt */
.header-inner {
  min-height: 92px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 24px !important;
}

.brand {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
  flex: 0 0 auto !important;
}

.brand img {
  display: block !important;
  width: auto !important;
  height: 66px !important;
  max-height: none !important;
  object-fit: contain !important;
  filter: drop-shadow(0 0 10px rgba(211, 155, 50, 0.18)) !important;
}

@media (max-width: 900px) {
  .header-inner {
    min-height: 84px !important;
  }

  .brand img {
    height: 54px !important;
  }
}

@media (max-width: 560px) {
  .brand img {
    height: 38px !important;
  }
}

/* v57: neue Sparte Auslesen & Codieren */
.card-grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.price-cards,
.price-cards-premium {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)) !important;
}

/* v58: 4 Leistungsbereiche sauber auf der Startseite */
.card-grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

@media (min-width: 1150px) {
  #leistungen .card-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  #leistungen .service-card {
    padding: 30px 28px;
  }

  #leistungen .service-card h3 {
    font-size: clamp(1.05rem, 1.25vw, 1.28rem);
  }
}

/* v59: Leistungskarten minimal breiter, damit Ambientebeleuchtung nicht umbricht */
@media (min-width: 1150px) {
  #leistungen .card-grid {
    gap: 22px !important;
  }

  #leistungen .service-card {
    padding: 30px 26px !important;
  }

  #leistungen .service-card h3 {
    font-size: clamp(1rem, 1.12vw, 1.22rem) !important;
    line-height: 1.2 !important;
    word-break: keep-all !important;
    overflow-wrap: normal !important;
    hyphens: none !important;
  }
}

@media (min-width: 1280px) {
  #leistungen .card-grid {
    gap: 24px !important;
  }

  #leistungen .service-card {
    padding: 32px 28px !important;
  }
}

/* v61: Sterne funkeln nur noch dezent, keine Bewegung mehr */
body::after,
.hero-background::before,
.hero-background::after,
.section::before,
.section::after {
  transform: none !important;
  background-attachment: fixed;
}

body::after {
  animation: majestic-soft-twinkle 7s ease-in-out infinite alternate !important;
  filter: none !important;
}

.hero-background::before,
.hero-background::after {
  animation: majestic-soft-twinkle 8.5s ease-in-out infinite alternate !important;
  filter: none !important;
}

/* Alle alten Drift/Move Animationen deaktivieren */
@keyframes star-drift {
  from { transform: none; }
  to { transform: none; }
}

@keyframes hero-star-pulse {
  0% { opacity: 0.16; }
  50% { opacity: 0.24; }
  100% { opacity: 0.18; }
}

@keyframes majestic-stars-twinkle {
  0% { opacity: 0.11; }
  50% { opacity: 0.18; }
  100% { opacity: 0.13; }
}

@keyframes majestic-soft-twinkle {
  0% { opacity: 0.10; }
  45% { opacity: 0.17; }
  70% { opacity: 0.13; }
  100% { opacity: 0.16; }
}

/* Barrierefreiheit: bei reduzierter Bewegung komplett ruhig */
@media (prefers-reduced-motion: reduce) {
  body::after,
  .hero-background::before,
  .hero-background::after,
  .section::before,
  .section::after {
    animation: none !important;
  }
}

/* v62: Sterne sichtbarer funkeln lassen, ohne Bewegung */
body::after {
  opacity: 0.22 !important;
  filter: brightness(1.15) !important;
  animation: majestic-visible-twinkle 3.8s ease-in-out infinite alternate !important;
  will-change: opacity, filter;
}

.hero-background::before,
.hero-background::after {
  opacity: 0.26 !important;
  filter: brightness(1.12) !important;
  animation: majestic-visible-twinkle 4.6s ease-in-out infinite alternate !important;
  will-change: opacity, filter;
}

/* keine Positionsbewegung, nur Helligkeit */
@keyframes majestic-visible-twinkle {
  0% {
    opacity: 0.12;
    filter: brightness(0.9);
  }
  35% {
    opacity: 0.28;
    filter: brightness(1.35);
  }
  70% {
    opacity: 0.18;
    filter: brightness(1.05);
  }
  100% {
    opacity: 0.32;
    filter: brightness(1.45);
  }
}

/* kleine Kartensterne nicht animieren, nur Hintergrund */
.section::before,
.section::after {
  animation: none !important;
  transform: none !important;
}

/* Barrierefreiheit */
@media (prefers-reduced-motion: reduce) {
  body::after,
  .hero-background::before,
  .hero-background::after {
    animation: none !important;
    opacity: 0.18 !important;
    filter: none !important;
  }
}

/* v63: echte separate Sternen-Ebene mit sichtbarem Funkeln */
.twinkle-stars-layer {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background-image:
    radial-gradient(circle, rgba(255,255,255,0.95) 0 1px, transparent 2px),
    radial-gradient(circle, rgba(255,240,168,0.95) 0 1.4px, transparent 2.8px),
    radial-gradient(circle, rgba(211,155,50,0.75) 0 1.7px, transparent 3.2px);
  background-size: 92px 92px, 148px 148px, 238px 238px;
  background-position: 18px 24px, 64px 88px, 132px 44px;
  opacity: 0.22;
  mix-blend-mode: screen;
  animation: majestic-real-twinkle 2.8s ease-in-out infinite alternate;
}

.twinkle-stars-layer::before,
.twinkle-stars-layer::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-repeat: repeat;
  mix-blend-mode: screen;
}

.twinkle-stars-layer::before {
  background-image:
    radial-gradient(circle, rgba(255,255,255,1) 0 1.2px, transparent 2.4px),
    radial-gradient(circle, rgba(255,240,168,0.9) 0 1px, transparent 2.2px);
  background-size: 174px 174px, 276px 276px;
  background-position: 40px 70px, 120px 30px;
  opacity: 0.18;
  animation: majestic-real-twinkle-soft 3.6s ease-in-out infinite alternate;
}

.twinkle-stars-layer::after {
  background-image:
    radial-gradient(circle, rgba(255,255,255,1) 0 1.6px, transparent 3.2px),
    radial-gradient(circle, rgba(255,240,168,1) 0 1.8px, transparent 3.6px);
  background-size: 320px 320px, 430px 430px;
  background-position: 180px 120px, 60px 210px;
  opacity: 0.10;
  animation: majestic-real-twinkle-strong 4.2s ease-in-out infinite alternate;
}

/* Inhalt über der Sternen-Ebene halten */
.site-header,
main,
.site-footer,
.motion-control {
  position: relative;
  z-index: 1;
}

/* Lightbox muss fixed bleiben, damit Bilder vollständig mittig geöffnet werden */
.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 500;
  overflow: auto;
}

@keyframes majestic-real-twinkle {
  0% { opacity: 0.12; filter: brightness(0.85); }
  35% { opacity: 0.30; filter: brightness(1.45); }
  70% { opacity: 0.18; filter: brightness(1.05); }
  100% { opacity: 0.34; filter: brightness(1.6); }
}

@keyframes majestic-real-twinkle-soft {
  0% { opacity: 0.07; filter: brightness(0.8); }
  50% { opacity: 0.24; filter: brightness(1.55); }
  100% { opacity: 0.11; filter: brightness(1.0); }
}

@keyframes majestic-real-twinkle-strong {
  0% { opacity: 0.05; filter: brightness(0.8); }
  45% { opacity: 0.18; filter: brightness(1.8); }
  100% { opacity: 0.08; filter: brightness(1.1); }
}

/* Falls alte Hintergrundanimationen stören, aus */
body::after,
.hero-background::before,
.hero-background::after,
.section::before,
.section::after {
  animation: none !important;
  transform: none !important;
}

/* Barrierefreiheit */
@media (prefers-reduced-motion: reduce) {
  .twinkle-stars-layer,
  .twinkle-stars-layer::before,
  .twinkle-stars-layer::after {
    animation: none !important;
    opacity: 0.16 !important;
    filter: none !important;
  }
}

/* Kundenbewertungen */
.reviews-section {
  position: relative;
  overflow: hidden;
}

.reviews-section::before {
  content: "";
  position: absolute;
  inset: 10% auto auto 50%;
  width: min(620px, 72vw);
  height: min(620px, 72vw);
  transform: translateX(-50%);
  border-radius: 999px;
  background: radial-gradient(circle, rgba(211, 155, 50, 0.13), transparent 62%);
  pointer-events: none;
}

.reviews-heading {
  position: relative;
  z-index: 1;
}

.reviews-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.review-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  gap: 18px;
  padding: clamp(24px, 3vw, 30px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.045));
  box-shadow: var(--shadow);
  transition: transform 190ms ease, border-color 190ms ease, box-shadow 190ms ease, background 190ms ease;
}

.review-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 240, 168, 0.58);
  box-shadow: 0 28px 82px rgba(0, 0, 0, 0.62), 0 0 42px rgba(211, 155, 50, 0.08);
}

.review-card-featured {
  border-color: rgba(255, 240, 168, 0.42);
  background: linear-gradient(180deg, rgba(245, 210, 123, 0.13), rgba(255, 255, 255, 0.045));
}

.review-stars {
  color: #f3c95f;
  font-size: 1.18rem;
  letter-spacing: 0.08em;
  text-shadow: 0 0 18px rgba(211, 155, 50, 0.26);
}

.review-card blockquote {
  flex: 1;
  margin: 0;
  color: var(--text);
  font-size: 1.03rem;
  line-height: 1.65;
}

.review-author {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 16px;
  border-top: 1px solid rgba(245, 210, 123, 0.16);
}

.review-author strong {
  color: #fff4c2;
}

.review-author span,
.reviews-cta p {
  color: var(--muted);
}

.reviews-cta {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 24px;
  padding: 22px 24px;
  border: 1px solid rgba(245, 210, 123, 0.2);
  border-radius: calc(var(--radius) - 6px);
  background: rgba(255, 255, 255, 0.045);
}

.reviews-cta p {
  margin: 0;
  max-width: 640px;
}

.reviews-cta .button {
  margin: 0;
}

@media (max-width: 900px) {
  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .reviews-cta {
    align-items: flex-start;
    flex-direction: column;
  }
}


/* v85: Schöne Projektkarten auf den Leistungs-Unterseiten */
.category-project-preview {
  margin-top: clamp(42px, 7vw, 76px);
  padding-top: clamp(34px, 5vw, 54px);
  border-top: 1px solid rgba(245, 210, 123, 0.14);
  scroll-margin-top: 100px;
}

.category-project-heading {
  margin-bottom: 26px;
}

.category-project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.category-project-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
  color: var(--text);
  text-decoration: none;
  border: 1px solid rgba(245, 210, 123, 0.18);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.04)),
    radial-gradient(circle at top left, rgba(245, 210, 123, 0.09), transparent 18rem);
  box-shadow: var(--shadow);
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.category-project-card:hover,
.category-project-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(255, 240, 168, 0.52);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.052)),
    radial-gradient(circle at top left, rgba(245, 210, 123, 0.13), transparent 18rem);
}

.category-project-media {
  position: relative;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.35);
}

.category-project-media img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 220ms ease, filter 220ms ease;
}

.category-project-card:hover .category-project-media img,
.category-project-card:focus-visible .category-project-media img {
  transform: scale(1.025);
  filter: brightness(1.06) contrast(1.02);
}

.category-project-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px;
}

.category-project-content h3 {
  margin: 0 0 10px;
  font-size: clamp(1.08rem, 1.45vw, 1.28rem);
  line-height: 1.25;
}

.category-project-content p {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
}

.category-project-tags {
  margin-top: 16px;
}

.category-project-link {
  display: inline-flex;
  margin-top: auto;
  padding-top: 18px;
  color: var(--accent);
  font-weight: 850;
}

.category-project-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

@media (max-width: 980px) {
  .category-project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .category-project-grid {
    grid-template-columns: 1fr;
  }

  .category-project-content {
    padding: 20px;
  }
}


/* v87: Nachrüstungen kompakter darstellen */
.category-project-preview-compact .category-project-grid {
  grid-template-columns: 1fr;
  max-width: 980px;
  margin-inline: auto;
}

.category-project-preview-compact .category-project-card {
  display: grid;
  grid-template-columns: minmax(180px, 260px) minmax(0, 1fr);
  min-height: 0;
}

.category-project-preview-compact .category-project-media img {
  height: 100%;
  min-height: 190px;
  max-height: 240px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.category-project-preview-compact .category-project-content {
  padding: 22px 24px;
}

@media (max-width: 760px) {
  .category-project-preview-compact .category-project-card {
    grid-template-columns: 1fr;
  }

  .category-project-preview-compact .category-project-media img {
    max-height: 260px;
  }
}


/* v88: Nachrüstungen wie Galerie-Projektkarten, kompakt und per Klick vergrößerbar */
.category-project-showcase .project-showcase {
  margin-top: clamp(30px, 5vw, 52px);
}

.category-project-showcase .project-media-grid {
  align-items: start;
  max-width: 760px;
  margin-inline: auto;
}

.category-project-showcase .work-card img,
.category-project-showcase .work-card video {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.category-project-showcase .text-link {
  margin-top: 18px;
}

@media (max-width: 900px) {
  .category-project-showcase .project-media-grid {
    max-width: none;
  }
}

/* v90: BMW M4 Startseite kompakt ohne JavaScript-Abhängigkeit */
.project-media-details {
  grid-column: 1 / -1;
  margin-top: 10px;
}

.project-media-details > summary {
  list-style: none;
  display: flex;
  justify-content: center;
  width: fit-content;
  min-height: 46px;
  margin: 0 auto;
  padding: 12px 18px;
  color: #050505;
  background: linear-gradient(135deg, #fff4c2 0%, #d39b32 52%, #fff0a8 100%);
  border-radius: 999px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 14px 34px rgba(211, 155, 50, 0.2);
}

.project-media-details > summary::-webkit-details-marker {
  display: none;
}

.project-media-details > summary:hover,
.project-media-details > summary:focus-visible {
  filter: brightness(1.05);
}

.project-media-details .summary-less {
  display: none;
}

.project-media-details[open] .summary-more {
  display: none;
}

.project-media-details[open] .summary-less {
  display: inline;
}

.project-media-extra-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 22px;
}

@media (max-width: 760px) {
  .project-media-extra-grid {
    grid-template-columns: 1fr;
  }
}
