/* PGS – Phönix Gebäudereinigung & Service | Premium Design System */

:root {
  /* Premium Weiß + Sandbeige + Anthrazit */
  --black: #1a1a1a;
  --black-soft: #222222;
  --graphite: #3a3a3a;
  --graphite-mid: #4a4a4a;
  --graphite-light: #5c5c5c;
  --accent: #D6C3A5;
  --accent-light: #e8ddd0;
  --accent-dark: #c4b08f;
  --accent-glow: rgba(214, 195, 165, 0.45);
  --accent-soft: rgba(214, 195, 165, 0.22);
  --text-primary: #222222;
  --text-muted: #5c5650;
  --text-subtle: #8a837c;
  --surface: #ffffff;
  --surface-alt: #f0ebe3;
  --surface-elevated: #ffffff;

  /* Legacy-Variablen (Kompatibilität) */
  --anthracite: #222222;
  --anthracite-deep: #1a1a1a;
  --gold: #D6C3A5;
  --gold-light: #e8ddd0;
  --gold-dark: #b8a48a;
  --gold-glow: rgba(214, 195, 165, 0.45);
  --gold-soft: rgba(214, 195, 165, 0.22);
  --navy: #222222;
  --navy-light: #2d2d2d;
  --royal: #222222;
  --royal-light: #D6C3A5;
  --royal-dark: #1a1a1a;
  --silver: #8a837c;
  --silver-light: #a39d95;
  --grey: #5c5650;
  --white: #ffffff;
  --off-white: #F8F7F4;
  --gradient-hero: linear-gradient(135deg, #F8F7F4 0%, #f0ebe3 55%, #e8ddd0 100%);
  --gradient-card: linear-gradient(145deg, #ffffff 0%, #F8F7F4 100%);
  --gradient-accent: linear-gradient(135deg, #e8ddd0 0%, #D6C3A5 100%);
  --shadow-sm: 0 4px 20px rgba(34, 34, 34, 0.06);
  --shadow-md: 0 12px 36px rgba(34, 34, 34, 0.08);
  --shadow-lg: 0 24px 56px rgba(34, 34, 34, 0.1);
  --glass-bg: rgba(255, 255, 255, 0.88);
  --glass-border: rgba(214, 195, 165, 0.35);
  --radius: 16px;
  --radius-lg: 24px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --header-h: 88px;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font);
  color: var(--text-primary);
  background: var(--off-white);
  line-height: 1.65;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--royal); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--royal-dark); }

.container {
  width: min(1200px, 92%);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--accent);
  color: var(--black);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  z-index: 9999;
}
.skip-link:focus { top: 1rem; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.75rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
  font-family: inherit;
}
.btn-primary {
  background: var(--gradient-accent);
  color: var(--anthracite);
  box-shadow: 0 8px 24px var(--accent-glow);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(214, 195, 165, 0.5);
  color: var(--anthracite);
}
.btn-outline {
  background: transparent;
  border-color: rgba(34, 34, 34, 0.35);
  color: var(--anthracite);
}
.btn-outline:hover {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--anthracite);
}
.btn-secondary {
  background: var(--anthracite);
  color: var(--white);
  border-color: var(--anthracite);
  box-shadow: var(--shadow-sm);
}
.btn-secondary:hover {
  border-color: var(--graphite);
  background: var(--graphite);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(34, 34, 34, 0.18);
}
.btn-whatsapp {
  background: #25d366;
  color: var(--white);
}
.btn-whatsapp:hover { background: #1fb855; color: var(--white); }
.btn-sm { padding: 0.6rem 1.2rem; font-size: 0.875rem; }

/* Glass */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  transition: all var(--transition);
}
.site-header.scrolled {
  background: rgba(248, 247, 244, 0.96);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid rgba(214, 195, 165, 0.35);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}
.logo-img { height: 64px; width: auto; object-fit: contain; }
.main-nav ul {
  display: flex;
  list-style: none;
  gap: 1.75rem;
  align-items: center;
}
.main-nav a {
  color: var(--anthracite);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
}
.site-header.scrolled .main-nav a {
  color: var(--anthracite);
}
.site-header.scrolled .main-nav a:hover,
.site-header.scrolled .main-nav a.active {
  color: var(--anthracite);
}
.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--royal);
  transition: width var(--transition);
}
.main-nav a:hover::after,
.main-nav a.active::after { width: 100%; }
.main-nav a.active { color: var(--royal); }
.nav-cta { margin-left: 1rem; }
/* Header-CTA: eigene Button-Farben, nicht von Nav-Link-Styles überschreiben */
.site-header .main-nav .nav-cta.btn-primary {
  color: #ffffff;
  font-weight: 600;
}
.site-header .main-nav .nav-cta.btn-primary:hover {
  color: #ffffff;
}
.site-header .main-nav .nav-cta::after {
  display: none;
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--anthracite);
  transition: var(--transition);
}
.site-header.scrolled .nav-toggle span {
  background: var(--anthracite);
}

main { padding-top: var(--header-h); }

/* Hero */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  background: var(--gradient-hero);
  overflow: hidden;
  color: var(--text-primary);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(214, 195, 165, 0.2) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(255, 255, 255, 0.6) 0%, transparent 50%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: 4rem 0;
}
.hero-content { animation: fadeUp 0.8s ease forwards; }
.hero-badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: rgba(214, 195, 165, 0.25);
  border: 1px solid rgba(214, 195, 165, 0.45);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  backdrop-filter: blur(8px);
}
.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1rem;
}
.hero-slogan {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--text-muted);
  font-weight: 300;
  letter-spacing: 0.04em;
  margin-bottom: 1.5rem;
}
.hero--has-bg {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero-text {
  font-size: 1.05rem;
  opacity: 0.9;
  max-width: 520px;
  margin-bottom: 1.25rem;
}

.hero-trust {
  font-size: 1.02rem;
  line-height: 1.55;
  max-width: 540px;
  margin: 0 0 1.75rem;
  padding: 1rem 1.25rem;
  border-left: 3px solid var(--gold, #c9a227);
  background: rgba(255, 255, 255, 0.08);
  border-radius: 0 var(--radius, 8px) var(--radius, 8px) 0;
  font-weight: 500;
}

.trust-banner {
  margin-top: 2.5rem;
  padding: 1.35rem 1.75rem;
  text-align: center;
  border-radius: var(--radius, 12px);
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.04) 0%, rgba(59, 130, 246, 0.08) 100%);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
}

