/*
Theme Name:  Pro Sound Pro Light
Theme URI:   https://prosoundprolight.com
Author:      Kai Schneider IT-Solutions
Author URI:  https://service-it-solutions.de
Description: Custom WordPress-Theme für Pro Sound Pro Light — Premium Veranstaltungstechnik aus Würzburg. Design System: Noir Royal.
Version:     1.0.0
Requires at least: 6.4
Requires PHP: 8.0
License:     Proprietary
Text Domain: prosoundprolight
*/

/* ================================================================
   DESIGN TOKENS
   ================================================================ */

:root {
  --color-bg:         #141414;
  --color-surface:    #1E1E1E;
  --color-surface-2:  #252525;
  --color-gold:       #8B7A1A;
  --color-gold-light: #C9A82A;
  --color-gold-dim:   rgba(139, 122, 26, 0.12);
  --color-text:       #F5F1EB;
  --color-text-muted: #A89F94;
  --color-border:     #333028;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  --max-width:   1320px;
  --nav-height:  80px;

  --ease:     cubic-bezier(0.4, 0, 0.2, 1);
  --dur-fast: 200ms;
  --dur-med:  400ms;
  --dur-slow: 700ms;

  --z-base:    1;
  --z-card:    10;
  --z-nav:     100;
  --z-overlay: 1000;
}

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

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

ul { list-style: none; }
a  { color: inherit; text-decoration: none; }

/* ================================================================
   ACCESSIBILITY
   ================================================================ */

.skip-link {
  position: fixed;
  top: -100%;
  left: 1rem;
  background: var(--color-gold-light);
  color: var(--color-bg);
  padding: 0.5rem 1rem;
  z-index: 9999;
  font-size: 0.875rem;
  font-weight: 500;
  transition: top var(--dur-fast);
}
.skip-link:focus { top: 1rem; }

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

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0;
  margin: -1px; overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border-width: 0;
}

/* ================================================================
   NAVIGATION
   ================================================================ */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: var(--z-nav);
  height: var(--nav-height);
  background: linear-gradient(to bottom, rgba(0,0,0,0.6) 0%, transparent 100%);
  transition:
    background var(--dur-med) var(--ease),
    border-color var(--dur-med) var(--ease);
}

.nav.is-scrolled {
  background: rgba(12, 10, 7, 0.93);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--color-border);
}

.nav__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo img {
  height: 70px;
  width: auto;
  filter: drop-shadow(0 1px 4px rgba(0,0,0,0.8));
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav__link {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  position: relative;
  transition: color var(--dur-fast) var(--ease);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--color-gold-light);
  transition: width var(--dur-med) var(--ease);
}

.nav__link:hover { color: var(--color-text); }
.nav__link:hover::after { width: 100%; }

.nav__link--cta {
  color: var(--color-gold);
  border: 1px solid var(--color-gold);
  padding: 0.5rem 1.25rem;
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.nav__link--cta::after { display: none; }
.nav__link--cta:hover { background: var(--color-gold); color: var(--color-bg); }

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  min-width: 48px;
  min-height: 48px;
  align-items: center;
  justify-content: center;
}
.nav__hamburger span {
  display: block;
  width: 24px; height: 1px;
  background: var(--color-text);
  transition: transform var(--dur-fast) var(--ease), opacity var(--dur-fast) var(--ease);
}

/* ================================================================
   HERO
   ================================================================ */

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: -20% 0;
  z-index: 0;
}

.hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
  will-change: transform;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to right, rgba(8,6,4,0.55) 0%, rgba(8,6,4,0.15) 55%, transparent 100%),
    linear-gradient(to bottom, rgba(8,6,4,0.45) 0%, rgba(8,6,4,0.55) 40%, rgba(10,8,5,0.90) 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  padding-top: var(--nav-height);
  width: 100%;
}

