/* SEBA Transport · base stylesheet. Tokens first; every color and size below comes from them.
   Layout idea: photo-led, generous space; one sticky photograph that changes with the service being read.
   Colours: silver, red and black, as on the company's building and trailers (changed from navy and amber in December 2026). */
/* Palette taken from the company's own material: the silver of the building and trailers,
   the red of "seba" (#e30016, from the logo file) and the black of the globe. */
:root {
  --dark: #23272c;
  --dark-deep: #17191d;
  --accent: #e30016;
  --accent-strong: #c20013;
  --on-accent: #ffffff;
  --paper: #f3f4f5;
  --sand: #e4e5e7;
  --surface: #ffffff;
  --ink: #1d1d1b;
  --muted: #565757;
  --line: #d3d5d8;
  --link: #b80012;
  --top-bg: #e4e5e7;
  --top-ink: #1d1d1b;
  --shadow: 0 2px 4px rgba(23, 25, 29, 0.05), 0 24px 48px -20px rgba(23, 25, 29, 0.25);
  --font: "Manrope", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --gutter: clamp(1.25rem, 5vw, 5rem);
  --max: 78rem;
  --r: 22px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --paper: #10141f; --sand: #151a28; --surface: #1b2132; --ink: #f2f3f5; --muted: #b3b8c4; --line: #2b3247; --link: #ff7a85;
    --top-bg: #141a2e; --top-ink: #ffffff; --dark: #1b2132; --dark-deep: #0b0e17;
    --shadow: 0 2px 4px rgba(0, 0, 0, 0.2), 0 24px 48px -20px rgba(0, 0, 0, 0.6);
  }
  :root:not([data-theme="light"]) .logo--light { display: none; }
  :root:not([data-theme="light"]) .logo--dark { display: block; }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #10141f; --sand: #151a28; --surface: #1b2132; --ink: #f2f3f5; --muted: #b3b8c4; --line: #2b3247; --link: #ff7a85;
  --top-bg: #141a2e; --top-ink: #ffffff; --dark: #1b2132; --dark-deep: #0b0e17;
  --shadow: 0 2px 4px rgba(0, 0, 0, 0.2), 0 24px 48px -20px rgba(0, 0, 0, 0.6);
}
:root[data-theme="dark"] .logo--light { display: none; }
:root[data-theme="dark"] .logo--dark { display: block; }
.logo--dark { display: none; }
.page-head__mark { margin-bottom: 1.25rem; }
.page-head__mark img { width: 11rem; height: auto; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
main { overflow-x: clip; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.6 var(--font); }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.skip { position: absolute; left: var(--gutter); top: -4rem; z-index: 20; padding: 0.75rem 1rem; background: var(--surface); border-radius: 10px; }
.skip:focus { top: 0.5rem; }

/* header */
.top {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; gap: 1rem 2rem; flex-wrap: wrap;
  padding: 0.625rem var(--gutter);
  background: var(--top-bg); color: var(--top-ink); border-bottom: 1px solid var(--line); transition: box-shadow 0.25s;
}
.top.is-stuck { box-shadow: 0 10px 30px -16px rgba(23, 25, 29, 0.55); }
.top__logo img { width: auto; height: 3rem; }
.top__nav { display: flex; flex-wrap: wrap; gap: 0 1.75rem; margin-right: auto; }
.top__nav a { display: inline-flex; align-items: center; min-height: 2.75rem; font-weight: 500; font-size: 0.9375rem; text-decoration: none; opacity: 0.88; }
.top__nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 0.4em; }
/* "Services" submenu: opens on hover or keyboard focus, no script needed */
.top__group { position: relative; }
.top__parent::after { content: ""; width: 0.375rem; height: 0.375rem; margin: -0.2rem 0 0 0.5rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); }
.sub { position: absolute; top: 100%; left: -1.25rem; z-index: 11; display: none; padding-top: 0.625rem; }
.top__group:hover .sub, .top__group:focus-within .sub { display: block; }
.sub__panel { display: flex; gap: 2.5rem; padding: 1.125rem 1.5rem 1.25rem 1.25rem; border-radius: 0 0 16px 16px; background: var(--top-bg); border: 1px solid var(--line); border-top: 0; box-shadow: 0 18px 36px -14px rgba(23, 25, 29, 0.45); white-space: nowrap; }
.sub__label { font-size: 0.8125rem; font-weight: 700; color: var(--link); }
.sub ul { margin-top: 0.25rem; }
.top__nav .sub a { min-height: 2.5rem; }
.lang { display: flex; gap: 0.125rem; }
.lang a { display: grid; place-items: center; min-width: 2.75rem; min-height: 2.75rem; border-radius: 999px; font-size: 0.8125rem; font-weight: 700; text-decoration: none; opacity: 0.7; }
.lang a[aria-current] { opacity: 1; background: color-mix(in srgb, currentColor 12%, transparent); }
.lang a:hover { opacity: 1; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.625rem; min-height: 3.25rem; padding: 0 1.75rem;
  border-radius: 999px; border: 2px solid transparent; font-weight: 700; font-size: 1rem; text-decoration: none;
  transition: transform 0.15s, background-color 0.15s, border-color 0.15s;
}
.btn:hover { transform: translateY(-2px); }
.btn--small { min-height: 2.75rem; padding: 0 1.25rem; font-size: 0.9375rem; }
.btn--amber { background: var(--accent); color: var(--on-accent); }
.btn--amber:hover { background: var(--accent-strong); }
.btn--line { border-color: var(--line); background: var(--surface); color: var(--ink); font-variant-numeric: tabular-nums; }
.btn--line:hover { border-color: var(--ink); }

