/* ==========================================================================
   LATIFI Haus- und Objektservice — Stylesheet
   ========================================================================== */

/* ---- Fonts (self-hosted, no external requests) ---- */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('../fonts/pjs-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('../fonts/pjs-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---- Design tokens ---- */
:root {
  --navy: #002B5B;
  --navy-dark: #001531;
  --navy-rgb: 0, 43, 91;
  --anthracite: #1F2933;
  --gray-50: #F5F7FA;
  --gray-100: #EDF1F5;
  --gray-200: #E2E8F0;
  --gray-400: #9AA5B1;
  --white: #FFFFFF;
  --bronze: #A88B6A;
  --bronze-light: #C7AF93;
  --bronze-rgb: 168, 139, 106;
  --sage: #5C7A63;
  --ice: #6E93B5;

  --font-display: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --container: 1220px;
  --radius-s: 10px;
  --radius-m: 16px;
  --radius-l: 24px;

  --shadow-s: 0 2px 10px rgba(var(--navy-rgb), 0.06);
  --shadow-m: 0 10px 30px rgba(var(--navy-rgb), 0.10);
  --shadow-l: 0 24px 60px rgba(var(--navy-rgb), 0.14);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-s: 0.25s;
  --dur-m: 0.5s;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
html { scroll-padding-top: 88px; }
html, body { max-width: 100%; overflow-x: hidden; }
body {
  font-family: var(--font-body);
  color: var(--anthracite);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; color: var(--navy); line-height: 1.15; letter-spacing: -0.01em; }

/* ---- Layout helpers ---- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
section { position: relative; }
.section-pad { padding: 120px 0; }
@media (max-width: 900px) { .section-pad { padding: 80px 0; } }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--bronze);
  display: inline-block;
}
.section-head { max-width: 680px; margin-bottom: 64px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 3.2vw, 2.7rem); margin-bottom: 18px; }
.section-head p { color: #4B5768; font-size: 1.08rem; max-width: 620px; }
.section-head.center p { margin-left: auto; margin-right: auto; }

.bg-gray { background: var(--gray-50); }
.bg-navy { background: var(--navy); color: rgba(255,255,255,0.88); }
.bg-navy h2, .bg-navy h3 { color: var(--white); }

/* ---- Reveal-on-scroll ---- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible > * { transition-delay: calc(var(--i, 0) * 90ms); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  transition: transform var(--dur-s) var(--ease), box-shadow var(--dur-s) var(--ease), background var(--dur-s) var(--ease), color var(--dur-s) var(--ease);
  white-space: nowrap;
  max-width: 100%;
}
.btn-wrap {
  white-space: normal;
  text-align: center;
  line-height: 1.35;
}
.btn-primary {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(var(--navy-rgb), 0.28);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(var(--navy-rgb), 0.36); background: var(--navy-dark); }
.btn-bronze {
  background: linear-gradient(135deg, var(--bronze), var(--bronze-light));
  color: var(--navy-dark);
  box-shadow: 0 10px 24px rgba(var(--bronze-rgb), 0.35);
}
.btn-bronze:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(var(--bronze-rgb), 0.45); }
.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid rgba(var(--navy-rgb), 0.22);
}
.btn-outline:hover { border-color: var(--navy); background: rgba(var(--navy-rgb), 0.04); transform: translateY(-2px); }
.bg-navy .btn-outline { color: var(--white); border-color: rgba(255,255,255,0.3); }
.bg-navy .btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.06); }
.btn svg { width: 19px; height: 19px; flex-shrink: 0; }
.btn-sm { padding: 12px 24px; font-size: 0.9rem; }

/* ==========================================================================
   Header / Navigation
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  padding: 22px 0;
  transition: padding var(--dur-s) var(--ease), background var(--dur-s) var(--ease), box-shadow var(--dur-s) var(--ease);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-header.scrolled {
  padding: 14px 0;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-s);
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand .mark {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-s);
  flex-shrink: 0;
  padding: 6px;
}
.brand .mark img { width: 100%; height: 100%; object-fit: contain; }
.bg-navy .brand .mark, .site-footer .brand .mark, .mobile-panel .brand .mark { box-shadow: 0 8px 20px rgba(0,0,0,0.35); border-color: rgba(255,255,255,0.14); }
.brand .word { display: flex; flex-direction: column; line-height: 1.1; }
.brand .word strong { font-family: var(--font-display); font-weight: 800; letter-spacing: 0.01em; color: var(--white); font-size: 1.08rem; transition: color var(--dur-s); }
.brand .word span { font-size: 0.68rem; letter-spacing: 0.06em; color: var(--bronze-light); font-weight: 600; text-transform: uppercase; transition: color var(--dur-s); }
.site-header.scrolled .brand .word strong { color: var(--navy); }
.site-header.scrolled .brand .word span { color: var(--bronze); }

.main-nav { display: flex; align-items: center; gap: 40px; }
.main-nav ul { display: flex; gap: 32px; }
.main-nav a {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255,255,255,0.92);
  position: relative;
  padding: 6px 0;
  transition: color var(--dur-s);
}
.main-nav a::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--bronze-light);
  transition: width var(--dur-s) var(--ease);
}
.main-nav a:hover, .main-nav a.active { color: var(--bronze-light); }
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }
.site-header.scrolled .main-nav a { color: var(--anthracite); }
.site-header.scrolled .main-nav a:hover, .site-header.scrolled .main-nav a.active { color: var(--navy); }
.site-header.scrolled .main-nav a::after { background: var(--bronze); }

.header-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  border-radius: 12px;
  align-items: center; justify-content: center;
  background: var(--gray-100);
  flex-shrink: 0;
}
.nav-toggle .bars { position: relative; width: 20px; height: 14px; display: block; }
.nav-toggle .bars span {
  display: block !important;
  position: absolute; left: 0; width: 100%; height: 2px;
  background: var(--navy); border-radius: 2px;
  transition: transform var(--dur-s) var(--ease), opacity var(--dur-s) var(--ease), top var(--dur-s) var(--ease);
}
.nav-toggle .bars span:nth-child(1) { top: 0; }
.nav-toggle .bars span:nth-child(2) { top: 6px; }
.nav-toggle .bars span:nth-child(3) { top: 12px; }
.nav-open .nav-toggle .bars span:nth-child(1) { top: 6px; transform: rotate(45deg); }
.nav-open .nav-toggle .bars span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle .bars span:nth-child(3) { top: 6px; transform: rotate(-45deg); }

@media (max-width: 980px) {
  .main-nav ul { display: none; }
  .header-cta .btn-primary.header-only { display: none; }
  .nav-toggle { display: flex; }

  .mobile-panel {
    position: fixed; inset: 0 0 0 auto;
    width: min(340px, 86vw);
    height: 100vh;
    background: var(--white);
    box-shadow: -20px 0 60px rgba(0,0,0,0.18);
    padding: 110px 32px 40px;
    display: flex; flex-direction: column; gap: 28px;
    transform: translateX(100%);
    transition: transform var(--dur-m) var(--ease);
    z-index: 890;
    overflow-y: auto;
  }
  .nav-open .mobile-panel { transform: translateX(0); }
  .mobile-panel ul { display: flex; flex-direction: column; gap: 6px; }
  .mobile-panel ul a { font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; padding: 12px 4px; display: block; border-bottom: 1px solid var(--gray-100); color: var(--navy); }
  .mobile-panel .btn {
    width: 100%;
    white-space: normal;
    text-align: center;
    word-break: break-word;
    overflow-wrap: anywhere;
  }
  .mobile-panel .btn span { min-width: 0; }

  .nav-scrim {
    position: fixed; inset: 0;
    background: rgba(0,31,63,0.45);
    opacity: 0; pointer-events: none;
    transition: opacity var(--dur-m) var(--ease);
    z-index: 880;
  }
  .nav-open .nav-scrim { opacity: 1; pointer-events: auto; }
}
@media (min-width: 981px) {
  .mobile-panel, .nav-scrim { display: none; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  padding: 190px 0 130px;
  background: radial-gradient(ellipse 1200px 700px at 15% -10%, rgba(var(--bronze-rgb),0.16), transparent 60%),
              linear-gradient(160deg, var(--navy-dark) 0%, var(--navy) 55%, #013a72 100%);
  color: var(--white);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.7), transparent 75%);
  pointer-events: none;
}
.hero-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(10px);
  pointer-events: none;
}
.hero-shape.s1 { width: 520px; height: 520px; right: -160px; top: -120px; background: radial-gradient(circle, rgba(var(--bronze-rgb),0.28), transparent 70%); }
.hero-shape.s2 { width: 380px; height: 380px; left: -120px; bottom: -140px; background: radial-gradient(circle, rgba(255,255,255,0.06), transparent 70%); }

.hero .container { position: relative; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 60px; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  padding: 8px 18px 8px 8px;
  border-radius: 999px;
  font-size: 0.85rem; font-weight: 600;
  margin-bottom: 28px;
  backdrop-filter: blur(6px);
}
.hero-badge .dot { width: 26px; height: 26px; border-radius: 50%; background: var(--bronze-light); display: flex; align-items: center; justify-content: center; color: var(--navy-dark); }
.hero-badge .dot svg { width: 14px; height: 14px; }

.hero h1 { font-size: clamp(2.4rem, 4.6vw, 3.8rem); color: var(--white); margin-bottom: 22px; max-width: 15ch; }
.hero .lead { font-size: 1.2rem; font-weight: 600; color: var(--bronze-light); margin-bottom: 16px; max-width: 46ch; }
.hero .desc { font-size: 1.05rem; color: rgba(255,255,255,0.78); max-width: 50ch; margin-bottom: 40px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 52px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.hero-badges span { display: flex; align-items: center; gap: 8px; font-size: 0.9rem; font-weight: 500; color: rgba(255,255,255,0.85); }
.hero-badges svg { width: 18px; height: 18px; color: var(--bronze-light); flex-shrink: 0; }

.hero-visual {
  position: relative;
  display: flex; align-items: center; justify-content: center;
}
.hero-card {
  position: relative;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-l);
  padding: 36px;
  backdrop-filter: blur(10px);
  width: 100%;
  max-width: 420px;
  box-shadow: var(--shadow-l);
}
.hero-card .row { display: flex; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
.hero-card .row:last-child { border-bottom: none; }
.hero-card .row .ic { width: 46px; height: 46px; border-radius: 12px; background: rgba(var(--bronze-rgb),0.22); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.hero-card .row .ic svg { width: 22px; height: 22px; color: var(--bronze-light); }
.hero-card .row strong { display: block; font-family: var(--font-display); font-size: 0.98rem; color: var(--white); margin-bottom: 2px; }
.hero-card .row small { color: rgba(255,255,255,0.65); font-size: 0.85rem; }
.hero-card .stat-strip { display: flex; justify-content: space-between; margin-top: 26px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,0.12); }
.hero-card .stat-strip div { text-align: center; }
.hero-card .stat-strip strong { display: block; font-family: var(--font-display); font-size: 1.3rem; color: var(--bronze-light); }
.hero-card .stat-strip span { font-size: 0.72rem; color: rgba(255,255,255,0.6); text-transform: uppercase; letter-spacing: 0.05em; }

@media (max-width: 980px) {
  .hero { padding: 150px 0 90px; }
  .hero .container { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
}

/* ==========================================================================
   Trust bar
   ========================================================================== */
.trust-bar { padding: 0; margin-top: -64px; position: relative; z-index: 10; }
.trust-grid {
  background: var(--white);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-l);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 8px;
}
.trust-item { display: flex; gap: 16px; align-items: flex-start; padding: 32px 28px; }
.trust-item + .trust-item { border-left: 1px solid var(--gray-100); }
.trust-item .ic {
  width: 52px; height: 52px; border-radius: 14px; flex-shrink: 0;
  background: linear-gradient(145deg, var(--gray-50), var(--gray-100));
  display: flex; align-items: center; justify-content: center;
}
.trust-item .ic svg { width: 24px; height: 24px; color: var(--navy); }
.trust-item h3 { font-size: 1.02rem; margin-bottom: 6px; }
.trust-item p { font-size: 0.9rem; color: #55606E; }

@media (max-width: 980px) {
  .trust-bar { margin-top: -40px; }
  .trust-grid { grid-template-columns: 1fr 1fr; border-radius: var(--radius-m); }
  .trust-item:nth-child(2) { border-left: 1px solid var(--gray-100); }
  .trust-item:nth-child(3) { border-left: none; border-top: 1px solid var(--gray-100); }
  .trust-item:nth-child(4) { border-top: 1px solid var(--gray-100); }
  .trust-item { padding: 22px 18px; }
}
@media (max-width: 560px) {
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item, .trust-item:nth-child(n) { border-left: none; border-top: 1px solid var(--gray-100); }
  .trust-item:first-child { border-top: none; }
}

/* ==========================================================================
   About
   ========================================================================== */
.about .container { display: grid; grid-template-columns: 1fr 0.92fr; gap: 80px; align-items: center; }
.about-visual { position: relative; }
.about-panel {
  position: relative;
  border-radius: var(--radius-l);
  background: linear-gradient(155deg, var(--navy), var(--navy-dark));
  padding: 44px 36px;
  color: var(--white);
  box-shadow: var(--shadow-l);
  overflow: hidden;
}
.about-panel::after {
  content: "";
  position: absolute; width: 260px; height: 260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--bronze-rgb),0.35), transparent 70%);
  top: -80px; right: -80px;
}
.about-panel .quote-mark { font-family: var(--font-display); font-size: 3.4rem; color: var(--bronze-light); line-height: 1; margin-bottom: 12px; }
.about-panel blockquote { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; line-height: 1.5; margin-bottom: 28px; position: relative; }
.about-panel .person { display: flex; align-items: center; gap: 14px; position: relative; }
.about-panel .person .av {
  width: 54px; height: 54px; border-radius: 50%;
  background: rgba(var(--bronze-rgb),0.25);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; color: var(--bronze-light);
  border: 1px solid rgba(255,255,255,0.2);
}
.about-panel .person strong { display: block; font-family: var(--font-display); font-size: 0.98rem; }
.about-panel .person span { font-size: 0.82rem; color: rgba(255,255,255,0.65); }

