/*
 * Shared base styles: variables, element defaults and rendered Markdown.
 * A site rebrands by overriding the custom properties in its own stylesheet.
 * Page layout is not set here; see column-layout.css for a ready-made one.
 */
:root {
  --color-bg: #ffffff;
  --color-text: #1c1c1c;
  --color-muted: #666666;
  --color-accent: #0b5fff;
  --color-border: #e2e2e2;
  --color-code-bg: #f4f4f4;
  --font-body: system-ui, sans-serif;
  --font-mono: ui-monospace, monospace;
  --font-heading: var(--font-body);
  --space: 1rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  line-height: 1.6;
}

h1,
h2,
h3 {
  font-family: var(--font-heading);
  line-height: 1.2;
}

a {
  color: var(--color-accent);
}

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

/* Rendered Markdown */
.prose code,
.prose kbd {
  padding: 0.1em 0.3em;
  border-radius: 0.25rem;
  background: var(--color-code-bg);
  font-family: var(--font-mono);
  font-size: 0.9em;
}

.prose kbd {
  border: 1px solid var(--color-border);
}

.prose pre {
  padding: var(--space);
  overflow-x: auto;
  border-radius: 0.5rem;
  background: var(--color-code-bg);
}

.prose pre code {
  padding: 0;
  background: none;
}

.prose blockquote {
  margin-inline: 0;
  padding-inline-start: var(--space);
  border-inline-start: 0.25rem solid var(--color-border);
  color: var(--color-muted);
}

.prose table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
}

.prose th,
.prose td {
  padding: 0.4em 0.8em;
  border: 1px solid var(--color-border);
}

.prose th {
  background: var(--color-code-bg);
}

.prose hr {
  border: 0;
  border-top: 1px solid var(--color-border);
}

/* Task lists */
.prose li:has(> input[type='checkbox']) {
  list-style: none;
  margin-inline-start: -1.25em;
}

/* Fonts and branding for Hirschberg Umzüge. Fonts are served from this site, not from a font CDN. */
@font-face {
  font-family: 'Open Sans';
  src: url('/fonts/open-sans.woff2') format('woff2');
  font-weight: 300 800;
  font-display: swap;
}

@font-face {
  font-family: 'Poppins';
  src: url('/fonts/poppins-600.woff2') format('woff2');
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: 'Poppins';
  src: url('/fonts/poppins-700.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}

:root {
  --color-brand: #132378;
  --color-brand-light: #1b55ab;
  --color-highlight: #ffe600;
  --color-text: #444444;
  --color-heading: #1d2333;
  --color-muted: #5f6675;
  --color-accent: var(--color-brand);
  --color-border: #d9e1ef;
  --color-tint: #f6f9fe;
  --color-tint-strong: #e7f1fd;
  --color-code-bg: var(--color-tint);
  --font-body: 'Open Sans', system-ui, sans-serif;
  --font-heading: 'Poppins', 'Open Sans', system-ui, sans-serif;
  --page-width: 72rem;
  --content-width: 48rem;
  --radius: 0.5rem;
  --shadow: 0 0.25rem 1.5rem rgb(19 35 120 / 0.08);
}

/* Page frame: top bar, header, sections, footer. */
html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* Keeps a section's heading clear of the sticky header when jumping to it. */
[id] {
  scroll-margin-top: 6rem;
}

h1,
h2,
h3 {
  color: var(--color-heading);
}

a:hover {
  color: var(--color-brand-light);
}

:focus-visible {
  outline: 3px solid var(--color-brand-light);
  outline-offset: 2px;
}

address {
  font-style: normal;
}

/* Phone numbers stay on one line. */
a[href^='tel:'] {
  white-space: nowrap;
}

.container {
  max-width: var(--page-width);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.container-narrow {
  max-width: var(--content-width);
}

.centered {
  text-align: center;
}

.icon {
  width: 1em;
  height: 1em;
  flex: none;
  vertical-align: -0.125em;
}

.skip-link {
  position: absolute;
  left: 0.5rem;
  top: -4rem;
  z-index: 20;
  padding: 0.5rem 1rem;
  background: #ffffff;
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 0.5rem;
}

/* Top bar */
.topbar {
  background: var(--color-brand);
  color: #ffffff;
  font-size: 0.875rem;
  border-bottom: 1px solid rgb(255 255 255 / 0.15);
}

.topbar-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 0.25rem 1.5rem;
  min-height: 2.5rem;
}

.topbar a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #ffffff;
  text-decoration: none;
}

.topbar a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.topbar-social {
  display: none;
  gap: 1rem;
}

/* Header */
.masthead {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--color-brand);
  box-shadow: 0 2px 15px rgb(0 0 0 / 0.1);
}

