﻿:root {
  --bg: #f4f6f9;
  --surface: #ffffff;
  --surface-soft: #ecf1f7;
  --ink: #0d1728;
  --muted: #4a5a6f;
  --line: rgba(13, 23, 40, 0.12);
  --accent: #0f4d83;
  --accent-strong: #0b3860;
  --accent-soft: #dce9f8;
  --warm: #b77032;
  --radius: 24px;
  --shadow: 0 22px 45px rgba(10, 19, 34, 0.12);
  --section-gap: clamp(5rem, 10vw, 9rem);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at -10% -10%, rgba(37, 101, 166, 0.13), transparent 60%),
    radial-gradient(900px 500px at 120% 12%, rgba(183, 112, 50, 0.1), transparent 58%),
    var(--bg);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: min(1200px, 92vw);
  margin-inline: auto;
}

.scroll-progress {
  position: fixed;
  inset: 0 auto auto 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--accent), var(--warm));
  z-index: 120;
  transition: width 0.12s linear;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(244, 246, 249, 0.82);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, background-color 0.25s ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  background: rgba(244, 246, 249, 0.94);
}

.header-inner {
  min-height: 76px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: linear-gradient(160deg, var(--accent), #153c5f 62%, #071525);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
}

.brand-text {
  font-family: "Sora", "Manrope", sans-serif;
  font-size: 0.95rem;
  line-height: 1.1;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 0.16rem;
}

.brand-subtitle {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.site-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.site-nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.92rem;
  transition: color 0.2s ease;
}

.site-nav a:hover {
  color: var(--ink);
}

.nav-toggle {
  display: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: none;
  border-radius: 999px;
  padding: 0.88rem 1.4rem;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  box-shadow: 0 10px 25px rgba(14, 73, 123, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(14, 73, 123, 0.34);
  filter: brightness(1.03);
}

.btn:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
a:focus-visible,
button:focus-visible {
  outline: 2px solid rgba(15, 77, 131, 0.45);
  outline-offset: 2px;
}

.btn-small {
  padding: 0.68rem 1.1rem;
  font-size: 0.84rem;
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: none;
}

.btn-ghost:hover {
  box-shadow: none;
  border-color: rgba(13, 23, 40, 0.25);
}

.eyebrow {
  display: inline-block;
  margin: 0 0 0.85rem;
  font-size: 0.79rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
}

.section-head h2,
.hero h1,
h2,
h3 {
  font-family: "Sora", "Manrope", sans-serif;
  letter-spacing: -0.015em;
}

.hero {
  position: relative;
  padding: clamp(7rem, 14vw, 10rem) 0 clamp(4rem, 10vw, 7rem);
  overflow: clip;
}

.hero-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(800px 500px at 8% 18%, rgba(15, 77, 131, 0.22), transparent 63%),
    radial-gradient(650px 430px at 84% 30%, rgba(183, 112, 50, 0.16), transparent 64%);
  opacity: 0.8;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(2.2rem, 6vw, 5.5rem);
  align-items: center;
  grid-template-columns: 1.1fr 0.95fr;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(2.2rem, 5.5vw, 4.7rem);
  line-height: 1.04;
}

.hero-copy .lead {
  max-width: 64ch;
  margin: 1.5rem 0 0;
  color: var(--muted);
  font-size: clamp(1.03rem, 1.6vw, 1.2rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.hero-visual {
  position: relative;
  min-height: clamp(400px, 52vw, 620px);
  isolation: isolate;
  display: grid;
  place-items: center;
}

.hero-visual::before,
.hero-visual::after {
  content: "";
  position: absolute;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 20px 42px rgba(10, 19, 34, 0.1);
}

.hero-visual::before {
  width: 32%;
  height: 28%;
  left: 2%;
  top: 8%;
}

.hero-visual::after {
  width: 28%;
  height: 31%;
  right: 2%;
  bottom: 8%;
}

.hero-product-graphic {
  position: relative;
  z-index: 1;
  width: min(100%, 640px);
  filter: drop-shadow(0 24px 35px rgba(10, 20, 35, 0.16));
}

.visual-main {
  position: absolute;
  inset: 10% 8% 13% 5%;
  border-radius: clamp(22px, 3.5vw, 34px);
  background:
    linear-gradient(150deg, rgba(14, 45, 78, 0.92), rgba(13, 24, 40, 0.95)),
    linear-gradient(100deg, rgba(77, 136, 193, 0.2), rgba(183, 112, 50, 0.18));
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: clamp(1.1rem, 2.3vw, 1.8rem);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.visual-chip {
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 700;
  letter-spacing: 0.03em;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.18);
  min-height: clamp(88px, 10vw, 120px);
}

.visual-card {
  position: absolute;
  border-radius: 20px;
  border: 1px solid rgba(12, 24, 41, 0.12);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(232, 239, 248, 0.92));
  box-shadow: 0 22px 35px rgba(10, 20, 35, 0.13);
}

.visual-card-a {
  width: 36%;
  height: 29%;
  left: -3%;
  top: 7%;
}

.visual-card-b {
  width: 28%;
  height: 32%;
  right: -2%;
  bottom: 4%;
}

.intro {
  padding: 0 0 var(--section-gap);
}

.intro-inner {
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid rgba(13, 23, 40, 0.08);
  box-shadow: 0 14px 28px rgba(12, 20, 34, 0.07);
  padding: clamp(1.5rem, 4vw, 3rem);
}

.intro p {
  margin: 0;
  font-size: clamp(1.04rem, 1.7vw, 1.32rem);
  color: #2b3b52;
}

.services-wrap {
  padding: 0 0 var(--section-gap);
}

.service-panel {
  display: grid;
  align-items: center;
  gap: clamp(1.4rem, 3vw, 2.4rem);
  grid-template-columns: 1fr 1fr;
  margin-bottom: clamp(1.3rem, 2.2vw, 2rem);
  padding: clamp(1.3rem, 3vw, 2.2rem);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(13, 23, 40, 0.08);
}

.service-panel:last-child {
  margin-bottom: 0;
}

.service-panel.is-reverse .service-text {
  order: 2;
}

.service-panel.is-reverse .service-media {
  order: 1;
}

.service-index {
  margin: 0 0 0.2rem;
  font-weight: 800;
  color: rgba(15, 77, 131, 0.68);
}

.service-text h2 {
  margin: 0;
  font-size: clamp(1.55rem, 2.7vw, 2.45rem);
}

.service-text p {
  margin: 1rem 0 0;
  color: var(--muted);
  max-width: 58ch;
}

.text-link {
  display: inline-block;
  margin-top: 1.15rem;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  position: relative;
}

.text-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.2rem;
  width: 100%;
  height: 1px;
  background: currentColor;
}

.service-media {
  display: block;
  width: 100%;
  height: clamp(260px, 36vw, 420px);
  min-height: clamp(260px, 36vw, 420px);
  border-radius: 18px;
  border: 1px solid rgba(13, 23, 40, 0.1);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.24);
  object-fit: cover;
  object-position: center;
}

