/* ================================================
   Manuel Sur Raum- und Farbgestaltung
   Main Stylesheet
   ================================================ */

/* ---- CSS Custom Properties ---- */
:root {
  --primary: #1a3c5e;
  --primary-light: #2563a8;
  --primary-dark: #0f2440;
  --secondary: #c8762f;
  --accent: #e8b84b;
  --white: #ffffff;
  --light: #f4f7f9;
  --light2: #edf2f7;
  --gray: #718096;
  --dark: #1a1a2e;
  --text: #2d3748;
  --shadow: 0 4px 24px rgba(0,0,0,0.12);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.18);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --font-head: 'Montserrat', sans-serif;
  --font-body: 'Open Sans', sans-serif;
}

/* ---- Reset & Base ---- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

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

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

ul { list-style: none; }

/* ---- Typography ---- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.25;
  color: var(--primary-dark);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }

p { margin-bottom: 1rem; }

/* ---- Utility ---- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 16px;
  padding: 6px 18px;
  background: rgba(200, 118, 47, 0.1);
  border-radius: 50px;
  border: 1px solid rgba(200, 118, 47, 0.25);
}

.section-header h2 {
  margin-bottom: 20px;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto;
  margin-bottom: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--secondary);
  color: var(--white);
  border-color: var(--secondary);
}

.btn-primary:hover {
  background: #b5651d;
  border-color: #b5651d;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(200, 118, 47, 0.4);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.7);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
  transform: translateY(-2px);
  color: var(--white);
}

.btn-dark {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.btn-dark:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26, 60, 94, 0.35);
  color: var(--white);
}

/* ---- Animations ---- */
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

.fade-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in-left.visible { opacity: 1; transform: translateX(0); }

.fade-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in-right.visible { opacity: 1; transform: translateX(0); }

.fade-delay-1 { transition-delay: 0.1s; }
.fade-delay-2 { transition-delay: 0.2s; }
.fade-delay-3 { transition-delay: 0.3s; }
.fade-delay-4 { transition-delay: 0.4s; }
.fade-delay-5 { transition-delay: 0.5s; }

/* ================================================
   COOKIE BANNER
   ================================================ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(15, 36, 64, 0.97);
  backdrop-filter: blur(12px);
  color: var(--white);
  padding: 20px 30px;
  z-index: 10000;
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 -4px 30px rgba(0,0,0,0.3);
  border-top: 1px solid rgba(255,255,255,0.1);
}

.cookie-banner.show { transform: translateY(0); }

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.cookie-content p {
  flex: 1;
  margin: 0;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
  min-width: 250px;
  line-height: 1.6;
}

.cookie-content p a {
  color: var(--accent);
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.btn-cookie-accept {
  background: var(--secondary);
  color: white;
  padding: 11px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.875rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  font-family: var(--font-head);
}

.btn-cookie-accept:hover {
  background: #b5651d;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(200, 118, 47, 0.4);
}

.btn-cookie-decline {
  background: transparent;
  color: rgba(255,255,255,0.65);
  padding: 11px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,0.25);
  transition: var(--transition);
  font-family: var(--font-head);
}

.btn-cookie-decline:hover {
  background: rgba(255,255,255,0.08);
  color: white;
}

/* ================================================
   HEADER
   ================================================ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(15, 36, 64, 0.97);
  padding: 22px 0;
}

.header.scrolled {
  background: rgba(15, 36, 64, 0.97);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 24px rgba(0,0,0,0.2);
  padding: 12px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
  text-decoration: none;
}

.logo-img {
  height: 75px;
  width: auto;
  display: block;
  object-fit: contain;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.logo:hover .logo-img {
  transform: scale(1.04);
  filter: brightness(0) invert(1) drop-shadow(0 2px 8px rgba(232,184,75,0.4));
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav a {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.8);
  padding: 8px 14px;
  border-radius: 8px;
  transition: var(--transition);
  letter-spacing: 0.02em;
}

.nav a:hover {
  color: var(--white);
  background: rgba(255,255,255,0.1);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--white);
  transition: var(--transition);
}

.header-phone:hover {
  color: var(--accent);
}

.btn-header {
  background: var(--secondary);
  color: var(--white);
  padding: 10px 22px;
  border-radius: 50px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.85rem;
  transition: var(--transition);
  border: none;
}

.btn-header:hover {
  background: #b5651d;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(200, 118, 47, 0.4);
  color: var(--white);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  transition: var(--transition);
  background: rgba(255,255,255,0.08);
  border: none;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

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

/* ================================================
   HERO
   ================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--primary-dark);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1562259949-e8e7689d7828?auto=format&fit=crop&w=1920&q=80');
  background-size: cover;
  background-position: center;
  will-change: transform;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(15, 36, 64, 0.90) 0%,
    rgba(26, 60, 94, 0.78) 50%,
    rgba(15, 36, 64, 0.70) 100%
  );
}

/* Paint Splatters (SVG decorations) */
.paint-splatter {
  position: absolute;
  pointer-events: none;
}

