/* ============================================================
   NAIMAN Transporte – Design v3
   Palette: Navy / Signal-Blue / Steel / Warm-White / Orange-CTA
   Type: Inter (system-stack), display 900w, tight tracking
   Signature: diagonal speed-stripe in hero + orange accent
   ============================================================ */


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

:root {
  --navy:        #0B1F4B;
  --blue:        #1A56DB;
  --blue-hover:  #1447C0;
  --steel:       #64748B;
  --steel-light: #94A3B8;
  --bg:          #F7F8FA;
  --bg-card:     #FFFFFF;
  --border:      #E2E8F0;
  --orange:      #F97316;
  --orange-dark: #EA6B08;
  --text:        #0F172A;
  --white:       #FFFFFF;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { display: block; max-width: 100%; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

/* ── ICON UTIL ── */
.icon { width: 14px; height: 14px; fill: currentColor; flex-shrink: 0; vertical-align: middle; }

/* ============================================================
   TOP BAR
   ============================================================ */
.top-bar {
  background: var(--navy);
  color: rgba(255,255,255,0.85);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 8px 0;
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.top-left, .top-right {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 7px;
  color: rgba(255,255,255,0.85);
  transition: color 0.15s;
}
.contact-item:hover { color: #fff; }
.contact-item .icon { width: 12px; height: 12px; opacity: 0.7; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  background: #fff;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 3px rgba(11,31,75,0.06), 0 4px 12px rgba(11,31,75,0.04);
  position: sticky;
  top: 0;
  z-index: 900;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.logo img {
  height: 64px;
  width: auto;
  display: block;
  background: transparent;
}

/* Desktop menu */
.nav-menu {
  display: flex;
  gap: 4px;
  align-items: center;
}
.nav-menu > li { position: relative; }
.nav-menu > li > a {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--text);
  font-size: 14.5px;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}
.nav-menu > li > a:hover { background: var(--bg); color: var(--blue); }
.nav-menu > li > a.active { color: var(--blue); }
.nav-menu > li > a.active::after {
  content: '';
  position: absolute;
  bottom: -17px;
  left: 12px;
  right: 12px;
  height: 2px;
  background: var(--blue);
  border-radius: 1px;
}
/* dropdown chevron */
.has-drop > a .chev {
  width: 14px; height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.2s;
}
.has-drop:hover > a .chev { transform: rotate(180deg); }

/* Dropdown */
.dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 16px);
  left: -8px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(11,31,75,0.12), 0 2px 6px rgba(11,31,75,0.06);
  min-width: 230px;
  padding: 8px;
  z-index: 100;
}
.dropdown::before {
  content: '';
  position: absolute;
  top: -20px;
  left: 0; right: 0;
  height: 20px;
}
.has-drop:hover .dropdown,
.has-drop:focus-within .dropdown { display: block; }
.dropdown li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  border-radius: 8px;
  transition: background 0.12s, color 0.12s;
}
.dropdown li a:hover { background: #EEF5FF; color: var(--blue); }
.dropdown li a .d-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: #EEF5FF;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.dropdown li a .d-icon svg { width: 16px; height: 16px; fill: var(--blue); }

/* Nav CTA */
.nav-call {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--orange);
  color: #fff;
  padding: 10px 20px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  transition: background 0.15s, transform 0.1s;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(249,115,22,0.35);
  letter-spacing: 0.01em;
}
/* Desktop: show number, hide "Jetzt anrufen" */
.nav-call-desktop { display: inline; }
.nav-call-mobile  { display: none; }
.nav-call:hover { background: var(--orange-dark); transform: translateY(-1px); }
.nav-call .icon { width: 14px; height: 14px; fill: #fff; }

/* Hamburger (mobile) */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: 8px;
  transition: background 0.15s;
}
.nav-toggle:hover { background: var(--bg); }
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.nav-mobile {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(11,31,75,0.45);
  z-index: 1200;
  backdrop-filter: blur(4px);
}
.nav-mobile.open { display: block; }
.nav-drawer {
  position: absolute;
  top: 0; right: 0;
  width: min(320px, 88vw);
  height: 100%;
  background: #fff;
  padding: 0;
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 32px rgba(11,31,75,0.15);
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
}
.nav-mobile.open .nav-drawer { transform: translateX(0); }
.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  gap: 12px;
  min-height: 64px;
}
.drawer-head img {
  height: 32px;
  flex-shrink: 1;
  min-width: 0;
}
.drawer-close {
  background: var(--bg);
  border: none;
  width: 38px; height: 38px;
  border-radius: 10px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; color: var(--steel);
  transition: background 0.15s;
  flex-shrink: 0;
}
.drawer-close:hover { background: var(--border); }
.drawer-body { flex: 1; overflow-y: auto; padding: 16px 12px; }
.drawer-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 12px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  border-radius: 10px;
  transition: background 0.12s;
}
.drawer-nav a:hover { background: var(--bg); color: var(--blue); }
.drawer-nav .section-title {
  font-size: 11px;
  font-weight: 700;
  color: var(--steel-light);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 16px 12px 6px;
}
.drawer-footer {
  padding: 16px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.drawer-footer .btn-primary { justify-content: center; width: 100%; }
.drawer-footer .contact-small {
  text-align: center;
  font-size: 13px;
  color: var(--steel);
}
.drawer-footer .contact-small a { color: var(--blue); font-weight: 600; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background: url('hero_composed.jpg') right center / cover no-repeat;
  background-image: -webkit-image-set(url('hero_composed.webp') 1x);
  background-image: image-set(url('hero_composed.webp') type('image/webp'), url('hero_composed.jpg') type('image/jpeg'));
  position: relative;
  overflow: hidden;
  min-height: 580px;
  display: flex;
  align-items: center;
}

/* Text fade – tighter so photo breathes */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right,
    rgba(255,255,255,1.0)  0%,
    rgba(255,255,255,0.96) 22%,
    rgba(255,255,255,0.7)  40%,
    rgba(255,255,255,0.0)  55%);
  pointer-events: none;
  z-index: 1;
}
.hero .container { position: relative; z-index: 2; padding-top: 80px; padding-bottom: 80px; }
.hero-text { max-width: 520px; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #EEF5FF;
  color: var(--blue);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 20px;
  margin-bottom: 20px;
  border: 1px solid rgba(26,86,219,0.18);
}
.hero-eyebrow .dot {
  width: 6px; height: 6px;
  background: var(--orange);
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}
.hero-text h1 {
  font-size: clamp(36px, 5.5vw, 62px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--navy);
  margin-bottom: 22px;
}
.hero-text h1 em {
  font-style: normal;
  color: var(--blue);
  position: relative;
}
.hero-text .subtext {
  font-size: 17px;
  line-height: 1.7;
  color: var(--steel);
  margin-bottom: 36px;
  max-width: 440px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 40px;
}
/* Trust badges */
.hero-trust {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
/* Hero-below block: only visible on mobile */
#hero-below-mobile { display: none; }
.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--steel);
}
.trust-item svg { width: 14px; height: 14px; fill: var(--orange); flex-shrink: 0; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--orange);
  color: #fff;
  padding: 14px 26px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  transition: background 0.15s, transform 0.1s, box-shadow 0.15s;
  box-shadow: 0 2px 10px rgba(249,115,22,0.3);
  white-space: nowrap;
}
.btn-primary:hover { background: var(--orange-dark); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(249,115,22,0.4); }
.btn-primary .icon { width: 15px; height: 15px; fill: #fff; }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--navy);
  border: 2px solid var(--border);
  padding: 12px 24px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  transition: all 0.15s;
  white-space: nowrap;
}
.btn-secondary:hover { border-color: var(--blue); color: var(--blue); background: #EEF5FF; }
.btn-secondary .icon { width: 15px; height: 15px; fill: currentColor; }

.btn-blue {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue);
  color: #fff;
  padding: 13px 24px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  transition: background 0.15s, transform 0.1s;
  white-space: nowrap;
}
.btn-blue:hover { background: var(--blue-hover); transform: translateY(-1px); }
.btn-blue .icon { width: 15px; height: 15px; fill: #fff; }

.btn-outline-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.6);
  padding: 11px 22px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  transition: all 0.15s;
  white-space: nowrap;
}
.btn-outline-white:hover { background: rgba(255,255,255,0.15); border-color: #fff; }

/* ============================================================
   FEATURES STRIP
   ============================================================ */
.features {
  background: #fff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.features-card {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 28px 24px;
  border-right: 1px solid var(--border);
  transition: background 0.15s;
}
.feature:last-child { border-right: none; }
.feature:hover { background: #FAFBFF; }
.feature-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: #EEF5FF;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.feature-icon svg { width: 20px; height: 20px; fill: var(--blue); }
.feature-text h3 { font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.feature-text p { font-size: 13px; color: var(--steel); line-height: 1.5; }

/* ============================================================
   SERVICES
   ============================================================ */
.services { background: var(--bg); padding: 88px 0; }
.section-header { margin-bottom: 56px; }
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.section-tag::before {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: var(--orange);
  border-radius: 1px;
}
.section-header h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 900;
  letter-spacing: -0.025em;
  color: var(--navy);
  line-height: 1.1;
  margin-bottom: 16px;
}
.section-header p {
  font-size: 16px;
  color: var(--steel);
  line-height: 1.7;
  max-width: 600px;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--blue), var(--orange));
  opacity: 0;
  transition: opacity 0.2s;
}
.service-card:hover {
  box-shadow: 0 12px 40px rgba(11,31,75,0.1);
  transform: translateY(-3px);
  border-color: transparent;
}
.service-card:hover::before { opacity: 1; }
.service-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: #EEF5FF;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  transition: background 0.2s;
}
.service-card:hover .service-icon { background: var(--blue); }
.service-icon svg { width: 24px; height: 24px; fill: var(--blue); transition: fill 0.2s; }
.service-card:hover .service-icon svg { fill: #fff; }
.service-card h3 {
  font-size: 17px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.service-card p {
  font-size: 14px;
  color: var(--steel);
  line-height: 1.65;
  flex-grow: 1;
  margin-bottom: 20px;
}
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--blue);
  transition: gap 0.15s;
}
.service-link svg { width: 11px; height: 11px; fill: var(--blue); }
.service-card:hover .service-link { gap: 10px; }

