/* ================================================================
   WEB FONTS – lokal gehostet (DSGVO: keine Google-Verbindung)
   Barlow Condensed 400/600/700 · Inter 300/400/500/600
   Subsets: latin + latin-ext (deckt Deutsch inkl. äöüÄÖÜß und € ab)
   ================================================================ */
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/barlow-condensed-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/barlow-condensed-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/barlow-condensed-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/barlow-condensed-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/barlow-condensed-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/barlow-condensed-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Inter ist eine Variable Font – alle Gewichte teilen sich dieselbe Datei */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url('fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url('fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ================================================================
   DESIGN TOKENS
   ================================================================ */
:root {
  /* Palette */
  --dark: #1A1E24;
  --dark-deep: #111418;
  --bg: #F2F3F5;
  --white: #ffffff;
  --border: #E5E8EC;
  --border-light: #F3F4F6;

  /* Accent */
  --accent: #2E6DAD;
  --accent-hover: #3A7EC0;
  --accent-light: #5B9DD4;
  --accent-bg: #EFF4FB;

  /* Text */
  --text-primary: #1A1E24;
  --text-body: #374151;
  --text-muted: #6B7280;
  --text-dim: #9BA3AF;
  --text-dimmer: #4B5563;

  /* Fonts */
  --font-display: 'Barlow Condensed', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing */
  --section-pad: 4rem 5%;
  --section-pad-sm: 3rem 5%;

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --duration: 0.25s;
}

/* ================================================================
   RESET & BASE
   ================================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

/* ================================================================
   NAVBAR
   ================================================================ */
.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  height: 75px;
  position: sticky;
  border-bottom: 1px solid var(--border);
  top: 0;
  z-index: 1000;
}

/* Brand */
.nav-brand {
  display: block;
  text-decoration: none;
}

.brand-logo {
  height: 60px;
  width: auto;
  display: block;
}

/* Nav Links */
.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color var(--duration) var(--ease);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 10px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform var(--duration) var(--ease), opacity var(--duration) var(--ease);
  transform-origin: center;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ================================================================
   HERO SECTION
   ================================================================ */
.hero {
  background: var(--dark);
  position: relative;
  overflow: hidden;
  padding: 5rem 5% 4.5rem;
  min-height: 420px;
  display: flex;
  align-items: center;
}

/* SVG grid background */
.hero-grid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 580px;
  animation: heroEnter 0.8s var(--ease) both;
}

@keyframes heroEnter {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-logo-img {
  width: 400px;
  max-width: 100%;
  height: auto;
  margin-bottom: 1.5rem;
}

.hero-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-eyebrow::before {
  content: '';
  width: 24px;
  height: 1.5px;
  background: var(--accent);
  display: inline-block;
}

.hero p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-dim);
  margin-bottom: 2rem;
  max-width: 420px;
}

/* Hero buttons */
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  padding: 10px 22px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background var(--duration) var(--ease);
}

.btn:hover {
  background: var(--accent-hover);
}

.btn-outline {
  background: transparent;
  border: 1.5px solid #3D4550;
  color: var(--text-dim);
}

.btn-outline:hover {
  border-color: var(--accent-light);
  color: #fff;
  background: transparent;
}

/* Scroll indicator */
.scroll-indicator {
  display: none;
}

/* ================================================================
   STATS STRIP
   ================================================================ */
.stats-strip {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.stat-item {
  padding: 1.25rem 1.5rem;
  border-right: 1px solid var(--border);
  text-align: center;
}

.stat-item:last-child {
  border-right: none;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
}

.stat-num span {
  color: var(--accent);
}

.stat-label {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ================================================================
   SECTION GENERIC
   ================================================================ */
.section {
  padding: var(--section-pad);
}

.section-header {
  margin-bottom: 2rem;
}

.section-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 34px);
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.1;
}

/* ================================================================
   SERVICES GRID
   ================================================================ */
.section-services {
  padding: var(--section-pad);
}

.services-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
  margin-top: 2rem;
}

.service-card {
  background: var(--white);
  border: 0.5px solid var(--border);
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 8px;
}

.service-card p {
  font-size: 13px;
  line-height: 1.65;
  color: var(--text-muted);
}

/* ================================================================
   ADVANTAGES SECTION (dark)
   ================================================================ */
.section-advantages {
  background: var(--dark);
  padding: var(--section-pad);
}

.section-advantages .section-label {
  color: var(--accent-light);
}

.section-advantages .section-title {
  color: #fff;
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.advantage-item {
  border-left: 2px solid var(--accent);
  padding-left: 1rem;
}

.advantage-item h4 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}

.advantage-item p {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.6;
}

/* ================================================================
   CONTACT SECTION
   ================================================================ */