.about-body p { color: #45505E; margin-bottom: 20px; font-size: 1.03rem; }
.value-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; }
.value-list li { display: flex; align-items: center; gap: 12px; font-weight: 600; font-family: var(--font-display); font-size: 0.94rem; color: var(--navy); }
.value-list li svg { width: 20px; height: 20px; color: var(--bronze); flex-shrink: 0; }

@media (max-width: 980px) {
  .about .container { grid-template-columns: 1fr; gap: 48px; }
  .about-visual { order: 2; }
}
@media (max-width: 560px) {
  .value-list { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Services grid
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-m);
  overflow: hidden;
  transition: transform var(--dur-m) var(--ease), box-shadow var(--dur-m) var(--ease), border-color var(--dur-m) var(--ease);
  cursor: pointer;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-m);
  border-color: transparent;
}
.service-card .thumb { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--gray-100); }
.service-card .thumb img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.7s var(--ease);
}
.service-card:hover .thumb img { transform: scale(1.07); }
.service-card .thumb::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,43,91,0) 55%, rgba(0,21,49,0.28) 100%);
}
.service-card .body { padding: 30px 24px 26px; position: relative; }
.service-card .ic {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--white);
  display: flex; align-items: center; justify-content: center;
  position: absolute; left: 24px; top: -26px;
  box-shadow: var(--shadow-s);
  transition: background var(--dur-m) var(--ease);
}
.service-card:hover .ic { background: linear-gradient(145deg, var(--navy), var(--navy-dark)); }
.service-card .ic svg { width: 24px; height: 24px; color: var(--navy); transition: color var(--dur-m) var(--ease); }
.service-card:hover .ic svg { color: var(--bronze-light); }
.service-card h3 { font-size: 1.08rem; margin: 20px 0 10px; }
.service-card p { font-size: 0.92rem; color: #55606E; margin-bottom: 16px; }
.service-card .more { font-size: 0.85rem; font-weight: 700; color: var(--bronze); display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-display); }
.service-card .more svg { width: 15px; height: 15px; transition: transform var(--dur-s); }
.service-card:hover .more svg { transform: translateX(4px); }