.splatter-hero-1 {
  top: -60px;
  right: -80px;
  width: 420px;
  height: 420px;
  opacity: 0.45;
  animation: floatA 9s ease-in-out infinite;
}

.splatter-hero-2 {
  bottom: -80px;
  left: -60px;
  width: 380px;
  height: 380px;
  opacity: 0.35;
  animation: floatB 11s ease-in-out infinite;
}

.splatter-hero-3 {
  top: 25%;
  left: 2%;
  width: 180px;
  height: 180px;
  opacity: 0.28;
  animation: floatA 13s ease-in-out infinite reverse;
}

@keyframes floatA {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(14px, -18px) rotate(5deg); }
  66% { transform: translate(-10px, 12px) rotate(-3deg); }
}

@keyframes floatB {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  40% { transform: translate(-18px, -14px) rotate(-6deg); }
  70% { transform: translate(12px, 18px) rotate(4deg); }
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
  min-height: 100vh;
  padding: 150px 0 90px;
}

.hero-text {
  animation: heroFadeUp 1s ease both;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(232, 184, 75, 0.15);
  border: 1px solid rgba(232, 184, 75, 0.4);
  border-radius: 50px;
  padding: 8px 18px;
  margin-bottom: 28px;
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: dotPulse 2s ease-in-out infinite;
}

.hero-badge span {
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

@keyframes dotPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.75); }
}

.hero h1 {
  font-size: clamp(2.2rem, 4.2vw, 3.8rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.025em;
}

.hero h1 .highlight {
  color: var(--accent);
  position: relative;
  display: inline-block;
}

.hero h1 .highlight::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--secondary), var(--accent));
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  animation: underlineSlide 0.8s ease 0.8s forwards;
}

@keyframes underlineSlide {
  to { transform: scaleX(1); }
}

.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.78);
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 52px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.15);
}

.stat-item { text-align: center; }

.stat-number {
  display: block;
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.6);
  font-weight: 500;
  letter-spacing: 0.04em;
}

/* Hero right visual */
.hero-visual {
  animation: heroSlideIn 1s ease 0.25s both;
}

@keyframes heroSlideIn {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0); }
}

.hero-card {
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-lg);
  padding: 32px;
  overflow: hidden;
  position: relative;
}

.hero-card::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle, rgba(200, 118, 47, 0.12) 0%, transparent 60%);
  pointer-events: none;
}

.hero-card-title {
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 20px;
}

.hero-services-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.hero-service-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.06);
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.08);
  transition: var(--transition);
}

.hero-service-item:hover {
  background: rgba(255,255,255,0.11);
  border-color: rgba(200, 118, 47, 0.3);
}

.hero-service-icon {
  width: 34px;
  height: 34px;
  background: rgba(200, 118, 47, 0.2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.hero-service-text {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255,255,255,0.88);
}

.hero-contact-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.11);
}

.hero-contact-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
}

