/* ============================================================
   JF Objektservice — style.css
   ============================================================ */

/* Self-hosted fonts – kein Google-Server-Kontakt (DSGVO) */
@font-face {
  font-family: 'Syne';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/syne-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Syne';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../fonts/syne-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/inter-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/inter-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/inter-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/inter-700.woff2') format('woff2');
}

/* --- Custom Properties --- */
:root {
  --blue:        #1B55A0;
  --blue-dark:   #0F3A72;
  --blue-light:  #2B6CB8;
  --green:       #4A9124;
  --green-dark:  #3A7A1A;
  --green-light: #5DB030;
  --dark:        #0E1B2D;
  --dark2:       #1A2B42;
  --text:        #1A2332;
  --text-muted:  #5A6A7E;
  --gray-light:  #F7F9FC;
  --gray-border: #E2E8F0;
  --white:       #FFFFFF;

  --radius:    8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow:    0 4px 20px rgba(0,0,0,0.08);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.12);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.16);

  --transition:      200ms ease;
  --transition-slow: 400ms cubic-bezier(0.16,1,0.3,1);
  --max-w:           1280px;
  --nav-h:           80px;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* --- Utilities --- */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section     { padding: 88px 0; }
.section-sm  { padding: 56px 0; }
.text-center { text-align: center; }
.section-header { max-width: 640px; margin: 0 auto 64px; text-align: center; }
.section-header h2 { margin-bottom: 16px; }
.eyebrow {
  display: inline-block;
  font-size: 11px; font-weight: 700;
  letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--green); margin-bottom: 14px;
}

/* Typography */
h1, h2, h3, h4 { line-height: 1.5; font-weight: 700; color: var(--text); font-family: 'Syne', sans-serif; overflow: visible; padding-bottom: 0.1em; }
h1 { font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 700; }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 700; }
.eyebrow { font-family: 'Syne', sans-serif; }
p  { line-height: 1.75; color: var(--text-muted); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 6px;
  font-weight: 600; font-size: 15px;
  transition: all var(--transition);
  cursor: pointer; line-height: 1.4;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(27,85,160,0.35);
}
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(74,145,36,0.35);
}
.btn-outline-white {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.5);
}
.btn-outline-white:hover { border-color: #fff; background: rgba(255,255,255,0.1); }
.btn-outline {
  background: transparent;
  color: var(--blue);
  border: 2px solid var(--blue);
}
.btn-outline:hover { background: var(--blue); color: #fff; }
.btn-lg { padding: 18px 36px; font-size: 16px; }
.btn-sm { padding: 10px 20px; font-size: 13px; }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  height: var(--nav-h);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.header.scrolled {
  border-color: var(--gray-border);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}
.header-inner {
  display: flex; align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
}

/* Logo */
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo img { height: 50px; width: auto; }
.logo-img { width: 340px; height: 90px; object-fit: contain; object-position: left center; display: block; }
.logo-location {
  display: flex; align-items: center; gap: 4px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.5px;
  color: var(--green); white-space: nowrap;
  margin-left: 4px;
}
.logo-text-wrap { display: flex; flex-direction: column; }
.logo-name {
  font-size: 19px; font-weight: 900; letter-spacing: -0.5px; line-height: 1;
}
.logo-name .jf   { color: var(--text); }
.logo-name .obj  { color: var(--blue); }
.logo-name .svc  { color: var(--green); }
.logo-tagline {
  font-size: 9.5px; color: var(--text-muted);
  letter-spacing: 1px; text-transform: uppercase; margin-top: 3px;
}

/* Main nav */
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  padding: 8px 14px; border-radius: 6px;
  font-size: 14px; font-weight: 500; color: var(--text);
  transition: all var(--transition);
}
.main-nav a:hover  { color: var(--blue); background: rgba(27,85,160,0.06); }
.main-nav a.active { color: var(--blue); background: rgba(27,85,160,0.08); }

/* Header right */
.header-right { display: flex; align-items: center; gap: 20px; }
.header-phone {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600; color: var(--text);
}
.header-phone svg { color: var(--green); width: 16px; height: 16px; }
.header-phone a { transition: color var(--transition); }
.header-phone a:hover { color: var(--blue); }

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  padding: 8px; border-radius: var(--radius);
  cursor: pointer; transition: background var(--transition);
}
.hamburger:hover { background: var(--gray-light); }
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: all var(--transition);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile nav drawer */
.mobile-nav {
  display: none; position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  background: var(--white);
  padding: 20px 24px 28px;
  border-top: 1px solid var(--gray-border);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  z-index: 199;
  flex-direction: column;
}
.mobile-nav.open { display: flex; }
.mobile-nav > a {
  display: flex; align-items: center;
  padding: 14px 0; font-size: 16px; font-weight: 500;
  border-bottom: 1px solid var(--gray-border);
  color: var(--text);
}
.mobile-nav > a:last-of-type { border-bottom: none; }
.mobile-nav > a.active { color: var(--blue); }
.mobile-nav-cta { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.mobile-nav-cta .btn { justify-content: center; }
.mobile-cta-label {
  font-size: 11px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--text-muted);
  padding-bottom: 4px;
}
.mobile-call-btn {
  background: var(--green); color: #fff;
  font-size: 17px; font-weight: 700;
  padding: 16px 20px; border-radius: 10px;
  letter-spacing: 0.3px;
  border-bottom: 3px solid var(--green-dark);
}
.mobile-call-btn:hover { background: var(--green-dark); }
.mobile-call-btn svg { width: 20px; height: 20px; }

