@tailwind base;

@tailwind components;

@tailwind utilities;

*, ::before, ::after{
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}

::backdrop{
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}

/*
! tailwindcss v3.4.19 | MIT License | https://tailwindcss.com
*/

/*
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)
*/

*,
::before,
::after {
  box-sizing: border-box;
  /* 1 */
  border-width: 0;
  /* 2 */
  border-style: solid;
  /* 2 */
  border-color: #e5e7eb;
  /* 2 */
}

::before,
::after {
  --tw-content: '';
}

/*
1. Use a consistent sensible line-height in all browsers.
2. Prevent adjustments of font size after orientation changes in iOS.
3. Use a more readable tab size.
4. Use the user's configured `sans` font-family by default.
5. Use the user's configured `sans` font-feature-settings by default.
6. Use the user's configured `sans` font-variation-settings by default.
7. Disable tap highlights on iOS
*/

html,
:host {
  line-height: 1.5;
  /* 1 */
  -webkit-text-size-adjust: 100%;
  /* 2 */
  -moz-tab-size: 4;
  /* 3 */
  -o-tab-size: 4;
     tab-size: 4;
  /* 3 */
  font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  /* 4 */
  font-feature-settings: normal;
  /* 5 */
  font-variation-settings: normal;
  /* 6 */
  -webkit-tap-highlight-color: transparent;
  /* 7 */
}

/*
1. Remove the margin in all browsers.
2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.
*/

body {
  margin: 0;
  /* 1 */
  line-height: inherit;
  /* 2 */
}

/*
1. Add the correct height in Firefox.
2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
3. Ensure horizontal rules are visible by default.
*/

hr {
  height: 0;
  /* 1 */
  color: inherit;
  /* 2 */
  border-top-width: 1px;
  /* 3 */
}

/*
Add the correct text decoration in Chrome, Edge, and Safari.
*/

abbr:where([title]) {
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted;
}

/*
Remove the default font size and weight for headings.
*/

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}

/*
Reset links to optimize for opt-in styling instead of opt-out.
*/

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

/*
Add the correct font weight in Edge and Safari.
*/

b,
strong {
  font-weight: bolder;
}

/*
1. Use the user's configured `mono` font-family by default.
2. Use the user's configured `mono` font-feature-settings by default.
3. Use the user's configured `mono` font-variation-settings by default.
4. Correct the odd `em` font sizing in all browsers.
*/

code,
kbd,
samp,
pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  /* 1 */
  font-feature-settings: normal;
  /* 2 */
  font-variation-settings: normal;
  /* 3 */
  font-size: 1em;
  /* 4 */
}

/*
Add the correct font size in all browsers.
*/

small {
  font-size: 80%;
}

/*
Prevent `sub` and `sup` elements from affecting the line height in all browsers.
*/

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/*
1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
3. Remove gaps between table borders by default.
*/

table {
  text-indent: 0;
  /* 1 */
  border-color: inherit;
  /* 2 */
  border-collapse: collapse;
  /* 3 */
}

/*
1. Change the font styles in all browsers.
2. Remove the margin in Firefox and Safari.
3. Remove default padding in all browsers.
*/

button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  /* 1 */
  font-feature-settings: inherit;
  /* 1 */
  font-variation-settings: inherit;
  /* 1 */
  font-size: 100%;
  /* 1 */
  font-weight: inherit;
  /* 1 */
  line-height: inherit;
  /* 1 */
  letter-spacing: inherit;
  /* 1 */
  color: inherit;
  /* 1 */
  margin: 0;
  /* 2 */
  padding: 0;
  /* 3 */
}

/*
Remove the inheritance of text transform in Edge and Firefox.
*/

button,
select {
  text-transform: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Remove default button styles.
*/

button,
input:where([type='button']),
input:where([type='reset']),
input:where([type='submit']) {
  -webkit-appearance: button;
  /* 1 */
  background-color: transparent;
  /* 2 */
  background-image: none;
  /* 2 */
}

/*
Use the modern Firefox focus style for all focusable elements.
*/

:-moz-focusring {
  outline: auto;
}

/*
Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
*/

:-moz-ui-invalid {
  box-shadow: none;
}

/*
Add the correct vertical alignment in Chrome and Firefox.
*/

progress {
  vertical-align: baseline;
}

/*
Correct the cursor style of increment and decrement buttons in Safari.
*/

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto;
}

/*
1. Correct the odd appearance in Chrome and Safari.
2. Correct the outline style in Safari.
*/

[type='search'] {
  -webkit-appearance: textfield;
  /* 1 */
  outline-offset: -2px;
  /* 2 */
}

/*
Remove the inner padding in Chrome and Safari on macOS.
*/

::-webkit-search-decoration {
  -webkit-appearance: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Change font properties to `inherit` in Safari.
*/

::-webkit-file-upload-button {
  -webkit-appearance: button;
  /* 1 */
  font: inherit;
  /* 2 */
}

/*
Add the correct display in Chrome and Safari.
*/

summary {
  display: list-item;
}

/*
Removes the default spacing and border for appropriate elements.
*/

blockquote,
dl,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
figure,
p,
pre {
  margin: 0;
}

fieldset {
  margin: 0;
  padding: 0;
}

legend {
  padding: 0;
}

ol,
ul,
menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

/*
Reset default styling for dialogs.
*/

dialog {
  padding: 0;
}

/*
Prevent resizing textareas horizontally by default.
*/

textarea {
  resize: vertical;
}

/*
1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
2. Set the default placeholder color to the user's configured gray 400 color.
*/

input::-moz-placeholder, textarea::-moz-placeholder {
  opacity: 1;
  /* 1 */
  color: #9ca3af;
  /* 2 */
}

input::placeholder,
textarea::placeholder {
  opacity: 1;
  /* 1 */
  color: #9ca3af;
  /* 2 */
}

/*
Set the default cursor for buttons.
*/

button,
[role="button"] {
  cursor: pointer;
}

/*
Make sure disabled buttons don't get the pointer cursor.
*/

:disabled {
  cursor: default;
}

/*
1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)
2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
   This can trigger a poorly considered lint error in some tools but is included by design.
*/

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block;
  /* 1 */
  vertical-align: middle;
  /* 2 */
}

/*
Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
*/

img,
video {
  max-width: 100%;
  height: auto;
}

/* Make elements with the HTML hidden attribute stay hidden by default */

[hidden]:where(:not([hidden="until-found"])) {
  display: none;
}

.pointer-events-none{
  pointer-events: none;
}

.absolute{
  position: absolute;
}

.relative{
  position: relative;
}

.inset-0{
  inset: 0px;
}

.-bottom-6{
  bottom: -1.5rem;
}

.-left-6{
  left: -1.5rem;
}

.-right-8{
  right: -2rem;
}

.-top-8{
  top: -2rem;
}

.bottom-0{
  bottom: 0px;
}

.left-0{
  left: 0px;
}

.right-4{
  right: 1rem;
}

.top-1\/2{
  top: 50%;
}

.-z-10{
  z-index: -10;
}

.z-10{
  z-index: 10;
}

.m-0{
  margin: 0px;
}

.mx-auto{
  margin-left: auto;
  margin-right: auto;
}

.mb-1{
  margin-bottom: 0.25rem;
}

.mb-10{
  margin-bottom: 2.5rem;
}

.mb-12{
  margin-bottom: 3rem;
}

.mb-16{
  margin-bottom: 4rem;
}

.mb-2{
  margin-bottom: 0.5rem;
}

.mb-3{
  margin-bottom: 0.75rem;
}

.mb-4{
  margin-bottom: 1rem;
}

.mb-5{
  margin-bottom: 1.25rem;
}

.mb-6{
  margin-bottom: 1.5rem;
}

.mb-7{
  margin-bottom: 1.75rem;
}

.mb-8{
  margin-bottom: 2rem;
}

.ml-2{
  margin-left: 0.5rem;
}

.mr-3{
  margin-right: 0.75rem;
}

.mt-1{
  margin-top: 0.25rem;
}

.mt-10{
  margin-top: 2.5rem;
}

.mt-12{
  margin-top: 3rem;
}

.mt-16{
  margin-top: 4rem;
}

.mt-2{
  margin-top: 0.5rem;
}

.mt-8{
  margin-top: 2rem;
}

.mt-auto{
  margin-top: auto;
}

.block{
  display: block;
}

.inline-block{
  display: inline-block;
}

.flex{
  display: flex;
}

.inline-flex{
  display: inline-flex;
}

