/*
Theme Name: Luftschloss Veranstaltungstechnik
Theme URI: https://luftschloss-veranstaltungstechnik.de
Author: BDMedien
Author URI: https://bdmedien.de
Description: Individuelles One-Page-Theme für Luftschloss Veranstaltungstechnik – Hüpfburgen, Partyzelte, Fotoboxen & mehr im Raum Dillingen und Donauwörth. Lokale Fonts, keine externen CDNs.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
Text Domain: luftschloss
*/

/* ============================================
   Lokale Webfonts (assets/fonts/)
   Ersetzt die ursprüngliche Google-Fonts-Einbindung – DSGVO-konform.
   Pfade sind relativ zu style.css (Theme-Root).
   ============================================ */
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('assets/fonts/Nunito-normal-300.woff2') format('woff2');
}
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/Nunito-normal-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('assets/fonts/Nunito-normal-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('assets/fonts/Nunito-normal-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('assets/fonts/Nunito-normal-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Baloo 2';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/Baloo-2-normal-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Baloo 2';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('assets/fonts/Baloo-2-normal-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Baloo 2';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('assets/fonts/Baloo-2-normal-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Baloo 2';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('assets/fonts/Baloo-2-normal-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Baloo 2';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('assets/fonts/Baloo-2-normal-800.woff2') format('woff2');
}

/* ============================================
   Seiten-Styles (übernommen aus dem Original-Markup)
   ============================================ */
:root {
  --gold: #ebc876;
  --gold-light: #f5dfa0;
  --gold-dark: #c9a452;
  --blue: #1a749b;
  --blue-dark: #125071;
  --blue-light: #2a92c4;
  --blue-pale: #e8f2f8;
  --white: #ffffff;
  --off-white: #fafaf7;
  --cream: #f5f0e3;
  --dark: #1a1a2e;
  --dark-soft: #2d2d44;
  --text: #3a3a4a;
  --text-light: #6b6b7b;
  --shadow-soft: 0 4px 20px rgba(43, 102, 141, 0.08);
  --shadow-medium: 0 8px 40px rgba(43, 102, 141, 0.12);
  --shadow-heavy: 0 16px 60px rgba(43, 102, 141, 0.18);
  --shadow-gold: 0 4px 24px rgba(235, 200, 118, 0.35);
  --radius-sm: 2px;
  --radius-md: 2px;
  --radius-lg: 4px;
  --radius-xl: 4px;
  --transition: 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --color-whatsapp: #25D366;
  --shadow-whatsapp: 0 4px 24px rgba(37, 211, 102, 0.35);
  --nav-scrolled-bg: rgba(255, 255, 255, 0.95);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  font-size: 16px;
  overflow-x: clip;
}

body {
  font-family: 'Nunito', sans-serif;
  color: var(--text);
  background: var(--off-white);
  line-height: 1.7;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Baloo 2', cursive;
  line-height: 1.2;
  color: var(--dark);
}

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

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

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

ul { list-style: none; }

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


.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 12px 0;
  transition: var(--transition);
  background: transparent;
}

.nav.scrolled {
  background: var(--nav-scrolled-bg);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-soft);
  padding: 8px 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 1001;
}

.nav-logo img {
  height: 52px;
  width: auto;
  transition: var(--transition);
  border-radius: 50%;
}

.nav.scrolled .nav-logo img {
  height: 44px;
}

.nav-logo-text {
  font-family: 'Baloo 2', cursive;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--white);
  line-height: 1.2;
  transition: var(--transition);
}

.nav.scrolled .nav-logo-text {
  color: var(--dark);
}

.nav-logo-text span {
  display: block;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  font-family: 'Nunito', sans-serif;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-weight: 600;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
  position: relative;
  padding: 4px 0;
  transition: color var(--transition);
}

.nav.scrolled .nav-links a {
  color: var(--text);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.is-active::after {
  width: 100%;
}

.nav-links a.is-active {
  color: var(--gold);
}

.nav.scrolled .nav-links a.is-active {
  color: var(--blue);
}

.nav-cta {
  background: var(--gold) !important;
  color: var(--dark) !important;
  padding: 10px 24px !important;
  border-radius: var(--radius-xl) !important;
  font-weight: 700 !important;
  font-size: 0.85rem !important;
  letter-spacing: 0.5px;
  transition: var(--transition) !important;
}

.nav-cta::after { display: none !important; }

.nav-cta:hover {
  transform: translateY(-2px) scale(1.05);
}


.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1001;
  padding: 8px;
  border: 0;
  background: transparent;
  appearance: none;
}

.nav-burger span {
  width: 28px;
  height: 3px;
  background: var(--white);
  border-radius: 4px;
  transition: var(--transition);
}

.nav.scrolled .nav-burger span {
  background: var(--dark);
}

.nav-burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.nav-burger.active span:nth-child(2) {
  opacity: 0;
}

.nav-burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

.nav-mobile {
  position: fixed;
  inset: 0;
  background: var(--dark);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.nav-mobile.active {
  opacity: 1;
  visibility: visible;
}

.nav-mobile a {
  font-family: 'Baloo 2', cursive;
  font-size: 1.8rem;
  color: var(--white);
  font-weight: 600;
  transition: var(--transition);
}

.nav-mobile a:hover,
.nav-mobile a.is-active {
  color: var(--gold);
}


.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background: linear-gradient(135deg, var(--dark) 0%, var(--blue) 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(26, 26, 46, 0.9) 0%, rgba(29, 74, 104, 0.76) 48%, rgba(26, 26, 46, 0.42) 100%),
    radial-gradient(ellipse at 20% 50%, rgba(224, 197, 112, 0.18) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(43, 102, 141, 0.28) 0%, transparent 50%),
    radial-gradient(ellipse at 60% 80%, rgba(224, 197, 112, 0.12) 0%, transparent 40%);
  z-index: 1;
}

