:root {
  --ink: #111827;
  --muted: #56606d;
  --line: #e6eaef;
  --soft: #f5f8fa;
  --paper: #ffffff;
  --teal: #30c9c3;
  --teal-dark: #159a98;
  --charcoal: #20242a;
  --shadow: 0 22px 60px rgba(17, 24, 39, 0.14);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

#kontakt {
  scroll-margin-top: 92px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

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

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 1000;
  background: var(--ink);
  color: #fff;
  padding: 0.7rem 1rem;
  border-radius: var(--radius);
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid rgba(230, 234, 239, 0.72);
  backdrop-filter: blur(18px);
}

.nav-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  width: clamp(210px, 18vw, 286px);
  height: auto;
  max-height: 58px;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  font-size: 0.94rem;
  color: #303740;
}

.main-nav a {
  position: relative;
  padding: 0.6rem 0;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.2rem;
  height: 2px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.main-nav a:hover::after,
.main-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.button,
button.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.78rem 1.05rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  font-size: 0.94rem;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(17, 24, 39, 0.18);
}

.button.teal {
  background: var(--teal-dark);
}

.button.ghost {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.34);
  color: #fff;
}

.button.light {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font-size: 1.4rem;
}

.eyebrow {
  color: var(--teal);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.page-hero h1 {
  margin: 0.8rem 0 1rem;
  max-width: 820px;
  font-size: clamp(2.55rem, 6vw, 5.9rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.page-hero p {
  max-width: 790px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.02rem, 2vw, 1.28rem);
}

.section {
  padding: 6.4rem 0;
}

.section.soft {
  background: var(--soft);
}

.section.dark {
  background: var(--charcoal);
  color: #fff;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.section-head {
  max-width: 780px;
  margin-bottom: 2.6rem;
}

h2 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.05;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

h3 {
  margin: 0 0 0.7rem;
  font-size: 1.35rem;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.lead {
  color: var(--muted);
  font-size: 1.08rem;
}

.dark .lead,
.dark p {
  color: rgba(255, 255, 255, 0.78);
}

.business-stage {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  min-height: calc(100vh - 82px);
  background: var(--ink);
}

.business-panel {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 82px);
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--ink);
}

.business-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(17, 24, 39, 0.1) 0%, rgba(17, 24, 39, 0.72) 62%, rgba(17, 24, 39, 0.94) 100%),
    var(--panel-image) center/cover;
  transition: transform 700ms ease, filter 700ms ease;
}

.business-panel::after {
  content: "";
  position: absolute;
  left: 2.2rem;
  right: 2.2rem;
  bottom: 2.2rem;
  height: 3px;
  background: var(--teal);
  transform: scaleX(0.24);
  transform-origin: left;
  transition: transform 300ms ease;
}

.business-panel:hover::before {
  transform: scale(1.055);
  filter: saturate(1.05) contrast(1.03);
}

.business-panel:hover::after {
  transform: scaleX(1);
}

.business-panel a {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: auto auto auto auto;
  align-content: end;
  min-height: inherit;
  height: 100%;
  padding: clamp(2rem, 4vw, 4rem);
  color: #fff;
}

.business-panel h2 {
  max-width: 460px;
  margin: 0.8rem 0 0.85rem;
  font-size: clamp(2rem, 2.4vw, 3.4rem);
  line-height: 1;
  hyphens: none;
  overflow-wrap: normal;
  word-break: normal;
}

.business-panel p {
  max-width: 380px;
  margin: 0 0 2rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.05rem;
  min-height: 3.2em;
}

.panel-link {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  min-height: 42px;
  padding: 0.68rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  font-weight: 800;
  transition: background 180ms ease, border-color 180ms ease;
}

.business-panel:hover .panel-link {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
}

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

.feature {
  padding: 1.3rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.dark .feature {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
}

.feature .icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  border-radius: var(--radius);
  background: rgba(48, 201, 195, 0.12);
  color: var(--teal-dark);
  font-weight: 900;
}

.split {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  align-items: center;
  gap: 3rem;
}

.image-panel {
  min-height: 560px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.image-panel img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
}