.grid{
  display: grid;
}

.hidden{
  display: none;
}

.aspect-\[4\/3\]{
  aspect-ratio: 4/3;
}

.aspect-\[4\/5\]{
  aspect-ratio: 4/5;
}

.h-10{
  height: 2.5rem;
}

.h-12{
  height: 3rem;
}

.h-2{
  height: 0.5rem;
}

.h-3{
  height: 0.75rem;
}

.h-4{
  height: 1rem;
}

.h-5{
  height: 1.25rem;
}

.h-6{
  height: 1.5rem;
}

.h-64{
  height: 16rem;
}

.h-auto{
  height: auto;
}

.h-fit{
  height: -moz-fit-content;
  height: fit-content;
}

.h-full{
  height: 100%;
}

.min-h-\[420px\]{
  min-height: 420px;
}

.w-10{
  width: 2.5rem;
}

.w-12{
  width: 3rem;
}

.w-3{
  width: 0.75rem;
}

.w-4{
  width: 1rem;
}

.w-5{
  width: 1.25rem;
}

.w-6{
  width: 1.5rem;
}

.w-64{
  width: 16rem;
}

.w-full{
  width: 100%;
}

.w-px{
  width: 1px;
}

.max-w-2xl{
  max-width: 42rem;
}

.max-w-3xl{
  max-width: 48rem;
}

.max-w-4xl{
  max-width: 56rem;
}

.max-w-7xl{
  max-width: 80rem;
}

.max-w-\[250px\]{
  max-width: 250px;
}

.max-w-xl{
  max-width: 36rem;
}

.flex-shrink-0{
  flex-shrink: 0;
}

