/* ==========================================================================
   Elektro-Installationsservice - design system
   Mobile first. No build step: plain CSS with custom properties.
   ========================================================================== */

/* --- Fonts (self-hosted, no Google CDN) ---------------------------------- */
@font-face {
  font-family: "Roboto";
  src: url("../fonts/roboto-400.9a01b69183a9.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Roboto";
  src: url("../fonts/roboto-500.9a01b69183a9.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Roboto";
  src: url("../fonts/roboto-700.9a01b69183a9.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Roboto";
  src: url("../fonts/roboto-900.9a01b69183a9.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Brand palette, taken from the Elementor kit of the old site */
  --navy-deep: #021b4b;
  --navy: #032e7c;
  --blue: #2872fa;
  --yellow: #ffcc00;
  --gold: #ffd700;
  --green: #009b4d;
  --text: #333333;
  --muted: #757575;
  --silver: #c0c0c0;
  --bg-subtle: #f5f5f5;
  --white: #ffffff;
  --black: #000000;

  --border: #e3e6ec;
  --shadow-sm: 0 1px 2px rgba(2, 27, 75, 0.06), 0 2px 8px rgba(2, 27, 75, 0.06);
  --shadow-md: 0 6px 24px rgba(2, 27, 75, 0.1);
  --shadow-lg: 0 18px 48px rgba(2, 27, 75, 0.18);

  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;

  --font: "Roboto", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;

  /* Fluid type scale */
  --fs-display: clamp(2rem, 1.2rem + 3.4vw, 3.5rem);
  --fs-h2: clamp(1.6rem, 1.15rem + 1.9vw, 2.6rem);
  --fs-h3: clamp(1.35rem, 1.1rem + 1.05vw, 1.9rem);
  --fs-h4: clamp(1.15rem, 1.02rem + 0.55vw, 1.45rem);
  --fs-h5: clamp(1.02rem, 0.97rem + 0.24vw, 1.16rem);
  --fs-body: clamp(1rem, 0.97rem + 0.14vw, 1.06rem);
  --fs-small: 0.875rem;

  --container: 1240px;
  --gutter: clamp(1rem, 0.55rem + 2vw, 2.5rem);
  --section-y: clamp(3rem, 2rem + 5vw, 6rem);

  --header-h: 76px;
}

/* --- Reset ---------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

/* The browser hides [hidden] with display:none, but any author rule that sets
   display on the same element wins. Components like .field set display, so the
   attribute has to be enforced here or hidden fields stay on screen. */
[hidden] {
  display: none !important;
}

img,
picture,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Inline icons keep their intrinsic size unless a component overrides it. */
svg.icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  display: inline-block;
  vertical-align: middle;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 0.6em;
  line-height: 1.2;
  font-weight: 700;
  color: var(--navy-deep);
  text-wrap: balance;
  /* Long German compounds must not push the page sideways on small screens. */
  overflow-wrap: break-word;
  hyphens: auto;
}

p,
li,
td,
th,
figcaption,
.prose {
  overflow-wrap: break-word;
}

h1 {
  font-size: var(--fs-display);
  font-weight: 900;
  text-transform: uppercase;
}
h2 {
  font-size: var(--fs-h2);
  text-transform: uppercase;
}
h3 {
  font-size: var(--fs-h3);
}
h4 {
  font-size: var(--fs-h4);
}
h5 {
  font-size: var(--fs-h5);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--navy);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}
a:hover {
  color: var(--blue);
}

ul,
ol {
  padding-left: 1.25em;
}

hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 2rem 0;
}

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
  border-radius: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--yellow);
  color: var(--navy-deep);
  padding: 0.75rem 1.25rem;
  font-weight: 700;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* --- Layout helpers ------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: var(--section-y);
  position: relative;
}

.section--subtle {
  background: var(--bg-subtle);
}

.section--dark {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.88);
}
.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4,
.section--dark h5 {
  color: var(--white);
}

.section--photo {
  background-size: cover;
  background-position: center;
  position: relative;
  isolation: isolate;
}
.section--photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(2, 27, 75, 0.94) 0%,
    rgba(2, 27, 75, 0.82) 45%,
    rgba(2, 27, 75, 0.55) 100%
  );
  z-index: -1;
}

.section__head {
  max-width: 46rem;
  margin-bottom: clamp(2rem, 1.4rem + 2vw, 3.25rem);
}
.section__head--center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  font-size: var(--fs-small);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 0.75rem;
}
.eyebrow--dark {
  color: var(--navy);
}

.lead {
  font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem);
  color: inherit;
}

/* --- Buttons -------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  font: inherit;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease,
    border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
  min-height: 48px;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn:active {
  transform: translateY(0);
}

.btn--primary {
  background: var(--yellow);
  color: var(--navy-deep);
  border-color: var(--yellow);
}
.btn--primary:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy-deep);
  box-shadow: var(--shadow-md);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.65);
}
.btn--outline:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border-color: var(--white);
}

.btn--navy {
  background: var(--navy-deep);
  color: var(--white);
  border-color: var(--navy-deep);
}
.btn--navy:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.btn--ghost {
  background: transparent;
  color: var(--navy-deep);
  border-color: var(--border);
}
.btn--ghost:hover {
  border-color: var(--navy);
  color: var(--navy);
}

.btn--block {
  width: 100%;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

/* On narrow screens stacked buttons share one width instead of looking ragged. */
@media (max-width: 520px) {
  .btn-row > .btn {
    flex: 1 1 100%;
  }
}

