/* ============================================================
   MASCHMEIER TROCKENBAU – Stylesheet
   Dark kraftvoll design · Mobile-first · Roboto · No frameworks
   ============================================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700;900&display=swap');

/* --- CSS Custom Properties --- */
:root {
  --clr-bg-dark:       #0b1120;
  --clr-bg-medium:     #111827;
  --clr-bg-card:       #1a2332;
  --clr-accent:        #1a8cff;
  --clr-accent-hover:  #0070e6;
  --clr-blue:          #1a8cff;
  --clr-blue-light:    #5cadff;
  --clr-white:         #ffffff;
  --clr-offwhite:      #f3f4f6;
  --clr-gray-100:      #e5e7eb;
  --clr-gray-200:      #d1d5db;
  --clr-gray-300:      #9ca3af;
  --clr-gray-400:      #6b7280;
  --clr-text:          #1f2937;
  --clr-text-light:    #6b7280;
  --clr-border:        #d1d5db;
  --clr-success:       #22c55e;
  --clr-error:         #ef4444;

  --ff-body:       'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
  --fw-light:       300;
  --fw-regular:     400;
  --fw-medium:      500;
  --fw-bold:        700;
  --fw-black:       900;

  --space-xs:   0.5rem;
  --space-sm:   1rem;
  --space-md:   1.5rem;
  --space-lg:   2.5rem;
  --space-xl:   4rem;
  --space-2xl:  6rem;

  --radius:      6px;
  --radius-lg:   12px;
  --shadow-sm:   0 1px 3px rgba(0,0,0,0.08);
  --shadow-md:   0 4px 16px rgba(0,0,0,0.12);
  --shadow-lg:   0 8px 32px rgba(0,0,0,0.18);
  --transition:  0.3s ease;
  --max-width:   1200px;
}

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

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

body {
  font-family: var(--ff-body);
  font-weight: var(--fw-regular);
  color: var(--clr-text);
  background: var(--clr-white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

ul, ol { list-style: none; }

/* --- Utilities --- */
.container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-padding {
  padding: var(--space-xl) 0;
}

@media (min-width: 768px) {
  .section-padding { padding: var(--space-2xl) 0; }
}

.section-label {
  font-weight: var(--fw-bold);
  font-size: 0.75rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--clr-accent);
  margin-bottom: var(--space-xs);
}

.section-title {
  font-weight: var(--fw-black);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  color: var(--clr-bg-dark);
  line-height: 1.15;
  margin-bottom: var(--space-sm);
}

.section-subtitle {
  font-size: 1.0625rem;
  color: var(--clr-text-light);
  max-width: 640px;
  line-height: 1.7;
}

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

.section-subtitle.text-center {
  margin-left: auto;
  margin-right: auto;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--ff-body);
  font-weight: var(--fw-bold);
  font-size: 0.9375rem;
  padding: 0.9375rem 2rem;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  line-height: 1;
  letter-spacing: 0.3px;
}

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

.btn-primary:hover {
  background: var(--clr-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26,140,255,0.45);
}

.btn-secondary {
  background: transparent;
  color: var(--clr-white);
  border: 2px solid rgba(255,255,255,0.3);
}

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

.btn-outline {
  background: transparent;
  color: var(--clr-bg-dark);
  border: 2px solid var(--clr-bg-dark);
}

.btn-outline:hover {
  background: var(--clr-bg-dark);
  color: var(--clr-white);
  transform: translateY(-2px);
}

.btn-cta {
  background: var(--clr-accent);
  color: var(--clr-white);
  font-size: 1.0625rem;
  padding: 1.125rem 2.5rem;
  box-shadow: 0 4px 15px rgba(26,140,255,0.35);
}

.btn-cta:hover {
  background: var(--clr-accent-hover);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(26,140,255,0.5);
}

/* ============================================================
   HEADER / NAVIGATION
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(11,17,32,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background var(--transition), box-shadow var(--transition);
}

.site-header.scrolled {
  background: rgba(11,17,32,0.98);
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.875rem 0;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-img {
  height: 44px;
  width: auto;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-name {
  font-weight: var(--fw-black);
  font-size: 1.25rem;
  color: var(--clr-white);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.logo-tagline {
  font-size: 0.6875rem;
  color: var(--clr-blue-light);
  letter-spacing: 2.5px;
  text-transform: uppercase;
  font-weight: var(--fw-medium);
}

/* Desktop Navigation */
.nav-desktop { display: none; }