@media (max-width: 1100px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .services-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; } .service-card .body { padding: 26px 18px 22px; } }
@media (max-width: 480px) { .services-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Service detail accordion
   ========================================================================== */
.accordion { max-width: 880px; margin: 0 auto; }
.acc-item {
  border-bottom: 1px solid var(--gray-200);
}
.acc-item:first-child { border-top: 1px solid var(--gray-200); }
.acc-trigger {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 26px 4px;
  text-align: left;
}
.acc-trigger .left { display: flex; align-items: center; gap: 18px; }
.acc-trigger .num { font-family: var(--font-display); font-weight: 700; color: var(--gray-400); font-size: 0.95rem; width: 30px; flex-shrink: 0; }
.acc-trigger h3 { font-size: 1.12rem; color: var(--anthracite); transition: color var(--dur-s); }
.acc-item.open .acc-trigger h3 { color: var(--navy); }
.acc-trigger .plus { width: 34px; height: 34px; border-radius: 50%; background: var(--gray-50); flex-shrink: 0; display: flex; align-items: center; justify-content: center; position: relative; }
.acc-trigger .plus::before, .acc-trigger .plus::after { content: ""; position: absolute; background: var(--navy); border-radius: 2px; transition: transform var(--dur-s) var(--ease); }
.acc-trigger .plus::before { width: 14px; height: 2px; }
.acc-trigger .plus::after { width: 2px; height: 14px; }
.acc-item.open .acc-trigger .plus::after { transform: rotate(90deg); opacity: 0; }
.acc-item.open .acc-trigger .plus { background: var(--navy); }
.acc-item.open .acc-trigger .plus::before, .acc-item.open .acc-trigger .plus::after { background: var(--white); }

.acc-panel { overflow: hidden; max-height: 0; transition: max-height var(--dur-m) var(--ease); }
.acc-panel-inner { padding: 0 4px 34px 48px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; }
.acc-panel-inner p { color: #4B5768; margin-bottom: 18px; }
.acc-panel-inner .sub-list { display: flex; flex-direction: column; gap: 10px; }
.acc-panel-inner .sub-list li { display: flex; gap: 10px; font-size: 0.94rem; color: var(--anthracite); }
.acc-panel-inner .sub-list svg { width: 17px; height: 17px; color: var(--bronze); flex-shrink: 0; margin-top: 3px; }

@media (max-width: 760px) {
  .acc-panel-inner { grid-template-columns: 1fr; padding-left: 4px; gap: 16px; }
  .acc-trigger .left { gap: 12px; }
}

/* ==========================================================================
   Why us
   ========================================================================== */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.why-card {
  background: var(--white);
  border-radius: var(--radius-m);
  padding: 32px 28px;
  box-shadow: var(--shadow-s);
  transition: box-shadow var(--dur-m) var(--ease), transform var(--dur-m) var(--ease);
  border-top: 3px solid var(--bronze);
}
.why-card:hover { box-shadow: var(--shadow-m); transform: translateY(-6px); }
.why-card .ic { width: 48px; height: 48px; border-radius: 12px; background: var(--gray-50); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.why-card .ic svg { width: 22px; height: 22px; color: var(--navy); }
.why-card h3 { font-size: 1.05rem; margin-bottom: 10px; }
.why-card p { font-size: 0.92rem; color: #55606E; }

@media (max-width: 900px) { .why-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .why-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Process timeline
   ========================================================================== */
.process-timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.process-timeline::before {
  content: "";
  position: absolute; top: 28px; left: 8%; right: 8%; height: 2px;
  background: repeating-linear-gradient(90deg, var(--gray-200) 0, var(--gray-200) 8px, transparent 8px, transparent 16px);
}
.process-step { position: relative; padding: 0 20px; text-align: center; }
.process-step .step-num {
  width: 56px; height: 56px; border-radius: 50%; margin: 0 auto 24px;
  background: var(--navy); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 800; font-size: 1.2rem;
  position: relative; z-index: 2;
  box-shadow: 0 8px 20px rgba(var(--navy-rgb),0.3);
}
.process-step h3 { font-size: 1.03rem; margin-bottom: 10px; }
.process-step p { font-size: 0.9rem; color: #55606E; }

@media (max-width: 860px) {
  .process-timeline { grid-template-columns: 1fr; gap: 40px; }
  .process-timeline::before { display: none; }
  .process-step { display: flex; align-items: flex-start; gap: 20px; text-align: left; padding: 0; }
  .process-step .step-num { margin: 0; flex-shrink: 0; }
}

/* ==========================================================================
   Area / einsatzgebiet
   ========================================================================== */
.area .container { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 64px; align-items: center; }
.area-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 28px; margin-top: 20px; }
.area-list li { display: flex; align-items: center; gap: 10px; font-weight: 600; font-family: var(--font-display); font-size: 0.96rem; }
.area-list li svg { width: 18px; height: 18px; color: var(--bronze); flex-shrink: 0; }
.area-list li.note { color: #6B7684; font-weight: 500; font-family: var(--font-body); grid-column: 1 / -1; }

.area-map {
  position: relative;
  aspect-ratio: 4/3.4;
  border-radius: var(--radius-l);
  background: linear-gradient(155deg, var(--navy-dark), var(--navy));
  overflow: hidden;
  box-shadow: var(--shadow-l);
}
.area-map svg { width: 100%; height: 100%; }
.area-map .pin-label {
  position: absolute;
  background: var(--white);
  color: var(--navy);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  padding: 6px 12px;
  border-radius: 999px;
  box-shadow: var(--shadow-s);
  transform: translate(-50%, -130%);
  white-space: nowrap;
}

@media (max-width: 980px) {
  .area .container { grid-template-columns: 1fr; gap: 40px; }
  .area-map { order: -1; }
}
@media (max-width: 560px) { .area-list { grid-template-columns: 1fr; } }

/* ==========================================================================
   Trust / quality band
   ========================================================================== */
.quality-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.quality-item {
  text-align: center;
  padding: 8px;
}
.quality-item .num { font-family: var(--font-display); font-weight: 800; font-size: 2.2rem; color: var(--white); overflow-wrap: break-word; word-break: break-word; hyphens: auto; }
.quality-item .num span { color: var(--bronze-light); }
.quality-item p { color: rgba(255,255,255,0.68); font-size: 0.92rem; margin-top: 8px; }

@media (max-width: 760px) { .quality-band { grid-template-columns: 1fr 1fr; gap: 32px 16px; } .quality-item .num { font-size: 1.7rem; } }
@media (max-width: 480px) { .quality-band { grid-template-columns: 1fr; gap: 28px; } .quality-item .num { font-size: 1.9rem; } }

/* ==========================================================================
   CTA banner
   ========================================================================== */
.cta-banner {
  border-radius: var(--radius-l);
  background: linear-gradient(120deg, var(--navy), var(--navy-dark));
  padding: 64px 56px;
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-l);
}
.cta-banner::before {
  content: "";
  position: absolute; width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--bronze-rgb),0.3), transparent 70%);
  right: -100px; top: -120px;
}
.cta-banner h2 { color: var(--white); font-size: clamp(1.5rem, 2.6vw, 2rem); max-width: 20ch; position: relative; }
.cta-banner .actions { display: flex; gap: 16px; flex-wrap: wrap; position: relative; }

@media (max-width: 860px) {
  .cta-banner { flex-direction: column; align-items: flex-start; padding: 44px 28px; }
}

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-methods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 8px; }
.contact-method {
  display: flex; flex-direction: column; align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-l);
  padding: 36px 30px;
  box-shadow: var(--shadow-s);
  transition: transform var(--dur-m) var(--ease), box-shadow var(--dur-m) var(--ease), border-color var(--dur-m) var(--ease);
  min-width: 0;
}
.contact-method:hover { transform: translateY(-8px); box-shadow: var(--shadow-m); border-color: transparent; }
.contact-method.featured { background: linear-gradient(155deg, var(--navy), var(--navy-dark)); border-color: transparent; }
.contact-method .cm-ic {
  width: 56px; height: 56px; border-radius: 16px;
  background: var(--gray-50);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
}
.contact-method.featured .cm-ic { background: rgba(255,255,255,0.12); }
.contact-method .cm-ic svg { width: 26px; height: 26px; color: var(--navy); }
.contact-method.featured .cm-ic svg { color: var(--bronze-light); }
.contact-method h3 { font-size: 1.1rem; margin-bottom: 6px; }
.contact-method.featured h3 { color: var(--white); }
.contact-method p { font-size: 0.9rem; color: #55606E; margin-bottom: 18px; }
.contact-method.featured p { color: rgba(255,255,255,0.72); }
.contact-method .cm-value {
  font-family: var(--font-display); font-weight: 700; font-size: 0.98rem;
  color: var(--navy); display: inline-flex; align-items: center; gap: 8px;
  overflow-wrap: anywhere; word-break: break-word;
}
.contact-method.featured .cm-value { color: var(--bronze-light); }
.contact-method .cm-value svg { width: 16px; height: 16px; flex-shrink: 0; transition: transform var(--dur-s) var(--ease); }
.contact-method:hover .cm-value svg { transform: translateX(4px); }

.contact-footer-card {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px;
  margin-top: 32px;
  padding: 28px 36px;
  border-radius: var(--radius-l);
  background: var(--gray-50);
  min-width: 0;
}
.contact-footer-card .cf-left strong { display: block; font-family: var(--font-display); font-size: 1.05rem; color: var(--navy); }
.contact-footer-card .cf-left span { font-size: 0.9rem; color: #55606E; }
.contact-footer-card .cf-right { display: flex; align-items: center; gap: 10px; font-size: 0.92rem; color: #45505E; min-width: 0; overflow-wrap: anywhere; }
.contact-footer-card .cf-right svg { width: 18px; height: 18px; color: var(--bronze); flex-shrink: 0; }

@media (max-width: 900px) {
  .contact-methods { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .contact-method { padding: 28px 22px; }
  .contact-footer-card { padding: 24px; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--navy-dark); color: rgba(255,255,255,0.7); padding: 80px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,0.08); min-width: 0; }
.footer-col { min-width: 0; }
.footer-brand p { margin: 20px 0 24px; font-size: 0.92rem; max-width: 34ch; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,0.06); display: flex; align-items: center; justify-content: center; }
.footer-social svg { width: 18px; height: 18px; }
.footer-col h4 { color: var(--white); font-size: 0.95rem; margin-bottom: 22px; font-family: var(--font-display); }
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a, .footer-col span { font-size: 0.9rem; transition: color var(--dur-s); overflow-wrap: anywhere; word-break: break-word; }
.footer-col a:hover { color: var(--bronze-light); }
.footer-col .fic { display: flex; gap: 10px; align-items: flex-start; min-width: 0; }
.footer-col .fic svg { width: 16px; height: 16px; margin-top: 3px; color: var(--bronze-light); flex-shrink: 0; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding: 26px 0; font-size: 0.82rem; flex-wrap: wrap; gap: 10px; }
.footer-bottom a:hover { color: var(--white); }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px 24px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ==========================================================================
   WhatsApp floating button
   ========================================================================== */
.wa-float {
  position: fixed;
  right: 24px; bottom: 24px;
  z-index: 950;
  display: flex; align-items: center; gap: 12px;
}
.wa-tooltip {
  background: var(--white);
  color: var(--anthracite);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 12px 18px;
  border-radius: var(--radius-s);
  box-shadow: var(--shadow-m);
  opacity: 0; transform: translateX(10px);
  transition: opacity var(--dur-s) var(--ease), transform var(--dur-s) var(--ease);
  white-space: nowrap;
  pointer-events: none;
}
.wa-float:hover .wa-tooltip { opacity: 1; transform: translateX(0); }
.wa-btn {
  width: 62px; height: 62px;
  border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 28px rgba(37,211,102,0.45);
  transition: transform var(--dur-s) var(--ease), box-shadow var(--dur-s) var(--ease);
  position: relative;
  flex-shrink: 0;
}
.wa-btn::before {
  content: "";
  position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid #25D366;
  animation: wa-pulse 2.4s var(--ease) infinite;
}
.wa-btn:hover { transform: scale(1.08); box-shadow: 0 16px 36px rgba(37,211,102,0.55); }
.wa-btn svg { width: 30px; height: 30px; color: var(--white); }
@keyframes wa-pulse {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.5); opacity: 0; }
}
@media (max-width: 560px) {
  .wa-float { right: 16px; bottom: 16px; }
  .wa-btn { width: 56px; height: 56px; }
  .wa-btn svg { width: 27px; height: 27px; }
  .wa-tooltip { display: none; }
}

