/* ═══════════════════════════════════════════
   IDEAL GRABMALE — GLOBAL STYLES
   ═══════════════════════════════════════════ */

/* RESET & TOKENS */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

:root {
  --charcoal: #1c1b19;
  --warm-black: #2a2825;
  --stone-700: #3d3a35;
  --stone-500: #6b655c;
  --stone-400: #8a8279;
  --stone-300: #a9a196;
  --sand-200: #d6cfc5;
  --sand-100: #e8e3db;
  --sand-50: #f3f0eb;
  --cream: #faf8f5;
  --white: #ffffff;
  --accent: #b09968;
  --accent-soft: #c8b48a;
  --accent-deep: #96793e;
  --gold: #b09968;
  --gold-soft: #c8b48a;
  --serif: 'Cormorant Garamond', 'Georgia', serif;
  --sans: 'DM Sans', 'Helvetica Neue', sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--stone-700);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
img[loading="lazy"] {
  opacity: 0;
  transition: opacity 0.4s ease;
}
img[loading="lazy"].loaded,
img[loading="lazy"][complete] { opacity: 1; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ═══════════════════════════════════════════
   UTILITY
═══════════════════════════════════════════ */
.container { max-width: 1160px; margin: 0 auto; padding: 0 2rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* Noise texture overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.018;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

/* ═══════════════════════════════════════════
   SCROLL ANIMATIONS
═══════════════════════════════════════════ */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}
.fade-up.in-view { opacity: 1; transform: translateY(0); }
.fade-up.d1 { transition-delay: 0.08s; }
.fade-up.d2 { transition-delay: 0.15s; }
.fade-up.d3 { transition-delay: 0.22s; }
.fade-up.d4 { transition-delay: 0.28s; }
.fade-up.d5 { transition-delay: 0.34s; }

/* ═══════════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  padding: 0 2rem;
  transition: background 0.4s, box-shadow 0.4s, backdrop-filter 0.4s;
}
.nav.scrolled {
  background: rgba(250, 248, 245, 0.88);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}
.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-brand {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--white);
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
  transition: color 0.4s, text-shadow 0.4s;
}
.nav-brand em {
  font-style: italic;
  color: var(--accent-soft);
  font-weight: 400;
  transition: color 0.4s;
}
.nav.scrolled .nav-brand { color: var(--charcoal); text-shadow: none; }
.nav.scrolled .nav-brand em { color: var(--accent-deep); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}
.nav-links a {
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.03em;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
  transition: color 0.3s, text-shadow 0.4s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0;
  height: 1px;
  background: var(--white);
  transition: width 0.3s var(--ease-out), background 0.4s;
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }
.nav.scrolled .nav-links a { color: var(--stone-500); text-shadow: none; }
.nav.scrolled .nav-links a:hover { color: var(--charcoal); }
.nav.scrolled .nav-links a::after { background: var(--accent-deep); }
.nav-cta-link {
  font-size: 0.8rem !important;
  font-weight: 600 !important;
  color: var(--white) !important;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  padding: 0.55rem 1.4rem;
  border-radius: 3px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-shadow: 0 1px 3px rgba(0,0,0,0.4);
  transition: background 0.3s, border-color 0.3s, transform 0.25s, text-shadow 0.4s !important;
}
.nav-cta-link::after { display: none !important; }
.nav-cta-link:hover { background: rgba(255,255,255,0.25) !important; border-color: rgba(255,255,255,0.5); transform: translateY(-1px); }
.nav.scrolled .nav-cta-link { background: var(--charcoal) !important; border-color: var(--charcoal) !important; text-shadow: none; }
.nav.scrolled .nav-cta-link:hover { background: var(--accent-deep) !important; border-color: var(--accent-deep) !important; }

/* Nav Back Button (subpages) */
.nav-back {
  font-size: 0.8rem !important;
  font-weight: 600 !important;
  color: var(--white) !important;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  padding: 0.55rem 1.4rem;
  border-radius: 3px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-shadow: 0 1px 3px rgba(0,0,0,0.4);
  transition: background 0.3s, border-color 0.3s, transform 0.25s, text-shadow 0.4s !important;
}
.nav-back::after { display: none !important; }
.nav-back:hover { background: rgba(255,255,255,0.25) !important; border-color: rgba(255,255,255,0.5); transform: translateY(-1px); }
.nav.scrolled .nav-back { background: var(--charcoal) !important; border-color: var(--charcoal) !important; color: var(--white) !important; text-shadow: none; }
.nav.scrolled .nav-back:hover { background: var(--accent-deep) !important; border-color: var(--accent-deep) !important; }

/* Subpage nav — always solid background */
.nav.nav-subpage {
  background: rgba(250,248,245,0.88);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}
.nav.nav-subpage .nav-brand { color: var(--charcoal); text-shadow: none; }
.nav.nav-subpage .nav-brand em { color: var(--accent-deep); }
.nav.nav-subpage .nav-links a { color: var(--stone-500); text-shadow: none; }
.nav.nav-subpage .nav-links a:hover { color: var(--charcoal); }
.nav.nav-subpage .nav-links a::after { background: var(--accent-deep); }
.nav.nav-subpage .nav-back { background: var(--charcoal) !important; border-color: var(--charcoal) !important; color: var(--white) !important; text-shadow: none; }
.nav.nav-subpage .nav-back:hover { background: var(--accent-deep) !important; border-color: var(--accent-deep) !important; }
.nav.nav-subpage .nav-toggle span { background: var(--charcoal); filter: none; }

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 22px; height: 1.5px;
  background: var(--white);
  border-radius: 1px;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.5));
  transition: all 0.35s var(--ease-out);
}
.nav.scrolled .nav-toggle span { background: var(--charcoal); filter: none; }
.nav-toggle.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: rgba(250,248,245,0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    gap: 0; padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.06);
  }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; padding: 0.85rem 2rem; font-size: 0.9rem !important; color: var(--stone-500) !important; text-shadow: none !important; }
  .nav-links a:hover { color: var(--charcoal) !important; }
  .nav-links a::after { display: none; }
  .nav-cta-link { margin: 0.5rem 2rem; text-align: center; display: block !important; }
  .nav-back { margin: 0.5rem 2rem; text-align: center; display: block !important; }
}

