/* ═══════════════════════════════════════════════════════════
   Nolte Neo Rework 2026 — Neuro Giebelhausen KüchenCenter
   Warm Off-White · Bordeaux · Kaschmir · Greige
   Schrift: Cormorant Garamond + Inter
   Design-System angelehnt an Nolte Neo 2026
   ═══════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  /* Brand */
  --r: #B81C30;
  --r-d: #8B1524;
  --r-s: #fdf0f2;

  /* Warm Neutrals (Nolte Neo 2026) */
  --warm: #F7F4F0;
  --warm2: #EDE8E2;
  --warm3: #E2DCD5;
  --kaschmir: #C9BFB0;
  --greige: #B5A696;

  /* Text */
  --tx: #1a1a1a;
  --txm: #4a4a4a;
  --txl: #7a7a7a;

  /* Foundation */
  --white: #fff;
  --border: #DDD8D0;
  --shadow: 0 2px 24px rgba(0,0,0,0.05);

  /* Fonts */
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, sans-serif;

  /* Spacing & Radius */
  --section-pad: clamp(80px, 12vh, 160px);
  --rds: 4px;
  --rds-lg: 8px;
  --t: 0.35s cubic-bezier(0.25, 0.1, 0.25, 1);
  --max: 1280px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  background: var(--warm);
  color: var(--tx);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 1.5rem; }

/* ═══ TYPOGRAPHIE ═══ */
.overline {
  font-family: var(--sans);
  font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--r); margin-bottom: 0.75rem; display: block;
}

h1, h2, h3, h4 { font-family: var(--serif); color: var(--tx); }
h1 {
  font-size: clamp(2.6rem, 5.5vw, 4.4rem);
  font-weight: 500; line-height: 1.08;
  letter-spacing: -0.02em;
}
h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 500; line-height: 1.18;
  letter-spacing: -0.01em;
}
h3 {
  font-size: 1.35rem; font-weight: 500;
  line-height: 1.25;
}
p { color: var(--txm); line-height: 1.72; }
p.lg { font-size: 1.15rem; }
.rule {
  width: 48px; height: 2px; background: var(--r);
  border: none; margin: 1.5rem 0;
}

/* ═══ NAVIGATION ═══ */
.neo-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 1.2rem 0;
  transition: var(--t);
}
.neo-nav.scrolled {
  background: rgba(247,244,240,0.88);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.neo-nav .container {
  display: flex; align-items: center; justify-content: space-between;
}
.neo-nav-logo { height: 38px; width: auto; }
.neo-nav-links { display: flex; gap: 0.2rem; }
.neo-nav-links a {
  padding: 0.45rem 1rem; border-radius: var(--rds);
  font-size: 0.82rem; font-weight: 500;
  color: var(--txl); transition: var(--t);
}
.neo-nav-links a:hover { color: var(--tx); background: var(--warm2); }
.neo-nav-links a.cta-link {
  color: var(--r); font-weight: 600;
  border-bottom: 1.5px solid var(--r);
  border-radius: 0; padding-bottom: 0.25rem;
}
.neo-nav-links a.cta-link:hover { color: var(--r-d); border-color: var(--r-d); }

/* ═══ FULL-BLEED HERO ═══ */
.neo-hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: flex-end;
  padding: 8rem 0 6rem;
  background: var(--warm2);
  overflow: hidden;
}
.neo-hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center 40%;
  background-repeat: no-repeat;
  z-index: 0;
}
.neo-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(247,244,240,0) 55%,
    rgba(247,244,240,0.7) 78%,
    var(--warm) 100%
  );
  z-index: 1;
}
.neo-hero .container { position: relative; z-index: 2; }
.neo-hero h1 {
  max-width: 680px; margin-bottom: 1.25rem;
}
.neo-hero h1 em { font-style: italic; color: var(--r); }
.neo-hero .hero-sub {
  font-family: var(--sans); font-size: 1.08rem;
  color: var(--txm); max-width: 500px; margin-bottom: 2rem;
}
.neo-hero .hero-hint {
  font-family: var(--sans); font-size: 0.75rem;
  color: var(--txl); letter-spacing: 0.06em;
}

/* ═══ PHILOSOPHIE ═══ */
.neo-section { padding: var(--section-pad) 0; }
.neo-section.alt { background: var(--warm2); }
.neo-section-header {
  text-align: center; max-width: 640px;
  margin: 0 auto 4rem;
}
.neo-section-header .overline { text-align: center; }
.neo-section-header h2 { margin-bottom: 0.75rem; }
.neo-section-header p { color: var(--txl); font-size: 0.95rem; }

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