.masthead-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.5rem;
}

.logo img {
  display: block;
  width: auto;
  height: 2.75rem;
}

.main-nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-nav a {
  display: block;
  padding: 0.75rem 0.25rem;
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
}

.main-nav a:hover {
  color: var(--color-highlight);
}

/* Small screens: the checkbox toggles the menu. */
.nav-toggle {
  position: absolute;
  opacity: 0;
  width: 2.75rem;
  height: 2.75rem;
  margin: 0;
  cursor: pointer;
}

.nav-toggle-button {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  color: #ffffff;
  font-size: 1.75rem;
  border-radius: var(--radius);
  cursor: pointer;
}

.nav-toggle:focus-visible + .nav-toggle-button {
  outline: 3px solid #ffffff;
}

.main-nav ul {
  display: none;
  position: absolute;
  inset-inline: 0;
  top: 100%;
  padding: 0.5rem 1.25rem 1rem;
  background: var(--color-brand);
  box-shadow: 0 0.75rem 1rem rgb(0 0 0 / 0.15);
}

.nav-toggle:checked ~ ul {
  display: block;
}

@media (min-width: 62rem) {
  .topbar-social {
    display: inline-flex;
  }

  .nav-toggle,
  .nav-toggle-button {
    display: none;
  }

  .main-nav ul {
    display: flex;
    position: static;
    gap: 1.5rem;
    padding: 0;
    box-shadow: none;
  }

  .logo img {
    height: 3.25rem;
  }
}

/* Sections */
.section {
  padding-block: 3.75rem;
}

.section-tinted {
  background: var(--color-tint);
}

.section-title {
  margin-bottom: 2.5rem;
  text-align: center;
}

.section-label {
  display: inline-block;
  margin: 0;
  padding: 0.4rem 1.25rem;
  border-radius: 3rem;
  background: var(--color-tint-strong);
  color: var(--color-brand);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.section-title h2 {
  margin: 1rem 0 0;
  font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2rem);
}

.section-title h2 span,
.page-title {
  color: var(--color-brand);
}

.page-title {
  margin: 0 0 1.5rem;
  font-size: clamp(1.75rem, 1.2rem + 2.6vw, 3rem);
  text-align: center;
}

/* Hero */
.hero {
  background: linear-gradient(160deg, var(--color-brand) 0%, var(--color-brand-light) 100%);
  color: #ffffff;
}

.hero-inner {
  display: grid;
  gap: 2rem;
  align-items: center;
  padding-block: 3rem;
}

.hero h1 {
  margin: 0 0 1rem;
  color: #ffffff;
  font-size: clamp(1.75rem, 1.1rem + 3vw, 3rem);
}

.hero h1 span {
  color: var(--color-highlight);
}

.hero .lead {
  margin: 0 0 1.75rem;
  font-size: 1.125rem;
  color: rgb(255 255 255 / 0.9);
}

.hero img {
  display: block;
  width: 100%;
  max-width: 34rem;
  margin-inline: auto;
}

.hero .hero-icon {
  max-width: 16rem;
  border-radius: 50%;
  background: #ffffff;
}

@media (min-width: 48rem) {
  .hero-inner {
    grid-template-columns: 1fr 1fr;
    padding-block: 4rem;
  }
}

/* Footer */
.page-footer {
  background: #f1f6fe;
  color: var(--color-text);
  font-size: 0.875rem;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  gap: 2rem;
  padding-block: 2.5rem 1.5rem;
}

.page-footer h2 {
  margin: 0 0 0.75rem;
  font-size: 1.125rem;
}

.footer-links,
.footer-bottom ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a {
  display: inline-block;
  padding-block: 0.3rem;
  color: var(--color-muted);
  text-decoration: none;
}

.footer-links a:hover,
.footer-bottom a:hover {
  color: var(--color-brand);
  text-decoration: underline;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social a {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--color-brand);
  color: #ffffff;
  font-size: 1.125rem;
}

.footer-social a:hover {
  background: var(--color-brand-light);
  color: #ffffff;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  padding-block: 1.25rem;
  border-top: 1px solid var(--color-border);
}

.footer-bottom ul {
  display: flex;
  gap: 1.25rem;
}

.footer-bottom a {
  color: var(--color-muted);
  text-decoration: none;
}