/* ═══════════════════════════════════════════
   HERO
═══════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  position: relative;
  background: var(--charcoal);
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  background: url('bilder/bild1.jpg') center/cover no-repeat;
  opacity: 0.35;
  transform: scale(1.08);
  animation: heroZoom 12s var(--ease-smooth) forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
    rgba(28,27,25,0.92) 0%,
    rgba(28,27,25,0.5) 40%,
    rgba(28,27,25,0.25) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 2rem 6rem;
  width: 100%;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 1.75rem;
  opacity: 0;
  animation: fadeSlideUp 0.7s 0.2s var(--ease-out) forwards;
}
.hero-eyebrow::before {
  content: '';
  width: 32px; height: 1px;
  background: var(--gold-soft);
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  font-weight: 300;
  line-height: 1.12;
  color: var(--white);
  max-width: 700px;
  margin-bottom: 1rem;
  opacity: 0;
  animation: fadeSlideUp 0.7s 0.35s var(--ease-out) forwards;
}
.hero h1 i {
  font-style: italic;
  color: var(--accent-soft);
}
.hero-sub {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 300;
  font-style: italic;
  color: var(--sand-200);
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeSlideUp 0.7s 0.45s var(--ease-out) forwards;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeSlideUp 0.7s 0.55s var(--ease-out) forwards;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.8rem 2rem;
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 3px;
  border: none;
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
}
.btn-light {
  background: var(--white);
  color: var(--charcoal);
}
.btn-light:hover { background: var(--sand-50); transform: translateY(-2px); box-shadow: 0 6px 24px rgba(0,0,0,0.2); }
.btn-ghost {
  background: transparent;
  color: var(--sand-200);
  border: 1px solid rgba(255,255,255,0.25);
}
.btn-ghost:hover { border-color: var(--white); color: var(--white); transform: translateY(-2px); }

/* Hero bottom stats */
.hero-bottom {
  position: relative;
  z-index: 2;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 2rem 3.5rem;
  width: 100%;
  display: flex;
  gap: 3.5rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeSlideUp 0.7s 0.65s var(--ease-out) forwards;
}
.hero-stat {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
}
.hero-stat-num {
  font-family: var(--serif);
  font-size: 2.2rem;
  font-weight: 400;
  color: var(--white);
  line-height: 1;
}
.hero-stat-label {
  font-size: 0.72rem;
  color: var(--stone-300);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.hero-stat-divider {
  width: 1px;
  height: 28px;
  background: rgba(255,255,255,0.12);
  align-self: center;
}

@media (max-width: 720px) {
  .hero { min-height: 100svh; }
  .hero-content { padding: 7rem 1.5rem 2rem; }
  .hero h1 { font-size: 2rem; }
  .hero-sub { font-size: 1rem; margin-bottom: 1.75rem; }
  .hero-actions { gap: 0.75rem; }
  .btn { padding: 0.75rem 1.6rem; font-size: 0.75rem; }
  .hero-bottom {
    gap: 0;
    padding: 0 1.5rem 2rem;
    justify-content: space-between;
  }
  .hero-stat {
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    flex: 1;
    text-align: center;
  }
  .hero-stat-num { font-size: 1.6rem; }
  .hero-stat-label { font-size: 0.62rem; }
  .hero-stat-divider {
    width: 1px;
    height: 32px;
    display: block;
    align-self: center;
  }
}

@media (max-width: 420px) {
  .hero-content { padding-top: 6rem; padding-bottom: 1.5rem; }
  .hero h1 { font-size: 1.7rem; }
  .hero-badge, .hero-eyebrow { font-size: 0.6rem; }
  .hero-stat-num { font-size: 1.35rem; }
  .hero-bottom { padding-bottom: 1.5rem; }
}

/* ═══════════════════════════════════════════
   MARQUEE STRIP
═══════════════════════════════════════════ */
.marquee-strip {
  background: var(--warm-black);
  overflow: hidden;
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 30s linear infinite;
}
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee-item {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 0 2rem;
  white-space: nowrap;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--stone-400);
}
.marquee-dot {
  width: 4px; height: 4px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════
   SECTION HEADINGS
═══════════════════════════════════════════ */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 1rem;
}
.section-tag::before {
  content: '';
  width: 20px; height: 1px;
  background: var(--accent);
}
.section-heading {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 300;
  line-height: 1.15;
  color: var(--charcoal);
}
.section-heading strong { font-weight: 500; }
.section-heading em {
  font-style: italic;
  color: var(--accent-deep);
}
.section-rule {
  width: 40px;
  height: 1.5px;
  background: var(--gold);
  margin: 1.25rem 0 1.5rem;
}