.trust-banner__text {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.6;
  font-weight: 500;
  color: var(--navy, #0f172a);
  max-width: 52rem;
  margin-inline: auto;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero-visual {
  display: flex;
  justify-content: center;
  animation: fadeUp 0.8s 0.2s ease both;
}
.hero-logo-wrap {
  background: rgba(255,255,255,0.95);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,0.8);
}
.hero-logo-wrap img { max-height: 280px; width: auto; margin: 0 auto; }
.hero-buildings {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 45%;
  opacity: 0.12;
  pointer-events: none;
}
.hero-buildings rect {
  fill: rgba(34, 34, 34, 0.06);
}

/* Sections */
.section {
  padding: 5rem 0;
}
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3rem;
}
.section-label {
  display: inline-block;
  color: var(--royal);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.section-header h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 1rem;
}
.section-header p { color: var(--text-muted); font-size: 1.05rem; }

.section-alt {
  background: var(--surface-alt);
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.75rem;
}

/* Premium-Leistungskarten */
.section--services-premium {
  background:
    radial-gradient(ellipse 90% 60% at 50% 0%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 70%),
    linear-gradient(180deg, var(--off-white) 0%, var(--surface-alt) 100%);
}
.section--services-premium .card-grid {
  gap: 2rem;
}
.section--values-premium .card-grid--values {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
@media (min-width: 960px) {
  .section--values-premium .card-grid--values {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card--premium {
  display: flex;
  flex-direction: column;
  padding: 0;
  border-radius: 20px;
  border: 1px solid color-mix(in srgb, var(--accent) 14%, rgba(0, 0, 0, 0.06));
  background: var(--surface-elevated);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.65) inset,
    0 14px 40px rgba(26, 26, 26, 0.07),
    0 4px 12px rgba(26, 26, 26, 0.04);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card--premium::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
  opacity: 0.6;
}
.service-card--premium:hover {
  transform: translateY(-8px);
  border-color: color-mix(in srgb, var(--accent) 28%, transparent);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.75) inset,
    0 28px 56px rgba(26, 26, 26, 0.12),
    0 8px 20px color-mix(in srgb, var(--accent) 10%, transparent);
}

.service-card__visual {
  position: relative;
  height: 212px;
  overflow: hidden;
  flex-shrink: 0;
  isolation: isolate;
  background: #1a1816;
}
.service-card__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.service-card__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  display: block;
  transform: scale(1.04);
  filter: saturate(0.82) contrast(1.06) brightness(0.9);
  transition: transform 1.15s cubic-bezier(0.22, 1, 0.36, 1), filter 0.8s ease;
  will-change: transform;
}
.service-card--premium:hover .service-card__photo {
  transform: scale(1.1);
  filter: saturate(0.88) contrast(1.08) brightness(0.94);
}
.service-card__overlay,
.service-card__vignette,
.service-card__shine,
.service-card__grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.service-card__overlay {
  z-index: 1;
  background:
    linear-gradient(180deg,
      rgba(18, 14, 10, 0.08) 0%,
      rgba(18, 14, 10, 0.28) 42%,
      rgba(12, 10, 8, 0.72) 100%),
    linear-gradient(125deg, color-mix(in srgb, var(--accent) 14%, transparent) 0%, transparent 52%);
  mix-blend-mode: multiply;
}
.service-card__vignette {
  z-index: 2;
  background:
    radial-gradient(ellipse 130% 95% at 50% -5%, rgba(255, 248, 238, 0.22) 0%, transparent 48%),
    radial-gradient(ellipse 120% 90% at 50% 110%, rgba(0, 0, 0, 0.55) 0%, transparent 58%);
}
.service-card__shine {
  z-index: 3;
  opacity: 0.55;
  background: linear-gradient(
    108deg,
    transparent 36%,
    rgba(255, 250, 242, 0.14) 48%,
    transparent 58%
  );
  transition: opacity var(--transition);
}
.service-card--premium:hover .service-card__shine {
  opacity: 0.85;
}
.service-card__grain {
  z-index: 4;
  opacity: 0.22;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
}

/* Szenen – dezente Farbgrading-Overlays (Premium, nicht bunt) */
.scene-interior .service-card__overlay {
  background:
    linear-gradient(180deg, rgba(42, 32, 22, 0.06) 0%, rgba(28, 20, 14, 0.75) 100%),
    linear-gradient(135deg, rgba(200, 165, 110, 0.2) 0%, transparent 55%);
}
.scene-interior .service-card__photo { object-position: center 42%; }

.scene-office .service-card__overlay {
  background:
    linear-gradient(180deg, rgba(16, 22, 32, 0.1) 0%, rgba(10, 14, 22, 0.78) 100%),
    linear-gradient(120deg, rgba(160, 175, 195, 0.12) 0%, transparent 50%);
}
.scene-office .service-card__photo { object-position: center 35%; }

.scene-glass .service-card__overlay {
  background:
    linear-gradient(180deg, rgba(10, 18, 32, 0.12) 0%, rgba(8, 14, 26, 0.8) 100%),
    linear-gradient(140deg, rgba(140, 175, 210, 0.16) 0%, transparent 48%);
}
.scene-glass .service-card__photo { object-position: center 30%; }

.scene-lobby .service-card__overlay {
  background:
    linear-gradient(180deg, rgba(36, 28, 20, 0.08) 0%, rgba(22, 16, 12, 0.76) 100%),
    linear-gradient(130deg, rgba(190, 155, 115, 0.18) 0%, transparent 52%);
}

.scene-medical .service-card__overlay {
  background:
    linear-gradient(180deg, rgba(220, 232, 238, 0.08) 0%, rgba(18, 28, 34, 0.72) 100%),
    linear-gradient(125deg, rgba(180, 205, 215, 0.14) 0%, transparent 50%);
}
.scene-medical .service-card__photo {
  filter: saturate(0.78) contrast(1.04) brightness(0.95);
}

.scene-build .service-card__overlay {
  background:
    linear-gradient(180deg, rgba(38, 30, 18, 0.1) 0%, rgba(20, 14, 8, 0.78) 100%),
    linear-gradient(135deg, rgba(210, 170, 100, 0.16) 0%, transparent 50%);
}

.scene-facade .service-card__overlay {
  background:
    linear-gradient(180deg, rgba(14, 20, 30, 0.1) 0%, rgba(8, 12, 20, 0.8) 100%),
    linear-gradient(120deg, rgba(150, 170, 195, 0.12) 0%, transparent 48%);
}

.scene-care .service-card__overlay,
.scene-service .service-card__overlay,
.scene-default .service-card__overlay {
  background:
    linear-gradient(180deg, rgba(30, 26, 20, 0.08) 0%, rgba(16, 12, 10, 0.76) 100%),
    linear-gradient(130deg, rgba(195, 165, 120, 0.15) 0%, transparent 52%);
}

