/* ============================================
   Karl Beleuchtungen GmbH – Website Styles
   ============================================ */

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

:root {
  --color-bg: #f8f6f1;
  --color-bg-alt: #eee9df;
  --color-dark: #1a1a1a;
  --color-dark-alt: #2c2c2c;
  --color-accent: #c8a45c;
  --color-accent-light: #dfc07a;
  --color-text: #3a3a3a;
  --color-text-light: #6b6b6b;
  --color-white: #ffffff;
  --color-border: #d6d0c4;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --max-width: 1200px;
  --header-height: 80px;
  --transition: 0.3s ease;
}

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

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
  background: linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 50%, #2c2c2c 100%);
  background-size: 200% 200%;
  animation: imgShimmer 2s ease-in-out infinite;
}

img[src*="unsplash"]:not([complete]) {
  min-height: 200px;
}

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

ul { list-style: none; }

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

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

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

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
}

.section-title {
  margin-bottom: 1.5rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--color-text-light);
  max-width: 600px;
  line-height: 1.8;
}

/* --- Header --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  background: rgba(248, 246, 241, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  transition: background var(--transition), box-shadow var(--transition);
}

.site-header.scrolled {
  background: rgba(248, 246, 241, 0.98);
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-dark);
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: var(--color-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-icon svg {
  width: 18px;
  height: 18px;
  fill: var(--color-white);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-light);
  position: relative;
  padding: 0.25rem 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width var(--transition);
}

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

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

.nav-cta {
  background: var(--color-dark) !important;
  color: var(--color-white) !important;
  padding: 0.6rem 1.5rem !important;
  border-radius: 4px;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.5px;
}

.nav-cta::after { display: none !important; }

.nav-cta:hover {
  background: var(--color-accent) !important;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

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

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #0a0a0a;
  margin-top: 0;
  padding-top: var(--header-height);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1565814329452-e1432bc809d7?w=1600&q=80') center/cover no-repeat;
  opacity: 0.35;
  animation: heroZoom 25s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  0% { transform: scale(1); }
  100% { transform: scale(1.08); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 70% 60%, rgba(200,164,92,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 20% 40%, rgba(200,164,92,0.08) 0%, transparent 60%),
    linear-gradient(160deg, rgba(10,10,10,0.92) 0%, rgba(10,10,10,0.5) 50%, rgba(10,10,10,0.75) 100%);
}

/* Floating light orbs */
.hero-orbs {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(1px);
  opacity: 0;
  animation: orbFloat linear infinite;
}

.hero-orb:nth-child(1) {
  width: 6px; height: 6px;
  background: radial-gradient(circle, rgba(200,164,92,0.9), transparent 70%);
  left: 15%; top: 30%;
  animation-duration: 8s; animation-delay: 0s;
}
.hero-orb:nth-child(2) {
  width: 4px; height: 4px;
  background: radial-gradient(circle, rgba(255,220,150,0.8), transparent 70%);
  left: 65%; top: 20%;
  animation-duration: 12s; animation-delay: 2s;
}
.hero-orb:nth-child(3) {
  width: 8px; height: 8px;
  background: radial-gradient(circle, rgba(200,164,92,0.6), transparent 70%);
  left: 80%; top: 55%;
  animation-duration: 10s; animation-delay: 4s;
}
.hero-orb:nth-child(4) {
  width: 3px; height: 3px;
  background: radial-gradient(circle, rgba(255,230,170,0.9), transparent 70%);
  left: 40%; top: 70%;
  animation-duration: 9s; animation-delay: 1s;
}
.hero-orb:nth-child(5) {
  width: 5px; height: 5px;
  background: radial-gradient(circle, rgba(200,164,92,0.7), transparent 70%);
  left: 55%; top: 45%;
  animation-duration: 11s; animation-delay: 3s;
}
.hero-orb:nth-child(6) {
  width: 4px; height: 4px;
  background: radial-gradient(circle, rgba(255,210,130,0.8), transparent 70%);
  left: 25%; top: 60%;
  animation-duration: 7s; animation-delay: 5s;
}