/* Global mobile refinements */
@media (max-width: 720px) {
  .container { padding: 0 1.25rem; }
  section, .about, .services, .quality, .gallery, .contact { padding: 4rem 0; }
}

/* ═══════════════════════════════════════════
   ABOUT
═══════════════════════════════════════════ */
.about {
  padding: 7rem 0;
  background: var(--cream);
}
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.about-images {
  position: relative;
  height: 500px;
}
.about-img-1 {
  position: absolute;
  top: 0; left: 0;
  width: 68%;
  height: 78%;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.12);
}
.about-img-2 {
  position: absolute;
  bottom: 0; right: 0;
  width: 52%;
  height: 56%;
  object-fit: cover;
  border-radius: 4px;
  border: 5px solid var(--cream);
  box-shadow: 0 16px 48px rgba(0,0,0,0.10);
}
.about-img-accent {
  position: absolute;
  top: -16px; left: -16px;
  width: 100px; height: 100px;
  border: 1px solid var(--gold-soft);
  border-radius: 4px;
  opacity: 0.4;
}
.about-text p {
  color: var(--stone-500);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}
.about-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 0.75rem;
  padding: 0.45rem 1rem;
  background: var(--sand-50);
  border: 1px solid var(--sand-200);
  border-radius: 100px;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--stone-500);
  letter-spacing: 0.04em;
}
.about-tag svg { width: 14px; height: 14px; stroke: var(--gold); fill: none; stroke-width: 1.5; }

@media (max-width: 820px) {
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-images { height: 360px; }
}

/* ═══════════════════════════════════════════
   SERVICES
═══════════════════════════════════════════ */
.services {
  padding: 7rem 0;
  background: var(--white);
  position: relative;
}
.services::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--sand-200), transparent);
}
.services-header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 4rem;
}
.services-header .section-tag { justify-content: center; }
.services-header .section-tag::before { display: none; }
.services-header .section-tag::after {
  content: '';
  width: 20px; height: 1px;
  background: var(--accent);
}
.services-header p { color: var(--stone-400); margin-top: 0.75rem; font-size: 0.95rem; }
.services-header .section-rule { margin: 1.25rem auto 1rem; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--sand-100);
  border: 1px solid var(--sand-100);
  border-radius: 6px;
  overflow: hidden;
}
.service-cell {
  background: var(--white);
  padding: 2.5rem 2rem;
  transition: background 0.35s;
  position: relative;
}
.service-cell:hover { background: var(--sand-50); }
.service-cell::before {
  content: '';
  position: absolute;
  top: 2.5rem; left: 2rem;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.5s var(--ease-out);
}
.service-cell:hover::before { width: 28px; }
.service-num {
  font-family: var(--serif);
  font-size: 2.4rem;
  font-weight: 300;
  color: var(--sand-200);
  line-height: 1;
  margin-bottom: 1.5rem;
  transition: color 0.35s;
}
.service-cell:hover .service-num { color: var(--accent); }
.service-cell h3 {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: 0.6rem;
}
.service-cell p {
  font-size: 0.875rem;
  color: var(--stone-400);
  line-height: 1.65;
}

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

