:root {
  --blue: #064685;
  --navy: #113250;
  --red: #a51d2b;
  --pale: #f1f5f8;
  --line: #c8d5df;
  color: #253848;
  overflow-wrap: break-word;
  font: 100%/1.6 "Segoe UI", Arial, sans-serif;
}
* { box-sizing: border-box; }
main, footer { font-size: 1.125rem; }
body, figure, h1, h2, h3, p, ul { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.wrap { width: min(1160px, 90%); margin-inline: auto; }
a { color: var(--blue); text-underline-offset: .24em; }
a:hover { text-decoration-thickness: 2px; }
.skip { position: fixed; top: 0; transform: translateY(-150%); padding: .8rem; background: white; z-index: 3; }
.skip:focus { transform: none; }
/* Shared site navigation */
html { scroll-padding-top: calc(var(--header-height, 5rem) + .5rem); }
.site-header { position: sticky; top: 0; z-index: 2; background: white; border-bottom: 1px solid var(--line); }
.bar, #hauptmenue { display: flex; align-items: center; gap: 1.2rem; }
.bar { position: relative; padding-block: 1rem; flex-wrap: wrap; }
#hauptmenue { margin-inline-start: auto; }
.bar .hotline {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  min-width: 44px; padding-inline: .75rem; border: 1px solid #c6d6e3;
  border-radius: .65rem; background: var(--pale); color: var(--navy);
  white-space: nowrap; font-variant-numeric: tabular-nums;
}
.phone-icon { flex: none; }
.bar .hotline:hover { background: #e2ebf2; }
.bar a, .bar summary, .menu-toggle { min-height: 44px; align-content: center; font-weight: 650; text-decoration: none; }
.bar a:hover, .bar summary:hover { text-decoration: underline; }
.bar summary, .menu-toggle { cursor: pointer; color: var(--blue); }
.menu-toggle { font: inherit; font-weight: 650; border: 1px solid var(--line); background: white; border-radius: 4px; padding: 0 .6rem; }
.phone-label, .menu-toggle { display: none; }
.nav-panel { position: absolute; z-index: 2; background: white; border: 1px solid var(--line); padding: 1rem; box-shadow: 0 .7rem 1.4rem #11325020; }
.nav-panel a { display: block; overflow-wrap: anywhere; }
.bar .service-category { font-weight: 750; text-decoration: underline; text-underline-offset: .2em; }
.service-panel { left: 0; right: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
.bar .nav-offer { background: var(--blue); color: white; padding: .6rem 1rem; }
@media (max-width: 68rem) {
  .bar { gap: .55rem; padding-block: .6rem; }
  .brand { min-width: 0; flex: 1; }
  .brand img { width: min(100%, 170px); }
  .bar .hotline { padding-inline: .6rem; }
  .phone-number { display: none; }
  .phone-label { display: inline; }
  .menu-toggle:not([hidden]) { display: block; border-radius: .65rem; }
  #hauptmenue { width: 100%; align-items: stretch; flex-direction: column; gap: 0; padding-block: .5rem; border-top: 1px solid var(--line); }
  .menu-toggle[aria-expanded="false"]:not([hidden]) + #hauptmenue { display: none; }
  .bar .nav-offer { margin-bottom: .5rem; text-align: center; }
  .nav-panel { position: static; box-shadow: none; border: none; background: var(--pale); }
  .service-panel { grid-template-columns: repeat(auto-fit,minmax(min(100%, 13rem),1fr)); gap: 1rem; }
}
h1, h2, h3 { color: var(--navy); line-height: 1.09; text-wrap: balance; }
h1 { font-size: clamp(2.5rem,4.4vw,4.5rem); letter-spacing: -.05em; }
h2 { font-size: clamp(1.8rem,3vw,3rem); letter-spacing: -.035em; }
h3 { font-size: clamp(1.25rem,1.8vw,1.55rem); }
.hero { display: grid; grid-template-columns: minmax(0, 39fr) minmax(0, 61fr); align-items: center; column-gap: clamp(2rem,5vw,5rem); padding-block: clamp(2rem,4vw,4rem); }
.intro { grid-column: 2; grid-row: 1; min-width: 0; container-type: inline-size; }
.intro h1 { overflow-wrap: anywhere; font-size: clamp(1.55rem, 5.8vw, 2.2rem); font-size: clamp(min(2.1rem, 9cqi), 6.5cqi, 2.8rem); letter-spacing: -.035em; }
.kicker { text-transform: uppercase; color: var(--red); font-weight: 750; font-size: .78rem; letter-spacing: .1em; margin-bottom: .85rem; }
.lead { margin-top: 1.2rem; font-size: clamp(1.125rem,1.55vw,1.25rem); max-width: 50ch; }
.portrait { grid-column: 1; grid-row: 1; }
.portrait img { width: 100%; }
figcaption { font-size: 1rem; color: #496074; margin-top: .45rem; }
.hero-price { margin-top: clamp(1.3rem, 3vw, 2rem); }
.quote { background: var(--pale); border-top: 4px solid var(--red); padding: clamp(1.2rem,2.3vw,2rem); }
.quote h2 { font-size: clamp(1.55rem,2vw,2rem); }
.quote p, .split p:not(.kicker), article p, #bewertungen-modul p { margin-top: .85rem; }
.button { display: inline-flex; align-items: center; gap: 1.2rem; background: var(--blue); color: white; padding: .7rem 1.2rem; margin-top: 1.1rem; font-weight: 650; text-decoration: none; }
.button:hover { background: var(--navy); }
.band, .section, .contact { padding-block: clamp(3rem,5vw,5rem); }
.band { background: var(--pale); }
.grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(1.25rem,2.6vw,2.5rem); margin-top: 2rem; }
article img { width: 100%; margin-bottom: 1.25rem; }
article ul { padding: 0; list-style: none; margin-top: 1.2rem; border-top: 1px solid var(--line); }
article li { border-bottom: 1px solid var(--line); }
article li a { display: block; padding: .65rem 0; font-weight: 600; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,7vw,7rem); }
.steps > div + div { border-top: 1px solid var(--line); padding-top: 1.4rem; margin-top: 1.4rem; }
.steps a, #team a { display: inline-block; margin-top: .6rem; }
.contact { background: var(--navy); color: white; }
.contact h2, .contact a { color: white; }
.call { font-size: clamp(1.7rem,3vw,2.7rem); font-weight: 650; text-decoration: none; }
.contact .call + p { margin: 0 0 .6rem; }
@media screen and (min-width: 60rem) {
  .contact .split {
    grid-template-columns: minmax(0, 2fr) minmax(max-content, 1fr);
  }
}
.foot { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; padding-block: 3rem; }
.foot section + section { margin-top: 1.4rem; }
@media (min-width: 681px) and (max-width: 960px) {
  .foot { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid { grid-template-columns: 1fr; }
  .grid article { display: grid; grid-template-columns: 38% minmax(0, 1fr); column-gap: 1.5rem; }
  .grid article img { grid-column: 1; grid-row: 1 / 4; }
  .grid article > :not(img) { grid-column: 2; }
}
.foot h2 { font-size: 1.2rem; margin-bottom: .85rem; }
address { font-style: normal; margin-block: .75rem; }
.foot a { display: block; padding-block: .25rem; width: fit-content; }
.footer-end { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem; border-top: 1px solid var(--line); padding-block: .75rem; font-size: 1rem; }
.back-top { display: inline-flex; align-items: center; gap: .6rem; min-height: 44px; padding-inline: .75rem; font-weight: 650; }
.planning > p { max-width: 70ch; margin-top: .9rem; }
.plan-steps { margin: clamp(1.6rem, 3vw, 2.5rem) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; counter-reset: plan-step; }
.plan-steps > li { display: flex; flex-direction: column; align-items: flex-start; position: relative; padding-top: 1rem; border-top: 1px solid var(--line); counter-increment: plan-step; }
.plan-steps > li::before { content: counter(plan-step, decimal-leading-zero); content: counter(plan-step, decimal-leading-zero) / ""; color: var(--red); font-size: .9rem; font-weight: 700; letter-spacing: .06em; margin-bottom: .65rem; }
.plan-steps p { margin: .7rem 0 .9rem; }
.plan-steps a { margin-top: auto; display: inline-flex; align-items: center; min-height: 44px; }
@media (max-width: 52rem) {
  .plan-steps { grid-template-columns: 1fr; gap: 1.25rem; }
  .plan-steps > li { padding-inline-start: 2.5rem; }
  .plan-steps > li::before { position: absolute; left: 0; top: 1.1rem; }
}
@media (max-width: 850px) {
  .hero { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
}
@media (max-width: 680px) {
  .hero { display: flex; flex-direction: column; gap: 1.5rem; }
  .intro { width: 100%; }
  .portrait { width: 100%; }
  .grid, .split, .foot { grid-template-columns: 1fr; }
  .grid { gap: 2.5rem; }
  .foot a, .steps a { min-height: 44px; display: inline-flex; align-items: center; }
  .foot a { display: flex; max-width: 100%; }
}
@media (max-width: 360px) {
  .request { width: calc(100% - 1rem); }
}

.faq-steps { margin-top: 1.5rem; }
#bewertungen-modul .ti-controls button { appearance: none; padding: 0; border: 0; }
/* Das Modul entfernt seinen initialen Inline-Stil nach dem Laden. */
#bewertungen-modul .ti-widget[style*="height: 0 !important"] { visibility: hidden; }
#bewertungen-modul { min-width: 0; margin-top: 1.5rem; }
.review-link { display: inline-block; margin-top: 1rem; }
.review-consent { padding: clamp(1.2rem, 3vw, 2rem); background: var(--pale); border-block-start: 3px solid var(--blue); }
.review-consent p { max-width: 76ch; }
.review-consent .button { border: 0; font: inherit; font-weight: 650; cursor: pointer; text-align: start; min-height: 44px; }
.review-consent .button[hidden], #bewertungen-steuerung[hidden] { display: none; }
.review-consent .button[aria-disabled="true"] { background: var(--navy); cursor: default; }
#bewertungen-status:not(:empty) { margin-block: 1rem; }
.review-reset { font: inherit; font-weight: 650; color: var(--blue); background: white; border: 1px solid var(--blue); padding: .6rem .9rem; min-height: 44px; cursor: pointer; }
.review-reset-note { font-size: 1rem; color: #496074; }
#bewertungen-inhalt { margin-top: 1rem; }
.contact .button.light { background: white; color: var(--navy); }
.request { max-width: 780px; }
.request h1 { font-size: clamp(2rem, 5vw, 3.25rem); overflow-wrap: anywhere; }
.request #umzugskosten-modul { margin-top: 1rem; }

.reading { max-width: 78ch; overflow-wrap: anywhere; }
.reading h1 { font-size: clamp(1.9rem, 4.5vw, 3.2rem); }
.reading h2, .request-alternative h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
.reading h2, .reading details, .request-alternative { margin-top: 1.8rem; }
.reading p, .reading ul, .review-transcript p { margin-block: .85rem; }
.reading li + li { margin-top: .4rem; }
.review-transcript { margin-block: 1rem; }
.review-transcript summary, .reading summary { cursor: pointer; padding-block: .65rem; color: var(--blue); font-weight: 650; }
.review-transcript li { max-width: 76ch; margin-top: 1rem; }
@media (forced-colors: active) {
  .button, .nav-offer { border: 1px solid ButtonText; }
}

.seitenfoto { margin-block: 1.45rem 1.8rem; }
.seitenfoto img { width: 100%; height: auto; }
.seitenfoto figcaption { padding-inline-start: .7rem; border-inline-start: 2px solid var(--red); }
.materials { border-collapse: collapse; width: 100%; font-variant-numeric: tabular-nums; }
.materials caption { text-align: left; font-weight: 650; padding-block: .6rem; }
.materials th, .materials td { padding: .55rem .35rem; text-align: right; border-bottom: 1px solid var(--line); }
.materials th:first-child { text-align: left; }
.materials thead { background: var(--pale); color: var(--navy); }

.materials .price-label { display: none; }
.materials thead th, .materials td { white-space: nowrap; }

@media screen and (max-width: 36rem) {
  .materials, .materials caption, .materials tbody { display: block; }
  .materials { position: relative; }
  .materials thead {
    position: absolute; width: 1px; height: 1px; margin: -1px;
    overflow: hidden; clip-path: inset(50%); white-space: nowrap;
  }
  .materials tbody tr {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: .5rem; row-gap: .45rem;
    padding-block: .85rem; border-top: 1px solid var(--line);
  }
  .materials tbody tr:last-child { border-bottom: 1px solid var(--line); }
  .materials tbody th, .materials td { padding: 0; border: 0; text-align: start; }
  .materials tbody th { grid-column: 1 / -1; color: var(--navy); }
  .materials .price-label { display: block; color: #496074; font-size: 1rem; }
}

@media screen and (max-width: 19rem) {
  .materials tbody tr { grid-template-columns: minmax(0, 1fr); }
  .materials td { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0 .5rem; }
}

/* Current location remains distinct from hover and keyboard focus. */
#hauptmenue a[aria-current="page"],
#hauptmenue details:has(a[aria-current="page"]) > summary {
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-decoration-color: var(--red);
  text-underline-offset: .35em;
}
#hauptmenue .nav-panel a[aria-current="page"] {
  background: var(--pale);
  border-inline-start: 4px solid var(--red);
  padding-inline: .65rem;
}
footer a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: .25em;
}
@media (forced-colors: active) {
  #hauptmenue a[aria-current="page"] { outline: 1px solid LinkText; }
}

.footer-getrennt { border-block-start: 1px solid var(--navy); }
.contact-compact { padding-block: clamp(1.75rem, 3vw, 2.75rem); }
.contact-compact h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
.contact-compact .split { align-items: center; gap: 1.5rem; }

.team-einblick { display:flex; flex-wrap:wrap; align-items:center; gap:1.2rem; margin-block:1.5rem; }
.team-einblick .seitenfoto { width:min(100%,220px); margin:0; }
.team-einblick > div { flex:1 1 16rem; }
.team-einblick h2 { margin-top:0; }

.planungshilfe label { display:block; margin-top:.85rem; font-weight:650; }
.planungshilfe :is(input,textarea) { box-sizing:border-box; width:100%; min-width:0; padding:.65rem; border:1px solid #708796; border-radius:.35rem; font:inherit; }
.planungshilfe textarea { resize:vertical; }
.planungshilfe button { margin-top:1rem; min-height:44px; padding:.6rem 1rem; background:var(--blue); color:white; border:0; font:inherit; cursor:pointer; }
.widget-skip:focus {
  display: inline-block;
  padding: .4rem .65rem;
  background: white;
}
.widget-skip:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

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

@media (width > 68rem) {
  #hauptmenue details:not(:first-of-type) { position: relative; }
  #hauptmenue details:not(:first-of-type) > .nav-panel {
    inset-inline-end: 0;
    inline-size: max-content;
    max-inline-size: min(90vw, 24rem);
  }
  .nav-panel { max-height: calc(100vh - var(--header-height, 5rem)); max-height: calc(100dvh - var(--header-height, 5rem)); overflow-y: auto; }
}
@media (max-width: 68rem) {
  .menu-toggle:not([hidden]) + #hauptmenue {
    position: absolute; top: 100%; left: 0;
    max-height: calc(100vh - var(--header-height, 4.5rem));
    max-height: calc(100dvh - var(--header-height, 4.5rem));
    overflow-y: auto; overscroll-behavior: contain;
    background: white; padding-inline: .75rem; box-shadow: 0 .5rem 1rem #11325020;
  }
  .site-header:has(.menu-toggle[hidden]) { position: relative; }
}
/* Bei geringer Fensterhöhe darf das Menü mit der Seite aus dem Bild rollen. */
@media (max-width: 68rem) and (max-height: 20rem) {
  html { scroll-padding-top: .5rem; }
  .site-header { position: relative; }
  .menu-toggle:not([hidden]) + #hauptmenue {
    position: static; max-height: none; overflow: visible;
  }
}
@media print {
  .site-header { position: static; }
}
