/* ============================================
   HEIDEN INSEKTENSCHUTZTECHNIK — Modern Redesign
   Design: Clean premium with warm neutral palette
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,300&display=swap');

/* ── Design Tokens ── */
:root {
  --blue-900: #0d2e5a;
  --blue-800: #1a4a8a;
  --blue-700: #1d5fb8;
  --blue-600: #2d6fd0;
  --blue-400: #5b9be8;
  --blue-100: #e8f0fb;
  --blue-50:  #f0f5fd;

  --stone-900: #1c1917;
  --stone-700: #44403c;
  --stone-500: #78716c;
  --stone-300: #d6d3d1;
  --stone-100: #f5f5f4;
  --stone-50:  #fafaf9;

  --text:        var(--stone-900);
  --text-muted:  var(--stone-500);
  --border:      var(--stone-300);
  --bg:          #ffffff;
  --bg-soft:     var(--stone-50);

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.05);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.10), 0 4px 12px rgba(0,0,0,0.06);
  --shadow-xl: 0 24px 60px rgba(0,0,0,0.12), 0 8px 20px rgba(0,0,0,0.07);

  --radius-sm:  8px;
  --radius-md:  16px;
  --radius-lg:  24px;
  --radius-xl:  32px;
  --radius-full: 9999px;

  --font-display: 'Poppins', system-ui, -apple-system, sans-serif;
  --font-body:    'DM Sans', system-ui, -apple-system, sans-serif;

  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset & Base ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

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

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

button {
  font: inherit;
  cursor: pointer;
}

/* ── Layout ── */
.container {
  width: min(1280px, calc(100% - 3rem));
  margin-inline: auto;
}

.section {
  padding-block: 6rem;
}

/* ── Typography Helpers ── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-700);
  margin-bottom: 1rem;
}

.eyebrow::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

/* ══════════════════════════════════════════
   HEADER / NAV
══════════════════════════════════════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #ffffff;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.07);
  transition: box-shadow var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 1rem;
}

/* Logo */
.logo-link {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-image {
  height: 44px;
  width: auto;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--blue-900);
  letter-spacing: -0.01em;
  line-height: 1.2;
}

@media (max-width: 860px) {
  .logo-text { display: none; }
}

/* Nav */
.top-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.top-nav a {
  font-size: 0.925rem;
  font-weight: 500;
  color: var(--stone-700);
  padding: 0.5rem 0.875rem;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}

.top-nav a:hover {
  color: var(--blue-700);
  background: var(--blue-50);
}

/* CTA button in nav */
.top-nav .cta,
.cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.375rem;
  background: var(--blue-700);
  color: #fff !important;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: background var(--transition), box-shadow var(--transition), transform var(--transition);
  box-shadow: 0 2px 8px rgba(29, 95, 184, 0.3);
}

.top-nav .cta:hover,
.cta:hover {
  background: var(--blue-600) !important;
  color: #fff !important;
  box-shadow: 0 4px 16px rgba(29, 95, 184, 0.4);
  transform: translateY(-1px);
}

/* Hamburger */
.mobile-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}

.mobile-nav-toggle:hover {
  background: var(--stone-100);
}

.mobile-nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--stone-700);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition), width var(--transition);
  transform-origin: center;
}

.mobile-nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.mobile-nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  width: 0;
}
.mobile-nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ══════════════════════════════════════════
   HERO
══════════════════════════════════════════ */
.hero {
  position: relative;
  overflow: hidden;
}

.hero-slider {
  display: flex;
  transition: transform 0.9s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-slide {
  min-width: 100%;
  min-height: 92vh;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: flex-end;
}

@media (max-width: 768px) {
  .hero-slide { min-height: 75vh; }
}

.hero-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10, 25, 50, 0.85) 0%,
    rgba(10, 25, 50, 0.4) 45%,
    rgba(10, 25, 50, 0.1) 100%
  );
}

.hero-copy {
  position: relative;
  z-index: 1;
  padding: 4rem 3rem 5rem;
  max-width: 760px;
  color: #fff;
}

.hero-copy .eyebrow {
  color: rgba(255,255,255,0.75);
  font-size: 0.7rem;
}

.hero-copy .eyebrow::before {
  background: rgba(255,255,255,0.6);
}

.hero-copy h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
  color: #fff;
}

.hero-copy p {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: rgba(255,255,255,0.82);
  max-width: 520px;
  line-height: 1.7;
  font-weight: 300;
}

/* Slide indicators */
.hero-indicators {
  position: absolute;
  bottom: 2.5rem;
  right: 3rem;
  display: flex;
  gap: 0.5rem;
  z-index: 2;
}

@media (max-width: 768px) {
  .hero-copy { padding: 2.5rem 1.5rem 4rem; }
  .hero-indicators { right: 1.5rem; bottom: 1.5rem; }
}

