/* =========================================================================
   Krivo Fotografie — Editorial / Galerie-Minimalismus
   Warmes Tonwert-Gerüst, Fraunces als Display-Serif, Akzent sparsam.
   Klassennamen sind bewusst unverändert (script.js hängt daran).
   ========================================================================= */

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Warmes Ink/Paper-Gerüst statt reinem Schwarz/Weiß */
  --primary-color: #14110f;     /* Seitenhintergrund (warmes Tiefschwarz) */
  --secondary-color: #1c1815;   /* Panels / abgesetzte Sektionen */
  --surface: #211c19;           /* Karten */
  --accent-color: #d87f31;      /* Markenakzent – sparsam einsetzen */
  --accent-hover: #e6913f;
  --accent-soft: rgba(216, 127, 49, 0.12);

  --text-primary: #f3ede5;      /* warmes Off-White */
  --text-secondary: #b3a99d;    /* warmes Grau */
  --text-muted: #7d7268;
  --border-color: rgba(243, 237, 229, 0.10);
  --border-strong: rgba(243, 237, 229, 0.18);

  --shadow-light: 0 2px 14px rgba(0, 0, 0, 0.35);
  --shadow-medium: 0 14px 40px rgba(0, 0, 0, 0.45);
  --shadow-heavy: 0 30px 70px rgba(0, 0, 0, 0.55);

  --transition: all 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  --transition-fast: all 0.25s ease;

  --border-radius: 4px;
  --border-radius-lg: 8px;

  --font-display: 'Fraunces', 'Iowan Old Style', Georgia, 'Times New Roman', serif;
  --font-body: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-ui: 'Montserrat', var(--font-body);

  --maxw: 1240px;
  --gutter: clamp(20px, 5vw, 56px);
  --nav-h: 80px;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

/* Sprung-Offset für Direktaufrufe per #fragment (fixierte Navbar) */
section[id] {
  scroll-margin-top: var(--nav-h);
}

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

/* Atmosphäre: warmer Lichtschein + feine Filmkorn-Textur (passt zu Fotografie) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(60vw 60vw at 15% -10%, rgba(216, 127, 49, 0.08) 0%, transparent 60%),
    radial-gradient(50vw 50vw at 100% 100%, rgba(216, 127, 49, 0.05) 0%, transparent 55%);
  pointer-events: none;
  z-index: -2;
}

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

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: var(--transition-fast);
}

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

ul {
  list-style: none;
}

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

::selection {
  background: var(--accent-color);
  color: #14110f;
}

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* === Section heading (editorial, linksbündig, Kicker statt Unterstrich) === */
.section-title {
  margin-bottom: clamp(40px, 6vw, 72px);
  max-width: 760px;
}

.section-kicker {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent-color);
  margin-bottom: 18px;
  padding-left: 2px;
}

.section-kicker::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--accent-color);
  vertical-align: middle;
  margin-right: 14px;
  transform: translateY(-2px);
}

.section-title h2 {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-size: clamp(2.3rem, 5vw, 3.7rem);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.section-title p {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 620px;
  margin-top: 20px;
}

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 32px;
  font-family: var(--font-ui);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  border-radius: var(--border-radius);
  transition: var(--transition);
  cursor: pointer;
  border: 1px solid transparent;
  text-align: center;
  text-decoration: none;
}

.btn-primary {
  background: var(--accent-color);
  color: #14110f;
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: #14110f;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(216, 127, 49, 0.28);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border-strong);
}

.btn-secondary:hover {
  border-color: var(--accent-color);
  color: var(--accent-color);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border-color);
}

.btn-outline:hover {
  border-color: var(--accent-color);
  color: var(--accent-color);
}

/* === Navigation === */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(20, 17, 15, 0.72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  z-index: 1000;
  transition: background 0.4s ease, border-color 0.4s ease, transform 0.4s ease;
  will-change: transform;
}

.navbar.scrolled {
  background: rgba(20, 17, 15, 0.92);
  border-bottom-color: var(--border-color);
}

.nav-container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: var(--nav-h);
}