.-translate-y-1\/2{
  --tw-translate-y: -50%;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.transform{
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.cursor-pointer{
  cursor: pointer;
}

.scroll-mt-\[100px\]{
  scroll-margin-top: 100px;
}

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

.flex-col{
  flex-direction: column;
}

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

.items-start{
  align-items: flex-start;
}

.items-center{
  align-items: center;
}

.justify-end{
  justify-content: flex-end;
}

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

.justify-between{
  justify-content: space-between;
}

.gap-12{
  gap: 3rem;
}

.gap-16{
  gap: 4rem;
}

.gap-2{
  gap: 0.5rem;
}

.gap-4{
  gap: 1rem;
}

.gap-5{
  gap: 1.25rem;
}

.gap-6{
  gap: 1.5rem;
}

.gap-8{
  gap: 2rem;
}

.gap-x-5{
  -moz-column-gap: 1.25rem;
       column-gap: 1.25rem;
}

.gap-x-6{
  -moz-column-gap: 1.5rem;
       column-gap: 1.5rem;
}

.gap-y-2{
  row-gap: 0.5rem;
}

.space-y-12 > :not([hidden]) ~ :not([hidden]){
  --tw-space-y-reverse: 0;
  margin-top: calc(3rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(3rem * var(--tw-space-y-reverse));
}

.space-y-4 > :not([hidden]) ~ :not([hidden]){
  --tw-space-y-reverse: 0;
  margin-top: calc(1rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(1rem * var(--tw-space-y-reverse));
}

.space-y-6 > :not([hidden]) ~ :not([hidden]){
  --tw-space-y-reverse: 0;
  margin-top: calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(1.5rem * var(--tw-space-y-reverse));
}

.space-y-8 > :not([hidden]) ~ :not([hidden]){
  --tw-space-y-reverse: 0;
  margin-top: calc(2rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(2rem * var(--tw-space-y-reverse));
}

.overflow-hidden{
  overflow: hidden;
}

.whitespace-nowrap{
  white-space: nowrap;
}

.rounded{
  border-radius: 0.25rem;
}

.rounded-full{
  border-radius: 9999px;
}

.rounded-lg{
  border-radius: 0.5rem;
}

.rounded-md{
  border-radius: 0.375rem;
}

.rounded-sm{
  border-radius: 0.125rem;
}

.rounded-xl{
  border-radius: 0.75rem;
}

.border{
  border-width: 1px;
}

.border-0{
  border-width: 0px;
}

.border-y{
  border-top-width: 1px;
  border-bottom-width: 1px;
}

.border-b{
  border-bottom-width: 1px;
}

.border-b-2{
  border-bottom-width: 2px;
}

.border-t{
  border-top-width: 1px;
}

.border-\[var\(--line\)\]{
  border-color: var(--line);
}

.border-\[var\(--orange\)\]{
  border-color: var(--orange);
}

.border-gray-100{
  --tw-border-opacity: 1;
  border-color: rgb(243 244 246 / var(--tw-border-opacity, 1));
}

.border-gray-200{
  --tw-border-opacity: 1;
  border-color: rgb(229 231 235 / var(--tw-border-opacity, 1));
}

.border-white\/10{
  border-color: rgb(255 255 255 / 0.1);
}

.border-white\/20{
  border-color: rgb(255 255 255 / 0.2);
}

.bg-\[\#121417\]{
  --tw-bg-opacity: 1;
  background-color: rgb(18 20 23 / var(--tw-bg-opacity, 1));
}

.bg-\[\#f8f8f6\]{
  --tw-bg-opacity: 1;
  background-color: rgb(248 248 246 / var(--tw-bg-opacity, 1));
}

.bg-\[\#fef0e8\]{
  --tw-bg-opacity: 1;
  background-color: rgb(254 240 232 / var(--tw-bg-opacity, 1));
}

.bg-\[var\(--coal\)\]{
  background-color: var(--coal);
}

.bg-\[var\(--orange\)\]{
  background-color: var(--orange);
}

.bg-gray-100{
  --tw-bg-opacity: 1;
  background-color: rgb(243 244 246 / var(--tw-bg-opacity, 1));
}

.bg-gray-200{
  --tw-bg-opacity: 1;
  background-color: rgb(229 231 235 / var(--tw-bg-opacity, 1));
}

.bg-gray-50{
  --tw-bg-opacity: 1;
  background-color: rgb(249 250 251 / var(--tw-bg-opacity, 1));
}

.bg-gray-900{
  --tw-bg-opacity: 1;
  background-color: rgb(17 24 39 / var(--tw-bg-opacity, 1));
}

.bg-transparent{
  background-color: transparent;
}

.bg-white{
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
}

.bg-white\/15{
  background-color: rgb(255 255 255 / 0.15);
}

.bg-\[url\(\'\/assets\/hero\/hero-arbeitnehmer-mobile\.webp\'\)\]{
  background-image: url('/assets/hero/hero-arbeitnehmer-mobile.webp');
}

.bg-\[url\(\'\/assets\/hero\/hero-brueckenbau-mobile\.webp\'\)\]{
  background-image: url('/assets/hero/hero-brueckenbau-mobile.webp');
}

.bg-\[url\(\'\/assets\/hero\/hero-gebaeudesanierung-mobile\.webp\'\)\]{
  background-image: url('/assets/hero/hero-gebaeudesanierung-mobile.webp');
}

.bg-\[url\(\'\/assets\/hero\/hero-kontakt-mobile\.webp\'\)\]{
  background-image: url('/assets/hero/hero-kontakt-mobile.webp');
}

.bg-\[url\(\'\/assets\/hero\/hero-lagerhallenbau-mobile\.webp\'\)\]{
  background-image: url('/assets/hero/hero-lagerhallenbau-mobile.webp');
}

.bg-\[url\(\'\/assets\/hero\/hero-leistungen-mobile\.webp\'\)\]{
  background-image: url('/assets/hero/hero-leistungen-mobile.webp');
}

.bg-\[url\(\'\/assets\/hero\/hero-onas-mobile\.webp\'\)\]{
  background-image: url('/assets/hero/hero-onas-mobile.webp');
}

.bg-\[url\(\'\/assets\/hero\/hero-polnische-bauarbeiter-mobile\.webp\'\)\]{
  background-image: url('/assets/hero/hero-polnische-bauarbeiter-mobile.webp');
}

.bg-\[url\(\'\/assets\/hero\/hero-referenzen-mobile\.webp\'\)\]{
  background-image: url('/assets/hero/hero-referenzen-mobile.webp');
}

.bg-\[url\(\'\/assets\/hero\/hero-rohbau-mobile\.webp\'\)\]{
  background-image: url('/assets/hero/hero-rohbau-mobile.webp');
}

.bg-\[url\(\'\/assets\/hero\/hero-sonstige-dienste-mobile\.webp\'\)\]{
  background-image: url('/assets/hero/hero-sonstige-dienste-mobile.webp');
}

.bg-\[url\(\'\/assets\/hero\/hero-stahlbetonarbeiten-mobile\.webp\'\)\]{
  background-image: url('/assets/hero/hero-stahlbetonarbeiten-mobile.webp');
}

.bg-gradient-to-r{
  background-image: linear-gradient(to right, var(--tw-gradient-stops));
}

.bg-gradient-to-t{
  background-image: linear-gradient(to top, var(--tw-gradient-stops));
}

.from-\[rgba\(18\2c 20\2c 23\2c 0\.95\)\]{
  --tw-gradient-from: rgba(18,20,23,0.95) var(--tw-gradient-from-position);
  --tw-gradient-to: rgba(18, 20, 23, 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

.from-black\/90{
  --tw-gradient-from: rgb(0 0 0 / 0.9) var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(0 0 0 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

.from-black\/95{
  --tw-gradient-from: rgb(0 0 0 / 0.95) var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(0 0 0 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

.via-\[rgba\(18\2c 20\2c 23\2c 0\.7\)\]{
  --tw-gradient-to: rgba(18, 20, 23, 0)  var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), rgba(18,20,23,0.7) var(--tw-gradient-via-position), var(--tw-gradient-to);
}

.via-black\/30{
  --tw-gradient-to: rgb(0 0 0 / 0)  var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), rgb(0 0 0 / 0.3) var(--tw-gradient-via-position), var(--tw-gradient-to);
}

.via-black\/60{
  --tw-gradient-to: rgb(0 0 0 / 0)  var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), rgb(0 0 0 / 0.6) var(--tw-gradient-via-position), var(--tw-gradient-to);
}

.to-\[rgba\(18\2c 20\2c 23\2c 0\.3\)\]{
  --tw-gradient-to: rgba(18,20,23,0.3) var(--tw-gradient-to-position);
}

.to-transparent{
  --tw-gradient-to: transparent var(--tw-gradient-to-position);
}

.bg-cover{
  background-size: cover;
}

.bg-center{
  background-position: center;
}

.object-cover{
  -o-object-fit: cover;
     object-fit: cover;
}

.p-10{
  padding: 2.5rem;
}

.p-4{
  padding: 1rem;
}

.p-6{
  padding: 1.5rem;
}

.p-8{
  padding: 2rem;
}

.px-3{
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

.px-4{
  padding-left: 1rem;
  padding-right: 1rem;
}

.px-8{
  padding-left: 2rem;
  padding-right: 2rem;
}

.py-1{
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}

.py-20{
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.py-24{
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.py-4{
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.pb-1{
  padding-bottom: 0.25rem;
}

.pr-10{
  padding-right: 2.5rem;
}

.pt-1{
  padding-top: 0.25rem;
}

.pt-6{
  padding-top: 1.5rem;
}

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

.text-right{
  text-align: right;
}

.font-mono{
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

.text-2xl{
  font-size: 1.5rem;
  line-height: 2rem;
}

.text-3xl{
  font-size: 1.875rem;
  line-height: 2.25rem;
}

.text-4xl{
  font-size: 2.25rem;
  line-height: 2.5rem;
}

.text-5xl{
  font-size: 3rem;
  line-height: 1;
}

.text-\[10px\]{
  font-size: 10px;
}

.text-\[12px\]{
  font-size: 12px;
}

.text-\[15px\]{
  font-size: 15px;
}

.text-\[16px\]{
  font-size: 16px;
}

.text-\[9px\]{
  font-size: 9px;
}

.text-lg{
  font-size: 1.125rem;
  line-height: 1.75rem;
}

.text-sm{
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.text-xl{
  font-size: 1.25rem;
  line-height: 1.75rem;
}

.text-xs{
  font-size: 0.75rem;
  line-height: 1rem;
}

.font-bold{
  font-weight: 700;
}

.font-extrabold{
  font-weight: 800;
}

.font-medium{
  font-weight: 500;
}

.font-semibold{
  font-weight: 600;
}

.uppercase{
  text-transform: uppercase;
}

.leading-none{
  line-height: 1;
}

.leading-relaxed{
  line-height: 1.625;
}

.tracking-\[-\.01em\]{
  letter-spacing: -.01em;
}

.tracking-\[\.12em\]{
  letter-spacing: .12em;
}

.tracking-\[\.1em\]{
  letter-spacing: .1em;
}

.tracking-tight{
  letter-spacing: -0.025em;
}

.tracking-wide{
  letter-spacing: 0.025em;
}

.tracking-wider{
  letter-spacing: 0.05em;
}

.tracking-widest{
  letter-spacing: 0.1em;
}

.text-\[\#121417\]{
  --tw-text-opacity: 1;
  color: rgb(18 20 23 / var(--tw-text-opacity, 1));
}

.text-\[\#4b5563\]{
  --tw-text-opacity: 1;
  color: rgb(75 85 99 / var(--tw-text-opacity, 1));
}

.text-\[\#f36c21\]{
  --tw-text-opacity: 1;
  color: rgb(243 108 33 / var(--tw-text-opacity, 1));
}

.text-\[var\(--ink\)\]{
  color: var(--ink);
}

.text-\[var\(--orange\)\]{
  color: var(--orange);
}

.text-gray-300{
  --tw-text-opacity: 1;
  color: rgb(209 213 219 / var(--tw-text-opacity, 1));
}

.text-gray-400{
  --tw-text-opacity: 1;
  color: rgb(156 163 175 / var(--tw-text-opacity, 1));
}

.text-gray-500{
  --tw-text-opacity: 1;
  color: rgb(107 114 128 / var(--tw-text-opacity, 1));
}

.text-gray-600{
  --tw-text-opacity: 1;
  color: rgb(75 85 99 / var(--tw-text-opacity, 1));
}

.text-orange-400{
  --tw-text-opacity: 1;
  color: rgb(251 146 60 / var(--tw-text-opacity, 1));
}

.text-white{
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}

.text-white\/35{
  color: rgb(255 255 255 / 0.35);
}

.text-white\/40{
  color: rgb(255 255 255 / 0.4);
}

.text-white\/50{
  color: rgb(255 255 255 / 0.5);
}

.opacity-10{
  opacity: 0.1;
}

.opacity-60{
  opacity: 0.6;
}

.opacity-80{
  opacity: 0.8;
}

.mix-blend-multiply{
  mix-blend-mode: multiply;
}

.shadow-2xl{
  --tw-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
  --tw-shadow-colored: 0 25px 50px -12px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.shadow-none{
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.shadow-sm{
  --tw-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.transition{
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-backdrop-filter;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.transition-all{
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.transition-colors{
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.transition-transform{
  transition-property: transform;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.duration-300{
  transition-duration: 300ms;
}

.duration-500{
  transition-duration: 500ms;
}

.duration-700{
  transition-duration: 700ms;
}

/* MANROPE — variable font */

@font-face {
  font-family: "Manrope";

  src: url("/assets/fonts/Manrope-VariableFont.woff2")
    format("woff2");

  font-style: normal;

  font-weight: 200 800;

  font-display: swap;
}

/* DM MONO — Light 300 */

@font-face {
  font-family: "DM Mono";

  src: url("/assets/fonts/DMMono-Light.woff2")
    format("woff2");

  font-style: normal;

  font-weight: 300;

  font-display: swap;
}

/* DM MONO — Regular 400 */

@font-face {
  font-family: "DM Mono";

  src: url("/assets/fonts/DMMono-Regular.woff2")
    format("woff2");

  font-style: normal;

  font-weight: 400;

  font-display: swap;
}

/* DM MONO — Medium 500 */

@font-face {
  font-family: "DM Mono";

  src: url("/assets/fonts/DMMono-Medium.woff2")
    format("woff2");

  font-style: normal;

  font-weight: 500;

  font-display: swap;
}

:root {
  --orange: #f36c21;
  --coal: #121417;
  --ink: #1d2023;
  --grey: #eef0ee;
  --line: #d9ddda;
}

* {
  box-sizing: border-box;
}

html, body {
  overflow-x: hidden;
  width: 100%;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #f8f8f6;
  color: var(--ink);
  font-family: Manrope, Arial, sans-serif;
}

/* BAZA I TYPOGRAFIA */

.mono {
  font-family: "DM Mono", monospace;
}

.wrap {
  width: min(1180px, calc(100% - 48px));
  margin: auto;
}

.eyebrow {
  font: 500 13px "DM Mono", monospace;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--orange);
}

.headline {
  font-weight: 800;
  letter-spacing: -.065em;
  line-height: .92;
}

.section-title {
  font-size: clamp(38px, 5vw, 68px);
  margin: 14px 0 0;
}

.gridlines {
  background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 48px 48px;
}

.button {
  display: inline-flex;
  gap: 16px;
  align-items: center;
  background: var(--orange);
  color: white;
  padding: 16px 20px;
  text-transform: uppercase;
  font: 500 12px "DM Mono";
  letter-spacing: .06em;
  text-decoration: none;
  transition: .2s;
  border: none;
  cursor: pointer;
}

.button:hover {
  background: #ff823d;
  transform: translateY(-2px);
}

/* NAWIGACJA */

.nav-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: #00000057;
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}

.nav-wrapper.scrolled {
  background: rgba(18, 20, 23, 0.25);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.nav {
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -.08em;
  font-size: 23px;
  color: white;
  text-decoration: none;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.mark {
  width: 28px;
  height: 30px;
  background: var(--orange);
  clip-path: polygon(0 37%, 52% 0, 52% 100%, 0 75%);
  position: relative;
}

.mark:after {
  content: "";
  position: absolute;
  background: var(--coal);
  width: 10px;
  height: 22px;
  right: 4px;
  bottom: 0;
}

.navlinks {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.navlinks a {
  color: #fff;
  text-decoration: none;
  padding: 12px 15px;
  border-radius: 2px;
  transition: .2s;
  text-shadow: 0 2px 8px rgba(0,0,0,0.9), 0 0 15px rgba(0,0,0,0.4);
}

.navlinks a:hover {
  color: #fff;
  background: var(--orange);
  text-shadow: none;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  padding: 10px;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.8));
}

/* ZMIANA JĘZYKA */

.lang-switcher {
  position: relative;
  margin-left: 5px;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  color: #fff;
  padding: 12px 15px;
  border-radius: 2px;
  transition: .2s;
  text-shadow: 0 2px 8px rgba(0,0,0,0.9), 0 0 15px rgba(0,0,0,0.4);
}

.lang-btn:hover {
  background: var(--orange);
  text-shadow: none;
}

.lang-btn img {
  width: 18px;
  height: 13px;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

.lang-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background: #121417;
  min-width: 97px;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  box-shadow: 0 10px 25px rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.05);
  z-index: 10;
  border-radius: 2px;
}

.lang-switcher:hover .lang-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-menu a {
  padding: 12px 15px !important;
  display: flex !important;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  background: transparent;
  text-shadow: none !important;
  width: 100%;
}

.lang-menu a:last-child {
  border-bottom: none;
}

.lang-menu a img {
  width: 18px;
  height: 13px;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 2px;
}

/* HERO - STRONA GŁÓWNA */

.hero {
  min-height: 650px;
  position: relative;
  overflow: hidden;
  color: #fff;
  background: var(--coal);
}

/* Domyślne tło dla urządzeń mobilnych (telefony) */

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10,12,14,.86) 0%, rgba(10,12,14,.55) 37%, rgba(10,12,14,.08) 75%), url('/assets/hero/hero-mobile.webp') center/cover;
}

/* Tło dla tabletów i komputerów (od 768px szerokości) */

@media (min-width: 768px) {
  .hero-bg {
    background: linear-gradient(90deg, rgba(10,12,14,.86) 0%, rgba(10,12,14,.55) 37%, rgba(10,12,14,.08) 75%), url('/assets/hero/hero.webp') center/cover;
  }
}

.hero-content {
  position: relative;
  display: flex;
  min-height: 600px;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 72px;
  padding-top: 150px;
}

.hero h1 {
  font-size: clamp(48px, 7.4vw, 96px);
  max-width: 800px;
  margin: 17px 0 28px;
}

.hero-copy {
  max-width: 475px;
  font-size: 16px;
  line-height: 1.8;
  color: #e5e5e2;
}

.scrollcue {
  position: absolute;
  right: 22px;
  bottom: 78px;
  writing-mode: vertical-rl;
  font: 10px "DM Mono";
  letter-spacing: .15em;
  color: #fff;
  background: rgba(15,17,18,.55);
  padding: 14px 10px;
}

.scrollcue:before {
  content: "";
  display: inline-block;
  width: 1px;
  height: 42px;
  background: var(--orange);
  margin-bottom: 13px;
}

/* SUBPAGE HERO (Podstrony) */

.subpage-hero {
  position: relative;
  background: var(--coal);
  overflow: hidden;
  padding-top: 180px;
  padding-bottom: 100px;
  color: #fff;
}

.subpage-hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(18,20,23,0.95) 0%, rgba(18,20,23,0.7) 50%, rgba(18,20,23,0.3) 100%);
  opacity: 0.6;
  z-index: 1;
}

/* Uwaga: Tło obrazkowe dla .subpage-hero dodawaj w HTML przez Tailwind: bg-[url('...')] bg-center bg-cover */

/* STATYSTYKI */

.stats {
  background: var(--orange);
  color: #fff;
}

.stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat {
  padding: 28px 22px;
  border-left: 1px solid rgba(255,255,255,.3);
}

.stat:last-child {
  border-right: 1px solid rgba(255,255,255,.3);
}

.stat strong {
  font-size: 35px;
  line-height: 1;
  letter-spacing: -.08em;
  display: block;
}

.stat span {
  display: block;
  margin-top: 8px;
  font: 11px "DM Mono";
  text-transform: uppercase;
  letter-spacing: .07em;
}

/* O NAS - INTRO */

.intro-section {
  position: relative;
  overflow: hidden;
  padding: 152px 0;
}

.intro-circle {
  position: absolute;
  width: 520px;
  height: 520px;
  right: -260px;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 50%;
  border: 1px solid rgba(18,20,23,.07);
  pointer-events: none;
  z-index: 0;
}

.intro {
  display: grid;
  grid-template-columns: 4.2fr 5.8fr;
  gap: 7%;
  position: relative;
  z-index: 1;
  align-items: center;
}

.intro-left {
  transform: translateY(-16px);
}

.intro h2 {
  font-size: clamp(38px, 5vw, 68px);
  margin: 14px 0 0;
}

.intro-card {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--line);
  clip-path: polygon(0 0, calc(100% - 32px) 0, 100% 32px, 100% 100%, 0 100%);
  box-shadow: 0 20px 45px rgba(18,20,23,.04);
  display: flex;
  flex-direction: column;
}

.intro-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 32px;
  height: 32px;
  background: var(--orange);
  clip-path: polygon(100% 0, 0 0, 100% 100%);
  pointer-events: none;
  z-index: 2;
}

.intro-slider-stack {
  display: grid;
  grid-template-columns: 1fr;
  padding: 44px 44px 34px;
}

.intro-slide {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
  pointer-events: none;
}

.intro-slide.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.intro-slide p {
  font-size: 16px;
  line-height: 1.85;
  margin: 0;
  color: #4a4d4b;
}

.intro-controls {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  background: #fcfdfc;
}

.intro-tab {
  background: transparent;
  border: none;
  border-right: 1px solid var(--line);
  padding: 18px 12px;
  font: 500 12px "DM Mono", monospace;
  color: #8c918e;
  text-transform: uppercase;
  letter-spacing: .08em;
  cursor: pointer;
  position: relative;
  transition: all 0.25s ease;
  text-align: center;
}

.intro-tab:last-child {
  border-right: none;
}

.intro-tab.active {
  color: var(--orange);
  background: #ffffff;
  box-shadow: inset 0 -3px 0 var(--orange);
}

.intro-tab:hover:not(.active) {
  background: #f4f6f4;
  color: var(--ink);
}

/* VALUES */

.values {
  background: #1c1f22;
  color: white;
  padding: 110px 0;
}

.value-top {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 52px;
}

.value-top h2 {
  font-size: clamp(42px, 5.3vw, 74px);
  margin: 12px 0 0;
}

.slider-count {
  font: 11px "DM Mono";
  color: #999;
}

.slider {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid #45484a;
}

.slide {
  padding: 30px 28px 34px;
  border-right: 1px solid #45484a;
  cursor: pointer;
  min-height: 265px;
  transition: .35s;
}

.slide:first-child {
  border-left: 1px solid #45484a;
}

.slide.active, .slide:hover {
  background: var(--orange);
}

.slide .no {
  font: 13px "DM Mono";
  color: #a9acac;
}

.slide.active .no, .slide:hover .no {
  color: #fff;
}

.slide h3 {
  font-size: 24px;
  letter-spacing: -.05em;
  margin: 56px 0 16px;
}

.slide p {
  font-size: 13px;
  line-height: 1.75;
  color: #c2c4c4;
}

.slide.active p, .slide:hover p {
  color: #fff;
}

/* SLUŻBY / USŁUGI */

.services {
  padding: 140px 0;
  background: #fff;
}

.service-top {
  margin-bottom: 70px;
  max-width: 700px;
}

.service-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px 70px;
  margin-bottom: 70px;
}

.service-box {
  border-top: 1px solid var(--line);
  padding-top: 30px;
}

.service-box h3 {
  font-size: 26px;
  letter-spacing: -0.04em;
  margin: 0 0 20px;
  line-height: 1.2;
}

.service-box p {
  font-size: 15px;
  line-height: 1.8;
  color: #606663;
  margin: 0 0 16px;
}

.service-box p:last-child {
  margin-bottom: 0;
}

.service-full {
  border-top: 1px solid var(--line);
  padding-top: 40px;
}

.service-full h3 {
  font-size: 32px;
  letter-spacing: -0.04em;
  margin: 0 0 24px;
}

.service-full p {
  font-size: 15px;
  line-height: 1.8;
  color: #606663;
  margin: 0 0 20px;
  max-width: 900px;
}

.service-list-ul {
  margin: 0 0 30px 0;
  padding: 0;
  list-style: none;
}

.service-list-ul li {
  font-size: 15px;
  line-height: 1.8;
  color: #1d2023;
  font-weight: 600;
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
}

.service-list-ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--orange);
}

/* REALIZACJE */

.projects {
  background: #e9ece9;
  padding: 120px 0;
}

.project-grid {
  display: grid;
  grid-template-columns: 1.42fr 1fr 1fr;
  gap: 14px;
  margin-top: 53px;
}

.project {
  height: 420px;
  position: relative;
  overflow: hidden;
  color: white;
  background: #444;
}

.project:first-child {
  grid-row: span 2;
  height: 854px;
}

.project:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,.75), transparent 65%);
  z-index: 1;
}

.project img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  filter: grayscale(25%);
  transition: transform .6s;
}

.project:hover img {
  transform: scale(1.06);
}

.project-info {
  position: absolute;
  left: 25px;
  right: 25px;
  bottom: 24px;
  z-index: 2;
}

.project-info p {
  font: 11px "DM Mono";
  letter-spacing: .1em;
  text-transform: uppercase;
  margin: 0 0 10px;
  color: var(--orange);
}

.project-info h3 {
  font-size: 24px;
  letter-spacing: -.06em;
  margin: 0;
}

/* TIMELINE */

.timeline {
  padding: 130px 0;
  background: var(--coal);
  color: #fff;
}

.timeline .section-title {
  max-width: 650px;
  margin: 15px 0 80px;
  color: #fff;
}

.timeline-track {
  position: relative;
}

.timeline-track::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(255,255,255,0.15);
  z-index: 1;
}

.timeline-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 30px;
  position: relative;
  z-index: 2;
}

.timeline .event {
  position: relative;
  padding-top: 45px;
}

.timeline .event::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 13px;
  height: 13px;
  background: var(--orange);
  border-radius: 50%;
  box-shadow: 0 0 0 6px var(--coal);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), background-color 0.4s ease, box-shadow 0.4s ease;
  transform-origin: center;
  z-index: 2;
}

.timeline .event:last-child::before {
  top: -2px;
  left: -2px;
  width: 17px;
  height: 17px;
  background: var(--coal);
  border: 3px solid var(--orange);
}

.timeline .event:hover::before {
  transform: scale(1.4);
  background: #fff;
  box-shadow: 0 0 0 5px var(--coal), 0 0 0 10px rgba(243, 108, 33, 0.25);
}

.timeline .event:last-child:hover::before {
  transform: scale(1.3);
  background: var(--orange);
  border-color: var(--orange);
  box-shadow: 0 0 0 5px var(--coal), 0 0 0 10px rgba(243, 108, 33, 0.25);
}

.timeline .year {
  display: block;
  font: 600 11px "DM Mono";
  letter-spacing: .12em;
  color: var(--orange);
  margin-bottom: 14px;
  text-transform: uppercase;
}

.timeline .event h3 {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: -.03em;
  color: #fff;
  font-weight: 500;
  transition: color 0.3s;
}

.timeline .event:hover h3 {
  color: var(--orange);
}

.timeline .event p {
  font-size: 13px;
  line-height: 1.65;
  color: #a0a4a1;
  margin: 0;
  max-width: 95%;
}

/* PRESENCE (Obecność) */

.presence {
  background: #f8f8f6;
  padding: 140px 0;
  position: relative;
}

.presence::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(0,0,0,.03) 1px, transparent 1px), linear-gradient(90deg, rgba(0,0,0,.03) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: 1;
}

.presence-layout {
  display: grid;
  width: min(1480px, calc(100% - 48px));
  margin: auto;
  grid-template-columns: 2.5fr 7.5fr;
  align-items: center;
  position: relative;
  z-index: 2;
}

.presence-menu {
  background: #fff;
  padding: 60px 40px;
  position: relative;
  z-index: 10;
  box-shadow: 0 30px 60px rgba(0,0,0,0.06);
  margin-right: -45px;
}

.presence-menu header {
  padding: 0 0 40px 0;
}

.presence-menu h2 {
  font-size: 38px;
  margin: 12px 0 0;
  color: var(--ink);
}

.presence-tabs button {
  width: 100%;
  height: 80px;
  text-align: left;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: #929794;
  font: 500 14px "DM Mono";
  text-transform: uppercase;
  letter-spacing: .06em;
  cursor: pointer;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.presence-tabs button:first-child {
  border-top: 1px solid var(--line);
}

.presence-tabs button::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 2px;
  width: 0;
  background: var(--orange);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.presence-tabs button.active::before, .presence-tabs button:hover::before {
  width: 100%;
}

.presence-tabs button:after {
  content: "→";
  font-size: 20px;
  transform: translateX(-15px);
  opacity: 0;
  transition: all 0.4s ease;
}

.presence-tabs button.active, .presence-tabs button:hover {
  color: var(--orange);
  padding-left: 20px;
}

.presence-tabs button.active:after, .presence-tabs button:hover:after {
  opacity: 1;
  transform: translateX(0);
  color: var(--orange);
}

.presence-visual {
  position: relative;
  height: 740px;
  width: 100%;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.presence-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: background-image 0.6s ease-in-out, transform 1.5s ease;
  background-image: url('/assets/presence/lokality.webp');
}

.presence-visual:hover .presence-bg {
  transform: scale(1.03);
}

.presence-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  background: linear-gradient(0deg, rgba(10,12,14,.9) 0%, rgba(10,12,14,.5) 30%, transparent 62%), linear-gradient(90deg, rgba(10,12,14,.35) 0%, transparent 55%);
}

.visual-copy {
  position: absolute;
  left: 90px;
  bottom: 56px;
  width: min(580px, calc(100% - 140px));
  z-index: 10;
  color: #fff;
  background: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: 0;
  box-shadow: none;
  padding: 0;
}

.animate-in {
  animation: fadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(15px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.visual-label {
  display: flex;
  align-items: center;
  gap: 14px;
  font: 500 14px "DM Mono";
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #ffb470;
}

.visual-label::before {
  content: "";
  width: 36px;
  height: 2px;
  background: var(--orange);
}

.visual-copy h3 {
  font-size: clamp(44px, 5vw, 60px);
  line-height: .95;
  letter-spacing: -.065em;
  margin: 18px 0 20px;
  color: #fff;
}

.visual-copy p {
  font-size: 15px;
  line-height: 1.7;
  color: #f1f2f1;
  max-width: 420px;
  margin: 0;
}

/* FORMULARZE (Kontakt) */

.form-group {
  margin-bottom: 24px;
  position: relative;
}

.form-label {
  display: block;
  font: 500 12px "DM Mono";
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--ink);
  margin-bottom: 8px;
}

.req-star {
  color: var(--orange);
  font-size: 14px;
  line-height: 0;
  position: relative;
  top: -3px;
  left: 2px;
}

.form-input, .form-textarea, .form-select {
  width: 100%;
  background: #fff;
  border: 1px solid var(--line);
  padding: 14px 16px;
  font-family: 'Manrope', sans-serif;
  font-size: 15px;
  color: var(--ink);
  transition: all 0.3s ease;
  outline: none !important;
  box-shadow: none !important;
  border-radius: 2px;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(243, 108, 33, 0.1) !important;
}

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

.input-error {
  border-color: #ef4444 !important;
  background-color: #fef2f2;
}

.error-msg {
  color: #ef4444;
  font-size: 12px;
  margin-top: 6px;
  font-weight: 600;
  display: none;
}

.error-msg.show {
  display: block;
}

.file-upload-wrapper {
  position: relative;
  overflow: hidden;
  display: inline-block;
  width: 100%;
}

.file-upload-input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}

.file-upload-dummy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px dashed var(--line);
  background: #fafafa;
  padding: 14px 16px;
  color: #8c918e;
  transition: all 0.3s ease;
  border-radius: 2px;
  font-size: 14px;
}

.file-upload-wrapper:hover .file-upload-dummy {
  border-color: var(--orange);
  color: var(--ink);
  background: #fff;
}

.checkbox-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  margin-top: 30px;
}

.checkbox-wrapper input {
  display: none;
}

.checkbox-custom {
  width: 20px;
  height: 20px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 2px;
  position: relative;
  flex-shrink: 0;
  transition: all 0.2s;
  margin-top: 2px;
}

.checkbox-wrapper input:checked + .checkbox-custom {
  background: var(--orange);
  border-color: var(--orange);
}

.checkbox-wrapper input:checked + .checkbox-custom::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 6px;
  height: 11px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.checkbox-text {
  font-size: 13px;
  line-height: 1.6;
  color: #606663;
}

.checkbox-text a {
  color: var(--orange);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.map-frame {
  background: #fff;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.05);
}

/* JOB CARDS (Praca) */

.job-card {
  border: 1px solid var(--line);
  background: #fff;
  padding: 24px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 16px;
}

.job-card:hover {
  border-color: var(--orange);
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
  transform: translateY(-3px);
}

.job-icon {
  width: 44px;
  height: 44px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #f8f8f6;
  color: var(--orange);
  border-radius: 4px;
}

/* FOOTER */

footer {
  background: #121417;
  color: #d6d7d4;
  padding: 80px 0 30px;
  border-top: 4px solid var(--orange);
}

.footergrid {
  display: grid;
  grid-template-columns: 1fr 2.5fr;
  gap: 80px;
}

.footergrid h4 {
  font: 12px "DM Mono";
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--orange);
  margin: 0 0 24px;
}

.footergrid p, .footergrid a {
  font-size: 14px;
  line-height: 1.8;
  color: #a0a4a1;
  text-decoration: none;
  transition: 0.2s;
}

.footergrid a {
  color: #fff;
}

.footergrid a:hover {
  color: var(--orange);
}

.footergrid .button:hover {
  color: white;
}

.offices {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 30px;
}

.office h5 {
  margin: 0 0 12px;
  color: white;
  font-size: 14.5px;
  letter-spacing: -.02em;
}

.office p {
  margin: 0;
}

.footer-bottom {
  margin-top: 70px;
  padding-top: 24px;
  border-top: 1px solid #2a2d30;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo {
  color: #fff;
  margin-bottom: 20px;
  font-weight: 800;
  letter-spacing: -.08em;
  font-size: 23px;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ============================================================
   DODATEK DO input.css — podstrona „Über uns”
   Wklej na KONIEC pliku input.css (razem z poprzednim dodatkiem
   z index.html: klasy .hero-actions, .button.ghost są tam już
   zdefiniowane i używane też na tej podstronie).
   ============================================================ */

.footprint {
  padding: 120px 0;
  background: var(--coal);
  color: #fff;
}

.footprint-head {
  max-width: 700px;
  margin-bottom: 70px;
}

.footprint-head h2 {
  font-size: clamp(36px, 4.6vw, 62px);
  margin: 14px 0 0;
}

.footprint-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid rgba(255,255,255,.18);
}

.footprint-item {
  position: relative;
  padding: 34px 24px 10px 0;
}

.footprint-item + .footprint-item {
  padding-left: 24px;
  border-left: 1px solid rgba(255,255,255,.12);
}

/* pomarańczowa kropka na linii (jak w timeline) */

.footprint-item::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 0;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 5px var(--coal);
}

.footprint-item + .footprint-item::before {
  left: -6px;
}

.footprint-country {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -.045em;
  line-height: 1.1;
  margin: 0 0 14px;
  color: #fff;
}

.footprint-city {
  display: block;
  font: 12px "DM Mono", monospace;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #a0a4a1;
  line-height: 2;
}

.footprint-role {
  display: inline-block;
  margin-top: 18px;
  font: 500 11px "DM Mono", monospace;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--orange);
}

@media(max-width:960px){
  .footprint-grid {
    grid-template-columns: 1fr 1fr;
    border-top: none;
  }

  .footprint-item,
  .footprint-item + .footprint-item {
    padding: 26px 20px 24px 0;
    border-left: none;
    border-top: 1px solid rgba(255,255,255,.14);
  }

  .footprint-item::before,
  .footprint-item + .footprint-item::before {
    display: none;
  }
}

@media(max-width:760px){
  .footprint {
    padding: 75px 0;
  }

  .footprint-head {
    margin-bottom: 40px;
  }

  .footprint-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   DODATEK DO input.css — wklej na KONIEC pliku (przed media queries
   albo bezpośrednio pod nimi, a dolny blok @media na samym końcu)
   Nowe sekcje dla wersji niemieckiej
   ============================================================ */

/* HERO — dwa przyciski */

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.button.ghost {
  background: transparent;
  border: 1px solid rgba(255,255,255,.55);
}

.button.ghost:hover {
  background: #fff;
  color: var(--coal);
  border-color: #fff;
}

/* DIVISIONS — dwa działy firmy */

.divisions {
  padding: 140px 0;
  background: #fff;
}

.division-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.division {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 48px 44px;
  background: #f8f8f6;
  border: 1px solid var(--line);
  clip-path: polygon(0 0, calc(100% - 32px) 0, 100% 32px, 100% 100%, 0 100%);
  transition: transform .3s ease, box-shadow .3s ease;
}

.division:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 45px rgba(18,20,23,.07);
}

.division::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 32px;
  height: 32px;
  background: var(--orange);
  clip-path: polygon(100% 0, 0 0, 100% 100%);
}

.division-accent {
  background: var(--coal);
  border-color: var(--coal);
  color: #fff;
}

.division-tag {
  font: 500 12px "DM Mono", monospace;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--orange);
}

.division h3 {
  font-size: 32px;
  letter-spacing: -.045em;
  line-height: 1.1;
  margin: 18px 0 18px;
  font-weight: 800;
}

.division p {
  font-size: 15px;
  line-height: 1.8;
  color: #606663;
  margin: 0 0 24px;
}

.division-accent p {
  color: #c2c4c4;
}

.division-list {
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
}

.division-list li {
  position: relative;
  padding: 12px 0 12px 22px;
  border-top: 1px solid var(--line);
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.5;
}

.division-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.division-accent .division-list li {
  border-color: rgba(255,255,255,.12);
}

.division-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 20px;
  width: 8px;
  height: 8px;
  background: var(--orange);
}

.division-link {
  margin-top: auto;
  font: 500 12px "DM Mono", monospace;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--orange);
  text-decoration: none;
}

.division-link::after {
  content: "  →";
}

.division-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* SERVICES — wariant na szarym tle */

.services.alt {
  background: #f2f3f1;
}

/* PROCESS — kroki współpracy (to realna sekwencja, więc numeracja ma sens) */

.process {
  padding: 140px 0;
  background: #fff;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 70px;
  border-top: 1px solid var(--line);
}

.process-step {
  padding: 34px 28px 10px 0;
  position: relative;
}

.process-step + .process-step {
  padding-left: 28px;
  border-left: 1px solid var(--line);
}

.process-no {
  display: block;
  font: 800 54px Manrope, Arial, sans-serif;
  letter-spacing: -.07em;
  line-height: 1;
  color: var(--orange);
  margin-bottom: 26px;
}

.process-step h3 {
  font-size: 21px;
  letter-spacing: -.035em;
  margin: 0 0 12px;
}

.process-step p {
  font-size: 14.5px;
  line-height: 1.75;
  color: #606663;
  margin: 0;
}

/* CTA — pas z wezwaniem do działania */

.cta-band {
  background: var(--orange);
  color: #fff;
  padding: 90px 0;
}

.cta-band .eyebrow {
  color: #fff;
  opacity: .85;
}

.cta-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 60px;
  align-items: center;
}

.cta-band h2 {
  font-size: clamp(34px, 4.4vw, 58px);
  margin: 14px 0 0;
}

.cta-actions p {
  font-size: 16px;
  line-height: 1.75;
  margin: 0 0 26px;
  max-width: 420px;
}

.button.button-light {
  background: #fff;
  color: var(--coal);
}

.button.button-light:hover {
  background: var(--coal);
  color: #fff;
}

/* RESPONSYWNOŚĆ DLA NOWYCH SEKCJI */

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

  .process-grid {
    grid-template-columns: 1fr 1fr;
  }

  .process-step:nth-child(3) {
    padding-left: 0;
    border-left: none;
  }

  .process-step:nth-child(n+3) {
    border-top: 1px solid var(--line);
    margin-top: 30px;
  }

  .cta-inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media(max-width:760px){
  .divisions, .process {
    padding: 80px 0;
  }

  .division {
    padding: 36px 24px;
  }

  .division h3 {
    font-size: 26px;
  }

  .process-grid {
    grid-template-columns: 1fr;
    margin-top: 40px;
  }

  .process-step, .process-step + .process-step {
    padding: 28px 0 8px;
    border-left: none;
  }

  .process-step:nth-child(n+2) {
    border-top: 1px solid var(--line);
    margin-top: 22px;
  }

  .cta-band {
    padding: 64px 0;
  }
}

/* ============================================================
   DODATEK DO input.css — podstrona „Referenzen”
   Wklej na KONIEC pliku input.css.
   (.hero-actions i .button.ghost są z pierwszego dodatku — index.html)
   ============================================================ */

/* PARTNERZY (Klebl, Züblin, Porr) */

.partners {
  padding: 120px 0;
  background: #f8f8f6;
  border-bottom: 1px solid var(--line);
}

.partner-head {
  max-width: 760px;
  margin-bottom: 60px;
}

.partner-head h2 {
  font-size: clamp(36px, 4.6vw, 62px);
  margin: 14px 0 0;
  color: var(--ink);
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.partner-card {
  background: #fff;
  border: 1px solid var(--line);
  transition: border-color .3s ease, box-shadow .3s ease, transform .3s ease;
}

.partner-card:hover {
  border-color: var(--orange);
  box-shadow: 0 18px 40px rgba(18,20,23,.06);
  transform: translateY(-3px);
}

.partner-logo {
  height: 210px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 34px;
}

.partner-logo img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  -o-object-fit: contain;
     object-fit: contain;
}

.partner-name {
  padding: 18px 20px;
  border-top: 1px solid var(--line);
  background: #fcfdfc;
  text-align: center;
  font: 500 13px "DM Mono", monospace;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink);
}

.partner-texts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px 70px;
  margin-top: 70px;
}

.partner-texts > div {
  border-top: 1px solid var(--line);
  padding-top: 28px;
}

.partner-texts h3 {
  font-size: 26px;
  letter-spacing: -.04em;
  line-height: 1.2;
  margin: 0 0 16px;
}

.partner-texts p {
  font-size: 15px;
  line-height: 1.8;
  color: #606663;
  margin: 0;
}

/* LOGOTYPY KLIENTÓW */

.clients {
  padding: 120px 0;
  background: #fff;
}

.clients-head {
  max-width: 700px;
  margin-bottom: 56px;
}

.clients-head h2 {
  font-size: clamp(36px, 4.6vw, 62px);
  margin: 14px 0 0;
  color: var(--ink);
}

.logo-wall {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.logo-tile {
  height: 124px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
  background: #fafaf9;
  border: 1px solid var(--line);
  transition: border-color .3s ease, background .3s ease;
}

.logo-tile img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  -o-object-fit: contain;
     object-fit: contain;
  filter: grayscale(1);
  opacity: .75;
  transition: filter .3s ease, opacity .3s ease;
}

.logo-tile:hover {
  border-color: var(--orange);
  background: #fff;
}

.logo-tile:hover img {
  filter: none;
  opacity: 1;
}

/* REFERENZSCHREIBEN — karty opinii */

.refs {
  padding: 130px 0;
  background: #f8f8f6;
  border-top: 1px solid var(--line);
}

.refs-head {
  max-width: 720px;
  margin-bottom: 64px;
}

.refs-head h2 {
  font-size: clamp(36px, 4.6vw, 62px);
  margin: 14px 0 22px;
  color: var(--ink);
}

.refs-head p {
  font-size: 16px;
  line-height: 1.8;
  color: #606663;
  margin: 0;
  max-width: 540px;
}

.ref-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.ref-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  transition: border-color .3s ease, box-shadow .3s ease, transform .3s ease;
}