/* ============================================================
   SEO / INFO SECTIONS
   ============================================================ */
.seo { background: #fff; padding: 88px 0; border-top: 1px solid var(--border); }
.seo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 40px;
}
.seo-box {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px 22px;
  border-left: 4px solid var(--blue);
  transition: border-left-color 0.15s, background 0.15s;
}
.seo-box:hover { border-left-color: var(--orange); background: #FAFBFF; }
.seo-box h3 { font-size: 15px; font-weight: 800; color: var(--navy); margin-bottom: 8px; }
.seo-box p { font-size: 14px; color: var(--steel); line-height: 1.65; }

/* ============================================================
   PAGE HERO (Unterseiten)
   ============================================================ */
.page-hero {
  position: relative;
  min-height: 340px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  /* Horizontal: text zone darker, right side of photo almost clear */
  background: linear-gradient(to right,
    rgba(11,31,75,0.82) 0%,
    rgba(11,31,75,0.60) 42%,
    rgba(11,31,75,0.1)  68%,
    rgba(11,31,75,0.0)  100%);
  z-index: 1;
}
/* Subtle bottom-to-top darkening so breadcrumbs stay readable */
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
    rgba(11,31,75,0.35) 0%,
    rgba(11,31,75,0.0)  40%);
  z-index: 1;
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 2; padding-top: 72px; padding-bottom: 72px; }
.page-hero-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.page-hero-breadcrumb a { color: rgba(255,255,255,0.65); transition: color 0.15s; }
.page-hero-breadcrumb a:hover { color: #fff; }
.page-hero-breadcrumb .sep { color: rgba(255,255,255,0.4); }
.page-hero h1 {
  font-size: clamp(32px, 5vw, 54px);
  font-weight: 900;
  color: #fff;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  max-width: 680px;
}
.page-hero .subtext {
  font-size: 17px;
  color: rgba(255,255,255,0.85);
  max-width: 520px;
  line-height: 1.65;
  margin-bottom: 30px;
}
.page-hero .hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ============================================================
   PAGE CONTENT
   ============================================================ */
.page-content { background: #fff; padding: 80px 0; }
.page-content h2 {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 900;
  color: var(--navy);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  margin-top: 52px;
}
.page-content h2:first-child { margin-top: 0; }
.page-content p { font-size: 16px; color: var(--steel); line-height: 1.75; margin-bottom: 16px; }
.page-content ul {
  margin: 0 0 24px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.page-content ul li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--steel);
  line-height: 1.65;
}
.page-content ul li::before {
  content: '';
  display: block;
  flex-shrink: 0;
  width: 20px; height: 20px;
  margin-top: 2px;
  background: var(--blue);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath fill='white' d='M438.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L160 338.7 393.4 105.4c12.5-12.5 32.8-12.5 45.3 0z'/%3E%3C/svg%3E");
  background-size: 10px;
  background-repeat: no-repeat;
  background-position: center;
}
.page-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; margin: 52px 0; }
.info-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 26px;
}
.info-card h3 { font-size: 17px; font-weight: 800; color: var(--navy); margin-bottom: 14px; }
.info-card p { font-size: 14px; color: var(--steel); line-height: 1.7; margin-bottom: 10px; }
.cta-band {
  background: var(--navy);
  border-radius: 18px;
  padding: 44px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  margin: 52px 0;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 240px; height: 240px;
  border-radius: 50%;
  background: rgba(255,255,255,0.03);
}
.cta-band h3 { font-size: 22px; font-weight: 900; color: #fff; margin-bottom: 6px; letter-spacing: -0.02em; }
.cta-band p { font-size: 15px; color: rgba(255,255,255,0.75); }
.cta-band .actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ============================================================
   LEGAL
   ============================================================ */
.legal-hero {
  background: var(--navy);
  padding: 64px 0;
}
.legal-hero h1 { font-size: clamp(28px,4vw,42px); font-weight:900; color:#fff; letter-spacing:-0.025em; margin-bottom:8px; }
.legal-hero p { font-size:15px; color:rgba(255,255,255,0.65); }
.legal-content { background:#fff; padding:72px 0; }
.legal-content h2 { font-size:20px; font-weight:800; color:var(--navy); margin:36px 0 12px; }
.legal-content h3 { font-size:16px; font-weight:700; color:var(--navy); margin:24px 0 8px; }
.legal-content p { font-size:15px; color:var(--steel); line-height:1.8; margin-bottom:14px; }
.legal-content ul { margin:0 0 16px 20px; list-style:disc; }
.legal-content ul li { font-size:15px; color:var(--steel); line-height:1.7; margin-bottom:4px; }
.legal-content a { color:var(--blue); text-decoration:underline; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact { background: var(--bg); padding: 88px 0; border-top: 1px solid var(--border); }
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.contact-info .section-tag { margin-bottom: 14px; }
.contact-info h2 {
  font-size: clamp(26px,3.5vw,38px);
  font-weight: 900;
  color: var(--navy);
  letter-spacing: -0.025em;
  margin-bottom: 16px;
  line-height: 1.15;
}
.contact-info > p { font-size: 16px; color: var(--steel); line-height: 1.7; margin-bottom: 28px; }
.contact-details { display: flex; flex-direction: column; gap: 12px; }
.contact-detail {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--steel);
}
.contact-detail-icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: #EEF5FF;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-detail-icon svg { width: 16px; height: 16px; fill: var(--blue); }
.contact-detail a { color: var(--blue); font-weight: 600; }
.contact-form {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 4px 20px rgba(11,31,75,0.05);
}
.contact-form .form-title { font-size: 18px; font-weight: 800; color: var(--navy); margin-bottom: 4px; }
.contact-form .form-sub { font-size: 13.5px; color: var(--steel); margin-bottom: 8px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form label {
  display: flex;
  flex-direction: column;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  gap: 6px;
}
.contact-form input,
.contact-form textarea {
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-size: 14px;
  font-family: inherit;
  background: var(--bg);
  color: var(--text);
  resize: vertical;
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(26,86,219,0.12);
}
.contact-form .check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12.5px;
  color: var(--steel);
}
.contact-form .check input { width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; accent-color: var(--blue); }
.contact-form .check a { color: var(--blue); }

.contact-form .clean-check {
  flex-direction: row;
  align-items: center;
  gap: 10px;
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 11px 12px;
  line-height: 1.45;
}
.contact-form .clean-check span { display: inline; }
.contact-form .clean-check input { margin-top: 0; }
.contact-form .file-upload {
  border: 1.5px dashed #c9d6e8;
  border-radius: 12px;
  padding: 13px 14px;
  background: #f8fafc;
  gap: 8px;
}
.contact-form .file-upload > span { font-size: 13px; font-weight: 800; color: var(--navy); }
.contact-form .file-upload input[type=file] {
  background: #fff;
  border-style: solid;
  padding: 9px 10px;
  cursor: pointer;
}
.contact-form .file-upload small { font-size: 12px; line-height: 1.45; color: var(--steel); font-weight: 500; }
.file-upload-list { margin-top: 2px; display: flex; flex-direction: column; gap: 4px; }
.file-upload-list div { font-size: 12px; line-height: 1.4; color: var(--text); background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 6px 8px; }
.file-upload-list span { color: var(--steel); }


/* ============================================================
   FOOTER
   ============================================================ */
footer { background: var(--navy); color: rgba(255,255,255,0.85); padding: 56px 0 36px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 32px;
}
.footer-brand { }
.footer-brand img { height: 38px; width: auto; margin-bottom: 16px; filter: brightness(0) invert(1); opacity: 0.9; }
.footer-brand p { font-size: 14px; color: rgba(255,255,255,0.6); line-height: 1.7; margin-bottom: 20px; max-width: 280px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s;
}
.footer-social a:hover { background: rgba(255,255,255,0.15); }
.footer-social a svg { width: 16px; height: 16px; fill: rgba(255,255,255,0.7); }
.footer-col h4 { font-size: 13px; font-weight: 700; color: rgba(255,255,255,0.9); letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { font-size: 14px; color: rgba(255,255,255,0.6); transition: color 0.15s; }
.footer-col ul li a:hover { color: rgba(255,255,255,0.95); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom .copy { font-size: 13px; color: rgba(255,255,255,0.45); }
.footer-bottom nav { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-bottom nav a { font-size: 13px; color: rgba(255,255,255,0.5); transition: color 0.15s; }
.footer-bottom nav a:hover { color: rgba(255,255,255,0.9); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .contact-inner { gap: 48px; }
  .page-two-col { gap: 32px; }
}

@media (max-width: 768px) {
  .container { padding: 0 18px; }

  /* Nav */
  .nav-menu, .nav-call { display: none; }
  .nav-toggle { display: flex; }
  .nav-inner { height: 60px; }

  /* Hero mobile – Bild oben OHNE Text-Overlay, alles darunter */
  .hero {
    background-image:
      image-set(url('hero_mobile.webp') type('image/webp'),
                url('hero_mobile.jpg') type('image/jpeg'));
    background-image:
      -webkit-image-set(url('hero_mobile.webp') 1x);
    /* 800×671 = ratio 1.192 → height = 100vw / 1.192 = 83.9vw */
    background-size: 100% auto;
    background-position: center top;
    background-color: #c2d2e8;
    height: 84vw;
    max-height: 500px;
    min-height: 220px;
    /* Kein flex – hero hat nur das Bild, kein Container-Inhalt */
    display: block;
    position: relative;
  }
  /* Kein Overlay – Bild komplett klar */
  .hero::before { display: none; }
  .hero::after  { display: none; }
  /* Container im Hero hat keinen Inhalt auf Mobile */
  .hero-photo-spacer { display: none; }
  .hero .container { display: none; }
  /* Gesamter Text-Bereich im hero-below Block */
  .hero-below {
    display: block;
    background: #fff;
    padding: 24px 18px 32px;
    border-top: 3px solid var(--orange);
  }
  .hero-below .hero-h1 {
    font-size: clamp(24px, 6.5vw, 32px);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.025em;
    color: var(--navy);
    margin-bottom: 12px;
  }
  .hero-below .hero-h1 em {
    font-style: normal;
    color: var(--blue);
  }
  .hero-below .subtext-mob {
    font-size: 14.5px;
    color: var(--steel);
    line-height: 1.65;
    margin-bottom: 20px;
  }
  .hero-below .hero-btns {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .hero-below .hero-btns .btn-primary,
  .hero-below .hero-btns .btn-secondary {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
    font-size: 15px;
  }
  /* Hide original hero content on mobile */
  .hero-eyebrow { display: none; }
  .hero-trust { display: none; }
  /* Nav – logo 50% bigger on mobile */
  .logo img { height: 54px; }
  .nav-inner { height: 70px; }
  /* Nav-call: mobile shows "Jetzt anrufen", not the number */
  .nav-call-desktop { display: none; }
  .nav-call-mobile  { display: inline; }

  /* Hero-below block visible on mobile */
  #hero-below-mobile { display: block; }

  /* Features – 1 per row on mobile */
  .features-card { grid-template-columns: 1fr; }
  .feature { border-right: none; border-bottom: 1px solid var(--border); padding: 16px 20px; }
  .feature:last-child { border-bottom: none; }

  /* Services */
  .services { padding: 60px 0; }
  .services-grid { grid-template-columns: 1fr; gap: 14px; }
  .service-card { padding: 24px 20px; }

  /* SEO */
  .seo { padding: 60px 0; }
  .seo-grid { grid-template-columns: 1fr; }

  /* Page hero */
  .page-hero { min-height: 280px; }
  .page-hero h1 { font-size: 28px; }
  .page-hero .subtext { font-size: 15px; }
  .page-two-col { grid-template-columns: 1fr; gap: 20px; }
  .cta-band { padding: 28px 22px; flex-direction: column; align-items: flex-start; }

  /* Contact */
  .contact { padding: 60px 0; }
  .contact-inner { grid-template-columns: 1fr; gap: 40px; }
  .contact-form { padding: 24px 20px; }
  .form-row { grid-template-columns: 1fr; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
}

@media (max-width: 480px) {
  .features-card { grid-template-columns: 1fr; }
  .feature { border-right: none; }
  .feature:nth-child(odd) { border-right: none; }
  .feature:last-child { border-bottom: none; }
  .hero-text h1 { font-size: 26px; }
  .top-bar .top-left { display: none; }
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

.file-remove { margin-left: 8px; border: 0; background: transparent; color: var(--blue); font-size: 12px; font-weight: 800; cursor: pointer; text-decoration: underline; }
.file-remove:hover { color: var(--navy); }


/* Upload-/Versandstatus im Anfrageformular */
.form-status {
  display: block;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  margin-top: 4px;
  line-height: 1.45;
}
.form-status.info {
  background: rgba(10,45,110,0.08);
  border: 1px solid rgba(10,45,110,0.18);
  color: var(--navy);
}
.form-status.success {
  background: rgba(34,197,94,0.15);
  border: 1px solid rgba(34,197,94,0.3);
  color: #16a34a;
}
.form-status.error {
  background: rgba(239,68,68,0.1);
  border: 1px solid rgba(239,68,68,0.25);
  color: #dc2626;
}
.form-status.warning {
  background: rgba(245,158,11,0.13);
  border: 1px solid rgba(245,158,11,0.3);
  color: #92400e;
}
.btn-blue:disabled {
  opacity: .72;
  cursor: wait;
  transform: none;
}
.file-remove {
  margin-left: 8px;
  border: 0;
  background: #eef2f7;
  color: var(--navy);
  border-radius: 6px;
  padding: 3px 7px;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}