.hero-confetti {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  pointer-events: none;
}

.confetti-piece {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  opacity: 0;
  animation: confetti-fall linear infinite;
}

@keyframes confetti-fall {
  0% {
    transform: translateY(-100px) rotate(0deg);
    opacity: 0;
  }
  10% { opacity: 0.8; }
  90% { opacity: 0.6; }
  100% {
    transform: translateY(100vh) rotate(720deg);
    opacity: 0;
  }
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 720px;
  padding: 120px 0 80px;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.2rem);
  color: var(--white);
  font-weight: 800;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(30px);
  animation: reveal 0.55s 0.08s forwards;
}

.hero h1 .highlight {
  color: var(--gold);
  position: relative;
  display: inline-block;
}

.hero h1 .highlight::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  right: 0;
  height: 6px;
  background: rgba(224, 197, 112, 0.3);
  border-radius: 3px;
}

.hero-sub {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 40px;
  line-height: 1.8;
  max-width: 560px;
  opacity: 0;
  transform: translateY(30px);
  animation: reveal 0.55s 0.16s forwards;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  opacity: 0;
  transform: translateY(30px);
  animation: reveal 0.55s 0.24s forwards;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gold);
  color: var(--dark);
  padding: 16px 36px;
  border-radius: var(--radius-xl);
  font-weight: 700;
  font-size: 1rem;
  font-family: 'Baloo 2', cursive;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.03);
  background: var(--gold-light);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--white);
  padding: 16px 36px;
  border-radius: var(--radius-xl);
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid rgba(255, 255, 255, 0.3);
  transition: var(--transition);
  cursor: pointer;
}

.btn-secondary:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(224, 197, 112, 0.08);
}

.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0;
  transform: translateY(30px);
  animation: reveal 0.55s 0.32s forwards;
}

.hero-stat h3 {
  font-size: 2.2rem;
  color: var(--gold);
  font-weight: 800;
}

.hero-stat p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  max-width: none;
  z-index: 0;
  opacity: 1;
}

.hero-image picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 0;
}

@keyframes reveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


.trust-bar {
  background: linear-gradient(135deg, var(--blue) 0%, #3079a0 100%);
  padding: 0;
  position: relative;
}

.trust-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  padding: 40px 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  transition: var(--transition);
  position: relative;
}

.trust-item:last-child {
  border-right: none;
}

.trust-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 3px;
  background: var(--gold);
  border-radius: 0 0 3px 3px;
  transition: width 0.35s ease;
}

.trust-item:hover::after {
  width: 72px;
}

.trust-item:hover {
  background: rgba(255, 255, 255, 0.05);
}

.trust-icon {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
}

.trust-item:hover .trust-icon {
  transform: translateY(-2px);
}

.trust-icon svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.trust-text h4 {
  font-family: 'Baloo 2', cursive;
  font-size: 1.05rem;
  color: var(--white);
  font-weight: 700;
  letter-spacing: 0.01em;
}

.trust-text p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.02em;
  margin-top: 2px;
}


.section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--blue);
  margin-bottom: 16px;
}

.section-tag::before,
.section-tag::after {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 16px;
  font-weight: 800;
}

.section-header h2 .accent {
  color: var(--blue);
}

.section-header p {
  max-width: 600px;
  margin: 0 auto;
  color: var(--text-light);
  font-size: 1.05rem;
}


.about {
  background: var(--off-white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-images {
  position: relative;
  overflow: visible;
  margin: 24px 36px 36px 24px;
}

.about-img-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-heavy);
  transform: rotate(-2deg);
  transition: var(--transition);
}

.about-img-main:hover {
  transform: rotate(0deg);
}

.about-img-main img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.about-img-float {
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 200px;
  height: 200px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 6px solid var(--white);
  box-shadow: var(--shadow-medium);
  transform: rotate(4deg);
  transition: var(--transition);
  z-index: 2;
}

.about-img-float:hover {
  transform: rotate(0deg) scale(1.05);
}

.about-img-float img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-badge {
  position: absolute;
  top: -20px;
  left: -20px;
  width: 100px;
  height: 100px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-gold);
  z-index: 3;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.about-badge span {
  font-family: 'Baloo 2', cursive;
  font-weight: 800;
  color: var(--dark);
}

.about-badge span:first-child {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about-badge span:last-child {
  font-size: 1.6rem;
  line-height: 1;
}

.about-content h2 {
  font-size: 2.4rem;
  margin-bottom: 20px;
}

.about-content .lead {
  font-size: 1.1rem;
  color: var(--blue);
  font-weight: 600;
  margin-bottom: 20px;
}

.about-content p {
  margin-bottom: 16px;
  color: var(--text);
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--white);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--gold);
  transition: var(--transition);
}

.about-feature:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-soft);
}

.about-feature svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--blue);
  stroke-width: 2.5;
  stroke-linecap: round;
  flex-shrink: 0;
}

.about-feature span {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--dark);
}


.services {
  background: var(--white);
}

.services-categories {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.services-controls {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: end;
  margin-bottom: 36px;
}

.services-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.services-preset {
  min-height: 36px;
  padding: 7px 14px;
  border: 2px solid var(--blue-pale);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--blue-dark);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.services-preset:hover,
.services-preset:focus-visible,
.services-preset.is-active {
  border-color: var(--blue);
  background: var(--blue);
  color: var(--white);
  outline: none;
}

.services-control {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.services-control span {
  font-family: 'Baloo 2', cursive;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark);
}

.services-control input {
  width: 100%;
  min-height: 48px;
  border: 2px solid var(--blue-pale);
  border-radius: var(--radius-sm);
  background: var(--off-white);
  color: var(--dark);
  font: inherit;
  padding: 10px 14px;
  transition: var(--transition);
}

.services-control input:focus {
  border-color: var(--blue);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(99, 154, 173, 0.14);
  outline: none;
}

.cat-btn {
  padding: 10px 24px;
  border-radius: var(--radius-xl);
  border: 2px solid var(--blue-pale);
  background: transparent;
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text);
  cursor: pointer;
  transition: var(--transition);
}