.hero-indicators button {
  width: 28px;
  height: 3px;
  border-radius: 2px;
  border: none;
  background: rgba(255,255,255,0.35);
  cursor: pointer;
  transition: background var(--transition), width var(--transition);
  padding: 0;
}

.hero-indicators button.active {
  background: #fff;
  width: 48px;
}

/* ══════════════════════════════════════════
   STATS BAR
══════════════════════════════════════════ */
.stats-bar {
  background: var(--blue-900);
  color: #fff;
  padding-block: 2rem;
}

.stats-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.1);
}

.stat-item {
  background: var(--blue-900);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem 2rem;
  gap: 0.25rem;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
  color: #fff;
}

.stat-label {
  font-size: 0.825rem;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 400;
}

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

/* ══════════════════════════════════════════
   PRODUCTS SECTION
══════════════════════════════════════════ */
.products-section {
  background: var(--bg-soft);
}

.section-header {
  margin-bottom: 3.5rem;
  max-width: 600px;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--stone-900);
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.75;
  font-weight: 300;
}

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

@media (max-width: 1100px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
}
@media (max-width: 480px) {
  .product-grid { grid-template-columns: 1fr; }
}

.product-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--stone-300);
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--blue-400);
}

.product-card-image {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--stone-100);
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover .product-card-image img {
  transform: scale(1.06);
}

.product-card-body {
  padding: 1.375rem 1.5rem 1.5rem;
}

.product-card-body h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--stone-900);
  margin-bottom: 0.5rem;
}

.product-card-body p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.65;
  font-weight: 300;
}

.product-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  margin-top: 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue-700);
  transition: gap var(--transition);
}

.product-card-cta svg {
  transition: transform var(--transition);
}

.product-card:hover .product-card-cta svg {
  transform: translateX(3px);
}

/* ══════════════════════════════════════════
   HIGHLIGHTS / USPs
══════════════════════════════════════════ */
.highlights-section {
  background: var(--bg);
  padding-block: 6rem;
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
}

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

.highlight-card {
  background: var(--bg-soft);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  border: 1px solid var(--stone-300);
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}

.highlight-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-700), var(--blue-400));
  opacity: 0;
  transition: opacity var(--transition);
}

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

.highlight-card:hover::before {
  opacity: 1;
}

.highlight-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--blue-100);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.quality-card .highlight-icon { background: #dbeafe; }
.colors-card .highlight-icon  { background: #e0f2fe; }
.forms-card .highlight-icon   { background: #ede9fe; }

.highlight-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--stone-900);
  margin-bottom: 0.75rem;
}

.highlight-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.75;
  font-weight: 300;
}

/* ══════════════════════════════════════════
   FEATURE STRIP
══════════════════════════════════════════ */
.feature-strip-section {
  background: var(--blue-900);
  padding-block: 5rem;
  color: #fff;
}

.feature-strip-header {
  margin-bottom: 3rem;
  max-width: 600px;
}

.feature-strip-header .eyebrow {
  color: rgba(255,255,255,0.55);
}

.feature-strip-header .eyebrow::before {
  background: rgba(255,255,255,0.4);
}

.feature-strip-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: #fff;
}

.feature-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.feature-item {
  background: var(--blue-900);
  padding: 2.5rem 2rem;
  transition: background var(--transition);
}

.feature-item:hover {
  background: var(--blue-800);
}

.feature-item-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 600;
  color: rgba(255,255,255,0.12);
  line-height: 1;
  margin-bottom: 1rem;
  letter-spacing: -0.04em;
}

.feature-item h2 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.feature-item p {
  color: rgba(255,255,255,0.6);
  font-size: 0.925rem;
  line-height: 1.7;
  font-weight: 300;
}

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

/* ══════════════════════════════════════════
   WORK / EINBLICK SECTION
══════════════════════════════════════════ */
.work-section {
  padding-block: 6rem;
  background: var(--bg-soft);
}

.work-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

@media (max-width: 900px) {
  .work-layout { grid-template-columns: 1fr; gap: 2.5rem; }
}

.work-text {
  position: sticky;
  top: 7rem;
}

.work-text h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--stone-900);
  margin-bottom: 1.25rem;
}

.work-text p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.75;
  font-weight: 300;
}

@media (max-width: 900px) {
  .work-text { position: static; }
}

.work-panels {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.work-card {
  border-radius: var(--radius-lg);
  background-size: cover;
  background-position: center;
  min-height: 360px;
  display: flex;
  align-items: flex-end;
  padding: 2rem;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.work-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,25,50,0.8) 0%, transparent 60%);
  border-radius: var(--radius-lg);
}

.work-card-content {
  position: relative;
  z-index: 1;
}

.work-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.work-card p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.6;
  font-weight: 300;
  max-width: 360px;
}