.section-contact {
  background: var(--white);
  padding: var(--section-pad);
  border-top: 1px solid var(--border);
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-top: 2rem;
  max-width: 1000px;
}

.contact-block h3 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.contact-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.contact-icon {
  width: 32px;
  height: 32px;
  background: var(--accent-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: var(--accent);
  flex-shrink: 0;
}

.contact-icon svg {
  width: 16px;
  height: 16px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-detail {
  font-size: 14px;
  color: var(--text-body);
}

.contact-detail small {
  display: block;
  font-size: 11px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.contact-detail a {
  color: var(--text-body);
  text-decoration: none;
  transition: color var(--duration) var(--ease);
}

.contact-detail a:hover {
  color: var(--accent);
}

.social-links {
  display: flex;
  gap: 10px;
  margin-top: 1.25rem;
}

.social-links a {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  transition: opacity var(--duration) var(--ease);
}

.social-links a:hover {
  opacity: 0.7;
}

/* Opening Hours */
.hours-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.hours-row {
  font-size: 13px;
  color: var(--text-body);
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 0.5px solid var(--border-light);
}

.hours-row:last-child {
  border-bottom: none;
}

.hours-row span:first-child {
  color: var(--text-muted);
}

.hours-row span:last-child {
  font-weight: 500;
}

/* ================================================================
   FOOTER
   ================================================================ */
.footer {
  background: var(--dark-deep);
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer p {
  font-size: 12px;
  color: var(--text-dimmer);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  font-size: 12px;
  color: #ffffff;
  text-decoration: none;
  transition: color var(--duration) var(--ease);
}

.footer-links a:hover {
  color: var(--text-dim);
}

/* ================================================================
   PROJECTS PAGE — Blueprint Gallery
   ================================================================ */

/* Dark-mode scoped tokens for the projects page */
.proj-page {
  --p-bg: #1A1E24;
  --p-bg-card: #1E2530;
  --p-bg-hover: #232B36;
  --p-border: #2A3240;
  --p-border-hi: #2E6DAD;
  --p-blue: #2E6DAD;
  --p-blue-lt: #5B9DD4;
  --p-blue-dim: #1E4A7A;
  --p-text: #C8D4E0;
  --p-text-dim: #7A9AB8;
  --p-text-hi: #E8F0F8;
  --p-mono: 'Courier New', Courier, monospace;
  --p-ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Page background override */
.proj-page {
  background: var(--p-bg);
  color: var(--p-text);
}

/* Navbar override for dark projects page */
.proj-page .navbar {
  background: rgba(26, 30, 36, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--p-border);
}

.proj-page .nav-links a {
  color: var(--p-text-dim);
}

.proj-page .nav-links a:hover,
.proj-page .nav-links a.active {
  color: var(--p-blue-lt);
}

.proj-page .hamburger span {
  background: var(--p-text);
}

/* ── Blueprint Header ─────────────────────────────── */
.proj-header {
  position: relative;
  padding: 120px 5% 56px;
  overflow: hidden;
}

.proj-header-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.18;
  width: 100%;
  height: 100%;
}

.proj-header-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
}

.proj-label {
  font-family: var(--p-mono);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--p-blue-lt);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.proj-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--p-blue-lt);
}

.proj-header h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--p-text-hi);
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.proj-header-meta {
  margin-top: 1rem;
  font-family: var(--p-mono);
  font-size: 0.8rem;
  color: var(--p-text-dim);
}

/* ── Filter Tabs ──────────────────────────────────── */
.proj-filter-bar {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5% 2.5rem;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.proj-filter-btn {
  background: none;
  border: 1px solid var(--p-border);
  color: var(--p-text-dim);
  font-family: var(--p-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  padding: 0.4rem 1rem;
  cursor: pointer;
  transition: all 0.2s;
}

.proj-filter-btn:hover {
  border-color: var(--p-blue-dim);
  color: var(--p-text);
}

.proj-filter-btn.active {
  background: var(--p-blue-dim);
  border-color: var(--p-blue);
  color: var(--p-blue-lt);
}

/* ── Gallery Grid ─────────────────────────────────── */
.proj-gallery-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5% 5rem;
}

.proj-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  background: var(--p-border);
}

/* ── Gallery Card ─────────────────────────────────── */
.proj-card {
  background: var(--p-bg-card);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
  transition: z-index 0s;
}

.proj-card.featured {
  grid-column: span 2;
  aspect-ratio: 16/9;
}

.proj-card-images {
  position: absolute;
  inset: 0;
}

.proj-card-images img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s var(--p-ease-out), transform 0.7s var(--p-ease-out);
  transform: scale(1.04);
}

.proj-card-images img.active {
  opacity: 1;
  transform: scale(1);
}

