@font-face {
  font-family: "GoogleSans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/GoogleSans-Regular.ttf") format("truetype");
}

@font-face {
  font-family: "ABC Ginto Nord Unlicensed Trial";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/ABCGintoNord-Medium-Trial-BF651b7b7839fc0.otf")
    format("opentype");
}

:root {
  --burgundy: #141414;
  --burgundy-deep: #141414;
  --burgundy-soft: #141414;
  --cream: #eef0f2;
  --cream-strong: #eef0f2;
  --blush: #d5b9b2;
  --rose: #141414;
  --white: #eef0f2;
  --charcoal: #1d1b20;
  --muted: #141414;
  --bg-soft: #cebebe;
  --border: rgba(0, 0, 0, 0.12);
  --shadow: 0 22px 48px rgba(42, 23, 31, 0.12);
  --radius-lg: 30px;
  --radius-md: 20px;
  --radius-sm: 12px;
  --container: 1180px;
  --font-sans: "GoogleSans", sans-serif;
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.5rem;
  --text-2xl: 2rem;
  --text-3xl: clamp(2.25rem, 4.5vw, 3.5rem);
  --text-4xl: clamp(2.6rem, 5.5vw, 4.75rem);
}

* {
  box-sizing: border-box;
}

html,
body,
button,
input,
select,
textarea {
  font-family: "GoogleSans", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "GoogleSans", sans-serif;
  font-size: 16px;
  background: #eef0f2;
  color: var(--charcoal);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4,
h5,
h6,
.brand,
.button,
.nav-main,
.main-nav,
.section-tag,
.eyebrow,
.hero-copy h1,
.contact-form label,
.site-footer h3 {
  font-family: "GoogleSans", sans-serif;
  font-weight: 500;
  letter-spacing: -0.04em;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

button,
input,
select,
textarea {
  border-radius: 10px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  background: #141414;
  color: #ffffff;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  z-index: 1000;
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: min(var(--container), calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #eef0f2;
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 500;
  color: var(--burgundy);
  letter-spacing: -0.02em;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 5px;
  background: #eef0f2;
  border: 1px solid rgba(20, 20, 20, 0.14);
  color: #141414;
  font-family: "ABC Ginto Nord Unlicensed Trial", sans-serif;
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 1;
  text-align: center;
  box-shadow: 0 8px 10px rgba(20, 20, 20, 0.4);
  mix-blend-mode: multiply;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.main-nav a {
  position: relative;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.45rem;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: #141414;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--burgundy);
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 0.25rem;
  width: 2.8rem;
  height: 2.8rem;
  background: transparent;
  border: 1px solid var(--border);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 1.2rem;
  background: #141414;
  margin: 0 auto;
  border-radius: 999px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.9rem 1.5rem;
  border-radius: 10px;
  font-weight: 500;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
  border: 1px solid transparent;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  background: #141414;
  color: #ffffff;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.2);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #242424;
}

.hero-actions .button-primary {
  background: #eec643;
  color: #1d1b20;
  box-shadow: 0 12px 26px rgba(212, 167, 44, 0.28);
}

.hero-actions .button-primary:hover,
.hero-actions .button-primary:focus-visible {
  background: #b88916;
  color: #1d1b20;
}

.button-secondary {
  border-color: rgba(0, 0, 0, 0.2);
  background: rgba(255, 255, 255, 0.82);
  color: var(--burgundy);
}

.button-light {
  background: #eef0f2;
  color: var(--burgundy);
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 4.5rem 0 3rem;
  background-color: rgba(0, 0, 0, 0.72);
  background-blend-mode: multiply;
}

.hero-slideshow,
.hero-slide {
  position: absolute;
  inset: 0;
}

.hero-slideshow {
  z-index: -1;
  background: rgba(0, 0, 0, 0.72);
}

.hero-slide {
  background-position: center;
  background-size: cover;
  filter: saturate(0.9) contrast(1.04);
  will-change: transform, opacity;
}

.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
}

.hero-slide-current {
  background-image: url("images/markus-spiske-FXFz-sW0uwo-unsplash.jpg");
}

.hero-slide-next {
  background-image: url("images/conny-schneider-xuTJZ7uD7PI-unsplash.jpg");
  opacity: 0;
  transform: scale(1.04) translateY(1%);
}

.hero-slideshow.is-transitioning .hero-slide-current {
  animation: hero-crossfade-out 1.8s cubic-bezier(0.45, 0, 0.55, 1) forwards;
}

.hero-slideshow.is-transitioning .hero-slide-next {
  animation: hero-crossfade-in 1.8s cubic-bezier(0.45, 0, 0.55, 1) forwards;
}

@keyframes hero-crossfade-out {
  0% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translateY(-1%) scale(1.02);
  }
}

@keyframes hero-crossfade-in {
  0% {
    opacity: 0;
    transform: scale(1.04) translateY(1%);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slideshow {
    display: none;
  }

  .hero {
    background:
      linear-gradient(rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.72)),
      url("images/markus-spiske-FXFz-sW0uwo-unsplash.jpg") center / cover;
  }
}

@media (min-width: 981px) {
  .hero {
    min-height: 1000px;
    display: flex;
    align-items: center;
    padding: 6rem 0;
  }

  .hero-grid {
    width: 100%;
  }

  .hero-copy {
    max-width: 860px;
    margin: 0 auto;
    text-align: center;
  }

  .hero-copy h1 {
    max-width: 860px;
    font-size: clamp(2.3rem, 3vw, 3.5rem);
  }

  .hero-copy .lead {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.05rem;
  }

  .hero-actions {
    margin-top: 1.75rem;
    justify-content: center;
  }

  .hero-actions .button {
    min-height: 54px;
    padding: 1rem 1.8rem;
    font-size: 1rem;
  }

  .trust-line {
    text-align: center;
    font-size: 1rem;
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

.eyebrow,
.section-tag {
  margin: 0 0 1rem;
  color: var(--rose);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ffffff;
}

.hero-copy h1 {
  margin: 0;
  font-size: var(--text-4xl);
  line-height: 0.98;
  font-weight: 500;
  letter-spacing: -0.06em;
  color: #ffffff;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.5);
}

.lead {
  margin-top: 1.4rem;
  max-width: 630px;
  font-size: 17px;
  line-height: 1.55;
  color: #ffffff;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.45);
}

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

.trust-line {
  margin-top: 1.5rem;
  color: #ffffff;
  font-size: 0.92rem;
  letter-spacing: 0.03em;
}

.hero-visual {
  position: relative;
  min-height: 470px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-media {
  position: relative;
  width: min(100%, 520px);
  height: 500px;
  margin: 0;
  overflow: hidden;
  border-radius: 32px;
  box-shadow: var(--shadow);
  background: #cebebe;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.9) contrast(1.04);
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(46, 14, 28, 0.24);
}

.floating-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 20px 50px rgba(42, 25, 35, 0.14);
  padding: 0.9rem 1rem;
  border-radius: 16px;
  color: var(--charcoal);
  z-index: 1;
}

.card-top {
  top: 34px;
  right: -6px;
}

.card-bottom {
  bottom: 32px;
  left: 12px;
}

.card-dot {
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 50%;
  background: #141414;
  box-shadow: 0 0 0 5px rgba(162, 103, 105, 0.2);
}

.floating-card strong,
.floating-card small {
  display: block;
}

.floating-card small {
  color: var(--muted);
}

.section {
  padding: 5rem 0;
}

.policy-main {
  min-height: 70vh;
  padding: 6rem 0;
  background: linear-gradient(180deg, #f4ece6 0%, #fff 100%);
}

.policy-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 3rem;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: 0 18px 45px rgba(38, 22, 30, 0.08);
}

.policy-content h1 {
  margin: 0 0 2rem;
  color: var(--burgundy);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  line-height: 1.05;
}

.policy-content h2 {
  margin: 2.5rem 0 0.75rem;
  color: var(--burgundy);
  font-size: 1.35rem;
}

.policy-content p,
.policy-content li {
  color: var(--muted);
  line-height: 1.75;
}

.policy-content ul {
  padding-left: 1.25rem;
}

.compact-section {
  padding-top: 2.5rem;
}

.narrow {
  max-width: 980px;
}

.about-inline {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.about-copy h2,
.section-header h2,
.cta-box h2,
.contact-copy h2 {
  margin: 0 0 1rem;
  color: var(--burgundy);
  font-size: clamp(1.9rem, 2.7vw, 2.7rem);
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.about-copy p,
.contact-copy p,
.solution-card p,
.project-body p,
.reason-card p,
.process-card p,
.service-card p {
  color: var(--muted);
}

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

.feature-list li {
  padding: 1rem 1.2rem;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #eef0f2;
  color: var(--muted);
  box-shadow: 0 14px 32px rgba(34, 23, 28, 0.14);
}

.simple-list {
  grid-template-columns: 1fr;
}

.services {
  background: #eef0f2;
}

.section-header {
  max-width: 700px;
  margin-bottom: 2.5rem;
}

.services-grid {
  display: grid;
  gap: 1.5rem;
}

.three-up {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card,
.contact-form {
  background: #eef0f2;
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: 0 14px 32px rgba(34, 23, 28, 0.14);
}

.service-card {
  padding: 1.7rem 1.5rem;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.service-card:hover,
.service-card:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 20px 44px rgba(29, 19, 26, 0.08);
  border-color: rgba(0, 0, 0, 0.12);
}

.service-icon,
.reason-icon {
  width: 3rem;
  height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.14);
  color: var(--burgundy);
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.service-icon svg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 1.4rem;
  width: 1.4rem !important;
  height: 1.4rem !important;
  line-height: 1;
}

.icon-solutions,
.icon-web,
.icon-hosting,
.icon-support,
.icon-app,
.icon-email {
  font-size: 1.55rem;
  font-weight: 500;
}

.icon-solutions {
  font-size: 1.45rem;
}

.icon-strategy {
  font-size: 1.8rem;
  font-weight: 700;
}

.service-card h3,
.reason-card h3,
.solution-card h3,
.process-card h3,
.project-body h3 {
  margin: 0 0 0.8rem;
  color: var(--charcoal);
  font-size: clamp(1.2rem, 1.6vw, 1.6rem);
  font-weight: 500;
  letter-spacing: -0.03em;
}

.service-card a {
  display: inline-block;
  margin-top: 0.8rem;
  color: var(--burgundy);
  font-weight: 500;
}

.reasons-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cta-section {
  padding-top: 0;
}

.cta-box {
  display: grid;
  grid-template-columns: 1.3fr 1fr auto;
  align-items: center;
  gap: 1.5rem;
  padding: 2rem 2.4rem;
  border-radius: 28px;
  background: #141414;
  color: #ffffff;
  box-shadow: 0 20px 50px rgba(90, 36, 52, 0.18);
}

.light {
  color: #ffffff;
}

.cta-box h2 {
  color: #ffffff;
}

.cta-box p {
  margin: 0;
  color: #ffffff;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 2rem;
  align-items: start;
}

.minimal-contact {
  max-width: 980px;
}

.contact-copy h2 {
  color: #0d21a1;
}

.contact-form {
  padding: 1.5rem;
}

.contact-form label {
  display: grid;
  gap: 0.5rem;
  margin-bottom: 1rem;
  color: var(--charcoal);
  font-weight: 500;
}

.form-message {
  margin-bottom: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  font-size: 0.95rem;
  line-height: 1.5;
}

.form-message ul {
  margin: 0;
  padding-left: 1.2rem;
}

.form-message-error {
  background: rgba(168, 42, 42, 0.08);
  border: 1px solid rgba(168, 42, 42, 0.18);
  color: #7a2424;
}

.form-message-success {
  background: rgba(18, 97, 66, 0.08);
  border: 1px solid rgba(18, 97, 66, 0.18);
  color: #145636;
}

.form-message-note {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  opacity: 0.82;
}

.form-consent {
  margin: 0.85rem 0 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.45;
}

.form-consent a {
  color: var(--burgundy);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #eef0f2;
  color: var(--charcoal);
  box-shadow: 0 6px 16px rgba(34, 23, 28, 0.06);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: 2px solid rgba(0, 0, 0, 0.25);
  outline-offset: 2px;
  border-color: rgba(0, 0, 0, 0.3);
}

.site-footer {
  background: #141414;
  color: #ffffff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.8fr 1fr;
  gap: 2.5rem;
  padding: 4.5rem 0 3.5rem;
}

.footer-intro {
  padding-right: 2.5rem;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.brand-footer {
  color: #ffffff;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  font-family:
    "GoogleSans",
    -apple-system,
    BlinkMacSystemFont,
    "Helvetica Neue",
    sans-serif;
  font-weight: 300;
}

.brand-footer .brand-mark {
  background: #eef0f2;
  color: #141414;
  mix-blend-mode: normal;
}

.footer-description {
  max-width: 260px;
  margin: 0 0 1.5rem;
  color: #ffffff;
}

.footer-email {
  display: inline-block;
  color: #ffffff !important;
  font-size: 0.92rem;
  font-weight: 600;
}

.site-footer h3 {
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 500;
  margin: 0 0 1.1rem;
  letter-spacing: 0.04em;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.site-footer a {
  color: #ffffff;
  transition: color 0.2s ease;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 0 2rem;
}

.footer-bottom-inner p,
.footer-bottom-inner a {
  color: #ffffff;
  margin: 0;
}

.footer-bottom-inner div {
  display: flex;
  gap: 1rem;
}

.language-switcher {
  align-items: center;
  gap: 0.45rem !important;
}

.language-label {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.82rem;
}

.language-option {
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.62);
  font: inherit;
  font-size: 0.82rem;
  cursor: pointer;
  transition: color 0.2s ease;
}

.language-option:hover,
.language-option:focus-visible,
.language-option.is-active {
  color: #ffffff;
}

.language-option:focus-visible {
  outline: 1px solid #ffffff;
  outline-offset: 4px;
}

.language-divider {
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.82rem;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .hero-grid,
  .about-inline,
  .contact-grid,
  .cta-box,
  .three-up,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-grid,
  .about-inline,
  .contact-grid,
  .cta-box {
    grid-template-columns: 1fr;
  }

  .nav-container {
    flex-wrap: wrap;
    padding: 0.75rem 0;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-cta {
    display: none;
  }

  .main-nav {
    display: none;
    width: 100%;
    padding-top: 1rem;
  }

  .main-nav.open {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.9rem;
  }

  .services-grid,
  .reasons-grid,
  .solution-grid,
  .process-grid,
  .project-grid,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 3.2rem;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-copy h1 {
    font-size: 40px;
  }

  .hero-copy .lead {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .trust-line {
    text-align: center;
  }

  .footer-grid {
    text-align: center;
  }

  .footer-intro {
    padding-right: 0;
    padding-bottom: 2rem;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  .brand-footer {
    justify-content: center;
  }

  .footer-description {
    margin-left: auto;
    margin-right: auto;
  }

  .site-footer ul {
    justify-items: center;
  }

  .section {
    padding: 4.5rem 0;
  }

  .three-up,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .cta-box {
    padding: 1.6rem 1.2rem;
  }

  .footer-bottom-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-bottom-inner div {
    justify-content: center;
  }

  .language-switcher {
    flex-wrap: wrap;
  }
}

@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;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

:focus-visible {
  outline: 3px solid rgba(0, 0, 0, 0.32);
  outline-offset: 3px;
}