.hero-contact-row .ci {
  font-size: 1rem;
  flex-shrink: 0;
}

.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  animation: scrollBounce 2.2s ease-in-out infinite;
  text-decoration: none;
}

.hero-scroll-text {
  font-family: var(--font-head);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}

.scroll-arrow-wrap {
  width: 38px;
  height: 38px;
  border: 2px solid rgba(255,255,255,0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.55);
  font-size: 0.9rem;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}

/* ================================================
   TRUST BAR
   ================================================ */
.trust-bar {
  background: var(--primary);
  padding: 22px 0;
}

.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 44px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.trust-icon {
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.trust-text { display: flex; flex-direction: column; line-height: 1.3; }
.trust-label { font-family: var(--font-head); font-size: 0.72rem; font-weight: 600; color: rgba(255,255,255,0.55); letter-spacing: 0.05em; }
.trust-value { font-family: var(--font-head); font-size: 0.95rem; font-weight: 700; color: var(--white); }

.trust-divider { width: 1px; height: 36px; background: rgba(255,255,255,0.15); }

/* ================================================
   LEISTUNGEN
   ================================================ */
.services {
  background: var(--light);
  position: relative;
  overflow: hidden;
}

.services::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(200, 118, 47, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  border: 1px solid transparent;
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(200, 118, 47, 0.12);
}

.service-card:hover::after { transform: scaleX(1); }

.service-icon-wrap {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 24px;
  transition: var(--transition);
}

.service-card:hover .service-icon-wrap {
  background: linear-gradient(135deg, var(--secondary), #e07830);
  transform: rotate(-5deg) scale(1.06);
}

.service-card h3 { margin-bottom: 12px; color: var(--primary-dark); font-size: 1.15rem; }
.service-card p { color: var(--gray); font-size: 0.9rem; line-height: 1.7; margin-bottom: 0; }

/* ================================================
   ÜBER UNS
   ================================================ */
.about {
  background: var(--white);
  position: relative;
  overflow: hidden;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-img-wrap {
  position: relative;
}

.about-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/5;
}

.about-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.about-badge-card {
  position: absolute;
  bottom: -28px;
  right: -28px;
  background: linear-gradient(135deg, var(--secondary), #e07830);
  color: var(--white);
  border-radius: var(--radius);
  padding: 22px 26px;
  text-align: center;
  box-shadow: 0 10px 36px rgba(200, 118, 47, 0.45);
}

.about-badge-number {
  display: block;
  font-family: var(--font-head);
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1;
}

.about-badge-label {
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 600;
  opacity: 0.9;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Floating mini paint blob on about image */
.about-paint-dot {
  position: absolute;
  top: -20px;
  left: -20px;
  width: 80px;
  height: 80px;
  animation: floatA 7s ease-in-out infinite;
}

.about-content { padding-left: 16px; }
.about-content h2 { margin-bottom: 18px; }
.about-content > p { color: var(--gray); font-size: 1.05rem; line-height: 1.8; margin-bottom: 32px; }

.about-features { display: flex; flex-direction: column; gap: 18px; margin-bottom: 40px; }

.about-feature { display: flex; align-items: flex-start; gap: 16px; }

.feat-icon {
  width: 46px; height: 46px;
  background: rgba(26, 60, 94, 0.07);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-top: 2px;
  transition: var(--transition);
}

.about-feature:hover .feat-icon {
  background: rgba(200, 118, 47, 0.12);
  transform: rotate(-5deg);
}

.feat-text h4 { font-family: var(--font-head); font-size: 0.95rem; font-weight: 700; color: var(--primary-dark); margin-bottom: 4px; }
.feat-text p { font-size: 0.875rem; color: var(--gray); margin-bottom: 0; line-height: 1.6; }

/* ================================================
   GALERIE
   ================================================ */
.gallery {
  background: var(--light);
  position: relative;
  overflow: hidden;
}

.gallery-filter {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 8px 20px;
  border-radius: 50px;
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid #e2e8f0;
  background: var(--white);
  color: var(--gray);
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(26, 60, 94, 0.22);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 240px;
  gap: 14px;
}

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item.wide { grid-column: span 2; }
.gallery-item.tall { grid-row: span 2; }

.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.gallery-item:hover img { transform: scale(1.08); }

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 36, 64, 0.88) 0%, transparent 55%);
  opacity: 0;
  transition: opacity 0.35s ease;
  display: flex;
  align-items: flex-end;
  padding: 20px;
}

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

.gallery-info { transform: translateY(8px); transition: transform 0.35s ease; }
.gallery-item:hover .gallery-info { transform: translateY(0); }

.gallery-caption { font-family: var(--font-head); font-size: 0.875rem; font-weight: 700; color: var(--white); margin-bottom: 2px; }
.gallery-cat { font-size: 0.75rem; color: rgba(255,255,255,0.65); }

.gallery-zoom-icon {
  position: absolute;
  top: 14px; right: 14px;
  width: 34px; height: 34px;
  background: rgba(255,255,255,0.14);
  backdrop-filter: blur(6px);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 0.9rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-zoom-icon { opacity: 1; }

/* ================================================
   LIGHTBOX
   ================================================ */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(8, 18, 32, 0.96);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

.lightbox-img-wrap {
  position: relative;
  transform: scale(0.9);
  transition: transform 0.35s ease;
  max-width: 90vw;
  max-height: 85vh;
}

.lightbox.active .lightbox-img-wrap { transform: scale(1); }

.lightbox-img {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 24px 80px rgba(0,0,0,0.6);
  display: block;
}

.lightbox-caption-text {
  text-align: center;
  margin-top: 16px;
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
}

.lb-close {
  position: fixed;
  top: 20px; right: 20px;
  width: 48px; height: 48px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: white;
  font-size: 1.4rem;
  transition: var(--transition);
  backdrop-filter: blur(8px);
  line-height: 1;
}

.lb-close:hover { background: rgba(255,255,255,0.18); transform: rotate(90deg); }

.lb-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 50px; height: 50px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: white;
  font-size: 1.2rem;
  transition: var(--transition);
  backdrop-filter: blur(8px);
  user-select: none;
}

.lb-nav:hover { background: rgba(255,255,255,0.18); }
.lb-prev { left: 16px; }
.lb-next { right: 16px; }

/* ================================================
   WARUM WIR
   ================================================ */
.why-us {
  background: var(--primary-dark);
  position: relative;
  overflow: hidden;
}

.why-us::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 15% 50%, rgba(200, 118, 47, 0.13) 0%, transparent 50%),
    radial-gradient(ellipse at 85% 20%, rgba(37, 99, 168, 0.16) 0%, transparent 50%);
  pointer-events: none;
}

