@font-face {
  font-family: 'Ebrima';
  src: url('/assets/fonts/ebrima.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --blue: #004F9F;
  --blue-dark: #0b2f5e;
  --blue-pale: #eef4fb;
  --logo-gray: #7a7a72;
  --gray-900: #1a1d23;
  --gray-600: #4a5368;
  --gray-400: #8a95a8;
  --gray-200: #e4e8f0;
  --gray-50: #f8f9fc;
  --white: #ffffff;

  --nav-h: 90px;
  --max-w: 1664px;
  --pad-x: 3rem;
  --sec-py: 7rem;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --t: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Ebrima', 'Segoe UI', system-ui, sans-serif;
  color: var(--gray-600);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3 { font-weight: 800; color: var(--gray-900); line-height: 1.08; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
address { font-style: normal; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 2000;
  background: var(--blue); color: var(--white); padding: 0.75rem 1.25rem;
}
.skip-link:focus { top: 1rem; }

.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 var(--pad-x); }

/* Navigation */
.navbar {
  position: fixed; inset: 0 0 auto; z-index: 1000;
  height: var(--nav-h);
  background: rgba(255, 255, 255, 0.62);
  border-bottom: 1px solid rgba(200, 210, 230, 0.2);
  transition: background var(--t), box-shadow var(--t), border-color var(--t);
}
.navbar.scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-color: var(--gray-200);
  box-shadow: 0 2px 20px rgba(14, 30, 80, 0.06);
}
.navbar-inner {
  max-width: var(--max-w); height: 100%;
  margin: 0 auto; padding: 0 var(--pad-x);
  display: flex; align-items: center; gap: 3.5rem;
}
.wordmark { flex-shrink: 0; transition: transform 0.4s ease; }
.wordmark img { height: 60px; width: auto; }
.wordmark:hover { transform: translateY(-2px); }
.navbar-right { margin-left: auto; display: flex; align-items: center; }
.navbar-nav { display: flex; align-items: center; }
.navbar-nav a, .navbar-phone {
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.5rem 1.1rem;
  font-size: 1.05rem; font-weight: 700; letter-spacing: 0.04em;
  color: var(--gray-600);
  transition: color var(--t);
}
.navbar-nav a:hover, .navbar-phone:hover { color: var(--blue); }
.navbar-phone { font-weight: 600; letter-spacing: 0.02em; }
.navbar-phone svg { width: 0.95rem; height: 0.95rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.navbar-sep { width: 1px; height: 14px; background: var(--gray-200); margin: 0 0.5rem; }

/* Hero */
.hero {
  position: relative;
  height: 100vh; height: 100svh; min-height: 560px;
  display: flex; align-items: flex-end;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 35%;
  animation: kenBurns 14s ease-in-out infinite;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom,
    rgba(10, 20, 60, 0) 0%,
    rgba(10, 20, 60, 0) 35%,
    rgba(10, 20, 60, 0.45) 65%,
    rgba(10, 20, 60, 0.78) 100%);
}
.hero-content {
  position: relative; z-index: 1;
  width: 100%; max-width: var(--max-w);
  margin: 0 auto; padding: 0 var(--pad-x) 9rem;
}
.hero-title {
  font-size: clamp(1.5rem, 2.6vw, 2.5rem);
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase; letter-spacing: 0.04em; line-height: 1.1;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.2);
  margin-bottom: 1.25rem;
}
.hero-sub {
  font-size: clamp(0.95rem, 1.4vw, 1.2rem);
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.65;
  max-width: 60ch;
}
.hero-content > * { animation: heroIn 1.1s var(--ease) both; }
.hero-content > :nth-child(2) { animation-delay: 0.12s; }
.hero-content > :nth-child(3) { animation-delay: 0.24s; }
@keyframes kenBurns { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.06); } }
@keyframes heroIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

/* Sektions-System */
.section { position: relative; padding: var(--sec-py) 0; background: var(--white); }
.section--tint { background: var(--gray-50); }
.section--wm { overflow: hidden; }
.section--wm .container { position: relative; z-index: 1; }

