/*
Theme Name: API Meyer-Raeder GmbH
Theme URI: https://www.apimeyerraeder.de/
Author: API Meyer-Raeder GmbH
Description: Maßgeschneidertes WordPress-Theme für die API Meyer-Raeder Heizung-, Sanitär-, Haustechnik GmbH.
Version: 1.0.2
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: api-meyer-raeder
*/

:root {
  --ink: #11161a;
  --ink-soft: #1b252b;
  --paper: #f4f3ef;
  --white: #fffefa;
  --muted: #656b6e;
  --line: #d8d9d7;
  --blue: #1977b8;
  --blue-dark: #105f96;
  --blue-light: #d9eaf3;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.api-icon {
  display: inline-block;
  flex: none;
  vertical-align: middle;
}

body.admin-bar .topbar {
  top: 32px;
}

body.admin-bar .site-header {
  top: 70px;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.shell {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.topbar {
  position: absolute;
  inset: 0 0 auto;
  z-index: 11;
  height: 38px;
  background: var(--blue);
  color: white;
}

.topbar-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.025em;
}

.topbar-location,
.topbar-links,
.topbar-links a {
  display: flex;
  align-items: center;
}

.topbar-location,
.topbar-links a {
  gap: 7px;
}

.topbar-links {
  gap: 25px;
}

.topbar a {
  transition: opacity 180ms ease;
}

.topbar a:hover,
.topbar a:focus-visible {
  opacity: 0.75;
}

.site-header {
  position: absolute;
  inset: 38px 0 auto;
  z-index: 10;
  border-bottom: 1px solid rgb(16 22 26 / 10%);
  background: rgb(255 254 250 / 96%);
  color: var(--ink);
  backdrop-filter: blur(14px);
}

.header-inner {
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
}

.brand-logo-wrap {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  overflow: hidden;
  border-radius: 50%;
  background: white;
}

.brand-logo-wrap img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-copy strong {
  font-family: "Arial Narrow", Arial, sans-serif;
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 0.025em;
  white-space: nowrap;
  text-transform: uppercase;
}

.brand-copy small {
  margin-top: 6px;
  color: #72777a;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 35px;
  margin-left: auto;
}

.desktop-nav a {
  position: relative;
  color: #565c60;
  font-size: 14px;
  font-weight: 700;
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  background: var(--blue);
  content: "";
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after {
  transform: scaleX(1);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  background: var(--blue);
  color: white;
  font-size: 13px;
  font-weight: 800;
  transition: background 180ms ease, transform 180ms ease;
}

.header-cta:hover,
.header-cta:focus-visible {
  background: var(--blue-dark);
  transform: translateY(-1px);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 825px;
  background: var(--ink);
  color: white;
}

.hero::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 54%;
  background: linear-gradient(125deg, #10161a 15%, #1b282f 100%);
  content: "";
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.11;
  background-image: linear-gradient(rgb(255 255 255 / 18%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 18%) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(90deg, black 0%, transparent 58%);
}

.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.94fr 1.06fr;
  align-items: center;
  min-height: 745px;
  padding-top: 154px;
}

.hero-copy {
  z-index: 2;
  padding: 48px 0 58px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 24px;
  color: rgb(255 255 255 / 66%);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.eyebrow > span {
  width: 28px;
  height: 3px;
  background: var(--blue);
}

.eyebrow.dark {
  color: #74797b;
}

.eyebrow.light {
  color: rgb(255 255 255 / 56%);
}

.hero h1,
.section h2,
.contact h2 {
  margin: 0;
  font-family: "Arial Narrow", Impact, sans-serif;
  font-weight: 900;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 720px;
  font-size: clamp(54px, 5.7vw, 86px);
  line-height: 0.94;
}

.hero h1 span {
  color: #48a2d9;
}

.hero-intro {
  max-width: 540px;
  margin: 31px 0 0;
  color: rgb(255 255 255 / 70%);
  font-size: 18px;
  line-height: 1.65;
}

.hero-intro strong {
  color: white;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 37px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  font-size: 14px;
  font-weight: 800;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--blue);
  color: white;
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--blue-dark);
}

.button-secondary {
  border: 1px solid rgb(255 255 255 / 28%);
  color: white;
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: white;
  background: rgb(255 255 255 / 8%);
}

.button-outline {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
}

.button-outline:hover,
.button-outline:focus-visible {
  border-color: var(--blue);
  color: var(--blue-dark);
}

.hero-media {
  position: absolute;
  inset: 126px calc((100vw - min(1180px, calc(100vw - 48px))) / -2) 0 48%;
  overflow: hidden;
  background: #263137;
}

.hero-media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #151c20 0%, transparent 35%),
    linear-gradient(0deg, rgb(9 12 14 / 45%) 0%, transparent 42%);
  content: "";
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.83) contrast(1.05);
}