.ref-card:hover {
  border-color: var(--orange);
  box-shadow: 0 18px 40px rgba(18,20,23,.06);
  transform: translateY(-3px);
}

.ref-body {
  flex: 1;
  padding: 32px 30px 28px;
}

.ref-tag {
  display: inline-block;
  margin-bottom: 22px;
  padding: 5px 9px;
  border: 1px solid var(--line);
  font: 500 11px "DM Mono", monospace;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #8c918e;
}

.ref-tag.is-pdf {
  color: var(--orange);
  border-color: rgba(243,108,33,.45);
  background: #fef7f2;
}

.ref-name {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1.2;
  margin: 0 0 16px;
  color: var(--ink);
}

.ref-sub {
  font: 500 12px "DM Mono", monospace;
  letter-spacing: .06em;
  text-transform: uppercase;
  line-height: 1.6;
  color: var(--orange);
  margin: -6px 0 18px;
}

.ref-quote {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.8;
  color: #4a4d4b;
}

.ref-quote p {
  margin: 0;
}

/* link do PDF — wyraźny pasek na dole karty */

.ref-pdf {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 17px 30px;
  border-top: 1px solid var(--line);
  background: #fcfdfc;
  color: var(--ink);
  text-decoration: none;
  font: 500 12px "DM Mono", monospace;
  letter-spacing: .07em;
  text-transform: uppercase;
  transition: background .25s ease, color .25s ease;
}

