/* ============================================================
   BERIMMO — Persönliche Vermietung, Berlin
   White ground, navy brand accent (from the real logo), real
   Berlin building photography, clean editorial-corporate mix.
   ============================================================ */

:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-alt: #f5f6f8;

  --ink: #171b21;
  --ink-soft: #565d6b;
  --ink-faint: #969ca7;
  --line: #e6e8ec;
  --line-soft: #eef0f3;

  --navy: #1c2b45;
  --navy-deep: #101a2c;
  --navy-soft: #e8ecf3;
  --on-dark-soft: rgba(255, 255, 255, 0.68);
  --on-dark-faint: rgba(255, 255, 255, 0.42);

  --shadow-sm: 0 1px 3px rgba(16, 26, 44, 0.07);
  --shadow-md: 0 18px 46px rgba(16, 26, 44, 0.14);
  --shadow-lg: 0 28px 64px rgba(16, 26, 44, 0.2);

  --container: 1220px;

  --font-head: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --font-serif: Georgia, "Iowan Old Style", "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-head);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; background: none; border: none; }
input, select, textarea { font-family: inherit; }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  margin: 0;
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 400;
  text-wrap: balance;
}
h1, h2 {
  text-transform: uppercase;
  letter-spacing: 0.005em;
}
p { font-family: var(--font-serif); }

#scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0%; background: var(--navy); z-index: 300; }

#page-loader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--bg);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
  opacity: 1; visibility: visible;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
#page-loader.loaded { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-icon { width: 140px; height: auto; animation: loader-pulse 1.4s ease-in-out infinite; }
@keyframes loader-pulse { 0%, 100% { opacity: 0.45; transform: scale(0.97); } 50% { opacity: 1; transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .loader-icon { animation: none; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-size: 12px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--navy);
  margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--navy); flex-shrink: 0; }