/* --- Header --------------------------------------------------------------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: var(--header-h);
}
.header__logo {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  margin-right: auto;
}
.header__logo img {
  height: 44px;
  width: auto;
}
.header__actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.header__actions .btn {
  padding: 0.6rem 1.1rem;
  min-height: 44px;
  white-space: nowrap;
}
.header__phone,
.nav__book {
  display: none;
}

.nav {
  display: none;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.6rem 0.85rem;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--navy-deep);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  background: none;
  border: 0;
  cursor: pointer;
  font-family: inherit;
}
.nav__link:hover,
.nav__link[aria-expanded="true"] {
  background: var(--bg-subtle);
  color: var(--navy);
}
.nav__link--active {
  color: var(--blue);
}
.nav__caret {
  width: 12px;
  transition: transform 0.2s ease;
}
.nav__link[aria-expanded="true"] .nav__caret {
  transform: rotate(180deg);
}

/* Mega menu */
.megamenu {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--white);
  border-top: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  padding-block: 2rem;
  display: none;
}
.megamenu[data-open="true"] {
  display: block;
}
.megamenu__grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.megamenu__col {
  min-width: 0;
}
.megamenu__title {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--navy-deep);
  text-decoration: none;
  padding-bottom: 0.6rem;
  margin-bottom: 0.6rem;
  border-bottom: 2px solid var(--yellow);
}
.megamenu__title:hover {
  color: var(--blue);
}
.megamenu__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.15rem;
}
.megamenu__list a {
  display: block;
  padding: 0.4rem 0.5rem;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  color: var(--text);
  text-decoration: none;
}
.megamenu__list a:hover {
  background: var(--bg-subtle);
  color: var(--navy);
}

/* Mobile drawer */
.burger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  cursor: pointer;
  padding: 0;
}
.burger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--navy-deep);
  position: relative;
}
.burger span::before,
.burger span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: var(--navy-deep);
  transition: transform 0.2s ease, top 0.2s ease;
}
.burger span::before {
  top: -6px;
}
.burger span::after {
  top: 6px;
}
.burger[aria-expanded="true"] span {
  background: transparent;
}
.burger[aria-expanded="true"] span::before {
  top: 0;
  transform: rotate(45deg);
}
.burger[aria-expanded="true"] span::after {
  top: 0;
  transform: rotate(-45deg);
}

.drawer {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: var(--white);
  z-index: 99;
  overflow-y: auto;
  padding: 1.25rem var(--gutter) 3rem;
  transform: translateX(100%);
  transition: transform 0.25s ease;
  visibility: hidden;
}
.drawer[data-open="true"] {
  transform: translateX(0);
  visibility: visible;
}
.drawer__list {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: grid;
  gap: 0.25rem;
}
.drawer__link {
  display: block;
  padding: 0.85rem 0.5rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--navy-deep);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
}
.drawer__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--border);
  font: inherit;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--navy-deep);
  padding: 0.85rem 0.5rem;
  cursor: pointer;
}
.drawer__panel {
  display: none;
  padding: 0.5rem 0 0.75rem 0.75rem;
}
.drawer__panel[data-open="true"] {
  display: block;
}
.drawer__group {
  margin-bottom: 1rem;
}
.drawer__group-title {
  display: block;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  margin-bottom: 0.35rem;
}
.drawer__sublist {
  list-style: none;
  margin: 0;
  padding: 0 0 0 0.75rem;
  border-left: 2px solid var(--border);
  display: grid;
  gap: 0.1rem;
}
.drawer__sublist a {
  display: block;
  padding: 0.4rem 0;
  color: var(--text);
  text-decoration: none;
  font-size: 0.95rem;
}
body.is-locked {
  overflow: hidden;
}

@media (min-width: 1080px) {
  .nav {
    display: block;
  }
  .burger {
    display: none;
  }
  .drawer {
    display: none;
  }
  .header__phone,
  .nav__book {
    display: inline-flex;
  }
}

/* --- Hero ----------------------------------------------------------------- */
.hero {
  position: relative;
  background: var(--navy-deep);
  color: var(--white);
  padding-block: clamp(3rem, 2rem + 6vw, 6.5rem) clamp(5rem, 3rem + 8vw, 9rem);
  background-size: cover;
  background-position: center;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(2, 27, 75, 0.96) 0%,
    rgba(2, 27, 75, 0.86) 42%,
    rgba(2, 27, 75, 0.6) 100%
  );
  z-index: -1;
}
.hero__grid {
  display: grid;
  gap: clamp(2rem, 1rem + 4vw, 3.5rem);
  align-items: center;
}
.hero h1 {
  color: var(--white);
  margin-bottom: 0.5rem;
}
.hero__sub {
  font-size: clamp(1.1rem, 1rem + 0.5vw, 1.4rem);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.75rem;
}
.hero__note {
  margin-top: 1.5rem;
  font-size: var(--fs-small);
  color: rgba(255, 255, 255, 0.82);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.hero__collage {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}
.hero__collage a {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
}
.hero__collage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.hero__collage a:hover img {
  transform: scale(1.05);
}

@media (min-width: 900px) {
  .hero__grid {
    grid-template-columns: 1.05fr 1fr;
  }
  .hero__collage a:nth-child(1),
  .hero__collage a:nth-child(4) {
    margin-top: 1.75rem;
  }
}

/* Wave divider */
.wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  width: 100%;
  line-height: 0;
  pointer-events: none;
}
.wave svg {
  width: 100%;
  height: clamp(40px, 6vw, 80px);
  display: block;
}

