:root {
  --green-950: #052e1a;
  --green-900: #083d24;
  --green-800: #0c5c34;
  --green-700: #0f7a3f;
  --green-600: #13a053;
  --green-500: #27c36a;
  --green-100: #dbf7e7;
  --green-50: #f0fdf5;
  --ink: #102016;
  --muted: #637066;
  --line: rgba(16, 32, 22, 0.12);
  --white: #ffffff;
  --surface: #f7fbf7;
  --shadow: 0 24px 80px rgba(5, 46, 26, 0.14);
  --radius-lg: 30px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --header-height: 82px;
  --container: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 22px);
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(39, 195, 106, 0.15), transparent 34rem),
    linear-gradient(180deg, #ffffff 0%, #f7fbf7 100%);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid rgba(39, 195, 106, 0.55);
  outline-offset: 4px;
}

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 1000;
  transform: translateY(-160%);
  padding: 0.75rem 1rem;
  color: var(--white);
  background: var(--green-800);
  border-radius: 999px;
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.scroll-progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 4px;
  z-index: 1100;
  background: transparent;
}

.scroll-progress span {
  display: block;
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--green-500), var(--green-700));
  box-shadow: 0 0 18px rgba(39, 195, 106, 0.75);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  display: grid;
  align-items: center;
  background: rgba(255, 255, 255, 0.76);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 16px 40px rgba(5, 46, 26, 0.08);
  background: rgba(255, 255, 255, 0.9);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  min-width: max-content;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  padding: 0.18rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 12px 26px rgba(5, 46, 26, 0.12);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1rem;
  line-height: 1.1;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
}

.nav-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.7rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  border-radius: 999px;
}

.nav-links a {
  position: relative;
  padding: 0.68rem 0.95rem;
  color: #344238;
  font-size: 0.94rem;
  font-weight: 650;
  border-radius: 999px;
  transition: color 180ms ease, background 180ms ease;
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--green-950);
  background: var(--green-100);
}

.nav-social {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--green-900);
  background: rgba(255, 255, 255, 0.72);
  transition: color 180ms ease, background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.nav-social:hover {
  color: var(--white);
  background: var(--green-700);
  box-shadow: 0 14px 28px rgba(15, 122, 63, 0.2);
  transform: translateY(-1px);
}

.nav-social svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--white);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 200ms ease, opacity 200ms ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.section {
  padding-block: clamp(74px, 9vw, 124px);
}

.section-soft {
  background: linear-gradient(180deg, rgba(219, 247, 231, 0.42), rgba(255, 255, 255, 0.66));
  border-block: 1px solid rgba(15, 122, 63, 0.08);
}

.section-dark {
  color: var(--white);
  background:
    radial-gradient(circle at top right, rgba(39, 195, 106, 0.24), transparent 34rem),
    linear-gradient(135deg, var(--green-950), var(--green-800));
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100svh - var(--header-height));
  display: grid;
  align-items: center;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 999px;
  filter: blur(8px);
}

.hero::before {
  width: 440px;
  height: 440px;
  right: -160px;
  top: 80px;
  background: rgba(39, 195, 106, 0.15);
}

.hero::after {
  width: 260px;
  height: 260px;
  left: -90px;
  bottom: 70px;
  background: rgba(15, 122, 63, 0.12);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  gap: clamp(1.35rem, 3vw, 2rem);
}

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

.hero-copy h1,
.hero-copy .lead {
  margin-inline: auto;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: fit-content;
  margin-bottom: 1rem;
  padding: 0.45rem 0.8rem;
  border: 1px solid rgba(15, 122, 63, 0.18);
  border-radius: 999px;
  color: var(--green-800);
  background: rgba(219, 247, 231, 0.72);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.section-dark .eyebrow {
  color: #d9ffe7;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.14);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.06;
  letter-spacing: -0.045em;
}

h1 {
  max-width: 980px;
  margin-bottom: 1.1rem;
  font-size: clamp(2.45rem, 4.6vw, 4.2rem);
}

.hero-copy h1 {
  white-space: normal;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2.15rem, 5vw, 4.15rem);
}

h3 {
  margin-bottom: 1rem;
  font-size: 1.45rem;
}