.hero__eyebrow {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 1.75rem;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 0.3s forwards;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 11vw, 10.5rem);
  line-height: 0.93;
  letter-spacing: -0.02em;
  margin-bottom: 2.25rem;
}

.hero__title-line {
  display: block;
  opacity: 0;
  animation: fadeUp 0.9s var(--ease) forwards;
}
.hero__title-line:nth-child(1) {
  animation-delay: 0.5s;
  font-weight: 700;
  color: #ffffff;
}
.hero__title-line:nth-child(2) {
  animation-delay: 0.7s;
  font-weight: 300;
  font-style: italic;
  color: var(--color-gold);
}

.hero__subtitle {
  font-size: clamp(0.875rem, 1.4vw, 1rem);
  color: var(--color-text-muted);
  line-height: 1.8;
  max-width: 36ch;
  margin-bottom: 2.75rem;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 0.9s forwards;
}

.hero__cta {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-gold-light);
  border: 1px solid var(--color-gold);
  padding: 0.9rem 2.25rem;
  min-height: 48px;
  transition:
    background var(--dur-med) var(--ease),
    color var(--dur-med) var(--ease),
    border-color var(--dur-med) var(--ease);
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 1.1s forwards;
}
.hero__cta:hover {
  background: var(--color-gold);
  color: var(--color-bg);
  border-color: var(--color-gold);
}

.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;
  color: var(--color-text-muted);
  opacity: 0;
  animation: fadeIn 0.8s var(--ease) 1.5s forwards;
  transition: color var(--dur-fast);
  padding: 8px;
}
.hero__scroll:hover { color: var(--color-gold); }
.hero__scroll-text {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.hero__scroll svg { animation: bounce 2.5s ease-in-out 2s infinite; }

/* ================================================================
   CROWN DIVIDER
   ================================================================ */

.crown-divider {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 3.5rem 2rem;
  max-width: 560px;
  margin: 0 auto;
  color: var(--color-gold);
}

.crown-divider__line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--color-gold), transparent);
  opacity: 0.5;
}

.crown-divider__crown {
  width: 28px;
  height: auto;
  flex-shrink: 0;
  opacity: 0.65;
}

/* ================================================================
   ABOUT
   ================================================================ */

.about {
  padding: clamp(5rem, 10vw, 11rem) 0;
}

.about__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  margin-top: 2.5rem;
  align-items: start;
}

.about__headline {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.25rem, 4.5vw, 3.75rem);
  line-height: 1.1;
  color: var(--color-text);
  letter-spacing: -0.015em;
}

.about__text {
  font-size: 0.9875rem;
  color: var(--color-text-muted);
  line-height: 1.85;
  margin-bottom: 2rem;
  max-width: 65ch;
}

.about__usp {
  background: var(--color-surface);
  border-left: 2px solid var(--color-gold);
  padding: 1.5rem 1.75rem;
  margin-bottom: 2.25rem;
}

.about__usp-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.about__usp-icon {
  color: var(--color-gold);
  font-size: 0.875rem;
  aria-hidden: true;
}

.about__usp strong {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-gold-light);
}

.about__usp p {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.75;
  max-width: 65ch;
}

.about__contacts {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.about__contact {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  transition: color var(--dur-fast);
  min-height: 48px;
}
.about__contact:hover { color: var(--color-text); }

.about__contact-name {
  font-weight: 500;
  color: var(--color-text);
  min-width: 52px;
}

.about__contact-icon {
  flex-shrink: 0;
  opacity: 0.6;
}

/* ================================================================
   LEISTUNGEN
   ================================================================ */

.leistungen {
  padding: clamp(5rem, 10vw, 11rem) 0;
}

.leistungen__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.leistungen__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 4rem;
}

.leistung-card {
  padding: 2.25rem 2rem 1.75rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition:
    background var(--dur-med) var(--ease),
    border-color var(--dur-med) var(--ease),
    transform var(--dur-med) var(--ease);
}