.why-us .section-header h2 { color: var(--white); }
.why-us .section-header p { color: rgba(255,255,255,0.6); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.why-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 32px 22px;
  text-align: center;
  transition: var(--transition);
}

.why-card:hover {
  background: rgba(255,255,255,0.09);
  border-color: rgba(200, 118, 47, 0.35);
  transform: translateY(-6px);
}

.why-card-icon {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, rgba(200, 118, 47, 0.28), rgba(200, 118, 47, 0.1));
  border: 1px solid rgba(200, 118, 47, 0.28);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  margin: 0 auto 20px;
  transition: var(--transition);
}

.why-card:hover .why-card-icon {
  background: rgba(200, 118, 47, 0.38);
  transform: rotate(-6deg) scale(1.05);
}

.why-card h3 { font-size: 1rem; color: var(--white); margin-bottom: 10px; }
.why-card p { font-size: 0.865rem; color: rgba(255,255,255,0.58); line-height: 1.7; margin-bottom: 0; }

/* ================================================
   KONTAKT
   ================================================ */
.contact {
  background: var(--white);
  position: relative;
  overflow: hidden;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 64px;
  align-items: start;
}

.contact-info h2 { margin-bottom: 18px; }
.contact-info > p { color: var(--gray); font-size: 1.05rem; line-height: 1.8; margin-bottom: 36px; }