/* ============================================================
   HERO — Startseite
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  margin-top: var(--nav-h);
  overflow: hidden;
  background: linear-gradient(140deg, #061424 0%, #0E1B2D 35%, #142848 65%, #0A2040 100%);
}

/* Animated background elements */
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 15% 50%, rgba(27,85,160,0.25) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 85% 20%, rgba(74,145,36,0.12) 0%, transparent 55%),
    radial-gradient(ellipse 60% 60% at 70% 80%, rgba(27,85,160,0.1) 0%, transparent 50%);
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 64px 64px;
}

/* Hero image side */
.hero-image-side {
  position: absolute; right: 0; top: 0; bottom: 0;
  width: 48%;
  overflow: hidden;
}
.hero-image-side::before {
  content: '';
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to right, #0E1B2D 0%, rgba(14,27,45,0.4) 60%, transparent 100%);
}
.hero-image-side::after {
  content: '';
  position: absolute; inset: 0; z-index: 1;
  background: rgba(14,27,45,0.45);
}
.hero-img-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(160deg, #1B3560 0%, #0A2040 60%, #071525 100%);
  display: flex; align-items: center; justify-content: center;
}
/* When user adds real image: */
.hero-image-side img {
  width: 100%; height: 100%; object-fit: cover;
}

/* Hero content */
.hero-content {
  position: relative; z-index: 2;
  max-width: 700px;
  padding: 60px 0;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(74,145,36,0.15);
  border: 1px solid rgba(74,145,36,0.35);
  color: #7DD55C; padding: 7px 18px; border-radius: 20px;
  font-size: 13px; font-weight: 500; margin-bottom: 28px;
}
.badge-dot {
  width: 7px; height: 7px; background: var(--green);
  border-radius: 50%; flex-shrink: 0;
  animation: pulse-dot 2s ease infinite;
}
.hero h1 { color: #fff; margin-bottom: 22px; letter-spacing: -1px; }
.hero h1 em { color: var(--green-light); font-style: normal; }
.hero-subtitle {
  font-size: clamp(16px, 2vw, 19px);
  color: rgba(255,255,255,0.72);
  max-width: 520px; margin-bottom: 40px; line-height: 1.7;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 60px; }

/* Hero stats */
.hero-stats-row {
  display: flex; gap: 40px; flex-wrap: wrap;
  padding-top: 36px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.hero-stat {}
.hero-stat-number {
  font-size: 34px; font-weight: 800; color: #fff; line-height: 1;
}
.hero-stat-number .accent { color: #7DD55C; }
.hero-stat-label {
  font-size: 13px; color: rgba(255,255,255,0.55);
  margin-top: 5px; font-weight: 500;
}

/* Scroll indicator */
.scroll-hint {
  position: absolute; bottom: 32px; left: 50%;
  transform: translateX(-50%); z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.4); font-size: 11px; letter-spacing: 1px;
  text-transform: uppercase;
}
.scroll-arrow-anim {
  width: 20px; height: 20px;
  border-right: 2px solid rgba(255,255,255,0.35);
  border-bottom: 2px solid rgba(255,255,255,0.35);
  transform: rotate(45deg);
  animation: bounce-down 1.6s ease infinite;
}

/* ============================================================
   SWOOSH DIVIDER — signature element
   ============================================================ */
.swoosh { line-height: 0; display: block; }
.swoosh svg { display: block; width: 100%; height: auto; }

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
  background: linear-gradient(90deg, var(--blue-dark) 0%, var(--blue) 50%, var(--blue-dark) 100%);
  padding: 44px 0;
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat-item {
  text-align: center; padding: 12px 20px;
  border-right: 1px solid rgba(255,255,255,0.15);
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800; color: #fff; line-height: 1;
}
.stat-number .plus { color: #7DD55C; }
.stat-label {
  font-size: 13px; font-weight: 500;
  color: rgba(255,255,255,0.65); margin-top: 6px;
}

/* ============================================================
   SERVICES SECTION
   ============================================================ */
.services-section { background: var(--gray-light); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  border: 1px solid var(--gray-border);
  transition: all var(--transition-slow);
  position: relative;
  cursor: default;
}
.service-card::after {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--green));
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--transition-slow);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.service-card:hover::after { transform: scaleX(1); }
.service-icon-wrap {
  width: 60px; height: 60px;
  background: linear-gradient(135deg, rgba(27,85,160,0.1), rgba(74,145,36,0.08));
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
}
.service-icon-wrap svg { width: 30px; height: 30px; color: var(--blue); }
.service-card h3 { margin-bottom: 10px; font-size: 18px; }
.service-card > p { font-size: 14px; margin-bottom: 20px; }
.service-list { display: flex; flex-direction: column; gap: 8px; }
.service-list li {
  font-size: 13px; color: var(--text-muted);
  display: flex; align-items: flex-start; gap: 9px;
}
.service-list li::before {
  content: '';
  width: 6px; height: 6px; background: var(--green);
  border-radius: 50%; flex-shrink: 0; margin-top: 5px;
}
.service-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 22px; color: var(--blue); font-size: 14px; font-weight: 600;
  transition: gap var(--transition);
}
.service-link svg { width: 16px; height: 16px; }
.service-card:hover .service-link { gap: 10px; }

