/* ============================================================
   Cloudwalker GmbH — Landing Styles
   Self-contained · no external fonts · DSGVO-friendly
   ============================================================ */

:root {
  --bg: #f7f9fb;
  --bg-elevated: #ffffff;
  --bg-soft: #eef4f8;
  --bg-dark: #0f1419;
  --bg-dark-elevated: #1a222c;
  --text: #1a222c;
  --text-muted: #5a6570;
  --text-soft: #8a949e;
  --text-on-dark: #f2f5f8;
  --text-on-dark-muted: #a8b3bd;
  --accent: #5eb4d4;
  --accent-deep: #3a8fb0;
  --accent-soft: rgba(94, 180, 212, 0.14);
  --accent-glow: rgba(94, 180, 212, 0.35);
  --border: #e2e8ee;
  --border-strong: #cdd6df;
  --shadow-sm: 0 1px 2px rgba(15, 20, 25, 0.04), 0 4px 12px rgba(15, 20, 25, 0.04);
  --shadow-md: 0 8px 30px rgba(15, 20, 25, 0.08);
  --shadow-lg: 0 20px 50px rgba(15, 20, 25, 0.12);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-pill: 999px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  --max: 1120px;
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  transition: color 0.2s var(--ease);
}

a:hover {
  color: var(--text);
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

h1, h2, h3, h4 {
  line-height: 1.2;
  font-weight: 650;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0 0 0.6em;
}

h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.35rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.container--narrow {
  width: min(100% - 2.5rem, 760px);
}

/* ---------- Header / Nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(247, 249, 251, 0.85);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--border);
  background: rgba(255, 255, 255, 0.92);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 1.5rem;
}

.nav__logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.nav__logo img {
  height: 36px;
  width: auto;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 0.25rem 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.nav__links a:hover,
.nav__links a[aria-current="page"] {
  color: var(--text);
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1.15rem;
  background: var(--bg-dark);
  color: var(--text-on-dark) !important;
  border-radius: var(--radius-pill);
  text-decoration: none !important;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.nav__cta:hover {
  background: var(--accent-deep);
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px var(--accent-glow);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 10px;
  border-radius: 8px;
}

.nav-toggle__bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  margin: 5px auto;
  border-radius: 1px;
  transition: transform 0.25s var(--ease), opacity 0.2s;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 768px) {
  .nav-toggle { display: block; }

  .nav__links {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem 1.25rem 1.5rem;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.35s var(--ease), opacity 0.3s, visibility 0.3s;
  }

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

  .nav__links li {
    border-bottom: 1px solid var(--border);
  }

  .nav__links li:last-child {
    border-bottom: 0;
    padding-top: 0.75rem;
  }

  .nav__links a {
    display: block;
    padding: 0.9rem 0.25rem;
    font-size: 1.05rem;
  }

  .nav__cta {
    justify-content: center;
    width: 100%;
  }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-pill);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none !important;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease),
    border-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.btn--primary {
  background: var(--bg-dark);
  color: var(--text-on-dark) !important;
}

.btn--primary:hover {
  background: var(--accent-deep);
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px var(--accent-glow);
}

.btn--ghost {
  background: transparent;
  color: var(--text) !important;
  border-color: var(--border-strong);
}

.btn--ghost:hover {
  border-color: var(--text);
  background: var(--bg-elevated);
}

.btn--accent {
  background: var(--accent);
  color: #0a2a35 !important;
}

.btn--accent:hover {
  background: var(--accent-deep);
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px var(--accent-glow);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: clamp(3.5rem, 10vw, 7rem) 0 clamp(4rem, 9vw, 6.5rem);
  overflow: hidden;
}

.hero__glow {
  position: absolute;
  width: 55vw;
  max-width: 680px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(94, 180, 212, 0.22) 0%, transparent 68%);
  pointer-events: none;
  top: -10%;
  right: -8%;
  z-index: 0;
}

.hero__glow--secondary {
  width: 40vw;
  max-width: 420px;
  background: radial-gradient(circle, rgba(94, 180, 212, 0.12) 0%, transparent 70%);
  top: auto;
  bottom: -5%;
  left: -10%;
  right: auto;
}

.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 1.25rem;
}

.hero__eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}

.hero h1 {
  margin-bottom: 0.35em;
}

.hero__tagline {
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
}

.hero__lead {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 36em;
  margin-bottom: 2rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hero__mark {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.hero__mark-frame {
  position: relative;
  width: min(100%, 320px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(94, 180, 212, 0.18), transparent 65%),
    var(--bg-elevated);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  display: grid;
  place-items: center;
}

.hero__mark-frame img {
  width: 58%;
  height: auto;
  /* crop to cloud symbol only when full logo is used — we use favicon for mark */
  filter: drop-shadow(0 8px 24px rgba(58, 143, 176, 0.25));
}

@media (max-width: 860px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero__eyebrow {
    justify-content: center;
  }
  .hero__eyebrow::before { display: none; }
  .hero__lead { margin-inline: auto; }
  .hero__actions { justify-content: center; }
  .hero__mark { order: -1; }
  .hero__mark-frame { width: min(100%, 220px); }
}