.cat-btn:hover, .cat-btn.active {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  align-items: center;
}

.services-grid .service-card-img {
  height: auto;
}

.services-grid .service-card-img img {
  height: auto;
  object-fit: unset;
}

.services-more {
  display: flex;
  justify-content: center;
  margin-top: 36px;
}

.services-empty {
  margin-top: 28px;
  text-align: center;
  color: var(--text-light);
}

.service-card {
  background: var(--off-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid transparent;
  position: relative;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-medium);
}

.service-card-img {
  overflow: hidden;
  position: relative;
  height: 220px;
  background: var(--blue-pale);
}

.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: var(--transition);
}

.service-card:hover .service-card-img img {
  transform: scale(1.08);
}

.service-card-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--gold);
  color: var(--dark);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-xl);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.service-card-body {
  padding: 24px;
  display: flex;
  flex: 1;
  flex-direction: column;
}

.service-card-body h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
  font-weight: 700;
}

.service-card-preis {
  display: inline-block;
  font-family: 'Baloo 2', cursive;
  font-weight: 700;
  font-size: 1.18rem;
  line-height: 1.2;
  color: var(--blue);
  margin-bottom: 10px;
}

.service-card-body p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 16px;
  flex: 1;
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  font-family: 'Baloo 2', cursive;
  color: var(--dark);
  background: var(--gold);
  border: 1px solid rgba(196, 168, 78, 0.45);
  border-radius: var(--radius-xl);
  padding: 12px 20px;
  width: 100%;
  transition: var(--transition);
}

.service-card-link:hover,
.service-card-link:focus-visible {
  color: var(--dark);
  background: var(--gold-light);
  transform: translateY(-2px);
  outline: none;
}

.service-card-link svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform var(--transition);
}

.service-card-link:hover svg {
  transform: translateX(6px);
}


.gallery {
  background: var(--blue);
  overflow: hidden;
}

.gallery .section-header h2 {
  color: var(--white);
}

.gallery .section-header p {
  color: rgba(255, 255, 255, 0.6);
}

.gallery .section-tag {
  color: var(--gold);
}

.gallery-slider-wrap {
  position: relative;
}

.gallery-slider {
  overflow: hidden;
}

.gallery-slider__track {
  display: flex;
  gap: 16px;
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gallery-slide {
  flex: 0 0 calc((100% - 32px) / 3);
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  aspect-ratio: 4/3;
}

.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.gallery-slide:hover img {
  transform: scale(1.06);
}

.gallery-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26, 26, 46, 0.7), transparent);
  opacity: 0;
  transition: var(--transition);
}

.gallery-slide:hover::after {
  opacity: 1;
}

.gallery-item-label {
  position: absolute;
  bottom: 16px;
  left: 16px;
  color: var(--white);
  font-family: 'Baloo 2', cursive;
  font-weight: 600;
  font-size: 1rem;
  z-index: 3;
  opacity: 0;
  transform: translateY(10px);
  transition: var(--transition);
}

.gallery-slide:hover .gallery-item-label {
  opacity: 1;
  transform: translateY(0);
}

.gallery-slider__btn {
  position: absolute;
  top: 0;
  bottom: 44px;
  width: 48px;
  height: 48px;
  margin: auto 0;
  background: rgba(255, 255, 255, 0.9);
  color: var(--dark);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: var(--transition);
  padding: 0;
}

.gallery-slider__btn--prev { left: 8px; }
.gallery-slider__btn--next { right: 8px; }

.gallery-slider__btn:hover { background: var(--gold); }

.gallery-slider__btn svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.gallery-slider__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.gallery-slider__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
}

.gallery-slider__dot.active {
  background: var(--gold);
  width: 24px;
  border-radius: 4px;
}

.gallery--grid {
  overflow: visible;
}

.gallery--grid .gallery-slider {
  overflow: visible;
}

.gallery--grid .gallery-slider__track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  transform: none !important;
}

.gallery--grid .gallery-slide {
  flex: initial;
  min-height: 0;
  aspect-ratio: 4/3;
}

.gallery--grid .gallery-slider__btn,
.gallery--grid .gallery-slider__dots {
  display: none;
}


.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  backdrop-filter: blur(10px);
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: 90%;
  max-height: 85vh;
  border-radius: var(--radius-md);
  box-shadow: 0 0 80px rgba(0, 0, 0, 0.5);
  transform: scale(0.9);
  transition: var(--transition);
}

.lightbox.active img {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

.lightbox-close svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: var(--white);
  stroke-width: 2.5;
  stroke-linecap: round;
}

.lightbox-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  background: rgba(255, 255, 255, 0.12);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  padding: 0;
}

.lightbox-btn--prev { left: 24px; }
.lightbox-btn--next { right: 24px; }

.lightbox-btn:hover { background: rgba(255, 255, 255, 0.25); }

.lightbox-btn svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: var(--white);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 480px) {
  .lightbox-btn--prev { left: 8px; }
  .lightbox-btn--next { right: 8px; }
}


.testimonials {
  background: linear-gradient(180deg, var(--off-white) 0%, var(--cream) 100%);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  position: relative;
  transition: var(--transition);
  border: 1px solid rgba(43, 102, 141, 0.06);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-medium);
}

.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 32px;
  right: 32px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--blue));
  border-radius: 0 0 4px 4px;
}

.testimonial-quote {
  position: absolute;
  top: 20px;
  right: 24px;
  opacity: 0.08;
}

.testimonial-quote svg {
  width: 48px;
  height: 48px;
  fill: var(--blue);
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
}