@media (min-width: 992px) {
  .nav-desktop {
    display: flex;
    align-items: center;
    gap: 2rem;
  }
}

.nav-desktop a {
  color: rgba(255,255,255,0.7);
  font-size: 0.9375rem;
  font-weight: var(--fw-medium);
  position: relative;
  padding: 0.25rem 0;
}

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

.nav-desktop a:hover,
.nav-desktop a.active {
  color: var(--clr-white);
}

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

/* Header CTA */
.header-cta { display: none; }

@media (min-width: 992px) {
  .header-cta {
    display: flex;
    align-items: center;
    gap: 1.25rem;
  }
}

.header-phone {
  color: var(--clr-white);
  font-weight: var(--fw-bold);
  font-size: 0.9375rem;
}

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

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

@media (min-width: 992px) {
  .nav-toggle { display: none; }
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--clr-white);
  transition: all var(--transition);
  border-radius: 2px;
}

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

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

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

/* Mobile Menu */
.nav-mobile {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--clr-bg-dark);
  z-index: 999;
  padding: 6rem 2rem 2rem;
  flex-direction: column;
  gap: 0;
}

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

.nav-mobile a {
  color: var(--clr-white);
  font-size: 1.375rem;
  font-weight: var(--fw-bold);
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav-mobile a:hover { color: var(--clr-accent); }

.nav-mobile .mobile-phone {
  margin-top: auto;
  padding: 1.5rem 0;
  color: var(--clr-accent);
  font-size: 1.25rem;
  font-weight: var(--fw-bold);
}

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

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #0b1120 0%, #111827 40%, #172040 100%);
  z-index: 1;
}

.hero-bg::before {
  content: '';
  position: absolute;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26,140,255,0.15) 0%, transparent 70%);
  top: -200px;
  right: -200px;
}

.hero-bg::after {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26,140,255,0.08) 0%, transparent 70%);
  bottom: -150px;
  left: -100px;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 8rem 0 4rem;
  width: 100%;
}

.hero-grid {
  display: grid;
  gap: var(--space-lg);
  align-items: center;
}

@media (min-width: 992px) {
  .hero-grid { grid-template-columns: 1.1fr 0.9fr; }
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(26,140,255,0.12);
  border: 1px solid rgba(26,140,255,0.25);
  color: var(--clr-blue-light);
  font-size: 0.8125rem;
  font-weight: var(--fw-bold);
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  margin-bottom: var(--space-md);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.hero h1 {
  font-weight: var(--fw-black);
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--clr-white);
  line-height: 1.1;
  margin-bottom: var(--space-md);
}

.hero h1 span {
  color: var(--clr-accent);
}

.hero-description {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.75;
  margin-bottom: var(--space-lg);
  max-width: 500px;
  font-weight: var(--fw-light);
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
}

.hero-stats {
  display: flex;
  gap: var(--space-xl);
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255,255,255,0.08);
}

.hero-stat-number {
  font-size: 2.25rem;
  font-weight: var(--fw-black);
  color: var(--clr-white);
  line-height: 1;
}

.hero-stat-text {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.45);
  margin-top: 0.375rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: var(--fw-medium);
}

/* Hero Visual */
.hero-visual { display: none; }

@media (min-width: 992px) {
  .hero-visual {
    display: block;
    position: relative;
  }
}

.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--clr-bg-card);
}

.hero-image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--clr-bg-card) 0%, rgba(26,140,255,0.18) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: rgba(255,255,255,0.2);
  font-weight: var(--fw-medium);
  letter-spacing: 1px;
  text-transform: uppercase;
}

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

.hero-floating-card {
  position: absolute;
  bottom: -1.5rem;
  left: -1.5rem;
  background: var(--clr-white);
  border-radius: var(--radius);
  padding: 1.125rem 1.5rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.floating-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--clr-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-white);
  font-size: 1.125rem;
  font-weight: var(--fw-black);
  flex-shrink: 0;
}

.floating-card-text {
  font-weight: var(--fw-bold);
  font-size: 0.875rem;
  color: var(--clr-bg-dark);
}

.floating-card-subtext {
  font-size: 0.75rem;
  color: var(--clr-text-light);
}

/* ============================================================
   TRUST BAR
   ============================================================ */
.trust-bar {
  background: var(--clr-offwhite);
  border-bottom: 1px solid var(--clr-gray-100);
}