@keyframes orbFloat {
  0% { opacity: 0; transform: translateY(0) translateX(0); }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { opacity: 0; transform: translateY(-120px) translateX(30px); }
}

/* Decorative line accent */
.hero-line {
  position: absolute;
  right: 10%;
  top: 25%;
  width: 1px;
  height: 200px;
  background: linear-gradient(to bottom, transparent, var(--color-accent), transparent);
  opacity: 0.3;
  z-index: 1;
}

.hero-line::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: -4px;
  width: 9px;
  height: 9px;
  background: var(--color-accent);
  border-radius: 50%;
  animation: linePulse 3s ease-in-out infinite;
}

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

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 6rem 2rem;
  color: var(--color-white);
}

.hero-content .section-label {
  color: var(--color-accent-light);
  animation: heroFadeUp 1s ease 0.2s both;
}

.hero-content h1 {
  color: var(--color-white);
  margin-bottom: 1.5rem;
  max-width: 700px;
  animation: heroFadeUp 1s ease 0.4s both;
}

.hero-content h1 em {
  font-style: normal;
  color: var(--color-accent);
  position: relative;
}

.hero-content h1 em::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--color-accent);
  opacity: 0.4;
}

.hero-content p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.65);
  max-width: 520px;
  margin-bottom: 2.5rem;
  line-height: 1.8;
  animation: heroFadeUp 1s ease 0.6s both;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: heroFadeUp 1s ease 0.8s both;
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.35);
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: heroFadeUp 1s ease 1.2s both;
}

.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(200,164,92,0.6), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; height: 40px; }
  50% { opacity: 1; height: 55px; }
}

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

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--transition);
  letter-spacing: 0.3px;
}

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