/* Blueprint overlay gradient */
.proj-card-blueprint {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(26, 30, 36, 0) 40%, rgba(20, 26, 34, 0.96) 100%),
    linear-gradient(to right, rgba(26, 30, 36, 0.5) 0%, rgba(26, 30, 36, 0) 40%);
  z-index: 2;
  pointer-events: none;
}

/* Crosshair corner marks */
.proj-card-corners {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}

.proj-card:hover .proj-card-corners {
  opacity: 1;
}

.proj-corner {
  position: absolute;
  width: 16px;
  height: 16px;
  border-color: var(--p-blue-lt);
  border-style: solid;
  opacity: 0.7;
}

.proj-corner-tl {
  top: 12px;
  left: 12px;
  border-width: 1px 0 0 1px;
}

.proj-corner-tr {
  top: 12px;
  right: 12px;
  border-width: 1px 1px 0 0;
}

.proj-corner-bl {
  bottom: 12px;
  left: 12px;
  border-width: 0 0 1px 1px;
}

.proj-corner-br {
  bottom: 12px;
  right: 12px;
  border-width: 0 1px 1px 0;
}

/* Card info */
.proj-card-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 4;
  padding: 1.5rem;
  transform: translateY(8px);
  transition: transform 0.35s var(--p-ease-out);
}

.proj-card:hover .proj-card-info {
  transform: translateY(0);
}

.proj-card-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--p-text-hi);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 0.3rem;
}

.proj-card-meta {
  font-family: var(--p-mono);
  font-size: 0.68rem;
  color: var(--p-blue-lt);
  letter-spacing: 0.08em;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.3s 0.05s, transform 0.3s 0.05s;
}

.proj-card:hover .proj-card-meta {
  opacity: 1;
  transform: translateY(0);
}

/* Toggle 3D / Plan */
.proj-card-toggle {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 5;
  display: flex;
  background: rgba(26, 30, 36, 0.85);
  border: 1px solid var(--p-border);
  backdrop-filter: blur(6px);
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.25s, transform 0.25s;
}

.proj-card:hover .proj-card-toggle {
  opacity: 1;
  transform: translateY(0);
}

.proj-toggle-btn {
  background: none;
  border: none;
  color: var(--p-text-dim);
  font-family: var(--p-mono);
  font-size: 0.65rem;
  padding: 0.35rem 0.65rem;
  cursor: pointer;
  letter-spacing: 0.06em;
  transition: color 0.15s, background 0.15s;
}

.proj-toggle-btn.active {
  background: var(--p-blue-dim);
  color: var(--p-blue-lt);
}

.proj-toggle-btn+.proj-toggle-btn {
  border-left: 1px solid var(--p-border);
}

/* ── Lightbox ─────────────────────────────────────── */
.proj-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(10, 13, 18, 0.97);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.proj-lightbox.open {
  opacity: 1;
  pointer-events: all;
}

.proj-lightbox-wrap {
  position: relative;
  max-width: 90vw;
  max-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.proj-lightbox img {
  max-width: 88vw;
  max-height: 76vh;
  object-fit: contain;
  border: 1px solid var(--p-border-hi);
  transform: scale(0.96);
  transition: transform 0.35s var(--p-ease-out);
}

.proj-lightbox.open img {
  transform: scale(1);
}

.proj-lightbox-info {
  margin-top: 1.25rem;
  text-align: center;
}

.proj-lightbox-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--p-text-hi);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.proj-lightbox-sub {
  font-family: var(--p-mono);
  font-size: 0.72rem;
  color: var(--p-blue-lt);
  margin-top: 0.25rem;
}

.proj-lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: 1px solid var(--p-border);
  color: var(--p-text-dim);
  width: 40px;
  height: 40px;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, color 0.2s;
}

.proj-lightbox-close:hover {
  border-color: var(--p-blue-lt);
  color: var(--p-text-hi);
}

.proj-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(26, 30, 36, 0.8);
  border: 1px solid var(--p-border);
  color: var(--p-text);
  width: 48px;
  height: 48px;
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s;
}

.proj-lightbox-nav:hover {
  border-color: var(--p-blue-lt);
}

.proj-lightbox-prev {
  left: -64px;
}

.proj-lightbox-next {
  right: -64px;
}

/* ── Gallery card scroll reveal ──────────────────── */
.proj-card {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.5s var(--p-ease-out),
    transform 0.5s var(--p-ease-out),
    box-shadow 0.3s;
}

.proj-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.proj-card:hover {
  box-shadow: 0 0 0 1px var(--p-blue-dim), 0 16px 40px rgba(0, 0, 0, 0.5);
  z-index: 2;
}