.trust-bar-inner {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-sm);
  padding: var(--space-lg) 0;
}

@media (min-width: 768px) {
  .trust-bar-inner { grid-template-columns: repeat(4, 1fr); }
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
}

.trust-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--clr-accent);
  color: var(--clr-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  font-weight: var(--fw-black);
  flex-shrink: 0;
}

.trust-text {
  font-weight: var(--fw-bold);
  font-size: 0.875rem;
  color: var(--clr-bg-dark);
  line-height: 1.3;
}

/* ============================================================
   SERVICES OVERVIEW (Startseite)
   ============================================================ */
.services-overview { background: var(--clr-white); }

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

@media (min-width: 576px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 992px) {
  .services-grid { grid-template-columns: repeat(4, 1fr); }
}

.service-card {
  background: var(--clr-white);
  border: 1px solid var(--clr-gray-100);
  border-radius: var(--radius-lg);
  padding: var(--space-lg) var(--space-md);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

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

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

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

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  background: var(--clr-offwhite);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-sm);
  transition: all var(--transition);
}

.service-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--clr-blue);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card:hover .service-icon {
  background: var(--clr-bg-dark);
}

.service-card:hover .service-icon svg {
  stroke: var(--clr-accent);
}

.service-card h3 {
  font-weight: var(--fw-bold);
  font-size: 1.0625rem;
  color: var(--clr-bg-dark);
  margin-bottom: 0.5rem;
}

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

/* ============================================================
   WHY US
   ============================================================ */
.why-us {
  background: var(--clr-bg-dark);
  color: var(--clr-white);
  position: relative;
  overflow: hidden;
}

.why-us::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26,140,255,0.08) 0%, transparent 70%);
  top: -200px;
  right: -200px;
}

.why-us .section-label { color: var(--clr-accent); }
.why-us .section-title { color: var(--clr-white); }
.why-us .section-subtitle { color: rgba(255,255,255,0.6); }

.why-us-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

@media (min-width: 768px) {
  .why-us-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 992px) {
  .why-us-grid { grid-template-columns: repeat(3, 1fr); }
}

.why-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  padding: var(--space-lg) var(--space-md);
  transition: all var(--transition);
}

.why-card:hover {
  background: rgba(255,255,255,0.07);
  transform: translateY(-4px);
}

.why-card-number {
  font-size: 2rem;
  font-weight: var(--fw-black);
  color: var(--clr-accent);
  line-height: 1;
  margin-bottom: var(--space-sm);
}

.why-card h3 {
  font-weight: var(--fw-bold);
  font-size: 1.0625rem;
  margin-bottom: 0.5rem;
}

.why-card p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.65;
}

/* ============================================================
   SPECIALIZATION SECTION
   ============================================================ */
.specialization {
  background: var(--clr-offwhite);
}

.spec-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  margin-top: var(--space-lg);
}

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

.spec-card {
  background: var(--clr-white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl) var(--space-lg);
  border: 1px solid var(--clr-gray-100);
  transition: all var(--transition);
}

.spec-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.spec-card h3 {
  font-weight: var(--fw-black);
  font-size: 1.5rem;
  color: var(--clr-bg-dark);
  margin-bottom: var(--space-xs);
}

.spec-card .spec-years {
  font-weight: var(--fw-bold);
  font-size: 0.875rem;
  color: var(--clr-accent);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: var(--space-sm);
}

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

/* ============================================================
   PROCESS SECTION
   ============================================================ */
.process-section { background: var(--clr-white); }

.process-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

@media (min-width: 768px) {
  .process-steps { grid-template-columns: repeat(4, 1fr); }
}

.process-step {
  text-align: center;
  padding: var(--space-md);
  position: relative;
}

.process-number {
  font-size: 3rem;
  font-weight: var(--fw-black);
  color: var(--clr-gray-100);
  line-height: 1;
  margin-bottom: var(--space-xs);
}

.process-step h3 {
  font-weight: var(--fw-bold);
  font-size: 1.0625rem;
  color: var(--clr-bg-dark);
  margin-bottom: 0.5rem;
}

.process-step p {
  font-size: 0.875rem;
  color: var(--clr-text-light);
  line-height: 1.65;
}

@media (min-width: 768px) {
  .process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 2rem;
    right: -10%;
    width: 20%;
    height: 2px;
    background: var(--clr-gray-100);
  }
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  background: var(--clr-bg-dark);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--clr-bg-dark) 0%, #172040 100%);
}