.btn-primary:hover {
  background: var(--color-accent-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(200, 164, 92, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--color-white);
  border: 1.5px solid rgba(255,255,255,0.35);
}

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

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

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

/* --- Stats Bar --- */
.stats-bar {
  background: var(--color-dark);
  padding: 3rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item {
  color: var(--color-white);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* --- Section Spacing --- */
.section {
  padding: 6rem 0;
}

.section-dark {
  background: var(--color-dark);
  color: var(--color-white);
}

.section-alt {
  background: var(--color-bg-alt);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header .section-subtitle {
  margin: 0 auto;
}

/* --- Services Grid --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  background: var(--color-white);
  border-radius: 8px;
  padding: 2.5rem 2rem;
  border: 1px solid var(--color-border);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--color-accent);
  transform: scaleX(0);
  transition: transform var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}

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

.service-icon {
  width: 52px;
  height: 52px;
  background: var(--color-bg-alt);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.service-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--color-accent);
  fill: none;
  stroke-width: 1.5;
}

.service-card h3 {
  margin-bottom: 0.75rem;
}

.service-card p {
  color: var(--color-text-light);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* --- Projects Grid --- */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.project-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  cursor: pointer;
  group: true;
}

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

.project-card:hover img {
  transform: scale(1.05);
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,26,26,0.85) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  transition: background var(--transition);
}

.project-card:hover .project-overlay {
  background: linear-gradient(to top, rgba(26,26,26,0.9) 0%, rgba(26,26,26,0.2) 100%);
}

.project-tag {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
}

.project-overlay h3 {
  color: var(--color-white);
  font-size: 1.4rem;
  margin-bottom: 0.25rem;
}

.project-overlay p {
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
}

/* --- Casestudies (Startseite) --- */
.casestudies {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.casestudy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  background: var(--color-white);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.casestudy.reverse {
  direction: rtl;
}

.casestudy.reverse > * {
  direction: ltr;
}

.casestudy-image {
  height: 100%;
  min-height: 320px;
  overflow: hidden;
}

.casestudy-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.casestudy-content {
  padding: 2.5rem 2.5rem 2.5rem 0;
}

.casestudy.reverse .casestudy-content {
  padding: 2.5rem 0 2.5rem 2.5rem;
}

.casestudy-content h3 {
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}

.casestudy-location {
  font-size: 0.85rem;
  color: var(--color-text-light);
  margin-bottom: 1rem;
}

.casestudy-content > p:last-of-type {
  color: var(--color-text-light);
  line-height: 1.8;
  font-size: 0.95rem;
}

.casestudy-stats {
  display: flex;
  gap: 2rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
}

.casestudy-stats div {
  font-size: 0.8rem;
  color: var(--color-text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.casestudy-stats strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--color-dark);
  margin-bottom: 0.15rem;
}

@media (max-width: 768px) {
  .casestudy {
    grid-template-columns: 1fr;
  }

  .casestudy.reverse {
    direction: ltr;
  }

  .casestudy-content,
  .casestudy.reverse .casestudy-content {
    padding: 2rem;
  }

  .casestudy-image {
    min-height: 220px;
  }
}

/* --- Projects Detail Page --- */
.projects-showcase {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.showcase-card {
  border-radius: 8px;
  overflow: hidden;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  transition: all var(--transition);
}

.showcase-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}

.showcase-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.showcase-info {
  padding: 1.75rem;
}

.showcase-info .project-tag {
  margin-bottom: 0.75rem;
}

.showcase-info h3 {
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}

.showcase-info p {
  color: var(--color-text-light);
  font-size: 0.9rem;
  margin-bottom: 1rem;
  line-height: 1.7;
}

.showcase-meta {
  display: flex;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
  font-size: 0.8rem;
  color: var(--color-text-light);
}

/* --- Testimonials --- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.testimonial-card {
  background: var(--color-white);
  border-radius: 8px;
  padding: 2.5rem;
  border: 1px solid var(--color-border);
  position: relative;
}

.testimonial-card::before {
  content: '\201C';
  font-family: var(--font-heading);
  font-size: 4rem;
  color: var(--color-accent);
  position: absolute;
  top: 1rem;
  left: 1.5rem;
  line-height: 1;
  opacity: 0.3;
}

.testimonial-text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--color-text);
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-accent);
}

.testimonial-name {
  font-weight: 600;
  color: var(--color-dark);
}

.testimonial-role {
  font-size: 0.85rem;
  color: var(--color-text-light);
}

/* --- CTA Section --- */
.cta-section {
  background: var(--color-dark);
  padding: 5rem 0;
  text-align: center;
}

.cta-section h2 {
  color: var(--color-white);
  margin-bottom: 1rem;
}

.cta-section p {
  color: rgba(255,255,255,0.65);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* --- About Page --- */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image {
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}

.about-image img {
  width: 100%;
  height: 450px;
  object-fit: cover;
}

.about-image-badge {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  background: var(--color-accent);
  color: var(--color-dark);
  padding: 1rem 1.5rem;
  border-radius: 6px;
  font-family: var(--font-heading);
  text-align: center;
}

.about-image-badge .badge-number {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.about-image-badge .badge-text {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about-text h2 {
  margin-bottom: 1.5rem;
}

.about-text p {
  margin-bottom: 1.25rem;
  color: var(--color-text-light);
  line-height: 1.8;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.value-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
}

.value-icon {
  width: 64px;
  height: 64px;
  background: var(--color-bg-alt);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.value-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--color-accent);
  fill: none;
  stroke-width: 1.5;
}

.value-card h3 {
  margin-bottom: 0.75rem;
}

.value-card p {
  color: var(--color-text-light);
  font-size: 0.95rem;
}

/* --- Team Grid --- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.team-card {
  text-align: center;
}

.team-photo {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  overflow: hidden;
  border: 3px solid var(--color-border);
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card h3 {
  margin-bottom: 0.25rem;
  font-size: 1.2rem;
}

.team-card .team-role {
  color: var(--color-accent);
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.75rem;
}

.team-card p {
  color: var(--color-text-light);
  font-size: 0.9rem;
  max-width: 280px;
  margin: 0 auto;
}

/* --- Contact Page --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 2rem;
}

.contact-info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: var(--color-bg-alt);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-info-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--color-accent);
  fill: none;
  stroke-width: 1.5;
}

.contact-info-item h4 {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.contact-info-item p,
.contact-info-item a {
  color: var(--color-text-light);
  font-size: 0.9rem;
}

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

.contact-form {
  background: var(--color-white);
  padding: 2.5rem;
  border-radius: 8px;
  border: 1px solid var(--color-border);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-text);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  transition: border-color var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-accent);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

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

/* --- Page Header --- */
.page-header {
  background: var(--color-dark);
  padding: calc(var(--header-height) + 4rem) 0 4rem;
  text-align: center;
}

.page-header h1 {
  color: var(--color-white);
  margin-bottom: 1rem;
}

.page-header p {
  color: rgba(255,255,255,0.6);
  font-size: 1.1rem;
  max-width: 550px;
  margin: 0 auto;
}

/* --- Footer --- */
.site-footer {
  background: var(--color-dark);
  color: rgba(255,255,255,0.6);
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand .logo {
  color: var(--color-white);
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 300px;
}

.footer-col h4 {
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 1.25rem;
}

.footer-col a {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
  transition: color var(--transition);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
}

.footer-bottom a {
  margin-left: 1.5rem;
}

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

/* --- Leistungen Detail --- */
.leistung-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 4rem 0;
  border-bottom: 1px solid var(--color-border);
}

.leistung-detail:last-child {
  border-bottom: none;
}

.leistung-detail.reverse {
  direction: rtl;
}

.leistung-detail.reverse > * {
  direction: ltr;
}

.leistung-image {
  border-radius: 8px;
  overflow: hidden;
}

.leistung-image img {
  width: 100%;
  height: 350px;
  object-fit: cover;
}

.leistung-content h3 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

.leistung-content p {
  color: var(--color-text-light);
  margin-bottom: 1.25rem;
  line-height: 1.8;
}

.leistung-features {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1rem;
}

.leistung-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--color-text);
}

.leistung-features li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--color-accent);
  border-radius: 50%;
  flex-shrink: 0;
}

/* --- Map Placeholder --- */
.map-section {
  height: 400px;
  background: var(--color-bg-alt);
  position: relative;
  overflow: hidden;
}

.map-placeholder {
  width: 100%;
  height: 100%;
  background:
    linear-gradient(rgba(200,164,92,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200,164,92,0.08) 1px, transparent 1px);
  background-size: 40px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-placeholder span {
  background: var(--color-white);
  padding: 1rem 2rem;
  border-radius: 8px;
  font-size: 0.9rem;
  color: var(--color-text-light);
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

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

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

/* --- Responsive --- */
@media (max-width: 1024px) {
  .services-grid,
  .values-grid,
  .team-grid,
  .projects-showcase {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 768px) {
  :root {
    --header-height: 64px;
  }

  .menu-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background: var(--color-bg);
    flex-direction: column;
    padding: 2rem;
    gap: 1.25rem;
    border-bottom: 1px solid var(--color-border);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  }

  .nav-links.open {
    display: flex;
  }

  .hero-content {
    padding: 4rem 1.5rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .services-grid,
  .projects-grid,
  .testimonials-grid,
  .values-grid,
  .team-grid,
  .projects-showcase {
    grid-template-columns: 1fr;
  }

  .about-intro,
  .contact-grid,
  .leistung-detail {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .leistung-detail.reverse {
    direction: ltr;
  }

  .section {
    padding: 4rem 0;
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }

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