/* --- Page hero (inner pages) --------------------------------------------- */
.pagehero {
  position: relative;
  background: var(--navy-deep);
  color: var(--white);
  padding-block: clamp(3rem, 2rem + 5vw, 5.5rem) clamp(4rem, 3rem + 6vw, 7rem);
  background-size: cover;
  background-position: center;
  isolation: isolate;
  text-align: center;
}
.pagehero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(2, 27, 75, 0.86) 0%,
    rgba(2, 27, 75, 0.78) 100%
  );
  z-index: -1;
}
.pagehero h1 {
  color: var(--white);
  max-width: 22ch;
  margin-inline: auto;
}
.pagehero__sub {
  max-width: 62ch;
  margin-inline: auto;
  color: rgba(255, 255, 255, 0.9);
}

/* Breadcrumbs */
.breadcrumbs {
  font-size: var(--fs-small);
  padding-block: 0.9rem;
  border-bottom: 1px solid var(--border);
  background: var(--bg-subtle);
}
.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
  color: var(--muted);
}
.breadcrumbs li + li::before {
  content: "›";
  margin-right: 0.4rem;
  color: var(--silver);
}
.breadcrumbs a {
  color: var(--muted);
  text-decoration: none;
}
.breadcrumbs a:hover {
  color: var(--navy);
  text-decoration: underline;
}

/* --- Partner strip -------------------------------------------------------- */
.partners {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(150px, 1fr);
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.5rem;
  scrollbar-width: thin;
}
.partners__item {
  scroll-snap-align: start;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  display: grid;
  place-items: center;
  gap: 0.75rem;
  min-height: 130px;
  text-align: center;
}
.partners__item img {
  max-height: 60px;
  width: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.75;
  transition: filter 0.2s ease, opacity 0.2s ease;
}
.partners__item:hover img {
  filter: grayscale(0);
  opacity: 1;
}
.partners__name {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}

@media (min-width: 900px) {
  .partners {
    grid-auto-flow: row;
    grid-template-columns: repeat(5, 1fr);
    overflow: visible;
  }
}

/* --- Cards ---------------------------------------------------------------- */
.cards {
  display: grid;
  gap: clamp(1rem, 0.7rem + 1.2vw, 1.75rem);
  grid-template-columns: 1fr;
}
@media (min-width: 620px) {
  .cards--2 ,
  .cards--3,
  .cards--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 960px) {
  .cards--3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .cards--4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
a.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--navy);
}
.card__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-subtle);
}
.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
a.card:hover .card__media img {
  transform: scale(1.05);
}
.card__body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}
.card__title {
  font-size: var(--fs-h5);
  font-weight: 700;
  color: var(--navy-deep);
  margin: 0;
  text-transform: none;
}
.card__text {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0;
}
.card__more {
  margin-top: auto;
  padding-top: 0.5rem;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
a.card:hover .card__more {
  color: var(--blue);
}

/* Service cards sitting on a dark section: the whole card is one link. */
.card--onDark {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.16);
}
.card--onDark .card__title {
  color: var(--white);
}
.card--onDark .card__text {
  color: rgba(255, 255, 255, 0.68);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 0.85rem;
}
.card--onDark .card__more {
  color: var(--yellow);
}
a.card--onDark:hover {
  border-color: var(--yellow);
  background: rgba(255, 255, 255, 0.1);
}

/* The quote form under the service cards. */
.quoteform {
  margin-top: clamp(2.5rem, 2rem + 3vw, 4rem);
  padding-top: clamp(2rem, 1.5rem + 2vw, 3rem);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

/* --- Feature cards (Ihr Partner) ------------------------------------------ */
.features {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 620px) {
  .features {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .features {
    grid-template-columns: repeat(4, 1fr);
  }
}
.feature {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem;
  text-align: center;
  display: grid;
  gap: 0.85rem;
  justify-items: center;
}
.feature__icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 2px solid var(--yellow);
  color: var(--yellow);
}
.feature__icon svg.icon {
  width: 24px;
  height: 24px;
}
.feature h3 {
  font-size: var(--fs-h5);
  text-transform: uppercase;
  color: var(--white);
  margin: 0;
}

/* --- Process -------------------------------------------------------------- */
.process {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  align-items: start;
}
.process__step {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 0.75rem;
}
.process__icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 2px solid var(--yellow);
  display: grid;
  place-items: center;
  color: var(--navy-deep);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.process__icon svg.icon {
  width: 30px;
  height: 30px;
}
.process__title {
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--navy-deep);
  margin: 0;
  hyphens: auto;
}
.process__arrow {
  display: grid;
  place-items: center;
  color: var(--silver);
  transform: rotate(90deg);
}
.process__arrow svg,
.process__arrow svg.icon {
  width: 18px;
  height: 18px;
}
.wave svg,
.hero__collage img,
.card__media img,
.choice__media img,
.gallery img,
.partners__item img,
.footer__logo img,
.header__logo img {
  max-width: 100%;
}

@media (min-width: 720px) {
  .process {
    grid-template-columns: repeat(11, auto);
    justify-content: center;
    gap: 0.5rem;
  }
  .process__arrow {
    transform: none;
    align-self: start;
    margin-top: 24px;
  }
  .process__step {
    max-width: 120px;
  }
}