.lead {
  max-width: 720px;
  margin-bottom: 1.8rem;
  color: #3d4a40;
  font-size: clamp(1.05rem, 2.4vw, 1.28rem);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.15rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--green-700), var(--green-500));
  box-shadow: 0 18px 34px rgba(15, 122, 63, 0.28);
}

.btn-primary:hover {
  box-shadow: 0 24px 48px rgba(15, 122, 63, 0.34);
}

.btn-ghost {
  color: var(--green-900);
  border-color: rgba(15, 122, 63, 0.18);
  background: rgba(255, 255, 255, 0.76);
}

.section-dark .btn-ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  width: 100%;
  margin-top: 2.25rem;
}

.trust-row div {
  padding: 1.5rem 2rem;
  border: 1px solid rgba(15, 122, 63, 0.14);
  border-radius: calc(var(--radius-md) + 4px);
  background: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  box-shadow: 0 14px 34px rgba(5,46,26,0.06);
}

.trust-row strong,
.trust-row span {
  display: block;
}

.trust-row strong {
  color: var(--green-800);
  font-size: 1.5rem;
  line-height: 1.02;
  font-weight: 900;
}

.trust-row span {
  color: var(--muted);
  font-size: 1.1rem;
}

@media (max-width: 980px) {
  .trust-row { gap: 1rem; }
  .trust-row div { padding: 1.1rem 1.2rem; }
  .trust-row strong { font-size: 1.25rem; }
  .trust-row span { font-size: 1rem; }
}

.hero-panel {
  position: relative;
  width: 100%;
  max-width: 1320px;
  margin-inline: auto;
  padding: clamp(1rem, 3vw, 1.5rem);
  border: 1px solid rgba(15, 122, 63, 0.15);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.68);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.hero-panel-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(330px, 0.7fr);
  gap: clamp(1rem, 2.5vw, 1.5rem);
  align-items: stretch;
}

.machine-card {
  overflow: hidden;
  padding: 1.4rem;
  border-radius: 24px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(5, 46, 26, 0.96), rgba(15, 122, 63, 0.92)),
    radial-gradient(circle at top right, rgba(39, 195, 106, 0.34), transparent 18rem);
}

.hero-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  grid-template-rows: repeat(3, minmax(82px, 1fr));
  gap: 0.65rem;
  min-height: clamp(360px, 38vw, 520px);
  margin-bottom: 1rem;
  transition: opacity 220ms ease, transform 220ms ease;
}

.hero-gallery.is-changing {
  opacity: 0.18;
  transform: translateX(-10px);
}

.hero-gallery-slot {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  border: 1px dashed rgba(217, 255, 231, 0.5);
  border-radius: 16px;
  background: #ffffff;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 850;
}

.hero-gallery.is-rotating .hero-gallery-slot::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, transparent 72%, rgba(217, 255, 231, 0.12));
  opacity: 0.55;
}

.hero-gallery-slot.is-large {
  grid-row: span 3;
}

.hero-gallery-slot img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: clamp(0.35rem, 1.2vw, 0.85rem);
}

.hero-gallery-slot img[hidden] {
  display: none;
}

.hero-gallery-slot figcaption {
  position: relative;
  z-index: 2;
  display: none;
}

.hero-gallery-slot img[hidden] + figcaption {
  display: block;
}

.machine-icon {
  display: grid;
  place-items: center;
  min-height: 250px;
  margin-bottom: 1rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
}

.machine-icon svg {
  width: min(78%, 320px);
  fill: none;
  stroke: #d9ffe7;
  stroke-width: 7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Hero image that replaces the SVG if available */
.hero-image {
  width: 100%;
  height: 100%;
  max-height: 360px;
  object-fit: cover;
  border-radius: 16px;
  display: block;
}

/* hero-fallback removed; no overlay SVG shown */

.machine-card p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 650;
}

.process-list {
  display: grid;
  gap: 0.75rem;
  align-content: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-list li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.72rem 0.85rem;
  min-height: 54px;
  border: 1px solid rgba(15, 122, 63, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.84);
  font-weight: 750;
  font-size: 0.92rem;
  white-space: nowrap;
}

.process-list span {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  color: var(--white);
  background: var(--green-700);
  font-size: 0.74rem;
}