/* ═══════════════════════════════════════════
   QUALITY
═══════════════════════════════════════════ */
.quality {
  padding: 7rem 0;
  background: var(--sand-50);
  position: relative;
  overflow: hidden;
}
.quality::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  border: 1px solid var(--sand-200);
  border-radius: 50%;
  opacity: 0.3;
}
.quality-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 5rem;
  align-items: center;
}
.quality-img-wrap {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  height: 520px;
}
.quality-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.quality-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px;
  pointer-events: none;
}
.quality-text p {
  color: var(--stone-500);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}
.quality-list {
  list-style: none;
  margin-top: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.quality-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  font-size: 0.9rem;
  color: var(--stone-500);
}
.quality-check {
  flex-shrink: 0;
  width: 20px; height: 20px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--accent-deep);
  display: flex;
  align-items: center;
  justify-content: center;
}
.quality-check svg { width: 11px; height: 11px; stroke: var(--white); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.guarantee-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 2rem;
  padding: 0.65rem 1.4rem;
  background: var(--charcoal);
  color: var(--white);
  border-radius: 3px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.guarantee-pill svg { width: 16px; height: 16px; stroke: var(--gold-soft); fill: none; stroke-width: 1.5; }

@media (max-width: 820px) {
  .quality-grid { grid-template-columns: 1fr; gap: 3rem; }
  .quality-img-wrap { height: 340px; }
}

/* ═══════════════════════════════════════════
   GALLERY
═══════════════════════════════════════════ */
.gallery {
  padding: 7rem 0;
  background: var(--white);
}
.gallery-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.gallery-header .section-tag { justify-content: center; }
.gallery-header .section-tag::before { display: none; }
.gallery-header p { color: var(--stone-400); margin-top: 0.5rem; }
.gallery-header .section-rule { margin: 1.25rem auto 1rem; }

.gallery-mosaic {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 8px;
}
.gallery-mosaic .gi {
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}
.gallery-mosaic .gi img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out), filter 0.5s;
}
.gallery-mosaic .gi:hover img { transform: scale(1.06); filter: brightness(1.05); }
.gallery-mosaic .gi::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(28,27,25,0.25) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.4s;
}
.gallery-mosaic .gi:hover::after { opacity: 1; }

/* mosaic spans */
.gi-tall { grid-row: span 2; }
.gi-wide { grid-column: span 2; }

@media (max-width: 760px) {
  .gallery-mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .gi-tall { grid-row: span 1; }
  .gi-wide { grid-column: span 1; }
}