.leistung-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(to right, var(--color-gold), var(--color-gold-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}

.leistung-card:hover {
  background: #1a1915;
  border-color: rgba(139, 122, 26, 0.35);
  transform: translateY(-3px);
}
.leistung-card:hover::after { transform: scaleX(1); }

.leistung-card__title {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 300;
  color: var(--color-text);
  margin-bottom: 0.875rem;
  line-height: 1.2;
}

.leistung-card__text {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.75;
  flex: 1;
  margin-bottom: 1.5rem;
}

.leistung-card__price {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-gold);
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
  margin-top: auto;
}

.leistungen__cta {
  margin-top: 3rem;
  text-align: center;
}

/* ================================================================
   GALERIE
   ================================================================ */

.galerie {
  padding: clamp(5rem, 10vw, 11rem) 0;
}

.galerie__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.galerie__grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 0.625rem;
  margin-top: 4rem;
  height: 580px;
}

.galerie__item {
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.galerie__item--large { grid-row: 1 / 3; }

.galerie__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.65s var(--ease);
}
.galerie__item:hover img { transform: scale(1.05); }

.galerie__item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8, 6, 4, 0.72) 0%, transparent 55%);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity var(--dur-med) var(--ease);
}
.galerie__item:hover .galerie__item-overlay { opacity: 1; }

.galerie__item-overlay span {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text);
}

.galerie__more {
  margin-top: 3rem;
  text-align: center;
}

/* ================================================================
   PARTNER
   ================================================================ */

.partner {
  padding: clamp(4rem, 8vw, 8rem) 0;
  border-top: 1px solid var(--color-border);
}

.partner__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.partner__grid {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 3rem 4rem;
  margin-top: 3.5rem;
}

.partner__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  transition: opacity var(--dur-fast);
}
.partner__item:hover { opacity: 0.8; }

.partner__item img {
  width: 120px;
  height: 80px;
  object-fit: contain;
  filter: grayscale(0.4) brightness(0.85);
  transition: filter var(--dur-med);
}
.partner__item:hover img {
  filter: grayscale(0) brightness(1);
}

.partner__item-name {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

/* ================================================================
   KONTAKT
   ================================================================ */

.kontakt {
  padding: clamp(5rem, 10vw, 11rem) 0;
  border-top: 1px solid var(--color-border);
}

.kontakt__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.kontakt__grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 6rem;
  margin-top: 4rem;
  align-items: start;
}

.kontakt__info-item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 2rem;
}

.kontakt__info-label {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-gold);
}