.service-card__tag {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 6;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 0.38rem 0.7rem;
  border-radius: 999px;
  color: rgba(255, 252, 248, 0.95);
  background: rgba(8, 8, 8, 0.42);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.service-icon--premium {
  position: absolute;
  left: 1.35rem;
  bottom: -30px;
  z-index: 5;
  width: 76px;
  height: 76px;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  color: #fff8ef;
  background: linear-gradient(145deg, var(--accent-light) 0%, var(--accent) 42%, var(--accent-dark) 100%);
  border: 2px solid rgba(255, 255, 255, 0.35);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.45) inset,
    0 16px 36px rgba(0, 0, 0, 0.28),
    0 0 0 4px color-mix(in srgb, var(--surface-elevated) 88%, transparent);
  transition: transform var(--transition), box-shadow var(--transition);
}
.service-icon--premium .service-icon-svg {
  width: 34px;
  height: 34px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}
.service-card--premium:hover .service-icon--premium {
  transform: translateY(-4px) scale(1.03);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.55) inset,
    0 22px 44px rgba(0, 0, 0, 0.32),
    0 0 0 4px color-mix(in srgb, var(--surface-elevated) 88%, transparent);
}

.service-card__body {
  padding: 1.45rem 1.5rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.service-card__title {
  font-size: 1.22rem;
  font-weight: 700;
  margin-bottom: 0.65rem;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  line-height: 1.3;
}
.service-card__text {
  color: var(--text-muted);
  font-size: 0.94rem;
  line-height: 1.62;
  flex: 1;
}
.service-card__footer {
  margin-top: 1.15rem;
  padding-top: 1rem;
  border-top: 1px solid color-mix(in srgb, var(--accent) 12%, rgba(0, 0, 0, 0.06));
}
.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent-dark, var(--royal-dark));
  letter-spacing: 0.02em;
  transition: gap var(--transition), color var(--transition);
}
.service-card__link:hover {
  gap: 0.65rem;
  color: var(--accent, var(--royal));
}

/* Legacy-Fallback (z. B. Über uns) */
.service-card:not(.service-card--premium) {
  background: var(--gradient-card);
  border-radius: var(--radius);
  padding: 2rem;
  border: 1px solid rgba(214, 195, 165, 0.15);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card:not(.service-card--premium) .service-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.98) 0%, var(--accent-soft) 100%);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--accent-dark, var(--royal));
}
.service-card:not(.service-card--premium) h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.service-card:not(.service-card--premium) p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Stats */
.stats-bar {
  background: var(--navy);
  color: var(--white);
  padding: 3rem 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent-light), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label { color: var(--silver); font-size: 0.9rem; margin-top: 0.25rem; }

/* Reviews */
.review-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(214, 195, 165, 0.12);
  transition: var(--transition);
}
.review-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.stars { color: var(--accent-dark); font-size: 1.1rem; letter-spacing: 2px; margin-bottom: 1rem; }
.star { opacity: 0.25; }
.star.filled { opacity: 1; }
.review-text { font-style: italic; color: var(--text-muted); margin-bottom: 1.25rem; line-height: 1.7; }
.review-author { font-weight: 700; color: var(--text-primary); }
.review-company { font-size: 0.85rem; color: var(--text-subtle); }

/* Before/After Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem;
}
.ba-slider {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
  aspect-ratio: 4/3;
  cursor: ew-resize;
  user-select: none;
}
.ba-slider img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.ba-before-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
  width: 50%;
  z-index: 2;
}
.ba-base {
  z-index: 1;
}
.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background: var(--white);
  transform: translateX(-50%);
  z-index: 10;
  box-shadow: 0 0 12px rgba(0,0,0,0.3);
}
.ba-handle::after {
  content: '⟷';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--black);
  box-shadow: var(--shadow-md);
}
.ba-label {
  position: absolute;
  top: 12px;
  padding: 0.35rem 0.75rem;
  background: rgba(34, 34, 34, 0.82);
  border: 1px solid rgba(214, 195, 165, 0.25);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 6px;
  z-index: 5;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.ba-label-before { left: 12px; }
.ba-label-after { right: 12px; }
.gallery-item-title {
  text-align: center;
  margin-top: 1rem;
  font-weight: 700;
  color: var(--text-primary);
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.about-text {
  opacity: 1 !important;
  transform: none !important;
}
.theme-florimi .about-text {
  color: #1e293b;
}
.theme-florimi .about-text p,
.theme-florimi .about-text li {
  color: #334155;
}
.theme-florimi .about-text .section-label {
  color: #1d4ed8;
}
.theme-florimi .about-text h2 {
  color: #0f172a;
}
.about-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--navy-light);
  min-height: 400px;
  aspect-ratio: 4 / 3;
  position: relative;
}
.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.legal-stand {
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  color: var(--text-muted, #64748b);
}
.legal-content code {
  font-size: 0.88em;
  padding: 0.1em 0.35em;
  border-radius: 4px;
  background: rgba(15, 23, 42, 0.06);
}
.about-features-title {
  margin: 1.25rem 0 0;
  font-weight: 600;
  color: var(--navy, #0f172a);
}
.about-outro {
  margin-top: 1.25rem;
}
.feature-list {
  list-style: none;
  margin-top: 0.75rem;
}
.feature-list li {
  padding: 0.75rem 0 0.75rem 2rem;
  position: relative;
  border-bottom: 1px solid rgba(214, 195, 165, 0.12);
}
.feature-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--royal);
  font-weight: 700;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2.5rem;
}
.contact-info-card {
  padding: 2rem;
}
.contact-info-card h3 { margin-bottom: 1.5rem; color: var(--text-primary); }
.contact-info-card p,
.contact-info-card a:not(.btn) { color: var(--text-muted); }
.contact-info-card a:not(.btn):hover { color: var(--anthracite); }
.contact-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
  align-items: flex-start;
}
.contact-item-icon {
  width: 44px;
  height: 44px;
  background: var(--accent-soft);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--royal);
  font-size: 1.1rem;
}
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
  color: var(--text-primary);
}
.form-group input:not([type="checkbox"]):not([type="radio"]),
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--silver-light);
  border-radius: 10px;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  background: var(--surface-elevated);
  color: var(--text-primary);
  border-color: var(--graphite-mid);
}
.form-group input:not([type="checkbox"]):not([type="radio"]):focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(214, 195, 165, 0.18);
}
.form-group textarea { min-height: 140px; resize: vertical; }
.checkbox-group {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.75rem;
  align-items: flex-start;
  font-size: 0.9rem;
  color: var(--grey);
  width: 100%;
  max-width: 100%;
}
.checkbox-group input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  margin-top: 3px;
  flex-shrink: 0;
  padding: 0;
  border: 1px solid var(--silver);
  border-radius: 4px;
  accent-color: var(--royal);
  cursor: pointer;
}
.checkbox-group label {
  display: block;
  flex: 1;
  min-width: 0;
  font-weight: 400;
  margin-bottom: 0;
  line-height: 1.55;
  cursor: pointer;
}
.checkbox-group label a {
  font-weight: 500;
  color: var(--accent);
}
.checkbox-group label a:hover {
  color: var(--anthracite);
}
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.contact-map-link {
  display: inline-block;
  margin-top: 0.35rem;
  font-size: 0.9rem;
  font-weight: 500;
}
.contact-map {
  margin-top: 1.5rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.08);
  background: var(--surface-elevated);
}
.contact-map__embed {
  display: block;
  width: 100%;
  height: 280px;
  border: 0;
}
.contact-map__cta {
  display: block;
  text-align: center;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  background: rgba(15, 23, 42, 0.04);
  color: var(--navy, #0f172a);
  text-decoration: none;
}
.contact-map__cta:hover {
  background: rgba(15, 23, 42, 0.08);
}


/* Page hero */
.page-hero {
  background: var(--gradient-hero);
  color: var(--text-primary);
  padding: 4rem 0 3rem;
  text-align: center;
}
.page-hero--slideshow {
  position: relative;
  overflow: hidden;
  padding: 5rem 0 4rem;
  color: #f8f6f3;
  min-height: 280px;
  display: flex;
  align-items: center;
}
.page-hero__slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.page-hero__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1.4s ease, transform 8s ease;
}
.page-hero__slide.is-active {
  opacity: 1;
  transform: scale(1);
}
.page-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(12, 10, 8, 0.45) 0%, rgba(12, 10, 8, 0.72) 100%),
    linear-gradient(120deg, rgba(20, 16, 12, 0.35) 0%, transparent 55%);
  pointer-events: none;
}
.page-hero__content {
  position: relative;
  z-index: 2;
}
.page-hero--slideshow h1 {
  color: #ffffff;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}
.page-hero--slideshow p {
  color: rgba(255, 252, 248, 0.92);
  opacity: 1;
  max-width: 600px;
  margin: 0 auto;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.3);
}
.page-hero--slideshow .breadcrumb {
  opacity: 0.9;
}
.page-hero--slideshow .breadcrumb a {
  color: rgba(255, 252, 248, 0.85);
}
.page-hero--slideshow .breadcrumb a:hover {
  color: #ffffff;
}
.page-hero--slideshow .breadcrumb span {
  color: rgba(255, 252, 248, 0.75);
}
.page-hero h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
}
.page-hero p { opacity: 0.85; max-width: 600px; margin: 0 auto; }
.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  opacity: 0.7;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--anthracite); }