.testimonial-stars svg {
  width: 18px;
  height: 18px;
  fill: var(--gold);
}

.testimonial-text {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-family: 'Baloo 2', cursive;
  font-weight: 700;
  font-size: 1.1rem;
}

.testimonial-author-info h4 {
  font-size: 0.95rem;
  font-weight: 700;
}

.testimonial-author-info p {
  font-size: 0.8rem;
  color: var(--text-light);
}


.cta-section {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-light) 100%);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(224, 197, 112, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 40%);
}

.cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--white);
  margin-bottom: 16px;
}

.cta-content p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  margin-bottom: 40px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--color-whatsapp);
  color: var(--white);
  padding: 16px 36px;
  border-radius: var(--radius-xl);
  font-weight: 700;
  font-size: 1rem;
  font-family: 'Baloo 2', cursive;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.btn-whatsapp:hover {
  transform: translateY(-2px) scale(1.03);
}

.btn-whatsapp svg {
  width: 24px;
  height: 24px;
  fill: var(--white);
}

.cta-trust {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.cta-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  font-weight: 500;
}

.cta-trust-item svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--gold);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.storage-locations {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.storage-location {
  border-radius: var(--radius-md);
  padding: 18px;
}

.storage-location strong,
.storage-location span {
  display: block;
}

.storage-location strong {
  font-family: 'Baloo 2', cursive;
  font-size: 1.04rem;
  line-height: 1.2;
  margin-bottom: 6px;
}

.storage-location span {
  font-size: 0.95rem;
  line-height: 1.55;
}

.storage-locations--dark {
  margin-top: 28px;
}

.storage-locations--dark .storage-location {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--white);
}

.storage-locations--dark .storage-location strong {
  color: var(--gold-light);
}

.storage-locations--dark .storage-location span {
  color: rgba(255, 255, 255, 0.82);
}

.storage-locations--light {
  margin-bottom: 22px;
}

.storage-locations--light .storage-location {
  background: var(--blue-pale);
  border: 1px solid rgba(43, 102, 141, 0.1);
  color: var(--text);
}

.storage-locations--light .storage-location strong {
  color: var(--blue);
}


.booking-form-wrap {
  position: relative;
  z-index: 2;
  margin-top: 64px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-lg);
  padding: 40px 48px;
  text-align: left;
  backdrop-filter: blur(8px);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.booking-form-wrap h3 {
  font-family: 'Baloo 2', cursive;
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 8px;
}

.booking-form-wrap > p {
  color: rgba(255,255,255,0.65);
  font-size: 0.95rem;
  margin-bottom: 32px;
}

.booking-services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 28px;
}

.booking-service-label {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  cursor: pointer;
  transition: var(--transition);
  color: rgba(255,255,255,0.75);
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.2;
}

.booking-service-label:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--gold);
  color: var(--white);
}

.booking-service-label input[type="checkbox"] {
  appearance: none;
  width: 18px;
  height: 18px;
  min-width: 18px;
  border: 2px solid rgba(255,255,255,0.35);
  border-radius: 5px;
  background: transparent;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}

.booking-service-label input[type="checkbox"]:checked {
  background: var(--gold);
  border-color: var(--gold);
}

.booking-service-label input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  left: 3px;
  top: 0px;
  width: 5px;
  height: 9px;
  border: 2px solid var(--dark);
  border-top: none;
  border-left: none;
  transform: rotate(45deg);
}

.booking-service-label:has(input:checked) {
  background: rgba(224,197,112,0.15);
  border-color: var(--gold);
  color: var(--white);
}

.booking-service-label svg {
  flex-shrink: 0;
  opacity: 0.65;
  transition: var(--transition);
}

.booking-service-label:hover svg,
.booking-service-label:has(input:checked) svg {
  opacity: 1;
  stroke: var(--gold);
}

.booking-fields-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.booking-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.booking-field label {
  color: rgba(255,255,255,0.65);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.booking-field input,
.booking-field textarea {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  color: var(--white);
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  transition: var(--transition);
  width: 100%;
  box-sizing: border-box;
  color-scheme: dark;
}

.booking-field input::placeholder,
.booking-field textarea::placeholder {
  color: rgba(255,255,255,0.3);
}

.booking-field input:focus,
.booking-field textarea:focus {
  border-color: var(--gold);
  background: rgba(255,255,255,0.12);
}

.booking-field textarea {
  resize: vertical;
  min-height: 80px;
}

.booking-field--wide {
  grid-column: span 2;
}

.booking-field--full {
  grid-column: 1 / -1;
}

.booking-submit-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.booking-submit-row .booking-hint {
  color: rgba(255,255,255,0.45);
  font-size: 0.8rem;
  flex: 1;
}

@media (max-width: 768px) {
  .booking-form-wrap {
    padding: 28px 20px;
    margin-top: 48px;
  }

  .booking-services-grid {
    grid-template-columns: 1fr 1fr;
  }

  .booking-fields-row {
    grid-template-columns: 1fr 1fr;
  }

  .booking-fields-row:last-of-type {
    grid-template-columns: 1fr;
  }

  .booking-field--wide {
    grid-column: 1 / -1;
  }
}

@media (max-width: 480px) {
  .storage-locations {
    grid-template-columns: 1fr;
  }

  .booking-services-grid {
    grid-template-columns: 1fr;
  }

  .booking-fields-row {
    grid-template-columns: 1fr;
  }
}


.footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand img {
  height: 60px;
  margin-bottom: 16px;
  border-radius: 50%;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--gold);
  transform: translateY(-3px);
}

.footer-social a svg {
  width: 18px;
  height: 18px;
  fill: var(--white);
}

.footer-social a:hover svg {
  fill: var(--dark);
}

.footer h4 {
  font-family: 'Baloo 2', cursive;
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 20px;
  font-weight: 700;
}