.section-heading {
  max-width: 780px;
}

.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}

.section-heading p {
  color: var(--muted);
  font-size: 1.05rem;
}

.section-dark .section-heading p {
  color: rgba(255, 255, 255, 0.72);
}

.split-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: start;
}

.contact-layout {
  display: grid;
  gap: clamp(0.85rem, 2vw, 1.35rem);
}

.contact-layout .section-heading {
  max-width: 720px;
}

#kontakt .section-heading p {
  max-width: 100%;
  color: #243f2e;
  font-size: clamp(1rem, 1.45vw, 1.15rem);
  line-height: 1.55;
  font-weight: 650;
  white-space: nowrap;
}

.contact-content {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(1rem, 2.5vw, 1.5rem);
  align-items: stretch;
}

.about-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.5rem, 4vw, 2.5rem);
  align-items: center;
}

.about-layout .section-heading {
  max-width: 780px;
  margin-inline: auto;
  text-align: center;
}

#o-nas .section-heading {
  width: 100%;
}

#o-nas .section-heading h2 {
  max-width: 760px;
  margin-inline: auto;
}

#o-nas .about-stack {
  width: 100%;
  max-width: 1080px;
  margin-inline: auto;
}

.text-card,
.contact-card {
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid rgba(15, 122, 63, 0.12);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
}

.about-stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: start;
}

.about-stack .text-card {
  align-self: stretch;
  padding-top: 2rem;
}

.text-card h3 {
  color: var(--green-900);
}

.text-card p:last-child,
.contact-card p:last-child {
  margin-bottom: 0;
}

/* Justified text for about cards, with hyphenation and left-aligned last line
   to avoid extreme word spacing on short final lines. */
.about-stack .text-card p {
  text-align: justify;
  text-justify: inter-word;
  -webkit-hyphens: auto;
  -moz-hyphens: auto;
  hyphens: auto;
  text-align-last: left;
}

.hours-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.hours-card {
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid rgba(15, 122, 63, 0.12);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: 0 18px 52px rgba(5, 46, 26, 0.08);
}

.hours-card.is-featured {
  color: var(--white);
  background: linear-gradient(135deg, var(--green-800), var(--green-600));
}

.hours-card span,
.hours-card strong {
  display: block;
}

.hours-card span {
  margin-bottom: 0.4rem;
  color: var(--muted);
  font-weight: 700;
}

.hours-card.is-featured span {
  color: rgba(255, 255, 255, 0.72);
}

.hours-card strong {
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  line-height: 1.1;
}

.hours-card .hours-extra {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.95rem;
  opacity: 0.92;
}

.hours-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem 1.5rem;
  margin-top: 1rem;
  padding: 1rem 1.15rem;
  border: 1px solid rgba(15, 122, 63, 0.14);
  border-radius: var(--radius-sm);
  background: var(--green-50);
}

.hours-note strong,
.hours-note span {
  display: block;
}

.hours-note strong {
  color: var(--green-900);
}

.hours-note span {
  color: var(--muted);
  font-weight: 650;
}

.hours-note a {
  color: var(--green-900);
  font-weight: 900;
  text-decoration: underline;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.25rem;
}

.service-card {
  padding: clamp(1.25rem, 3vw, 1.6rem);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  transition: transform 180ms ease, background 180ms ease;
}

.service-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.12);
}

.card-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 1.25rem;
  border-radius: 16px;
  color: var(--green-950);
  background: #d9ffe7;
  font-weight: 900;
}

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

.check-list li {
  position: relative;
  padding-left: 1.55rem;
  color: rgba(255, 255, 255, 0.82);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.48em;
  width: 0.58rem;
  height: 0.58rem;
  border-radius: 999px;
  background: var(--green-500);
  box-shadow: 0 0 0 5px rgba(39, 195, 106, 0.12);
}

.muted {
  margin-top: 1rem;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.66);
}

.price-grid {
  display: grid;
  /* create fixed-ish columns so a smaller number of cards centers nicely */
  grid-template-columns: repeat(auto-fit, minmax(260px, 300px));
  justify-content: center;
  gap: 1rem;
  margin-top: 2.25rem;
}