.nav-logo a {
  display: flex;
  align-items: center;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

.nav-logo img {
  width: 38px;
  height: 38px;
  margin-right: 12px;
  border-radius: 50%;
  object-fit: cover;
}

.nav-menu {
  display: flex;
  gap: 30px;
}

.nav-link {
  color: var(--text-secondary);
  font-family: var(--font-ui);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  position: relative;
  padding: 6px 0;
  transition: color 0.25s ease;
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent-color);
  transition: width 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link.active {
  color: var(--text-primary);
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 6px;
  gap: 5px;
}

.hamburger .bar {
  width: 26px;
  height: 2px;
  background: var(--text-primary);
  transition: var(--transition-fast);
}

.hamburger.active .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active .bar:nth-child(2) { opacity: 0; }
.hamburger.active .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* === Hero (asymmetrisch, linksbündig, Text unten) === */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1.6s ease-in-out, transform 7s ease-out;
}

.slide.active {
  opacity: 1;
  transform: scale(1);
}

/* Gerichteter Verlauf statt flächigem Schleier – das Foto bleibt sichtbar */
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(20, 17, 15, 0.92) 0%, rgba(20, 17, 15, 0.35) 42%, rgba(20, 17, 15, 0.08) 70%),
    linear-gradient(to right, rgba(20, 17, 15, 0.65) 0%, rgba(20, 17, 15, 0.0) 55%);
  z-index: -1;
}

.hero-content {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter) clamp(70px, 11vh, 130px);
}

.hero-text {
  max-width: 760px;
}

/* gestaffelter Page-Load: jedes Element kommt nacheinander herein */
.hero-text > * {
  opacity: 0;
  transform: translateY(26px);
  animation: heroReveal 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-title { animation-delay: 0.15s; }
.hero-content h2 { animation-delay: 0.30s; }
.hero-content p { animation-delay: 0.45s; }
.cta-buttons { animation-delay: 0.60s; }

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

.hero-title {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-size: clamp(3.5rem, 11vw, 8rem);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: -0.035em;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.hero-title .dot {
  color: var(--accent-color);
}

.hero-content h2 {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-size: clamp(1.3rem, 2.4vw, 1.9rem);
  font-weight: 400;
  font-style: italic;
  color: var(--text-secondary);
  margin-bottom: 22px;
}

.hero-content p {
  font-size: 1.15rem;
  color: var(--text-primary);
  max-width: 560px;
  margin-bottom: 38px;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.scroll-indicator {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  cursor: pointer;
  z-index: 1;
  opacity: 0.7;
}

.scroll-arrow {
  width: 16px;
  height: 16px;
  border: 1px solid var(--text-secondary);
  border-top: none;
  border-right: none;
  transform: rotate(-45deg);
  animation: bounce 2.4s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0) rotate(-45deg); }
  40% { transform: translateY(-8px) rotate(-45deg); }
  60% { transform: translateY(-4px) rotate(-45deg); }
}

/* === Vertikaler Rhythmus: bewusst variabel === */
.about    { padding: clamp(90px, 13vh, 170px) 0; background: var(--primary-color); }
.gallery  { padding: clamp(80px, 11vh, 150px) 0; background: var(--secondary-color); }
.business { padding: clamp(90px, 13vh, 170px) 0; background: var(--primary-color); }
.contact  { padding: clamp(90px, 13vh, 170px) 0; background: var(--secondary-color); }

/* === About === */
.about-content {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.about-image {
  position: relative;
}

.about-image img {
  width: 100%;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-heavy);
}

/* dezenter Akzentrahmen, leicht versetzt – editorial */
.about-image::after {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 1px solid var(--accent-color);
  border-radius: var(--border-radius-lg);
  z-index: -1;
  opacity: 0.5;
}

.about-text h3 {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 22px;
  color: var(--text-primary);
}

.about-text p {
  font-size: 1.08rem;
  color: var(--text-secondary);
  margin-bottom: 30px;
}

.about-text h4 {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-color);
  margin-bottom: 28px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1px;
  background: var(--border-color);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
}

/* Karten als zusammenhängendes Raster mit Hairline-Trennern (ruhiger als Einzelkarten) */
.service-item {
  background: var(--secondary-color);
  padding: 30px 28px;
  transition: background 0.35s ease;
}

.service-item:hover {
  background: var(--surface);
}