.footer-links a {
  display: block;
  padding: 6px 0;
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--gold);
  transform: translateX(8px);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.9rem;
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--gold);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
  margin-top: 4px;
}

.footer-bottom {
  padding: 24px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.8rem;
}

.footer-bottom a {
  transition: var(--transition);
}

.footer-bottom a:hover {
  color: var(--gold);
}

.footer-legal {
  display: flex;
  gap: 24px;
}


.legal-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  padding: 24px;
  backdrop-filter: blur(8px);
}

.legal-modal.active {
  opacity: 1;
  visibility: visible;
}

.legal-modal-content {
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 700px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 48px;
  position: relative;
  transform: translateY(20px);
  transition: var(--transition);
}

.legal-modal.active .legal-modal-content {
  transform: translateY(0);
}

.legal-modal-content h2 {
  font-size: 1.8rem;
  margin-bottom: 24px;
  color: var(--dark);
}

.legal-modal-content h3 {
  font-size: 1.1rem;
  margin-top: 24px;
  margin-bottom: 8px;
}

.legal-modal-content p {
  font-size: 0.9rem;
  margin-bottom: 12px;
  line-height: 1.8;
}

.legal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  background: var(--off-white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.legal-close:hover {
  background: var(--cream);
  transform: rotate(90deg);
}

.legal-close svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--dark);
  stroke-width: 2.5;
  stroke-linecap: round;
}


.float-actions {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.float-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-medium);
  transition: var(--transition);
  cursor: pointer;
}

.float-btn:hover {
  transform: scale(1.12);
}

.float-btn svg {
  width: 26px;
  height: 26px;
}

.float-btn--phone {
  background: var(--blue);
}

.float-btn--phone svg {
  fill: none;
  stroke: var(--white);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.float-btn--wa {
  background: var(--color-whatsapp);
}

.float-btn--wa svg {
  fill: var(--white);
}


html.reveal-ready .sr,
html.reveal-ready .sr-left,
html.reveal-ready .sr-right {
  opacity: 0;
  transform: translateY(24px) scaleX(0.28) scaleY(0.96);
  transform-origin: center center;
  filter: saturate(0.82);
  transition:
    opacity 0.55s var(--ease-out),
    transform 0.8s cubic-bezier(0.18, 0.88, 0.24, 1.12),
    filter 0.85s var(--ease-out);
  will-change: opacity, transform, filter;
}

html.reveal-ready .sr.visible,
html.reveal-ready .sr-left.visible,
html.reveal-ready .sr-right.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: saturate(1);
}


@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-images {
    max-width: 500px;
    width: calc(100% - 60px);
    margin: 24px auto 36px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(26, 26, 46, 0.9) 0%, rgba(29, 74, 104, 0.78) 58%, rgba(26, 26, 46, 0.64) 100%),
      radial-gradient(ellipse at 24% 32%, rgba(224, 197, 112, 0.18) 0%, transparent 58%),
      radial-gradient(ellipse at 78% 18%, rgba(43, 102, 141, 0.28) 0%, transparent 50%);
  }
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
}

@media (max-width: 768px) {
  .hero-content {
    padding: 100px 0 60px;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero-stats {
    gap: 18px;
    flex-wrap: nowrap;
    justify-content: space-between;
  }

  .hero-stat {
    flex: 1 1 0;
    min-width: 0;
    text-align: center;
  }

  .hero-stat h3 {
    font-size: 1.8rem;
  }

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

  .trust-item {
    padding: 32px 16px;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: none;
    min-width: 0;
  }

  .trust-item:nth-child(even) {
    border-right: 1px solid rgba(255, 255, 255, 0.08);
  }

  .trust-item:last-child {
    grid-column: auto;
    border-right: none;
    border-bottom: none;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

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

  .services-controls {
    grid-template-columns: 1fr;
  }

  .service-card-img {
    height: 200px;
  }

  .gallery-slide { flex: 0 0 calc((100% - 16px) / 2); }
  .gallery--grid .gallery-slider__track { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery--grid .gallery-slide { min-height: 0; }

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

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .section {
    padding: 64px 0;
  }

  .legal-modal-content {
    padding: 32px 24px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.9rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .gallery-slide { flex: 0 0 100%; }
  .gallery--grid .gallery-slider__track { grid-template-columns: 1fr; }
  .gallery--grid .gallery-slide { min-height: 0; }
  .gallery-slider__btn { display: none; }

  .hero-stats {
    gap: 10px;
    margin-top: 42px;
    padding-top: 28px;
  }

  .hero-stat h3 {
    font-size: clamp(1.25rem, 5vw, 1.55rem);
    line-height: 1.05;
  }

  .hero-stat p {
    font-size: 0.72rem;
    line-height: 1.25;
  }

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

  .trust-item {
    gap: 8px;
    padding: 26px 8px;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: none;
  }

  .trust-item:last-child {
    grid-column: auto;
    border-right: none;
  }

  .trust-icon {
    width: 26px;
    height: 26px;
  }

  .trust-icon svg {
    width: 24px;
    height: 24px;
  }

  .trust-text h4 {
    font-size: 0.82rem;
    line-height: 1.12;
  }

  .trust-text p {
    font-size: 0.68rem;
    line-height: 1.15;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-buttons .btn-primary,
  .cta-buttons .btn-whatsapp {
    width: 100%;
    justify-content: center;
  }
}


/* ============================================
   Rechtstexte (page-impressum.php / page-datenschutz.php)
   ============================================ */
.legal-page {
  padding: 140px 0 80px;
  background: var(--off-white);
}

.legal-page .legal-inner {
  max-width: 820px;
  margin: 0 auto;
}

.legal-page h1 {
  font-size: clamp(2rem, 4vw, 2.6rem);
  margin-bottom: 32px;
}

.legal-page h2 {
  font-size: 1.2rem;
  margin: 28px 0 8px;
  color: var(--blue);
}

.legal-page p {
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.legal-page a {
  color: var(--blue);
  font-weight: 600;
}


/* ============================================
   Page-Hero für Unterseiten (Über uns, Leistungen, Galerie)
   ============================================ */
.page-hero {
  background-color: var(--dark);
  background-size: cover;
  background-position: center;
  height: 50vh;
  min-height: 340px;
  padding: 96px 0 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(10, 20, 40, 0.75) 0%, rgba(43, 102, 141, 0.65) 100%),
    radial-gradient(ellipse at 25% 40%, rgba(224, 197, 112, 0.12) 0%, transparent 60%);
}

.page-hero__inner {
  position: relative;
  z-index: 1;
}

.page-hero .section-tag {
  color: var(--gold);
  justify-content: center;
}

.page-hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  margin: 12px auto 0;
  font-size: 1.05rem;
}


/* ============================================
   Kontaktseite
   ============================================ */
.contact-page {
  background: var(--off-white);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 56px;
  align-items: center;
}

.contact-content h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 18px;
}

.contact-content .lead {
  color: var(--text);
  font-size: 1.05rem;
  max-width: 620px;
  margin-bottom: 32px;
}

.contact-methods {
  display: grid;
  gap: 14px;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--white);
  border: 1px solid rgba(43, 102, 141, 0.08);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
}

.contact-method:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
  box-shadow: var(--shadow-medium);
}

.contact-method__icon {
  width: 28px;
  height: 28px;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-method__icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-method__icon--wa {
  color: var(--color-whatsapp);
}

.contact-method__icon--wa svg {
  fill: currentColor;
  stroke: none;
}

.contact-method strong {
  display: block;
  color: var(--dark);
  font-family: 'Baloo 2', cursive;
  font-size: 1.12rem;
  line-height: 1.2;
}

.contact-method small {
  display: block;
  color: var(--text-light);
  font-size: 0.9rem;
  overflow-wrap: anywhere;
}

.contact-info-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-heavy);
  border: 1px solid rgba(43, 102, 141, 0.08);
}

