/* ============================================
   ASANI SYSTEME — Modern Stylesheet
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font: inherit; }

/* --- Design Tokens --- */
:root {
  --bg: #0E0E10;
  --bg-soft: #16161A;
  --bg-card: #1C1C22;
  --surface: #F5F2EC;
  --text: #F5F2EC;
  --text-dim: #A8A8B0;
  --text-muted: #6B6B73;
  --accent: #de3b35;
  --accent-hover: #c92f2a;
  --accent-soft: rgba(222, 59, 53, 0.13);
  --border: rgba(245, 242, 236, 0.10);
  --border-strong: rgba(245, 242, 236, 0.22);

  --font-display: 'Bricolage Grotesque', 'Inter Tight', system-ui, sans-serif;
  --font-body: 'Inter Tight', system-ui, -apple-system, sans-serif;

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

  --container: 1280px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  font-weight: 400;
  letter-spacing: -0.005em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--accent);
}

/* --- Header / Nav --- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.1rem 0;
  background: rgba(14, 14, 16, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: padding 0.3s var(--ease);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.logo-img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 10px 22px rgba(222, 59, 53, 0.28));
}
.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent) 0%, #9f2420 100%);
  display: grid;
  place-items: center;
  font-size: 0.95rem;
  color: #fff;
  font-weight: 700;
  box-shadow: 0 0 24px rgba(222, 59, 53, 0.34);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
}
.nav-links a {
  position: relative;
  padding: 0.55rem 1rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-dim);
  border-radius: 999px;
  transition: color 0.25s var(--ease), background 0.25s var(--ease);
}
.nav-links a:hover { color: var(--text); }
.nav-links a.active {
  color: var(--text);
  background: var(--bg-card);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.65rem 1.15rem;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 999px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(222, 59, 53, 0.28);
}
.nav-cta svg { width: 14px; height: 14px; }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  align-items: center;
  justify-content: center;
}
.nav-toggle span {
  position: relative;
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--text);
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: '';
  position: absolute;
  left: 0;
  width: 18px;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.3s var(--ease), top 0.3s var(--ease);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
body.nav-open .nav-toggle span { background: transparent; }
body.nav-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
body.nav-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.95rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.005em;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.btn svg { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }

.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(222, 59, 53, 0.34);
  background: var(--accent-hover);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-strong);
}
.btn-ghost:hover {
  background: var(--bg-card);
  border-color: var(--text);
}

/* --- Sections --- */
section { position: relative; z-index: 2; }
.section { padding: clamp(4rem, 9vw, 7rem) 0; }
.section-head {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 720px;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.section-head h2 {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
}
.section-head p {
  font-size: 1.05rem;
  color: var(--text-dim);
  max-width: 560px;
}

/* --- Footer --- */
.site-footer {
  position: relative;
  z-index: 2;
  padding: 4rem 0 2.5rem;
  border-top: 1px solid var(--border);
  background: var(--bg-soft);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand p {
  margin-top: 1rem;
  color: var(--text-dim);
  max-width: 360px;
  font-size: 0.95rem;
}
.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  font-weight: 600;
}
.footer-col ul { list-style: none; display: grid; gap: 0.7rem; }
.footer-col a, .footer-col li {
  color: var(--text-dim);
  font-size: 0.95rem;
  transition: color 0.2s var(--ease);
}
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 1rem;
}

/* --- Animations --- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.reveal {
  opacity: 0;
  animation: fadeUp 0.9s var(--ease) forwards;
}
.reveal[data-delay="1"] { animation-delay: 0.1s; }
.reveal[data-delay="2"] { animation-delay: 0.2s; }
.reveal[data-delay="3"] { animation-delay: 0.3s; }
.reveal[data-delay="4"] { animation-delay: 0.4s; }
.reveal[data-delay="5"] { animation-delay: 0.5s; }
.reveal[data-delay="6"] { animation-delay: 0.6s; }

.scroll-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.scroll-reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* =====================================
   HOME PAGE
   ===================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 9rem 0 5rem;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(222, 59, 53, 0.16) 0%, transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(222, 59, 53, 0.08) 0%, transparent 50%);
}
.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(245, 242, 236, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 242, 236, 0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 4rem;
  align-items: end;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.82rem;
  color: var(--text-dim);
  margin-bottom: 2rem;
}
.hero-tag::before {
  content: '';
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--accent);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.hero h1 {
  font-size: clamp(2.6rem, 7vw, 6rem);
  line-height: 0.94;
  margin-bottom: 1.5rem;
}
.hero h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}
.hero-lead {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: var(--text-dim);
  max-width: 480px;
  margin-bottom: 2.5rem;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.hero-stats {
  display: grid;
  gap: 2rem;
  padding-bottom: 1rem;
}
.hero-stat {
  border-left: 2px solid var(--accent);
  padding-left: 1.2rem;
}
.hero-stat .num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 500;
  letter-spacing: -0.04em;
  display: block;
  line-height: 1;
  margin-bottom: 0.3rem;
}
.hero-stat .label {
  color: var(--text-dim);
  font-size: 0.92rem;
}

/* Marquee / Leistungsleiste: bewusst statisch und responsive */
.marquee {
  padding: clamp(1rem, 2.5vw, 1.5rem) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: visible;
  background: linear-gradient(180deg, var(--bg-soft), var(--bg-card));
}