/* --- Funnel --------------------------------------------------------------- */
.funnel {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.9);
}
.funnel h2,
.funnel h3,
.funnel h4 {
  color: var(--white);
}
.funnel__steps {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 2rem;
  list-style: none;
  padding: 0;
  flex-wrap: wrap;
}
.funnel__pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-size: var(--fs-small);
  color: rgba(255, 255, 255, 0.7);
}
.funnel__pill[aria-current="step"] {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--navy-deep);
  font-weight: 700;
}
.funnel__pill--done {
  border-color: var(--yellow);
  color: var(--yellow);
}

.funnel__page[hidden] {
  display: none;
}

.choice-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 620px) {
  .choice-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .choice-grid--4 {
    grid-template-columns: repeat(4, 1fr);
  }
  .choice-grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.choice {
  position: relative;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.16);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  height: 100%;
}
.choice:hover {
  transform: translateY(-3px);
  border-color: var(--yellow);
  box-shadow: var(--shadow-lg);
}
.choice input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.choice input:focus-visible ~ .choice__inner {
  outline: 3px solid var(--yellow);
  outline-offset: -3px;
}
.choice input:checked ~ .choice__inner {
  box-shadow: inset 0 0 0 3px var(--yellow);
}
.choice__inner {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.choice__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
}
.choice__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.choice__label {
  padding: 0.9rem 1rem;
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  color: var(--white);
  text-align: center;
  flex: 1;
  display: grid;
  place-items: center;
}
.choice--text .choice__label {
  padding: 1.25rem 1rem;
  text-transform: none;
}

/* --- Forms ---------------------------------------------------------------- */
.form-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .form-grid--2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .form-grid .span-2 {
    grid-column: span 2;
  }
}

.field {
  display: grid;
  gap: 0.35rem;
}
.field__label {
  font-size: 0.9rem;
  font-weight: 600;
}
.field__req {
  color: var(--yellow);
}
.form--light .field__req {
  color: #c00;
}
.field__input,
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="number"],
.field textarea,
.field select {
  width: 100%;
  padding: 0.8rem 0.9rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--text);
  font: inherit;
  min-height: 48px;
}
.field textarea {
  min-height: 120px;
  resize: vertical;
}
.field__input:focus,
.field select:focus,
.field textarea:focus {
  outline: 3px solid var(--yellow);
  outline-offset: 1px;
  border-color: var(--navy);
}
.field__error {
  color: #ffb4b4;
  font-size: var(--fs-small);
}
.form--light .field__error {
  color: #c00;
}
.field--invalid .field__input {
  border-color: #c00;
}

.checkline {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.92rem;
}
.checkline input {
  margin-top: 0.25rem;
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  accent-color: var(--yellow);
}
.checkline a {
  color: inherit;
  text-decoration: underline;
}

.dropzone {
  border: 2px dashed rgba(255, 255, 255, 0.3);
  border-radius: var(--radius);
  padding: 1.25rem;
  text-align: center;
  display: grid;
  gap: 0.5rem;
  justify-items: center;
  background: rgba(255, 255, 255, 0.04);
}
.form--light .dropzone {
  border-color: var(--border);
  background: var(--bg-subtle);
}
.dropzone.is-dragover {
  border-color: var(--yellow);
  background: rgba(255, 204, 0, 0.08);
}
.dropzone input[type="file"] {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.dropzone__hint {
  font-size: var(--fs-small);
  color: inherit;
  opacity: 0.75;
  margin: 0;
}
.dropzone__files {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
  font-size: var(--fs-small);
  display: grid;
  gap: 0.2rem;
  width: 100%;
}
.dropzone__files li {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.08);
  padding: 0.3rem 0.6rem;
  border-radius: var(--radius-sm);
}
.form--light .dropzone__files li {
  background: var(--white);
  border: 1px solid var(--border);
}

.readback {
  background: rgba(255, 255, 255, 0.07);
  border-left: 3px solid var(--yellow);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1rem;
  font-size: 0.95rem;
  display: grid;
  gap: 0.3rem;
}
.form--light .readback {
  background: var(--bg-subtle);
  border-left-color: var(--navy);
}

.trustrow {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: 1.25rem;
  font-size: var(--fs-small);
}
.trustrow span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}
.trustrow svg,
.trustrow svg.icon {
  width: 18px;
  height: 18px;
  color: var(--yellow);
  flex: 0 0 auto;
}
.hero__note svg.icon {
  width: 18px;
  height: 18px;
  color: var(--yellow);
}
.card__more svg.icon {
  width: 16px;
  height: 16px;
}

.formcard {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 1rem + 1.5vw, 2.25rem);
  box-shadow: var(--shadow-sm);
}

.alert {
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}
.alert--error {
  background: #fdecec;
  color: #8a1c1c;
  border: 1px solid #f3c2c2;
}
.alert--success {
  background: #e8f7ee;
  color: #14653a;
  border: 1px solid #b6e2c8;
}

/* --- CTA banner ----------------------------------------------------------- */
.cta {
  background: var(--black);
  background-size: cover;
  background-position: center;
  color: var(--white);
  position: relative;
  isolation: isolate;
  padding-block: clamp(2.5rem, 2rem + 3vw, 4.5rem);
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.62);
  z-index: -1;
}
.cta__inner {
  display: grid;
  gap: 1.25rem;
  align-items: center;
  justify-items: center;
  text-align: center;
}
.cta h2 {
  color: var(--white);
  max-width: 30ch;
  margin: 0;
}
.cta__phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--yellow);
  font-weight: 700;
  text-decoration: none;
  font-size: 1.1rem;
}
.cta__phone svg,
.cta__phone svg.icon {
  width: 20px;
  height: 20px;
}