.cta-content {
  position: relative;
  z-index: 2;
}

.cta-section h2 {
  font-weight: var(--fw-black);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--clr-white);
  margin-bottom: var(--space-sm);
}

.cta-section p {
  color: rgba(255,255,255,0.6);
  font-size: 1.0625rem;
  margin-bottom: var(--space-lg);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
}

.cta-phone {
  font-size: 1.5rem;
  font-weight: var(--fw-black);
  color: var(--clr-white);
  margin-top: var(--space-md);
  display: inline-block;
}

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

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials { background: var(--clr-offwhite); }

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

@media (min-width: 768px) {
  .testimonials-grid { grid-template-columns: repeat(3, 1fr); }
}

.testimonial-card {
  background: var(--clr-white);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  border: 1px solid var(--clr-gray-100);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.testimonial-stars {
  color: var(--clr-accent);
  font-size: 1rem;
  margin-bottom: var(--space-sm);
  letter-spacing: 2px;
}

.testimonial-card blockquote {
  font-style: italic;
  font-size: 0.9375rem;
  color: var(--clr-text);
  line-height: 1.7;
  margin-bottom: var(--space-sm);
}

.testimonial-author {
  font-weight: var(--fw-bold);
  font-size: 0.875rem;
  color: var(--clr-bg-dark);
}

.testimonial-project {
  font-size: 0.8125rem;
  color: var(--clr-text-light);
}

/* ============================================================
   PAGE HERO (Unterseiten)
   ============================================================ */
.page-hero {
  background: var(--clr-bg-dark);
  padding: 9rem 0 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26,140,255,0.1) 0%, transparent 70%);
  top: -200px;
  right: -100px;
}

.page-hero h1 {
  font-weight: var(--fw-black);
  font-size: clamp(2rem, 4vw, 2.75rem);
  color: var(--clr-white);
  margin-bottom: var(--space-xs);
}

.page-hero p {
  color: rgba(255,255,255,0.6);
  font-size: 1.0625rem;
  max-width: 600px;
  margin: 0 auto;
  font-weight: var(--fw-light);
}

/* ============================================================
   LEISTUNGEN PAGE - Detail
   ============================================================ */
.services-detail { background: var(--clr-white); }

.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

.service-detail-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: stretch;
  background: var(--clr-offwhite);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  border: 1px solid var(--clr-gray-100);
}

@media (min-width: 768px) {
  .service-detail-card { grid-template-columns: 1fr 1fr; }
  .service-detail-card:nth-child(even) .service-detail-image { order: 2; }
}

.service-detail-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.service-detail-image {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--clr-bg-card) 0%, rgba(26,140,255,0.14) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.25);
  min-height: 240px;
  font-weight: var(--fw-medium);
  letter-spacing: 1px;
  text-transform: uppercase;
}

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

.service-detail-text {
  padding: var(--space-lg);
}

.service-detail-text h2 {
  font-weight: var(--fw-black);
  font-size: 1.5rem;
  color: var(--clr-bg-dark);
  margin-bottom: var(--space-sm);
}

.service-detail-text p {
  font-size: 0.9375rem;
  color: var(--clr-text-light);
  line-height: 1.75;
  margin-bottom: var(--space-sm);
}

.service-detail-list {
  margin-top: var(--space-sm);
}

.service-detail-list li {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.875rem;
  color: var(--clr-text);
  padding: 0.375rem 0;
}

.service-detail-list li::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--clr-accent);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ============================================================
   PROJEKTE PAGE
   ============================================================ */
.projects-section { background: var(--clr-white); }

.projects-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

@media (min-width: 768px) {
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
}

.project-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--clr-white);
  border: 1px solid var(--clr-gray-100);
  transition: all var(--transition);
}

.project-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: transparent;
}

.project-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
}