.marquee-track {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  transform: none !important;
  animation: none !important;
  will-change: auto;
}

.marquee-item {
  font-family: var(--font-display);
  font-size: clamp(0.9rem, 1.6vw, 1.05rem);
  line-height: 1;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  padding: 0.78rem 1.05rem;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: rgba(245, 242, 236, 0.055);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.marquee-item::before {
  content: '✦';
  color: var(--accent);
  margin-right: 0.55rem;
  font-size: 0.8rem;
}

.marquee-item::after {
  content: none;
}

@media (max-width: 768px) {
  .marquee-track {
    justify-content: flex-start;
    gap: 0.55rem;
  }

  .marquee-item {
    padding: 0.68rem 0.85rem;
    font-size: 0.88rem;
  }
}

/* About / Intro Section */
.intro {
  padding: clamp(5rem, 10vw, 8rem) 0;
}
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}
.intro h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 1.5rem;
}
.intro p {
  color: var(--text-dim);
  font-size: 1.05rem;
  margin-bottom: 1.2rem;
}
.intro-features {
  display: grid;
  gap: 1.2rem;
  margin-top: 2.5rem;
}
.intro-feature {
  display: flex;
  gap: 1rem;
  padding: 1.2rem;
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.intro-feature:hover {
  border-color: var(--accent);
  transform: translateX(4px);
}
.intro-feature-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
}
.intro-feature-icon svg { width: 20px; height: 20px; }
.intro-feature h4 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
  letter-spacing: 0;
}
.intro-feature p {
  font-size: 0.92rem;
  margin: 0;
}

/* Gallery preview */
.gallery {
  padding: clamp(4rem, 8vw, 6rem) 0;
  background: var(--bg-soft);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 180px;
  gap: 1rem;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--bg-card);
  cursor: pointer;
  transition: transform 0.5s var(--ease);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease), filter 0.4s var(--ease);
  filter: brightness(0.9);
}
.gallery-item:hover { transform: translateY(-4px); }
.gallery-item:hover img { transform: scale(1.04); filter: brightness(1.04) contrast(1.02); }
.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, transparent 55%);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.gallery-item:hover::after { opacity: 1; }

.gi-1 { grid-column: span 7; grid-row: span 2; }
.gi-2 { grid-column: span 5; grid-row: span 2; }
.gi-3 { grid-column: span 4; }
.gi-4 { grid-column: span 4; }
.gi-5 { grid-column: span 4; }

.gallery-cta {
  margin-top: 2.5rem;
  display: flex;
  justify-content: center;
}

/* CTA Banner */
.cta-banner {
  padding: clamp(4rem, 8vw, 6rem) 0;
}
.cta-box {
  position: relative;
  padding: clamp(2.5rem, 6vw, 5rem);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 70% 0%, rgba(222, 59, 53, 0.22) 0%, transparent 60%),
    linear-gradient(135deg, var(--bg-card) 0%, var(--bg-soft) 100%);
  border: 1px solid var(--border-strong);
  overflow: hidden;
  text-align: center;
}
.cta-box::before {
  content: '';
  position: absolute;
  top: -50%; right: -10%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, var(--accent-soft) 0%, transparent 70%);
  filter: blur(40px);
}
.cta-box h2 {
  position: relative;
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 1rem;
}
.cta-box p {
  position: relative;
  color: var(--text-dim);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}
.cta-box .btn { position: relative; }

/* =====================================
   SERVICE PAGE
   ===================================== */
.page-hero {
  padding: 11rem 0 5rem;
  position: relative;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 80% 30%, rgba(222, 59, 53, 0.12) 0%, transparent 50%);
}
.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
}
.page-hero h1 {
  font-size: clamp(2.5rem, 6.5vw, 5.2rem);
  line-height: 0.96;
  margin: 1.2rem 0 1.5rem;
}
.page-hero p {
  font-size: 1.15rem;
  color: var(--text-dim);
  max-width: 600px;
}