.section-label {
  display: inline-flex; align-items: center; gap: 0.75rem;
  font-size: 0.6rem; font-weight: 700;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--gray-600);
  margin-bottom: 0.875rem;
}
.section-label::before { content: ''; width: 1.75rem; height: 1px; background: var(--blue); flex-shrink: 0; }
.section-label--light { color: rgba(255, 255, 255, 0.65); font-size: 0.65rem; }
.section-label--light::before { width: 2rem; background: rgba(255, 255, 255, 0.5); }

.section-title {
  font-size: clamp(1.875rem, 3vw, 2.75rem);
  font-weight: 900;
  text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--blue-dark);
  margin-bottom: 1.625rem;
}
.section-body { font-size: 0.9375rem; line-height: 1.85; color: var(--blue-dark); max-width: 620px; }
.section-body + .section-body { margin-top: 0.875rem; }
.section-callout {
  font-size: 0.9375rem; line-height: 1.85; color: var(--blue-dark);
  border-left: 2px solid var(--blue);
  padding: 0.5rem 0 0.5rem 1rem;
  margin-top: 1.75rem;
  max-width: 620px;
}
.btn-outline {
  display: inline-flex; align-items: center;
  margin-top: 2rem; padding: 0.75rem 1.75rem;
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gray-900);
  border: 1.5px solid var(--gray-900); border-radius: 2px;
  transition: background var(--t), color var(--t), border-color var(--t);
}
.btn-outline:hover { background: var(--blue); color: var(--white); border-color: var(--blue); }

.section-wm {
  position: absolute; z-index: 0;
  width: 760px; height: auto;
  pointer-events: none; user-select: none;
  mix-blend-mode: multiply;
  opacity: 0.3;
  transform: translateY(-50%);
}
.section-wm--left { left: -220px; top: 70%; }
.section-wm--right { right: -220px; top: 75%; }

.two-col {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 6rem; align-items: center;
}
.two-col--top { align-items: start; }
.media img { width: 100%; height: 480px; object-fit: cover; border-radius: 2px; }

/* Split (wie Büro-Sektion bei Löser) */
.split { display: grid; grid-template-columns: 55% 45%; min-height: 540px; }
.split-media { position: relative; overflow: hidden; }
.split-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.split-content {
  background: var(--gray-50);
  padding: 6rem 4.5rem 6rem 4rem;
  display: flex; flex-direction: column; justify-content: center;
}

/* Angebot */
.section-head { margin-bottom: 3.5rem; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.feature {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-top: 2px solid var(--blue);
  border-radius: 2px;
  padding: 2.25rem 2rem 2.5rem;
  transition: transform var(--t), box-shadow var(--t), background var(--t);
}
.feature:hover { background: var(--white); transform: translateY(-4px); box-shadow: 0 16px 36px rgba(14, 30, 80, 0.08); }
.feature-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 3.25rem; height: 3.25rem;
  background: var(--blue-pale); color: var(--blue);
  border-radius: 2px;
  margin-bottom: 1.5rem;
}
.feature-icon svg { width: 1.5rem; height: 1.5rem; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 {
  font-size: 1.05rem; font-weight: 900;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--blue-dark);
  margin-bottom: 0.75rem;
}
.feature p { font-size: 0.9375rem; line-height: 1.75; color: var(--gray-600); }
.angebot-media { margin-top: 5rem; }
.angebot-media img { width: 100%; height: clamp(220px, 28vw, 420px); object-fit: cover; border-radius: 2px; }

/* Preise */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin: 1.5rem 0 2.5rem; }
.price {
  display: flex; flex-direction: column;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-top: 2px solid var(--blue);
  border-radius: 2px;
  padding: 2.25rem 2rem 2.5rem;
  transition: transform var(--t), box-shadow var(--t);
}
.price:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(14, 30, 80, 0.08); }
.price h3 {
  font-size: 1.05rem; font-weight: 900;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--blue-dark);
}
.price-days {
  display: inline-flex; align-self: flex-start;
  margin-top: 0.75rem; padding: 0.4rem 0.75rem;
  background: var(--blue-pale); color: var(--blue);
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  border-radius: 2px;
}
.price-value {
  margin-top: 2rem; padding-top: 1.5rem;
  border-top: 1px solid var(--gray-200);
  font-size: 2.5rem; font-weight: 800; color: var(--blue-dark); line-height: 1;
}
.price-value span { font-size: 0.9375rem; font-weight: 400; color: var(--gray-600); }
.price-note { margin-top: 1.5rem; font-size: 0.9rem; line-height: 1.7; color: var(--gray-600); }