/* Legal – immer sofort lesbar (kein Reveal: lange Texte erreichen sonst kaum den Sichtbarkeits-Schwellenwert) */
.legal-content {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(214, 195, 165, 0.12);
  max-width: 900px;
  margin: 0 auto;
  opacity: 1 !important;
  transform: none !important;
}
.legal-content.reveal {
  opacity: 1 !important;
  transform: none !important;
}
.legal-content h2 {
  font-size: 1.35rem;
  margin: 2rem 0 0.75rem;
  color: var(--text-primary);
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content p, .legal-content li { color: var(--text-muted); margin-bottom: 0.75rem; }
.legal-content ul { padding-left: 1.5rem; margin-bottom: 1rem; }

/* Alerts */
.alert {
  padding: 1rem 1.25rem;
  border-radius: 10px;
  margin-bottom: 1.5rem;
  font-weight: 500;
}
.alert-success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.alert-error { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }

/* CTA band */
.cta-band {
  background: var(--navy);
  color: var(--white);
  padding: 4rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band h2 { font-size: 2rem; margin-bottom: 1rem; }
.cta-band p { opacity: 0.9; margin-bottom: 2rem; max-width: 560px; margin-inline: auto; }

/* Footer */
.site-footer {
  position: relative;
  background: var(--navy);
  color: var(--silver-light);
  padding: 4rem 0 0;
}
.footer-gradient {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-accent);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
}
.footer-brand p { margin-top: 1rem; font-size: 0.95rem; opacity: 0.85; }
.footer-slogan {
  color: var(--accent-light);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin: 0.75rem 0;
}
.footer-logo-wrap {
  display: inline-block;
  background: var(--white);
  padding: 0.65rem 1rem;
  border-radius: 12px;
  margin-bottom: 1rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  transition: transform var(--transition), box-shadow var(--transition);
}
.footer-logo-wrap:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
}
.footer-logo {
  height: 72px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  display: block;
}
.footer-links h3, .footer-contact h3 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 1rem;
}
.footer-links ul, .footer-contact ul { list-style: none; }
.footer-links li, .footer-contact li { margin-bottom: 0.5rem; }
.footer-links a, .footer-contact a { color: var(--silver-light); }
.footer-links a:hover, .footer-contact a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.875rem;
}
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { color: var(--silver); }

/* Cookie */
.cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2000;
  width: min(560px, 92%);
}
.cookie-inner { padding: 1.25rem 1.5rem; }
.cookie-inner p { font-size: 0.9rem; margin-bottom: 1rem; color: var(--grey); }
.cookie-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }

/* WhatsApp float */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 56px;
  height: 56px;
  background: #25d366;
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37,211,102,0.45);
  z-index: 1500;
  transition: transform var(--transition);
}
.whatsapp-float:hover {
  transform: scale(1.08);
  color: var(--white);
}