.project-before,
.project-after {
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
  position: relative;
  font-weight: var(--fw-medium);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.project-before {
  background: linear-gradient(135deg, #2a2a2a 0%, #4a4a4a 100%);
}

.project-after {
  background: linear-gradient(135deg, var(--clr-bg-card) 0%, var(--clr-blue) 100%);
}

.project-before img,
.project-after img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.image-label {
  position: absolute;
  bottom: 0.75rem;
  left: 0.75rem;
  background: rgba(0,0,0,0.65);
  color: var(--clr-white);
  font-size: 0.6875rem;
  font-weight: var(--fw-bold);
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 1px;
  z-index: 3;
}

.project-divider {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--clr-white);
  transform: translateX(-50%);
  z-index: 2;
}

.project-info {
  padding: var(--space-md);
}

.project-category {
  font-size: 0.75rem;
  font-weight: var(--fw-bold);
  color: var(--clr-accent);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.5rem;
}

.project-info h3 {
  font-weight: var(--fw-bold);
  font-size: 1.1875rem;
  color: var(--clr-bg-dark);
  margin-bottom: 0.5rem;
}

.project-info p {
  font-size: 0.875rem;
  color: var(--clr-text-light);
  line-height: 1.65;
}

.project-meta {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-sm);
  padding-top: var(--space-sm);
  border-top: 1px solid var(--clr-gray-100);
}

.project-meta span {
  font-size: 0.8125rem;
  color: var(--clr-text-light);
}

/* ============================================================
   KONTAKT PAGE
   ============================================================ */
.contact-section { background: var(--clr-white); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

@media (min-width: 768px) {
  .contact-grid { grid-template-columns: 1.2fr 0.8fr; }
}

/* Contact Form */
.contact-form-wrapper {
  background: var(--clr-offwhite);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
}

.contact-form-wrapper h2 {
  font-weight: var(--fw-black);
  font-size: 1.5rem;
  color: var(--clr-bg-dark);
  margin-bottom: var(--space-xs);
}

.contact-form-wrapper > p {
  font-size: 0.9375rem;
  color: var(--clr-text-light);
  margin-bottom: var(--space-md);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-sm);
}

@media (min-width: 576px) {
  .form-row { grid-template-columns: 1fr 1fr; }
}

.form-group {
  margin-bottom: var(--space-sm);
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: var(--fw-bold);
  color: var(--clr-bg-dark);
  margin-bottom: 0.375rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  font-family: var(--ff-body);
  font-size: 0.9375rem;
  color: var(--clr-text);
  background: var(--clr-white);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--clr-blue);
  box-shadow: 0 0 0 3px rgba(26,140,255,0.14);
}

.form-group input.error,
.form-group textarea.error,
.form-group select.error {
  border-color: var(--clr-error);
  box-shadow: 0 0 0 3px rgba(239,68,68,0.1);
}

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

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--clr-gray-300);
}

.form-error {
  font-size: 0.8125rem;
  color: var(--clr-error);
  margin-top: 0.25rem;
  display: none;
}

.form-error.visible {
  display: block;
}

/* Checkbox */
.form-checkbox {
  margin-bottom: var(--space-sm);
}

.form-checkbox label {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  cursor: pointer;
  font-size: 0.875rem;
  color: var(--clr-text);
  line-height: 1.5;
  font-weight: var(--fw-regular);
}

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

/* File Upload */
.form-file-upload {
  margin-bottom: var(--space-sm);
}

.form-file-upload label {
  display: block;
  font-size: 0.875rem;
  font-weight: var(--fw-bold);
  color: var(--clr-bg-dark);
  margin-bottom: 0.375rem;
}

.file-upload-area {
  border: 2px dashed var(--clr-border);
  border-radius: var(--radius);
  padding: var(--space-md);
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
  background: var(--clr-white);
}

.file-upload-area:hover {
  border-color: var(--clr-blue);
  background: rgba(26,140,255,0.04);
}

.file-upload-area p {
  font-size: 0.875rem;
  color: var(--clr-text-light);
}

.file-upload-area .file-hint {
  font-size: 0.75rem;
  color: var(--clr-gray-300);
  margin-top: 0.25rem;
}

.file-upload-area input[type="file"] {
  display: none;
}

.form-submit {
  margin-top: var(--space-md);
}

.form-note {
  font-size: 0.8125rem;
  color: var(--clr-text-light);
  margin-top: var(--space-sm);
}

/* Honeypot */
.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  overflow: hidden;
}

/* Contact Info */
.contact-info-wrapper {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.contact-info-card {
  background: var(--clr-bg-dark);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  color: var(--clr-white);
}

.contact-info-card h3 {
  font-weight: var(--fw-bold);
  font-size: 1.1875rem;
  margin-bottom: var(--space-md);
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

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

.contact-info-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(26,140,255,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--clr-blue-light);
  fill: none;
  stroke-width: 2;
}

.contact-info-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.15rem;
}