/* Building blocks used inside sections. */

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.6rem;
  border: 2px solid var(--color-brand);
  border-radius: var(--radius);
  background: var(--color-brand);
  color: #ffffff;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color 0.2s,
    border-color 0.2s;
}

.button:hover {
  border-color: var(--color-brand-light);
  background: var(--color-brand-light);
  color: #ffffff;
}

.button-outline {
  background: transparent;
  color: var(--color-brand);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 0;
}

.hero .button {
  border-color: var(--color-highlight);
  background: var(--color-highlight);
  color: var(--color-brand);
}

.hero .button:hover {
  border-color: #ffffff;
  background: #ffffff;
  color: var(--color-brand);
}

.hero .button-outline {
  border-color: #ffffff;
  background: transparent;
  color: #ffffff;
}

.hero :focus-visible {
  outline-color: #ffffff;
}

.arrow-link {
  font-weight: 600;
}

.arrow-link .icon {
  margin-inline-start: 0.25rem;
}

/* Card grids: services and benefits */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service,
.benefit {
  padding: 1.75rem 1.5rem;
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow);
  text-align: center;
}

.service video {
  width: 7.5rem;
  height: auto;
  margin-bottom: 0.75rem;
}

.service h3,
.benefit h3 {
  margin: 0 0 0.75rem;
  font-size: 1.25rem;
}

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

.service li li + li {
  margin-top: 0.5rem;
}

.benefit .icon {
  font-size: 2.75rem;
  color: var(--color-brand);
  margin-bottom: 0.75rem;
}

.benefit h3 {
  color: var(--color-brand);
  font-size: 1.0625rem;
}

.benefit p {
  margin: 0;
}

/* Numbered steps */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
  text-align: center;
}

.steps li {
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 4.5rem;
  height: 4.5rem;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: var(--color-brand);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
}

.steps h3 {
  margin: 0 0 0.5rem;
}

.steps p {
  margin: 0;
}

/* Contact */
.info-boxes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 1.5rem;
  margin: 0 0 2rem;
  padding: 0;
  list-style: none;
  text-align: center;
}

.info-boxes li {
  padding: 1.5rem 1rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.info-boxes .icon {
  box-sizing: content-box;
  padding: 0.6rem;
  border: 2px dotted #b3d1fa;
  border-radius: 50%;
  color: var(--color-brand);
  font-size: 1.75rem;
}

.info-boxes h3 {
  margin: 0.75rem 0 0.25rem;
  font-size: 1.125rem;
}

.contact-options {
  display: grid;
  gap: 1.5rem;
  align-items: start;
}

@media (min-width: 56rem) {
  .contact-options {
    grid-template-columns: 1fr 1fr;
  }
}

.panel {
  padding: 1.75rem 1.5rem;
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow);
}

.panel-accent {
  background: var(--color-tint);
  box-shadow: none;
  border: 1px solid var(--color-border);
}

.panel > :first-child,
.contact-options > div > :first-child {
  margin-top: 0;
}

.map {
  display: block;
  width: 100%;
  height: 20rem;
  margin-top: 1rem;
  border: 0;
  border-radius: var(--radius);
}

.panel h3:not(:first-child) {
  margin-top: 2rem;
}

.container-narrow > .panel {
  margin-top: 2.5rem;
}

/* Forms */
.form {
  display: grid;
  gap: 1rem;
}

.field-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
  gap: 1rem;
}

.field label {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-heading);
}

.field input,
.field textarea {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border: 1px solid #b9c3d6;
  border-radius: 0.375rem;
  background: #ffffff;
  color: var(--color-heading);
  font: inherit;
}

.field textarea {
  resize: vertical;
}

.field input:focus-visible,
.field textarea:focus-visible {
  border-color: var(--color-brand-light);
  outline-offset: 0;
}

.field input[type='file'] {
  padding: 0.5rem;
  border-style: dashed;
  background: var(--color-tint);
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.9375rem;
}

.consent input {
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.2rem;
  flex: none;
}

.form .button {
  justify-self: start;
}

/* Google reviews, added by /js/reviews.js */
/* Knopf und Hinweis vor der Einwilligung, siehe reviews.js */
.reviews-consent {
  display: grid;
  justify-items: center;
  gap: 0.75rem;
  margin-top: 2.5rem;
  text-align: center;
}

.reviews-consent-note {
  max-width: 34rem;
  margin: 0;
  color: var(--color-muted);
  font-size: 0.875rem;
}

