/* ===========================================================================
   Concerto landing page.

   Every page imported from WordPress ships with an Elementor-generated
   stylesheet (post-<id>.css) that carries its body background, its container
   spacing and every colour decision, keyed off machine-generated ids such as
   .elementor-element-e4250f1. A page written by hand has no such file, which is
   why a generic Elementor container inherits no rhythm at all. This file is the
   hand-written equivalent, expressed through stable class names.

   Nothing here is a new design. Every value is read off the existing site:

   - The body background #2D4341 is the one /covara/ and /renewal-plattform/
     use (body.elementor-page-286 in post-286.css). Concerto is a sibling of
     those two, so it joins the dark family rather than the sand family the
     marketing pages use.
   - The 9px corner radius is the site's only radius: 87 occurrences across the
     generated stylesheets, no other value.
   - Adieu 400 for headings, Work Sans 600/20px for lead copy, Work Sans 400 for
     body — the kit's typography tokens (post-6.css).
   - #F1AE91 is the peach the Tesedi mark and the /covara/ closing heading use.

   Everything is scoped under .concerto so it cannot leak into the shared
   header, footer or nav overlay.
   =========================================================================== */

/* The page background. Elementor sets this per page on <body>; so do we. */
body.concerto-page {
  background-color: #2D4341;
}

.concerto {
  --c-ink: #2D4341;
  --c-ink-dark: #1E302E;
  --c-white: #FFFFFF;
  --c-peach: #F1AE91;
  --c-sand: #EFEAE6;
  --c-sand-text: #414B4A;
  --c-radius: 9px;
  --c-hairline: rgba(255, 255, 255, 0.18);
  --c-veil: rgba(255, 255, 255, 0.06);
}

/* --------------------------------------------------------------- typography */

.concerto .elementor-heading-title {
  font-family: "Adieu", Sans-serif;
  font-weight: 400;
  line-height: 1.3;
  color: var(--c-white);
  margin: 0;
  /* post-6.css sets hyphens:none and word-break:normal on every heading, so a
     long German compound ("Geschäftsmöglichkeiten") establishes a min-content
     width wider than a phone. In a grid that widens the whole track and the
     section scrolls sideways. Breaking as a last resort keeps the promise the
     kit is making — no hyphenation — without letting one word blow out the
     layout. */
  overflow-wrap: break-word;
}

/* Grid and flex children default to min-width:auto, which is what lets an
   unbreakable child push a track past the viewport. */
.concerto .c-hero > *,
.concerto .c-steps > li,
.concerto .c-panel > * {
  min-width: 0;
}

.concerto h1.elementor-heading-title,
.concerto h2.elementor-heading-title {
  font-size: 40px;
}

.concerto h3.elementor-heading-title {
  font-size: 22px;
}

.concerto .c-eyebrow {
  margin: 0 0 18px;
  font-family: "Work Sans", Sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-peach);
}

/* The lead paragraph weight /covara/ uses for its hero copy. */
.concerto .c-lead {
  margin: 0;
  font-family: "Work Sans", Sans-serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--c-white);
}

.concerto .c-body {
  margin: 0;
  font-family: "Work Sans", Sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85);
}

.concerto .c-stack > * + * {
  margin-top: 20px;
}

/* --------------------------------------------------------------------- hero */

.concerto .c-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;
  width: 100%;
}

.concerto .c-hero__media {
  margin: 0;
}

.concerto .c-hero__media img {
  display: block;
  width: 100%;
  /* The photo is portrait (604x724). Left to its natural aspect it stands about
     720px tall next to a text column less than a third of that, and the hero
     reads as half empty — more so now that the mark above the eyebrow is gone.
     A fixed height with object-fit:cover crops it to something the copy can
     balance, without touching the source image. */
  height: 480px;
  object-fit: cover;
  border-radius: var(--c-radius);
}

/* ---------------------------------------------------------------- the steps */

.concerto .c-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: c-step;
  width: 100%;
}

.concerto .c-steps > li {
  counter-increment: c-step;
  padding: 34px 30px 38px;
  background-color: var(--c-veil);
  border: 1px solid var(--c-hairline);
  border-radius: var(--c-radius);
}

.concerto .c-steps > li::before {
  content: counter(c-step, decimal-leading-zero);
  display: block;
  margin-bottom: 22px;
  font-family: "Adieu", Sans-serif;
  font-size: 32px;
  line-height: 1;
  color: var(--c-peach);
}