.services-cta { text-align: center; margin-top: 48px; }

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-section { background: var(--white); }
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
.about-image-wrap { position: relative; }
.about-photo {
  width: 100%; aspect-ratio: 4/3;
  object-fit: cover; border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}
.about-placeholder {
  width: 100%; aspect-ratio: 4/3;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, #1B3560 0%, #2B6CB8 50%, #1B4F8E 100%);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg);
}
.about-placeholder svg { width: 80px; height: 80px; color: rgba(255,255,255,0.2); }
.about-badge-box {
  position: absolute; bottom: -28px; right: -28px;
  background: var(--green); color: #fff;
  padding: 24px 28px; border-radius: var(--radius-lg);
  text-align: center; box-shadow: var(--shadow-md);
  z-index: 1;
}
.about-badge-box .big {
  font-size: 42px; font-weight: 800; line-height: 1; display: block;
}
.about-badge-box .small {
  font-size: 12px; font-weight: 500; opacity: 0.9;
  margin-top: 4px; display: block;
}
.about-badge-box .sub { font-size: 11px; opacity: 0.75; }

.about-content { padding: 24px 0; }
.about-content > p { font-size: 16px; margin-bottom: 36px; }
.pillars-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 40px; }
.pillar {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 16px; background: var(--gray-light);
  border-radius: var(--radius); border: 1px solid var(--gray-border);
}
.pillar-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  background: var(--white); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm);
}
.pillar-icon svg { width: 20px; height: 20px; color: var(--blue); }
.pillar-text strong { display: block; font-size: 14px; font-weight: 700; margin-bottom: 3px; }
.pillar-text span { font-size: 12px; color: var(--text-muted); }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-section { background: var(--gray-light); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px; border: 1px solid var(--gray-border);
  transition: box-shadow var(--transition-slow), transform var(--transition-slow);
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.stars { display: flex; gap: 3px; margin-bottom: 16px; }
.stars svg { width: 16px; height: 16px; fill: #F59E0B; color: #F59E0B; }
.testimonial-text {
  font-size: 15px; line-height: 1.75; color: var(--text);
  font-style: italic; margin-bottom: 24px;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--blue), var(--green));
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: #fff; font-size: 15px;
}
.author-info strong { display: block; font-size: 14px; font-weight: 600; }
.author-info span { font-size: 12px; color: var(--text-muted); }
.google-badge {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 11px; color: var(--text-muted);
  margin-top: 4px;
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  background: linear-gradient(135deg, #0F3A72 0%, #1B55A0 50%, #0A2847 100%);
  padding: 88px 0; position: relative; overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 90% 50%, rgba(74,145,36,0.18) 0%, transparent 60%);
}
.cta-inner { position: relative; z-index: 1; text-align: center; }
.cta-inner h2 { color: #fff; margin-bottom: 16px; }
.cta-inner p { color: rgba(255,255,255,0.78); font-size: 18px; max-width: 520px; margin: 0 auto 40px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--dark); }
.footer-main { padding: 72px 0 56px; }
.footer-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1.2fr;
  gap: 48px;
}
.footer-brand p {
  font-size: 14px; color: rgba(255,255,255,0.5);
  margin-top: 18px; line-height: 1.7; max-width: 280px;
}
.footer-socials { display: flex; gap: 10px; margin-top: 24px; }
.social-icon {
  width: 38px; height: 38px; border-radius: 8px;
  background: rgba(255,255,255,0.07);
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
}
.social-icon:hover { background: var(--blue); transform: translateY(-2px); }
.social-icon svg { width: 18px; height: 18px; color: rgba(255,255,255,0.65); }
.social-icon:hover svg { color: #fff; }

.footer-col h4 {
  font-size: 11px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: #fff;
  margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-size: 14px; color: rgba(255,255,255,0.5);
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: rgba(255,255,255,0.9); }

.footer-contact-row {
  display: flex; align-items: flex-start; gap: 10px;
  margin-bottom: 12px; font-size: 14px;
}
.footer-contact-row svg { width: 15px; height: 15px; color: var(--green); flex-shrink: 0; margin-top: 2px; }
.footer-contact-row a, .footer-contact-row span { color: rgba(255,255,255,0.5); transition: color var(--transition); }
.footer-contact-row a:hover { color: rgba(255,255,255,0.9); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 24px 0;
}
.footer-bottom-inner {
  display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.35); }
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a { font-size: 13px; color: rgba(255,255,255,0.35); transition: color var(--transition); }
.footer-bottom-links a:hover { color: rgba(255,255,255,0.7); }