/* ── Projects footer override (dark) ─────────────── */
.proj-page .footer {
  background: var(--dark-deep);
  border-top: 1px solid var(--p-border);
}

/* ── Projects page responsive ────────────────────── */
@media (max-width: 900px) {
  .proj-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .proj-card.featured {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .proj-page .nav-links {
    background: rgba(26, 30, 36, 0.96);
    border-bottom: 1px solid var(--p-border);
    box-shadow: 0 22px 40px -26px rgba(0, 0, 0, 0.7);
  }

  .proj-page .nav-links a {
    color: var(--p-text-dim);
    font-size: 15px;
    border-bottom: 1px solid var(--p-border);
  }

  .proj-page .nav-links li:last-child a {
    border-bottom: none;
  }

  .proj-page .nav-links a:hover,
  .proj-page .nav-links a.active {
    color: var(--p-blue-lt);
  }
}

@media (max-width: 600px) {
  .proj-gallery-grid {
    grid-template-columns: 1fr;
    gap: 1px;
  }

  .proj-card.featured {
    grid-column: span 1;
    aspect-ratio: 4/3;
  }

  .proj-lightbox-prev {
    left: -4px;
    top: auto;
    bottom: -56px;
    transform: none;
  }

  .proj-lightbox-next {
    right: -4px;
    top: auto;
    bottom: -56px;
    transform: none;
  }

  .proj-header {
    padding: 100px 5% 40px;
  }

  .proj-filter-bar {
    padding: 0 5% 1.5rem;
  }
}

/* ================================================================
   PAGE CONTENT (Impressum / Datenschutz)
   ================================================================ */
.page-content {
  padding: 3rem 5%;
  max-width: 900px;
  margin: 0 auto;
}

.page-content h1 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 34px);
  font-weight: 700;
  margin-bottom: 2rem;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.page-content h2 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  margin-top: 3rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.page-content h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.page-content p {
  color: var(--text-body);
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.page-content a {
  color: var(--accent);
  text-decoration: underline;
  transition: color var(--duration) var(--ease);
}

.page-content ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}

.page-content ul li {
  color: var(--text-body);
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 0.25rem;
}

.impressum-info p {
  margin-bottom: 1rem;
}

/* ================================================================
   SCROLL REVEAL ANIMATIONS
   ================================================================ */
.reveal,
.reveal-left,
.reveal-scale {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.reveal-left {
  transform: translateX(-25px);
}

.reveal-scale {
  transform: scale(0.96);
}

.reveal.visible,
.reveal-left.visible,
.reveal-scale.visible {
  opacity: 1;
  transform: translateY(0) translateX(0) scale(1);
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1024px) {
  .services-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .stats-strip {
    grid-template-columns: 1fr;
  }

  .stat-item {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 1rem 1.5rem;
  }

  .stat-item:last-child {
    border-bottom: none;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  /* Elegantes Glas-Dropdown: klappt sanft unter der Navbar herunter,
     volle Breite, statt eines schweren Balkens von der Seite. */
  .nav-links {
    position: fixed;
    top: 75px;
    left: 0;
    right: 0;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.4rem 0;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(16px) saturate(140%);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 22px 40px -26px rgba(26, 30, 36, 0.45);
    transform: translateY(-14px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
      opacity 0.3s var(--ease),
      transform 0.3s var(--ease),
      visibility 0s linear 0.3s;
    z-index: 999;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition:
      opacity 0.3s var(--ease),
      transform 0.3s var(--ease),
      visibility 0s;
  }

  .nav-links li {
    width: 100%;
    /* Staggered Einblenden der Einträge */
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  }

  .nav-links.open li {
    opacity: 1;
    transform: translateY(0);
  }

  .nav-links.open li:nth-child(1) {
    transition-delay: 0.06s;
  }

  .nav-links.open li:nth-child(2) {
    transition-delay: 0.12s;
  }

  .nav-links.open li:nth-child(3) {
    transition-delay: 0.18s;
  }

  .nav-links a {
    display: block;
    width: 100%;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-body);
    padding: 0.95rem 2rem;
    border-bottom: 1px solid var(--border-light);
  }

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

  .nav-links a:hover,
  .nav-links a.active {
    color: var(--accent);
  }

  .hero {
    padding: 3.5rem 5% 3rem;
    min-height: 320px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .services-list {
    grid-template-columns: 1fr;
  }

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

  .section {
    padding: var(--section-pad-sm);
  }

  .section-services {
    padding: var(--section-pad-sm);
  }

  .section-advantages {
    padding: var(--section-pad-sm);
  }

  .section-contact {
    padding: var(--section-pad-sm);
  }

  .footer {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 28px;
  }

  .brand-name {
    font-size: 15px;
  }

}