:root {
  --navy: #0E2A52;
  --navy-deep: #091D3B;
  --blue: #1D62D6;
  --tint: #EEF4FC;
  --tint-2: #DCE8F8;
  --white: #FFFFFF;
  --ink: #142238;
  --muted: #56657A;
  --radius-lg: 24px;
  --radius: 16px;
  --shadow: 0 12px 32px rgba(14, 42, 82, 0.08);
  --font: "Manrope", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; font: 400 1rem/1.65 var(--font); color: var(--ink); background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--font); color: var(--navy); line-height: 1.15; letter-spacing: -0.02em; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 24px; border-radius: 10px;
  font: 700 .975rem/1.2 var(--font); text-decoration: none;
  border: 2px solid transparent; transition: background .15s, color .15s, border-color .15s;
}
.btn svg { width: 18px; height: 18px; fill: currentColor; }
.btn-sm { padding: 10px 18px; }
.btn-white { background: var(--white); color: var(--navy); }
.btn-white:hover { background: var(--tint); }
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--navy); }
.btn-outline { border-color: var(--tint-2); color: var(--navy); }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }
.btn-ghost { border-color: rgba(255, 255, 255, .6); color: var(--white); }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); border-color: var(--white); }

/* Hero: rounded photo panel with the header on top */
.hero-shell {
  position: relative; margin: 16px; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--navy); color: var(--white);
}
.site-header {
  position: relative; z-index: 3;
  display: flex; align-items: center; gap: 32px;
  max-width: 1180px; margin: 0 auto; padding: 22px 24px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font: 800 1.2rem/1 var(--font); letter-spacing: .06em; color: var(--white); text-decoration: none;
}
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { color: rgba(255, 255, 255, .9); text-decoration: none; font-weight: 600; font-size: .95rem; }
.nav a:hover { color: var(--white); }
.nav-toggle { display: none; }

.hero { position: relative; min-height: min(620px, 78vh); display: flex; align-items: center; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 60%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(9, 29, 59, .92) 0%, rgba(9, 29, 59, .72) 45%, rgba(9, 29, 59, .2) 100%);
}
.hero-content { position: relative; z-index: 2; width: 100%; max-width: 1180px; margin: 0 auto; padding: 40px 24px 96px; }
.hero-content > * { max-width: 600px; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px 7px 10px; border-radius: 999px;
  background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .25);
  font-size: .875rem; font-weight: 600;
}
.badge svg { width: 16px; height: 16px; fill: #FFD25A; }
.hero h1 { margin-top: 20px; color: var(--white); font-size: clamp(2.2rem, 5vw, 3.75rem); font-weight: 700; }
.hero-sub { margin-top: 18px; font-size: 1.125rem; color: rgba(255, 255, 255, .88); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* House-shaped feature tiles */
.features { padding: 72px 0 88px; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature {
  background: var(--tint); text-align: center;
  padding: 72px 20px 36px;
  clip-path: polygon(50% 0, 100% 26%, 100% 100%, 0 100%, 0 26%);
  border-radius: 0 0 var(--radius) var(--radius);
}
.feature p { margin-top: 18px; font-weight: 700; color: var(--navy); line-height: 1.35; }
.icon-dot {
  display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: var(--blue); box-shadow: 0 0 0 8px rgba(29, 98, 214, .12);
}
.icon-dot svg { width: 26px; height: 26px; fill: none; stroke: var(--white); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Sections */
.section { padding: 88px 0; }
.section-tint { background: var(--tint); }
.section-title { text-align: center; font-size: clamp(1.75rem, 3.4vw, 2.5rem); font-weight: 700; }
.section-sub { text-align: center; margin: 12px auto 48px; color: var(--muted); font-size: 1.05rem; max-width: 46ch; }

/* Service cards with photos */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.service-img { position: relative; }
.service-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.tag {
  position: absolute; top: 14px; right: 14px;
  padding: 6px 12px; border-radius: 999px; background: var(--white);
  font-size: .8rem; font-weight: 700; color: var(--navy);
}
.service-body { padding: 24px 24px 28px; }
.service h3 { font-size: 1.2rem; }
.service p { margin-top: 10px; color: var(--muted); }

/* Prices */
.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: center; }
.price-card {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px;
  padding: 40px 28px; border-radius: var(--radius); background: var(--white);
  border: 1px solid var(--tint-2);
}
.price-card h3 { font-size: 1.1rem; }
.price { font-size: 3rem; font-weight: 800; color: var(--navy); line-height: 1.1; letter-spacing: -0.03em; }
.price-ask { font-size: 1.75rem; padding: 6px 0; }
.price-card > p:not(.price) { color: var(--muted); }
.price-card .btn { margin-top: 14px; }
.price-card-main { background: var(--navy); border-color: var(--navy); padding: 56px 28px; box-shadow: 0 20px 40px rgba(14, 42, 82, .25); }
.price-card-main h3, .price-card-main .price { color: var(--white); }
.price-card-main > p:not(.price) { color: rgba(255, 255, 255, .8); }

/* Gallery */
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: auto auto; gap: 20px; }
.gallery figure { margin: 0; border-radius: var(--radius); overflow: hidden; }
.gallery img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 4; }
.gallery .g-wide { grid-row: span 2; }
.gallery .g-wide img { aspect-ratio: auto; }
.gallery figure:nth-child(4) { grid-column: 2 / 4; }
.gallery figure:nth-child(4) img { aspect-ratio: 16 / 9; object-position: center 70%; }

/* About */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-text .section-title { text-align: left; }
.about-text > p { margin: 18px 0 0; color: var(--muted); font-size: 1.075rem; }
.about-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.about-photos img { border-radius: var(--radius); }
.checks { list-style: none; padding: 0; margin: 24px 0 32px; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 34px; font-weight: 600; color: var(--navy); }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}