/* --- Content (rich text from admin) --------------------------------------- */
.prose {
  max-width: 78ch;
}
.prose h2 {
  font-size: var(--fs-h3);
  text-transform: none;
  margin-top: 2.25rem;
}
.prose h3 {
  font-size: var(--fs-h4);
  margin-top: 1.75rem;
}
.prose h2:first-child,
.prose h3:first-child {
  margin-top: 0;
}
.prose ul,
.prose ol {
  margin: 0 0 1.25em;
}
.prose li {
  margin-bottom: 0.35em;
}
.prose a {
  color: var(--navy);
}
.prose--legal {
  max-width: 82ch;
}
.prose--legal h2 {
  font-size: var(--fs-h4);
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.prose--legal h3 {
  font-size: var(--fs-h5);
  text-transform: none;
}

/* --- Gallery -------------------------------------------------------------- */
.gallery {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 620px) {
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 960px) {
  .gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}
.gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

/* --- Accordion ------------------------------------------------------------ */
.accordion {
  display: grid;
  gap: 0.75rem;
}
.accordion__item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
}
.accordion__button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  background: none;
  border: 0;
  font: inherit;
  font-weight: 700;
  color: var(--navy-deep);
  text-align: left;
  cursor: pointer;
}
.accordion__button:hover {
  background: var(--bg-subtle);
}
.accordion__sign {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--navy-deep);
  font-weight: 700;
  line-height: 1;
}
.accordion__panel {
  padding: 0 1.25rem 1.25rem;
}
.accordion__panel[hidden] {
  display: none;
}

/* --- Contact -------------------------------------------------------------- */
.contact-grid {
  display: grid;
  gap: clamp(1.5rem, 1rem + 3vw, 3rem);
  align-items: start;
}
@media (min-width: 960px) {
  .contact-grid {
    grid-template-columns: 0.85fr 1.15fr;
  }
}
.infolist {
  display: grid;
  gap: 1rem;
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
}
.infolist li {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}
.infolist svg,
.infolist svg.icon {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  color: var(--navy);
  margin-top: 2px;
}
.infolist a {
  text-decoration: none;
  font-weight: 600;
}
.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-subtle);
  min-height: 320px;
  display: grid;
  place-items: center;
}
.map-embed iframe {
  width: 100%;
  height: 380px;
  border: 0;
  display: block;
}
.map-consent {
  padding: 2rem 1.5rem;
  text-align: center;
  display: grid;
  gap: 0.75rem;
  justify-items: center;
}

/* --- Footer --------------------------------------------------------------- */
.footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.78);
  padding-block: clamp(2.5rem, 2rem + 3vw, 4rem) 1.5rem;
  font-size: 0.95rem;
}
.footer a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
}
.footer a:hover {
  color: var(--yellow);
}
.footer h2 {
  font-size: var(--fs-h5);
  color: var(--white);
  margin-bottom: 1rem;
}
.footer__grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .footer__grid {
    grid-template-columns: 1.2fr 1fr 1.4fr;
  }
}
.footer__logo img {
  height: 52px;
  width: auto;
  margin-bottom: 1rem;
}
.footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}
.footer__form {
  display: grid;
  gap: 0.75rem;
}
.footer__form input[type="email"] {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font: inherit;
  min-height: 48px;
}
.footer__form input::placeholder {
  color: rgba(255, 255, 255, 0.55);
}
.footer__bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: grid;
  gap: 1rem;
  align-items: center;
  font-size: var(--fs-small);
}
.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer__social {
  display: flex;
  gap: 0.6rem;
}
.footer__social a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.85);
}
.footer__social a:hover {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--navy-deep);
}
.footer__social svg {
  width: 20px;
  height: 20px;
}
@media (min-width: 860px) {
  .footer__bottom {
    grid-template-columns: auto 1fr auto;
    justify-items: start;
  }
  .footer__social {
    justify-self: end;
  }
}

/* --- Modal (quote popup) -------------------------------------------------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  padding: 1rem;
  overflow-y: auto;
}
.modal[data-open="true"] {
  display: grid;
  place-items: start center;
}
.modal__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(2, 27, 75, 0.72);
  backdrop-filter: blur(2px);
}
.modal__dialog {
  position: relative;
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-lg);
  width: min(720px, 100%);
  margin-block: 2rem;
  padding: clamp(1.25rem, 1rem + 1.5vw, 2.25rem);
  box-shadow: var(--shadow-lg);
}
.modal__dialog h2 {
  color: var(--white);
}
.modal__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  color: var(--white);
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
}
.modal__close:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* --- Cookie banner -------------------------------------------------------- */
.cookie {
  position: fixed;
  z-index: 300;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 1.25rem;
  display: none;
  font-size: 0.92rem;
  border: 1px solid var(--border);
}
.cookie[data-open="true"] {
  display: block;
}
.cookie h2 {
  font-size: 1.05rem;
  text-transform: none;
  margin-bottom: 0.5rem;
}
.cookie__actions {
  display: grid;
  gap: 0.5rem;
  margin-top: 1rem;
}
.cookie__actions .btn {
  min-height: 44px;
  padding: 0.6rem 1rem;
  font-size: 0.92rem;
}
@media (min-width: 560px) {
  .cookie {
    left: auto;
    right: 1.5rem;
    bottom: 1.5rem;
    max-width: 420px;
  }
  .cookie__actions {
    grid-template-columns: 1fr 1fr;
  }
  .cookie__actions .btn--primary {
    grid-column: span 2;
  }
}