/* ---------- Sections ---------- */

.section {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
}

.section--alt {
  background: var(--bg-elevated);
  border-block: 1px solid var(--border);
}

.section--dark {
  background: var(--bg-dark);
  color: var(--text-on-dark);
  border: 0;
}

.section--dark h2,
.section--dark h3 {
  color: var(--text-on-dark);
}

.section--dark p,
.section--dark .section__lead {
  color: var(--text-on-dark-muted);
}

.section__header {
  max-width: 40rem;
  margin-bottom: clamp(2rem, 5vw, 3rem);
}

.section__header--center {
  text-align: center;
  margin-inline: auto;
}

.section__eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 0.75rem;
}

.section--dark .section__eyebrow {
  color: var(--accent);
}

.section__lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin: 0;
}

/* ---------- About ---------- */

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}

.about-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2rem);
  box-shadow: var(--shadow-sm);
}

.about-card + .about-card {
  margin-top: 1rem;
}

.about-card h3 {
  margin-bottom: 0.5rem;
}

.about-card p {
  color: var(--text-muted);
  font-size: 0.975rem;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.stat {
  background: var(--bg-soft);
  border-radius: var(--radius-sm);
  padding: 1.35rem 1.25rem;
  border: 1px solid var(--border);
}

.stat__value {
  display: block;
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--accent-deep);
  margin-bottom: 0.25rem;
}

.stat__label {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.clients-note {
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--text-soft);
}

.clients-note strong {
  color: var(--text-muted);
  font-weight: 600;
}

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

/* ---------- Brands ---------- */

.brand-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.brand-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem 1.5rem;
  text-decoration: none !important;
  color: inherit;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
  min-height: 100%;
}

.brand-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
  color: inherit;
}

.brand-card__logo {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 1.25rem;
  padding: 0.5rem 0;
}

.brand-card__logo img {
  max-height: 56px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
}

.brand-card__logo--contain img {
  max-height: 64px;
}

.brand-card h3 {
  margin-bottom: 0.4rem;
  font-size: 1.15rem;
}

.brand-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  flex-grow: 1;
  margin-bottom: 1.25rem;
}

.brand-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent-deep);
}

.brand-card__link svg {
  width: 14px;
  height: 14px;
  transition: transform 0.25s var(--ease);
}

.brand-card:hover .brand-card__link svg {
  transform: translate(2px, -2px);
}

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

/* ---------- Contact ---------- */

.contact-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}

.contact-details {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.contact-details li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-details__icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  display: grid;
  place-items: center;
}

.contact-details__icon svg {
  width: 18px;
  height: 18px;
}

.contact-details strong {
  display: block;
  font-size: 0.8rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 0.15rem;
}

.contact-details a,
.contact-details span {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
}

.contact-details a:hover {
  color: var(--accent-deep);
}

.contact-cta-box {
  background: linear-gradient(145deg, var(--bg-dark-elevated), var(--bg-dark));
  color: var(--text-on-dark);
  border-radius: calc(var(--radius) + 4px);
  padding: clamp(2rem, 4vw, 2.75rem);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.contact-cta-box::before {
  content: "";
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(94, 180, 212, 0.3), transparent 70%);
  top: -40px;
  right: -40px;
  pointer-events: none;
}

.contact-cta-box h3 {
  color: var(--text-on-dark);
  position: relative;
}

.contact-cta-box p {
  color: var(--text-on-dark-muted);
  position: relative;
  margin-bottom: 1.5rem;
}

.contact-cta-box .btn {
  position: relative;
}

@media (max-width: 800px) {
  .contact-panel { grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--bg-dark);
  color: var(--text-on-dark-muted);
  padding: 3rem 0 2rem;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand__mark {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  text-decoration: none;
  color: var(--text-on-dark);
}
.footer-brand__mark img {
  height: 40px;
  width: auto;
  filter: none;
  opacity: 1;
}
.footer-brand__mark span {
  font-weight: 650;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.footer-brand p {
  max-width: 22em;
  margin: 0;
  line-height: 1.55;
}

.footer-col h4 {
  color: var(--text-on-dark);
  font-size: 0.8rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li + li {
  margin-top: 0.55rem;
}

.footer-col a {
  color: var(--text-on-dark-muted);
  text-decoration: none;
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding-top: 1.75rem;
  font-size: 0.8125rem;
}

.footer-bottom a {
  color: var(--text-on-dark-muted);
  text-decoration: none;
}

.footer-bottom a:hover {
  color: var(--accent);
}

@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* ---------- Legal pages ---------- */

.page-hero {
  padding: clamp(2.5rem, 6vw, 4rem) 0 clamp(2rem, 4vw, 2.5rem);
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
}

.page-hero h1 {
  margin-bottom: 0.4em;
}

.page-hero p {
  color: var(--text-muted);
  margin: 0;
  max-width: 40em;
}

.legal {
  padding: clamp(2.5rem, 6vw, 4rem) 0 clamp(4rem, 8vw, 6rem);
}

.legal h2 {
  font-size: 1.35rem;
  margin-top: 2.25rem;
  margin-bottom: 0.75rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border);
}

.legal h2:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.legal h3 {
  font-size: 1.05rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

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

.legal ul {
  margin: 0 0 1em;
  padding-left: 1.25rem;
}

.legal li + li {
  margin-top: 0.35rem;
}

.legal address {
  font-style: normal;
  color: var(--text-muted);
  line-height: 1.7;
}

.legal .notice {
  background: var(--accent-soft);
  border: 1px solid rgba(94, 180, 212, 0.35);
  border-radius: var(--radius-sm);
  padding: 1.15rem 1.35rem;
  margin: 1.5rem 0;
  color: var(--text);
  font-size: 0.95rem;
}

.legal .notice strong {
  color: var(--accent-deep);
}

.breadcrumb {
  font-size: 0.875rem;
  color: var(--text-soft);
  margin-bottom: 1rem;
}

.breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--accent-deep);
}

.breadcrumb span[aria-hidden] {
  margin: 0 0.4rem;
}

/* ---------- Utilities ---------- */

.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;
}

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