.rating {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 0.25rem 0.75rem;
  margin-top: 2.5rem;
}

.rating-value {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--color-heading);
}

.review-stars {
  margin: 0;
  color: #f5b301;
  font-size: 1.25rem;
  letter-spacing: 0.1em;
}

.rating .review-stars {
  font-size: 1.75rem;
}

.rating-count,
.review-time {
  color: var(--color-muted);
  font-size: 0.875rem;
}

.reviews {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1.5rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.review {
  padding: 1.5rem;
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow);
  text-align: center;
}

.review img {
  border-radius: 50%;
}

.review-author {
  margin: 0.5rem 0 0.25rem;
  font-size: 1.0625rem;
}

.review-text {
  margin: 0.75rem 0;
  font-style: italic;
  /* Long reviews are cut off after eight lines. */
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 8;
  line-clamp: 8;
  overflow: hidden;
}

.review-time {
  margin: 0;
}

/* Company film */
.film {
  display: block;
  width: 100%;
  max-width: 56rem;
  height: auto;
  margin: 2.5rem auto 0;
  border-radius: var(--radius);
  background: #000000;
}

/* Call to action band */
.cta {
  text-align: center;
}

.cta h2 {
  margin: 0 0 0.5rem;
}

.cta .button-row {
  justify-content: center;
  margin-top: 1.5rem;
}

/* Job facts */
.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
  gap: 1rem;
  margin: 0 0 2rem;
  padding: 0;
  list-style: none;
  text-align: center;
  font-weight: 600;
  color: var(--color-heading);
}

.facts .icon {
  display: block;
  margin: 0 auto 0.4rem;
  color: var(--color-brand);
  font-size: 1.6rem;
}

/* Photo strip that scrolls sideways */
.gallery {
  display: flex;
  gap: 1rem;
  margin: 0;
  padding: 0 0 1rem;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
}

.gallery li {
  flex: none;
  scroll-snap-align: center;
}

.gallery img {
  display: block;
  width: auto;
  height: min(26rem, 70vh);
  max-width: 85vw;
  object-fit: cover;
  border-radius: var(--radius);
}

/* Long text pages */
.prose h2 {
  margin-top: 2.25rem;
  font-size: 1.3rem;
}

.prose {
  overflow-wrap: break-word;
}

/*
 * Styles for the home page and the two drafts that were not chosen
 * (/entwurf-b.html, /entwurf-c.html), plus their shared sticky contact bar.
 * Scoped to classes these pages use, so nothing here changes how any other
 * page looks. Since 21.10.2026 the home page is the former Entwurf A, so
 * .hero-photo below is live styling, not draft styling.
 */

/* Shared: sticky phone + "Angebot anfordern" bar. */
.sticky-contact {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 15;
  display: grid;
  grid-template-columns: 1fr 1fr;
  box-shadow: 0 -0.25rem 1rem rgb(0 0 0 / 0.15);
}

.sticky-contact a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 0.5rem;
  padding-bottom: calc(0.85rem + env(safe-area-inset-bottom, 0px));
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}

.sticky-contact-call {
  background: var(--color-brand);
  color: #ffffff;
}

.sticky-contact-call:hover {
  background: var(--color-brand-light);
  color: #ffffff;
}

.sticky-contact-cta {
  background: var(--color-highlight);
  color: var(--color-brand);
}

.sticky-contact-cta:hover {
  background: #ffffff;
  color: var(--color-brand);
}

/* Leaves room so the footer is never hidden behind the sticky bar. */
body:has(.sticky-contact) .page-footer {
  padding-bottom: 4.5rem;
}

@media (min-width: 48rem) {
  .sticky-contact {
    inset-inline: auto 1.5rem;
    bottom: 1.5rem;
    width: auto;
    border-radius: var(--radius);
    overflow: hidden;
  }

  .sticky-contact a {
    padding-inline: 1.5rem;
    padding-bottom: 0.85rem;
  }

  body:has(.sticky-contact) .page-footer {
    padding-bottom: 0;
  }
}