/* Row wrapper for smaller price cards to center them under full-width tier block */
.price-row {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  gap: 1rem;
  align-items: stretch;
  margin-top: 0.5rem;
}

.price-row .price-card {
  flex: 0 0 auto;
  width: min(300px, 34%);
  min-height: 150px;
}

.price-card-full {
  grid-column: 1 / -1;
  min-height: auto;
}

.price-card-label {
  display: block;
  margin-bottom: 1.25rem;
  color: var(--muted);
  font-weight: 700;
}

.rate-tiers {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.rate-tier {
  padding: 1.1rem 1rem;
  border: 1px solid rgba(15, 122, 63, 0.14);
  border-radius: var(--radius-sm);
  background: var(--surface);
}

.rate-tier-communal {
  color: var(--white);
  background: linear-gradient(135deg, var(--green-900), var(--green-700));
  border-color: transparent;
  position: relative;
}

.rate-tier-badge {
  display: inline-block;
  margin-bottom: 0.6rem;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #d9ffe7;
}

.rate-tier-weight {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.rate-tier-communal .rate-tier-weight {
  color: rgba(255, 255, 255, 0.7);
}

.rate-tier-price {
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: var(--green-800);
  margin-bottom: 0.5rem;
}

.rate-tier-price small {
  font-size: 0.75em;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--muted);
}

.rate-tier-communal .rate-tier-price {
  color: var(--white);
}

.rate-tier-communal .rate-tier-price small {
  color: rgba(255, 255, 255, 0.7);
}

.rate-tier-note {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  line-height: 1.4;
}

.rate-tier-communal .rate-tier-note {
  color: rgba(255, 255, 255, 0.72);
}

.price-card {
  min-height: 170px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.35rem;
  border: 1px solid rgba(15, 122, 63, 0.12);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: 0 18px 52px rgba(5, 46, 26, 0.08);
}

.price-card span {
  color: var(--muted);
  font-weight: 700;
}

.price-card strong {
  color: var(--green-800);
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.price-card small {
  display: block;
  margin-top: 0.45rem;
  color: var(--muted);
  font-weight: 700;
}

.standard-work-heading {
  max-width: 900px;
  margin: 2rem auto 1rem;
}

.standard-work-heading h3 {
  margin-bottom: 0;
  color: var(--green-900);
}

.accordion {
  display: grid;
  gap: 0.75rem;
  max-width: 900px;
  margin: 0 auto;
}

.accordion details {
  overflow: hidden;
  border: 1px solid rgba(15, 122, 63, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 14px 42px rgba(5, 46, 26, 0.06);
}

.accordion summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.1rem;
  cursor: pointer;
  color: var(--ink);
  font-weight: 850;
}

.accordion summary::marker {
  color: var(--green-700);
}

.accordion summary strong {
  color: var(--green-800);
  white-space: nowrap;
}

.accordion p {
  margin: 0;
  padding: 0 1.1rem 1.1rem;
  color: var(--muted);
}

.detail-list {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding: 0 1.1rem 1.15rem 2.35rem;
  color: var(--muted);
}

.detail-list li::marker {
  color: var(--green-700);
}

.pricing-notes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 380px));
  justify-content: center;
  gap: 1rem;
  margin-top: 1.25rem;
}

.pricing-notes article {
  padding: 1.1rem;
  border: 1px solid rgba(15, 122, 63, 0.12);
  border-radius: var(--radius-sm);
  background: var(--green-50);
}

.pricing-notes strong,
.pricing-notes span {
  display: block;
}

.pricing-notes strong {
  margin-bottom: 0.35rem;
  color: var(--green-900);
}

.pricing-notes span {
  color: var(--muted);
  font-size: 0.95rem;
}

.equipment-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 2.25rem;
}

.equipment-card {
  padding: 1.5rem;
  border: 1px solid rgba(15, 122, 63, 0.12);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: 0 18px 52px rgba(5, 46, 26, 0.08);
  text-align: center;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.equipment-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 60px rgba(5, 46, 26, 0.12);
}

.equipment-image {
  display: flex;
  align-items: center;
  justify-content: center;
  /* fixed visual area so headings line up across cards */
  min-height: 160px;
  margin-bottom: 1rem;
}

.equipment-image svg {
  width: 100%;
  max-width: 160px;
  height: auto;
}