.service-item i {
  font-size: 1.5rem;
  color: var(--accent-color);
  margin-bottom: 18px;
  display: block;
}

.service-item h5 {
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.service-item p {
  font-size: 0.97rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* === Gallery (redaktionelles Masonry, natürliche Bildformate) === */
.gallery-grid {
  columns: 3 300px;
  column-gap: 18px;
}

.gallery-item {
  position: relative;
  display: block;
  width: 100%;
  break-inside: avoid;
  margin: 0 0 18px;
  overflow: hidden;
  border-radius: var(--border-radius-lg);
  cursor: pointer;
  background: var(--surface);
}

.gallery-item.loading {
  min-height: 320px;
  background: linear-gradient(100deg, var(--secondary-color) 30%, var(--surface) 50%, var(--secondary-color) 70%);
  background-size: 200% 100%;
  animation: loading 1.4s infinite;
}

.gallery-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20, 17, 15, 0.85) 0%, transparent 55%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
}

.gallery-item:hover::before {
  opacity: 1;
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 22px 24px;
  transform: translateY(12px);
  opacity: 0;
  transition: var(--transition);
  z-index: 2;
}

.gallery-item:hover .gallery-overlay {
  transform: translateY(0);
  opacity: 1;
}

.gallery-info h4 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.gallery-info span {
  font-family: var(--font-ui);
  color: var(--accent-color);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.gallery-empty-state {
  text-align: center;
  padding: 40px 0;
  color: var(--text-muted);
}

/* === Business === */
.business-intro {
  max-width: 820px;
  margin: 0 0 clamp(50px, 8vw, 90px);
}

.business-intro .lead {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-size: clamp(1.3rem, 2.6vw, 1.85rem);
  font-weight: 400;
  line-height: 1.45;
  color: var(--text-primary);
}

.business-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: clamp(60px, 9vw, 100px);
}

.business-image {
  overflow: hidden;
  border-radius: var(--border-radius-lg);
}

.business-image img {
  width: 100%;
  height: clamp(280px, 38vw, 460px);
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.business-image:hover img {
  transform: scale(1.04);
}

.business-process h3 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 600;
  margin-bottom: clamp(36px, 5vw, 56px);
  color: var(--text-primary);
}

.process-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 0;
  margin-bottom: clamp(60px, 9vw, 100px);
}

/* Nummer als große Display-Ziffer + Hairline – statt gefülltem Kreis */
.process-item {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 28px 30px 28px 0;
  border-top: 1px solid var(--border-color);
}

.process-number {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-size: 1.9rem;
  font-weight: 500;
  line-height: 1;
  color: var(--accent-color);
  flex-shrink: 0;
  min-width: 46px;
  font-variant-numeric: tabular-nums;
}

.process-content h4 {
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.process-content p {
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.7;
}

.business-result {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 5vw, 64px);
  align-items: center;
  margin-bottom: clamp(60px, 9vw, 100px);
}

.result-image {
  overflow: hidden;
  border-radius: var(--border-radius-lg);
}

.result-image img {
  width: 100%;
  height: clamp(340px, 42vw, 520px);
  object-fit: cover;
}

.result-text h3 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 600;
  margin-bottom: 22px;
  color: var(--text-primary);
}

.result-text p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 18px;
}

.business-cta {
  text-align: center;
  padding: clamp(50px, 8vw, 80px) var(--gutter);
  background: var(--surface);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
}

.business-cta .cta-text {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.4vw, 1.75rem);
  font-weight: 400;
  line-height: 1.5;
  color: var(--text-primary);
  max-width: 720px;
  margin: 0 auto 34px;
}

/* === Contact === */
.contact-content {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(40px, 6vw, 80px);
}

.contact-info h3 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 600;
  margin-bottom: 18px;
  color: var(--text-primary);
}

.contact-info p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.contact-details {
  margin-bottom: 36px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 14px;
  padding: 16px 18px;
  background: var(--surface);
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
  transition: var(--transition-fast);
}

.contact-item i {
  font-size: 1.1rem;
  color: var(--accent-color);
  width: 20px;
  text-align: center;
}

.contact-item span {
  color: var(--text-primary);
  font-weight: 500;
}