.cookie-prefs .modal__dialog {
  background: var(--white);
  color: var(--text);
}
.cookie-prefs .modal__close {
  color: var(--navy-deep);
  border-color: var(--border);
}
.cookie-cat {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1rem;
  margin-bottom: 0.6rem;
}
.cookie-cat__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-weight: 700;
  color: var(--navy-deep);
}
.cookie-cat p {
  margin: 0.5rem 0 0;
  font-size: var(--fs-small);
  color: var(--muted);
}
.switch {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--fs-small);
  font-weight: 400;
  color: var(--muted);
}
.switch input {
  width: 20px;
  height: 20px;
  accent-color: var(--navy);
}

/* --- Utilities ------------------------------------------------------------ */
.stack > * + * {
  margin-top: 1rem;
}
.center {
  text-align: center;
}
.mt-0 {
  margin-top: 0;
}
.mb-0 {
  margin-bottom: 0;
}
.text-muted {
  color: var(--muted);
}
.divider-top {
  border-top: 1px solid var(--border);
}
@media print {
  .header,
  .footer,
  .cta,
  .cookie,
  .modal {
    display: none !important;
  }
}

/* --- Terminbuchung -------------------------------------------------------- */
.bookgrid {
  display: grid;
  gap: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  align-items: start;
}
@media (min-width: 900px) {
  .bookgrid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  }
  .bookgrid__side {
    position: sticky;
    top: calc(var(--header-h, 76px) + 1rem);
  }
}

/* step indicator */
.booksteps {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  counter-reset: none;
}
.booksteps__item {
  flex: 1 1 auto;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  background: var(--bg-subtle);
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
  border: 1px solid transparent;
}
.booksteps__item.is-current {
  background: var(--navy-deep);
  color: #fff;
}
.booksteps__item.is-done {
  background: rgba(0, 155, 77, 0.12);
  color: #00713a;
  border-color: rgba(0, 155, 77, 0.35);
}

/* calendar */
.cal {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(0.75rem, 0.5rem + 1vw, 1.25rem);
  background: #fff;
}
.cal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
.cal__label {
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.cal__nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--navy-deep);
  cursor: pointer;
}
.cal__nav:hover:not(:disabled) {
  background: var(--navy-deep);
  color: #fff;
  border-color: var(--navy-deep);
}
.cal__nav:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.cal__nav svg {
  width: 18px;
  height: 18px;
}
.cal__weekdays,
.cal__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}
.cal__weekdays {
  margin-bottom: 4px;
}
.cal__weekdays span {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  padding-bottom: 0.25rem;
}
.cal__grid.is-loading {
  opacity: 0.45;
  pointer-events: none;
}
.cal__day {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  min-height: 40px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: inherit;
}
.cal__day--empty {
  border: 0;
}
.cal__day.is-blocked {
  color: #b9b9b9;
}
.cal__day.is-free {
  background: rgba(0, 155, 77, 0.1);
  border-color: rgba(0, 155, 77, 0.4);
  color: #00713a;
  cursor: pointer;
}
.cal__day.is-free:hover,
.cal__day.is-free:focus-visible {
  background: #009b4d;
  border-color: #009b4d;
  color: #fff;
}
.cal__day.is-selected {
  background: var(--navy-deep);
  border-color: var(--navy-deep);
  color: #fff;
}
.cal__hint {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0.9rem 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}
.cal__hint svg {
  width: 16px;
  height: 16px;
  color: #009b4d;
  flex: none;
}
.cal__error {
  grid-column: 1 / -1;
  margin: 0;
  padding: 1rem;
  color: var(--muted);
}

/* times */
.slotbox {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(1rem, 0.75rem + 1vw, 1.5rem);
  background: var(--bg-subtle);
}
.slotbox__title {
  margin: 0 0 0.9rem;
  font-size: 1.05rem;
  text-transform: none;
}
.slotbox__list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(84px, 1fr));
  gap: 0.5rem;
}
.slotbox__empty {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}
.slot {
  padding: 0.6rem 0.5rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: #fff;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy-deep);
  cursor: pointer;
  min-height: 44px;
}
.slot:hover,
.slot:focus-visible {
  border-color: var(--navy-deep);
  background: #fff;
}
.slot.is-selected {
  background: var(--navy-deep);
  border-color: var(--navy-deep);
  color: #fff;
}

/* details */
.bookform {
  margin-top: 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(1rem, 0.75rem + 1vw, 1.5rem);
  background: #fff;
}
.bookform__chosen {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin: 0 0 1rem;
  padding: 0.7rem 0.9rem;
  border-radius: var(--radius-sm);
  background: rgba(0, 155, 77, 0.1);
  color: #00713a;
  font-weight: 600;
}
.bookform__chosen svg {
  width: 18px;
  height: 18px;
  flex: none;
}
.bookform__note {
  margin: 0.9rem 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}
.linkbtn {
  border: 0;
  background: none;
  padding: 0;
  font: inherit;
  font-weight: 600;
  color: var(--navy);
  text-decoration: underline;
  cursor: pointer;
}

/* confirmation page */
.bigcheck {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: rgba(0, 155, 77, 0.12);
}
.bigcheck svg {
  width: 34px;
  height: 34px;
  color: #009b4d;
}
.factlist {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.4rem 1.25rem;
  max-width: 420px;
  margin: 1.5rem auto;
  text-align: left;
}
.factlist dt {
  font-weight: 700;
  color: var(--muted);
}
.factlist dd {
  margin: 0;
}