/*
 * Shared: the header floats over the hero on the home page and the two
 * remaining drafts. Matched by the hero's own wrapper class, so every
 * subpage keeps the normal sticky header untouched. These heroes carry the
 * matching top padding, so nothing starts underneath the bar.
 *
 * The bar keeps its solid brand background throughout. That is the point:
 * a fixed bar always lies over whatever scrolls underneath it, so a
 * see-through one lets the page's own text run through it.
 *
 * Removed here on 20.10.2026: a version that started the bar transparent
 * over the hero and faded it solid once the hero had scrolled past, built
 * on CSS scroll-driven animations. It never worked. The animation points
 * at a timeline named on the hero, but a view-timeline name only reaches
 * the naming element's own descendants and its later siblings, and the
 * header is rendered BEFORE the hero. The name never resolved, the
 * animation never ran, and the bar stayed transparent in every browser,
 * which is exactly the reported fault. `timeline-scope` on the body would
 * lift the name high enough, but scroll-driven animations are too new to
 * verify reliably, and the effect is decoration on a page a customer
 * looks at. Solid and boring beats clever and broken.
 */
body:has(.hero-photo) .topbar,
body:has(.hero-trust) .topbar,
body:has(.hero-direct) .topbar,
body:has(.hero-photo) .masthead,
body:has(.hero-trust) .masthead,
body:has(.hero-direct) .masthead {
  position: fixed;
  inset-inline: 0;
}

body:has(.hero-photo) .topbar,
body:has(.hero-trust) .topbar,
body:has(.hero-direct) .topbar {
  top: 0;
  z-index: 21;
}

body:has(.hero-photo) .masthead,
body:has(.hero-trust) .masthead,
body:has(.hero-direct) .masthead {
  top: 2.5rem;
  z-index: 20;
}

/*
 * .main-nav ul keeps its own dark background from layout.css at desktop
 * width (it is only reset to transparent there for the mobile dropdown
 * panel, not for the inline row), which otherwise floats as a separate
 * dark block behind the links once the bars around it turn transparent.
 */
@media (min-width: 62rem) {
  body:has(.hero-photo) .main-nav ul,
  body:has(.hero-trust) .main-nav ul,
  body:has(.hero-direct) .main-nav ul {
    background: transparent;
  }
}

/*
 * Aufmacher der Startseite. Auf Wunsch des Kunden wieder
 * zweispaltig wie auf der alten Live-Seite: Text links, die freigestellten
 * LKWs vor der Hamburger Silhouette rechts, heller Grund. Das Bild ist
 * freigestellt und fast quadratisch, als Hintergrundfoto taugt es nicht.
 *
 * Text und Bild stehen im normalen Fluss, nichts ist absolut positioniert.
 * Der obere Innenabstand hält den Text frei vom festen Kopfbereich, egal wie
 * viele Zeilen die Überschrift braucht. Vor dem 21.10. war die Textkarte am
 * unteren Bildrand verankert und wuchs bei langer Überschrift unter den
 * Kopfbereich, das kann hier nicht mehr passieren.
 */
.hero-photo {
  padding: 9rem 1.25rem 4.5rem;
  background: var(--color-tint);
}

/* Gleiche Inhaltsbreite wie .container, damit der Text mit den Abschnitten darunter fluchtet. */
.hero-split {
  display: grid;
  gap: 2.5rem;
  align-items: center;
  max-width: calc(var(--page-width) - 2.5rem);
  margin-inline: auto;
}

.hero-split img {
  display: block;
  width: 100%;
  max-width: 34rem;
  height: auto;
  margin-inline: auto;
}

.hero-card h1 {
  margin: 0 0 1.25rem;
  font-size: clamp(2rem, 1.3rem + 3.2vw, 3.25rem);
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.hero-card h1 span {
  color: var(--color-brand);
}

.hero-card .lead {
  margin: 0 0 1.75rem;
  font-size: 1.125rem;
  color: var(--color-text);
}

@media (min-width: 56rem) {
  .hero-photo {
    padding: 10rem 1.25rem 5rem;
  }

  .hero-split {
    grid-template-columns: 1.1fr 1fr;
    gap: 4rem;
  }
}

.section-airy {
  padding-block: 5.5rem;
}

.card-roomy {
  padding: 2.5rem 2rem;
}

/*
 * Entwurf A only, a step beyond .section-airy/.card-roomy: white stays the
 * base surface (lever 1), sections are told apart by space, not colour
 * fields, and there is room for the bigger photos and type (lever 3).
 * B and C keep .section-airy/.card-roomy at their current size.
 */
.section-spacious {
  padding-block: 7.5rem;
}

@media (min-width: 48rem) {
  .section-spacious {
    padding-block: 9rem;
  }
}

/*
 * Bigger heading/body type for the sections below the hero that otherwise
 * only inherit the site-wide sizes: the trust row and reviews already get
 * their own rules below, this covers SectionTitle and the Ablauf steps,
 * scoped to this page by the .hero-photo it alone has, since #services,
 * #procedure and #contact are ids every home variant reuses.
 */
body:has(.hero-photo) .section-title h2 {
  font-size: clamp(1.875rem, 1.3rem + 2vw, 2.75rem);
}

body:has(.hero-photo) .steps h3 {
  font-size: 1.375rem;
}

body:has(.hero-photo) .steps p {
  font-size: 1.0625rem;
}

/* Calm band of four facts, directly under the hero: text, not cards. */
.trust-band {
  padding-block: 3rem;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1rem 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: center;
}

.trust-row li {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--color-heading);
}

