/* Generated from Figma variables. Do not edit by hand — re-sync & regenerate from the Tokens tab. */

:root {
  /* Colors */
  --brand: #f54e4d;
  --light1: #f2ede9;
  --black3: #211e1e;
  --white: #ffffff;
  --black1: #5d5b5b;
  --light2: #dfdfde;
  --black2: #312f2f;
  --light3: #c0c0c0;
  --dark-graphite: #252525;

  /* Spacing */
  --padding-horizontal: 32px;
  --padding-vertical: 32px;
  --cards-gap: 20px;
  --section-gap: 48px;
  --section-padding: 120px;

  /* Radius */
  --border-radius: 0px;
}

/* Section vertical rhythm — the ONE canonical top/bottom padding every <section>
   uses (padding-block: var(--section-pad-block)). A single site-wide ladder keeps
   the gaps between sections identical and steps them down on tablet/phone. Desktop
   seeds from the Figma --section-padding token when present, else 96px. */
:root { --section-pad-block: var(--section-padding, 96px); }
@media (max-width: 1023px) { :root { --section-pad-block: calc(var(--section-padding, 96px) * 0.7); } }
@media (max-width: 767px)  { :root { --section-pad-block: calc(var(--section-padding, 96px) * 0.5); } }

/* Typography */
.text-16px-text {
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 22.4px;
}

.text-18-px-button {
  font-family: "Montserrat", sans-serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 23.4px;
}

.text-28px-title {
  font-family: "Montserrat", sans-serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 27.4px;
}

.text-40px-title {
  font-family: "Montserrat", sans-serif;
  font-size: 40px;
  font-weight: 700;
  line-height: 48px;
}

.text-14px-text {
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 21px;
}

.text-18px-text {
  font-family: "Montserrat", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 23.4px;
}

.text-24px-title {
  font-family: "Montserrat", sans-serif;
  font-size: 24px;
  font-weight: 600;
  line-height: 31.2px;
}

.text-48px-title {
  font-family: "Montserrat", sans-serif;
  font-size: 48px;
  font-weight: 700;
  line-height: 57.6px;
}

.text-80px-title {
  font-family: "Montserrat", sans-serif;
  font-size: 80px;
  font-weight: 700;
  line-height: 72px;
}

.text-32px-title {
  font-family: "Montserrat", sans-serif;
  font-size: 32px;
  font-weight: 700;
  line-height: 38.4px;
}

.text-20px-text {
  font-family: "Montserrat", sans-serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 26px;
}

/* UI signature — derived from the design; every component honours these:
   1) ZERO radius everywhere — every button, card, input and icon badge has hard 90° corners
      (--border-radius: 0). Architectural, hard-edged; nothing is rounded.
   2) Primary CTA = solid red (--brand #f54e4d) rectangle, hard corners, white UPPERCASE
      Montserrat text, with a trailing DIAGONAL up-right arrow (↗); flat, no resting shadow
      (from the "SENDEN" close-up: radius 0px, padding 16/24, ~55px tall, 18px).
   3) Secondary = text + diagonal arrow ONLY ("MEHR SEHEN") — no fill, no border; dark text on
      light bands, white on dark; red arrow. Reads clearly lower-priority than the solid red CTA.
   4) Feature/step icons sit in a filled RED SQUARE badge (hard corners, NOT a circle) with a
      white icon centred — the why-us & process motif.
   5) Cards/tiles are FLAT — solid fill (white on dark sections, grey #797979 on light), zero
      radius, NO outer shadow, content on generous 32px (--padding-horizontal) inner padding. */

:root {
  /* Accent = the design's PRIMARY CTA colour — the solid red "SENDEN"/"KOSTENLOSE ANGEBOT" button. */
  --accent: var(--brand);              /* #f54e4d */
  --accent-2: var(--brand);            /* CTA is SOLID (not a gradient) → keep = accent */
  --accent-contrast: var(--white);     /* readable text on the red accent */
  --btn-shadow: none;                  /* design's primary button is FLAT — no resting shadow */

  /* Radius is a scale by contract — but THIS design is uniformly zero-radius (signature #1),
     so every step resolves to the Figma --border-radius (0px). Do NOT round components here. */
  --radius-sm: var(--border-radius, 0px);   /* inputs / small chips */
  --radius-md: var(--border-radius, 0px);   /* cards / tiles */
  --radius-lg: var(--border-radius, 0px);   /* large containers */
  --radius-pill: var(--border-radius, 0px); /* icon buttons — square here, not round */

  /* ONE button height site-wide — seeded from the primary CTA close-up (~55px). */
  --btn-height: 55px;
  --btn-height-sm: 44px;
}