/* Call to action band */
#kontakt { padding-top: 0; }
.cta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px;
  padding: 48px; border-radius: var(--radius-lg); background: var(--navy); color: var(--white);
}
.cta h2 { color: var(--white); font-size: clamp(1.5rem, 3vw, 2.1rem); }
.cta p { margin-top: 10px; color: rgba(255, 255, 255, .82); }
.cta .actions { margin-top: 0; }

/* Footer */
.site-footer { background: var(--tint); padding: 64px 0 24px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand p { margin-top: 14px; color: var(--muted); max-width: 30ch; }
.brand-dark { color: var(--navy); }
.site-footer h3 { font-size: 1rem; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; color: var(--muted); }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--blue); }
.footer-bottom { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--tint-2); color: var(--muted); font-size: .875rem; }

/* Floating call button on phones */
.call-fab { display: none; }

@media (max-width: 1000px) {
  .services, .prices { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .about { grid-template-columns: 1fr; gap: 40px; }
  .about-photos { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  .hero-shell { margin: 10px; border-radius: 18px; }
  .header-cta { display: none; }
  .nav-toggle {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    margin-left: auto; width: 44px; height: 44px; padding: 0 9px;
    background: rgba(255, 255, 255, .14); border: 0; border-radius: 10px; cursor: pointer;
  }
  .nav-toggle span { height: 2px; background: var(--white); border-radius: 2px; }
  .nav {
    display: none; position: absolute; top: 80px; left: 16px; right: 16px;
    flex-direction: column; gap: 0; padding: 8px;
    background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
  }
  .nav.open { display: flex; }
  .nav a { color: var(--navy); padding: 14px 16px; border-radius: 10px; }
  .nav a:hover { background: var(--tint); color: var(--navy); }
  .hero { min-height: 0; }
  .hero::before { background: linear-gradient(180deg, rgba(9, 29, 59, .85) 0%, rgba(9, 29, 59, .7) 100%); }
  .hero-content { padding: 24px 24px 56px; }
  .section { padding: 64px 0; }
  .features { padding: 48px 0 56px; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery .g-wide { grid-column: 1 / -1; grid-row: auto; }
  .gallery .g-wide img { aspect-ratio: 4 / 3; }
  .gallery figure:nth-child(4) { grid-column: 1 / -1; }
  .cta { padding: 32px 24px; }
  .call-fab {
    display: grid; place-items: center; position: fixed; right: 16px; bottom: 16px; z-index: 30;
    width: 60px; height: 60px; border-radius: 50%;
    background: var(--blue); box-shadow: 0 10px 24px rgba(14, 42, 82, .35);
  }
  .call-fab svg { width: 26px; height: 26px; fill: var(--white); }
}

@media (max-width: 520px) {
  .feature-grid { gap: 12px; }
  .feature { padding: 56px 10px 24px; }
  .feature p { font-size: .9rem; }
  .icon-dot { width: 48px; height: 48px; }
  .about-photos, .footer-grid { grid-template-columns: 1fr; }
  .actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Brands */
.brands {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px;
}
.brands li {
  display: flex; align-items: center; justify-content: center;
  padding: 8px; border-radius: var(--radius);
  border: 1px solid var(--tint-2); background: var(--white); overflow: hidden;
}
.brands img { width: 100%; max-width: 220px; aspect-ratio: 5 / 2; object-fit: contain; }

@media (max-width: 1000px) {
  .brands { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 520px) {
  .brands { grid-template-columns: 1fr 1fr; gap: 12px; }
  .brands li:last-child { grid-column: 1 / -1; }
  .brands li:last-child img { max-width: calc(50% - 6px); }
}

.price .from { font-size: 1.1rem; font-weight: 600; letter-spacing: 0; vertical-align: .55em; margin-right: 2px; opacity: .75; }