.check-list {
  display: grid;
  gap: 0.65rem;
  margin: 1.5rem 0 2rem;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.check-list li::before {
  content: "";
  flex: 0 0 10px;
  width: 10px;
  height: 10px;
  margin-top: 0.55rem;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 5px rgba(48, 201, 195, 0.12);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
  margin-top: 3rem;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 29px;
  height: 2px;
  background: linear-gradient(90deg, var(--teal), rgba(48, 201, 195, 0.08));
}

.step {
  position: relative;
  padding: 0 0.8rem;
  text-align: center;
}

.step b {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: #fff;
  color: var(--teal-dark);
  border: 2px solid var(--teal);
  box-shadow: 0 12px 28px rgba(17, 24, 39, 0.12);
}

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

.contact-form {
  display: grid;
  gap: 1rem;
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 14px 40px rgba(17, 24, 39, 0.08);
}

.field {
  display: grid;
  gap: 0.35rem;
}

label {
  font-weight: 700;
  color: #303740;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #d7dde4;
  border-radius: var(--radius);
  padding: 0.85rem 0.9rem;
  font: inherit;
  background: #fff;
  color: var(--ink);
}

textarea {
  min-height: 132px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus,
button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(48, 201, 195, 0.38);
  outline-offset: 3px;
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.92rem;
  color: var(--muted);
}

.checkbox input {
  width: 18px;
  height: 18px;
  margin-top: 0.2rem;
}

.form-note {
  display: none;
  padding: 0.8rem 0.9rem;
  border-radius: var(--radius);
  background: rgba(48, 201, 195, 0.12);
  color: #0d6764;
  font-weight: 700;
}

.form-note.error {
  background: rgba(220, 38, 38, 0.1);
  color: #991b1b;
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.checkbox a {
  color: var(--teal-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.page-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: var(--ink);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(17, 24, 39, 0.9), rgba(17, 24, 39, 0.48)),
    var(--page-image) center/cover;
}

.page-hero .container {
  position: relative;
  z-index: 1;
  padding: 7rem 0 5rem;
}

.content-page {
  max-width: 920px;
  margin: 0 auto;
}

.content-page h2 {
  font-size: clamp(1.7rem, 3vw, 2.35rem);
}

.content-page section {
  padding: 2.6rem 0;
  border-bottom: 1px solid var(--line);
}

.site-footer {
  background: #111827;
  color: #fff;
  padding: 3.2rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 2rem;
}

.site-footer img {
  width: min(286px, 100%);
  filter: brightness(0) invert(1);
}

.site-footer p,
.site-footer a {
  color: rgba(255, 255, 255, 0.74);
}

.site-footer a:hover {
  color: #fff;
}

.footer-links {
  display: grid;
  gap: 0.45rem;
}

.footer-bottom {
  margin-top: 2.4rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.9rem;
}

.fade-in {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.fade-in.in-view {
  opacity: 1;
  transform: translateY(0);
}

@keyframes slow-zoom {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.04);
  }
}

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

@media (max-width: 980px) {
  .menu-toggle {
    display: inline-grid;
    place-items: center;
  }

  .main-nav {
    position: fixed;
    inset: 82px 0 auto 0;
    display: none;
    padding: 1rem 20px 1.4rem;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 40px rgba(17, 24, 39, 0.12);
  }

  body.nav-open .main-nav {
    display: grid;
  }

  .nav-cta {
    display: none;
  }

  .business-stage,
  .feature-grid,
  .split,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .business-stage {
    min-height: 0;
  }

  .business-panel {
    min-height: calc((100vh - 82px) / 3);
    height: max(280px, calc((100vh - 82px) / 3));
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .timeline {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .timeline::before {
    left: 29px;
    right: auto;
    top: 8%;
    bottom: 8%;
    width: 2px;
    height: auto;
  }

  .step {
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 1rem;
    text-align: left;
    align-items: center;
  }

  .step b {
    grid-row: 1 / span 2;
    margin: 0;
  }

  .step h3,
  .step p {
    grid-column: 2;
  }
}

@media (max-width: 640px) {
  .nav-shell,
  .container {
    width: min(1180px, calc(100% - 28px));
  }

  .brand img {
    width: min(210px, calc(100vw - 92px));
    max-height: 50px;
  }

  .section {
    padding: 4.2rem 0;
  }

  .business-panel {
    min-height: calc((100vh - 82px) / 3);
    height: max(245px, calc((100vh - 82px) / 3));
  }

  .business-panel a {
    padding: 2rem 1.25rem;
  }

  .business-panel h2 {
    font-size: clamp(2rem, 8.5vw, 2.6rem);
  }

  .image-panel,
  .image-panel img {
    min-height: 360px;
  }

}