.kontakt__info-value {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.kontakt__info-value a {
  color: var(--color-text-muted);
  transition: color var(--dur-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 48px;
}
.kontakt__info-value a:hover { color: var(--color-gold-light); }

/* CF7 form styles */
.kontakt__form .wpcf7-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.kontakt__form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

/* CF7 wpautop fügt <p>-Tags ein — als Grid-Items transparent machen */
.kontakt__form .form-row p,
.wpcf7-form .form-row p {
  display: contents;
}

.kontakt__form label {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 0.5rem;
}

.kontakt__form input[type="text"],
.kontakt__form input[type="email"],
.kontakt__form input[type="tel"],
.kontakt__form textarea,
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea {
  width: 100%;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  padding: 0.875rem 1.125rem;
  transition: border-color var(--dur-fast);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.kontakt__form input:focus,
.kontakt__form textarea:focus,
.wpcf7-form input:focus,
.wpcf7-form textarea:focus {
  border-color: var(--color-gold);
}

.kontakt__form textarea,
.wpcf7-form textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.6;
}

.kontakt__form input[aria-invalid="true"],
.wpcf7-form input[aria-invalid="true"],
.kontakt__form textarea[aria-invalid="true"],
.wpcf7-form textarea[aria-invalid="true"] {
  border-color: #c0392b;
}

.wpcf7-not-valid-tip {
  font-size: 0.8rem;
  color: #c0392b;
  margin-top: 0.35rem;
  display: block;
}

.wpcf7-response-output {
  font-size: 0.875rem;
  padding: 0.875rem 1.125rem;
  border: 1px solid var(--color-border);
  margin-top: 0.5rem;
}

.wpcf7-response-output:empty,
.wpcf7 .wpcf7-response-output[style="display: none;"],
.wpcf7 .wpcf7-response-output:not([class*="sent"]):not([class*="error"]):not([class*="invalid"]):not([class*="spam"]) {
  display: none !important;
}

.wpcf7-mail-sent-ok {
  border-color: var(--color-gold) !important;
  color: var(--color-gold-light);
}

.wpcf7-validation-errors,
.wpcf7-spam-blocked {
  border-color: #c0392b !important;
  color: #c0392b;
}

.kontakt__form .form-submit,
.wpcf7-form .form-submit {
  margin-top: 0.5rem;
}

.kontakt__form .btn-submit,
.wpcf7-submit {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-gold-light);
  background: transparent;
  border: 1px solid var(--color-gold);
  padding: 0.9rem 2.5rem;
  min-height: 48px;
  cursor: pointer;
  transition:
    background var(--dur-med) var(--ease),
    color var(--dur-med) var(--ease);
}
.kontakt__form .btn-submit:hover,
.wpcf7-submit:hover {
  background: var(--color-gold);
  color: var(--color-bg);
}

.kontakt__datenschutz {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-top: 0.5rem;
}

.kontakt__datenschutz-check .wpcf7-list-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin: 0;
}

.kontakt__datenschutz-check .wpcf7-list-item-label {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.kontakt__datenschutz-check input[type="checkbox"] {
  margin-top: 0.25rem;
  accent-color: var(--color-gold);
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.kontakt__datenschutz-check a {
  color: var(--color-gold);
}

.kontakt__datenschutz a {
  color: var(--color-gold);
  transition: color var(--dur-fast);
}
.kontakt__datenschutz a:hover { color: var(--color-gold-light); }

/* ================================================================
   SHARED COMPONENTS
   ================================================================ */

.section-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 1rem;
}

.section-header {
  text-align: left;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.5rem, 5vw, 4.25rem);
  line-height: 1.0;
  color: var(--color-text);
  letter-spacing: -0.02em;
}

.btn-outline {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
  padding: 0.9rem 2.5rem;
  min-height: 48px;
  transition:
    border-color var(--dur-med) var(--ease),
    color var(--dur-med) var(--ease);
}
.btn-outline:hover {
  border-color: var(--color-gold);
  color: var(--color-gold-light);
}

/* ================================================================
   FOOTER
   ================================================================ */

.footer {
  background: #0F0D0A;
  border-top: 1px solid var(--color-border);
  padding: 2.5rem 0 1.5rem;
}

.footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.footer__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 1.5rem;
}

.footer__logo {
  height: 80px;
  width: auto;
  margin-bottom: 0.875rem;
}

.footer__tagline {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 0.875rem;
}

.footer__social-links {
  display: flex;
  gap: 0.875rem;
  align-items: center;
  margin-top: 0.25rem;
}

.footer__social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--color-border);
  transition: background var(--dur-fast), border-color var(--dur-fast);
}
.footer__social-btn:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--color-gold);
}
.footer__social-btn img { display: block; }