/* ══════════════════════════════════════════
   SPEZIALBEREICHE (Allergiker / Haustiere)
══════════════════════════════════════════ */
.spezial-section {
  padding-block: 0;
  background: #fff;
  overflow: hidden;
}

.spezial-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 640px;
}

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

.spezial-visual {
  background: var(--blue-50);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 3rem;
}

.spezialbereiche-img-container {
  position: relative;
  width: 100%;
  max-width: 340px;
  aspect-ratio: 3/4;
}

.spezialbereiche-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 24px 32px rgba(0,0,0,0.12));
  z-index: 0;
}

.spezialbereiche-frame {
  z-index: 10;
}

.spezial-content {
  background: #fff;
  display: flex;
  align-items: center;
  padding: 5rem 4rem;
}

@media (max-width: 1100px) {
  .spezial-content { padding: 3.5rem 2.5rem; }
}

@media (max-width: 900px) {
  .spezial-visual { padding: 3rem 2rem; min-height: 360px; }
  .spezial-content { padding: 3rem 2rem; }
}

.spezial-content-inner {
  max-width: 480px;
}

.spezial-content h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 2.75rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--stone-900);
  margin-bottom: 1.5rem;
}

.spezial-features {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.spezial-feature {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.spezial-feature-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--blue-100);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}

.spezial-feature h4 {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--stone-900);
  margin-bottom: 0.25rem;
}

.spezial-feature p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.65;
  font-weight: 300;
}

/* ══════════════════════════════════════════
   MAP SECTION
══════════════════════════════════════════ */
.map-section {
  background: var(--stone-50);
  padding-block: 6rem;
}

.map-section .section-header {
  text-align: center;
  margin-inline: auto;
}

.map-meta {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.map-meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.map-meta-item strong {
  color: var(--stone-900);
}

.map-frame {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--stone-300);
}

.maps-container {
  position: relative;
  width: 100%;
  background: var(--stone-100);
}

.maps-container iframe {
  width: 100%;
  height: 480px;
  border: none;
  display: block;
}

@media (max-width: 768px) {
  .maps-container iframe { height: 320px; }
}

/* ══════════════════════════════════════════
   REVEAL ANIMATIONS
══════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ══════════════════════════════════════════
   FOOTER
══════════════════════════════════════════ */
.site-footer {
  background: var(--blue-900);
  color: #fff;
  padding-block: 3.5rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 2rem;
  align-items: start;
}

@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
}

.footer-brand {
  max-width: 340px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.footer-logo-img {
  height: 38px;
  width: auto;
  opacity: 0.85;
}

.footer-logo-text {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
}

.footer-tagline {
  color: rgba(255,255,255,0.55);
  font-size: 0.9rem;
  line-height: 1.7;
  font-weight: 300;
}

.footer-col-title {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1.25rem;
}

.footer-contact p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.8;
}

.footer-contact a {
  color: rgba(255,255,255,0.85);
  transition: color var(--transition);
}

.footer-contact a:hover {
  color: #fff;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer-links a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  transition: color var(--transition);
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copy {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
}

.footer-credit {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.25);
  margin: 0;
}

.footer-credit a {
  color: rgba(255,255,255,0.35);
  text-decoration: none;
  transition: color var(--transition);
}

.footer-credit a:hover {
  color: rgba(255,255,255,0.6);
}

/* ══════════════════════════════════════════
   COOKIE BANNER
══════════════════════════════════════════ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(18, 36, 64, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: white;
  z-index: 9999;
  border-top: 1px solid rgba(255,255,255,0.08);
  animation: slideUp 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideUp {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

.cookie-banner.hidden {
  display: none;
}

.cookie-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.5rem 2rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2.5rem;
  align-items: center;
}

@media (max-width: 768px) {
  .cookie-container {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding: 1.25rem 1.5rem;
  }
}

.cookie-content h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.375rem;
}

.cookie-content p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
  font-weight: 300;
}

.cookie-content a {
  color: var(--blue-400);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-buttons {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

.cookie-btn-reject {
  padding: 0.625rem 1.25rem;
  background: transparent;
  color: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 500;
  transition: all var(--transition);
}

.cookie-btn-reject:hover {
  background: rgba(255,255,255,0.07);
  color: #fff;
  border-color: rgba(255,255,255,0.35);
}

.cookie-btn-accept {
  padding: 0.625rem 1.375rem;
  background: var(--blue-700);
  color: #fff;
  border: none;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  transition: all var(--transition);
  box-shadow: 0 2px 8px rgba(29, 95, 184, 0.4);
}

.cookie-btn-accept:hover {
  background: var(--blue-600);
  box-shadow: 0 4px 14px rgba(29, 95, 184, 0.5);
}

/* ══════════════════════════════════════════
   LIGHTBOX MODAL
══════════════════════════════════════════ */
.lightbox-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9998;
  align-items: center;
  justify-content: center;
}