/* ---- Back to top ---- */
.top-btn {
  position: fixed; right: 24px; bottom: 100px;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--white); box-shadow: var(--shadow-m);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity var(--dur-s) var(--ease), transform var(--dur-s) var(--ease), visibility var(--dur-s);
  z-index: 940;
}
.top-btn.show { opacity: 1; visibility: visible; transform: translateY(0); }
.top-btn svg { width: 20px; height: 20px; color: var(--navy); }
@media (max-width: 560px) {
  .top-btn { right: 16px; bottom: 84px; width: 40px; height: 40px; }
}

/* ==========================================================================
   Legal pages
   ========================================================================== */
.legal-hero { padding: 170px 0 60px; background: linear-gradient(160deg, var(--navy-dark), var(--navy)); color: var(--white); }
.legal-hero h1 { color: var(--white); font-size: clamp(1.8rem, 3.4vw, 2.4rem); }
.legal-body { padding: 70px 0 120px; }
.legal-body .container { max-width: 820px; }
.legal-body h2 { font-size: 1.3rem; margin: 44px 0 16px; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body p, .legal-body li { color: #45505E; margin-bottom: 14px; font-size: 0.98rem; }
.legal-body ul { list-style: disc; padding-left: 22px; margin-bottom: 14px; }
.legal-body a { color: var(--navy); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.legal-body .placeholder { background: var(--gray-50); border-left: 3px solid var(--bronze); padding: 14px 18px; border-radius: 0 var(--radius-s) var(--radius-s) 0; font-size: 0.9rem; color: #6B7684; }

/* ---- Skip link ---- */
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--navy); color: var(--white);
  padding: 14px 22px; border-radius: 0 0 10px 0;
  z-index: 9999; font-weight: 600;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 2px solid var(--bronze); outline-offset: 2px; }
