/* =========================================================
   GXR Frame – Theme Stylesheet
   Farben: #0A0A0A (Hintergrund) / #D4AF37 (Gold) / #FFFFFF / #1A1A1A
   ========================================================= */

:root {
  --bg: #0a0a0a;
  --surface: #1a1a1a;
  --gold: #d4af37;
  --gold-light: #f4e4a6;
  --white: #ffffff;
  --text-muted: #b0b0b0;
  --border: rgba(212, 175, 55, 0.2);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background-color: var(--bg);
  color: var(--white);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
}

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

a { color: inherit; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.kicker {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.gold-underline {
  width: 64px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 50%, var(--gold) 100%);
  margin: 16px auto 0;
}
.text-left .gold-underline { margin-left: 0; }

h1, h2, h3 { font-weight: 700; margin: 0 0 12px; }

.section { padding: 100px 0; position: relative; }
.section--alt { background: var(--surface); }
.section-heading { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-heading h2 { font-size: 34px; }
.section-heading p { color: var(--text-muted); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 999;
  background: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}
.site-header .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.site-header .logo img {
  height: 56px;
  width: auto;
  transition: transform 0.3s ease;
}
.site-header .logo:hover img { transform: scale(1.05); }
.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 28px;
}
.site-nav a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s ease;
}
.site-nav a:hover { color: var(--gold); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
}
.btn--primary {
  background: linear-gradient(135deg, #c9a227 0%, #d4af37 40%, #f0d878 100%);
  color: #000000 !important;
  text-shadow: none;
  box-shadow: 0 0 18px rgba(212, 175, 55, 0.35);
}
.btn--primary:hover {
  box-shadow: 0 0 32px rgba(212, 175, 55, 0.55);
  transform: translateY(-2px);
  color: #000000 !important;
}
.btn--outline {
  background: transparent;
  border: 1px solid rgba(212, 175, 55, 0.55);
  color: var(--gold);
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.15);
}
.btn--outline:hover {
  background: rgba(212, 175, 55, 0.12);
  box-shadow: 0 0 22px rgba(212, 175, 55, 0.35);
  color: var(--gold-light);
}
.btn--sm { padding: 8px 20px; font-size: 13px; }
.btn--lg { padding: 16px 36px; font-size: 15px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 200px 24px 100px;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(212, 175, 55, 0.12), transparent 60%),
    var(--bg);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image:
    linear-gradient(var(--gold) 1px, transparent 1px),
    linear-gradient(90deg, var(--gold) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; max-width: 720px; }
.hero-logo-wrap { position: relative; margin-bottom: 24px; }
.hero-logo-wrap::before {
  content: "";
  position: absolute;
  inset: -40px;
  background: rgba(212, 175, 55, 0.2);
  filter: blur(80px);
  border-radius: 999px;
  z-index: -1;
}
.hero-logo-wrap img {
  height: 130px;
  width: auto;
  margin: 0 auto;
  filter: drop-shadow(0 0 45px rgba(212, 175, 55, 0.3));
}
.hero-kicker {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 16px;
}
.hero-claim { font-size: 28px; color: var(--gold); font-weight: 600; margin-bottom: 16px; }
.hero-subline { font-size: 30px; color: var(--white); margin-bottom: 32px; line-height: 1.3; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center; }
@media (min-width: 860px) { .about-grid { grid-template-columns: 1.1fr 0.9fr; } }
.about-text p { color: var(--text-muted); margin-bottom: 16px; }
.about-photo { position: relative; max-width: 420px; margin: 0 auto; }
.about-photo-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 0 40px rgba(212, 175, 55, 0.12);
}
.about-photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.about-photo-frame::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.5), transparent 60%);
}
.about-photo-border {
  position: absolute; inset: -12px;
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 18px;
  z-index: -1;
}