.footer__nav-title {
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

.footer__nav ul {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer__nav a,
.footer__contact address a,
.footer__contact address p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  display: block;
  transition: color var(--dur-fast);
}
.footer__nav a:hover,
.footer__contact address a:hover { color: var(--color-text); }

.footer__contact address {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer__contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.footer__divider {
  height: 1px;
  background: var(--color-border);
  margin-bottom: 1.25rem;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer__copy {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

.footer__credit {
  color: var(--color-text-muted);
  transition: color var(--dur-fast) var(--ease);
}

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

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

.footer__legal ul {
  display: flex;
  flex-direction: row;
  gap: 1.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer__legal a {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  transition: color var(--dur-fast);
}
.footer__legal a:hover { color: var(--color-gold); }

/* ================================================================
   PAGE TEMPLATES
   ================================================================ */

.page-hero {
  padding: calc(var(--nav-height) + 5rem) 0 5rem;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
}

.page-hero__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.page-hero__eyebrow {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 1.25rem;
}

.page-hero__title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(3rem, 6vw, 5.5rem);
  line-height: 1.0;
  letter-spacing: -0.02em;
}

.page-content {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 5rem 2rem;
}

/* Galerie Full Page */
.galerie-full__grid {
  columns: 3;
  column-gap: 0.625rem;
  margin-top: 4rem;
}

.galerie-full__item {
  break-inside: avoid;
  margin-bottom: 0.625rem;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.galerie-full__item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.65s var(--ease);
}
.galerie-full__item:hover img { transform: scale(1.03); }

/* Gutenberg-Blöcke im Leistungen-Template */
.page-content .wp-block-heading {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 500;
  color: var(--color-gold-light);
  letter-spacing: 0.04em;
  margin-top: 4rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--color-border);
}

.page-content .wp-block-heading:first-child {
  margin-top: 0;
}

.page-content .wp-block-paragraph {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.page-content .wp-block-table {
  margin-bottom: 0;
}

.page-content .wp-block-table table {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-surface);
}

.page-content .wp-block-table thead tr {
  border-bottom: 1px solid var(--color-gold);
}

.page-content .wp-block-table th {
  text-align: left;
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold);
  padding: 0.75rem 1rem;
}

.page-content .wp-block-table td {
  padding: 0.875rem 1rem;
  border-bottom: 1px solid rgba(51, 48, 40, 0.5);
  color: var(--color-text-muted);
  font-size: 0.9rem;
  vertical-align: top;
}

.page-content .wp-block-table td:first-child {
  color: var(--color-text);
  font-weight: 500;
}

.page-content .wp-block-table td:last-child {
  color: var(--color-gold-light);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.page-content .wp-block-table tr:last-child td {
  border-bottom: none;
}

.page-content .wp-block-table tr:hover td {
  background: var(--color-surface-2);
}

.page-content .wp-block-separator {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: 3rem 0;
}

/* Leistungen Full Page */
.leistungen-section {
  padding: 4rem 0;
  border-bottom: 1px solid var(--color-border);
}

.leistungen-section:last-child { border-bottom: none; }

.leistungen-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 2rem;
  font-size: 0.9rem;
}

.leistungen-table th {
  text-align: left;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-gold);
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--color-border);
}

.leistungen-table td {
  padding: 0.875rem 1rem;
  border-bottom: 1px solid rgba(51, 48, 40, 0.5);
  color: var(--color-text-muted);
  vertical-align: top;
  line-height: 1.5;
}

.leistungen-table tr:last-child td { border-bottom: none; }
.leistungen-table tr:hover td { background: var(--color-surface); }

.leistungen-table td:first-child { color: var(--color-text); }

