:root {
  --site-max: 1200px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--color-background);
  color: var(--color-text-primary);
}

h1,
h2,
h3,
h4,
h5,
h6,
.font-display {
  font-family: var(--font-display);
}

img,
input,
textarea,
select,
button,
a,
.card,
.panel,
.tile {
  border-radius: 0;
}

.content-card,
.niche-tile,
.service-card,
.project-card,
.info-panel {
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

header,
nav,
.nav-shell,
.navbar {
  box-shadow: none;
}

.btn-pill,
.button-pill,
.cta-pill,
form button,
a.cta-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  border-radius: 9999px;
  background: var(--color-primary);
  color: #ffffff;
  padding: 0.85rem 1.3rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  border: 1px solid var(--color-primary);
  box-shadow: none;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.btn-pill:hover,
.button-pill:hover,
.cta-pill:hover,
form button:hover,
a.cta-link:hover {
  transform: scale(1.02);
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  border-radius: 9999px;
  background: transparent;
  color: var(--color-text-primary);
  padding: 0.85rem 1.3rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  border: 1px solid var(--color-secondary);
  transition: transform 180ms ease, border-color 180ms ease, color 180ms ease, background-color 180ms ease;
}

.btn-secondary:hover {
  transform: scale(1.02);
  background: rgba(96, 171, 191, 0.08);
  color: var(--color-primary-dark);
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid rgba(32, 21, 41, 0.18);
  background: var(--color-surface);
  color: var(--color-text-primary);
  padding: 0.9rem 1rem;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 2px rgba(115, 83, 143, 0.12);
}

a {
  transition: color 180ms ease, opacity 180ms ease, transform 180ms ease;
}

a:hover {
  color: var(--color-primary-dark);
}

.section-rule {
  width: 60%;
  margin: 0 auto;
  border: 0;
  border-top: 1px solid var(--color-secondary);
  opacity: 0.65;
}

.alt-surface {
  background: var(--color-surface);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 2.5rem;
  align-items: end;
}

.niche-tile,
.service-card,
.project-card,
.info-panel {
  border: 1px solid rgba(32, 21, 41, 0.1);
  background: var(--color-surface);
}

.language-switch a {
  border-bottom: 1px solid transparent;
}

.language-switch a:hover,
.language-switch a[aria-current="page"] {
  border-color: var(--color-primary);
  color: var(--color-primary-dark);
}

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 50;
  background: var(--color-surface);
  border: 1px solid rgba(32, 21, 41, 0.12);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  padding: 1rem;
}

.cookie-banner.hidden {
  display: none;
}

.map-frame {
  width: 100%;
  min-height: 320px;
  border: 1px solid rgba(32, 21, 41, 0.12);
}

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