/* ---------- Video ---------- */
.video-frame {
  max-width: 860px;
  margin: 0 auto;
  aspect-ratio: 16/9;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #000;
  box-shadow: 0 0 40px rgba(212, 175, 55, 0.15);
  position: relative;
}
.video-frame iframe { width: 100%; height: 100%; border: 0; }
.video-placeholder {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px; color: rgba(255,255,255,0.6); text-align: center; padding: 24px;
  background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), center/cover no-repeat;
}

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 640px) { .services-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }
.service-card {
  background: rgba(26, 26, 26, 0.6);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 28px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 175, 55, 0.4);
  box-shadow: 0 0 40px rgba(212, 175, 55, 0.15);
}
.service-icon {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 10px;
  border: 1px solid rgba(212, 175, 55, 0.3);
  background: rgba(212, 175, 55, 0.1);
  margin-bottom: 16px;
  color: var(--gold);
  flex-shrink: 0;
}
.service-icon svg { width: 22px; height: 22px; }
.service-card h3 { font-size: 18px; }
.service-card p { color: var(--text-muted); font-size: 14px; margin-bottom: 0; }
.service-price {
  color: var(--gold);
  font-weight: 700;
  font-size: 15px;
  margin-top: 20px;
  padding-top: 0;
}
.services-note { text-align: center; color: rgba(255,255,255,0.4); font-size: 12px; margin-top: 32px; }

/* ---------- References ---------- */
.ref-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (min-width: 640px) { .ref-grid { grid-template-columns: repeat(4, 1fr); } }
.ref-tile {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(26, 26, 26, 0.6);
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.ref-tile:hover { transform: translateY(-4px); border-color: rgba(212, 175, 55, 0.4); }
.ref-tile-media {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  background: #000;
}
.ref-tile-label {
  margin: 0;
  padding: 12px 14px;
  font-size: 13px;
  color: var(--text-muted);
}

.ref-quote-card {
  max-width: 640px;
  margin: 40px auto 0;
  text-align: center;
  padding: 28px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  background: rgba(10,10,10,0.4);
}
.ref-quote-card p.quote { color: var(--text-muted); font-style: italic; margin-bottom: 8px; }
.ref-quote-card p.name { color: var(--gold); font-weight: 700; margin: 0; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 48px; }
@media (min-width: 860px) { .contact-grid { grid-template-columns: 2fr 3fr; } }
.contact-info p { color: var(--text-muted); margin-bottom: 24px; }
.contact-info a.info-line { display: flex; align-items: center; gap: 10px; color: var(--text-muted); text-decoration: none; margin-bottom: 12px; }
.contact-info a.info-line:hover { color: var(--gold); }
.info-icon {
  display: flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; flex-shrink: 0;
  border-radius: 8px;
  border: 1px solid rgba(212, 175, 55, 0.3);
  background: rgba(212, 175, 55, 0.1);
  color: var(--gold);
}
.info-icon svg { width: 16px; height: 16px; }

form.gxr-contact-form { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.form-field label {
  display: block; font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.05em; color: rgba(255,255,255,0.6); margin-bottom: 8px;
}
.form-field input, .form-field select, .form-field textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.1);
  background: var(--surface);
  color: var(--white);
  font-size: 14px;
  font-family: inherit;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: rgba(212, 175, 55, 0.5);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}
.form-notice {
  padding: 14px 18px; border-radius: 8px; font-size: 14px; margin-bottom: 8px;
}
.form-notice--success { background: rgba(212, 175, 55, 0.1); border: 1px solid rgba(212, 175, 55, 0.3); color: var(--gold); }
.form-notice--error { background: rgba(220, 38, 38, 0.1); border: 1px solid rgba(220, 38, 38, 0.3); color: #f87171; }

/* ---------- Footer ---------- */
.site-footer {
  background: #000;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 48px 0;
  text-align: center;
}
.site-footer img { height: 32px; margin: 0 auto 20px; opacity: 0.8; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; margin-bottom: 16px; }
.footer-links a { color: rgba(255,255,255,0.6); text-decoration: none; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; }
.footer-links a:hover { color: var(--gold); }
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.3); }

/* ---------- Weitere Inhalte (frei im Block-Editor/Gutenberg gepflegt) ---------- */
.gxr-freitext { color: var(--text-muted); }
.gxr-freitext .container { max-width: 860px; }
.gxr-freitext h1, .gxr-freitext h2, .gxr-freitext h3, .gxr-freitext h4 { color: var(--white); }
.gxr-freitext p { margin: 0 0 16px; }
.gxr-freitext a { color: var(--gold); }
.gxr-freitext img { border-radius: 12px; }
.gxr-freitext figure { margin: 0 0 24px; }
.gxr-freitext .wp-block-gallery { margin-bottom: 24px; }
.gxr-freitext blockquote {
  border-left: 3px solid var(--gold);
  padding-left: 20px;
  margin: 0 0 24px;
  color: var(--text-muted);
  font-style: italic;
}
.gxr-freitext .wp-block-button__link {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: #0a0a0a;
  border-radius: 8px;
  font-weight: 700;
}