.ref-pdf span {
  flex: 1;
}

.ref-pdf svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--orange);
  transition: color .25s ease, transform .25s ease;
}

.ref-pdf:hover {
  background: var(--orange);
  color: #fff;
}

.ref-pdf:hover svg {
  color: #fff;
}

.ref-pdf:hover svg:last-child {
  transform: translate(2px, -2px);
}

.ref-pdf:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: -2px;
}

/* RESPONSYWNOŚĆ */

@media(max-width:960px){
  .partner-texts {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .logo-wall {
    grid-template-columns: repeat(3, 1fr);
  }

  .ref-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media(max-width:760px){
  .partners, .clients {
    padding: 75px 0;
  }

  .refs {
    padding: 80px 0;
  }

  .partner-head, .clients-head {
    margin-bottom: 36px;
  }

  .refs-head {
    margin-bottom: 40px;
  }

  .partner-grid {
    grid-template-columns: 1fr;
  }

  .partner-logo {
    height: 170px;
  }

  .partner-texts {
    margin-top: 48px;
  }

  .logo-wall {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .logo-tile {
    height: 100px;
  }

  .ref-grid {
    grid-template-columns: 1fr;
  }

  .ref-body {
    padding: 28px 24px 24px;
  }

  .ref-pdf {
    padding: 16px 24px;
  }
}

/* MEDIA QUERIES (Połączona responsywność ze wszystkich podstron) */

@media(max-width:960px){
  .timeline-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .timeline-track {
    padding-top: 0;
  }

  .timeline-track::before {
    width: 1px;
    height: 100%;
    top: 0;
    left: 6px;
    bottom: 0;
    right: auto;
  }

  .timeline .event {
    padding-top: 0;
    padding-left: 35px;
  }

  .timeline .event::before {
    top: 4px;
    left: 0;
    transform: none;
  }

  .timeline .event:hover::before {
    transform: scale(1.4);
  }

  .timeline .event:last-child::before {
    top: 2px;
    left: -2px;
  }

  .presence-layout {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .presence-menu {
    margin-right: 0;
    box-shadow: none;
    padding: 40px 24px;
  }

  .visual-copy {
    left: 24px;
    width: calc(100% - 48px);
    bottom: 24px;
  }

  .intro-section {
    padding: 90px 0;
  }

  .intro {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .intro-left {
    transform: none;
  }

  .intro-circle {
    display: none;
  }

  .intro-slider-stack {
    padding: 30px 24px 24px;
  }

  .service-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media(max-width:850px){
  .wrap {
    width: min(100% - 32px, 1180px);
  }

  .nav {
    height: 68px;
  }

  .hamburger {
    display: block;
  }

  .navlinks {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #121417;
    padding: 15px 20px 25px;
    border-top: 1px solid rgba(255,255,255,0.05);
    gap: 0;
  }

  .navlinks.active {
    display: flex;
  }

  .navlinks > a {
    padding: 15px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    font-size: 12px;
    text-shadow: none;
    width: 100%;
  }

  .navlinks > a:hover {
    background: transparent;
    color: var(--orange);
  }

  .lang-switcher {
    width: 100%;
    margin-left: 0;
  }

  .lang-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: rgba(0,0,0,0.2);
    border: none;
    display: none;
    padding: 5px 0;
  }

  .lang-switcher.open .lang-menu {
    display: flex;
  }

  .lang-btn {
    width: 100%;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding: 15px 0;
    text-shadow: none;
  }

  .lang-menu a {
    padding: 12px 15px !important;
  }

  .lang-btn:hover {
    background: none;
  }
}

@media(max-width:760px){
  .hero {
    min-height: 600px;
  }

  .hero-content {
    min-height: 532px;
    padding-bottom: 60px;
    padding-top: 120px;
  }

  .scrollcue {
    display: none;
  }

  .stats-inner {
    grid-template-columns: 1fr 1fr;
  }

  .stat:nth-child(3) {
    border-left: 1px solid rgba(255,255,255,.3);
  }

  .stat strong {
    font-size: 30px;
  }

  .services {
    padding: 80px 0;
  }

  .projects {
    padding: 75px 0;
  }

  .project-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .project, .project:first-child {
    height: 360px;
    grid-row: auto;
  }

  .timeline {
    padding: 75px 0;
  }

  .presence {
    padding: 70px 0;
  }

  .presence-menu header {
    padding: 0 0 24px;
  }

  .presence-menu h2 {
    font-size: 32px;
  }

  .presence-tabs button {
    height: 62px;
    padding: 0;
  }

  .presence-visual {
    height: 450px;
  }

  .visual-copy h3 {
    font-size: 34px;
    margin: 14px 0 14px;
  }

  .visual-copy p {
    font-size: 14px;
  }

  .footergrid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .offices {
    grid-template-columns: 1fr 1fr;
    gap: 22px;
  }

  .footer-bottom {
    gap: 10px;
    flex-direction: column;
  }

  .intro-controls {
    grid-template-columns: 1fr;
  }

  .intro-tab {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }

  .intro-tab:last-child {
    border-bottom: none;
  }

  .intro-tab.active {
    box-shadow: inset 3px 0 0 var(--orange);
  }

  /* Podstrony Hero */

  .subpage-hero {
    padding-top: 140px;
    padding-bottom: 60px;
  }
}

.hover\:scale-105:hover{
  --tw-scale-x: 1.05;
  --tw-scale-y: 1.05;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.hover\:border-\[var\(--orange\)\]:hover{
  border-color: var(--orange);
}

.hover\:bg-white\/10:hover{
  background-color: rgb(255 255 255 / 0.1);
}

.hover\:text-\[\#f36c21\]:hover{
  --tw-text-opacity: 1;
  color: rgb(243 108 33 / var(--tw-text-opacity, 1));
}

.hover\:text-\[var\(--orange\)\]:hover{
  color: var(--orange);
}

.hover\:text-white:hover{
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}

.hover\:underline:hover{
  text-decoration-line: underline;
}

.hover\:underline-offset-4:hover{
  text-underline-offset: 4px;
}

.hover\:shadow-2xl:hover{
  --tw-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
  --tw-shadow-colored: 0 25px 50px -12px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.group:hover .group-hover\:translate-x-1{
  --tw-translate-x: 0.25rem;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.group:hover .group-hover\:scale-105{
  --tw-scale-x: 1.05;
  --tw-scale-y: 1.05;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.group:hover .group-hover\:scale-110{
  --tw-scale-x: 1.1;
  --tw-scale-y: 1.1;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.group:hover .group-hover\:text-\[var\(--orange\)\]{
  color: var(--orange);
}

.group:hover .group-hover\:opacity-100{
  opacity: 1;
}

@media (min-width: 640px){
  .sm\:grid-cols-2{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .sm\:flex-row{
    flex-direction: row;
  }

  .sm\:items-center{
    align-items: center;
  }

  .sm\:justify-between{
    justify-content: space-between;
  }
}

@media (min-width: 768px){
  .md\:col-span-5{
    grid-column: span 5 / span 5;
  }

  .md\:col-span-7{
    grid-column: span 7 / span 7;
  }

  .md\:block{
    display: block;
  }

  .md\:aspect-square{
    aspect-ratio: 1 / 1;
  }

  .md\:w-auto{
    width: auto;
  }

  .md\:grid-cols-12{
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }

  .md\:grid-cols-2{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .md\:flex-row{
    flex-direction: row;
  }

  .md\:items-end{
    align-items: flex-end;
  }

  .md\:bg-\[url\(\'\/assets\/hero\/hero-arbeitnehmer\.webp\'\)\]{
    background-image: url('/assets/hero/hero-arbeitnehmer.webp');
  }

  .md\:bg-\[url\(\'\/assets\/hero\/hero-brueckenbau\.webp\'\)\]{
    background-image: url('/assets/hero/hero-brueckenbau.webp');
  }

  .md\:bg-\[url\(\'\/assets\/hero\/hero-gebaeudesanierung\.webp\'\)\]{
    background-image: url('/assets/hero/hero-gebaeudesanierung.webp');
  }

  .md\:bg-\[url\(\'\/assets\/hero\/hero-kontakt\.webp\'\)\]{
    background-image: url('/assets/hero/hero-kontakt.webp');
  }

  .md\:bg-\[url\(\'\/assets\/hero\/hero-lagerhallenbau\.webp\'\)\]{
    background-image: url('/assets/hero/hero-lagerhallenbau.webp');
  }

  .md\:bg-\[url\(\'\/assets\/hero\/hero-leistungen\.webp\'\)\]{
    background-image: url('/assets/hero/hero-leistungen.webp');
  }

  .md\:bg-\[url\(\'\/assets\/hero\/hero-onas\.webp\'\)\]{
    background-image: url('/assets/hero/hero-onas.webp');
  }

  .md\:bg-\[url\(\'\/assets\/hero\/hero-polnische-bauarbeiter\.webp\'\)\]{
    background-image: url('/assets/hero/hero-polnische-bauarbeiter.webp');
  }

  .md\:bg-\[url\(\'\/assets\/hero\/hero-referenzen\.webp\'\)\]{
    background-image: url('/assets/hero/hero-referenzen.webp');
  }

  .md\:bg-\[url\(\'\/assets\/hero\/hero-rohbau\.webp\'\)\]{
    background-image: url('/assets/hero/hero-rohbau.webp');
  }

  .md\:bg-\[url\(\'\/assets\/hero\/hero-sonstige-dienste\.webp\'\)\]{
    background-image: url('/assets/hero/hero-sonstige-dienste.webp');
  }

  .md\:bg-\[url\(\'\/assets\/hero\/hero-stahlbetonarbeiten\.webp\'\)\]{
    background-image: url('/assets/hero/hero-stahlbetonarbeiten.webp');
  }

  .md\:p-12{
    padding: 3rem;
  }

  .md\:p-8{
    padding: 2rem;
  }

  .md\:py-32{
    padding-top: 8rem;
    padding-bottom: 8rem;
  }

  .md\:text-3xl{
    font-size: 1.875rem;
    line-height: 2.25rem;
  }

  .md\:text-5xl{
    font-size: 3rem;
    line-height: 1;
  }

  .md\:text-7xl{
    font-size: 4.5rem;
    line-height: 1;
  }

  .md\:text-base{
    font-size: 1rem;
    line-height: 1.5rem;
  }

  .md\:text-xl{
    font-size: 1.25rem;
    line-height: 1.75rem;
  }
}

@media (min-width: 1024px){
  .lg\:aspect-\[4\/3\]{
    aspect-ratio: 4/3;
  }

  .lg\:grid-cols-2{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .lg\:gap-8{
    gap: 2rem;
  }
}