.contact-info-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  object-position: center top;
}

.contact-info-card__body {
  padding: 28px;
}

.contact-info-card__body h3 {
  font-size: 1.35rem;
  margin-bottom: 10px;
}

.contact-info-card__body p {
  color: var(--text);
  margin-bottom: 20px;
}

.contact-info-card__facts {
  display: grid;
  gap: 10px;
}

.contact-info-card__facts span {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--dark);
  font-weight: 700;
  font-size: 0.92rem;
}

.contact-info-card__facts span::before {
  content: '';
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 5px rgba(224, 197, 112, 0.18);
  flex-shrink: 0;
}

.contact-locations {
  margin-top: 56px;
}

.contact-locations h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 22px;
}

.contact-locations .storage-locations {
  margin-bottom: 0;
}

.contact-locations .storage-location {
  box-shadow: var(--shadow-soft);
}

.contact-form-section .booking-form-wrap {
  margin-top: 40px;
}

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

@media (max-width: 480px) {
  .contact-method {
    align-items: flex-start;
    padding: 16px;
  }

  .contact-info-card__body {
    padding: 22px;
  }
}


/* ============================================
   Contact Form 7 (Vorlage: cf7.html)
   Stylt die CF7-eigene Markup-Struktur passend zum dunklen Anfrage-Formular.
   ============================================ */
.cf7-form .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

.cf7-form .booking-field > p,
.cf7-form .cf7-services > p,
.cf7-form .cf7-huepfburg-details > p {
  margin: 0;
}

.cf7-form br {
  display: none;
}

.cf7-form .cf7-label {
  display: block;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}

.cf7-form .cf7-service-groups {
  display: grid;
  gap: 12px;
  margin-bottom: 18px;
}

.cf7-form .cf7-service-category {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.cf7-form .cf7-service-category[open] {
  border-color: rgba(224, 197, 112, 0.32);
}

.cf7-form .cf7-service-category summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  color: var(--white);
  cursor: pointer;
  font-weight: 800;
  list-style: none;
}

.cf7-form .cf7-service-category summary::-webkit-details-marker {
  display: none;
}

.cf7-form .cf7-service-category summary::after {
  content: '+';
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 900;
}

.cf7-form .cf7-service-category[open] summary::after {
  content: '-';
}

.cf7-form .cf7-services .wpcf7-checkbox {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 10px;
  padding: 0 16px 16px;
  margin-bottom: 0;
  width: 100%;
}

.cf7-form .cf7-services .wpcf7-list-item {
  margin: 0;
}

.cf7-form .cf7-services .wpcf7-list-item label {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  cursor: pointer;
  transition: var(--transition);
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.88rem;
}

.cf7-form .cf7-services .wpcf7-list-item label:has(input[type="checkbox"]:checked) {
  background: rgba(224, 197, 112, 0.16);
  border-color: rgba(224, 197, 112, 0.75);
  color: var(--white);
}

.cf7-form .cf7-services .wpcf7-list-item input[type="checkbox"] {
  appearance: none;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  margin: 0;
  border: 2px solid rgba(255, 255, 255, 0.34);
  border-radius: 5px;
  background-color: rgba(255, 255, 255, 0.08);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 13px 10px;
  cursor: pointer;
  transition: var(--transition);
}

.cf7-form .cf7-services .wpcf7-list-item input[type="checkbox"]:checked {
  border-color: var(--gold);
  background-color: var(--gold);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='13' height='10' viewBox='0 0 13 10'%3E%3Cpath d='M1 5l3 3 8-7' fill='none' stroke='%231a1a2e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  box-shadow: 0 0 0 3px rgba(224, 197, 112, 0.16);
}

.cf7-form .cf7-services .wpcf7-list-item input[type="checkbox"]:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 3px;
}

.cf7-form .cf7-services .wpcf7-list-item .wpcf7-list-item-label {
  flex: 1;
  line-height: 1.35;
}