.services {
  padding: 4rem 0 6rem;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.service-card {
  position: relative;
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease);
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 0%), var(--accent-soft) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  pointer-events: none;
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
}
.service-card:hover::before { opacity: 1; }
.service-num {
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
  position: relative;
}
.service-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--accent) 0%, #9f2420 100%);
  display: grid;
  place-items: center;
  color: #fff;
  margin-bottom: 1.5rem;
  position: relative;
  box-shadow: 0 8px 24px rgba(222, 59, 53, 0.22);
}
.service-icon svg { width: 26px; height: 26px; }
.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.8rem;
  position: relative;
}
.service-card p {
  color: var(--text-dim);
  font-size: 0.98rem;
  margin-bottom: 1.5rem;
  position: relative;
}
.service-features {
  list-style: none;
  display: grid;
  gap: 0.7rem;
  position: relative;
}
.service-features li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.92rem;
  color: var(--text-dim);
}
.service-features li::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

/* Process Section */
.process {
  padding: 6rem 0;
  background: var(--bg-soft);
}
.process-list {
  display: grid;
  gap: 0;
}
.process-step {
  display: grid;
  grid-template-columns: 80px 1fr 2fr;
  gap: 2rem;
  padding: 2rem 0;
  border-top: 1px solid var(--border);
  align-items: start;
  transition: padding 0.3s var(--ease);
}
.process-step:last-child { border-bottom: 1px solid var(--border); }
.process-step:hover { padding-left: 1rem; }
.process-step-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 400;
  color: var(--accent);
  line-height: 1;
}
.process-step h3 {
  font-size: 1.4rem;
}
.process-step p {
  color: var(--text-dim);
  max-width: 520px;
}

/* =====================================
   REFERENZEN PAGE
   ===================================== */
.projects {
  padding: 4rem 0 6rem;
}
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.project-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: pointer;
  background: var(--bg-card);
}
.project-card.tall { aspect-ratio: 4 / 5; }
.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease), filter 0.4s var(--ease);
  filter: brightness(0.85);
}
.project-card:hover img {
  transform: scale(1.04);
  filter: brightness(1.04) contrast(1.02);
}
.project-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  background: linear-gradient(to top, rgba(14, 14, 16, 0.92) 0%, rgba(14, 14, 16, 0.4) 40%, transparent 70%);
  z-index: 2;
}
.project-cat {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.6rem;
}
.project-card h3 {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}
.project-card p {
  color: var(--text-dim);
  font-size: 0.95rem;
  max-width: 380px;
}
.project-arrow {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg);
  display: grid;
  place-items: center;
  color: var(--text);
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
  z-index: 3;
}
.project-card:hover .project-arrow {
  background: var(--accent);
  color: #fff;
  transform: rotate(-45deg);
}

/* =====================================
   KONTAKT PAGE
   ===================================== */
.contact-section {
  padding: 4rem 0 6rem;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  align-items: start;
}
.contact-info h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 1.5rem;
}
.contact-info > p {
  color: var(--text-dim);
  font-size: 1.05rem;
  margin-bottom: 2.5rem;
  max-width: 460px;
}
.contact-methods {
  display: grid;
  gap: 1rem;
  margin-bottom: 2.5rem;
}
.contact-method {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.3rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.contact-method:hover {
  border-color: var(--accent);
  transform: translateX(4px);
}
.contact-method-icon {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.contact-method-icon svg { width: 22px; height: 22px; }
.contact-method-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}
.contact-method-value {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.contact-form {
  padding: 2.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.contact-form h3 {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}
.contact-form > p {
  color: var(--text-dim);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1rem;
}
.form-field label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
}
.form-field input,
.form-field textarea,
.form-field select {
  padding: 0.85rem 1rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-size: 0.95rem;
  transition: border-color 0.25s var(--ease);
}
.form-field textarea {
  resize: vertical;
  min-height: 110px;
}
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--accent);
}
.contact-form .btn {
  width: 100%;
  justify-content: center;
  margin-top: 0.5rem;
}

/* =====================================
   RESPONSIVE
   ===================================== */