.hero-badge {
  position: absolute;
  right: 30px;
  bottom: 30px;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 13px;
  width: min(330px, calc(100% - 60px));
  padding: 17px 19px;
  background: rgb(17 23 27 / 88%);
  backdrop-filter: blur(12px);
}

.hero-badge svg {
  color: #48a2d9;
  flex: none;
}

.hero-badge span {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-badge strong {
  font-size: 14px;
}

.hero-badge small {
  color: rgb(255 255 255 / 60%);
  font-size: 11px;
}

.trust-row {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  min-height: 80px;
  border-top: 1px solid rgb(255 255 255 / 14%);
}

.trust-row > span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-right: 1px solid rgb(255 255 255 / 14%);
  color: rgb(255 255 255 / 70%);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.trust-row > span:first-child {
  border-left: 1px solid rgb(255 255 255 / 14%);
}

.trust-row svg {
  color: #48a2d9;
}

.section {
  padding: 112px 0;
}

.services {
  background: var(--paper);
}

.section-heading {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  align-items: end;
  gap: 80px;
}

.section-heading h2,
.about-copy h2,
.contact h2 {
  font-size: clamp(42px, 5vw, 67px);
  line-height: 0.98;
}

.section-heading > p {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin-top: 62px;
  background: var(--line);
  border: 1px solid var(--line);
}

.service-card {
  min-height: 350px;
  background: var(--white);
  transition: background 180ms ease, transform 180ms ease;
}

.service-card:hover {
  position: relative;
  z-index: 1;
  background: white;
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgb(30 32 34 / 10%);
}

.service-image {
  overflow: hidden;
  height: 250px;
  background: #dbe1e4;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.service-card:hover .service-image img {
  transform: scale(1.025);
}

.service-card-body {
  padding: 31px;
}

.service-card:not(.has-image) {
  display: flex;
  align-items: stretch;
  min-height: 350px;
  border-top: 5px solid var(--blue);
  background: var(--ink-soft);
  color: white;
}

.service-card:not(.has-image):hover {
  background: #202d34;
}

.service-card:not(.has-image) .service-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.service-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--blue);
}

.service-topline > span {
  color: #aaa8a2;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.service-card h3 {
  margin: 38px 0 16px;
  font-family: "Arial Narrow", Arial, sans-serif;
  font-size: 27px;
  font-weight: 900;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.service-card:not(.has-image) p {
  color: rgb(255 255 255 / 62%);
}

.service-card a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 31px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.service-card:not(.has-image) a {
  margin-top: auto;
  padding-top: 31px;
  color: white;
}

.service-card a svg {
  color: var(--blue);
  transition: transform 180ms ease;
}

.service-card a:hover svg,
.service-card a:focus-visible svg {
  transform: translate(2px, -2px);
}

.process {
  padding: 96px 0 105px;
  background: var(--white);
}

.process-heading {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 48px;
}

.process-heading h2 {
  max-width: 760px;
  margin: 0;
  font-family: "Arial Narrow", Impact, sans-serif;
  font-size: clamp(42px, 5vw, 67px);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 0.98;
  text-transform: uppercase;
}

.process-heading > a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 7px;
  border-bottom: 2px solid var(--blue);
  font-size: 13px;
  font-weight: 800;
}