.trust-row .icon {
  color: var(--color-brand);
  font-size: 1.25rem;
}

@media (min-width: 48rem) {
  .trust-row {
    gap: 1rem 2.5rem;
  }

  .trust-row li + li {
    padding-inline-start: 2.5rem;
    border-inline-start: 1px solid var(--color-border);
  }
}

/*
 * Reviews, directly under the trust band: the rating is the proof, so it
 * leads, large; the individual reviews follow (both come from /js/reviews.js
 * in that order already); the link to the Google profile is last and
 * small, just a citation. No heading: a two-line question pushed
 * everything down and the rating speaks for itself. Padding-top is small
 * on purpose, to sit close under the trust band instead of leaving a gap.
 */
.reviews-band {
  padding-block: 2.5rem 6rem;
}

@media (min-width: 48rem) {
  .reviews-band {
    padding-block: 3rem 7rem;
  }
}

body:has(.hero-photo) .rating,
body:has(.hero-photo) .reviews-consent {
  margin-top: 0;
}

body:has(.hero-photo) .rating-value {
  font-size: clamp(2.5rem, 1.8rem + 2.4vw, 3.5rem);
}

body:has(.hero-photo) .rating .review-stars {
  font-size: 2.25rem;
}

body:has(.hero-photo) .rating-count {
  font-size: 1.0625rem;
}

.reviews-link {
  margin: 2.5rem 0 0;
  font-size: 0.9375rem;
}

.reviews-link a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  color: var(--color-brand);
  text-decoration: none;
}

.reviews-link a:hover {
  color: var(--color-brand-light);
}

.reviews-link .icon {
  font-size: 0.85em;
}

/*
 * Equal-height service cards: 1fr implicit rows make every row as tall as
 * its tallest card, and since .card-grid-even only has one effective row
 * height target across all of them once they share the grid, all six end
 * up the same height regardless of how much text each one has.
 */
.card-grid-even {
  grid-auto-rows: 1fr;
}

.card-grid-even > li {
  display: flex;
  flex-direction: column;
}

/*
 * The card centres its text with text-align, which has no hold on the
 * pictogram: making the card a flex column turns the video from an inline
 * element into a flex item, and a flex item ignores text-align and sits at
 * the start of the cross axis. The result was a pictogram flush left above
 * centred text, which is what Thomas reported on 20.10.2026. align-self
 * puts it back over the middle of the text. Only this page needs it: the
 * other cards are not flex containers, so their video still centres on its
 * own.
 *
 * Am 23.10.2026 bewusst auf linksbündig umgestellt: die Karten sind jetzt
 * insgesamt linksbündig (siehe „Abstand zum Bestand“ unten), das Piktogramm
 * steht damit über dem Anfang des Textes statt allein am Rand.
 */
.card-grid-even > li > video {
  align-self: flex-start;
}

/*
 * Roomier leistungskarten: more padding and a bigger heading than the
 * shared .service/.card-roomy give elsewhere, video left at its normal
 * icon size (the symbols, not photos: those lost their shape at card
 * size and were reverted).
 */
.service-roomy {
  padding: 2.75rem 2.25rem 2.5rem;
}

.service-roomy h3 {
  margin: 0.25rem 0 1rem;
  font-size: 1.375rem;
  letter-spacing: -0.01em;
}

.service-roomy ul {
  display: grid;
  gap: 0.6rem;
}

/*
 * The one permitted stripe of blue outside the header and footer: the
 * closing call to action. Mirrors the colours .hero already uses for its
 * button and outline button, on the shared .cta section.
 */
.cta-band {
  background: var(--color-brand);
  color: #ffffff;
}

/* Kontaktabschnitt der Startseite mit Formular: zweispaltig, daher linksbündig statt zentriert. */
.cta-band .contact-options {
  text-align: left;
}