.eyebrow.on-dark { color: #fff; }
.eyebrow.on-dark::before { background: #fff; }

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 700; font-size: 14px; padding: 14px 26px; border-radius: 2px;
  border: 1px solid transparent; transition: all 0.2s ease; white-space: nowrap; font-family: var(--font-head);
}
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-deep); }
.btn-accent { background: var(--navy); color: #fff; }
.btn-accent:hover { background: var(--navy-deep); }
.btn-outline { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-outline.on-dark { border-color: rgba(255,255,255,0.55); color: #fff; }
.btn-outline.on-dark:hover { background: #fff; color: var(--navy-deep); }
.btn-white { background: #fff; color: var(--navy-deep); }
.btn-white:hover { background: var(--navy-soft); }
.btn-sm { padding: 10px 18px; font-size: 12.5px; }
.btn-block { width: 100%; }
.btn-lg { padding: 16px 32px; font-size: 15px; }

/* ---------------- Utility bar ---------------- */
.utility-bar { background: var(--navy-deep); color: var(--on-dark-soft); }
.utility-inner { display: flex; align-items: center; gap: 32px; padding: 9px 0; font-size: 12.5px; }
.utility-track { display: contents; }
.utility-set { display: contents; }
.utility-set[aria-hidden="true"] { display: none; }
.utility-item { display: flex; align-items: center; gap: 7px; }
.utility-item svg { color: #7f93b8; flex-shrink: 0; }
.utility-inner a.utility-item:hover { color: #fff; }

/* ---------------- Nav ---------------- */
header.site-header {
  position: sticky; top: 0; z-index: 200;
  background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s ease;
}
header.site-header.scrolled { box-shadow: var(--shadow-sm); }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 32px; max-width: var(--container); margin: 0 auto; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 14px; font-family: var(--font-head); font-weight: 800; font-size: 19px; color: var(--ink); flex-shrink: 0; }
.brand-tagline { font-family: var(--font-serif); font-style: italic; font-weight: 500; font-size: 13px; color: var(--navy); white-space: nowrap; }
.brand-full { height: 92px; width: auto; }
.brand-full-lg { height: 92px; }
.brand-mark { width: 38px; height: 38px; object-fit: contain; flex-shrink: 0; }
.brand small { display: block; font-family: var(--font-head); font-size: 9.5px; letter-spacing: 0.18em; color: var(--navy); font-weight: 700; margin-top: 2px; }
nav.main-nav { display: flex; align-items: center; gap: 30px; }
nav.main-nav a { font-size: 12.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); position: relative; padding: 6px 0; }
nav.main-nav a:hover { color: var(--navy); }
.nav-right { display: flex; align-items: center; gap: 18px; flex-shrink: 0; }

.lang-toggle { display: flex; border: 1px solid var(--line); font-size: 11px; font-weight: 700; letter-spacing: 0.04em; flex-shrink: 0; }
.lang-toggle button { padding: 7px 12px; color: var(--ink-soft); }
.lang-toggle button.active { background: var(--navy); color: #fff; }
.lang-toggle button:hover:not(.active) { color: var(--navy); }

/* ---------------- Mobile nav ---------------- */
.menu-toggle { display: none; width: 38px; height: 38px; align-items: center; justify-content: center; color: var(--navy); flex-shrink: 0; }
.mobile-nav-overlay { position: fixed; inset: 0; background: rgba(16,26,44,0.5); z-index: 250; opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease; }
.mobile-nav-overlay.open { opacity: 1; visibility: visible; }
.mobile-nav {
  position: fixed; top: 0; bottom: 0; left: 0; width: 78%; max-width: 320px; z-index: 260;
  background: var(--surface); box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; gap: 4px; padding: 32px 28px 28px;
  transform: translateX(-100%); transition: transform 0.3s ease;
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav-logo { height: 42px; width: auto; align-self: flex-start; margin-bottom: 24px; }
.mobile-nav a { font-size: 16px; font-weight: 700; color: var(--ink); padding: 14px 0; border-bottom: 1px solid var(--line); }
.mobile-nav a.btn { border: none; text-align: center; margin-top: 20px; color: #fff; }
.mobile-nav-copy { margin-top: auto; font-size: 11px; color: var(--ink-faint); }
@media (max-width: 1100px) { .menu-toggle { display: flex; } }

/* ---------------- Floating contact ---------------- */
.floating-contact { position: fixed; right: 22px; top: 55%; transform: translateY(-50%); z-index: 150; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.fc-btn { width: 44px; height: 44px; background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-md); transition: background 0.2s ease, transform 0.2s ease; }
.fc-btn-phone { width: auto; height: 44px; padding: 0 16px; gap: 10px; border-radius: 999px; white-space: nowrap; }
.fc-btn-phone span { font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; }
.fc-btn:hover { background: var(--navy-deep); transform: scale(1.06); }
@media (max-width: 700px) { .floating-contact { right: 14px; top: auto; bottom: 20px; transform: none; } .fc-btn { width: 40px; height: 40px; } }

/* ---------------- Scroll reveal ---------------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.9s cubic-bezier(.16,.84,.44,1), transform 0.9s cubic-bezier(.16,.84,.44,1); }
.reveal.in-view { opacity: 1; transform: none; }
.reveal-group > * { opacity: 0; transform: translateY(26px); transition: opacity 0.8s cubic-bezier(.16,.84,.44,1), transform 0.8s cubic-bezier(.16,.84,.44,1); }
.reveal-group.in-view > *:nth-child(1) { transition-delay: 0.02s; }
.reveal-group.in-view > *:nth-child(2) { transition-delay: 0.08s; }
.reveal-group.in-view > *:nth-child(3) { transition-delay: 0.14s; }
.reveal-group.in-view > *:nth-child(4) { transition-delay: 0.2s; }
.reveal-group.in-view > *:nth-child(5) { transition-delay: 0.26s; }
.reveal-group.in-view > *:nth-child(6) { transition-delay: 0.32s; }
.reveal-group.in-view > *:nth-child(7) { transition-delay: 0.38s; }
.reveal-group.in-view > *:nth-child(8) { transition-delay: 0.44s; }
.reveal-group.in-view > * { opacity: 1; transform: none; }
.stats-grid.reveal { opacity: 1; transform: none; transition: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-group > * { opacity: 1 !important; transform: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------------- Hero ---------------- */
.hero { position: relative; min-height: 560px; min-height: calc(100svh - 200px); overflow: hidden; display: flex; align-items: center; padding: 50px 0; }
.hero .container { position: relative; z-index: 2; width: 100%; }
.hero-photo {
  position: absolute; top: 0; right: 0; bottom: 0; width: 62%;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,1) 42%);
  mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,1) 42%);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; will-change: transform; transform: scale(1.08); }
.hero-boxes { max-width: 560px; }
.hero-box { background: transparent; padding: 0; }
.hero-box-title { box-shadow: none; margin-bottom: 22px; }
.hero-box-body { box-shadow: none; margin: 0; }
.hero h1 { font-size: 52px; color: var(--ink); margin: 0; }
.accent-underline { color: var(--navy); display: inline-block; }
.hero p.lead { font-size: 17px; color: var(--ink-soft); max-width: 440px; margin: 0 0 30px; font-family: var(--font-head); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------------- Marquee ---------------- */
.marquee-wrap { overflow: hidden; background: var(--navy-deep); padding: 16px 0; }
.marquee-track { display: flex; width: max-content; animation: marquee 24s linear infinite; }
.marquee-item { font-size: 12.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--on-dark-soft); padding: 0 28px; white-space: nowrap; display: flex; align-items: center; gap: 28px; font-weight: 700; }
.marquee-item .dot { width: 4px; height: 4px; border-radius: 50%; background: #7f93b8; flex-shrink: 0; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ---------------- Stat band ---------------- */
.stats-banner {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #2c4166 0%, var(--navy) 45%, var(--navy-deep) 100%);
}
.stats-banner::before {
  content: ""; position: absolute; top: -60%; left: -25%; width: 55%; height: 220%;
  background: linear-gradient(115deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.1) 42%, rgba(255,255,255,0.22) 50%, rgba(255,255,255,0.1) 58%, rgba(255,255,255,0) 100%);
  transform: rotate(18deg);
  pointer-events: none;
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); padding: 40px 0; }
.stat-item { text-align: center; border-right: 1px solid rgba(255,255,255,0.12); }
.stat-item:last-child { border-right: none; }
.stat-num { font-size: 32px; font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; }
.stat-label { font-size: 11.5px; color: var(--on-dark-soft); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 8px; }

/* ---------------- Sections ---------------- */
.section { padding: 100px 0; }
.section-tight { padding: 70px 0; }
.section-alt { background: var(--surface-alt); }
#leistungen { position: relative; }
#leistungen .container { position: relative; z-index: 1; }
.section-bg-photo {
  position: absolute; top: 0; left: 0; bottom: 0; width: 40%; z-index: 0; pointer-events: none;
  opacity: 0.1;
  -webkit-mask-image: linear-gradient(to right, rgba(0,0,0,0.9) 30%, transparent 100%);
  mask-image: linear-gradient(to right, rgba(0,0,0,0.9) 30%, transparent 100%);
}
.section-bg-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
@media (max-width: 1100px) { .section-bg-photo { display: none; } }
.section-center { text-align: center; max-width: 660px; margin: 0 auto 52px; }
.section-center .eyebrow { justify-content: center; }
.section-center h2 { font-size: 36px; }

/* ---------------- About / Story ---------------- */
.about-split { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: stretch; }
.about-content { background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); padding: 44px 48px; }
.about-content h3 { font-size: 24px; margin: 0 0 16px; }
.about-content p { font-family: var(--font-serif); font-size: 15px; color: var(--ink-soft); margin: 0; line-height: 1.75; }
.about-divider { height: 1px; background: var(--line); margin: 20px 0; }
.col-label { font-size: 11.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--navy); margin-bottom: 16px; }
.why-us-block > .btn { margin-top: 40px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 700; color: var(--navy); }
.link-arrow span { transition: transform 0.2s ease; }
.link-arrow:hover span { transform: translateX(4px); }

.check-list { margin-bottom: 0; }
.check-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 14.5px; color: var(--ink-soft); margin-bottom: 16px; }
.check-list li:last-child { margin-bottom: 0; }
.check-list li { transition: transform 0.2s ease; }
.check-list li:hover { transform: translateX(4px); }
.check-list .check { width: 26px; height: 26px; background: var(--navy); color: #fff; font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: transform 0.2s ease; }
.check-list li:hover .check { transform: scale(1.15); }

.avatar-trust { display: flex; align-items: center; gap: 14px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }

.why-us-block { text-align: center; }
.why-us-block .check-list { display: inline-block; text-align: left; }
.why-us-block .avatar-trust { justify-content: center; }
.avatar-stack { display: flex; flex-shrink: 0; }
.avatar-stack img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; border: 2px solid var(--surface); margin-left: -12px; box-shadow: var(--shadow-sm); filter: blur(1.5px); }
.avatar-stack img:first-child { margin-left: 0; }
.avatar-trust-text { font-size: 13px; color: var(--ink-soft); line-height: 1.4; }
.avatar-trust-text strong { color: var(--navy); font-size: 15px; }