/* ===========================================================================
   BUTTONS — one invariant shape site-wide; only COLOUR varies per band.
   =========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-sizing: border-box;
  min-height: var(--btn-height, 55px);
  padding-block: 0;
  padding-inline: 24px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm, var(--border-radius, 0px));
  font-family: "Montserrat", sans-serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 200ms ease, color 200ms ease,
              border-color 200ms ease, transform 200ms ease,
              box-shadow 200ms ease, filter 200ms ease;
}
.btn:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}
.btn:disabled,
.btn[aria-disabled="true"] {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

/* Primary — solid red fill, flat, white uppercase label (+ optional trailing arrow).
   A section may recolour it on a coloured band via --btn-bg / --btn-fg. */
.btn-primary {
  background: var(--btn-bg, var(--accent, var(--brand)));
  color: var(--btn-fg, var(--accent-contrast, var(--white)));
  box-shadow: var(--btn-shadow, none);
}
@media (hover: hover) {
  .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px -8px color-mix(in srgb, var(--accent, var(--brand)) 50%, transparent);
    filter: brightness(0.96);
  }
}
.btn-primary:active { transform: translateY(0); filter: brightness(0.94); box-shadow: var(--btn-shadow, none); }

/* Secondary — the design's lower-priority "text + diagonal arrow" treatment: no fill, no border,
   dark label on light bands. On a dark band a section passes --btn-fg:var(--white). */
.btn-secondary {
  background-color: transparent;
  border-color: transparent;
  color: var(--btn-fg, var(--black3, currentColor));
  padding-inline: 0;
}
@media (hover: hover) {
  .btn-secondary:hover { color: var(--btn-accent, var(--brand)); }
}
.btn-secondary:active { transform: translateY(1px); }

/* Ghost / text — minimal text button with a faint hover wash (utility-style actions). */
.btn-ghost {
  background-color: transparent;
  border-color: transparent;
  color: var(--btn-fg, var(--black1, currentColor));
  padding-inline: 12px;
}
@media (hover: hover) {
  .btn-ghost:hover {
    background-color: color-mix(in srgb, var(--btn-accent, var(--brand)) 10%, transparent);
    color: var(--btn-accent, var(--brand));
  }
}
.btn-ghost:active { transform: translateY(1px); }

/* Icon button — a hard red SQUARE (signature #4), white glyph, e.g. slider arrows. */
.btn-icon {
  width: var(--btn-height, 55px);
  height: var(--btn-height, 55px);
  padding: 0;
  border-radius: var(--radius-sm, 0px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--btn-bg, var(--accent, var(--brand)));
  color: var(--btn-fg, var(--accent-contrast, var(--white)));
  border: none;
  cursor: pointer;
  transition: transform 200ms ease, background-color 200ms ease, filter 200ms ease;
}
@media (hover: hover) { .btn-icon:hover { transform: scale(1.06); filter: brightness(0.96); } }
.btn-icon:active { transform: scale(0.96); }
.btn-icon:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.btn-icon > svg, .btn-icon > img { width: 42%; height: 42%; display: block; }

/* Small size — only height + inline padding shrink; radius/typography unchanged. */
.btn--sm { min-height: var(--btn-height-sm, 44px); padding-inline: 18px; font-size: 16px; }

/* ===========================================================================
   HOVER VOCABULARY (reusable utilities)
   =========================================================================== */

/* 1. Powiększenie — scale up */
.hover-scale { transition: transform 200ms ease; }
@media (hover: hover) { .hover-scale:hover { transform: scale(1.04); } }
.hover-scale:active { transform: scale(0.99); }

/* image inside a fixed frame — zoom the image, not the box */
.media { overflow: hidden; border-radius: var(--radius-md, var(--border-radius, 0px)); }
.media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 400ms ease; }
@media (hover: hover) { .media:hover img { transform: scale(1.06); } }

/* 2. Uniesienie — lift (translateY + shadow). Rest is flat (signature #5); the lift is hover-only. */
.hover-lift { transition: transform 200ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 200ms ease; }
@media (hover: hover) {
  .hover-lift:hover { transform: translateY(-4px); box-shadow: 0 14px 28px -14px rgba(0, 0, 0, 0.28); }
}
.hover-lift:active { transform: translateY(-1px); }