/* Animations */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Admin */
.admin-body {
  --off-white: #f3f4f6;
  --grey: #6b7280;
  --silver: #9ca3af;
  --silver-light: #e5e7eb;
  --text-primary: #111827;
  --text-muted: #4b5563;
  background: #eef2f7;
  min-height: 100vh;
  color: #111827;
}
.admin-header {
  background: var(--navy);
  color: var(--white);
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.admin-nav { display: flex; gap: 1rem; flex-wrap: wrap; }
.admin-nav a { color: var(--silver-light); font-size: 0.9rem; }
.admin-nav a:hover { color: var(--white); }
.admin-main { padding: 2rem; max-width: 1200px; margin: 0 auto; }
.admin-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.5rem;
}
.admin-card h2 { font-size: 1.2rem; margin-bottom: 1rem; color: var(--navy); }
.admin-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.admin-table th, .admin-table td {
  padding: 0.75rem;
  text-align: left;
  border-bottom: 1px solid #eee;
}
.admin-table th { font-weight: 600; color: var(--navy); background: var(--off-white); }
.login-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-hero);
}
.login-card {
  width: min(420px, 92%);
  padding: 2.5rem;
}
.login-card h1 { text-align: center; margin-bottom: 1.5rem; color: var(--navy); }
.tab-nav { display: flex; gap: 0.5rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.tab-btn {
  padding: 0.5rem 1rem;
  border: 1px solid var(--silver-light);
  background: var(--off-white);
  border-radius: 8px;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.85rem;
}
.tab-btn.active { background: var(--royal); color: var(--white); border-color: var(--royal); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* Admin – Galerie (einfache Bedienung) */
.gallery-admin-wrap h2 { margin-bottom: 0.75rem; }
.gallery-admin-intro {
  background: #f5f0eb;
  border-left: 4px solid var(--accent);
  padding: 1rem 1.25rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  line-height: 1.55;
}
.gallery-admin-subtitle {
  font-size: 1.05rem;
  color: var(--navy);
  margin: 2rem 0 1rem;
  padding-top: 1.5rem;
  border-top: 2px solid #eee;
}
.gallery-admin-card {
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  background: #fafbfc;
}
.gallery-admin-card-new {
  background: #fff;
  border-color: var(--royal);
  box-shadow: 0 4px 20px rgba(30, 90, 140, 0.08);
}
.gallery-admin-card h3 { color: var(--navy); margin-bottom: 0.5rem; font-size: 1.15rem; }
.gallery-admin-card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.gallery-admin-badge {
  font-size: 0.75rem;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  font-weight: 600;
}
.gallery-admin-badge-live { background: #d4edda; color: #155724; }
.gallery-admin-badge-hidden { background: #f8d7da; color: #721c24; }
.gallery-intro-text { margin-bottom: 1.25rem; color: var(--grey); line-height: 1.5; }
.gallery-label-main { font-weight: 600; color: var(--navy); display: block; margin-bottom: 0.25rem; }
.gallery-hint { font-size: 0.85rem; color: var(--grey); margin: 0 0 0.5rem; line-height: 1.45; }
.gallery-required { color: #c0392b; }
.gallery-admin-previews {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.gallery-preview-box {
  margin: 0;
  text-align: center;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid #dee2e6;
}
.gallery-preview-box img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}
.gallery-preview-box figcaption {
  padding: 0.5rem;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--navy);
  background: var(--off-white);
}
.gallery-preview-box-sm img { aspect-ratio: 1; }
.gallery-upload-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin: 1rem 0;
}
.gallery-upload-field { margin: 0; }
.gallery-file-btn {
  display: block;
  text-align: center;
  padding: 1rem;
  background: #fff;
  border: 2px dashed var(--silver-light);
  border-radius: 10px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.gallery-file-btn:hover { border-color: var(--accent-dark); background: #f5f0eb; }
.gallery-file-btn span { font-weight: 600; color: var(--royal); font-size: 0.9rem; }
.gallery-file-btn input { display: none; }
.gallery-file-btn-primary { border-style: solid; border-color: var(--accent-dark); background: #f5f0eb; }
.gallery-checkbox {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 1rem 0;
  font-size: 0.95rem;
}
.gallery-admin-actions { margin-top: 0.5rem; }
.gallery-extra-section {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px dashed #ccc;
}
.gallery-extra-section h4,
.gallery-extra-add h4 {
  font-size: 0.95rem;
  color: var(--navy);
  margin-bottom: 0.35rem;
}
.gallery-extra-add {
  margin-top: 1.25rem;
  padding: 1rem;
  background: #fff;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
}
.gallery-extra-list { list-style: none; padding: 0; margin: 1rem 0 0; }
.gallery-extra-item {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 0.75rem;
  align-items: end;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #eee;
}
.gallery-extra-item:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.gallery-btn-delete { background: #dc3545; color: #fff; border: none; }
.gallery-btn-delete:hover { background: #c82333; color: #fff; }
.gallery-delete-form {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid #eee;
}

/* Admin – Übersicht & weitere Bereiche */
.admin-overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}
.admin-overview-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
  text-align: left;
  padding: 1.25rem;
  background: #fff;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  cursor: pointer;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
}
.admin-overview-card:hover {
  border-color: var(--royal);
  box-shadow: 0 6px 20px rgba(30, 90, 140, 0.12);
  transform: translateY(-2px);
}
.admin-overview-card-alert {
  border-color: #f0ad4e;
  background: #fffdf5;
}
.admin-overview-icon { font-size: 1.75rem; line-height: 1; }
.admin-overview-card strong { color: var(--navy); font-size: 1rem; }
.admin-overview-card span { font-size: 0.85rem; color: var(--grey); }
.admin-overview-card small { font-size: 0.8rem; color: var(--silver); margin-top: 0.25rem; }

.content-admin-card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.75rem 1.25rem;
  margin-bottom: 0.35rem;
}
.content-admin-where {
  font-size: 0.85rem;
  color: var(--grey);
  background: var(--off-white, #f5f5f5);
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
}
.content-stats-preview {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  padding: 1.25rem 1rem;
  background: var(--navy, #222);
  border-radius: 8px;
  margin: 1rem 0 0.5rem;
  text-align: center;
}
.content-stats-preview-num {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent, #d6c3a5);
}
.content-stats-preview-label {
  display: block;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 0.25rem;
}
.content-preview-hint { margin-bottom: 1rem !important; }
.content-admin-card + .content-admin-card { margin-top: 1.25rem; }

.stats-filter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}
.stats-filter-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: flex-end; }
.stats-period-badge {
  margin: 0 0 1.25rem;
  padding: 0.65rem 1rem;
  background: var(--off-white, #f5f5f5);
  border-radius: 8px;
  font-size: 0.95rem;
}
.stats-kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}
.stats-kpi-card {
  background: linear-gradient(135deg, var(--navy, #222) 0%, #333 100%);
  color: #fff;
  padding: 1.25rem 1rem;
  border-radius: 10px;
  text-align: center;
}
.stats-kpi-num {
  display: block;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--accent, #d6c3a5);
}
.stats-kpi-label { font-size: 0.8rem; opacity: 0.9; }
.stats-table-wrap { overflow-x: auto; margin: 1rem 0 2rem; }
.stats-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.stats-table th,
.stats-table td {
  padding: 0.65rem 0.75rem;
  text-align: left;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.stats-table th {
  background: var(--off-white, #f5f5f5);
  color: var(--navy);
  font-weight: 600;
}
.stats-table tbody tr:hover { background: rgba(0, 0, 0, 0.02); }
.stats-ip {
  font-size: 0.85em;
  background: #f0f0f0;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
}
.stats-country-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 2rem;
}
.stats-country-chip {
  background: var(--off-white, #f5f5f5);
  padding: 0.6rem 1rem;
  border-radius: 8px;
  font-size: 0.88rem;
}
.stats-country-chip strong { display: block; color: var(--navy); }
.stats-country-chip span { color: var(--grey); font-size: 0.8rem; }

.admin-star-picker { display: flex; gap: 0.25rem; flex-wrap: wrap; align-items: center; margin: 0.5rem 0; }
.admin-star-btn {
  font-size: 2rem;
  line-height: 1;
  padding: 0.15rem 0.35rem;
  border: none;
  background: transparent;
  color: #ddd;
  cursor: pointer;
  transition: color 0.15s, transform 0.1s;
}
.admin-star-btn:hover,
.admin-star-btn.active { color: var(--accent-dark); }
.admin-star-btn.active { transform: scale(1.08); }
.admin-star-display { color: #ddd; font-size: 1.1rem; }
.admin-star-display.filled { color: var(--accent-dark); }
.admin-star-display-row { display: flex; gap: 0.1rem; }
.admin-review-preview {
  margin: 0 0 1.25rem;
  padding: 1rem 1.25rem;
  background: #fff;
  border-radius: 10px;
  border-left: 4px solid var(--royal);
  font-style: italic;
  color: var(--grey);
  line-height: 1.5;
}

.admin-contact-card-new {
  border-color: #f0ad4e;
  background: #fffdf8;
}
.admin-contact-date { font-size: 0.85rem; color: var(--grey); margin-left: auto; }
.admin-contact-details {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.35rem 1rem;
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
}
.admin-contact-details dt { font-weight: 600; color: var(--navy); }
.admin-contact-details dd { margin: 0; }
.admin-contact-message {
  grid-column: 1 / -1;
  background: #fff;
  padding: 1rem;
  border-radius: 8px;
  border: 1px solid #eee;
  line-height: 1.55;
}
.admin-contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}
.admin-empty-state {
  text-align: center;
  padding: 2.5rem 1rem;
  background: var(--off-white);
  border-radius: 12px;
}

.admin-google-preview {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 1rem 1.25rem;
  margin-bottom: 1.25rem;
}
.admin-google-preview-title {
  color: #1a0dab;
  font-size: 1.1rem;
  line-height: 1.3;
  margin-bottom: 0.2rem;
}
.admin-google-preview-url { color: #006621; font-size: 0.85rem; margin-bottom: 0.35rem; }
.admin-google-preview-desc { color: #545454; font-size: 0.9rem; line-height: 1.45; }
.admin-char-count { font-weight: 600; color: var(--royal); }
.admin-form-error { color: #c0392b; font-size: 0.9rem; margin: 0.5rem 0 1rem; }

/* Galerie – Weitere Bilder (Website) */
.gallery-item-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.75rem;
}
.gallery-more-btn {
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  border: 2px solid var(--royal);
  background: transparent;
  color: var(--royal);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.gallery-more-btn:hover {
  background: var(--royal);
  color: var(--white);
}
.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.gallery-modal[hidden] { display: none; }
.gallery-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 35, 55, 0.75);
}
.gallery-modal-dialog {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 1.5rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}
.gallery-modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 40px;
  height: 40px;
  border: none;
  background: var(--off-white);
  border-radius: 50%;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  color: var(--navy);
}
.gallery-modal-close:hover { background: #eee; }
.gallery-modal-title { font-size: 1.2rem; color: var(--navy); margin: 0 2.5rem 0.5rem 0; }
.gallery-modal-hint { font-size: 0.85rem; color: var(--grey); margin-bottom: 1.25rem; }
.gallery-modal-sliders { display: flex; flex-direction: column; gap: 2rem; }
.gallery-modal-slide .ba-slider { border-radius: var(--radius); overflow: hidden; }

/* Responsive */
@media (max-width: 992px) {
  .hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .gallery-admin-previews,
  .gallery-upload-row,
  .gallery-extra-item,
  .admin-overview-grid {
    grid-template-columns: 1fr;
  }
  .gallery-extra-item { align-items: stretch; }
  .admin-contact-date { margin-left: 0; width: 100%; }
  .admin-contact-actions { flex-direction: column; align-items: stretch; }
  .admin-contact-actions .btn { width: 100%; text-align: center; }
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: rgba(248, 247, 244, 0.98);
    backdrop-filter: blur(20px);
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    border-bottom: 1px solid rgba(214, 195, 165, 0.35);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
  }
  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav li { border-bottom: 1px solid rgba(214, 195, 165, 0.12); }
  .main-nav a { color: var(--text-primary); }
  .main-nav a { display: block; padding: 0.85rem 0; }
  .nav-cta { margin: 1rem 0 0; width: 100%; }
  .hero-visual { order: -1; }
  .hero-logo-wrap { padding: 1.25rem; }
  .hero-logo-wrap img { max-height: 180px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .legal-content { padding: 1.5rem; }
}
@media (max-width: 480px) {
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; }
  .stats-grid { grid-template-columns: 1fr; }
}

/* Dunkle Farbschemata (Admin: Design) */
.theme-dark .site-header.scrolled {
  background: var(--glass-bg);
  border-bottom-color: var(--glass-border);
}
.theme-dark .main-nav a,
.theme-dark .site-header.scrolled .main-nav a {
  color: var(--text-primary);
}
.theme-dark .main-nav a:hover,
.theme-dark .main-nav a.active,
.theme-dark .site-header.scrolled .main-nav a:hover,
.theme-dark .site-header.scrolled .main-nav a.active {
  color: var(--accent);
}
.theme-dark .main-nav a::after {
  background: var(--accent);
}
.theme-dark .nav-toggle span,
.theme-dark .site-header.scrolled .nav-toggle span {
  background: var(--text-primary);
}
.theme-dark .site-footer {
  background: var(--black-soft);
  color: var(--text-muted);
}
.theme-dark .section-alt {
  background: var(--surface-alt);
}
.theme-dark .section--services-premium {
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, color-mix(in srgb, var(--accent) 8%, transparent), transparent 65%),
    linear-gradient(180deg, var(--off-white) 0%, var(--surface-alt) 100%);
}
.theme-dark .service-card--premium {
  background: var(--gradient-card);
  border-color: color-mix(in srgb, var(--accent) 16%, rgba(255, 255, 255, 0.06));
  box-shadow:
    0 1px 0 color-mix(in srgb, #fff 5%, transparent) inset,
    0 18px 48px rgba(0, 0, 0, 0.35);
}
.theme-dark .service-card--premium::after {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.theme-dark .service-icon--premium {
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.2) inset,
    0 16px 36px rgba(0, 0, 0, 0.45),
    0 0 0 4px color-mix(in srgb, var(--surface) 90%, transparent);
}
.theme-dark .service-card__footer {
  border-top-color: color-mix(in srgb, var(--accent) 14%, rgba(255, 255, 255, 0.06));
}

/* Florimi: Navy + Royalblau – dunkler Hero, weicher Übergang ins Helle */
.theme-florimi .hero {
  color: #ffffff;
  background:
    radial-gradient(ellipse 120% 80% at 50% -20%, rgba(59, 130, 246, 0.45), transparent 55%),
    radial-gradient(ellipse 80% 60% at 100% 50%, rgba(29, 78, 216, 0.2), transparent 50%),
    radial-gradient(ellipse 60% 50% at 0% 80%, rgba(10, 22, 40, 0.9), transparent 55%),
    var(--gradient-hero);
}
.theme-florimi .hero::before {
  z-index: 1;
  background:
    radial-gradient(ellipse 70% 50% at 80% 10%, rgba(59, 130, 246, 0.25) 0%, transparent 55%),
    radial-gradient(ellipse 40% 30% at 5% 60%, rgba(29, 78, 216, 0.12) 0%, transparent 45%);
}
/* Blau läuft nach unten aus und geht ins Weiß der nächsten Sektion über */
.theme-florimi .hero::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: min(48vh, 380px);
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(10, 22, 40, 0.08) 12%,
    rgba(15, 39, 68, 0.22) 28%,
    rgba(59, 130, 246, 0.14) 45%,
    rgba(147, 197, 253, 0.22) 62%,
    rgba(210, 226, 245, 0.75) 78%,
    rgba(240, 246, 252, 0.95) 90%,
    #fafcfe 100%
  );
}
.theme-florimi .hero-grid {
  position: relative;
  z-index: 3;
  padding-bottom: 5rem;
}
.theme-florimi .hero-buildings {
  z-index: 1;
  opacity: 0.06;
  mask-image: linear-gradient(to bottom, black 0%, black 40%, transparent 85%);
  -webkit-mask-image: linear-gradient(to bottom, black 0%, black 40%, transparent 85%);
}
.theme-florimi .hero + .section {
  margin-top: 0;
  padding-top: 4.5rem;
  background: linear-gradient(180deg, #fafcfe 0%, #f4f7fb 100%);
}
.theme-florimi .hero-badge {
  background: rgba(59, 130, 246, 0.2);
  border-color: rgba(147, 197, 253, 0.45);
  color: #93c5fd;
}
.theme-florimi .hero-slogan,
.theme-florimi .hero-text {
  color: rgba(255, 255, 255, 0.85);
}
.theme-florimi .hero-trust {
  color: rgba(255, 255, 255, 0.95);
  background: rgba(255, 255, 255, 0.1);
  border-left-color: #60a5fa;
}
.theme-florimi .trust-banner {
  background: linear-gradient(135deg, rgba(29, 78, 216, 0.08) 0%, rgba(59, 130, 246, 0.12) 100%);
  border-color: rgba(59, 130, 246, 0.2);
}
.theme-florimi .trust-banner__text {
  color: #1e3a5f;
}
.theme-florimi .hero h1 {
  background: linear-gradient(135deg, #fff 0%, #93c5fd 50%, #3b82f6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.theme-florimi .hero-logo-wrap {
  background: rgba(15, 39, 68, 0.75);
  border-color: rgba(59, 130, 246, 0.25);
  backdrop-filter: blur(12px);
}
.theme-florimi .hero-buildings rect {
  fill: rgba(59, 130, 246, 0.08);
}

/* Header: weißlich, Navigation in Blau (immer lesbar) */
.theme-florimi .site-header,
.theme-florimi .site-header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(59, 130, 246, 0.1);
  box-shadow: 0 2px 16px rgba(29, 78, 216, 0.06);
}
.theme-florimi .site-header .main-nav a,
.theme-florimi .site-header.scrolled .main-nav a {
  color: #1d4ed8;
  font-weight: 600;
}
.theme-florimi .site-header .main-nav a:hover,
.theme-florimi .site-header.scrolled .main-nav a:hover,
.theme-florimi .site-header .main-nav a.active,
.theme-florimi .site-header.scrolled .main-nav a.active {
  color: #1e40af;
}
.theme-florimi .site-header .main-nav a::after,
.theme-florimi .site-header.scrolled .main-nav a::after {
  background: #3b82f6;
}
.theme-florimi .site-header .main-nav .nav-cta.btn-primary,
.theme-florimi .site-header.scrolled .main-nav .nav-cta.btn-primary {
  color: #ffffff;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 55%, #1e40af 100%);
  box-shadow: 0 6px 20px rgba(29, 78, 216, 0.35);
}
.theme-florimi .site-header .main-nav .nav-cta.btn-primary:hover,
.theme-florimi .site-header.scrolled .main-nav .nav-cta.btn-primary:hover {
  color: #ffffff;
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 55%, #1d4ed8 100%);
}
.theme-florimi .site-header .nav-toggle span,
.theme-florimi .site-header.scrolled .nav-toggle span {
  background: #1d4ed8;
}

/* Seitenflächen: sehr dezente Logo-Nuancen (leichter als im Logo) */
.theme-florimi body {
  background: #f6f8fb;
}
.theme-florimi .section {
  background: linear-gradient(180deg, #fafcfe 0%, #f4f7fb 100%);
}
.theme-florimi .section-alt {
  background: linear-gradient(180deg, #f2f6fc 0%, #eef3f9 100%);
}
.theme-florimi .section-label {
  color: #3b82f6;
  font-weight: 600;
}
.theme-florimi .section-header h2 {
  color: #1d4ed8;
}
.theme-florimi .section-header p {
  color: var(--text-muted);
}
.theme-florimi .section--services-premium {
  background:
    radial-gradient(ellipse 85% 55% at 50% 0%, rgba(10, 22, 40, 0.04), transparent 60%),
    linear-gradient(180deg, #f7f4ef 0%, #f0ebe4 100%);
}
.theme-florimi .service-card--premium {
  background: linear-gradient(180deg, #ffffff 0%, #faf8f5 100%);
  border-color: rgba(10, 22, 40, 0.08);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 16px 44px rgba(10, 22, 40, 0.08);
}
.theme-florimi .service-card__photo {
  filter: saturate(0.78) contrast(1.05) brightness(0.88) sepia(0.06);
}
.theme-florimi .service-card--premium:hover .service-card__photo {
  filter: saturate(0.84) contrast(1.07) brightness(0.92) sepia(0.04);
}
.theme-florimi .service-card__overlay {
  background:
    linear-gradient(180deg, rgba(10, 22, 40, 0.12) 0%, rgba(10, 22, 40, 0.82) 100%),
    linear-gradient(125deg, rgba(201, 162, 39, 0.14) 0%, transparent 50%) !important;
}
.theme-florimi .service-card__vignette {
  background:
    radial-gradient(ellipse 120% 80% at 50% -8%, rgba(255, 248, 238, 0.18) 0%, transparent 45%),
    radial-gradient(ellipse 110% 85% at 50% 108%, rgba(10, 22, 40, 0.5) 0%, transparent 55%);
}
.theme-florimi .service-icon--premium {
  color: #fff9f0;
  background: linear-gradient(145deg, #2a4a7a 0%, #0f2744 55%, #0a1628 100%);
  border-color: rgba(212, 175, 90, 0.45);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.15) inset,
    0 16px 36px rgba(10, 22, 40, 0.35),
    0 0 0 4px #faf8f5;
}
.theme-florimi .service-card--premium:hover .service-icon--premium {
  background: linear-gradient(145deg, #3d5f8f 0%, #1a3a5c 50%, #0a1628 100%);
}
.theme-florimi .service-card__title {
  color: #0a1628;
}
.theme-florimi .service-card__link {
  color: #0f2744;
}
.theme-florimi .service-card__link:hover {
  color: #c9a227;
}
.theme-florimi .review-card {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(10, 22, 40, 0.06);
}
.theme-florimi .gallery-item-title {
  color: #1d4ed8;
}
.theme-florimi .stats-bar {
  background: linear-gradient(135deg, #e8eef6 0%, #f0f4fa 100%);
  color: #1e293b;
}
.theme-florimi .stat-number {
  background: linear-gradient(135deg, #1d4ed8, #3b82f6);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.theme-florimi .stat-label {
  color: #5b6b7d;
}
.theme-florimi .cta-band {
  background: linear-gradient(135deg, rgba(29, 78, 216, 0.92) 0%, rgba(59, 130, 246, 0.88) 100%);
  color: #ffffff;
}
.theme-florimi .legal-content {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(59, 130, 246, 0.12);
  color: #1e293b;
}
.theme-florimi .legal-content h2 {
  color: #1d4ed8;
}
.theme-florimi .legal-content p,
.theme-florimi .legal-content li {
  color: #334155;
  opacity: 1;
}
.theme-florimi .legal-content a {
  color: #1d4ed8;
}
.theme-florimi .legal-stand {
  color: #64748b;
}
.theme-florimi .page-hero:not(.page-hero--slideshow) {
  background: linear-gradient(180deg, #fafcfe 0%, #eef3f9 100%);
  color: var(--text-primary);
}
.theme-florimi .page-hero:not(.page-hero--slideshow) h1 {
  color: #1d4ed8;
}
.theme-florimi .page-hero:not(.page-hero--slideshow) p {
  color: var(--text-muted);
  opacity: 1;
}
.theme-florimi .page-hero--slideshow .page-hero__overlay {
  background:
    linear-gradient(180deg, rgba(10, 22, 40, 0.5) 0%, rgba(10, 22, 40, 0.78) 100%),
    linear-gradient(125deg, rgba(29, 78, 216, 0.2) 0%, transparent 50%);
}
.theme-florimi .page-hero--slideshow h1 {
  color: #ffffff;
}
.theme-florimi .breadcrumb a {
  color: #3b82f6;
}
.theme-florimi .page-hero--slideshow .breadcrumb a {
  color: rgba(255, 252, 248, 0.85);
}
.theme-florimi .breadcrumb a:hover {
  color: #1d4ed8;
}
.theme-florimi .page-hero--slideshow .breadcrumb a:hover {
  color: #ffffff;
}
.theme-florimi .site-footer {
  background: #0a1628;
  color: #94a3b8;
}
.theme-florimi .site-footer a {
  color: #93c5fd;
}
.theme-florimi .btn-primary {
  background: var(--gradient-accent);
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(29, 78, 216, 0.35);
}
.theme-florimi .hero .btn-outline {
  border-color: rgba(255, 255, 255, 0.35);
  color: #ffffff;
}
.theme-florimi .hero .btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #93c5fd;
}
.theme-florimi .section .btn-outline,
.theme-florimi .section-alt .btn-outline {
  border-color: rgba(29, 78, 216, 0.45);
  color: #1d4ed8;
  background: transparent;
}
.theme-florimi .section .btn-outline:hover,
.theme-florimi .section-alt .btn-outline:hover {
  background: rgba(59, 130, 246, 0.1);
  border-color: #1d4ed8;
}

/* —— Admin: Leistungen —— */
.services-admin-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.service-create-panel {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}
.service-create-panel[hidden] { display: none !important; }
.services-sync-details {
  margin-bottom: 1.25rem;
  font-size: 0.9rem;
  color: #64748b;
}
.services-list-title { margin-top: 0.5rem; }
.services-admin-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.service-admin-card { padding: 0; overflow: hidden; }
.service-admin-card-layout {
  display: grid;
  grid-template-columns: minmax(200px, 280px) 1fr;
  gap: 1.25rem;
  padding: 1.25rem;
}
@media (max-width: 768px) {
  .service-admin-card-layout { grid-template-columns: 1fr; }
}
.service-admin-preview-label {
  display: block;
  font-size: 0.75rem;
  color: #64748b;
  margin-bottom: 0.35rem;
  line-height: 1.35;
}
.service-admin-preview-img {
  width: 100%;
  max-width: 280px;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  background: #f1f5f9;
}
.service-admin-desc-preview {
  margin: 0.5rem 0;
  font-size: 0.9rem;
  color: #475569;
  line-height: 1.45;
}
.service-admin-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.75rem 0;
}
.service-inline-form { display: inline; margin: 0; }
.service-edit-panel {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px dashed #cbd5e1;
}
.service-edit-panel[hidden] { display: none !important; }
.service-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.service-form-full { grid-column: 1 / -1; }
@media (max-width: 640px) {
  .service-form-grid { grid-template-columns: 1fr; }
}
.service-image-delete-form { margin-top: 0.75rem; }
.service-image-manager {
  display: grid;
  gap: 1.25rem;
  margin: 1rem 0;
  padding: 1rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
}
.service-img-block-title {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
  color: var(--navy);
  font-weight: 700;
}
.service-img-pending {
  margin-top: 0.75rem;
  padding: 0.85rem;
  background: #fffbeb;
  border: 1px solid #fcd34d;
  border-radius: 8px;
}
.service-img-pending-title {
  margin: 0 0 0.35rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: #b45309;
}
.service-img-pending-hint {
  margin: 0 0 0.65rem;
  font-size: 0.85rem;
  color: #92400e;
}
.service-img-pending-meta {
  margin: 0 0 0.35rem;
  font-size: 0.85rem;
  color: #475569;
  word-break: break-all;
}
.service-img-pending-error {
  margin: 0.5rem 0;
  font-size: 0.85rem;
  color: #b91c1c;
  font-weight: 600;
}
.service-img-pending-preview-wrap { margin: 0.5rem 0; }
.service-img-archive-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 1rem;
  margin-top: 0.75rem;
}
.service-img-archive-item {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 0.65rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.service-img-archive-thumb {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 6px;
  background: #f1f5f9;
}
.service-img-archive-date {
  font-size: 0.72rem;
  color: #64748b;
}
.service-admin-preview--compact .service-admin-preview-label {
  font-size: 0.75rem;
  color: #64748b;
}
@media (min-width: 900px) {
  .service-image-manager--edit-layout {
    grid-template-columns: 1fr 1fr;
  }
}
.service-delete-dialog {
  border: none;
  border-radius: 12px;
  padding: 0;
  max-width: 420px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}
.service-delete-dialog::backdrop { background: rgba(15, 23, 42, 0.45); }
.service-delete-dialog-inner { padding: 1.5rem; margin: 0; }
.service-delete-dialog-inner h3 { margin: 0 0 0.75rem; color: var(--navy); }
.service-delete-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-end;
  margin-top: 1.25rem;
}
.btn-danger {
  background: #b91c1c;
  color: #fff;
  border: none;
}
.btn-danger:hover { background: #991b1b; color: #fff; }

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