/* Logo in footer */
.footer-logo .logo-name .jf  { color: rgba(255,255,255,0.9); }
.footer-logo .logo-name .obj { color: rgba(91,180,255,0.9); }
.footer-logo .logo-name .svc { color: rgba(125,213,92,0.9); }
.footer-logo .logo-tagline { color: rgba(255,255,255,0.3); }

/* ============================================================
   WHATSAPP FLOATING BUTTON
   ============================================================ */
.wa-btn {
  position: fixed; bottom: 28px; right: 28px; z-index: 150;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  transition: all var(--transition);
  animation: slide-up-in 0.5s cubic-bezier(0.16,1,0.3,1) 1s both;
}
.wa-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 32px rgba(37,211,102,0.55);
}
.wa-btn svg { width: 30px; height: 30px; fill: #fff; color: #fff; }
.wa-tooltip {
  position: absolute; right: 68px; top: 50%; transform: translateY(-50%);
  background: var(--dark); color: #fff;
  padding: 8px 14px; border-radius: 6px;
  font-size: 13px; font-weight: 500; white-space: nowrap;
  opacity: 0; pointer-events: none;
  transition: opacity var(--transition);
}
.wa-tooltip::after {
  content: '';
  position: absolute; right: -6px; top: 50%; transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: var(--dark); border-right: none;
}
.wa-btn:hover .wa-tooltip { opacity: 1; }

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  background: linear-gradient(140deg, #061424 0%, #0E1B2D 40%, #142848 100%);
  padding: 96px 0 72px;
  margin-top: var(--nav-h);
  position: relative; overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 64px 64px;
}
.page-hero-inner { position: relative; z-index: 1; }
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: rgba(255,255,255,0.45); margin-bottom: 20px;
}
.breadcrumb a { transition: color var(--transition); }
.breadcrumb a:hover { color: rgba(255,255,255,0.8); }
.breadcrumb .sep { color: rgba(255,255,255,0.2); }
.breadcrumb .current { color: var(--green-light); }
.page-hero h1 { color: #fff; margin-bottom: 16px; }
.page-hero p { color: rgba(255,255,255,0.68); font-size: 18px; max-width: 560px; }

/* ============================================================
   LEISTUNGEN PAGE
   ============================================================ */
.leistungen-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.leistung-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 40px 36px;
  border: 1px solid var(--gray-border);
  transition: all var(--transition-slow);
}
.leistung-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: transparent; }
.leistung-header { display: flex; align-items: center; gap: 18px; margin-bottom: 20px; }
.leistung-icon {
  width: 64px; height: 64px; flex-shrink: 0;
  background: linear-gradient(135deg, rgba(27,85,160,0.1), rgba(74,145,36,0.08));
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
}
.leistung-icon svg { width: 32px; height: 32px; color: var(--blue); }
.leistung-header h3 { font-size: 20px; }
.leistung-card > p { font-size: 15px; margin-bottom: 24px; }
.leistung-list { display: flex; flex-direction: column; gap: 10px; }
.leistung-list li {
  font-size: 14px; color: var(--text-muted);
  display: flex; align-items: flex-start; gap: 10px;
}
.leistung-list li svg { width: 16px; height: 16px; color: var(--green); flex-shrink: 0; margin-top: 1px; }