.contact-details { display: flex; flex-direction: column; gap: 20px; margin-bottom: 36px; }

.contact-detail { display: flex; align-items: flex-start; gap: 16px; }

.cd-icon {
  width: 48px; height: 48px;
  background: rgba(26, 60, 94, 0.07);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  transition: var(--transition);
}

.contact-detail:hover .cd-icon {
  background: rgba(200, 118, 47, 0.12);
}

.cd-text { display: flex; flex-direction: column; gap: 2px; }
.cd-text label { font-family: var(--font-head); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--secondary); }
.cd-text a, .cd-text span { font-size: 0.95rem; color: var(--text); font-weight: 500; transition: var(--transition); }
.cd-text a:hover { color: var(--primary); }

.contact-map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-top: 24px;
}

.contact-map-wrap iframe { width: 100%; height: 220px; border: none; display: block; }

.contact-form-box {
  background: var(--light);
  border-radius: var(--radius-lg);
  padding: 42px 38px;
}

.contact-form-box h3 { margin-bottom: 28px; color: var(--primary-dark); }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group.full { grid-column: span 2; }

.form-group label {
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 13px 16px;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.93rem;
  color: var(--text);
  background: var(--white);
  transition: var(--transition);
  outline: none;
  resize: vertical;
  width: 100%;
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(26, 60, 94, 0.1);
}

.form-group input::placeholder, .form-group textarea::placeholder { color: #a0aec0; }
.form-group textarea { min-height: 120px; resize: none; }

.form-check-wrap {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  grid-column: span 2;
}

.form-check-wrap input[type="checkbox"] {
  width: 18px; height: 18px;
  flex-shrink: 0;
  margin-top: 3px;
  accent-color: var(--primary);
  cursor: pointer;
}

.form-check-wrap label {
  font-size: 0.84rem;
  color: var(--gray);
  line-height: 1.6;
  cursor: pointer;
  text-transform: none;
  letter-spacing: 0;
  font-family: var(--font-body);
  font-weight: 400;
}

.form-check-wrap label a { color: var(--primary); text-decoration: underline; }

.form-submit-wrap { grid-column: span 2; }

.btn-submit {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  border: none;
  border-radius: 10px;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: relative;
  overflow: hidden;
}

.btn-submit::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transition: left 0.5s ease;
}

.btn-submit:hover::before { left: 100%; }
.btn-submit:hover {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(26, 60, 94, 0.35);
}

.form-success {
  display: none;
  text-align: center;
  padding: 48px 24px;
}