/* ═══════════════════════════════════════════
   CONTACT
═══════════════════════════════════════════ */
.contact {
  padding: 7rem 0;
  background: var(--sand-50);
  position: relative;
}
.contact::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--sand-200), transparent);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 5rem;
}
.contact-info p { color: var(--stone-500); margin-bottom: 2rem; font-size: 0.95rem; }
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.c-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.c-item-icon {
  flex-shrink: 0;
  width: 42px; height: 42px;
  background: var(--white);
  border: 1px solid var(--sand-200);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.c-item-icon svg { width: 18px; height: 18px; stroke: var(--accent-deep); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.c-item-label { font-size: 0.8rem; font-weight: 600; color: var(--charcoal); margin-bottom: 2px; }
.c-item-val { font-size: 0.88rem; color: var(--stone-500); }
.c-item-val a { transition: color 0.2s; }
.c-item-val a:hover { color: var(--accent-deep); }

.hours-box {
  margin-top: 2rem;
  padding: 1.5rem;
  background: var(--white);
  border-radius: 6px;
  border-left: 3px solid var(--gold);
}
.hours-box strong { font-size: 0.85rem; color: var(--charcoal); display: block; margin-bottom: 0.35rem; }
.hours-box p { font-size: 0.85rem; color: var(--stone-500); margin: 0; }
.hours-box .hours-note { font-size: 0.78rem; color: var(--stone-400); margin-top: 0.35rem; font-style: italic; }

/* Contact Action Cards */
.contact-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.contact-action {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.5rem 1.75rem;
  background: var(--white);
  border: 1px solid var(--sand-200);
  border-radius: 8px;
  transition: all 0.35s var(--ease-out);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
}
.contact-action::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 0;
  background: var(--accent-deep);
  transition: width 0.4s var(--ease-out);
  border-radius: 8px 0 0 8px;
}
.contact-action:hover::before { width: 4px; }
.contact-action:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
  border-color: var(--accent-soft);
}
.contact-action-icon {
  flex-shrink: 0;
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s var(--ease-out);
}
.contact-action:hover .contact-action-icon { transform: scale(1.08); }
.contact-action-icon svg { width: 24px; height: 24px; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.contact-action-icon.phone-icon { background: #e8f5e9; }
.contact-action-icon.phone-icon svg { stroke: #2e7d32; }
.contact-action-icon.wa-icon { background: #e8f5e9; }
.contact-action-icon.wa-icon svg { stroke: #25d366; fill: none; }
.contact-action-icon.email-icon { background: #e3f2fd; }
.contact-action-icon.email-icon svg { stroke: var(--accent-deep); }
.contact-action-icon.map-icon { background: #fce4ec; }
.contact-action-icon.map-icon svg { stroke: #c62828; }
.contact-action-body { flex: 1; min-width: 0; }
.contact-action-title {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: 2px;
}
.contact-action-desc { font-size: 0.82rem; color: var(--stone-400); }
.contact-action-arrow {
  flex-shrink: 0;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--sand-50);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s var(--ease-out);
}
.contact-action:hover .contact-action-arrow {
  background: var(--accent-deep);
}
.contact-action-arrow svg { width: 14px; height: 14px; stroke: var(--stone-400); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: stroke 0.3s; }
.contact-action:hover .contact-action-arrow svg { stroke: var(--white); }

.contact-cta-wrap {
  background: var(--white);
  border-radius: 8px;
  padding: 2.5rem;
  border: 1px solid var(--sand-200);
  box-shadow: 0 4px 24px rgba(0,0,0,0.03);
}
.contact-cta-wrap h3 {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--charcoal);
  margin-bottom: 0.3rem;
}
.contact-cta-sub {
  font-size: 0.85rem;
  color: var(--stone-400);
  margin-bottom: 2rem;
}
.contact-security-note {
  margin-top: 1.75rem;
  padding: 1.25rem 1.5rem;
  background: var(--sand-50);
  border-radius: 6px;
  border: 1px dashed var(--sand-200);
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}
.contact-security-icon {
  flex-shrink: 0;
  margin-top: 1px;
}
.contact-security-icon svg { width: 18px; height: 18px; stroke: var(--gold); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.contact-security-text { font-size: 0.78rem; color: var(--stone-400); line-height: 1.55; }
.contact-security-text strong { color: var(--stone-500); font-weight: 600; }

@media (max-width: 820px) {
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 540px) {
  .contact-action { padding: 1.25rem 1.25rem; gap: 1rem; }
  .contact-action-icon { width: 46px; height: 46px; }
  .contact-action-icon svg { width: 20px; height: 20px; }
  .contact-action-title { font-size: 1rem; }
  .contact-action-desc { font-size: 0.78rem; }
  .contact-cta-wrap { padding: 1.75rem 1.25rem; }
}

/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
footer {
  background: var(--charcoal);
  color: var(--stone-400);
  padding: 3rem 0 2.5rem;
  position: relative;
}
footer::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 60px; height: 1.5px;
  background: var(--gold);
  opacity: 0.4;
}
.footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-brand {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--sand-200);
}
.footer-brand em { font-style: italic; color: var(--accent-soft); }
footer p { font-size: 0.78rem; }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a {
  font-size: 0.78rem;
  transition: color 0.2s;
  position: relative;
}
.footer-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1px;
  background: var(--accent-soft);
  transition: width 0.3s var(--ease-out);
}
.footer-links a:hover { color: var(--sand-200); }
.footer-links a:hover::after { width: 100%; }

@media (max-width: 600px) {
  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }
  .footer-links { justify-content: center; }
}

/* ═══════════════════════════════════════════
   SUBPAGE: PAGE HEADER
═══════════════════════════════════════════ */
.page-header {
  padding: 10rem 0 4rem;
  background: var(--charcoal);
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 350px; height: 350px;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 50%;
}
.page-header::after {
  content: '';
  position: absolute;
  bottom: -120px; left: -60px;
  width: 280px; height: 280px;
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 50%;
}
.page-header .container { position: relative; z-index: 1; }
.page-header-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 1rem;
}
.page-header-eyebrow::before {
  content: '';
  width: 24px; height: 1px;
  background: var(--gold-soft);
}
.page-header h1 {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1.15;
}
.page-header h1 em { font-style: italic; color: var(--accent-soft); }
.page-header-rule {
  width: 40px; height: 1.5px;
  background: var(--gold);
  margin-top: 1.25rem;
}

/* ═══════════════════════════════════════════
   SUBPAGE: LEGAL CONTENT (Impressum / Datenschutz)
═══════════════════════════════════════════ */
.legal-content {
  padding: 5rem 0 6rem;
  background: var(--cream);
}
.legal-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 4rem;
}

/* SIDEBAR */
.legal-sidebar {
  position: sticky;
  top: 100px;
  align-self: start;
}
.legal-sidebar-title {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stone-400);
  margin-bottom: 1rem;
}
.legal-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.legal-nav a {
  display: block;
  padding: 0.55rem 0;
  font-size: 0.82rem;
  color: var(--stone-400);
  border-left: 2px solid transparent;
  padding-left: 1rem;
  transition: all 0.25s;
}
.legal-nav a:hover {
  color: var(--charcoal);
  border-left-color: var(--accent);
}