/* Kontakt */
.kontakt-actions { display: flex; flex-direction: column; gap: 1rem; margin-top: 0.5rem; }
.kontakt-action {
  display: flex; align-items: center; gap: 1.25rem;
  padding: 1.25rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-left: 3px solid var(--blue);
  border-radius: 2px;
  transition: background var(--t), border-color var(--t), transform var(--t), box-shadow var(--t);
}
.kontakt-action:hover { background: var(--blue); border-color: var(--blue); transform: translateY(-2px); box-shadow: 0 14px 30px rgba(0, 79, 159, 0.18); }
.kontakt-action-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 3rem; height: 3rem; flex-shrink: 0;
  background: var(--blue-pale); color: var(--blue); border-radius: 2px;
  transition: background var(--t), color var(--t);
}
.kontakt-action-icon svg { width: 1.35rem; height: 1.35rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.kontakt-action strong {
  display: block; margin-top: 0.2rem;
  font-size: clamp(1.15rem, 2vw, 1.6rem); font-weight: 800;
  color: var(--blue-dark); overflow-wrap: anywhere;
  transition: color var(--t);
}
.kontakt-action:hover strong, .kontakt-action:hover .kontakt-label { color: var(--white); }
.kontakt-action:hover .kontakt-action-icon { background: rgba(255, 255, 255, 0.15); color: var(--white); }
.kontakt-label {
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--blue);
  transition: color var(--t);
}
.kontakt-details {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2rem;
  margin-top: 2.5rem; padding-top: 2rem;
  border-top: 1px solid var(--gray-200);
}
.kontakt-details p { margin-top: 0.4rem; font-size: 0.9375rem; line-height: 1.75; color: var(--blue-dark); }
.kontakt-details a { overflow-wrap: anywhere; transition: color var(--t); }
.kontakt-details a:hover { color: var(--blue); }
.media--tall img { height: 640px; }

/* Footer */
.footer { background: var(--gray-50); border-top: 1px solid var(--gray-200); padding-top: 3rem; }
.footer-inner { display: flex; flex-direction: column; gap: 2rem; padding-bottom: 2rem; }
.footer-inner .section-label { margin-bottom: 0; }
.footer-cols { display: flex; flex-wrap: wrap; gap: 2rem 5rem; }
.footer-head {
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 1.25rem;
}
.footer-links, .footer-address { display: flex; flex-direction: column; gap: 0.625rem; font-size: 1.05rem; color: var(--gray-600); line-height: 1.4; }
.footer-links a { width: fit-content; transition: color var(--t); }
.footer-links a:hover { color: var(--blue); }
.footer-address strong { color: var(--gray-900); font-weight: 700; letter-spacing: 0.02em; }
.footer-divider { display: flex; align-items: center; gap: 1.25rem; }
.footer-divider span { flex: 1; height: 1px; background: var(--gray-200); }
.footer-divider img { height: 16px; width: auto; opacity: 0.35; }
.footer-bottom { padding-top: 1.25rem; padding-bottom: 1.75rem; font-size: 0.8rem; color: var(--gray-400); }

