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

:root {
  /* Colors */
  --white: #ffffff;
  --light2: #dfdddb;
  --brand: #fc4f03;
  --black3: #100d0b;
  --brand-secondary: #2f5ea4;
  --light1: #f5f3f2;
  --light3: #c3c1c0;
  --black2: #282827;
  --black1: #737373;
  --dark-graphite: #252525;

  /* Spacing */
  --padding-horizontal: 24px;
  --padding-vertical: 24px;
  --cards-gap: 20px;
  --section-gap: 48px;
  --section-padding: 100px;

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

/* 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-18px-text {
  font-family: "Josefin Sans", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 23.4px;
}

.text-22px-title {
  font-family: "Josefin Sans", sans-serif;
  font-size: 24px;
  font-weight: 600;
  line-height: 31.2px;
  letter-spacing: -0.02em;
}

.text-64px-title {
  font-family: "Josefin Sans", sans-serif;
  font-size: 64px;
  font-weight: 300;
  line-height: 70.4px;
  letter-spacing: -0.02em;
}

.text-24px-title {
  font-family: "Josefin Sans", sans-serif;
  font-size: 24px;
  font-weight: 600;
  line-height: 31.2px;
  letter-spacing: -0.02em;
}

.text-16px-text {
  font-family: "Josefin Sans", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 22.4px;
}

.text-40px-title {
  font-family: "Josefin Sans", sans-serif;
  font-size: 40px;
  font-weight: 300;
  line-height: 48px;
  letter-spacing: -0.02em;
}

.text-18-px-button {
  font-family: "Josefin Sans", sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 23.4px;
  letter-spacing: -0.02em;
}

.text-48px-title {
  font-family: "Josefin Sans", sans-serif;
  font-size: 48px;
  font-weight: 300;
  line-height: 57.6px;
  letter-spacing: -0.02em;
}

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

.text-20px-title {
  font-family: "Poppins", sans-serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 31.2px;
  letter-spacing: -0.02em;
}

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

.text-80px-title {
  font-family: "Josefin Sans", sans-serif;
  font-size: 80px;
  font-weight: 700;
  line-height: 70.4px;
  letter-spacing: -0.02em;
}

.text-28px-title {
  font-family: "Poppins", sans-serif;
  font-size: 28px;
  font-weight: 600;
  line-height: 27.4px;
  letter-spacing: -0.02em;
}

/* UI signature — derived from the design; every component honours these:
   1) Uniformly SHARP corners: one tight 4px radius on buttons, cards, images AND inputs
      site-wide - no pills, no soft rounding, no mixed/dropped corners (flat, architectural
      construction brand). Only round chrome is out of scope.
   2) Primary CTA is a SOLID orange (#fc4f03) block with a slightly darker orange 2px border,
      WHITE uppercase bold label (Josefin Sans 700, negative tracking) and a trailing arrow (->)
      that slides right on hover; flat 58px-tall rectangle, no drop shadow.
   3) Secondary buttons are OUTLINE-only: a 2px orange border on a transparent fill, uppercase
      label that inverts with the band (dark on light, white on dark) - NEVER a second orange
      fill; same rectangle/size as primary, lower priority by being hollow. Hover floods orange.
   4) Cards/tiles are full-bleed edge-to-edge PHOTOS at 4px radius with a bottom black gradient
      scrim and white text sitting INSIDE the image at bottom-left - NO outer resting shadow;
      hover lifts the tile and zooms the photo within its clipped frame.
   5) Two-tone construction scheme: near-black (#100d0b) and cream (#f5f3f2) surfaces carry ~90%
      of the UI while orange (#fc4f03) stays a sparing ~10% accent - CTAs, highlighted heading
      words, big outline process numerals and the ">>" chevrons only; body copy uses ink tokens. */

:root {
  /* Accent — the design's PRIMARY CTA colour is the orange --brand (verified against the
     screenshots: nav / hero / services "Kostenlose Angebot" buttons are all #fc4f03). */
  --accent: var(--brand, #fc4f03);
  --accent-2: var(--brand, #fc4f03);        /* solid CTA, NOT a gradient — kept = --accent */
  --accent-contrast: var(--white, #ffffff); /* readable label on the orange fill */
  --btn-shadow: none;                        /* the design draws flat CTAs — no resting shadow */

  /* Radius — this brand is uniformly sharp: the Figma --border-radius (4px) is applied to
     buttons, cards, images AND inputs alike, so the whole scale collapses to 4px on purpose. */
  --radius-sm: var(--border-radius, 4px);    /* inputs / small chips */
  --radius-md: var(--border-radius, 4px);    /* cards / tiles */
  --radius-lg: var(--border-radius, 4px);    /* large containers / hero cards */
  --radius-pill: 999px;                       /* reserved; unused by this flat brand */
  --btn-radius: var(--border-radius, 4px);   /* primary button radius — also shapes slider chrome */

  /* One button height for the whole site — seeded from the design's 58px primary CTA. */
  --btn-height: 58px;
  --btn-height-sm: 44px;

  /* 2px is this brand's deliberate border statement (the orange outline on every button);
     hairlines elsewhere stay 1px. */
  --btn-border-width: 2px;
}

/* ============================================================================
   BUTTONS — one invariant shape site-wide (height / radius / padding / label
   type are fixed here); only COLOUR varies per band via --btn-bg/--btn-fg/--btn-accent.
   ============================================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-sizing: border-box;
  min-height: var(--btn-height, 58px);
  padding-block: 0;
  padding-inline: 32px;
  border: var(--btn-border-width, 2px) solid transparent;
  border-radius: var(--btn-radius, var(--border-radius, 4px));
  font-family: "Josefin Sans", sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  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(--accent, var(--brand, #fc4f03));
  outline-offset: 2px;
}
.btn:disabled,
.btn[aria-disabled="true"] {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

/* Primary — solid orange block, slightly darker orange 2px border, white uppercase label. */
.btn-primary {
  background: var(--btn-bg, var(--accent, var(--brand, #fc4f03)));
  color: var(--btn-fg, var(--accent-contrast, var(--white, #ffffff)));
  border-color: var(--btn-accent, color-mix(in srgb, var(--accent, var(--brand, #fc4f03)) 88%, black));
  box-shadow: var(--btn-shadow, none);
}
@media (hover: hover) {
  .btn-primary:hover {
    transform: translateY(-2px);
    filter: brightness(0.96);
  }
}
.btn-primary:active {
  transform: translateY(0);
  filter: none;
}

/* Secondary — outline only (2px orange border, transparent fill); label colour inverts with the
   band via --btn-fg. Hover floods the orange fill. Never a second solid-accent clone. */
.btn-secondary {
  background-color: var(--btn-bg, transparent);
  color: var(--btn-fg, var(--black3, #100d0b));
  border-color: var(--btn-accent, var(--accent, var(--brand, #fc4f03)));
}
@media (hover: hover) {
  .btn-secondary:hover {
    background-color: var(--btn-accent, var(--accent, var(--brand, #fc4f03)));
    color: var(--btn-hover-fg, var(--accent-contrast, var(--white, #ffffff)));
  }
}
.btn-secondary:active { filter: brightness(0.95); }

/* Ghost / text — no chrome until hover. */
.btn-ghost {
  background-color: transparent;
  color: var(--btn-fg, var(--black2, #282827));
  border-color: transparent;
  padding-inline: 8px;
}
@media (hover: hover) {
  .btn-ghost:hover {
    background-color: color-mix(in srgb, var(--btn-accent, var(--accent, var(--brand, #fc4f03))) 10%, transparent);
  }
}
.btn-ghost:active { transform: translateY(0); }

/* Icon button — square orange chip (this brand has no round buttons); matches the sharp 4px look. */
.btn-icon {
  width: 48px;
  height: 48px;
  padding: 0;
  min-height: 0;
  border-radius: var(--btn-radius, var(--radius-sm, 4px));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--btn-bg, var(--accent, var(--brand, #fc4f03)));
  color: var(--btn-fg, var(--accent-contrast, var(--white, #ffffff)));
  border: none;
  cursor: pointer;
  transition: transform 200ms ease, background-color 200ms ease, filter 200ms ease;
}
@media (hover: hover) {
  .btn-icon:hover { transform: translateY(-2px); filter: brightness(0.96); }
}
.btn-icon:active { transform: translateY(0); filter: none; }
.btn-icon:focus-visible {
  outline: 2px solid var(--accent, var(--brand, #fc4f03));
  outline-offset: 2px;
}
/* A slotted raw <svg>/<img> (slider arrow, lightbox glyph) — sized to the square & centred. */
.btn-icon > svg,
.btn-icon > img { width: 42%; height: 42%; display: block; }

/* The ONE deliberate smaller button — height + inline padding shrink only. */
.btn--sm { min-height: var(--btn-height-sm, 44px); padding-inline: 20px; }

/* ============================================================================
   HOVER VOCABULARY — reusable utilities (combine per component).
   ============================================================================ */

/* 1. Powiekszenie — scale up (for images inside a clipped frame). */
.hover-scale { transition: transform 200ms ease; }
@media (hover: hover) { .hover-scale:hover { transform: scale(1.04); } }
.hover-scale:active { transform: scale(0.99); }

/* 2. Uniesienie — lift (translateY + two-layer tinted shadow). */
.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(-6px);
    box-shadow: 0 2px 4px color-mix(in srgb, var(--black3, #100d0b) 6%, transparent),
                0 14px 28px -12px color-mix(in srgb, var(--black3, #100d0b) 16%, transparent);
  }
}
.hover-lift:active { transform: translateY(-2px); }

/* 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, #fc4f03));
    color: var(--accent-contrast, var(--white, #ffffff));
  }
}
.hover-tint { transition: color 200ms ease, border-color 200ms ease; }
@media (hover: hover) {
  .hover-tint:hover {
    color: var(--accent, var(--brand, #fc4f03));
    border-color: var(--accent, var(--brand, #fc4f03));
  }
}

/* 4. Ruchoma strzalka — moving arrow (arrow in its own element so only it moves). */
.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: translateX(4px); } }
.arrow-loop { animation: arrow-nudge 1.4s ease-in-out infinite; }
@keyframes arrow-nudge {
  0%, 100% { transform: translateX(0); }
  50%      { transform: translateX(6px); }
}

/* 5. Dodanie podkreslenia — animated underline (nav + inline links). */
.link-underline {
  position: relative;
  text-decoration: none;
  color: inherit;
  background-image: linear-gradient(var(--accent, var(--brand, #fc4f03)), var(--accent, var(--brand, #fc4f03)));
  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(--accent, var(--brand, #fc4f03)); }
}
.link-underline:focus-visible { background-size: 100% 2px; outline: none; }
.link-underline[aria-current="page"] { background-size: 100% 2px; color: var(--accent, var(--brand, #fc4f03)); }
.link-underline-center { background-position: 50% 100%; }

/* ============================================================================
   CARDS / TILES — full-bleed photo tiles, 4px radius, no resting shadow.
   ============================================================================ */
.card {
  position: relative;
  z-index: 1;
  background: var(--white, #ffffff);
  border-radius: var(--radius-md, var(--border-radius, 4px));
  overflow: hidden;
  transition: transform 200ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 200ms ease;
}
@media (hover: hover) {
  .card:hover {
    transform: translateY(-6px);
    box-shadow: 0 2px 4px color-mix(in srgb, var(--black3, #100d0b) 6%, transparent),
                0 14px 28px -12px color-mix(in srgb, var(--black3, #100d0b) 16%, transparent);
  }
  .card:hover img { transform: scale(1.05); }
  .card:hover .arrow { transform: translateX(4px); }
}
.card img { transition: transform 400ms ease; }
.card a:focus-visible { outline: 2px solid var(--accent, var(--brand, #fc4f03)); outline-offset: 2px; }

/* .card is padless so flush photos reach its edges; text lives in this padded wrapper. */
.card-body { padding: var(--padding-vertical, 24px) var(--padding-horizontal, 24px); }

/* ============================================================================
   INPUTS — light fields, 4px radius, 1px hairline, orange focus.
   ============================================================================ */
.field {
  width: 100%;
  box-sizing: border-box;
  padding: 14px 16px;
  border: 1px solid var(--light3, #c3c1c0);
  border-radius: var(--radius-sm, var(--border-radius, 4px));
  background: var(--white, #ffffff);
  font-family: "Josefin Sans", sans-serif;
  font-size: 16px;
  line-height: 22.4px;
  color: var(--black3, #100d0b);
  transition: border-color 200ms ease, box-shadow 200ms ease;
}
.field::placeholder { color: var(--light3, #c3c1c0); }
.field:hover { border-color: var(--accent, var(--brand, #fc4f03)); }
.field:focus {
  outline: none;
  border-color: var(--accent, var(--brand, #fc4f03));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent, var(--brand, #fc4f03)) 25%, transparent);
}
.field:user-invalid { border-color: #e5484d; }

/* ============================================================================
   MISSING-DATA PLACEHOLDER — obviously-temporary bracketed value.
   ============================================================================ */
.data-placeholder {
  opacity: 0.55;
  font-style: italic;
  font-weight: inherit;
}

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