.cf7-form .cf7-services .wpcf7-list-item label:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--gold);
  color: var(--white);
}

.cf7-form .cf7-selected-service input[readonly] {
  border-color: rgba(224, 197, 112, 0.55);
  background: rgba(224, 197, 112, 0.14);
  color: var(--white);
  font-weight: 700;
}

.cf7-form .cf7-selected-service {
  margin-bottom: 28px;
}

.cf7-form .cf7-huepfburg-details {
  margin-bottom: 20px;
  padding: 18px;
  border: 1px solid rgba(224, 197, 112, 0.28);
  border-radius: var(--radius-md);
  background: rgba(224, 197, 112, 0.08);
}

.cf7-form .wpcf7-response-output {
  color: var(--white);
  border-radius: var(--radius-md);
  margin: 16px 0 0;
}

.cf7-form .wpcf7-not-valid-tip {
  color: #ffd9d0;
  font-size: 0.8rem;
}

/* Submit-Button im CF7-Formular gold statt WhatsApp-grün */
.cf7-form .wpcf7-submit {
  background: var(--gold);
  color: var(--dark);
}

.cf7-form .wpcf7-submit:hover {
  background: var(--gold-light);
}

/* Abholort Select */
.cf7-form .wpcf7-select {
  width: 100%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  color: var(--white);
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  transition: var(--transition);
  cursor: pointer;
  color-scheme: dark;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='rgba(255,255,255,0.45)' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}

.cf7-form .wpcf7-select:focus {
  border-color: var(--gold);
  background-color: rgba(255, 255, 255, 0.12);
}

.cf7-form .wpcf7-select option {
  background: #1a1a2e;
  color: var(--white);
}

.cf7-form .wpcf7-number {
  width: 100%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  color: var(--white);
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  transition: var(--transition);
  box-sizing: border-box;
  color-scheme: dark;
}

.cf7-form .wpcf7-number:focus {
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.12);
}

@media (max-width: 1024px) {
  .cf7-form.booking-form-wrap,
  .contact-form-section .booking-form-wrap {
    width: 100%;
    max-width: 760px;
    padding: 34px 28px;
  }

  .cf7-form .booking-fields-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .cf7-form .booking-field,
  .cf7-form .booking-field--full,
  .cf7-form .cf7-selected-service {
    min-width: 0;
  }

  .cf7-form .booking-field--full,
  .cf7-form .cf7-selected-service,
  .cf7-form .booking-fields-row .booking-field:only-child,
  .cf7-form .booking-fields-row .booking-field:nth-child(3) {
    grid-column: 1 / -1;
  }

  .cf7-form .cf7-services .wpcf7-checkbox {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .cf7-form .cf7-services .wpcf7-checkbox { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .cf7-form.booking-form-wrap,
  .contact-form-section .booking-form-wrap {
    padding: 28px 20px;
  }

  .cf7-form .booking-fields-row,
  .cf7-form .cf7-services .wpcf7-checkbox {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .cf7-form .cf7-service-category summary { padding: 13px 14px; }
}


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

  .sr,
  .sr-left,
  .sr-right {
    opacity: 1;
    transform: none;
    -webkit-clip-path: none;
    clip-path: none;
    filter: none;
    animation: none !important;
    transition: none !important;
    will-change: auto;
  }
}


/* ============================================
   Sparpakete (front-page.php services section)
   ============================================ */

.pakete-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-bottom: 56px;
  align-items: start;
}

.pakete-grid .paket-card {
  display: flex;
  flex-direction: column;
}

.pakete-grid .paket-card .service-card-img {
  height: auto;
  min-height: 0;
}

.pakete-grid .paket-card .service-card-img img {
  height: auto;
  object-fit: unset;
}

.pakete-grid .paket-card .service-card-body {
  padding: 28px;
  flex: 1;
}

.service-card-body .paket-card__tagline {
  flex: 0 0 auto;
  margin-bottom: 14px;
  color: var(--blue);
  font-family: 'Baloo 2', cursive;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.25;
  text-transform: uppercase;
}

.paket-card__items {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  margin-bottom: 16px;
}

.paket-card__items li {
  font-size: 0.88rem;
  color: var(--text);
  padding-left: 18px;
  position: relative;
  line-height: 1.4;
}

.paket-card__items li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue-light);
}

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

  .pakete-grid .paket-card .service-card-img {
    height: auto;
  }

  .pakete-grid .paket-card .service-card-body {
    padding: 24px;
  }
}


/* ============================================
   Referenzen (page-referenzen.php)
   ============================================ */

.refs-intro {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 56px;
}

.refs-intro h2 {
  font-size: 2.2rem;
  margin: 12px 0 16px;
}

.refs-intro p {
  color: var(--text-light);
  font-size: 1.05rem;
}

.refs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.refs-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
}

.refs-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-medium);
}

.refs-card__img-wrap {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.refs-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}

.refs-card:hover .refs-card__img-wrap img {
  transform: scale(1.06);
}

.refs-card__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--gold);
  color: var(--dark);
  font-family: 'Baloo 2', cursive;
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 4px 12px;
  border-radius: 20px;
}

.refs-card__body {
  padding: 22px 24px 26px;
}

.refs-card__body h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
  color: var(--dark);
}

.refs-card__ort {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--blue);
  font-weight: 600;
  margin-bottom: 12px;
}

.refs-card__ort svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: var(--blue);
  stroke-width: 2;
  stroke-linecap: round;
  flex-shrink: 0;
}

.refs-card__body p {
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.6;
}

.refs-stats-section {
  background: var(--dark);
}

.refs-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  text-align: center;
}