/* Ampel */
.ampel {
  position: fixed; left: 1.5rem; bottom: 1.5rem; z-index: 900;
  display: flex; align-items: center; gap: 0.875rem;
  padding: 0.8rem 1.25rem 0.8rem 1rem;
  background: var(--white);
  border: 1px solid var(--gray-200); border-radius: 2px;
  box-shadow: 0 8px 28px rgba(14, 30, 80, 0.12);
}
.ampel-light { --c: #2fa84f; position: relative; width: 10px; height: 10px; border-radius: 50%; background: var(--c); flex-shrink: 0; }
.ampel-light::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: var(--c); animation: pulse 2s ease-out infinite; }
.ampel--gelb .ampel-light { --c: #e0a200; }
.ampel--rot .ampel-light { --c: #d0342c; }
.ampel-text { display: flex; flex-direction: column; line-height: 1.3; }
.ampel-text strong { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue-dark); }
.ampel-text span { font-size: 0.78rem; color: var(--gray-600); white-space: nowrap; }
@keyframes pulse { from { transform: scale(1); opacity: 0.6; } to { transform: scale(2.6); opacity: 0; } }

/* Schnellkontakt mobil */
.mobile-contact-bar {
  display: none;
  position: fixed; right: 0; top: 50%; z-index: 900;
  transform: translateY(-50%);
  flex-direction: column; gap: 3px;
}
.mobile-contact-btn {
  display: flex; align-items: center; justify-content: center;
  width: 42px; height: 42px;
  background: var(--blue); color: var(--white);
  border-radius: 5px 0 0 5px;
  box-shadow: -3px 2px 14px rgba(10, 25, 70, 0.28);
  transition: background var(--t), transform var(--t);
}
.mobile-contact-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.mobile-contact-btn:hover, .mobile-contact-btn:active { background: var(--blue-dark); transform: translateX(-3px); }

/* Unterseiten */
.subhero { padding: calc(var(--nav-h) + 4rem) 0 3rem; background: var(--gray-50); border-bottom: 1px solid var(--gray-200); }
.subhero .section-title { margin-bottom: 0; }
.legal { padding: 4rem 0 var(--sec-py); }
.legal .container > * { max-width: 900px; }
.legal h2 { font-size: 1.25rem; font-weight: 900; text-transform: uppercase; letter-spacing: 0.05em; color: var(--blue-dark); margin: 3rem 0 1rem; }
.legal h3 { font-size: 1.05rem; font-weight: 800; color: var(--blue-dark); margin: 2rem 0 0.75rem; }
.legal h4 { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue); margin: 1.5rem 0 0.5rem; }
.legal p, .legal li { font-size: 0.9375rem; line-height: 1.85; color: var(--blue-dark); }
.legal p + p { margin-top: 0.875rem; }
.legal ul { list-style: disc; padding-left: 1.25rem; margin: 0.75rem 0; }
.legal li + li { margin-top: 0.375rem; }
.legal a { color: var(--blue); overflow-wrap: anywhere; }
.legal a:hover { text-decoration: underline; }

/* Scroll-Reveal */
.js [data-anim] { opacity: 0; transform: translateY(24px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.js [data-anim].in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1200px) {
  :root { --sec-py: 5rem; --pad-x: 1.5rem; }
  .two-col { gap: 3.5rem; }
  .features { gap: 0 2.5rem; }
  .split-content { padding: 4.5rem 3rem; }
  .navbar-inner { gap: 2rem; }
  .navbar-nav a, .navbar-phone { padding: 0.5rem 0.75rem; font-size: 0.95rem; }
}
@media (max-width: 900px) {
  :root { --nav-h: 64px; --sec-py: 3.5rem; --pad-x: 1.25rem; }
  .navbar-nav, .navbar-sep { display: none; }
  .navbar-phone span { display: none; }
  .navbar-phone { padding: 0.6rem; border: 1px solid var(--gray-200); border-radius: 2px; }
  .wordmark img { height: 39px; }
  .two-col, .split { grid-template-columns: 1fr; }
    .split-media { aspect-ratio: 4 / 3; }
  .split-content { padding: 3.5rem var(--pad-x); }
  .media img { height: 300px; }
  .media--tall img { height: 320px; }
  .features { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .angebot-media { margin-top: 3rem; }
  .pricing { grid-template-columns: 1fr; gap: 1rem; }
  .hero-content { padding-bottom: 5rem; }
  .section-wm { width: 480px; }
}
@media (max-width: 600px) {
  :root { --sec-py: 3rem; --pad-x: 1rem; }
  .wordmark img { height: 33px; }
  .features, .kontakt-details { grid-template-columns: 1fr; }
  .feature { padding: 1.75rem 1.5rem; }
  .kontakt-action { padding: 1rem; gap: 1rem; }
  .ampel { left: 1rem; bottom: 1rem; }
}
@media (max-width: 900px) {
  .mobile-contact-bar { display: flex; }
}
/* svh statt % bzw. bottom: bleibt beim Ein-/Ausblenden der mobilen URL-Bar stabil */
@supports (height: 100svh) {
  .mobile-contact-bar { top: 50svh; }
  .ampel { bottom: auto; top: calc(100svh - 1.5rem); transform: translateY(-100%); }
  @media (max-width: 600px) {
    .ampel { top: calc(100svh - 1rem); }
  }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-anim] { opacity: 1; transform: none; }
}