.media-fenster {
  object-position: 55% 50%;
}

.media-tueren {
  object-position: 50% 48%;
}

.media-tore {
  object-position: 50% 48%;
}

.media-zaeune {
  padding: clamp(0.5rem, 1.6vw, 1rem);
  object-fit: contain;
  background:
    linear-gradient(145deg, rgba(16, 42, 67, 0.94), rgba(6, 16, 27, 0.96)),
    radial-gradient(circle at 70% 20%, rgba(255, 255, 255, 0.2), transparent 45%);
}

.why-us,
.process,
.gallery,
.partners,
.contact {
  padding: 0 0 var(--section-gap);
}

.section-head {
  margin-bottom: clamp(1.4rem, 4vw, 2.6rem);
}

.section-head h2 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.7rem);
  line-height: 1.15;
}

.argument-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.9rem;
}

.argument-grid article {
  background: var(--surface);
  border: 1px solid rgba(13, 23, 40, 0.09);
  border-radius: 16px;
  padding: 1.1rem 1rem;
}

.argument-grid h3 {
  margin: 0;
  font-size: 1rem;
}

.argument-grid p {
  margin: 0.65rem 0 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.process-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.process-list li {
  position: relative;
  padding: 1.2rem;
  background: var(--surface);
  border: 1px solid rgba(13, 23, 40, 0.1);
  border-radius: 16px;
}

.process-list li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 800;
  font-size: 0.9rem;
}

.process-list h3 {
  margin: 0.88rem 0 0;
  font-size: 1.12rem;
}

.process-list p {
  margin: 0.65rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.gallery-grid {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.gallery-item {
  margin: 0;
  min-height: 220px;
  border-radius: 18px;
  border: 1px solid rgba(13, 23, 40, 0.1);
  background: #d9e1ec;
  position: relative;
  overflow: hidden;
}

.gallery-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.01);
}

.gallery-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(160deg, rgba(7, 20, 35, 0.16), rgba(10, 30, 51, 0.28)),
    radial-gradient(circle at 78% 24%, rgba(255, 255, 255, 0.2), transparent 44%);
  z-index: 1;
}

.gallery-item:nth-child(1),
.gallery-item:nth-child(6) {
  grid-column: span 7;
}

.gallery-item:nth-child(2),
.gallery-item:nth-child(5) {
  grid-column: span 5;
}

.gallery-item:nth-child(3),
.gallery-item:nth-child(4) {
  grid-column: span 6;
}