.leistungen-price {
  color: var(--color-gold) !important;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.leistungen-cta {
  margin-top: 4rem;
  text-align: center;
}

.leistungen-cta .about__text {
  margin-bottom: 2rem;
}

/* Produkt-Cards (Gutenberg Columns) */
.pspl-card {
  gap: 0 !important;
  border: 1px solid var(--color-border) !important;
  background: var(--color-surface) !important;
  margin-bottom: 1rem !important;
  overflow: hidden;
  position: relative;
  min-height: 160px;
  max-height: 220px;
  align-items: stretch !important;
  transition: border-color var(--dur-med), background var(--dur-med);
}
.pspl-card:hover {
  border-color: rgba(139, 122, 26, 0.4) !important;
  background: #1a1915 !important;
}
.pspl-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(to right, var(--color-gold), var(--color-gold-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
  z-index: 1;
}
.pspl-card:hover::before { transform: scaleX(1); }

.pspl-card__img-col {
  padding: 0 !important;
  overflow: hidden;
  border-right: 1px solid var(--color-border);
  background: #1a1a1a;
}

.pspl-card__img {
  margin: 0 !important;
  width: 100%;
  height: 100%;
  display: flex !important;
  align-items: center;
  justify-content: center;
}
.pspl-card__img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  padding: 1rem;
  filter: brightness(0.95);
  transition: filter 0.5s var(--ease), transform 0.5s var(--ease);
}
.pspl-card:hover .pspl-card__img img {
  filter: brightness(1.05);
  transform: scale(1.03);
}

.pspl-card__body-col {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  padding: 1.75rem 2rem !important;
  gap: 0.5rem !important;
}

.pspl-card__title {
  font-family: var(--font-display) !important;
  font-size: 1.375rem !important;
  font-weight: 300 !important;
  color: var(--color-text) !important;
  line-height: 1.2 !important;
  margin: 0 !important;
}

.pspl-card__details {
  font-size: 0.875rem !important;
  color: var(--color-text-muted) !important;
  line-height: 1.65 !important;
  margin: 0 !important;
}

.pspl-card__price {
  font-size: 0.65rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
  color: var(--color-gold) !important;
  margin: 0.25rem 0 0 !important;
  padding-top: 0.75rem !important;
  border-top: 1px solid var(--color-border) !important;
}

@media (max-width: 640px) {
  .pspl-card { flex-direction: column !important; max-height: none !important; }
  .pspl-card__img-col { border-right: none; border-bottom: 1px solid var(--color-border); aspect-ratio: 4/3; min-height: unset; max-height: none; }
  .pspl-card__img { height: 100% !important; }
  .pspl-card__img img { height: 100% !important; }
}

/* Produkt-Cards (Custom HTML Blöcke, legacy) */
.pspl-product-card {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: 160px;
  border: 1px solid var(--color-border);
  margin-bottom: 1rem;
  position: relative;
  overflow: hidden;
  background: var(--color-surface);
  transition: border-color var(--dur-med), background var(--dur-med);
}
.pspl-product-card:hover {
  border-color: rgba(139, 122, 26, 0.4);
  background: #1a1915;
}

.pspl-product-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(to right, var(--color-gold), var(--color-gold-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
  z-index: 1;
}
.pspl-product-card:hover::before { transform: scaleX(1); }

.pspl-product-card__image {
  overflow: hidden;
  position: relative;
  border-right: 1px solid var(--color-border);
}
.pspl-product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.8) saturate(0.85);
  transition: filter 0.5s var(--ease), transform 0.5s var(--ease);
}
.pspl-product-card:hover .pspl-product-card__image img {
  filter: brightness(0.95) saturate(1);
  transform: scale(1.05);
}

.pspl-product-card__body {
  padding: 1.75rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.5rem;
}

.pspl-product-card__title {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 300;
  color: var(--color-text);
  line-height: 1.2;
  margin: 0 0 0.25rem;
}

.pspl-product-card__details {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  margin: 0;
}

.pspl-product-card__price {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--color-border);
}

@media (max-width: 640px) {
  .pspl-product-card { grid-template-columns: 1fr; }
  .pspl-product-card__image { height: 200px; border-right: none; border-bottom: 1px solid var(--color-border); }
}

/* 404 */
.not-found {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--nav-height) 2rem 5rem;
}

.not-found__inner {
  max-width: 640px;
  text-align: center;
}

.not-found__code {
  font-family: var(--font-display);
  font-size: clamp(6rem, 15vw, 12rem);
  font-weight: 300;
  color: var(--color-gold);
  opacity: 0.25;
  line-height: 1;
  margin-bottom: 1rem;
}