.equipment-image img {
  display: block;
  width: auto;
  max-width: 160px;
  max-height: 120px;
  height: auto;
  object-fit: contain;
}

.equipment-card h3 {
  margin-top: 0.35rem;
}

.equipment-card h3 {
  margin-bottom: 0.5rem;
  color: var(--green-900);
  font-size: 1.15rem;
}

.equipment-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.contact-card,
.contact-map-card {
  display: grid;
  gap: 1rem;
}

.contact-map-card {
  min-height: 100%;
  overflow: hidden;
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid rgba(15, 122, 63, 0.12);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
}

.contact-map-card iframe {
  display: block;
  width: 100%;
  min-height: 100%;
  height: 420px;
  border: 0;
  border-radius: 18px;
  background: var(--green-50);
}

.contact-item {
  padding: 1rem;
  border-radius: 18px;
  background: var(--green-50);
}

.contact-item span,
.contact-item a {
  display: block;
}

.contact-item span {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.contact-item a {
  margin-top: 0.25rem;
  color: var(--green-900);
  font-size: 1.08rem;
  font-weight: 850;
}

.site-footer {
  padding-block: 1.6rem;
  color: rgba(255, 255, 255, 0.72);
  background: var(--green-950);
}

.footer-brands {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.brand-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.brand-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.5);
}

.brand-names {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.brand-names strong {
  color: var(--white);
  font-size: 1.1rem;
}

.brand-names span {
  color: var(--green-500);
  font-size: 1.1rem;
  font-weight: 700;
}

.brand-logos {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.brand-logos img {
  height: 56px;
  width: auto;
  display: block;
  filter: brightness(1) saturate(0.95);
}

@media (max-width: 760px) {
  .brand-logos img { height: 44px; }
}

/* White background only for Karsit SVG to ensure it stands out */
.brand-logo-karsit {
  background: #fff;
  padding: 6px 8px;
  border-radius: 6px;
  box-shadow: 0 6px 18px rgba(5,46,26,0.06);
  height: 56px; /* keep same visual height */
}

@media (max-width: 760px) {
  .brand-logo-karsit { height: 44px; padding: 5px 6px; }
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.footer-grid p {
  margin: 0;
  text-align: center;
}

.footer-link {
  color: var(--white);
  font-weight: 800;
}

.back-to-top {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 999px;
  color: var(--white);
  background: var(--green-700);
  box-shadow: 0 16px 36px rgba(5, 46, 26, 0.22);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms ease, transform 700ms ease;
}

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

@media (max-width: 980px) {
  .hero-grid,
  .split-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-panel {
    max-width: 760px;
  }

  .hero-panel-grid {
    grid-template-columns: 1fr;
  }

  .contact-content {
    grid-template-columns: 1fr;
  }

  .hours-grid,
  .service-grid,
  .price-grid,
  .pricing-notes,
  .equipment-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .price-row .price-card {
    width: min(300px, 44%);
  }
}

@media (max-width: 760px) {
  :root {
    --header-height: 74px;
  }

  .container {
    width: min(100% - 28px, var(--container));
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 10px);
    left: 14px;
    right: 14px;
    display: grid;
    gap: 0.25rem;
    padding: 0.6rem;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow);
    transform-origin: top;
    transform: scaleY(0.94) translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .nav-links.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: scaleY(1) translateY(0);
  }

  .nav-links a {
    padding: 0.9rem 1rem;
  }

  .brand small {
    display: none;
  }

  .hero-copy h1 {
    white-space: normal;
  }

  #kontakt .section-heading p {
    white-space: normal;
  }

  .trust-row,
  .about-stack,
  .hours-grid,
  .service-grid,
  .price-grid,
  .pricing-notes,
  .equipment-grid {
    grid-template-columns: 1fr;
  }

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

  .price-row {
    flex-direction: column;
  }

  .price-row .price-card {
    width: 100%;
  }

  .process-list li {
    white-space: normal;
  }

  .machine-icon {
    min-height: 190px;
  }

  .accordion summary {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-grid {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 460px) {
  .hero-actions,
  .contact-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  h1 {
    font-size: clamp(2.55rem, 16vw, 3.2rem);
  }
}

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

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