/* ============================================================
   ÜBER UNS PAGE
   ============================================================ */
.team-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 40px; text-align: center;
  border: 1px solid var(--gray-border);
  box-shadow: var(--shadow-sm);
}
.team-avatar {
  width: 120px; height: 120px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--green));
  display: flex; align-items: center; justify-content: center;
  font-size: 40px; font-weight: 800; color: #fff;
  margin: 0 auto 20px;
}
.team-card h3 { margin-bottom: 4px; }
.team-role { color: var(--blue); font-weight: 600; font-size: 14px; margin-bottom: 16px; }
.team-card p { font-size: 14px; }

.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.value-card {
  text-align: center; padding: 36px 24px;
  background: var(--white); border-radius: var(--radius-lg);
  border: 1px solid var(--gray-border);
  transition: all var(--transition-slow);
}
.value-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.value-icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}
.value-icon svg { width: 30px; height: 30px; color: #fff; }
.value-card h3 { margin-bottom: 10px; }
.value-card p { font-size: 14px; }

/* ============================================================
   REFERENZEN PAGE
   ============================================================ */
.before-after-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.ba-card {
  border-radius: var(--radius-xl); overflow: hidden;
  border: 1px solid var(--gray-border);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-slow);
}
.ba-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.ba-images { display: grid; grid-template-columns: 1fr 1fr; }
.ba-img-wrap { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.ba-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.ba-card:hover .ba-img-wrap img { transform: scale(1.04); }
.ba-img-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.7);
  letter-spacing: 1px; text-transform: uppercase;
}
.ba-img-placeholder.before { background: linear-gradient(135deg, #3a3a3a, #5a5a5a); }
.ba-img-placeholder.after  { background: linear-gradient(135deg, var(--blue-dark), var(--blue)); }
.ba-label {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 8px 12px; font-size: 11px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase; color: #fff;
  background: rgba(0,0,0,0.5);
}
.ba-label.after-label { background: rgba(27,85,160,0.7); }
.ba-info { padding: 20px 24px; }
.ba-info h3 { margin-bottom: 6px; font-size: 16px; }
.ba-info p { font-size: 13px; }
.ba-divider { width: 2px; background: var(--gray-border); }

/* Quick contact bar (Kontakt page) */
.quick-contact-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
@media (max-width: 768px) { .quick-contact-grid { grid-template-columns: 1fr; gap: 12px; } }

/* Full-width combined before/after photo cards */
.ref-project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.ref-project-card {
  border-radius: var(--radius-xl); overflow: hidden;
  border: 1px solid var(--gray-border);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-slow);
}
.ref-project-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-5px); }
.ref-img-wrap { aspect-ratio: 16/9; overflow: hidden; }
.ref-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; display: block; filter: contrast(1.12) saturate(1.1); image-rendering: -webkit-optimize-contrast; }
.ref-project-card:hover .ref-img-wrap img { transform: scale(1.04); }