.success-emoji { font-size: 3.5rem; margin-bottom: 16px; display: block; animation: successPop 0.5s ease; }
@keyframes successPop {
  0% { transform: scale(0); }
  80% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

.form-success h4 { color: var(--primary-dark); font-size: 1.4rem; margin-bottom: 12px; }
.form-success p { color: var(--gray); margin-bottom: 0; }

/* ================================================
   FOOTER
   ================================================ */
.footer {
  background: #111827;
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-brand .logo { margin-bottom: 18px; }
.footer-brand p { color: rgba(255,255,255,0.5); font-size: 0.875rem; line-height: 1.75; margin-bottom: 24px; }

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

.social-link {
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 1rem;
  transition: var(--transition);
  text-decoration: none;
}

.social-link:hover {
  background: var(--secondary);
  border-color: var(--secondary);
  color: var(--white);
  transform: translateY(-3px);
}

.footer-col h4 {
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}

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

.footer-links a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0;
}

.footer-links a:hover {
  color: var(--accent);
  padding-left: 6px;
}

.footer-contact-list { display: flex; flex-direction: column; gap: 14px; }

.fci {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.855rem;
  color: rgba(255,255,255,0.5);
}

.fci .fci-icon { font-size: 1rem; flex-shrink: 0; margin-top: 1px; }
.fci a { color: rgba(255,255,255,0.5); transition: var(--transition); }
.fci a:hover { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-bottom p { font-size: 0.82rem; color: rgba(255,255,255,0.35); margin-bottom: 0; }

.footer-bottom-links { display: flex; gap: 22px; }
.footer-bottom-links a { font-size: 0.82rem; color: rgba(255,255,255,0.35); transition: var(--transition); }
.footer-bottom-links a:hover { color: var(--accent); }

/* ================================================
   BACK TO TOP
   ================================================ */
.back-to-top {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 48px; height: 48px;
  background: var(--secondary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(200, 118, 47, 0.45);
  z-index: 500;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: var(--transition);
  border: none;
  font-size: 1.1rem;
  text-decoration: none;
}

.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: #b5651d; transform: translateY(-4px); box-shadow: 0 8px 28px rgba(200, 118, 47, 0.5); }

/* ================================================
   SUBPAGES (Impressum / Datenschutz)
   ================================================ */
.subpage-hero {
  background: var(--primary-dark);
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
}

.subpage-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 15% 60%, rgba(200, 118, 47, 0.14) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 30%, rgba(37, 99, 168, 0.18) 0%, transparent 50%);
  pointer-events: none;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.breadcrumb a { color: var(--accent); transition: var(--transition); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { color: rgba(255,255,255,0.45); }

.subpage-hero h1 {
  color: var(--white);
  position: relative;
  z-index: 1;
}

.legal-body {
  padding: 80px 0;
  background: var(--white);
}

.legal-prose {
  max-width: 780px;
}

.legal-prose h2 {
  font-size: 1.4rem;
  margin-top: 48px;
  margin-bottom: 18px;
  color: var(--primary-dark);
  padding-top: 24px;
  border-top: 2px solid var(--light2);
}

.legal-prose h2:first-of-type { margin-top: 0; border-top: none; padding-top: 0; }

.legal-prose h3 { font-size: 1.05rem; margin-top: 24px; margin-bottom: 12px; color: var(--primary); }

.legal-prose p { color: var(--gray); line-height: 1.85; margin-bottom: 14px; }

.legal-prose ul { list-style: disc; padding-left: 24px; margin-bottom: 14px; }
.legal-prose ul li { color: var(--gray); line-height: 1.8; margin-bottom: 6px; }

.legal-prose a { color: var(--primary); text-decoration: underline; }
.legal-prose a:hover { color: var(--secondary); }

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .section-padding { padding: 72px 0; }

  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 130px 0 70px;
    gap: 40px;
  }

  .hero-subtitle { margin: 0 auto 40px; }
  .hero-actions { justify-content: center; }
  .hero-visual { order: -1; }

  .about-grid { grid-template-columns: 1fr; gap: 50px; }
  .about-content { padding-left: 0; }
  .about-badge-card { right: 50%; transform: translateX(50%); }

  .contact-grid { grid-template-columns: 1fr; gap: 40px; }

  .nav {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15, 36, 64, 0.97);
    backdrop-filter: blur(16px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 12px;
    z-index: 999;
  }

  .nav.open { display: flex; }
  .nav a { font-size: 1.25rem; padding: 14px 40px; }

  .menu-toggle { display: flex; z-index: 1001; }
  .header-phone { display: none; }

  .trust-divider { display: none; }
  .trust-bar-inner { gap: 20px; }
}

@media (max-width: 680px) {
  .services-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .gallery-item.wide { grid-column: span 2; }
  .gallery-item.tall { grid-row: span 1; }
  .why-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-group.full, .form-check-wrap, .form-submit-wrap { grid-column: span 1; }
  .contact-form-box { padding: 28px 20px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .gallery-item.wide { grid-column: span 1; }
  .btn { padding: 12px 22px; font-size: 0.875rem; }
  .back-to-top { bottom: 18px; right: 18px; width: 44px; height: 44px; }
}
