.logo .brand-heading {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(22px, 4vw, 28px);
  font-weight: normal;
  letter-spacing: 1px;
  color: #faf6ed;
  text-shadow: 0 1px 0 rgba(0, 0, 0, .5);
}
.logo .brand-heading .name {
  font-style: italic;
  color: #d4b878;
}

/* Give the KW crest a separate, legible year ribbon below the shield. */
body .topbanner svg.crest-svg {
  width: 68px !important;
  height: 78px !important;
  overflow: visible !important;
}
body .topbanner svg.crest-svg text:last-of-type {
  font-size: 5.2px !important;
  letter-spacing: .25px !important;
}
@media (max-width: 820px) {
  body .topbanner svg.crest-svg {
    width: 64px !important;
    height: 74px !important;
  }
}

.blog-post > h1 {
  font-family: Georgia, serif;
  color: #1f2e44;
  font-size: 18px;
  font-weight: normal;
  margin: 0 0 4px;
  border: 0;
  padding: 0;
}
.svc-list li .svc-link {
  color: #1f2e44;
  text-decoration: none;
}
.svc-list li .svc-link:hover {
  text-decoration: underline;
}
h1.thread-h {
  margin: 0;
  font-weight: normal;
}
@media (max-width: 480px) {
  .blog-post > h1 { font-size: 16px; }
}

/* Give the Google review service page room to breathe without changing its classic palette. */
body.google-review-landing .wrap {
  width: calc(100% - 40px);
  max-width: 1800px;
  box-sizing: border-box;
}

body.google-review-landing .center-col {
  padding: 30px 34px 40px;
}

body.google-review-landing .center-col > h1.welcome,
body.google-review-landing .center-col > h2.section,
body.google-review-landing .center-col > h3,
body.google-review-landing .center-col > p,
body.google-review-landing .center-col > .svc-list {
  max-width: 1060px;
  margin-left: auto;
  margin-right: auto;
}

body.google-review-landing .center-col > p {
  margin-top: 12px;
  margin-bottom: 14px;
  line-height: 1.65;
  text-align: left;
}

body.google-review-landing .center-col > h2.section {
  margin-top: 30px;
  margin-bottom: 10px;
}

body.google-review-landing .center-col > h3 {
  margin-top: 18px;
  margin-bottom: 6px;
  font-size: 15px;
}

body.google-review-landing .center-col > .svc-list {
  padding-top: 14px;
  padding-bottom: 14px;
}

body.google-review-landing .center-col > .svc-list li {
  padding-top: 8px;
  padding-bottom: 8px;
  line-height: 1.45;
}

body.google-review-landing .lpaket-grid {
  max-width: 1220px;
  margin-left: auto;
  margin-right: auto;
  gap: 16px;
}

@media (min-width: 1600px) {
  body.google-review-landing .lpaket-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  body.google-review-landing .lpaket {
    width: auto;
    flex: none;
  }
}

@media (max-width: 820px) {
  body.google-review-landing .wrap {
    width: 100vw !important;
    max-width: 100vw !important;
    margin: 0 !important;
  }

  body.google-review-landing table.layout > tbody > tr {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
  }

  body.google-review-landing .center-col {
    width: 100% !important;
    max-width: none;
    min-width: 0;
    order: 1;
    padding: 20px 18px 30px !important;
  }

  body.google-review-landing .right-col {
    order: 2;
  }

  body.google-review-landing .left-col {
    order: 3;
  }

  body.google-review-landing .center-col > * {
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box;
    margin-left: 0;
    margin-right: 0;
  }

  body.google-review-landing .center-col > h2.section {
    margin-top: 24px;
  }

  body.google-review-landing .center-col > h3 {
    font-size: 14px;
  }
}

/* Keep the classic desktop layout while putting the page content first on phones. */
@media (max-width: 820px) {
  html body table.layout > tbody > tr {
    display: flex !important;
    flex-direction: column;
  }

  html body table.layout > tbody > tr > td.center-col {
    order: 1;
    min-width: 0;
    max-width: 100%;
  }

  html body table.layout > tbody > tr > td.right-col {
    order: 2;
    min-width: 0;
    max-width: 100%;
  }

  html body table.layout > tbody > tr > td.left-col {
    order: 3;
    min-width: 0;
    max-width: 100%;
  }

  html body .mainnav .navbtn {
    display: flex !important;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
  }

  html body .left-col .lnav {
    min-height: 38px;
    box-sizing: border-box;
    vertical-align: middle;
  }

  html body .center-col img,
  html body .center-col svg,
  html body .center-col video {
    max-width: 100%;
    height: auto;
  }

  html body .center-col table:not(.layout) {
    max-width: 100%;
  }

  html body .center-col th,
  html body .center-col td,
  html body .center-col p,
  html body .center-col a {
    overflow-wrap: anywhere;
  }
}