.story-media { position: relative; height: 100%; min-height: 460px; box-shadow: var(--shadow-md); }
.story-media img { width: 100%; height: 100%; min-height: 460px; object-fit: cover; }
.story-media .slideshow { position: relative; width: 100%; height: 100%; min-height: 340px; }
.story-media .slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease; }
.story-media .slide.active { opacity: 1; }
.slide-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 36px; height: 36px; background: rgba(255,255,255,0.9); color: var(--navy);
  display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-sm);
  transition: background 0.2s ease;
}
.slide-nav:hover { background: #fff; }
.slide-nav.prev { left: 14px; }
.slide-nav.next { right: 14px; }
.slide-dots { position: absolute; bottom: 16px; left: 0; right: 0; z-index: 3; display: flex; justify-content: center; gap: 8px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,0.55); padding: 0; border: none; transition: background 0.2s ease, transform 0.2s ease; }
.dot.active { background: #fff; transform: scale(1.25); }
.story-media-badge { position: absolute; top: 18px; right: 18px; z-index: 3; display: flex; align-items: center; }
.story-media-badge img { height: 84px; width: auto; min-height: 0; filter: drop-shadow(0 2px 6px rgba(0,0,0,0.35)); }

/* ---------------- Services ---------------- */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px 32px; margin-bottom: 64px; }
.services-slide { display: contents; }
.service-item { text-align: center; transition: transform 0.25s ease; }
.service-item:hover { transform: translateY(-6px); }
.service-item .ic { width: 60px; height: 60px; background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; transition: transform 0.25s ease, background 0.25s ease; }
.service-item .ic svg { width: 28px; height: 28px; }
.service-item:hover .ic { transform: scale(1.1) rotate(-4deg); background: var(--navy-deep); }
.service-item h4 { font-size: 15.5px; margin-bottom: 8px; }
.service-item p { font-size: 13.5px; color: var(--ink-soft); margin: 0; line-height: 1.6; }