.process-heading > a svg {
  color: var(--blue);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 57px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.process-step {
  min-height: 255px;
  padding: 33px 34px 37px;
  border-right: 1px solid var(--line);
}

.process-step:first-child {
  border-left: 1px solid var(--line);
}

.process-step > span {
  color: var(--blue);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.2em;
}

.process-step h3 {
  margin: 54px 0 13px;
  font-family: "Arial Narrow", Arial, sans-serif;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.process-step p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.about {
  overflow: hidden;
  background: var(--ink-soft);
  color: white;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: 92px;
}

.about-logo {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 410px;
  border: 1px solid rgb(255 255 255 / 12%);
  background-color: #f8fbfc;
  background-image: linear-gradient(rgb(22 118 183 / 7%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(22 118 183 / 7%) 1px, transparent 1px);
  background-size: 40px 40px;
}

.about-logo::before,
.about-logo::after {
  position: absolute;
  background: var(--blue);
  content: "";
}

.about-logo::before {
  top: -1px;
  left: -1px;
  width: 120px;
  height: 7px;
}

.about-logo::after {
  right: -1px;
  bottom: -1px;
  width: 7px;
  height: 120px;
}

.about-logo img {
  width: min(74%, 310px);
  height: auto;
  object-fit: contain;
}

.heritage-stamp {
  position: absolute;
  bottom: 23px;
  left: 23px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 150px;
  padding: 15px 18px;
  background: var(--ink);
  color: white;
  box-shadow: 0 12px 30px rgb(17 22 26 / 18%);
}

.heritage-stamp strong {
  color: #48a2d9;
  font-family: "Arial Narrow", Arial, sans-serif;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.heritage-stamp span {
  color: rgb(255 255 255 / 66%);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.about-copy > p:not(.eyebrow) {
  max-width: 640px;
  margin: 29px 0 0;
  color: rgb(255 255 255 / 67%);
  font-size: 17px;
  line-height: 1.75;
}

.about-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 42px;
}

.about-points > div {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid rgb(255 255 255 / 16%);
}

.about-points svg {
  color: #48a2d9;
  flex: none;
}

.about-points span {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.about-points strong {
  font-size: 13px;
}

.about-points small {
  color: rgb(255 255 255 / 48%);
  font-size: 11px;
}

.contact {
  padding: 96px 0;
  background: var(--blue-light);
}

.contact-card {
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  gap: 80px;
  padding: 64px;
  background: var(--white);
  box-shadow: 0 25px 70px rgb(33 48 54 / 10%);
}

.contact-copy > p:not(.eyebrow) {
  max-width: 560px;
  margin: 25px 0 31px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
}

.contact-details {
  border-top: 1px solid var(--line);
}

.contact-details > a,
.contact-note {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 17px;
  min-height: 105px;
  border-bottom: 1px solid var(--line);
}

.contact-note {
  grid-template-columns: auto 1fr;
}

.contact-details > a > svg:first-child,
.contact-note > svg {
  color: var(--blue);
}

.contact-details > a > svg:last-child {
  color: #9d9b95;
  transition: transform 180ms ease;
}

.contact-details > a:hover > svg:last-child,
.contact-details > a:focus-visible > svg:last-child {
  color: var(--blue);
  transform: translate(2px, -2px);
}

.contact-details span,
.contact-note span {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-details small,
.contact-note small {
  color: #8a8883;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.contact-details strong,
.contact-note strong {
  font-size: 14px;
  line-height: 1.4;
}

footer {
  padding: 55px 0 30px;
  background: var(--ink);
  color: white;
}

.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 30px;
}

.footer-inner .brand-logo-wrap {
  background: white;
}

.footer-inner .brand-copy small {
  color: rgb(255 255 255 / 44%);
}

.footer-inner > p {
  justify-self: end;
  margin: 0;
  color: rgb(255 255 255 / 46%);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.footer-meta {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 18px;
  padding-top: 24px;
  border-top: 1px solid rgb(255 255 255 / 12%);
  color: rgb(255 255 255 / 38%);
  font-size: 11px;
}

.footer-meta a:hover,
.footer-meta a:focus-visible {
  color: white;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 24px;
}

.legal-page {
  min-height: 100vh;
  background: var(--paper);
}

.legal-header {
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.legal-header-inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.legal-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: "Arial Narrow", Arial, sans-serif;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.legal-brand img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: white;
  object-fit: contain;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.back-link:hover,
.back-link:focus-visible {
  color: var(--blue);
}

.legal-hero {
  padding: 78px 0 58px;
  background: var(--ink-soft);
  color: white;
}

.legal-hero .eyebrow {
  margin-bottom: 20px;
}

.legal-hero h1 {
  margin: 0;
  font-family: "Arial Narrow", Impact, sans-serif;
  font-size: clamp(48px, 7vw, 78px);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 0.95;
  text-transform: uppercase;
}

.legal-hero p:last-child {
  max-width: 680px;
  margin: 24px 0 0;
  color: rgb(255 255 255 / 64%);
  font-size: 15px;
  line-height: 1.7;
}

.legal-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;
  gap: 72px;
  padding-top: 72px;
  padding-bottom: 96px;
}

.legal-copy {
  min-width: 0;
}

.legal-copy section + section {
  margin-top: 48px;
  padding-top: 48px;
  border-top: 1px solid var(--line);
}

.legal-copy h2 {
  margin: 0 0 19px;
  font-family: "Arial Narrow", Arial, sans-serif;
  font-size: 25px;
  font-weight: 900;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.legal-copy h3 {
  margin: 28px 0 10px;
  font-size: 15px;
}

.legal-copy p,
.legal-copy li,
.legal-copy address {
  color: var(--muted);
  font-size: 14px;
  font-style: normal;
  line-height: 1.75;
}

.legal-copy p {
  margin: 0 0 14px;
}

.legal-copy ul {
  margin: 14px 0 0;
  padding-left: 20px;
}

.legal-copy a {
  color: var(--blue-dark);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.legal-note {
  align-self: start;
  padding: 26px;
  border-top: 4px solid var(--blue);
  background: var(--white);
  box-shadow: 0 15px 40px rgb(30 32 34 / 7%);
}

.legal-note strong {
  display: block;
  margin-bottom: 10px;
  font-family: "Arial Narrow", Arial, sans-serif;
  font-size: 16px;
  font-weight: 900;
  text-transform: uppercase;
}

.legal-note p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}

.legal-footer {
  padding: 32px 0;
  background: var(--ink);
  color: rgb(255 255 255 / 52%);
}

.legal-footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px 28px;
  font-size: 11px;
}

.legal-footer nav {
  display: flex;
  gap: 22px;
}

.legal-footer a:hover,
.legal-footer a:focus-visible {
  color: white;
}

:focus-visible {
  outline: 3px solid #79bce4;
  outline-offset: 4px;
}

@media (max-width: 900px) {
  .desktop-nav {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-layout {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-height: auto;
    padding-top: 150px;
  }

  .hero-copy {
    padding: 65px 0 52px;
  }

  .hero-media {
    position: relative;
    inset: auto;
    width: calc(100% + 48px);
    height: 470px;
    margin-left: -24px;
  }

  .hero-media::after {
    background: linear-gradient(0deg, rgb(9 12 14 / 48%) 0%, transparent 48%);
  }

  .trust-row {
    grid-template-columns: 1fr 1fr;
  }

  .trust-row > span {
    min-height: 66px;
    border-bottom: 1px solid rgb(255 255 255 / 14%);
  }

  .section-heading,
  .about-grid,
  .contact-card,
  .legal-content,
  .process-heading {
    grid-template-columns: 1fr;
  }

  .section-heading {
    gap: 25px;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 0;
  }

  .service-card:not(.has-image) {
    min-height: 315px;
  }

  .about-grid,
  .contact-card {
    gap: 54px;
  }

  .legal-content {
    gap: 44px;
  }

  .process-heading {
    gap: 26px;
  }

  .process-heading > a {
    justify-self: start;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .process-step,
  .process-step:first-child {
    min-height: 0;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    border-left: 1px solid var(--line);
  }

  .process-step:last-child {
    border-bottom: 0;
  }

  .process-step h3 {
    margin-top: 32px;
  }

  .about-logo {
    min-height: 300px;
  }
}

@media (max-width: 620px) {
  .shell {
    width: min(100% - 32px, 1180px);
  }

  .header-inner {
    height: 76px;
    gap: 12px;
  }

  .topbar {
    height: 34px;
  }

  .topbar-inner {
    font-size: 10px;
  }

  .topbar-location {
    display: none;
  }

  .topbar-links {
    width: 100%;
    justify-content: space-between;
    gap: 15px;
  }

  .site-header {
    inset: 34px 0 auto;
  }

  .brand-logo-wrap {
    width: 48px;
    height: 48px;
  }

  .brand {
    gap: 10px;
  }

  .brand-logo-wrap img {
    width: 46px;
    height: 46px;
  }

  .brand-copy strong {
    font-size: 12px;
    letter-spacing: 0.015em;
  }

  .brand-copy small {
    font-size: 6px;
  }

  .header-cta {
    padding: 11px 12px;
    font-size: 0;
  }

  .header-cta::before {
    font-size: 12px;
    content: "Anrufen";
  }

  .hero-layout {
    padding-top: 112px;
  }

  .hero-copy {
    padding: 64px 0 45px;
  }

  .hero h1 {
    font-size: clamp(42px, 12.8vw, 62px);
  }

  .hero-intro {
    font-size: 16px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-media {
    width: calc(100% + 32px);
    height: 375px;
    margin-left: -16px;
  }

  .hero-badge {
    right: 16px;
    bottom: 16px;
    width: calc(100% - 32px);
  }

  .trust-row {
    width: 100%;
  }

  .trust-row > span {
    padding: 0 10px;
    font-size: 10px;
    text-align: center;
  }

  .section {
    padding: 79px 0;
  }

  .section-heading h2,
  .about-copy h2,
  .contact h2 {
    font-size: 41px;
  }

  .service-grid {
    margin-top: 42px;
  }

  .service-card {
    min-height: 0;
  }

  .service-image {
    height: 220px;
  }

  .service-card-body {
    padding: 27px;
  }

  .service-card:not(.has-image) {
    min-height: 290px;
  }

  .about-grid {
    gap: 45px;
  }

  .about-logo {
    min-height: 235px;
  }

  .about-points {
    grid-template-columns: 1fr;
  }

  .contact {
    padding: 0;
  }

  .contact-card {
    width: 100%;
    gap: 42px;
    padding: 72px 24px;
  }

  .contact-actions {
    flex-direction: column;
  }

  .contact-details > a,
  .contact-note {
    min-height: 95px;
  }

  .contact-details strong,
  .contact-note strong {
    font-size: 12px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-inner > p {
    justify-self: start;
  }

  .footer-meta {
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .legal-header-inner {
    min-height: 76px;
  }

  .legal-brand span {
    display: none;
  }

  .legal-hero {
    padding: 62px 0 48px;
  }

  .legal-content {
    padding-top: 52px;
    padding-bottom: 68px;
  }

  .process {
    padding: 76px 0 82px;
  }

  .process-heading h2 {
    font-size: 41px;
  }

  .process-grid {
    margin-top: 42px;
  }

  .process-step {
    padding: 29px 26px 32px;
  }

  .legal-copy section + section {
    margin-top: 38px;
    padding-top: 38px;
  }
}

@media (max-width: 782px) {
  body.admin-bar .topbar {
    top: 46px;
  }

  body.admin-bar .site-header {
    top: 80px;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