.legal-card {
  background: var(--white);
  border-radius: 6px;
  border: 1px solid var(--sand-200);
  padding: 1.5rem;
  margin-top: 2rem;
}
.legal-card-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 0.75rem;
}
.legal-card p {
  font-size: 0.85rem;
  color: var(--stone-500);
  line-height: 1.65;
}
.legal-card strong { color: var(--charcoal); }

@media (max-width: 860px) {
  .legal-grid { grid-template-columns: 1fr; gap: 0; }
  .legal-sidebar { position: static; display: none; }
}

/* MAIN CONTENT */
.legal-main { min-width: 0; }

.legal-block {
  background: var(--white);
  border: 1px solid var(--sand-200);
  border-radius: 8px;
  padding: 2.5rem;
  margin-bottom: 1.5rem;
}
.legal-block h2 {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--charcoal);
  margin-bottom: 0.35rem;
}
.legal-block h2 em { font-style: italic; color: var(--accent-deep); }
.legal-block-rule {
  width: 30px; height: 1.5px;
  background: var(--gold);
  margin: 0.75rem 0 1.25rem;
}
.legal-block h3 {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--charcoal);
  margin-top: 1.75rem;
  margin-bottom: 0.5rem;
}
.legal-block h3 em { font-style: italic; color: var(--accent-deep); }
.legal-block p {
  font-size: 0.9rem;
  color: var(--stone-500);
  margin-bottom: 0.85rem;
  line-height: 1.7;
}
.legal-block p:last-child { margin-bottom: 0; }

.impressum-data {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 0.5rem;
}
.impressum-item {
  padding: 1rem 1.25rem;
  background: var(--sand-50);
  border-radius: 4px;
  border-left: 3px solid var(--accent);
}
.impressum-item-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--stone-400);
  margin-bottom: 0.25rem;
}
.impressum-item-val {
  font-size: 0.9rem;
  color: var(--charcoal);
  line-height: 1.55;
}
@media (max-width: 560px) {
  .impressum-data { grid-template-columns: 1fr; }
  .legal-block { padding: 1.75rem 1.5rem; }
}

/* Links inside legal blocks */
.legal-block a,
.legal-card a {
  transition: color 0.2s;
}
.legal-block a:hover,
.legal-card a:hover {
  color: var(--accent-deep);
}

/* ═══════════════════════════════════════════
   ACCESSIBILITY: REDUCED MOTION
═══════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .fade-up { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
  html { scroll-behavior: auto; }
}

/* ═══════════════════════════════════════════
   SELECTION COLOR
═══════════════════════════════════════════ */
::selection {
  background: var(--accent);
  color: var(--white);
}
::-moz-selection {
  background: var(--accent);
  color: var(--white);
}