/* 3. Zmiana koloru — colour swap */
.hover-fill { transition: background-color 200ms ease, color 200ms ease; }
@media (hover: hover) {
  .hover-fill:hover { background-color: var(--accent, var(--brand)); color: var(--accent-contrast, var(--white)); }
}
.hover-tint { transition: color 200ms ease, border-color 200ms ease; }
@media (hover: hover) {
  .hover-tint:hover { color: var(--brand); border-color: var(--brand); }
}

/* 4. Ruchoma strzałka — moving arrow. Nudges DIAGONALLY (↗) to match the design's arrow. */
.with-arrow { display: inline-flex; align-items: center; gap: 10px; }
.with-arrow .arrow { transition: transform 200ms ease; }
@media (hover: hover) { .with-arrow:hover .arrow { transform: translate(3px, -3px); } }

.arrow-loop { animation: arrow-nudge 1.4s ease-in-out infinite; }
@keyframes arrow-nudge {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(4px, -4px); }
}

/* 5. Dodanie podkreślenia — animated underline (red, grows from left) */
.link-underline {
  position: relative;
  text-decoration: none;
  color: inherit;
  background-image: linear-gradient(var(--brand), var(--brand));
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 0% 2px;
  transition: background-size 220ms ease, color 200ms ease;
  padding-bottom: 2px;
}
@media (hover: hover) {
  .link-underline:hover { background-size: 100% 2px; color: var(--brand); }
}
.link-underline:focus-visible { background-size: 100% 2px; outline: none; }
.link-underline[aria-current="page"] { background-size: 100% 2px; color: var(--brand); }
.link-underline-center { background-position: 50% 100%; }

/* ===========================================================================
   CONTENT ICONS (monochrome, recolourable) — CSS mask so band picks the paint
   =========================================================================== */
.svc-icon {
  display: inline-block;
  width: 40px; height: 40px;
  background-color: var(--accent, var(--brand));
  -webkit-mask: var(--icon) center / contain no-repeat;
          mask: var(--icon) center / contain no-repeat;
  transition: background-color 200ms ease;
}
/* Inside a filled RED SQUARE badge (signature #4) the icon must read WHITE — the section sets:
   .icon-badge .svc-icon { background-color: var(--accent-contrast, var(--white)); } */

/* Step-number badge — square disc (signature #1), grid-centred glyph */
.step-badge {
  display: grid;
  place-items: center;
  width: 64px; height: 64px;
  border-radius: var(--radius-sm, var(--border-radius, 0px));
  background-color: var(--accent, var(--brand));
  color: var(--accent-contrast, var(--white));
}
.step-num {
  line-height: 1;
  letter-spacing: 0;
  font-variant-numeric: lining-nums tabular-nums;
  text-box-trim: trim-both;
  text-box-edge: cap alphabetic;
}

/* ===========================================================================
   CARDS / TILES — flat at rest (signature #5); hover lift is the convention
   =========================================================================== */
.card {
  position: relative;
  z-index: 1;
  background: var(--card-bg, var(--white));
  border-radius: var(--radius-md, var(--border-radius, 0px));
  overflow: hidden;
  transition: transform 200ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 200ms ease;
}
@media (hover: hover) {
  .card:hover { transform: translateY(-4px); box-shadow: 0 14px 28px -14px rgba(0, 0, 0, 0.28); }
  .card:hover img { transform: scale(1.05); }
  .card:hover .arrow { transform: translate(3px, -3px); }
}
.card img { transition: transform 400ms ease; }
.card a:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

/* .card is padless so flush media reaches its edges — text goes in this padded wrapper. */
.card-body { padding: var(--padding-vertical, 32px) var(--padding-horizontal, 32px); }

/* ===========================================================================
   INPUTS — hard-cornered box, light border, red focus ring
   =========================================================================== */
.field {
  width: 100%;
  box-sizing: border-box;
  padding: 16px;
  border: 1px solid var(--light3, #c0c0c0);
  border-radius: var(--radius-sm, var(--border-radius, 0px));
  background: var(--white);
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  color: var(--black3, #211e1e);
  transition: border-color 200ms ease, box-shadow 200ms ease;
}
.field::placeholder { color: var(--light3, #c0c0c0); }
.field:hover { border-color: var(--black1, #5d5b5b); }
.field:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 22%, transparent);
}
.field:disabled { opacity: 0.5; cursor: not-allowed; }
.field:user-invalid { border-color: #e5484d; }

/* Missing dashboard data → obvious temporary placeholder */
.data-placeholder {
  opacity: 0.55;
  font-style: italic;
  font-weight: inherit;
}

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