.advantages-band, .contact-info-card {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #2c4166 0%, var(--navy) 45%, var(--navy-deep) 100%);
}
.advantages-band::before, .contact-info-card::before {
  content: ""; position: absolute; top: -60%; left: -25%; width: 55%; height: 220%;
  background: linear-gradient(115deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.1) 42%, rgba(255,255,255,0.22) 50%, rgba(255,255,255,0.1) 58%, rgba(255,255,255,0) 100%);
  transform: rotate(18deg);
  pointer-events: none;
}
.stats-banner, .advantages-band, .contact-info-card {
  box-shadow: 0 40px 70px -25px rgba(28, 43, 69, 0.5);
}
.advantages-band { padding: 52px; }
.advantages-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.advantage { transition: transform 0.25s ease; }
.advantage:hover { transform: translateY(-4px); }
.advantage .num { font-size: 30px; font-weight: 800; color: #7f93b8; margin-bottom: 12px; transition: color 0.25s ease; }
.advantage:hover .num { color: #fff; }
.advantage h3 { color: #fff; font-size: 19px; margin-bottom: 10px; }
.advantage p { color: var(--on-dark-soft); font-size: 14px; margin: 0; }

/* ---------------- Testimonial ---------------- */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-item { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); padding: 32px 30px; box-shadow: var(--shadow-sm); transition: transform 0.25s ease, box-shadow 0.25s ease; }
.testimonial-item:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.testimonial-avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; margin-bottom: 14px; filter: blur(1.5px); }
.testimonial-item .stars-row { color: var(--navy); font-size: 12px; margin-bottom: 16px; letter-spacing: 2px; }
.testimonial-item .quote { font-size: 15.5px; color: var(--ink); font-family: var(--font-serif); font-style: italic; margin-bottom: 20px; line-height: 1.6; }
.testimonial-meta { margin-top: auto; font-size: 11.5px; font-weight: 700; color: var(--ink-faint); text-transform: uppercase; letter-spacing: 0.06em; padding-top: 16px; border-top: 1px solid var(--line); }

/* ---------------- Contact hero ---------------- */
.contact-hero { position: relative; overflow: hidden; padding: 90px 0; min-height: 560px; display: flex; align-items: center; background: var(--bg); }
.contact-hero .container { position: relative; z-index: 2; width: 100%; }
.contact-hero-photo {
  position: absolute; top: 0; left: 0; bottom: 0; width: 60%;
  -webkit-mask-image: linear-gradient(to right, rgba(0,0,0,1) 55%, transparent 96%);
  mask-image: linear-gradient(to right, rgba(0,0,0,1) 55%, transparent 96%);
}
.contact-hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.contact-hero-boxes { max-width: 480px; margin-left: auto; }
.contact-hero-boxes .hero-box { background: transparent; padding: 0; box-shadow: none; }
.contact-hero-boxes .hero-box-title { margin-bottom: 14px; }
.contact-hero-boxes .hero-box-body { margin: 0; }
.contact-hero-boxes h2 { font-size: 34px; margin: 0; }
.contact-hero-boxes p { color: var(--ink-soft); font-size: 15px; margin: 0 0 28px; font-family: var(--font-serif); }

/* ---------------- Contact form ---------------- */
.contact-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.contact-info-card { color: #fff; padding: 40px; scroll-margin-top: 90px; }
.contact-info-card h3 { color: #fff; font-size: 19px; margin-bottom: 26px; }
.contact-line-block { display: flex; gap: 14px; margin-bottom: 22px; }
.contact-line-block .ic { width: 38px; height: 38px; border: 1.5px solid rgba(255,255,255,0.3); color: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-line-block .label { font-size: 11px; color: var(--on-dark-faint); text-transform: uppercase; letter-spacing: 0.06em; }
.contact-line-block .value { font-weight: 700; color: #fff; font-size: 14px; margin-top: 3px; }
.contact-line-block .value-sm { font-size: 13.5px; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

.form-card { background: var(--surface); padding: 40px; scroll-margin-top: 90px; }
.form-card h3 { font-size: 20px; margin-bottom: 8px; }
.form-card .sub { font-size: 13.5px; color: var(--ink-soft); margin-bottom: 24px; }
.form-field { margin-bottom: 16px; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 2px;
  font-size: 14px; color: var(--ink); outline: none; background: var(--bg);
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--navy); }
.form-field textarea { resize: vertical; min-height: 90px; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.checkbox-row { display: flex; align-items: flex-start; gap: 9px; font-size: 12.5px; color: var(--ink-soft); margin-bottom: 20px; }
.checkbox-row input { accent-color: var(--navy); margin-top: 3px; }

/* ---------------- Footer ---------------- */
footer.site-footer { background: var(--bg); color: var(--ink-soft); padding: 64px 0 0; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr; gap: 40px; padding-bottom: 40px; }
.footer-brand .brand { margin-bottom: 14px; }
.footer-grid p { font-size: 13px; line-height: 1.7; white-space: nowrap; }
.footer-col h4 { color: var(--ink); font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 20px; font-weight: 700; }
.footer-col ul li { margin-bottom: 12px; font-size: 13px; }
.footer-col ul li a:hover { color: var(--navy); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 20px 0; font-size: 11.5px; border-top: 1px solid var(--line); }
.footer-bottom a { margin-left: 24px; }
.footer-bottom a:hover { color: var(--navy); }

/* ---------------- Responsive ---------------- */
@media (max-width: 1100px) {
  nav.main-nav { display: none; }
  .utility-inner { font-size: 11px; }
  .hero h1 { font-size: 32px; }
  .hero { min-height: 600px; padding: 0 0 90px; align-items: flex-end; }
  .hero-photo {
    width: 100%; left: 0; top: 0; bottom: 0; height: 100%;
    -webkit-mask-image: none; mask-image: none;
  }
  .hero-photo::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(0deg, rgba(16,26,44,0.4) 0%, rgba(16,26,44,0.02) 45%, rgba(16,26,44,0) 65%);
  }
  .hero-boxes { max-width: 100%; }
  .hero-box { background: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(255,255,255,0.74)); padding: 26px 24px; }
  .hero-box-title { position: relative; z-index: 2; box-shadow: var(--shadow-lg); margin-bottom: 14px; transition-delay: 1.1s; transform: translateX(40px); }
  .hero-box-title.in-view { transform: none; }
  .hero-box-body { position: relative; z-index: 1; margin-top: 0; padding-top: 26px; box-shadow: var(--shadow-md); background: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(255,255,255,0.74)); transition-delay: 1.38s; transform: translateX(-40px); }
  .hero-box-body.in-view { transform: none; }
  .about-split { grid-template-columns: 1fr; gap: 32px; }
  .about-split > * { min-width: 0; }
  .story-media { margin: 0; min-width: 0; }
  .story-media .slideshow {
    display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
    padding: 4px 4px 12px; margin: 0 -4px;
  }
  .story-media .slide {
    position: static !important; flex: 0 0 auto !important; width: calc(100vw - 103px) !important; scroll-snap-align: center;
    opacity: 1 !important; transition: none !important;
  }
  .story-media .slide-nav, .story-media .slide-dots { display: none; }
  .testimonial-grid {
    display: flex; grid-template-columns: none; gap: 16px;
    overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
    padding: 4px 4px 12px; margin: 0 -4px;
  }
  .testimonial-item { flex: 0 0 auto; width: calc(100vw - 103px); scroll-snap-align: center; }
  .story-media, .story-media .slideshow, .story-media .slide { min-height: 260px; }
  .services-grid {
    grid-template-columns: repeat(2, 1fr); gap: 28px 16px;
    margin: 0 -32px 32px; padding: 0 20px;
  }
  .services-slide { display: contents; }
  .advantages-grid { grid-template-columns: 1fr; gap: 28px; }
  .advantages-band { margin: 0 -32px; padding: 36px 28px; }
  .contact-grid { grid-template-columns: 1fr; background: transparent; border: none; gap: 20px; }
  .contact-info-card, .form-card { border: 1px solid var(--line); }
  .form-card { order: 1; }
  .contact-info-card { order: 2; margin: 0 -32px; }
  .contact-hero { min-height: 520px; padding: 0 0 90px; align-items: flex-end; }
  .contact-hero-photo {
    width: 100%; left: 0; top: 0; bottom: 0; height: 100%;
    -webkit-mask-image: none; mask-image: none;
  }
  .contact-hero-photo::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(0deg, rgba(16,26,44,0.4) 0%, rgba(16,26,44,0.02) 45%, rgba(16,26,44,0) 65%);
  }
  .contact-hero-boxes { max-width: 100%; margin-left: 0; }
  .contact-hero-boxes .hero-box { background: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(255,255,255,0.74)); padding: 26px 24px; box-shadow: var(--shadow-lg); }
  .contact-hero-boxes .hero-box-title { margin-bottom: 14px; transition-delay: 0s; transform: translateX(40px); }
  .contact-hero-boxes .hero-box-title.in-view { transform: none; }
  .contact-hero-boxes .hero-box-body { margin-top: 0; padding-top: 26px; background: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(255,255,255,0.74)); box-shadow: var(--shadow-md); transition-delay: 0.28s; transform: translateX(-40px); }
  .contact-hero-boxes .hero-box-body.in-view { transform: none; }

  .stats-grid.reveal { transition: none; }
  .stat-item { opacity: 0; transform: translateY(22px); transition: opacity 0.8s cubic-bezier(.16,.84,.44,1), transform 0.8s cubic-bezier(.16,.84,.44,1); }
  .stats-grid.in-view .stat-item:nth-child(1) { transition-delay: 0.05s; }
  .stats-grid.in-view .stat-item:nth-child(2) { transition-delay: 0.16s; }
  .stats-grid.in-view .stat-item:nth-child(3) { transition-delay: 0.27s; }
  .stats-grid.in-view .stat-item:nth-child(4) { transition-delay: 0.38s; }
  .stats-grid.in-view .stat-item { opacity: 1; transform: none; }

  .advantages-band.reveal { opacity: 1; transform: none; transition: none; }
  .advantages-band .advantage { opacity: 0; transform: translateY(24px); transition: opacity 0.8s cubic-bezier(.16,.84,.44,1), transform 0.8s cubic-bezier(.16,.84,.44,1); }
  .advantages-band.in-view .advantage:nth-child(1) { transition-delay: 0.05s; }
  .advantages-band.in-view .advantage:nth-child(2) { transition-delay: 0.18s; }
  .advantages-band.in-view .advantage:nth-child(3) { transition-delay: 0.31s; }
  .advantages-band.in-view .advantage { opacity: 1; transform: none; }

  #kontakt-form { overflow-x: hidden; }
  .contact-grid.reveal { opacity: 1; transform: none; transition: none; }
  .contact-grid .form-card, .contact-grid .contact-info-card { opacity: 0; transition: opacity 0.9s cubic-bezier(.16,.84,.44,1), transform 0.9s cubic-bezier(.16,.84,.44,1); }
  .contact-grid .form-card { transform: translateX(40px); transition-delay: 0s; }
  .contact-grid .contact-info-card { transform: translateX(-40px); transition-delay: 0.24s; }
  .contact-grid.in-view .form-card, .contact-grid.in-view .contact-info-card { opacity: 1; transform: none; }
  .form-card { margin: 0 -32px; }
  .about-content { margin: 0 -32px; padding: 36px 32px; border-left: none; border-right: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; align-items: start; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-col h4 { line-height: 1; }
  .form-row-2 { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .nav-inner { padding: 10px 20px; gap: 12px; }
  .brand-full { height: 50px; }
  .brand { gap: 8px; }
  .brand-tagline { font-size: 10px; }
  .nav-right { gap: 10px; }
  .lang-toggle { font-size: 10px; }
  .lang-toggle button { padding: 6px 9px; }
  .nav-right > a.btn { display: none; }
  .utility-inner { overflow: hidden; }
  .utility-track { display: flex; width: max-content; flex-shrink: 0; animation: utility-marquee 16s linear infinite; }
  .utility-set { display: flex; flex-shrink: 0; align-items: center; gap: 18px; padding-right: 18px; }
  .utility-set[aria-hidden="true"] { display: flex; }
  @keyframes utility-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
  @media (prefers-reduced-motion: reduce) { .utility-track { animation: none; } }

  .eyebrow { font-size: 10px; }
  .hero h1 { font-size: 25px; }
  .hero p.lead { font-size: 13.5px; color: var(--navy); }
  .hero-actions { flex-wrap: wrap; }
  .hero-actions .btn { font-size: 12.5px; padding: 11px 18px; }

  .section-center h2 { font-size: 22px; }
  .section { padding: 56px 0; }
  .section-tight { padding: 44px 0; }

  .about-content h3 { font-size: 19px; }
  .about-content p { font-size: 14px; }
  .story-media, .story-media .slideshow, .story-media .slide { min-height: 220px; }
  .story-media-badge { right: 57px; }
  .story-media-badge img { height: 56px; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-num { font-size: 24px; }
  .stat-label { font-size: 10.5px; }

  .contact-hero-boxes h2 { font-size: 24px; }
  .contact-hero-boxes p { font-size: 13.5px; color: var(--navy); }
  .hero-box { padding: 26px 24px; }
  .hero-box-body { margin-top: 0; padding-top: 26px; }
  .contact-info-card, .form-card { padding: 28px 24px; }

  .footer-brand .brand-full { height: 72px; }
  .cta-band { padding: 28px 22px; }
  .cta-band h3 { font-size: 19px; }

  .service-item h4 { font-size: 14px; }
  .service-item p { font-size: 12.5px; }
  .check-list li { font-size: 13.5px; }
  .testimonial-item .quote { font-size: 14px; }
  .testimonial-meta { font-size: 10.5px; }
}