.concerto .c-steps h3 {
  margin: 0 0 12px;
}

/* ------------------------------------------------------------ the checklist */
/* Elementor's own icon-list markup and stylesheet, given the colours the
   generated per-page CSS would otherwise supply. */

.concerto .c-checks {
  /* Elementor's icon-list sizes its svg from this custom property, defaulting to
     1em. The generated per-page CSS normally sets it; here it is set by hand. */
  --e-icon-list-icon-size: 22px;
}

.concerto .c-checks .elementor-icon-list-items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 40px;
}

.concerto .c-checks .elementor-icon-list-item {
  align-items: flex-start;
}

.concerto .c-checks .elementor-icon-list-icon {
  padding-top: 2px;
}

.concerto .c-checks .elementor-icon-list-text {
  font-family: "Work Sans", Sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.35;
  color: var(--c-white);
}

/* --------------------------------------------------------- the Covara panel */
/* A sand card on the dark ground, the same pairing /covara/ uses for its
   image card: one light block, 9px radius, generous padding. */

.concerto .c-panel {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 44px;
  width: 100%;
  padding: 60px;
  background-color: var(--c-sand);
  border-radius: var(--c-radius);
}

/* The two calls to action close the panel across its full width, so they sit
   side by side instead of being squeezed into one column and wrapping. */
.concerto .c-panel .c-actions {
  grid-column: 1 / -1;
  margin-top: 6px;
}

.concerto .c-panel .elementor-heading-title {
  color: var(--c-ink);
}

.concerto .c-panel .c-body {
  color: var(--c-sand-text);
}

.concerto .c-panel .c-list {
  /* Aligned to the top, so the first bullet's line sits on the heading's first
     line. Centred, the list floats against nothing — there is no edge in the
     left column at its height for the eye to relate it to. */
  align-self: start;
  margin: 0;
  padding: 0;
  list-style: none;
}

.concerto .c-panel .c-list > li {
  position: relative;
  padding-left: 26px;
  font-family: "Work Sans", Sans-serif;
  font-size: 18px;
  line-height: 1.4;
  color: var(--c-ink);
}

.concerto .c-panel .c-list > li + li {
  margin-top: 14px;
}

.concerto .c-panel .c-list > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--c-peach);
}

/* ------------------------------------------------------------------ buttons */

.concerto .c-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 34px;
}

.concerto .c-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 28px;
  font-family: "Work Sans", Sans-serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: var(--c-radius);
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.concerto .c-btn--primary {
  background-color: var(--c-ink);
  color: var(--c-white);
}

.concerto .c-btn--primary:hover {
  background-color: var(--c-ink-dark);
}

.concerto .c-btn--secondary {
  background-color: transparent;
  color: var(--c-ink);
  border-color: rgba(45, 67, 65, 0.35);
}

.concerto .c-btn--secondary:hover {
  background-color: rgba(45, 67, 65, 0.06);
  border-color: var(--c-ink);
}

.concerto .c-btn:focus-visible {
  outline: 3px solid var(--c-peach);
  outline-offset: 3px;
}

/* ------------------------------------------------------------ closing band */

.concerto .c-close {
  width: 100%;
  text-align: center;
}

.concerto .c-close .elementor-heading-title {
  max-width: 720px;
  margin-inline: auto;
  color: var(--c-peach);
}

.concerto .c-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
  margin-top: 30px;
}

.concerto .c-link {
  font-family: "Work Sans", Sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--c-white);
  text-decoration: underline;
}

.concerto .c-link:hover {
  text-decoration: none;
}

/* --------------------------------------------------------------- responsive */
/* The site's own breakpoints: 1024 for tablet, 767 for mobile. */

@media (max-width: 1024px) {
  .concerto .c-steps {
    grid-template-columns: 1fr;
  }

  .concerto .c-panel {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 44px;
  }

  .concerto .c-hero__media img {
    height: 400px;
  }
}

@media (max-width: 767px) {
  .concerto h1.elementor-heading-title,
  .concerto h2.elementor-heading-title {
    font-size: 36px;
  }

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

  .concerto .c-hero__media img {
    height: 300px;
  }

  .concerto .c-checks .elementor-icon-list-items {
    grid-template-columns: 1fr;
  }

  .concerto .c-panel {
    padding: 32px 24px;
  }

  .concerto .c-btn {
    width: 100%;
  }
}