/* Shared layout: wider desktop pages and unclipped branding/navigation. */
body .wrap {
  width: calc(100% - 40px);
  max-width: 1600px;
  box-sizing: border-box;
  margin: 12px auto;
}

body .topbanner {
  height: 132px;
  min-height: 132px;
  overflow: visible;
}

body .topbanner .crest-svg {
  top: 12px;
  left: 22px;
  width: 76px;
  height: 76px;
}

body .topbanner .crest-svg text:last-of-type {
  font-size: 6px;
  letter-spacing: 0.7px;
}

body .topbanner .logo {
  top: 22px;
  left: 118px;
  max-width: calc(100% - 360px);
}

body .logo h1,
body .logo .brand-heading {
  font-size: clamp(26px, 2vw, 32px);
  line-height: 1.2;
}

body .logo .untertitel {
  margin-top: 4px;
  line-height: 1.45;
}

body .dav-badge {
  top: 16px;
  right: 180px;
  padding: 8px 12px;
  line-height: 1.35;
}

body .dav-badge .gross {
  font-size: 14px;
}

body .kontakt-micro {
  top: 16px;
  right: 22px;
  max-width: 170px;
  line-height: 1.5;
  font-size: 12px;
}

body .kontakt-micro .tel {
  font-size: 17px;
  letter-spacing: 0.5px;
}

body .mainnav {
  padding: 0 8px;
  row-gap: 2px;
}

body .mainnav .navbtn {
  padding: 9px 12px 10px;
  line-height: 1.35;
  white-space: normal;
  box-sizing: border-box;
}

body .center-col > h1.welcome,
body .center-col > h2.section,
body .center-col > h3,
body .center-col > p,
body .center-col > ul,
body .center-col > figure,
body .center-col > table:not(.layout) {
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 820px) {
  body .wrap {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
  }

  body .topbanner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    height: auto !important;
    min-height: 0 !important;
    padding: 16px 14px 18px !important;
    overflow: visible !important;
    text-align: center;
  }

  body .topbanner .crest-svg {
    position: static !important;
    display: block !important;
    width: 72px !important;
    height: 72px !important;
    margin: 0 auto 4px !important;
  }

  body .topbanner .logo {
    position: static !important;
    left: auto !important;
    top: auto !important;
    width: 100%;
    max-width: 100%;
    margin: 0 auto 6px !important;
    text-align: center !important;
  }

  body .logo h1,
  body .logo .brand-heading {
    font-size: clamp(24px, 6.8vw, 30px) !important;
    line-height: 1.2;
  }

  body .logo .untertitel {
    font-size: 12px !important;
    line-height: 1.5;
  }

  body .topbanner .dav-badge,
  body .topbanner .kontakt-micro {
    position: static !important;
    display: block !important;
    width: max-content;
    max-width: 100%;
    margin: 5px auto !important;
    text-align: center !important;
    box-sizing: border-box;
  }

  body .topbanner .kontakt-micro {
    padding: 0 8px;
    font-size: 12px !important;
  }

  body .topbanner .kontakt-micro .tel {
    font-size: 17px !important;
    letter-spacing: 0.5px;
  }

  body .topbanner .tagline {
    position: static !important;
    display: block;
    width: 100%;
    max-width: 34rem;
    padding: 0 8px;
    margin: 8px auto 0 !important;
    box-sizing: border-box;
    line-height: 1.5;
    text-align: center !important;
    white-space: normal;
  }

  body .mainnav {
    gap: 4px;
    padding: 6px !important;
  }

  body .mainnav .navbtn {
    flex: 1 1 calc(50% - 4px) !important;
    min-width: 0 !important;
    min-height: 46px !important;
    padding: 10px 8px !important;
    font-size: 11px !important;
    line-height: 1.35;
    white-space: normal;
  }
}

@media (max-width: 360px) {
  body .mainnav .navbtn {
    flex-basis: 100% !important;
  }
}