.phil-card {
  text-align: center; padding: 2.5rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--rds-lg);
  transition: var(--t);
}
.phil-card:hover {
  border-color: var(--kaschmir);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.phil-icon {
  width: 56px; height: 56px; margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: var(--r-s);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
}
.phil-card h3 { margin-bottom: 0.5rem; }
.phil-card p { font-size: 0.88rem; color: var(--txl); }

/* ═══ MATERIAL LABS ═══ */
.mat-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
@media (max-width: 768px) { .mat-grid { grid-template-columns: 1fr; } }
.mat-card {
  position: relative; aspect-ratio: 3/2;
  border-radius: var(--rds-lg); overflow: hidden;
  display: flex; align-items: flex-end;
  background: var(--warm2);
  border: 1px solid var(--border);
  transition: var(--t);
}
.mat-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.mat-card-content {
  padding: 2rem; z-index: 2;
  background: linear-gradient(to top, rgba(0,0,0,0.5), transparent);
  color: var(--white); width: 100%;
}
.mat-card-content h3 {
  color: var(--white);
  font-size: 1.5rem; margin-bottom: 0.25rem;
}
.mat-card-content p { color: rgba(255,255,255,0.8); font-size: 0.88rem; }

/* ═══ GALERIE ═══ */
.gal-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 900px) { .gal-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .gal-grid { grid-template-columns: 1fr; } }

.gal-card {
  position: relative; aspect-ratio: 2/1;
  border-radius: var(--rds-lg); overflow: hidden;
  border: 1px solid var(--border);
  background: var(--warm2);
  transition: var(--t);
  cursor: pointer;
}
.gal-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 40px rgba(0,0,0,0.1);
  border-color: var(--r);
}
.gal-card .gal-tag {
  position: absolute; top: 1rem; left: 1rem;
  background: var(--r); color: var(--white);
  padding: 0.2rem 0.8rem; border-radius: 100px;
  font-size: 0.68rem; font-weight: 600;
  font-family: var(--sans); z-index: 3;
}
.gal-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.55), transparent 55%);
  z-index: 2; display: flex; align-items: flex-end; padding: 1.5rem;
}
.gal-card-overlay h4 {
  color: var(--white);
  font-family: var(--serif);
  font-size: 1.3rem; font-weight: 500;
}

/* ═══ CTA ═══ */
.neo-cta {
  text-align: center; padding: var(--section-pad) 0;
  background: var(--warm2);
}
.neo-cta h2 { margin-bottom: 1rem; }
.neo-cta p { color: var(--txl); font-size: 1rem; margin-bottom: 2.5rem; }
.neo-cta-link {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.9rem 2rem;
  border-radius: 100px;
  background: var(--r); color: var(--white);
  font-family: var(--sans); font-size: 0.95rem; font-weight: 600;
  transition: var(--t);
}
.neo-cta-link:hover {
  background: var(--r-d);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(184,28,48,0.25);
}

/* ═══ FOOTER ═══ */
.neo-footer {
  background: var(--tx); color: rgba(255,255,255,0.55);
  padding: 3rem 0 1.25rem; font-size: 0.82rem;
}
.neo-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem; margin-bottom: 1.5rem;
}
@media (max-width: 700px) { .neo-footer-grid { grid-template-columns: 1fr; } }
.neo-footer h5 {
  color: var(--white); font-size: 0.68rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  margin-bottom: 0.75rem; font-family: var(--sans);
}
.neo-footer ul { display: flex; flex-direction: column; gap: 0.35rem; }
.neo-footer a { color: rgba(255,255,255,0.45); transition: var(--t); }
.neo-footer a:hover { color: var(--r); }
.neo-footer-brand img { height: 30px; width: auto; opacity: 0.9; margin-bottom: 0.75rem; }
.neo-footer-brand p { color: rgba(255,255,255,0.4); font-size: 0.78rem; margin: 0; }
.neo-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 1rem; text-align: center;
  font-size: 0.7rem; color: rgba(255,255,255,0.3);
}

/* ═══ MOBILE MENU ═══ */
.neo-menu-btn { display: none; }
@media (max-width: 768px) {
  .neo-menu-btn {
    display: block; background: none; border: none;
    font-size: 1.3rem; cursor: pointer; color: var(--tx);
  }
  .neo-nav-links {
    position: fixed; top: 64px; left: 0; right: 0;
    flex-direction: column; background: var(--warm);
    padding: 1rem 1.5rem; gap: 0;
    transform: translateY(-120%); opacity: 0;
    transition: var(--t); pointer-events: none;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  }
  .neo-nav-links.open {
    transform: translateY(0); opacity: 1; pointer-events: auto;
  }
  .neo-nav-links a { padding: 0.75rem 0; border-bottom: 1px solid var(--border); }
}

/* ═══ FADE-IN ANIMATION ═══ */
.fade-up {
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible {
  opacity: 1; transform: translateY(0);
}
/* Staffelung für wertige sequenzielle Animation */
.fade-up:nth-child(1) { transition-delay: 0.05s; }
.fade-up:nth-child(2) { transition-delay: 0.12s; }
.fade-up:nth-child(3) { transition-delay: 0.19s; }
.fade-up:nth-child(4) { transition-delay: 0.26s; }
.fade-up:nth-child(5) { transition-delay: 0.33s; }
.fade-up:nth-child(6) { transition-delay: 0.40s; }
.fade-up:nth-child(7) { transition-delay: 0.47s; }
.fade-up:nth-child(8) { transition-delay: 0.54s; }
