/* CT-001 Berg en See Elektries — page-local Design Gate Shell A
   Palette from logo: leaf green + sea blue + ink (NOT Zalin charcoal/orange)
   Fonts: Archivo (display) + Public Sans (body)
   Self-contained — does NOT depend on ../shared/styles.css */

:root {
  --green: #4a8c1a;
  --green-hover: #3d7615;
  --green-soft: #eef6e6;
  --sea: #3a9bc5;
  --sea-deep: #247a9e;
  --ink: #141414;
  --muted: #5a6368;
  --line: #dde3e0;
  --soft: #f3f7f4;
  --white: #ffffff;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 12px 40px rgba(20, 20, 20, 0.1);
  --banner-h: 36px;
  --cta-bar-h: 64px;
  --font-display: "Archivo", system-ui, sans-serif;
  --font-body: "Public Sans", system-ui, sans-serif;
  --max: 1100px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--white);
  padding-bottom: calc(var(--cta-bar-h) + 1rem);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sea-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--green); }
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 650;
  letter-spacing: -0.025em;
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 0.6rem;
}
p { margin: 0 0 0.85rem; }
.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.demo-banner {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--ink);
  color: #f0f0f0;
  text-align: center;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.55rem 1rem;
  min-height: var(--banner-h);
}

.topbar {
  position: sticky;
  top: var(--banner-h);
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 1rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.topbar-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 650;
  font-size: 0.9rem;
}
.topbar-brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 50%;
}
.topbar-name { display: none; }
@media (min-width: 520px) {
  .topbar-name { display: inline; }
}
.topbar-actions { display: flex; gap: 0.5rem; flex-shrink: 0; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--green);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--green-hover);
  color: var(--white);
}
.btn-secondary {
  background: var(--white);
  color: var(--ink);
  border-color: var(--line);
}
.btn-secondary:hover {
  border-color: var(--sea);
  color: var(--ink);
}
.btn-sea {
  background: var(--sea);
  color: var(--white);
}
.btn-sea:hover {
  background: var(--sea-deep);
  color: var(--white);
}
.btn-lg {
  padding: 0.85rem 1.35rem;
  font-size: 1rem;
}

.hero-photo {
  position: relative;
  min-height: clamp(420px, 72vh, 640px);
  display: flex;
  align-items: flex-end;
  color: var(--white);
  overflow: hidden;
  padding-top: 1rem;
}
.hero-photo__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
.hero-photo__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(20, 20, 20, 0.28) 0%,
    rgba(20, 20, 20, 0.5) 45%,
    rgba(20, 20, 20, 0.9) 100%
  );
}
.hero-photo__content {
  position: relative;
  z-index: 1;
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  padding: 2.5rem 0 2.75rem;
}
.hero-kicker {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9fd46a;
  margin-bottom: 0.75rem;
}
.hero-photo h1 {
  color: var(--white);
  font-size: clamp(1.85rem, 5.5vw, 3.05rem);
  max-width: 18ch;
  margin-bottom: 0.85rem;
}
.hero-lead {
  color: rgba(255, 255, 255, 0.88);
  max-width: 44ch;
  font-size: 1.1rem;
  margin-bottom: 1.35rem;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.1rem;
}
.hero-meta {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.72);
}

section { padding: 3.25rem 0; }
section.soft { background: var(--soft); }
.section-title {
  font-size: clamp(1.45rem, 3vw, 1.85rem);
  margin-bottom: 0.4rem;
}
.section-sub {
  color: var(--muted);
  max-width: 52ch;
  margin-bottom: 1.75rem;
}

.gallery {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .gallery { grid-template-columns: 1fr 1fr; }
}
.gallery figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--soft);
  box-shadow: var(--shadow);
}
.gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.gallery figcaption {
  padding: 0.75rem 1rem 1rem;
  font-size: 0.875rem;
  color: var(--muted);
}

.services {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .services { grid-template-columns: 1fr 1fr; }
}
.services li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1.1rem 1.2rem;
}
.services strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 650;
  color: var(--ink);
  margin-bottom: 0.25rem;
}
.services span {
  color: var(--muted);
  font-size: 0.95rem;
}

.areas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.areas span {
  background: var(--green-soft);
  color: var(--green-hover);
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
}

.grid-2 {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.4rem;
}
.card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}
.card p:last-child { margin-bottom: 0; }

.about-row {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}
@media (min-width: 720px) {
  .about-row { grid-template-columns: auto 1fr; }
}
.about-logo {
  width: 120px;
  height: 120px;
  object-fit: contain;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--white);
  padding: 0.35rem;
}

.cta-band {
  background: var(--green-soft);
  text-align: center;
}
.cta-band .section-sub { margin-inline: auto; }
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.site-foot {
  padding: 1.5rem 0 2rem;
  font-size: 0.875rem;
  color: var(--muted);
  text-align: center;
  border-top: 1px solid var(--line);
}

.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 95;
  display: flex;
  gap: 0.5rem;
  padding: 0.65rem 0.85rem calc(0.65rem + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px rgba(20, 20, 20, 0.08);
}
.sticky-cta .btn { flex: 1; }
@media (min-width: 860px) {
  .sticky-cta { display: none; }
  body { padding-bottom: 0; }
}