/* --- "Demnaechst" marker --------------------------------------------------- */
.badge {
  display: inline-block;
  vertical-align: middle;
  margin-left: 0.4rem;
  padding: 0.15em 0.6em;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--navy-deep);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.pagehero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 1.25rem 0 0;
  padding: 0.6rem 1.1rem;
  border-radius: 999px;
  background: rgba(255, 204, 0, 0.16);
  border: 1px solid rgba(255, 204, 0, 0.5);
  color: var(--yellow);
  font-weight: 600;
}
.pagehero__badge svg {
  width: 18px;
  height: 18px;
}

/* --- Not bookable yet: visible, but clearly inactive ---------------------- */
.card--soon {
  opacity: 0.55;
  cursor: default;
  filter: grayscale(0.5);
}
.card--soon:hover {
  transform: none;
  box-shadow: none;
  border-color: var(--border);
}
.card--onDark.card--soon:hover {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
}
.card--soon .card__more,
.card__more--soon {
  color: var(--muted);
  font-style: italic;
}
.card--onDark.card--soon .card__more {
  color: rgba(255, 255, 255, 0.55);
}

.megamenu__col--soon {
  opacity: 0.5;
}
.megamenu__col--soon .megamenu__title {
  cursor: default;
  text-decoration: none;
}
.drawer__group--soon {
  opacity: 0.5;
}
.drawer__group--soon .drawer__group-title {
  cursor: default;
}

/* --- Name of what is being booked ----------------------------------------- */
.pagehead__label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.75rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: rgba(0, 155, 77, 0.12);
  border: 1px solid rgba(0, 155, 77, 0.35);
  color: #00713a;
  font-weight: 600;
}
.pagehead__label svg {
  width: 17px;
  height: 17px;
  flex: none;
}
.pagehead__label--light {
  background: var(--bg-subtle);
  border-color: var(--border);
  color: var(--navy-deep);
}

/* Short guidance under a field label. */
.field__hint {
  margin: 0 0 0.4rem;
  font-size: 0.83rem;
  line-height: 1.45;
  color: var(--muted);
}
.form--light .field__hint,
.modal .field__hint {
  color: rgba(255, 255, 255, 0.65);
}

/* --- The hero, collapsed into a bar that follows the reader ------------- */
.servicebar {
  position: sticky;
  top: var(--header-h, 76px);
  z-index: 60;
  background: var(--navy-deep);
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 6px 18px rgba(2, 27, 75, 0.22);
  /* Folded away until the hero has scrolled past. */
  transform: translateY(-110%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.28s ease, opacity 0.2s ease;
}
.servicebar.is-on {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
@media (prefers-reduced-motion: reduce) {
  .servicebar {
    transition: none;
  }
}

.servicebar__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-block: 0.55rem;
}

.servicebar__thumb {
  flex: none;
  width: 52px;
  height: 40px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.servicebar__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.servicebar__text {
  min-width: 0;
  margin-right: auto;
}
.servicebar__eyebrow {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--yellow);
  line-height: 1.2;
}
.servicebar__title {
  display: block;
  font-size: 1rem;
  line-height: 1.25;
  color: #fff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.servicebar__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: none;
}
.servicebar__phone {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
}
.servicebar__phone:hover {
  color: var(--yellow);
}
.servicebar__phone svg {
  width: 17px;
  height: 17px;
}
.servicebar__soon {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
  font-style: italic;
}
.servicebar__soon svg {
  width: 16px;
  height: 16px;
}

.btn--sm {
  padding: 0.55rem 1.1rem;
  min-height: 42px;
  font-size: 0.92rem;
}

/* Phone: keep the image and the button, drop what would not fit. */
@media (max-width: 860px) {
  .servicebar__phone { display: none; }
}
@media (max-width: 620px) {
  .servicebar__eyebrow { display: none; }
  .servicebar__thumb { width: 40px; height: 34px; }
  .servicebar__title { font-size: 0.86rem; white-space: normal; }
  .servicebar__inner { gap: 0.6rem; padding-block: 0.45rem; }
  .btn--sm { padding: 0.5rem 0.85rem; font-size: 0.85rem; }
}

/* --- Reviews -------------------------------------------------------------- */
.reviews {
  display: grid;
  gap: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  align-items: start;
}
@media (min-width: 900px) {
  .reviews {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  }
}

.stars {
  white-space: nowrap;
  letter-spacing: 0.06em;
}
.stars__on {
  color: #f5a623;
}
.stars__off {
  color: #d9dde3;
}
.stars--lg {
  font-size: 1.35rem;
}

.ratingbox {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.1rem 1.25rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 1.25rem;
}
.ratingbox__score {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.1;
  padding-right: 1.25rem;
  border-right: 1px solid var(--border);
}
.ratingbox__score strong {
  font-size: 2.1rem;
  color: var(--navy-deep);
}
.ratingbox__score span {
  font-size: 0.8rem;
  color: var(--muted);
}

.reviewlist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
}
.reviewlist__item {
  padding: 1rem 1.15rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.reviewlist__head {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-wrap: wrap;
  margin-bottom: 0.4rem;
}
.reviewlist__head time {
  margin-left: auto;
  font-size: 0.82rem;
  color: var(--muted);
}
.reviewlist__reply {
  margin-top: 0.75rem;
  padding: 0.75rem 0.9rem;
  border-left: 3px solid var(--yellow);
  background: var(--bg-subtle);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.94rem;
}
.reviews__empty {
  padding: 1.25rem;
  background: var(--white);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  color: var(--muted);
}

.googlebox {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-top: 1.25rem;
  padding: 0.9rem 1.15rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--text);
}
.googlebox:hover {
  border-color: var(--navy);
}
.googlebox__text {
  display: flex;
  flex-direction: column;
}
.googlebox__text strong {
  color: var(--navy-deep);
}
.googlebox__text span {
  font-size: 0.88rem;
  color: var(--muted);
}
.googlebox svg {
  margin-left: auto;
  flex: none;
  color: var(--navy);
}