.cta-band .contact-options .section-title {
  text-align: left;
}

.cta-band .contact-options .button-row {
  justify-content: flex-start;
}

/* Das helle Formularfeld darf die weiße Schrift des Streifens nicht erben. */
.cta-band .panel {
  color: var(--color-text);
}

/* Auch der Kontaktkasten der Unterseiten (ContactCta), dort steht die h2 ohne SectionTitle. */
.cta-band .section-title h2,
.cta-band h2 {
  color: #ffffff;
}

.cta-band .section-title h2 span {
  color: var(--color-highlight);
}

.cta-band .section-label {
  background: rgb(255 255 255 / 0.15);
  color: #ffffff;
}

.cta-band .button {
  border-color: var(--color-highlight);
  background: var(--color-highlight);
  color: var(--color-brand);
}

.cta-band .button:hover {
  border-color: #ffffff;
  background: #ffffff;
  color: var(--color-brand);
}

.cta-band .button-outline {
  border-color: #ffffff;
  background: transparent;
  color: #ffffff;
}

.cta-band .button-outline:hover {
  background: rgb(255 255 255 / 0.12);
  color: #ffffff;
}

/*
 * Abstand zum Bestand (23.10.2026). Thomas Heisterhagen in HIR-8: die
 * Entwürfe seien zu dicht am alten Design. Unterhalb des Aufmachers war die
 * Seite fast dieselbe BizLand-Vorlage wie hamburger-umzug.de: Pillen-Etikett
 * über zentrierter Frage, weiße Schattenkacheln mit Symbol oben mittig,
 * drei zentrierte Ziffernspalten. Struktur, Texte und Farben bleiben, nur
 * die Gestaltung ändert sich: linksbündig mit klarer Kante, flache Felder
 * statt Kacheln, Gelb als Markierung statt nur auf Knöpfen.
 *
 * Seit dem 23.10.2026 für alle Seiten gültig, nicht mehr nur für die
 * Startseite, sonst sahen die Unterseiten weiter nach dem alten Design aus.
 * Was nur die Startseite hat (Vertrauensband, Leistungskarten), bleibt über
 * .hero-photo auf sie begrenzt. Aufrufabschnitte (.cta) bleiben zentriert.
 */

/* Überschriften: Etikett mit gelbem Strich statt Pille, Titel linksbündig und größer. */
.section:not(.cta) .section-title {
  margin-bottom: 3.5rem;
  text-align: left;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0;
  border-radius: 0;
  background: none;
  color: var(--color-brand);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

.section-label::before {
  content: '';
  width: 2.5rem;
  height: 0.25rem;
  background: var(--color-highlight);
}

.section-title h2 {
  margin-top: 0.75rem;
  text-wrap: balance;
  font-size: clamp(2.125rem, 1.4rem + 2.8vw, 3.375rem);
  letter-spacing: -0.02em;
  line-height: 1.12;
}

.cta-band .section-label {
  background: none;
  color: #ffffff;
}

/* Seitentitel der Unterseiten: linksbündig wie die Abschnittsüberschriften. */
.page-title {
  text-align: left;
  text-wrap: balance;
}

/*
 * Formular- und Inhaltsfelder der Unterseiten in derselben Kartenoptik wie
 * die Leistungen: kein Schatten, keine Rundung, blaue Linie oben.
 */
.panel,
.benefit {
  border-radius: 0;
  border-top: 3px solid var(--color-brand);
  box-shadow: none;
}

.benefit {
  padding-inline: 0;
  text-align: left;
}

/* Ohne Schatten ist das weiße Panel unsichtbar, sein Inhalt fluchtet mit der Linie. Das getönte behält seinen Rand. */
.panel:not(.panel-accent) {
  padding-inline: 0;
}

/* Eckdaten der Stellenanzeige linksbündig unter dem linksbündigen Seitentitel. */
.facts {
  text-align: left;
}

.facts .icon {
  margin-inline: 0;
}

/* Imagefilm auf der Startseite: an der linken Kante wie die Überschrift, nicht mittig. */
.film-band .film {
  margin: 0;
}

/* Vertrauensband auf der linken Kante, wie Aufmacherkarte und Überschriften. */
body:has(.hero-photo) .trust-row {
  justify-content: flex-start;
  text-align: left;
}

/* Leistungen: flache Felder mit blauer Linie oben statt weißer Schattenkacheln. */
/*
 * Ohne Kartenkasten braucht es keine gleich hohen Karten mehr, die obere
 * Linie fluchtet über das Raster ohnehin. In einer Spalte hätte 1fr jedes
 * Feld auf die Höhe des längsten gestreckt und große Lücken gelassen.
 */
body:has(.hero-photo) .card-grid-even {
  grid-auto-rows: auto;
  gap: 3.5rem 3rem;
}

body:has(.hero-photo) .service-roomy {
  padding: 1.75rem 0 0;
  border-top: 3px solid var(--color-brand);
  border-radius: 0;
  box-shadow: none;
  text-align: left;
}

body:has(.hero-photo) .service-roomy video {
  width: 4.5rem;
  margin-bottom: 1rem;
}

body:has(.hero-photo) .service-roomy h3 {
  margin-top: 0;
}

/*
 * Ablauf als Zeitleiste: gelbe Nummernmarken an einer durchgehenden Linie.
 * Auf dem Telefon senkrecht neben den Schritten, ab 48rem waagerecht über
 * drei festen Spalten, damit die Linie nie durch einen Umbruch läuft.
 */
.steps {
  position: relative;
  gap: 2.5rem;
  text-align: left;
}

.steps::before {
  content: '';
  position: absolute;
  top: 1.75rem;
  bottom: 1.75rem;
  left: calc(1.75rem - 1px);
  width: 2px;
  background: var(--color-brand);
}

.steps li {
  position: relative;
  padding-left: 5rem;
}

.steps li::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 3.5rem;
  height: 3.5rem;
  margin: 0;
  background: var(--color-highlight);
  color: var(--color-brand);
  font-size: 1.5rem;
}