.contact-item-action {
  text-decoration: none;
  cursor: pointer;
}

.contact-item-action:hover {
  border-color: var(--accent-color);
  background: var(--secondary-color);
  transform: translateY(-1px);
}

.contact-item-action:hover i,
.contact-item-action:hover span {
  color: var(--accent-color);
}

.contact-item-qr {
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.contact-item-qr-text {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  width: 100%;
}

.contact-item-qr .contact-qr {
  /* !important schützt vor globalem img-Reset und iOS-Safari-Quirks */
  width: 100px !important;
  height: 100px !important;
  max-width: 100px !important;
  object-fit: contain;
  background: #fff;
  padding: 6px;
  border: 4px solid var(--accent-color) !important;
  border-radius: var(--border-radius);
  align-self: center;
  box-sizing: content-box;
  flex: 0 0 auto;
}

.contact-item-qr span {
  line-height: 1.55;
  font-weight: 400 !important;
  color: var(--text-secondary) !important;
}

.contact-info .social-links {
  display: flex;
  gap: 12px;
}

.contact-info .social-link {
  width: 44px;
  height: 44px;
  background: var(--surface);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.contact-info .social-link:hover {
  background: var(--accent-color);
  color: #14110f;
  border-color: var(--accent-color);
  transform: translateY(-3px);
}

.contact-form {
  background: var(--surface);
  padding: clamp(28px, 4vw, 44px);
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--border-color);
}

.form-group {
  margin-bottom: 22px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-secondary);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  background: var(--primary-color);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: var(--transition-fast);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

/* Nutzer soll die Textarea nicht manuell ziehen – Größe steuert nur das Layout */
.form-group textarea {
  resize: none;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.form-checkbox input {
  width: auto;
  margin-top: 4px;
  accent-color: var(--accent-color);
}

.form-checkbox label {
  margin-bottom: 0;
  font-size: 0.9rem;
  text-transform: none;
  letter-spacing: 0;
}

/* === Legal === */
.impressum,
.datenschutz {
  padding: clamp(80px, 11vh, 150px) 0;
  background: var(--primary-color);
}

.legal-content {
  max-width: 800px;
  line-height: 1.85;
}

.legal-content h3,
.legal-content h4 {
  font-family: var(--font-display);
  margin: 34px 0 14px;
  color: var(--text-primary);
}

.legal-content h3 {
  font-size: 1.5rem;
  font-weight: 600;
}

.legal-content h4 {
  font-size: 1.2rem;
  font-weight: 600;
}

.legal-content p {
  margin-bottom: 15px;
  color: var(--text-secondary);
}

.legal-content a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* === Footer === */
.footer {
  background: var(--primary-color);
  border-top: 1px solid var(--border-color);
  padding: clamp(60px, 8vw, 90px) 0 36px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 3fr 1.2fr;
  gap: clamp(36px, 5vw, 64px);
  margin-bottom: 50px;
}

.footer-brand h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.98rem;
}

.footer-logo img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 20px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.footer-column h4 {
  font-family: var(--font-ui);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 20px;
  color: var(--accent-color);
}

.footer-column ul li {
  margin-bottom: 11px;
}

.footer-column ul li a {
  color: var(--text-secondary);
  font-size: 0.96rem;
  transition: var(--transition-fast);
}

.footer-column ul li a:hover {
  color: var(--text-primary);
  padding-left: 5px;
}

.footer-social h4 {
  font-family: var(--font-ui);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 20px;
  color: var(--accent-color);
}

.footer-social .social-links {
  display: flex;
  gap: 10px;
}

.footer-social .social-link {
  width: 40px;
  height: 40px;
  background: var(--surface);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.footer-social .social-link:hover {
  background: var(--accent-color);
  color: #14110f;
  border-color: var(--accent-color);
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid var(--border-color);
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 5px;
}

/* === Floating buttons === */
.floating-contact {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
}

.floating-btn {
  width: 56px;
  height: 56px;
  background: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #14110f;
  box-shadow: var(--shadow-medium);
  transition: var(--transition);
  font-size: 1.3rem;
}

.floating-btn:hover {
  background: var(--accent-hover);
  color: #14110f;
  transform: translateY(-4px) scale(1.06);
}

.back-to-home {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 999;
}

.back-to-home-btn {
  width: 46px;
  height: 46px;
  background: rgba(33, 28, 25, 0.8);
  backdrop-filter: blur(8px);
  color: var(--text-primary);
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-light);
  transition: var(--transition);
  opacity: 0;
  visibility: hidden;
  font-size: 1rem;
  cursor: pointer;
}

.back-to-home-btn.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-home-btn:hover {
  background: var(--accent-color);
  color: #14110f;
  border-color: var(--accent-color);
  transform: translateY(-2px);
}

/* === Scroll-reveal (von script.js gesetzt) === */
.fade-in {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.slide-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.7s ease;
}

.slide-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.slide-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.7s ease;
}