.not-found__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  margin-bottom: 1rem;
}

.not-found__text {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.75;
  margin-bottom: 2.5rem;
}

/* ================================================================
   ANIMATIONS
   ================================================================ */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(7px); }
}

.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition:
    opacity var(--dur-slow) var(--ease),
    transform var(--dur-slow) var(--ease);
}

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

.leistungen__grid .leistung-card:nth-child(2) { transition-delay: 80ms; }
.leistungen__grid .leistung-card:nth-child(3) { transition-delay: 160ms; }
.leistungen__grid .leistung-card:nth-child(4) { transition-delay: 80ms; }
.leistungen__grid .leistung-card:nth-child(5) { transition-delay: 160ms; }
.leistungen__grid .leistung-card:nth-child(6) { transition-delay: 240ms; }

.galerie__grid .galerie__item:nth-child(2) { transition-delay: 120ms; }
.galerie__grid .galerie__item:nth-child(3) { transition-delay: 240ms; }

/* ================================================================
   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; }
  .reveal { opacity: 1; transform: none; }
}

/* ================================================================
   PRINT
   ================================================================ */

@media print {
  header, footer, .nav, .hero__scroll, .back-to-top { display: none; }
  body { background: white; color: black; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 0.85em; }
  h1, h2, h3 { page-break-after: avoid; }
  img { page-break-inside: avoid; max-width: 100%; }
  .container, main { max-width: 100%; margin: 0; padding: 0; }
}

/* ================================================================
   RESPONSIVE
   ================================================================ */

@media (max-width: 1024px) {
  .leistungen__grid { grid-template-columns: repeat(2, 1fr); }

  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .about__grid { gap: 3rem; }

  .kontakt__grid { grid-template-columns: 1fr; gap: 3rem; }
  .galerie-full__grid { columns: 2; }
}

@media (max-width: 768px) {
  :root { --nav-height: 64px; }

  .nav__links {
    display: none;
    position: fixed;
    top: var(--nav-height); left: 0; right: 0;
    background: rgba(12, 10, 7, 0.97);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    border-top: 1px solid var(--color-border);
    z-index: var(--z-nav);
  }
  .nav__links.is-open { display: flex; }
  .nav__hamburger { display: flex; }

  .about__grid { grid-template-columns: 1fr; gap: 2.5rem; }

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

  .galerie__grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 240px 180px;
    height: auto;
  }
  .galerie__item--large {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .footer { padding: 2.5rem 0 1.5rem; }
  .footer__top {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
  }
  .footer__brand { grid-column: 1; display: flex; flex-direction: column; align-items: center; }
  .footer__logo { height: 60px; margin-bottom: 0.5rem; display: block; }
  .footer__tagline { margin-bottom: 0.5rem; font-size: 0.8rem; }
  .footer__social-links { justify-content: center; }
  .footer__nav { border-top: 1px solid var(--color-border); padding-top: 1.5rem; }
  .footer__nav ul { align-items: center; gap: 0.5rem; }
  .footer__contact { border-top: 1px solid var(--color-border); padding-top: 1.5rem; }
  .footer__contact address { align-items: center; }
  .footer__bottom { flex-direction: column; gap: 0.75rem; text-align: center; }
  .footer__legal { flex-wrap: wrap; justify-content: center; gap: 0.75rem; }

  .galerie-full__grid { columns: 1; }

  .partner__grid { gap: 2rem 2.5rem; }
}

@media (max-width: 520px) {
  .hero__title {
    font-size: clamp(3.5rem, 14vw, 5rem);
  }
  .kontakt__form .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 375px) {
  .nav__inner { padding: 0 1rem; }
  .about__inner,
  .leistungen__inner,
  .galerie__inner,
  .partner__inner,
  .kontakt__inner,
  .footer__inner { padding: 0 1rem; }
}