.gallery-item figcaption {
  position: absolute;
  inset: auto 0 0;
  margin: 0;
  padding: 0.85rem 1rem;
  color: #fff;
  font-weight: 600;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.38));
  z-index: 2;
}

.partners-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.partner-logo {
  margin: 0;
  min-height: 160px;
  border-radius: 18px;
  border: 1px solid rgba(13, 23, 40, 0.12);
  background: var(--surface);
  padding: clamp(1rem, 2.2vw, 1.8rem);
  display: grid;
  place-items: center;
}

.partner-logo img {
  width: auto;
  max-height: 88px;
  object-fit: contain;
}

.cta-band {
  padding-bottom: var(--section-gap);
}

.cta-band-inner {
  border-radius: var(--radius);
  padding: clamp(1.8rem, 5vw, 3rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background:
    linear-gradient(130deg, rgba(13, 33, 54, 0.94), rgba(15, 77, 131, 0.88));
  color: #fff;
  box-shadow: var(--shadow);
}

.cta-band h2 {
  margin: 0;
  font-size: clamp(1.6rem, 3.1vw, 2.9rem);
}

.cta-band .eyebrow {
  color: rgba(255, 255, 255, 0.72);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(1.6rem, 4vw, 3rem);
  align-items: start;
}

.contact-copy h2 {
  margin: 0;
  font-size: clamp(1.65rem, 3vw, 2.7rem);
}

.contact-copy p {
  color: var(--muted);
}

.contact-facts {
  margin: 1.3rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.4rem;
}

.contact-facts li {
  color: #2e4058;
  font-size: 0.95rem;
}

.contact-facts strong {
  color: var(--ink);
}

.contact-facts a {
  color: var(--accent);
}

.contact-form {
  background: var(--surface);
  border: 1px solid rgba(13, 23, 40, 0.1);
  border-radius: 20px;
  padding: clamp(1.1rem, 2.8vw, 2rem);
  display: grid;
  gap: 0.58rem;
}

.contact-form label {
  font-weight: 700;
  font-size: 0.9rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(13, 23, 40, 0.18);
  background: #fff;
  color: var(--ink);
  font: inherit;
  padding: 0.82rem 0.92rem;
}

.contact-form textarea {
  resize: vertical;
}

.form-hint {
  color: var(--muted);
  margin: 0.45rem 0 0.5rem;
  font-size: 0.88rem;
}

.form-hint a {
  color: var(--accent);
}

.form-feedback {
  margin: 0.15rem 0 0;
  min-height: 1.2em;
  font-weight: 600;
  color: var(--accent-strong);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.2rem 0 1.8rem;
  margin-top: 1.5rem;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-inner p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.footer-inner nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-inner nav a {
  font-size: 0.88rem;
  color: var(--muted);
  text-decoration: none;
}

.footer-inner nav a:hover {
  color: var(--ink);
}

.portal-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 0;
  border-radius: 999px;
  padding: 0.72rem 1rem;
  background: linear-gradient(135deg, var(--ink), var(--accent-strong));
  color: #fff;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 12px 26px rgba(9, 38, 64, 0.22);
}

.portal-trigger:hover,
.portal-trigger:focus-visible {
  background: linear-gradient(135deg, var(--accent-strong), var(--accent));
}

.portal-trigger-mark {
  width: 0.62rem;
  height: 0.62rem;
  border-radius: 999px;
  background: var(--warm);
  box-shadow: 0 0 0 4px rgba(183, 112, 50, 0.18);
}

.floating-cta {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 90;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.72rem 1rem;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  box-shadow: 0 10px 26px rgba(9, 38, 64, 0.3);
}

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 140;
  max-width: 880px;
  margin-inline: auto;
  border-radius: 16px;
  border: 1px solid rgba(13, 23, 40, 0.16);
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 35px rgba(9, 19, 34, 0.18);
  padding: 1rem 3rem 1rem 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.cookie-close,
.portal-close {
  border: 0;
  background: rgba(13, 23, 40, 0.08);
  color: var(--ink);
  border-radius: 999px;
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  font: inherit;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}

.cookie-close {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
}

.cookie-close:hover,
.portal-close:hover,
.cookie-close:focus-visible,
.portal-close:focus-visible {
  background: rgba(15, 77, 131, 0.14);
}

.cookie-banner p {
  margin: 0;
  color: #30425a;
  font-size: 0.88rem;
  flex: 1;
}

.cookie-banner a {
  color: var(--accent);
}

body.portal-open {
  overflow: hidden;
}

.portal-modal {
  position: fixed;
  inset: 0;
  z-index: 220;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.portal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 18, 31, 0.62);
  backdrop-filter: blur(10px);
}

.portal-panel {
  position: relative;
  width: min(520px, 100%);
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.68);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(236, 242, 249, 0.96)),
    radial-gradient(500px 240px at 12% 0%, rgba(15, 77, 131, 0.16), transparent 66%);
  box-shadow: 0 30px 70px rgba(4, 12, 24, 0.34);
  padding: clamp(1.4rem, 4vw, 2.2rem);
}