/* ---------- Legal pages (Impressum/Datenschutz) ---------- */
.legal-page { padding: 160px 24px 100px; max-width: 760px; margin: 0 auto; }
.legal-page h1 { font-size: 30px; margin-bottom: 32px; }
.legal-page .legal-content { color: var(--text-muted); white-space: pre-wrap; line-height: 1.8; }
.legal-back { display: inline-flex; align-items: center; gap: 8px; color: var(--gold); text-decoration: none; margin-bottom: 32px; font-size: 14px; }

/* ---------- Goldener Pulse-Glow (Buttons, Angebote, Bild-Rahmen) ---------- */
@keyframes gxr-pulse-btn {
  0%, 100% {
    box-shadow:
      0 0 10px rgba(212, 175, 55, 0.25),
      0 0 22px rgba(212, 175, 55, 0.15);
  }
  50% {
    box-shadow:
      0 0 18px rgba(212, 175, 55, 0.55),
      0 0 36px rgba(212, 175, 55, 0.35),
      0 0 50px rgba(240, 216, 120, 0.2);
  }
}
.btn--primary {
  animation: gxr-pulse-btn 2.8s ease-in-out infinite;
  color: #000000 !important;
}
.btn--primary:hover {
  animation-play-state: paused;
  box-shadow:
    0 0 24px rgba(212, 175, 55, 0.6),
    0 0 42px rgba(212, 175, 55, 0.4);
  transform: translateY(-2px);
  color: #000000 !important;
}

/* Outline-Button bekommt einen leiseren Glow */
@keyframes gxr-pulse-outline {
  0%, 100% { box-shadow: 0 0 8px rgba(212, 175, 55, 0.1); }
  50%      { box-shadow: 0 0 18px rgba(212, 175, 55, 0.3); }
}
.btn--outline {
  animation: gxr-pulse-outline 3.2s ease-in-out infinite;
}
.btn--outline:hover {
  animation-play-state: paused;
}

@keyframes gxr-pulse-icon {
  0%, 100% { box-shadow: 0 0 0 rgba(212, 175, 55, 0); }
  50%      { box-shadow: 0 0 14px rgba(212, 175, 55, 0.3); }
}
.service-icon, .info-icon { animation: gxr-pulse-icon 4s ease-in-out infinite; }
.services-grid .service-card:nth-child(2) .service-icon { animation-delay: 0.5s; }
.services-grid .service-card:nth-child(3) .service-icon { animation-delay: 1s; }
.services-grid .service-card:nth-child(4) .service-icon { animation-delay: 1.5s; }
.services-grid .service-card:nth-child(5) .service-icon { animation-delay: 2s; }
.contact-info .info-icon:nth-of-type(2) { animation-delay: 0.7s; }

@keyframes gxr-pulse-frame {
  0%, 100% { box-shadow: 0 0 40px rgba(212, 175, 55, 0.08); }
  50%      { box-shadow: 0 0 44px rgba(212, 175, 55, 0.22); }
}
.about-photo-frame, .video-frame, .ref-tile { animation: gxr-pulse-frame 5s ease-in-out infinite; }
.video-frame { animation-delay: 0.8s; }
.ref-grid .ref-tile:nth-child(2) { animation-delay: 0.6s; }
.ref-grid .ref-tile:nth-child(3) { animation-delay: 1.2s; }
.ref-grid .ref-tile:nth-child(4) { animation-delay: 1.8s; }

@keyframes gxr-pulse-hero-glow {
  0%, 100% { opacity: 0.55; }
  50%      { opacity: 1; }
}
.hero-logo-wrap::before { animation: gxr-pulse-hero-glow 4.5s ease-in-out infinite; }

@media (prefers-reduced-motion: reduce) {
  .btn--primary,
  .btn--outline,
  .service-icon,
  .info-icon,
  .about-photo-frame,
  .video-frame,
  .ref-tile,
  .hero-logo-wrap::before {
    animation: none;
  }
}

/* ---------- Mobile nav toggle (simple) ---------- */
@media (max-width: 700px) {
  .site-nav { display: none; }
  .site-nav.is-open { display: flex; }
  .nav-toggle { display: inline-flex; }
}
.nav-toggle { display: none; }