/* ---------- Services / Angebot ---------- */

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.service-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem 1.25rem;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.service-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.service-card__icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  display: grid;
  place-items: center;
  margin-bottom: 0.9rem;
}

.service-card__icon svg {
  width: 20px;
  height: 20px;
}

.service-card h3 {
  font-size: 1.02rem;
  margin-bottom: 0.35rem;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

@media (max-width: 960px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .service-grid { grid-template-columns: 1fr; }
}

/* ---------- Contact form ---------- */

.contact-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}

.contact-form {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: var(--shadow-sm);
}

.form-row {
  margin-bottom: 1.15rem;
}

.form-row--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 560px) {
  .form-row--split { grid-template-columns: 1fr; }
}

.contact-form label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 650;
  letter-spacing: 0.02em;
  color: var(--text);
  margin-bottom: 0.4rem;
}

.contact-form label .req {
  color: var(--accent-deep);
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
  background: var(--bg);
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.9rem;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
  background: #fff;
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-form .hp-field {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-hint {
  font-size: 0.8rem;
  color: var(--text-soft);
  margin: 0.35rem 0 0;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 0.5rem;
}

.form-status {
  display: none;
  margin-top: 1rem;
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius-sm);
  font-size: 0.925rem;
}

.form-status.is-visible { display: block; }
.form-status--ok {
  background: rgba(46, 160, 110, 0.12);
  border: 1px solid rgba(46, 160, 110, 0.35);
  color: #1a6b45;
}
.form-status--err {
  background: rgba(196, 70, 70, 0.1);
  border: 1px solid rgba(196, 70, 70, 0.3);
  color: #8a2a2a;
}

.contact-form .btn:disabled {
  opacity: 0.65;
  cursor: wait;
  transform: none;
}

.privacy-note {
  font-size: 0.8rem;
  color: var(--text-soft);
  margin-top: 1rem;
  line-height: 1.5;
}

.privacy-note a {
  color: var(--accent-deep);
}

@media (max-width: 800px) {
  .contact-layout { grid-template-columns: 1fr; }
}

/* —— Cookie info notice (no tracking cookies; optional confirm) —— */
.cookie-notice {
  position: fixed;
  z-index: 1000;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  max-width: 42rem;
  margin-inline: auto;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(94, 180, 212, 0.35);
  border-radius: 1rem;
  box-shadow: 0 12px 40px rgba(20, 50, 70, 0.14);
  padding: 1.1rem 1.15rem;
  transform: translateY(1.25rem);
  opacity: 0;
  transition: transform 0.28s ease, opacity 0.28s ease;
  backdrop-filter: blur(8px);
}
.cookie-notice.is-visible {
  transform: translateY(0);
  opacity: 1;
}
.cookie-notice.is-leaving {
  transform: translateY(0.75rem);
  opacity: 0;
}
.cookie-notice__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: flex-end;
  justify-content: space-between;
}
.cookie-notice__copy {
  flex: 1 1 16rem;
  min-width: 0;
}
.cookie-notice__title {
  margin: 0 0 0.35rem;
  font-size: 0.8rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent-deep);
}
.cookie-notice__text {
  margin: 0;
  font-size: 0.925rem;
  line-height: 1.45;
  color: var(--text);
}
.cookie-notice__more {
  margin: 0.45rem 0 0;
  font-size: 0.8rem;
}
.cookie-notice__more a {
  color: var(--accent-deep);
}
.cookie-notice__actions {
  flex: 0 0 auto;
}
.cookie-notice__btn {
  white-space: nowrap;
}
@media (max-width: 520px) {
  .cookie-notice {
    left: 0.65rem;
    right: 0.65rem;
    bottom: 0.65rem;
  }
  .cookie-notice__actions {
    width: 100%;
  }
  .cookie-notice__btn {
    width: 100%;
  }
}