.lightbox-modal.open {
  display: flex;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  animation: fadeIn 0.25s ease;
}

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

.lightbox-container {
  position: relative;
  max-width: 92vw;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  z-index: 1;
  animation: scaleIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.94); }
  to   { opacity: 1; transform: scale(1); }
}

.lightbox-close {
  position: absolute;
  top: -48px;
  right: 0;
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  transition: background var(--transition), transform var(--transition);
  padding: 0;
  line-height: 1;
  z-index: 10;
}

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

.lightbox-main {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  position: relative;
}

.lightbox-image-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.97);
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: 1.5rem;
  max-width: 88vw;
  max-height: 78vh;
}

.lightbox-image {
  width: auto;
  height: auto;
  max-width: 82vw;
  max-height: 72vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.9);
  border: none;
  border-radius: var(--radius-full);
  color: var(--blue-700);
  font-size: 1.6rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  z-index: 2;
  box-shadow: var(--shadow-md);
}

.lightbox-nav:hover {
  background: white;
  box-shadow: var(--shadow-lg);
  transform: translateY(-50%) scale(1.08);
}

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

.lightbox-gallery {
  text-align: center;
}

.lightbox-thumbnails {
  display: flex;
  gap: 0.625rem;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 100%;
  overflow-x: auto;
  padding-bottom: 0.25rem;
}

.lightbox-thumbnail {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  flex-shrink: 0;
  background: rgba(255,255,255,0.1);
}

.lightbox-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.lightbox-thumbnail:hover {
  border-color: rgba(255,255,255,0.5);
  transform: scale(1.06);
}

.lightbox-thumbnail.active {
  border-color: white;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.3);
}

@media (max-width: 768px) {
  .lightbox-close {
    top: 12px;
    right: 12px;
    position: fixed;
  }

  .lightbox-container {
    max-width: 100vw;
    max-height: 100vh;
    padding: 1rem;
    gap: 0.875rem;
  }

  .lightbox-image-wrapper {
    max-width: 100%;
    max-height: 58vh;
    padding: 1rem;
  }

  .lightbox-prev, .lightbox-next {
    position: static;
    transform: none;
    width: 40px;
    height: 40px;
    font-size: 1.3rem;
  }

  .lightbox-nav:hover {
    transform: scale(1.06);
  }

  .lightbox-thumbnail {
    width: 56px;
    height: 56px;
  }
}

/* ══════════════════════════════════════════
   LEGAL PAGES
══════════════════════════════════════════ */
.legal-page-hero {
  background: var(--blue-50);
  padding-block: 4rem;
  border-bottom: 1px solid var(--stone-300);
}

.legal-content {
  max-width: 760px;
  padding-block: 4rem;
}

.legal-block {
  margin-bottom: 2.5rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.legal-block:last-child {
  margin-bottom: 0;
}

.legal-block h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--stone-900);
  margin-bottom: 0.875rem;
  letter-spacing: -0.01em;
}

.legal-block p {
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

.legal-block a {
  color: var(--blue-700);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-block a:hover {
  color: var(--blue-600);
}

.legal-block ul {
  margin: 0.75rem 0 0.75rem 1.5rem;
  font-size: 0.95rem;
}

.legal-block li {
  margin-bottom: 0.375rem;
}

/* ══════════════════════════════════════════
   FOCUS & ACCESSIBILITY
══════════════════════════════════════════ */
:focus-visible {
  outline: 2px solid var(--blue-700);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ══════════════════════════════════════════
   SCROLLBAR (optional refinement)
══════════════════════════════════════════ */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--stone-100); }
::-webkit-scrollbar-thumb { background: var(--stone-300); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--stone-500); }

/* ══════════════════════════════════════════
   MOBILE NAV OVERRIDES
══════════════════════════════════════════ */
@media (max-width: 768px) {
  .mobile-nav-toggle {
    display: flex;
  }

  .top-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--stone-300);
    box-shadow: var(--shadow-md);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0;
    z-index: 50;
  }

  .top-nav.open {
    max-height: 400px;
  }

  .top-nav a {
    width: 100%;
    padding: 0.875rem 1.5rem;
    border-radius: 0;
    background: transparent;
    border-bottom: 1px solid var(--stone-100);
    font-size: 1rem;
  }

  .top-nav a:last-child {
    border-bottom: none;
  }

  .top-nav .cta {
    border-radius: 0;
    padding: 0.875rem 1.5rem;
    box-shadow: none;
    transform: none;
  }

  .top-nav .cta:hover {
    transform: none;
  }

  .header-inner {
    position: relative;
  }

  .section {
    padding-block: 4rem;
  }

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

@media (max-width: 480px) {
  .container {
    width: calc(100% - 2rem);
  }
}