.reviewform {
  padding: clamp(1rem, 0.75rem + 1vw, 1.5rem);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.reviewform h3 {
  margin-top: 0;
}
.reviewform__note {
  font-size: 0.86rem;
  color: var(--muted);
}

.starpick {
  border: 0;
  padding: 0;
  margin: 0 0 1rem;
}
.starpick__row {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
}
.starpick__item input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.starpick__item span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  min-height: 44px;
  padding: 0 0.6rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
}
.starpick__item input:checked + span {
  background: var(--navy-deep);
  border-color: var(--navy-deep);
  color: #f5a623;
}
.starpick__item input:focus-visible + span {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
}

/* --- Photos of the work, shown above the text ---------------------------- */
.section--tight {
  padding-block: clamp(1.75rem, 1.25rem + 2vw, 3rem);
}

.shots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: clamp(0.6rem, 0.4rem + 0.8vw, 1rem);
}
.shot {
  position: relative;
  display: block;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-subtle);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
}
.shot img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.35s ease;
}
a.shot:hover img {
  transform: scale(1.04);
}
.shot__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.6rem 0.85rem 0.6rem;
  background: linear-gradient(to top, rgba(2, 27, 75, 0.88), rgba(2, 27, 75, 0));
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.25;
}

/* First picture leads on a wide screen; the rest follow smaller. */
@media (min-width: 900px) {
  .shots {
    grid-template-columns: repeat(3, 1fr);
  }
  .shots .shot:first-child {
    grid-column: span 2;
    grid-row: span 2;
  }
  .shots .shot:first-child img {
    aspect-ratio: 16 / 11;
    height: 100%;
  }
}

.dropzone__error {
  margin: 0.6rem 0 0;
  padding: 0.5rem 0.7rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 99, 71, 0.15);
  border: 1px solid rgba(255, 99, 71, 0.5);
  color: #ffd9d2;
  font-size: 0.83rem;
  line-height: 1.4;
}
.form--light .dropzone__error {
  background: rgba(255, 99, 71, 0.12);
  color: #a3341f;
}

/* --- Service slider -------------------------------------------------------- */
.slider-section {
  background: var(--navy-deep);
}
.slider {
  position: relative;
}
.slider__viewport {
  overflow: hidden;
  border-radius: var(--radius);
}
.slider__track {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}
@media (prefers-reduced-motion: reduce) {
  .slider__track {
    transition: none;
  }
}
.slider__slide {
  flex: 0 0 100%;
  min-width: 0;
}

.slide {
  position: relative;
  display: block;
  text-decoration: none;
  background: #0a2a63;
  isolation: isolate;
}
.slide__image {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  opacity: 0.55;
}
.slide__body {
  position: absolute;
  inset: auto 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: clamp(1.1rem, 0.8rem + 1.6vw, 2.2rem);
  background: linear-gradient(to top, rgba(2, 27, 75, 0.95), rgba(2, 27, 75, 0));
}
.slide__title {
  color: #fff;
  font-size: clamp(1.15rem, 0.95rem + 1vw, 1.8rem);
  font-weight: 700;
  line-height: 1.2;
}
.slide__text {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.88rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.slide__more {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.3rem;
  color: var(--yellow);
  font-weight: 700;
  font-size: 0.92rem;
}
.slide:hover .slide__image {
  opacity: 0.7;
}

.slider__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--navy-deep);
  cursor: pointer;
  z-index: 2;
}
.slider__nav:hover {
  background: var(--yellow);
}
.slider__nav svg {
  width: 20px;
  height: 20px;
}
.slider__nav--prev { left: 10px; }
.slider__nav--next { right: 10px; }

.slider__dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}
.slider__dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
}
.slider__dot[aria-selected="true"] {
  background: var(--yellow);
  width: 26px;
  border-radius: 999px;
}

@media (max-width: 620px) {
  .slider__nav { width: 38px; height: 38px; }
  .slide__image { aspect-ratio: 4 / 3; }
}

/* --- Soft pulse on the circular icons ------------------------------------- */
@keyframes eis-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(255, 204, 0, 0.55); }
  70%  { box-shadow: 0 0 0 14px rgba(255, 204, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 204, 0, 0); }
}
@keyframes eis-glow {
  0%, 100% { filter: none; }
  50%      { filter: drop-shadow(0 0 6px rgba(255, 204, 0, 0.75)); }
}

.process__icon,
.feature__icon {
  /* Each circle starts a little later than the one before, so the row
     flashes in sequence instead of blinking all at once. */
  animation: eis-pulse 3.2s ease-out infinite;
  animation-delay: calc(var(--pulse-step, 0) * 0.4s);
}
.process__icon svg,
.feature__icon svg {
  animation: eis-glow 3.2s ease-in-out infinite;
  animation-delay: calc(var(--pulse-step, 0) * 0.4s);
}

.process__step:hover .process__icon,
.feature:hover .feature__icon {
  animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
  .process__icon,
  .feature__icon,
  .process__icon svg,
  .feature__icon svg {
    animation: none;
  }
}