/* hero */
.hero { position: relative; isolation: isolate; color: #ffffff; background: var(--dark-deep); }
.hero > picture { position: absolute; inset: 0; z-index: -2; }
.hero__bg { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(23, 25, 29, 0.9) 0%, rgba(23, 25, 29, 0.72) 40%, rgba(23, 25, 29, 0.18) 100%),
              linear-gradient(0deg, rgba(23, 25, 29, 0.55), rgba(23, 25, 29, 0) 45%);
}
.hero__inner {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; align-items: center;
  padding: clamp(2.5rem, 5vw, 4.5rem) var(--gutter) clamp(6rem, 10vw, 8.5rem);
  max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto;
}
.hero__since { display: inline-flex; align-items: center; gap: 0.625rem; font-weight: 700; font-size: 0.9375rem; color: #ffffff; }
.hero__since::before { content: ""; width: 2rem; height: 3px; border-radius: 3px; background: var(--accent); }
.hero h1 { margin-top: 1.25rem; font-weight: 800; font-size: clamp(2.5rem, 5.4vw, 4.5rem); line-height: 1.04; letter-spacing: -0.035em; text-wrap: balance; }
.hero__lead { margin-top: 1.5rem; max-width: 34rem; font-size: 1.1875rem; line-height: 1.55; color: #d9dadb; }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
.btn--glass { border-color: rgba(255, 255, 255, 0.55); color: #ffffff; background: rgba(255, 255, 255, 0.08); font-variant-numeric: tabular-nums; }
.btn--glass:hover { background: rgba(255, 255, 255, 0.18); border-color: #ffffff; }

.board { padding: 1.5rem 1.5rem 1.375rem; border-radius: var(--r); background: rgba(23, 25, 29, 0.74); border: 1px solid rgba(255, 255, 255, 0.18); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.board__title { font-weight: 800; font-size: 1.25rem; letter-spacing: -0.02em; }
.map { display: block; width: 100%; height: auto; margin-top: 0.75rem; overflow: hidden; border-radius: 12px; }
.map__land { fill: none; stroke: rgba(255, 255, 255, 0.17); stroke-width: 3.6; stroke-linecap: round; }
.map__land--served { stroke: rgba(255, 255, 255, 0.7); }
.map__route { fill: none; stroke: rgba(255, 255, 255, 0.4); stroke-width: 1.4; }
.map__go, .map__back { fill: none; stroke-linecap: round; stroke-dasharray: 9 191; }
.map__go { stroke: var(--accent); stroke-width: 3.2; animation: map-go 4.2s linear infinite; }
.map__back { stroke: #ffffff; stroke-width: 2.2; stroke-dasharray: 6 194; animation: map-back 5.2s linear infinite; }
@keyframes map-go { from { stroke-dashoffset: 9; } to { stroke-dashoffset: -100; } }
@keyframes map-back { from { stroke-dashoffset: -100; } to { stroke-dashoffset: 6; } }
.map__go--2 { animation-delay: -1.3s; animation-duration: 4.8s; } .map__back--2 { animation-delay: -3.1s; }
.map__go--3 { animation-delay: -2.6s; animation-duration: 5.6s; } .map__back--3 { animation-delay: -0.7s; animation-duration: 6.4s; }
.map__go--4 { animation-delay: -0.5s; animation-duration: 5.2s; } .map__back--4 { animation-delay: -2.2s; animation-duration: 6s; }
.map__go--5 { animation-delay: -3.4s; animation-duration: 4.6s; } .map__back--5 { animation-delay: -1.5s; }
.map__go--6 { animation-delay: -1.9s; animation-duration: 3.8s; } .map__back--6 { animation-delay: -4.1s; animation-duration: 4.6s; }
.map__go--7 { animation-delay: -0.9s; animation-duration: 3.4s; } .map__back--7 { animation-delay: -2.7s; animation-duration: 4s; }
.map__go--8 { animation-delay: -2.9s; animation-duration: 4.4s; } .map__back--8 { animation-delay: -0.3s; animation-duration: 5s; }
.map__node { fill: #ffffff; stroke: var(--dark-deep); stroke-width: 2; }
.map__home { fill: var(--accent); stroke: #ffffff; stroke-width: 2.5; }
.map__ring { fill: none; stroke: var(--accent); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: map-ring 2.6s ease-out infinite; }
@keyframes map-ring { from { transform: scale(0.8); opacity: 0.9; } to { transform: scale(3.2); opacity: 0; } }
.board__note { margin-top: 0.5rem; padding-top: 0.875rem; border-top: 1px solid rgba(255, 255, 255, 0.14); font-size: 0.9375rem; line-height: 1.5; color: #d9dadb; }

.facts {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(calc(100% - 2 * var(--gutter)), var(--max)); margin: clamp(-5.5rem, -6vw, -3.5rem) auto 0;
  background: var(--surface); border-radius: var(--r); box-shadow: var(--shadow); position: relative; z-index: 1;
}
.facts li { padding: 1.5rem 1.5rem 1.625rem; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.facts li:nth-child(-n+2) { border-top: 0; }
.facts li:nth-child(odd) { border-left: 0; }
.facts svg { display: block; margin-bottom: 0.875rem; color: var(--accent); }
.facts b { display: block; font-weight: 800; font-size: clamp(1.25rem, 1.9vw, 1.625rem); line-height: 1.15; letter-spacing: -0.025em; color: var(--ink); }
.facts span { display: block; margin-top: 0.25rem; font-size: 1rem; line-height: 1.4; color: var(--muted); }
@media (min-width: 60rem) {
  .hero__inner { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 3.5rem; }
  .board { padding: 1.75rem 2rem 1.5rem; }
  .facts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .facts li { border-top: 0; padding: 1.75rem 2rem 2rem; }
  .facts li:nth-child(odd) { border-left: 1px solid var(--line); }
  .facts li:first-child { border-left: 0; }
}

/* services flow */
.section { padding: clamp(3.5rem, 8vw, 7rem) var(--gutter); max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; }
.section--flush { padding-left: 0; padding-right: 0; }
.services { padding-bottom: clamp(2rem, 4vw, 3.5rem); }
.section-head h2, .band h2, .split h2, .cta h2 { font-weight: 800; font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.1; letter-spacing: -0.03em; text-wrap: balance; }
.section-head p { margin-top: 0.75rem; font-size: 1.1875rem; color: var(--muted); }
.flow { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; margin-top: 2.5rem; }
.flow__media { display: none; }
.flow__media picture { display: contents; }
.step { display: grid; gap: 0.875rem; padding: 0 0 2.5rem; }
.step picture { display: block; margin-bottom: 0.5rem; }
.step__photo { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--r); background: #ffffff; margin-bottom: 0.5rem; }
.step__photo.fit, .flow__media img.fit { object-fit: contain; background: #ffffff; }
.step h3 { font-weight: 800; font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.15; letter-spacing: -0.025em; }
.step p { max-width: 30rem; color: var(--muted); font-size: 1.125rem; }
/* Text links that lead somewhere else: plain bold text with an amber chevron, underlined only on hover. */
.more { justify-self: start; display: inline-flex; align-items: center; gap: 0.625rem; min-height: 2.75rem; font-weight: 700; color: var(--ink); text-decoration: none; }
.more::after, .crumb a::before { content: ""; flex: none; width: 0.5rem; height: 0.5rem; border-top: 2.5px solid var(--accent); border-right: 2.5px solid var(--accent); transition: transform 0.2s ease; }
.more::after { transform: rotate(45deg); }
.more:hover, .crumb a:hover { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 0.35em; }
.more:hover::after { transform: translateX(0.25rem) rotate(45deg); }
@media (min-width: 60rem) {
  .js .flow { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 0 5rem; margin-top: 1rem; }
  .js .flow__media {
    /* landscape frame, so the trucks are shown whole; held near the middle of the screen, level with the step being read */
    display: block; position: sticky; top: max(6.5rem, calc(50vh - 13rem)); align-self: start;
    aspect-ratio: 3 / 2; max-height: calc(100vh - 9rem); border-radius: var(--r); overflow: hidden; background: var(--sand); box-shadow: var(--shadow);
  }
  .js .flow__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity 0.6s ease, transform 1.2s ease; }
  .js .flow__media img.is-on { opacity: 1; transform: none; }
  .js .flow__media img.fit { object-fit: contain; padding: 1.5rem; }
  .js .flow__count { position: absolute; left: 1.25rem; bottom: 1.25rem; padding: 0.375rem 0.875rem; border-radius: 999px; background: rgba(255, 255, 255, 0.92); color: #1d1d1b; font-weight: 700; font-size: 0.875rem; font-variant-numeric: tabular-nums; }
  .js .step { min-height: clamp(20rem, 50vh, 30rem); align-content: center; padding: 0 0 0 2rem; border-left: 3px solid var(--line); opacity: 0.38; transition: opacity 0.4s, border-color 0.4s; }
  .js .step.is-active { opacity: 1; border-left-color: var(--accent); }
  .js .step picture { display: none; }
}


/* header: current page, mobile menu */
.top__nav a[aria-current] { opacity: 1; text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 0.5em; }
.top__toggle { display: none; align-items: center; gap: 0.5rem; min-height: 2.75rem; padding: 0 0.875rem; border: 1px solid color-mix(in srgb, currentColor 40%, transparent); border-radius: 999px; background: transparent; color: inherit; font: 700 0.875rem var(--font); cursor: pointer; }
@media (max-width: 59.99rem) {
  .top { gap: 0.5rem 0.75rem; }
  .top__logo { margin-right: auto; }
  .top__logo img { height: 2.5rem; }
  .lang a { min-width: 2.375rem; }
  .top__nav { order: 5; width: 100%; gap: 0 1.25rem; margin: 0; }
  .js .top__toggle { display: inline-flex; }
  .js .top__nav { display: none; flex-direction: column; gap: 0; padding: 0.5rem 0 0.75rem; }
  .js .top__nav.is-open { display: flex; }
  .js .top__nav a { min-height: 3rem; font-size: 1.0625rem; border-top: 1px solid var(--line); }
  .top__group, .js .top__nav a { width: 100%; }
  .top__parent::after { display: none; }
  .sub { position: static; display: block; padding: 0 0 0.5rem; }
  .sub__panel { display: block; padding: 0 0 0 1rem; border-radius: 0; background: none; box-shadow: none; white-space: normal; }
  .sub__label { margin-top: 0.75rem; }
  .js .top__nav .sub a { min-height: 2.75rem; font-size: 1rem; border-top: 0; }
  .top__cta { display: none; }
}

/* dark band (was the fleet section; kept for future use) */
.band { background: var(--dark); color: #ffffff; }
.band__inner { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; align-items: center; padding: clamp(3.5rem, 8vw, 6.5rem) var(--gutter); max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; }
.band__lead { margin-top: 0.875rem; font-size: 1.1875rem; color: #d9dadb; max-width: 32rem; }
.points { display: grid; gap: 1.5rem; margin-top: 2.25rem; }
.points li { padding-left: 1.25rem; border-left: 3px solid var(--accent); }
.points h3 { font-weight: 800; font-size: 1.1875rem; letter-spacing: -0.015em; }
.points p { margin-top: 0.25rem; color: #d9dadb; max-width: 30rem; }
.band__media img, .split__media img { width: 100%; height: auto; border-radius: var(--r); box-shadow: var(--shadow); }
.split__media img.fit { background: #ffffff; padding: 1.25rem; }
@media (min-width: 60rem) { .band__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 5rem; } }

/* two-column text + photo */
.split { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; align-items: center; }
.split__copy > p { margin-top: 1rem; max-width: 34rem; color: var(--muted); font-size: 1.125rem; }
.split__copy > h2 + p { margin-top: 1.25rem; }
.lists { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 1.5rem 2.5rem; margin-top: 2rem; }
.lists h3 { font-weight: 800; font-size: 1.0625rem; }
.ticks { display: grid; gap: 0.5rem; margin-top: 0.75rem; }
.ticks li { position: relative; padding-left: 1.625rem; }
.ticks li::before { content: ""; position: absolute; left: 0.125rem; top: 0.5em; width: 0.75rem; height: 0.4rem; border-left: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent); transform: rotate(-45deg); }
@media (min-width: 60rem) { .split { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr); gap: 5rem; } .split--page { align-items: start; } }

/* tiles, cards */
.pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); gap: 1.5rem; padding-top: 0; }
.tile { display: grid; align-content: start; gap: 0.75rem; padding: 2rem; border-radius: var(--r); background: var(--surface); box-shadow: var(--shadow); }
.tile h2 { font-weight: 800; font-size: 1.5rem; letter-spacing: -0.025em; line-height: 1.15; }
.tile p { color: var(--muted); }
.tile--pnrr img { width: min(100%, 19rem); height: auto; padding: 0.5rem 0.75rem; border-radius: 10px; background: #ffffff; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); gap: 1.25rem; margin-top: 2rem; }
.cards--list { grid-template-columns: minmax(0, 1fr); max-width: 48rem; }
.card { display: grid; align-content: start; gap: 0.5rem; padding: 1.75rem; border-radius: var(--r); background: var(--surface); box-shadow: var(--shadow); }
.card h2, .card h3 { font-weight: 800; font-size: 1.25rem; letter-spacing: -0.02em; line-height: 1.2; }
.card h2 a, .card h3 a { text-decoration: none; }
.card h2 a:hover, .card h3 a:hover { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 0.3em; }
.card p { color: var(--muted); }
.card__meta { font-size: 0.9375rem; font-weight: 500; color: var(--muted); }

/* inner pages */
.page { padding: clamp(2.5rem, 6vw, 4.5rem) var(--gutter) clamp(3rem, 7vw, 6rem); max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; }
.page--narrow { max-width: calc(46rem + 2 * var(--gutter)); }
.page-head { margin-bottom: clamp(2rem, 4vw, 3rem); }
.page-head h1 { font-weight: 800; font-size: clamp(2.25rem, 4.6vw, 3.5rem); line-height: 1.06; letter-spacing: -0.035em; text-wrap: balance; }
.page-head__lead { margin-top: 1rem; max-width: 40rem; font-size: 1.1875rem; color: var(--muted); }
.crumb { margin-bottom: 0.75rem; font-weight: 700; font-size: 0.9375rem; }
.crumb a { display: inline-flex; align-items: center; gap: 0.625rem; min-height: 2.75rem; color: var(--muted); text-decoration: none; }
.crumb a::before { transform: rotate(-135deg); }
.crumb a:hover { color: var(--ink); }
.crumb a:hover::before { transform: translateX(-0.25rem) rotate(-135deg); }
.prose > * + * { margin-top: 1rem; }
.prose h2 { margin-top: 2.25rem; font-weight: 800; font-size: 1.5rem; letter-spacing: -0.025em; line-height: 1.2; }
.prose h3 { margin-top: 1.75rem; font-weight: 800; font-size: 1.1875rem; }
.prose p, .prose li { color: var(--ink); max-width: 42rem; }
.prose ul:not(.ticks), .prose ol { padding-left: 1.25rem; list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: 0.375rem; }
.prose a:not(.btn) { color: var(--link); text-underline-offset: 0.25em; }
.prose img, .article__image { width: 100%; height: auto; border-radius: var(--r); }
.article__image { margin-bottom: 2rem; }
.meta { display: flex; flex-wrap: wrap; gap: 0.75rem 2.5rem; margin: 1.25rem 0 0; }
.meta dt { font-size: 0.875rem; font-weight: 500; color: var(--muted); }
.meta dd { margin: 0; font-weight: 700; }
.auto-note { margin-bottom: 1.5rem; padding: 0.875rem 1.125rem; border-radius: 12px; background: var(--sand); font-size: 0.9375rem; }
.auto-note a { color: var(--link); }
.notice { padding: 2rem; border-radius: var(--r); background: var(--surface); box-shadow: var(--shadow); max-width: 44rem; }
.notice h2 { font-weight: 800; font-size: 1.5rem; letter-spacing: -0.025em; }
.notice p { margin-top: 0.75rem; color: var(--muted); }
.notice .ticks { margin-top: 1rem; }
.notice p a:not(.btn) { color: var(--link); text-underline-offset: 0.25em; }
.pager { display: flex; gap: 0.75rem; margin-top: 2rem; }
.pnrr img { width: min(100%, 26rem); height: auto; padding: 0.75rem 1rem; border-radius: 12px; background: #ffffff; box-shadow: var(--shadow); }
.pnrr .card__meta { margin-top: 1.5rem; }
.pnrr__title { margin-top: 1.5rem; font-weight: 800; font-size: clamp(1.25rem, 2.4vw, 1.625rem); line-height: 1.3; letter-spacing: -0.01em; }

/* contact */
.contact { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
.contact h2 { font-weight: 800; font-size: 1.5rem; letter-spacing: -0.025em; }
.contact__info h2 + .legal, .details { margin-top: 1rem; }
/* Contact details: one card per way to reach us; the whole card is the link. */
.details { display: grid; gap: 0.75rem; margin-bottom: 2.25rem; }
.details li { position: relative; display: flex; align-items: center; gap: 1rem; padding: 0.875rem 1.125rem 0.875rem 0.875rem; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); transition: border-color 0.2s ease, transform 0.2s ease; }
.details li:has(a):hover { border-color: var(--accent); transform: translateY(-2px); }
.details svg { flex: none; box-sizing: content-box; padding: 0.75rem; border-radius: 12px; background: color-mix(in srgb, var(--accent) 16%, transparent); color: var(--link); }
.details b { display: block; font-size: 0.875rem; font-weight: 500; color: var(--muted); }
.details a { font-weight: 700; font-size: 1.125rem; text-decoration: none; overflow-wrap: anywhere; }
.details a::after { content: ""; position: absolute; inset: 0; border-radius: 16px; }
.details a:focus-visible { outline: none; }
.details a:focus-visible::after { outline: 3px solid var(--accent); outline-offset: 2px; }
.details span { display: block; }
.details li:has(span + a) { align-items: flex-start; }
.details span + a { display: inline-block; margin-top: 0.25rem; font-size: 0.9375rem; color: var(--link); }
.legal { color: var(--muted); }
.contact__form { padding: clamp(1.5rem, 3vw, 2.5rem); border-radius: var(--r); background: var(--surface); box-shadow: var(--shadow); scroll-margin-top: 6rem; }
.form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.125rem 1.25rem; margin-top: 1.5rem; }
.field label, .check label { font-weight: 700; font-size: 0.9375rem; }
.field label { display: block; margin-bottom: 0.375rem; }
.opt { font-weight: 400; color: var(--muted); }
.field input, .field textarea {
  display: block; width: 100%; min-height: 3rem; padding: 0.75rem 0.875rem; border: 1.5px solid var(--line); border-radius: 12px;
  background: var(--paper); color: var(--ink); font: 400 1rem/1.4 var(--font);
}
.field textarea { resize: vertical; }
.field input:hover, .field textarea:hover { border-color: var(--muted); }
.field input:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--accent); outline-offset: 1px; border-color: var(--ink); }
.field input[readonly] { color: var(--muted); }
.hint { display: block; margin-top: 0.375rem; font-size: 0.875rem; color: var(--muted); }
.check { display: flex; gap: 0.75rem; align-items: flex-start; }
.check input { flex: none; width: 1.375rem; height: 1.375rem; margin: 0.125rem 0 0; accent-color: var(--dark); }
.check label { font-weight: 400; }
.check a { color: var(--link); }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form button[disabled] { opacity: 0.6; cursor: progress; }
.btn { cursor: pointer; font-family: var(--font); }
.status { margin-top: 1.25rem; padding: 1rem 1.125rem; border-radius: 12px; border-left: 4px solid var(--accent); background: var(--sand); font-weight: 500; }
.status--ok { border-left-color: #1f8a4c; }
.status--invalid, .status--error, .status--busy { border-left-color: #c2410c; }
@media (min-width: 44rem) { .form { grid-template-columns: repeat(2, minmax(0, 1fr)); } .field--wide { grid-column: 1 / -1; } }
@media (min-width: 60rem) { .contact { grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: 4rem; align-items: start; } }

/* gallery */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); gap: 0.875rem; }
.grid a { display: block; border-radius: 14px; overflow: hidden; background: var(--sand); }
.grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 0.4s ease; }
.grid a:hover img { transform: scale(1.04); }
.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(17, 19, 22, 0.94); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgba(17, 19, 22, 0.94); }
.lightbox img { max-width: min(92vw, 100rem); max-height: 86vh; width: auto; height: auto; border-radius: 10px; }
.lightbox__btn { position: absolute; display: grid; place-items: center; width: 3rem; height: 3rem; border: 0; border-radius: 999px; background: rgba(255, 255, 255, 0.14); color: #ffffff; cursor: pointer; }
.lightbox__btn:hover { background: rgba(255, 255, 255, 0.28); }
.lightbox__close { top: 1rem; right: 1rem; }
.lightbox__prev { left: 1rem; top: 50%; margin-top: -1.5rem; }
.lightbox__next { right: 1rem; top: 50%; margin-top: -1.5rem; }

/* closing call */
.cta { position: relative; background: var(--dark); color: #ffffff; }
.cta__inner { padding: clamp(3.5rem, 8vw, 6rem) var(--gutter); max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; }
.cta__inner > p:first-of-type { margin-top: 0.875rem; max-width: 30rem; font-size: 1.1875rem; color: #d9dadb; }
.band + .section, .cta + .foot { margin-top: 0; }

/* footer */
.foot { background: var(--dark-deep); color: #c9ccd0; font-size: 0.9375rem; }
.foot__inner { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); gap: 2rem 3rem; padding: clamp(2.5rem, 5vw, 4rem) var(--gutter) 2rem; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; }
.foot__brand img { width: 12rem; height: auto; }
.foot__brand p { margin-top: 1rem; max-width: 18rem; }
.foot h2 { font-size: 0.875rem; font-weight: 800; color: #ffffff; }
.foot ul { display: grid; gap: 0.125rem; margin-top: 0.75rem; }
.foot li { padding: 0.25rem 0; }
.foot a { display: inline-block; padding: 0.375rem 0; text-decoration: none; }
.foot a:hover { color: #ffffff; text-decoration: underline; text-underline-offset: 0.3em; }
.foot__legal { padding: 1.25rem var(--gutter) 2rem; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 0.875rem; }

.btn svg { flex: none; color: var(--accent); }
.btn--amber svg { color: var(--on-accent); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .flow__media img, .step, .grid img, .more::after, .crumb a::before, .details li { transition: none !important; }
  .btn:hover, .grid a:hover img, .details li:hover { transform: none !important; }
  .map__go, .map__back, .map__ring { animation: none; }
  .map__back, .map__ring { display: none; }
  .map__go { stroke-dasharray: 9 191; stroke-dashoffset: -45; }
}

/* long compound words (German) break instead of overflowing */
h1, h2, h3 { overflow-wrap: break-word; hyphens: auto; }

/* theme switch */
.theme { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border: 0; border-radius: 999px; background: color-mix(in srgb, currentColor 10%, transparent); color: inherit; cursor: pointer; }
.theme:hover { background: color-mix(in srgb, currentColor 20%, transparent); }
.theme[hidden] { display: none; }
.theme svg:last-child { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme svg:first-child { display: none; }
  :root:not([data-theme="light"]) .theme svg:last-child { display: block; }
}
:root[data-theme="dark"] .theme svg:first-child { display: none; }
:root[data-theme="dark"] .theme svg:last-child { display: block; }

/* PNRR announcement banner (kept from the old home page; EU visibility) */
.pnrr-banner {
  display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem;
  width: min(calc(100% - 2 * var(--gutter)), var(--max)); margin: 1.5rem auto 0; padding: 1.125rem 1.5rem;
  border-radius: var(--r); background: var(--surface); box-shadow: var(--shadow);
}
.pnrr-banner img { flex: none; width: min(100%, 17rem); height: auto; padding: 0.375rem 0.5rem; border-radius: 8px; background: #ffffff; }
.pnrr-banner a { flex: 1 1 18rem; font-weight: 700; font-size: 0.9375rem; line-height: 1.45; color: var(--ink); text-underline-offset: 0.25em; }
.pnrr-banner a:hover { color: var(--link); }
.cf-turnstile { min-height: 65px; }
@media (max-width: 26rem) {
  .top__toggle span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .top__toggle { padding: 0 0.75rem; }
  .lang a { min-width: 2.375rem; }
}

/* floating shortcuts: WhatsApp and back to top */
.floats { position: fixed; right: max(1rem, env(safe-area-inset-right)); bottom: max(1rem, env(safe-area-inset-bottom)); z-index: 9; display: grid; gap: 0.625rem; justify-items: center; }
.floats a { display: grid; place-items: center; border-radius: 999px; box-shadow: 0 6px 18px -4px rgba(17, 19, 22, 0.45); transition: transform 0.15s, opacity 0.25s, visibility 0.25s; }
.floats a:hover { transform: translateY(-2px); }
.floats__wa { width: 3.5rem; height: 3.5rem; background: #1faa53; color: #ffffff; }
.floats__top { width: 2.75rem; height: 2.75rem; background: var(--surface); color: var(--ink); border: 1px solid var(--line); }
.floats__top.is-auto { opacity: 0; visibility: hidden; }
.floats__top.is-auto.is-shown { opacity: 1; visibility: visible; }
.foot__legal { padding-right: 5.5rem; }
@media (prefers-reduced-motion: reduce) { .floats a { transition: none; } .floats a:hover { transform: none; } }
@media print { .floats { display: none; } }

/* Cookie notice (only present when Google Analytics is configured) */
.consent { position: fixed; left: max(1rem, env(safe-area-inset-left)); bottom: max(1rem, env(safe-area-inset-bottom)); z-index: 10; width: min(26rem, calc(100vw - 2rem)); padding: 1.25rem 1.375rem; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); color: var(--ink); box-shadow: 0 18px 40px -12px rgba(17, 19, 22, 0.45); }
.consent[hidden] { display: none; }
.consent h2 { font-size: 1.0625rem; font-weight: 800; }
.consent p { margin-top: 0.5rem; font-size: 0.9375rem; line-height: 1.5; color: var(--muted); }
.consent p a { color: var(--link); text-underline-offset: 0.25em; }
.consent__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 0.625rem; margin-top: 1rem; }
.foot__btn { padding: 0.375rem 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.foot__btn:hover { color: #ffffff; text-decoration: underline; text-underline-offset: 0.3em; }
.foot__btn[hidden] { display: none; }
@media print { .consent { display: none; } }