.contact-info-value {
  font-weight: var(--fw-bold);
  font-size: 0.9375rem;
}

.contact-info-value a {
  color: var(--clr-white);
}

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

/* Opening Hours */
.contact-hours {
  background: var(--clr-offwhite);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  border: 1px solid var(--clr-gray-100);
}

.contact-hours h3 {
  font-weight: var(--fw-bold);
  font-size: 1.0625rem;
  color: var(--clr-bg-dark);
  margin-bottom: var(--space-sm);
}

.hours-row {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--clr-gray-100);
  font-size: 0.9375rem;
}

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

.hours-day { color: var(--clr-text); }
.hours-time { font-weight: var(--fw-bold); color: var(--clr-bg-dark); }

/* Map Placeholder */
.map-section { background: var(--clr-offwhite); }

.map-placeholder {
  width: 100%;
  height: 400px;
  background: var(--clr-bg-card);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.5rem;
  color: rgba(255,255,255,0.3);
  font-size: 0.875rem;
}

/* ============================================================
   LEGAL PAGES (Impressum, Datenschutz)
   ============================================================ */
.legal-content {
  background: var(--clr-white);
}

.legal-content .container {
  max-width: 800px;
}

.legal-content h2 {
  font-weight: var(--fw-black);
  font-size: 1.375rem;
  color: var(--clr-bg-dark);
  margin-top: var(--space-lg);
  margin-bottom: var(--space-sm);
}

.legal-content h3 {
  font-weight: var(--fw-bold);
  font-size: 1.0625rem;
  color: var(--clr-bg-dark);
  margin-top: var(--space-md);
  margin-bottom: var(--space-xs);
}

.legal-content p {
  font-size: 0.9375rem;
  color: var(--clr-text-light);
  line-height: 1.8;
  margin-bottom: var(--space-sm);
}

.legal-content ul {
  margin-bottom: var(--space-sm);
  padding-left: var(--space-md);
}

.legal-content ul li {
  font-size: 0.9375rem;
  color: var(--clr-text-light);
  line-height: 1.8;
  list-style: disc;
}

.legal-content a {
  color: var(--clr-blue);
}

.legal-content a:hover {
  text-decoration: underline;
}

/* ============================================================
   DANKE PAGE
   ============================================================ */
.thankyou-section {
  background: var(--clr-bg-dark);
  min-height: 60vh;
  display: flex;
  align-items: center;
  text-align: center;
}

.thankyou-section h1 {
  font-weight: var(--fw-black);
  font-size: clamp(2rem, 4vw, 2.75rem);
  color: var(--clr-white);
  margin-bottom: var(--space-sm);
}

.thankyou-section p {
  color: rgba(255,255,255,0.65);
  font-size: 1.0625rem;
  max-width: 520px;
  margin: 0 auto var(--space-lg);
}

.thankyou-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--clr-success);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-lg);
  font-size: 2rem;
  color: var(--clr-white);
  font-weight: var(--fw-black);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--clr-bg-dark);
  color: var(--clr-white);
  padding: var(--space-2xl) 0 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  padding-bottom: var(--space-xl);
}

@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}

.footer-brand .logo {
  margin-bottom: var(--space-sm);
}

.footer-brand p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  max-width: 300px;
}

.footer-col h4 {
  font-weight: var(--fw-bold);
  font-size: 0.9375rem;
  margin-bottom: var(--space-sm);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.8125rem;
}

.footer-col a {
  display: block;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  padding: 0.3rem 0;
}

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

.footer-contact-item {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  padding: 0.3rem 0;
  line-height: 1.5;
}

.footer-contact-item a {
  display: inline;
  padding: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: var(--space-md) 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-sm);
}

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

.footer-legal {
  display: flex;
  gap: var(--space-md);
}

.footer-legal a {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.35);
}

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

/* ============================================================
   ANIMATIONS
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

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

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 575px) {
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { width: 100%; justify-content: center; }
  .hero-stats { flex-direction: column; gap: var(--space-sm); }
  .cta-buttons { flex-direction: column; align-items: center; }
  .cta-buttons .btn { width: 100%; justify-content: center; max-width: 340px; }
}

/* ============================================================
   PRINT
   ============================================================ */
@media print {
  .site-header,
  .nav-mobile,
  .cta-section { display: none; }
  body { color: #000; }
}