.steps h3 {
  padding-top: 0.75rem;
}

@media (min-width: 48rem) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
  }

  .steps::before {
    top: calc(1.75rem - 1px);
    bottom: auto;
    left: 1.75rem;
    right: 0;
    width: auto;
    height: 2px;
  }

  .steps li {
    padding-left: 0;
  }

  .steps li::before {
    position: static;
    margin-bottom: 1.5rem;
  }

  .steps h3 {
    padding-top: 0;
  }
}

/* Variant B: Vertrauen zuerst. Reuses .hero (navy) with a different photo and copy. */
.hero-trust {
  position: relative;
}

.hero-trust .hero-inner {
  padding-top: 7.5rem;
  padding-bottom: 3rem;
}

@media (min-width: 48rem) {
  .hero-trust .hero-inner {
    padding-top: 8.5rem;
    padding-bottom: 3.5rem;
  }
}

.hero-trust h1 {
  font-size: clamp(2rem, 1.3rem + 3.2vw, 3.5rem);
  letter-spacing: -0.02em;
}

.reviews-compact {
  padding-block: 3rem 0;
}

/* Variant C: Direkt zur Anfrage. Phone number as the dominant element. */
.hero-direct {
  position: relative;
  background: var(--color-tint);
  overflow: hidden;
}

/*
 * Scrim so the transparent header, logo included, reads over the light
 * tint background. The logo (yellow deer and lettering, parts of it
 * white) has no dark variant, so this needs to be dark enough on its own
 * to carry it, not just a light wash.
 */
/*
 * Height matches the header (2.5rem top bar + 4.5rem masthead), so the
 * scrim sits entirely behind the now-solid bar. It was 10rem while the
 * bar was see-through; on this near-white hero the extra 3rem showed
 * below the bar as a blue smear.
 */
.hero-direct::before {
  content: '';
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 7rem;
  background: linear-gradient(
    to bottom,
    rgb(19 35 120 / 0.92) 0%,
    rgb(19 35 120 / 0.85) 40%,
    rgb(19 35 120 / 0) 100%
  );
  pointer-events: none;
}

.hero-direct-inner {
  display: grid;
  gap: 2rem;
  align-items: center;
  padding-top: 7.5rem;
  padding-bottom: 3.5rem;
}

.hero-direct h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 1.3rem + 3.2vw, 3.25rem);
  letter-spacing: -0.02em;
}

.phone-giant {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 1.25rem 0;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 1.3rem + 3.5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-brand);
  text-decoration: none;
}

.phone-giant:hover {
  color: var(--color-brand-light);
}

.phone-giant .icon {
  font-size: 0.7em;
}

.hero-direct img {
  display: block;
  width: 100%;
  border-radius: var(--radius);
}

@media (min-width: 48rem) {
  .hero-direct-inner {
    grid-template-columns: 1.1fr 1fr;
    padding-top: 8.5rem;
  }
}