.portal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
}

.portal-panel-head {
  padding-right: 2rem;
}

.portal-panel h2 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  line-height: 1.1;
}

.portal-panel-head p:last-child {
  margin: 0.8rem 0 0;
  color: var(--muted);
}

.portal-login {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.4rem;
}

.portal-login label {
  display: grid;
  gap: 0.38rem;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 800;
}

.portal-login input {
  width: 100%;
  border: 1px solid rgba(13, 23, 40, 0.14);
  border-radius: 14px;
  padding: 0.88rem 1rem;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  font: inherit;
  outline: none;
}

.portal-login input:focus {
  border-color: rgba(15, 77, 131, 0.58);
  box-shadow: 0 0 0 4px rgba(15, 77, 131, 0.12);
}

.portal-feedback {
  min-height: 1.4rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.portal-links {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.4rem;
}

.portal-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-radius: 18px;
  border: 1px solid rgba(13, 23, 40, 0.1);
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
  text-decoration: none;
  padding: 1rem;
  box-shadow: 0 14px 26px rgba(10, 20, 35, 0.08);
}

.portal-link:hover,
.portal-link:focus-visible {
  border-color: rgba(15, 77, 131, 0.28);
  transform: translateY(-1px);
}

.portal-link span {
  font-weight: 900;
}

.portal-link strong {
  color: var(--accent);
  font-size: 0.85rem;
}

.reveal-left,
.reveal-right,
.reveal-up {
  opacity: 1;
  filter: none;
  transition: transform 0.8s cubic-bezier(0.22, 0.8, 0.2, 1), opacity 0.7s ease, filter 0.7s ease;
  will-change: transform, opacity;
}

.reveal-left {
  transform: none;
}

.reveal-right {
  transform: none;
}

.reveal-up {
  transform: none;
}

.is-visible {
  opacity: 1;
  transform: translate(0, 0);
  filter: blur(0);
}

.legal-main {
  padding: clamp(6.5rem, 8vw, 8rem) 0 clamp(3rem, 6vw, 5rem);
}

.legal-card {
  max-width: 900px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid rgba(13, 23, 40, 0.1);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 4vw, 2.8rem);
}

.legal-card h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  font-family: "Sora", "Manrope", sans-serif;
}

.legal-card h2 {
  margin: 1.9rem 0 0.65rem;
  font-size: 1.22rem;
}

.legal-card p,
.legal-card li {
  color: var(--muted);
}

.legal-card ul {
  margin: 0.5rem 0 0;
  padding-left: 1.2rem;
}

@media (max-width: 1140px) {
  .argument-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .process-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {
  .header-inner {
    grid-template-columns: auto auto 1fr;
  }

  .header-inner > .btn {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
    border: 1px solid rgba(13, 23, 40, 0.16);
    background: #fff;
    border-radius: 10px;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    gap: 3px;
    flex-direction: column;
    cursor: pointer;
    padding: 0;
    margin-left: auto;
  }

  .nav-toggle span {
    width: 18px;
    height: 2px;
    background: var(--ink);
    border-radius: 999px;
    display: block;
  }

  .site-nav {
    position: absolute;
    inset: calc(100% + 0.5rem) 1rem auto;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(13, 23, 40, 0.13);
    border-radius: 16px;
    padding: 0.85rem;
    box-shadow: 0 15px 30px rgba(10, 20, 35, 0.12);
    display: grid;
    gap: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  }

  .site-nav a {
    padding: 0.4rem 0.25rem;
  }

  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .hero-grid,
  .service-panel {
    grid-template-columns: 1fr;
  }

  .service-panel.is-reverse .service-text,
  .service-panel.is-reverse .service-media {
    order: initial;
  }

  .cta-band-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-inner,
  .footer-actions {
    justify-content: flex-start;
  }

  .gallery-item {
    grid-column: span 6 !important;
  }

  .partners-strip {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  :root {
    --radius: 18px;
  }

  .hero {
    padding-top: 6.2rem;
  }

  .hero-visual {
    min-height: 360px;
  }

  .hero-product-graphic {
    width: min(108%, 460px);
  }

  .hero-visual::before {
    left: -4%;
  }

  .hero-visual::after {
    right: -4%;
  }

  .argument-grid,
  .process-list,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item {
    grid-column: span 1 !important;
    min-height: 210px;
  }

  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-banner .btn {
    width: 100%;
  }

  .floating-cta {
    left: 1rem;
    right: 1rem;
    text-align: center;
  }

  .portal-link {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal-left,
  .reveal-right,
  .reveal-up {
    opacity: 1;
    transform: none;
    filter: none;
  }
}