.slide-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

@keyframes loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* === Lightbox === */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  background: rgba(15, 12, 10, 0.96);
  backdrop-filter: blur(12px);
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-overlay {
  position: absolute;
  inset: 0;
  cursor: pointer;
  background: transparent;
}

.lightbox-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 20px 80px;
}

.lightbox-content {
  position: relative;
  max-width: calc(100% - 200px);
  max-height: 90%;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 1;
}

#lightbox-image {
  max-width: 100%;
  max-height: calc(90vh - 100px);
  object-fit: contain;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-heavy);
}

.lightbox-info {
  margin-top: 20px;
  text-align: center;
  color: var(--text-primary);
}

#lightbox-title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  margin-bottom: 5px;
}

#lightbox-category {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-color);
}

.lightbox-close {
  position: absolute;
  top: 26px;
  right: 26px;
  width: 48px;
  height: 48px;
  background: rgba(33, 28, 25, 0.7);
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  z-index: 10;
}

.lightbox-close:hover {
  background: var(--accent-color);
  color: #14110f;
  border-color: var(--accent-color);
  transform: scale(1.08);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  background: rgba(33, 28, 25, 0.7);
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  z-index: 10;
}

.lightbox-nav:hover {
  background: var(--accent-color);
  color: #14110f;
  border-color: var(--accent-color);
  transform: translateY(-50%) scale(1.08);
}

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

/* === Responsive === */
@media (max-width: 980px) {
  .about-content {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .about-image { order: -1; max-width: 460px; }
  .about-image::after { inset: 14px -14px -14px 14px; }
  .contact-content { grid-template-columns: 1fr; gap: 44px; }
}

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

  .nav-menu {
    position: fixed;
    top: var(--nav-h);
    left: -100%;
    width: 100%;
    height: calc(100vh - var(--nav-h));
    background: rgba(20, 17, 15, 0.98);
    backdrop-filter: blur(14px);
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-top: 50px;
    gap: 26px;
    transition: left 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    border-top: 1px solid var(--border-color);
  }

  .nav-menu.active { left: 0; }
  .nav-link { font-size: 1.05rem; }

  .gallery-grid { columns: 2 200px; column-gap: 14px; }
  .gallery-item { margin-bottom: 14px; }

  .cta-buttons { width: 100%; }
  .cta-buttons .btn { flex: 1 1 auto; }

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

  .process-items { grid-template-columns: 1fr; }

  .business-images { grid-template-columns: 1fr; }

  .business-result { grid-template-columns: 1fr; gap: 36px; }

  .footer-content { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .footer-logo img { margin-left: auto; margin-right: auto; }
  .footer-links { grid-template-columns: 1fr; gap: 28px; }
  .contact-info .social-links,
  .footer-social .social-links { justify-content: center; }

  .floating-contact { bottom: 18px; right: 18px; }
  .floating-btn { width: 50px; height: 50px; font-size: 1.15rem; }
}

@media (max-width: 480px) {
  .gallery-grid { columns: 1; }
  .business-image img { height: 280px; }
  .result-image img { height: 320px; }

  .process-item { flex-direction: row; gap: 16px; padding: 22px 0; }
  .process-number { font-size: 1.6rem; min-width: 38px; }

  .lightbox-container { padding: 16px; }
  .lightbox-content { max-width: 100%; }
  .lightbox-nav { display: none; }
}

/* === Reduced motion === */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .hero-text > * { opacity: 1; transform: none; }
  .slide { transform: none; }
}