.refs-stat {
  padding: 48px 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.refs-stat:last-child {
  border-right: none;
}

.refs-stat__value {
  display: block;
  font-family: 'Baloo 2', cursive;
  font-weight: 800;
  font-size: 3rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 10px;
}

.refs-stat__label {
  display: block;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 500;
}

@media (max-width: 1024px) {
  .refs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .refs-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .refs-stat {
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .refs-stat:nth-child(2),
  .refs-stat:last-child {
    border-right: none;
  }
  .refs-stat:nth-child(3),
  .refs-stat:last-child {
    border-bottom: none;
  }
}

@media (max-width: 768px) {
  .refs-grid {
    grid-template-columns: 1fr;
  }
  .refs-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .refs-intro h2 {
    font-size: 1.8rem;
  }
}


/* ============================================
   Blog (page-blog.php / home.php / single.php)
   ============================================ */
.blog-hero {
  background-position: center;
}

.blog-listing-section {
  background:
    radial-gradient(circle at top left, rgba(235, 200, 118, 0.16), transparent 34%),
    var(--off-white);
}

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

.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 0;
  transition: var(--transition);
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-medium);
}

.blog-card__image-link {
  display: block;
  height: 230px;
  background: var(--blue-pale);
  overflow: hidden;
}

.blog-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}

.blog-card:hover .blog-card__image {
  transform: scale(1.04);
}

.blog-card__placeholder {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  background:
    linear-gradient(135deg, rgba(26, 116, 155, 0.14), rgba(235, 200, 118, 0.22)),
    var(--cream);
}

.blog-card__placeholder svg {
  width: 54px;
  height: 54px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.blog-card__body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-card__meta,
.single-post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--blue);
  margin-bottom: 12px;
}

.blog-card__meta span,
.single-post-meta span {
  color: var(--gold-dark);
}

.blog-card__title {
  font-size: 1.45rem;
  margin-bottom: 12px;
}

.blog-card__title a {
  color: var(--dark);
  transition: color 0.2s ease;
}

.blog-card__title a:hover {
  color: var(--blue);
}

.blog-card__excerpt {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 22px;
}

.blog-card__link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue);
  font-weight: 800;
}

.blog-card__link svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.2s ease;
}

.blog-card__link:hover svg {
  transform: translateX(4px);
}

.blog-empty {
  max-width: 720px;
  margin: 0 auto;
  padding: 54px 36px;
  text-align: center;
  background: var(--white);
  box-shadow: var(--shadow-soft);
  border-radius: var(--radius-lg);
}

.blog-empty h2 {
  margin-bottom: 12px;
}

.blog-empty p {
  color: var(--text-light);
  margin-bottom: 24px;
}

.blog-pagination {
  margin-top: 48px;
}

.blog-pagination ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.blog-pagination a,
.blog-pagination span {
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: var(--white);
  color: var(--dark);
  font-weight: 800;
  box-shadow: var(--shadow-soft);
}

.blog-pagination a:hover,
.blog-pagination .current {
  background: var(--blue);
  color: var(--white);
}

.single-post-hero {
  min-height: 440px;
  height: auto;
  padding: 150px 24px 70px;
}

.single-post-hero__inner {
  max-width: 920px;
  padding: 0 16px;
}

.single-post-hero__back {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--gold);
  font-weight: 800;
}

.single-post-meta {
  justify-content: center;
  color: rgba(255, 255, 255, 0.82);
  margin: 18px 0 0;
}

.single-post-section {
  background: var(--off-white);
}

.single-post-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 48px;
  align-items: start;
}

.single-post-content {
  background: var(--white);
  padding: clamp(30px, 5vw, 56px);
  box-shadow: var(--shadow-soft);
  border-radius: var(--radius-lg);
  min-width: 0;
}

.single-post-content > * + * {
  margin-top: 1.15em;
}

.single-post-content h2,
.single-post-content h3,
.single-post-content h4 {
  margin-top: 1.7em;
}

.single-post-content h2 {
  font-size: clamp(1.7rem, 3vw, 2.25rem);
}

.single-post-content h3 {
  font-size: 1.45rem;
}

.single-post-content p,
.single-post-content li {
  color: var(--text);
  font-size: 1.03rem;
  line-height: 1.8;
}

.single-post-content ul,
.single-post-content ol {
  padding-left: 1.35rem;
}

.single-post-content a {
  color: var(--blue);
  font-weight: 800;
}

.single-post-content img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.single-post-content blockquote {
  padding: 24px 28px;
  border-left: 4px solid var(--gold);
  background: var(--cream);
  color: var(--dark);
  font-weight: 700;
}

.single-post-pages {
  margin-top: 32px;
  font-weight: 800;
}

.single-post-sidebar {
  position: sticky;
  top: 110px;
  display: grid;
  gap: 24px;
}

.single-post-box {
  background: var(--white);
  padding: 28px;
  box-shadow: var(--shadow-soft);
  border-radius: var(--radius-lg);
}

.single-post-box h2 {
  font-size: 1.35rem;
  margin-bottom: 10px;
}

.single-post-box p {
  color: var(--text-light);
  margin-bottom: 20px;
}

.single-post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.single-post-tags a {
  display: inline-flex;
  padding: 8px 12px;
  background: var(--blue-pale);
  color: var(--blue-dark);
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 800;
}

.single-post-nav {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.single-post-nav a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  padding: 18px 22px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
  border-radius: var(--radius-md);
  color: var(--blue);
  font-weight: 800;
  text-align: center;
}

.single-post-nav a:hover {
  background: var(--blue);
  color: var(--white);
}

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

  .single-post-layout {
    grid-template-columns: 1fr;
  }

  .single-post-sidebar {
    position: static;
  }
}

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

  .blog-card__image-link {
    height: 210px;
  }

  .blog-card__body,
  .single-post-box {
    padding: 24px;
  }

  .single-post-hero {
    min-height: 380px;
    padding: 130px 16px 58px;
  }

  .single-post-nav {
    grid-template-columns: 1fr;
  }
}