@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; gap: 3rem; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); }
  .intro-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  body.nav-open .mobile-nav { transform: translateX(0); }

  .mobile-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 85%;
    max-width: 340px;
    background: var(--bg-soft);
    border-left: 1px solid var(--border);
    padding: 6rem 2rem 2rem;
    z-index: 99;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }
  .mobile-nav a {
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
    font-size: 1.2rem;
    font-family: var(--font-display);
    color: var(--text-dim);
  }
  .mobile-nav a.active { color: var(--accent); }
  .mobile-nav .btn {
    margin-top: 1rem;
    justify-content: center;
  }

  .hero { min-height: auto; padding: 8rem 0 4rem; }
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 1.2rem; }
  .hero-stat .num { font-size: 1.8rem; }

  .gallery-grid { grid-auto-rows: 140px; gap: 0.6rem; }
  .gi-1 { grid-column: span 12; grid-row: span 1; }
  .gi-2 { grid-column: span 12; grid-row: span 1; }
  .gi-3, .gi-4, .gi-5 { grid-column: span 6; }
  .gi-5 { grid-column: span 12; }

  .services-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .project-card.tall { aspect-ratio: 4 / 3; }

  .process-step {
    grid-template-columns: 50px 1fr;
    gap: 1rem;
  }
  .process-step > p { grid-column: 2; }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }

  .form-row { grid-template-columns: 1fr; gap: 0; }

  .contact-form { padding: 1.8rem; }
}

@media (max-width: 480px) {
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
}

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


/* =====================================
   INTERACTIVE IMAGE UPGRADE + LIGHTBOX
   ===================================== */
.gallery-item,
.project-card {
  isolation: isolate;
  border: 0;
}

.gallery-item[data-lightbox],
.project-card[data-lightbox] {
  cursor: zoom-in;
}

.gallery-item img,
.project-card img {
  will-change: transform, filter;
}

.gallery-item:hover img,
.project-card:hover img {
  transform: scale(1.04);
  filter: brightness(1.04) contrast(1.02);
}

.image-zoom-icon {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 5;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(14, 14, 16, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.34);
  color: #fff;
  font-size: 2rem;
  font-weight: 300;
  line-height: 1;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), background 0.35s var(--ease);
  pointer-events: none;
}

.gallery-item:hover .image-zoom-icon,
.project-card:hover .image-zoom-icon,
.gallery-item:focus-visible .image-zoom-icon,
.project-card:focus-visible .image-zoom-icon {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  background: rgba(222, 59, 53, 0.86);
}

.gallery-item:focus-visible,
.project-card:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

body.lightbox-open {
  overflow: hidden;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(5, 5, 6, 0.92);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease);
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox-figure {
  width: min(1120px, 100%);
  max-height: 86vh;
  display: grid;
  gap: 1rem;
  transform: translateY(18px) scale(0.98);
  transition: transform 0.35s var(--ease);
}

.lightbox.is-open .lightbox-figure {
  transform: translateY(0) scale(1);
}

.lightbox-image {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 22px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.55);
  background: #111;
}

.lightbox-caption {
  color: rgba(255, 255, 255, 0.78);
  text-align: center;
  font-size: 0.95rem;
}

.lightbox-close,
.lightbox-nav {
  position: fixed;
  z-index: 10000;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background 0.25s var(--ease), transform 0.25s var(--ease), border-color 0.25s var(--ease);
}

.lightbox-close:hover,
.lightbox-nav:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: scale(1.04);
}

.lightbox-close {
  top: 1.4rem;
  right: 1.4rem;
  width: 38px;
  height: 38px;
  font-size: 2rem;
  line-height: 1;
}

.lightbox-nav {
  top: 50%;
  width: 54px;
  height: 54px;
  font-size: 2.4rem;
  transform: translateY(-50%);
}

.lightbox-nav:hover {
  transform: translateY(-50%) scale(1.04);
}

.lightbox-prev { left: 1.4rem; }
.lightbox-next { right: 1.4rem; }

@media (max-width: 768px) {
  .image-zoom-icon {
    width: 48px;
    height: 48px;
    font-size: 1.65rem;
    opacity: 1;
    transform: translate(-50%, -50%) scale(0.92);
    background: rgba(14, 14, 16, 0.58);
  }

  .lightbox {
    padding: 1rem;
  }

  .lightbox-close {
    top: 0.8rem;
    right: 0.8rem;
    width: 46px;
    height: 46px;
  }

  .lightbox-nav {
    width: 46px;
    height: 46px;
    font-size: 2rem;
  }

  .lightbox-prev { left: 0.8rem; }
  .lightbox-next { right: 0.8rem; }
}


/* Leistungsleiste bleibt statisch: keine Animation und kein Abschneiden. */
.marquee-track,
.marquee-track.is-js-marquee {
  animation: none !important;
  transform: none !important;
  transition: none !important;
}