/* ============================================================
   KONTAKT PAGE
   ============================================================ */
.contact-layout { display: grid; grid-template-columns: 1fr 1.5fr; gap: 64px; align-items: start; }
.contact-info-box { padding: 8px 0; }
.contact-info-box h2 { margin-bottom: 12px; }
.contact-info-box > p { margin-bottom: 36px; }
.contact-detail {
  display: flex; align-items: flex-start; gap: 16px;
  margin-bottom: 24px;
}
.c-icon {
  width: 48px; height: 48px; border-radius: 12px; flex-shrink: 0;
  background: rgba(27,85,160,0.08);
  display: flex; align-items: center; justify-content: center;
}
.c-icon svg { width: 22px; height: 22px; color: var(--blue); }
.c-text strong { display: block; font-size: 13px; font-weight: 600; color: var(--text-muted); margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.5px; }
.c-text a, .c-text span { font-size: 16px; color: var(--text); font-weight: 500; transition: color var(--transition); }
.c-text a:hover { color: var(--blue); }

.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 44px; box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-border);
}
.contact-form-wrap h3 { margin-bottom: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 7px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 13px 16px;
  border: 1.5px solid var(--gray-border);
  border-radius: 7px; font-size: 15px; color: var(--text);
  background: var(--white); transition: border-color var(--transition);
  -webkit-appearance: none; appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { outline: none; border-color: var(--blue); }
.form-group textarea { resize: vertical; min-height: 130px; }
.form-hint { font-size: 12px; color: var(--text-muted); margin-top: 20px; }
.form-success {
  display: none; padding: 16px; background: rgba(74,145,36,0.1);
  border: 1px solid rgba(74,145,36,0.3); border-radius: 8px;
  color: var(--green-dark); font-weight: 500; text-align: center;
  margin-top: 16px;
}
.form-success.show { display: block; }

/* ============================================================
   ANIMATIONS
   ============================================================ */
.fade-up {
  opacity: 0; transform: translateY(32px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-up.in { opacity: 1; transform: translateY(0); }
.fade-in {
  opacity: 0;
  transition: opacity 0.65s ease;
}
.fade-in.in { opacity: 1; }
.scale-in {
  opacity: 0; transform: scale(0.95);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.scale-in.in { opacity: 1; transform: scale(1); }

/* Stagger delays */
.d1 { transition-delay: 0.1s; }
.d2 { transition-delay: 0.2s; }
.d3 { transition-delay: 0.3s; }
.d4 { transition-delay: 0.4s; }
.d5 { transition-delay: 0.5s; }
.d6 { transition-delay: 0.6s; }

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.8); }
}
@keyframes bounce-down {
  0%, 100% { transform: rotate(45deg) translate(0,0); opacity: 1; }
  50%       { transform: rotate(45deg) translate(4px,4px); opacity: 0.6; }
}
@keyframes slide-up-in {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .fade-up, .fade-in, .scale-in { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .services-grid  { grid-template-columns: repeat(2, 1fr); }
  .footer-grid    { grid-template-columns: 1fr 1fr; gap: 36px; }
  .about-grid     { gap: 48px; }
  .values-grid    { grid-template-columns: repeat(2, 1fr); }
  .hero-image-side { width: 42%; }
}

/* ============================================================
   TABLET  ≤ 1024px
   ============================================================ */
@media (max-width: 1024px) {
  .services-grid   { grid-template-columns: repeat(2, 1fr); }
  .footer-grid     { grid-template-columns: 1fr 1fr; gap: 36px; }
  .about-grid      { gap: 48px; }
  .values-grid     { grid-template-columns: repeat(2, 1fr); }
  .hero-image-side { width: 42%; }
  .ref-project-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   MOBILE  ≤ 768px
   ============================================================ */
@media (max-width: 768px) {
  :root { --nav-h: 80px; }

  /* Base */
  .container  { padding: 0 18px; }
  .section    { padding: 52px 0; }
  .section-sm { padding: 40px 0; }
  .section-header { margin-bottom: 36px; }
  .section-header p { font-size: 15px; }

  /* Logo */
  .logo-img      { height: 68px; }
  .logo-location { display: none; }

  /* Nav – show hamburger, hide desktop nav */
  .main-nav             { display: none; }
  .header-phone         { display: none; }
  .header-right > .btn  { display: none; }
  .hamburger            { display: flex; }

  /* Hero */
  .hero                 { min-height: auto; padding: 48px 0 56px; }
  .hero-image-side      { display: none; }
  .hero-content         { max-width: 100%; padding: 0; }
  .hero-badge           { font-size: 11px; padding: 6px 14px; margin-bottom: 20px; }
  .hero h1              { font-size: clamp(1.8rem, 7vw, 2.5rem); margin-bottom: 14px; letter-spacing: -0.5px; }
  .hero-subtitle        { font-size: 15px; margin-bottom: 28px; }
  .hero-actions         { flex-direction: column; gap: 10px; margin-bottom: 40px; }
  .hero-actions .btn    { justify-content: center; width: 100%; }
  .hero-stats-row       { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding-top: 28px; }
  .hero-stat-number     { font-size: 1.8rem; }
  .scroll-hint          { display: none; }

  /* Page hero (inner pages) */
  .page-hero    { padding: calc(var(--nav-h) + 32px) 0 36px; }
  .page-hero h1 { font-size: clamp(1.6rem, 6vw, 2.2rem); margin-bottom: 10px; }
  .page-hero p  { font-size: 15px; }
  .breadcrumb   { font-size: 12px; margin-bottom: 10px; }

  /* Stats bar */
  .stats-bar  { padding: 32px 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item  { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.12); padding: 16px 12px; }
  .stat-item:nth-child(odd)   { border-right: 1px solid rgba(255,255,255,0.12); }
  .stat-item:nth-child(3),
  .stat-item:nth-child(4)     { border-bottom: none; }
  .stat-number  { font-size: 1.8rem; }
  .stat-label   { font-size: 12px; }

  /* Service cards */
  .services-grid  { grid-template-columns: 1fr; gap: 14px; }
  .service-card   { padding: 24px 20px; }
  .service-card h3 { font-size: 16px; }

  /* About */
  .about-grid       { grid-template-columns: 1fr; gap: 36px; }
  .about-badge-box  { bottom: -16px; right: 12px; padding: 16px 18px; }
  .about-badge-box .big { font-size: 28px; }

  /* Testimonials */
  .testimonials-grid  { grid-template-columns: 1fr; gap: 16px; }
  .testimonial-card   { padding: 24px 20px; }

  /* Team */
  .team-card { padding: 28px 20px; }
  .team-actions { flex-direction: column; gap: 10px; }
  .team-actions .btn { justify-content: center; }

  /* Values */
  .values-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }

  /* Leistungen */
  .leistungen-grid  { grid-template-columns: 1fr; gap: 16px; }
  .leistung-card    { padding: 24px 20px; }

  /* Referenzen */
  .before-after-grid  { grid-template-columns: 1fr; }
  .ref-project-grid   { grid-template-columns: 1fr; gap: 16px; }

  /* Kontakt */
  .contact-layout   { grid-template-columns: 1fr; gap: 36px; }
  .contact-form-wrap { padding: 28px 20px; }
  .form-row         { grid-template-columns: 1fr; }

  /* CTA Banner */
  .cta-banner { padding: 52px 0; }
  .cta-banner h2 { font-size: clamp(1.4rem, 5vw, 1.9rem); }
  .cta-banner p  { font-size: 15px; }
  .cta-actions   { flex-direction: column; align-items: center; gap: 10px; }
  .cta-actions .btn { width: 100%; max-width: 300px; justify-content: center; }

  /* Footer */
  .footer-main    { padding: 48px 0 32px; }
  .footer-grid    { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom-inner { flex-direction: column; text-align: center; gap: 8px; }
  .footer-bottom-links { justify-content: center; }

  /* Buttons */
  .btn-lg { padding: 14px 22px; font-size: 15px; }

  /* WhatsApp */
  .wa-btn       { width: 52px; height: 52px; bottom: 18px; right: 14px; }
  .wa-btn svg   { width: 26px; height: 26px; }
  .wa-tooltip   { display: none; }

  /* Misc */
  .pillars-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   SMALL PHONES  ≤ 480px
   ============================================================ */
@media (max-width: 480px) {
  :root { --nav-h: 72px; }

  .container  { padding: 0 14px; }
  .section    { padding: 40px 0; }
  .logo-img   { height: 58px; }

  .hero h1        { font-size: clamp(1.5rem, 8vw, 2rem); }
  .hero-subtitle  { font-size: 14px; }
  .hero-stat-number { font-size: 1.5rem; }
  .hero-stat-label  { font-size: 11px; }

  .values-grid        { grid-template-columns: 1fr; }
  .contact-form-wrap  { padding: 20px 16px; }
  .contact-form-wrap h3 { font-size: 1.2rem; }
  .section-header h2  { font-size: 1.5rem; }
  .page-hero h1       { font-size: 1.5rem; }
  .cta-banner h2      { font-size: 1.3rem; }
  .stat-number        { font-size: 1.5rem; }
  .footer-col h4      { font-size: 14px; }
  .footer-col li a    { font-size: 13px; }
  .testimonial-card   { padding: 20px 16px; }
  .service-card       { padding: 20px 16px; }
  .leistung-card      { padding: 20px 16px; }
  .btn                { font-size: 14px; padding: 12px 20px; }
  .btn-lg             { font-size: 14px; padding: 13px 20px; }
}
