:root {
  --logo-blue: #005890;
  --logo-blue-dark: #00456f;
  --white: #ffffff;
  --text: #1f2933;
  --page-bg: #ffffff;
  --content-width: 1200px;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--page-bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
}

.site-header { position: relative; z-index: 10; padding-top: 55px; }
.navbar {
  position: relative;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 max(24px, calc((100vw - var(--content-width)) / 2));
  background: var(--logo-blue);
}
.logo-wrap {
  position: absolute;
  left: max(24px, calc((100vw - var(--content-width)) / 2));
  top: -45px;
  z-index: 20;
  display: block;
  width: 300px;
  max-width: 38vw;
  background: var(--white);
  border: 3px solid var(--logo-blue);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 7px 18px rgba(0, 0, 0, 0.12);
}
.logo { display: block; width: 100%; height: auto; }
.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(18px, 3vw, 42px);
  margin-left: 42vw;
}
.nav-links a {
  color: var(--white);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 700;
  white-space: nowrap;
  padding: 26px 0;
  transition: opacity 0.2s ease, background 0.2s ease;
}
.nav-links a:hover, .nav-links a:focus-visible { opacity: 0.75; }
.menu-toggle {
  display: none;
  width: 46px;
  height: 42px;
  padding: 8px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  margin: 5px 0;
  border-radius: 999px;
  background: var(--white);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.content {
  width: min(var(--content-width), calc(100% - 40px));
  flex: 1;
  margin: 90px auto 0;
  padding: 48px 0;
  text-align: center;
}
.content p { margin: 0; font-size: clamp(1.35rem, 3vw, 2rem); font-weight: 700; }

/* Fat Footer */
.site-footer {
  margin-top: auto;
  padding: 48px 24px 22px;
  background: var(--logo-blue);
  color: var(--white);
}
.footer-inner { width: min(var(--content-width), 100%); margin: 0 auto; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 1.7fr 0.8fr;
  gap: 36px;
  align-items: start;
}
.footer-column h2 {
  margin: 0 0 18px;
  font-size: 1.05rem;
  line-height: 1.25;
  color: var(--white);
}
.footer-column p, .footer-column address {
  margin: 0 0 10px;
  font-size: 0.94rem;
  line-height: 1.65;
  font-style: normal;
}
.site-footer a { color: var(--white); text-decoration: none; text-underline-offset: 3px; }
.site-footer a:hover, .site-footer a:focus-visible { text-decoration: underline; }
.footer-contact-list { margin-top: 14px !important; }

.service-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.service-links a {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  font-size: 0.94rem;
}
.service-links a::before {
  content: "›";
  margin-right: 7px;
  font-size: 1.15em;
  opacity: 0.8;
}

.payment-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  overflow: visible;
}
.payment-method {
  position: relative;
  display: inline-flex;
  width: 64px;
  height: 42px;
  flex: 0 0 auto;
  border-radius: 8px;
  cursor: default;
  outline: none;
  transition: transform 0.18s ease, filter 0.18s ease;
}
.payment-method img {
  display: block;
  width: 64px;
  height: 42px;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 1px 0 rgba(255,255,255,0.18);
}
.payment-method:hover,
.payment-method:focus-visible {
  z-index: 20;
  transform: translateY(-3px) scale(1.05);
  filter: brightness(1.04);
}
.payment-method::after {
  content: attr(data-tooltip);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 9px);
  transform: translateX(-50%) translateY(4px);
  z-index: 30;
  width: max-content;
  max-width: 180px;
  padding: 7px 9px;
  border-radius: 6px;
  background: #ffffff;
  color: var(--logo-blue-dark);
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  white-space: normal;
  box-shadow: 0 5px 14px rgba(0,0,0,0.2);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s ease;
}
.payment-method::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: calc(100% + 3px);
  transform: translateX(-50%);
  z-index: 31;
  border: 6px solid transparent;
  border-top-color: #ffffff;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.16s ease, visibility 0.16s ease;
}
.payment-method:hover::after,
.payment-method:hover::before,
.payment-method:focus-visible::after,
.payment-method:focus-visible::before {
  opacity: 1;
  visibility: visible;
}
.payment-method:hover::after,
.payment-method:focus-visible::after {
  transform: translateX(-50%) translateY(0);
}

.social-links { display: flex; flex-wrap: wrap; gap: 10px; }
.social-method {
  position: relative;
  display: inline-flex;
  width: 64px;
  height: 42px;
  flex: 0 0 auto;
  border-radius: 8px;
  outline: none;
  transition: transform 0.18s ease, filter 0.18s ease;
}
.social-method img {
  display: block;
  width: 64px;
  height: 42px;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 1px 0 rgba(255,255,255,0.18);
}
.social-method:hover,
.social-method:focus-visible {
  z-index: 20;
  transform: translateY(-3px) scale(1.05);
  filter: brightness(1.04);
  text-decoration: none;
}
.social-method::after {
  content: attr(data-tooltip);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 9px);
  transform: translateX(-50%) translateY(4px);
  z-index: 30;
  width: max-content;
  padding: 7px 9px;
  border-radius: 6px;
  background: #ffffff;
  color: var(--logo-blue-dark);
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  box-shadow: 0 5px 14px rgba(0,0,0,0.2);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s ease;
}
.social-method::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: calc(100% + 3px);
  transform: translateX(-50%);
  z-index: 31;
  border: 6px solid transparent;
  border-top-color: #ffffff;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.16s ease, visibility 0.16s ease;
}
.social-method:hover::after,
.social-method:hover::before,
.social-method:focus-visible::after,
.social-method:focus-visible::before { opacity: 1; visibility: visible; }
.social-method:hover::after,
.social-method:focus-visible::after { transform: translateX(-50%) translateY(0); }

.social-note { margin-top: 14px !important; font-size: 0.82rem !important; opacity: 0.78; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.28);
}
.footer-copyright { margin: 0; font-size: 0.88rem; line-height: 1.5; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 12px 24px; font-size: 0.9rem; font-weight: 700; }

@media (max-width: 1050px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .site-header { padding-top: 42px; }
  .navbar { min-height: 64px; padding-left: 14px; padding-right: 14px; }
  .logo-wrap { left: 14px; top: -32px; width: 185px; max-width: 48vw; }
  .menu-toggle { display: block; position: relative; z-index: 30; margin-left: auto; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .nav-links {
    position: absolute;
    top: 100%; left: 0; right: 0;
    z-index: 15;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    background: var(--logo-blue);
    box-shadow: 0 9px 18px rgba(0,0,0,0.14);
  }
  .nav-links.is-open { display: flex; }
  .nav-links a {
    width: 100%;
    padding: 16px 20px;
    border-top: 1px solid rgba(255,255,255,0.2);
    font-size: 1rem;
    text-align: right;
  }
  .nav-links a:hover, .nav-links a:focus-visible { opacity: 1; background: rgba(255,255,255,0.09); }
  .content { margin-top: 65px; padding-top: 40px; }

  .site-footer { padding: 38px 18px 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .service-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-legal { gap: 10px 18px; }
}

@media (max-width: 460px) {
  .service-links { grid-template-columns: 1fr; }
}

/* Footer: alle Texte dauerhaft weiß */
.site-footer, .site-footer * { color: #ffffff; }
.site-footer .social-note { opacity: 1; }
.site-footer .payment-method::after,
.site-footer .social-method::after { color: #ffffff; background: var(--logo-blue-dark); }
.site-footer .payment-method::before,
.site-footer .social-method::before { border-top-color: var(--logo-blue-dark); }

.footer-contact .footer-copyright { margin-bottom: 12px; }
.footer-contact .footer-powered { font-family: Impact, "Arial Black", sans-serif; font-size: 1.15rem; font-style: italic; font-weight: 900; letter-spacing: 0.035em; line-height: 1.4; margin-bottom: 12px; }
.footer-bottom { justify-content: flex-end; }

.footer-brand { display: table; max-width: 100%; margin-bottom: 12px; }
.footer-contact .footer-brand .footer-copyright { margin: 0; }
.footer-contact .footer-brand .footer-powered { margin: 2px 0 0; font-size: 0.75rem; line-height: 1.4; letter-spacing: 0.02em; text-align: right; }

.footer-contact .footer-brand .footer-powered { font-family: Arial, Helvetica, sans-serif; font-weight: 400; }

/* Reparaturmotiv nur oben im weißen Inhaltsbereich */
.content {
  position: relative;
  isolation: isolate;
  width: 100%;
  margin: 0;
  min-height: clamp(430px, 54vw, 720px);
  padding: clamp(390px, 48vw, 650px) 20px 48px;
  background: #ffffff;
}
.content::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 0 auto;
  height: clamp(360px, 50vw, 680px);
  background-image: linear-gradient(to bottom, rgba(255,255,255,0) 60%, #ffffff 100%), url("images/computerreparatur-hintergrund.png");
  background-position: center top;
  background-size: 100% 100%, contain;
  background-repeat: no-repeat;
  pointer-events: none;
}
@media (max-width: 760px) {
  .content { min-height: 360px; padding: max(235px, 54vw) 18px 48px; }
  .content::before { height: max(230px, 52vw); }
}

/* Dezenteres Logo an der Navigation */
.logo-wrap { width: 240px; max-width: 32vw; }
@media (max-width: 760px) {
  .logo-wrap { width: 155px; max-width: 44vw; }
}

.content-slogan {
  position: absolute;
  top: clamp(35px, 5vw, 76px);
  left: max(24px, calc((100% - 1200px) / 2));
  width: 52%;
  max-width: 620px;
  margin: 0;
  color: var(--logo-blue);
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(1.5rem, 3.3vw, 3rem);
  font-weight: 800;
  line-height: 1.18;
  text-align: left;
  text-wrap: balance;
}
@media (max-width: 760px) {
  .content-slogan { top: 24px; left: 18px; width: 56%; font-size: clamp(1rem, 3.4vw, 1.65rem); }
}

.supported-systems { width: min(100%, 1000px); margin: 40px auto 0; padding: 28px 0 16px; background: #ffffff; }
.supported-systems h2 { margin: 0 0 28px; color: var(--logo-blue); font-size: clamp(1.4rem, 2.6vw, 2rem); }
.systems-list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; list-style: none; margin: 0; padding: 0; }
.systems-list li { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.systems-list img { display: block; width: 76px; height: 76px; }
.systems-list span { color: var(--logo-blue); font-size: 1.1rem; font-weight: 700; }
@media (max-width: 760px) {
 .supported-systems { margin-top: 24px; }
 .systems-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px 12px; }
 .systems-list img { width: 64px; height: 64px; }
}

.systems-list li { gap: 4px; }

/* Systemgrafiken unmittelbar unter dem Reparaturmotiv */
.content { min-height: 0; padding-top: min(50vw, 680px); padding-bottom: 32px; }
.supported-systems { margin-top: 0; padding-top: 0; }
@media (max-width: 760px) {
  .content { min-height: 0; padding-top: 50vw; }
  .content::before { height: 50vw; }
  .supported-systems { margin-top: 0; }
}

.systems-list { grid-template-columns: repeat(6, minmax(0, 1fr)); }
@media (max-width: 760px) { .systems-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.help-options { width: min(100%, 1200px); margin: 44px auto 8px; text-align: left; }
.help-options > h2 { margin: 0 0 24px; text-align: center; color: var(--logo-blue); font-size: clamp(1.5rem, 2.6vw, 2rem); }
.help-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.help-card { padding: 24px 20px; border: 1px solid #dce7ef; border-top: 4px solid #fa6018; border-radius: 10px; background: #f7fafc; box-shadow: 0 3px 12px rgba(0, 88, 144, 0.06); }
.help-card img { display: block; margin-bottom: 14px; }
.help-card h3 { margin: 0 0 12px; color: var(--logo-blue); font-size: 1.2rem; line-height: 1.3; }
.content .help-card p { margin: 0; font-size: 1rem; font-weight: 400; line-height: 1.65; color: #1f2933; }
@media (max-width: 1050px) { .help-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 580px) { .help-grid { grid-template-columns: 1fr; gap: 16px; } .help-options { margin-top: 32px; } }

.hero-contact { position: absolute; top: clamp(35px, 5vw, 76px); left: max(24px, calc((100% - 1200px) / 2)); width: 52%; max-width: 620px; text-align: left; }
.hero-contact .content-slogan { position: static; width: 100%; max-width: none; }
.hero-phone { display: inline-flex; align-items: center; gap: 12px; margin-top: 18px; color: #fa6018; font-size: clamp(1.35rem, 2.7vw, 2.3rem); font-weight: 700; text-decoration: none; white-space: nowrap; }
.hero-phone img { width: 1em; height: 1em; flex-shrink: 0; }
.hero-phone:hover { text-decoration: underline; text-underline-offset: 5px; }
.hero-phone:focus-visible { outline: 2px solid #fa6018; outline-offset: 5px; }
@media (max-width: 760px) {
 .hero-contact { top: 24px; left: 18px; width: 56%; }
 .hero-phone { margin-top: 10px; gap: 7px; font-size: clamp(1rem, 3.2vw, 1.5rem); }
}

/* Kompakter Einstieg mit größerer, zentrierter Rufnummer */
.hero-contact { top: 18px; }
.hero-phone { display: flex; justify-content: center; width: 100%; margin-top: 12px; font-size: clamp(1.65rem, 3.6vw, 3.2rem); }
@media (max-width: 760px) {
 .hero-contact { top: 12px; }
 .hero-phone { margin-top: 8px; font-size: clamp(1.15rem, 3.6vw, 1.8rem); gap: 6px; }
}

.location-band { background: #f0f6fa; border-top: 3px solid #fa6018; padding: 24px; }
.location-inner { width: min(100%, 1200px); margin: auto; display: grid; grid-template-columns: 1.15fr 1fr; gap: 28px; align-items: center; }
.appointment-notice { display: inline-block; margin: 0 0 8px; color: #ffffff; background: #fa6018; border-radius: 5px; padding: 6px 12px; font-weight: 700; font-size: 1.1rem; }
.appointment-detail { margin: 0 0 14px; font-size: 0.95rem; line-height: 1.5; color: #1f2933; }
.location-info h2 { margin: 0 0 6px; color: var(--logo-blue); font-size: 1.15rem; }
.location-info address { font-style: normal; color: #1f2933; line-height: 1.5; }
.location-actions { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; margin-top: 14px; }
.directions-link { color: #ffffff; background: var(--logo-blue); border-radius: 5px; padding: 9px 12px; text-decoration: none; font-weight: 700; }
.directions-link:hover { background: var(--logo-blue-dark); }
.appointment-link { color: var(--logo-blue); font-weight: 700; }
.location-map { min-height: 210px; background: #ffffff; border: 1px solid #d6e3ec; border-radius: 7px; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 0; }
.map-load-button { background: var(--logo-blue); color: #ffffff; padding: 10px 14px; border: 0; border-radius: 5px; font: inherit; font-weight: 700; cursor: pointer; }
.map-privacy { max-width: 300px; margin: 12px 16px 0; font-size: 0.8rem; line-height: 1.5; text-align: center; color: #475666; }
.location-map iframe { display: block; width: 100%; height: 210px; border: 0; }
@media (max-width: 760px) { .location-band { padding: 22px 18px; } .location-inner { grid-template-columns: 1fr; gap: 20px; } }

.price-promise { width: min(100%, 1100px); margin: 28px auto 0; padding: 24px 28px; background: #eef6fb; border-left: 6px solid #fa6018; border-radius: 8px; text-align: center; }
.content .price-promise p { margin: 0; color: var(--logo-blue); font-size: clamp(1.2rem, 2.25vw, 1.8rem); line-height: 1.45; font-weight: 500; text-wrap: balance; }
.price-promise strong { font-weight: 800; }
@media (max-width: 580px) { .price-promise { margin-top: 24px; padding: 20px 16px; } }

.service-intro { width: min(100%, 1040px); margin: 36px auto 0; text-align: left; }
.service-intro h2 { color: var(--logo-blue); font-size: clamp(1.5rem, 2.5vw, 2rem); line-height: 1.3; margin: 0 0 18px; }
.service-intro h3 { color: var(--logo-blue); font-size: 1.2rem; line-height: 1.4; margin: 28px 0 12px; }
.content .service-intro p { font-size: 1rem; line-height: 1.75; font-weight: 400; margin: 0 0 16px; color: #1f2933; }
.service-intro strong { font-weight: 700; }

.service-catalog { width: min(100%, 1040px); margin: 36px auto 0; text-align: left; }
.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.service-card { padding: 26px; border: 1px solid #dce7ef; border-top: 4px solid #fa6018; border-radius: 10px; background: #f7fafc; }
.service-card h3 { margin: 0 0 16px; color: var(--logo-blue); font-size: 1.35rem; line-height: 1.3; }
.service-card img { display: block; width: 100px; height: 80px; margin: 0 0 16px; }
.content .service-card p { margin: 0; color: #1f2933; font-size: 1rem; line-height: 1.65; font-weight: 400; }
@media (max-width: 640px) { .service-grid { grid-template-columns: 1fr; gap: 18px; } .service-card { padding: 22px; } }

/* Service-Infokästen mit kräftigem Rahmen und Verlauf */
.service-card { padding: 0 0 24px; border: 3px solid var(--logo-blue); border-radius: 10px; overflow: hidden; background: linear-gradient(to bottom, #80b9df 0%, #d6eaf7 45%, #ffffff 85%); }
.service-card h3 { margin: 0; padding: 15px 22px; background: #fa6018; color: #000000; font-size: 1.35rem; font-weight: 700; }
.service-card img { display: block; width: min(100%, 360px); height: auto; margin: 12px auto 8px; padding: 0 16px; }
.content .service-card p { color: #000000; padding: 0 22px; margin: 0; }
@media (max-width: 640px) { .service-card { padding: 0 0 22px; } }

@font-face { font-family: 'Computerhilfe Bookman'; src: url('fonts/bookman-regular.otf') format('opentype'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Computerhilfe Bookman'; src: url('fonts/bookman-bold.otf') format('opentype'); font-weight: 700 900; font-style: normal; font-display: swap; }
body { font-family: 'Computerhilfe Bookman', 'Bookman Old Style', Georgia, serif; }
.content-slogan, .footer-contact .footer-brand .footer-powered { font-family: inherit; }
button { font-family: inherit; }
.hero-contact .content-slogan { font-size: clamp(1.4rem, 3vw, 2.7rem); }
@media (max-width: 760px) { .hero-contact .content-slogan { font-size: clamp(0.95rem, 3.1vw, 1.5rem); } }

.hero-contact { width: max-content; max-width: 56%; }
.hero-contact .content-slogan { width: max-content; max-width: 100%; text-wrap: initial; }
.slogan-first-line, .slogan-last-line { display: block; text-align: center; }
.hero-contact .hero-phone { width: 100%; justify-content: center; }
@media (max-width: 760px) { .hero-contact { width: max-content; max-width: 58%; } }

.hero-contact .hero-phone { font-size: clamp(1.155rem, 2.52vw, 2.24rem); }
@media (max-width: 760px) { .hero-contact .hero-phone { font-size: clamp(0.805rem, 2.52vw, 1.26rem); } }

.service-card { display: flex; flex-direction: column; align-items: stretch; }
.service-card .service-appointment { display: block; align-self: flex-start; margin: auto 22px 0; transform: translateY(0); padding: 11px 16px; border-radius: 6px; background: #fa6018; color: #000000; font-weight: 700; font-size: 1rem; line-height: 1.35; text-decoration: none; }
.content .service-card p { margin-bottom: 22px; }
.service-appointment:hover { filter: brightness(0.95); text-decoration: underline; }
.service-appointment:focus-visible { outline: 3px solid #005890; outline-offset: 3px; }

.content .price-promise .price-promise-detail { margin-top: 10px; font-size: clamp(1rem, 1.7vw, 1.25rem); font-weight: 400; }

.legal-dialog { position: fixed; top: clamp(24px, 7vh, 70px); bottom: auto; width: min(620px, calc(100% - 32px)); max-height: 80vh; margin: 0 auto; padding: 26px; border: 1px solid #c9dce9; border-radius: 10px; background: #ffffff; color: #1f2933; box-shadow: 0 16px 55px rgba(0,0,0,0.22); font-family: inherit; }
.legal-dialog::backdrop { background: rgba(30, 40, 50, 0.58); }
.legal-dialog-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.legal-dialog h2 { color: #005890; font-size: 1.4rem; margin: 0; }
.legal-dialog-close { display: inline-flex; justify-content: center; align-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 6px; background: #edf4f9; color: #005890; font-size: 1.8rem; cursor: pointer; }
.legal-dialog-close:hover { background: #dcebf5; }

/* Zahlungsmöglichkeiten: stets drei Spalten, vier Reihen */
.payment-grid { display: grid; grid-template-columns: repeat(3, 64px); gap: 10px; }

.footer-grid { grid-template-columns: minmax(360px, 1.65fr) minmax(155px, 0.9fr) minmax(212px, 1fr) minmax(138px, 0.8fr); gap: 28px; }
.footer-contact .footer-copyright { white-space: nowrap; }
@media (max-width: 1050px) { .footer-grid { grid-template-columns: minmax(360px, 1.2fr) minmax(212px, 1fr); } }
@media (max-width: 760px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 460px) { .footer-contact .footer-copyright { font-size: clamp(0.65rem, 2.8vw, 0.88rem); } }

.content .price-promise p, .content .price-promise .price-promise-detail { font-weight: 700; }

/* Gleichmäßige Abstände zwischen den Footer-Bereichen */
.footer-grid { grid-template-columns: max-content max-content max-content max-content; justify-content: space-between; column-gap: 24px; row-gap: 32px; }
.footer-social { width: 138px; }
.footer-services { min-width: 155px; }
@media (max-width: 1100px) {
 .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; }
 .footer-social { width: auto; }
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; } }

.service-credit { position: absolute; top: 0; left: max(24px, calc((100% - 1200px) / 2)); margin: 0; padding: 0 0 5px; color: #475666; font-size: 0.75rem; line-height: 1.3; white-space: nowrap; }
.site-header { padding-top: 72px; }
@media (max-width: 760px) { .site-header { padding-top: 58px; } .service-credit { left: 14px; top: 2px; font-size: clamp(0.6rem, 2.3vw, 0.75rem); } }

.service-credit { left: auto; right: max(24px, calc((100% - 1200px) / 2)); top: 22px; padding: 0; color: #fa6018; font-size: clamp(0.7rem, 1.2vw, 0.95rem); text-align: right; white-space: nowrap; }
.site-header { padding-top: 55px; }
@media (max-width: 760px) { .site-header { padding-top: 58px; } .service-credit { left: auto; right: 14px; top: 5px; font-size: clamp(0.6rem, 2.5vw, 0.85rem); } }

.contact-section { width: min(900px, calc(100% - 40px)); margin: 40px auto; color: #1f2933; }
.contact-section h2 { color: #005890; font-size: 1.7rem; }
.contact-section form { padding: 28px; border: 3px solid #005890; border-radius: 10px; background: #f0f6fa; }
.contact-section label { display: block; font-weight: 700; margin-bottom: 18px; }
.contact-section input, .contact-section textarea { display: block; width: 100%; box-sizing: border-box; margin-top: 7px; padding: 12px; border: 1px solid #9fb9ca; border-radius: 5px; font: inherit; font-size: 1rem; background: white; color: black; }
.contact-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.contact-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.contact-privacy { font-size: .85rem; line-height: 1.6; }
.contact-privacy-link { border: 0; background: transparent; padding: 0; color: #005890; text-decoration: underline; font: inherit; cursor: pointer; }
.contact-submit { border: 0; border-radius: 6px; padding: 12px 20px; background: #fa6018; color: black; font: inherit; font-weight: 700; cursor: pointer; }
.contact-submit:disabled { opacity: .6; cursor: wait; }
#contact-result { line-height: 1.6; }
@media (max-width: 580px) { .contact-fields { grid-template-columns: 1fr; gap: 0; } .contact-section form { padding: 20px; } }

.hero-contact .content-slogan, .slogan-first-line, .slogan-last-line { text-align: right; }
.hero-contact .hero-phone { justify-content: flex-end; gap: 8px; }
@media (max-width: 760px) { .hero-contact .hero-phone { font-size: clamp(0.72rem, 2.2vw, 1.1rem); gap: 5px; } }

.hero-contact .content-slogan, .slogan-first-line, .slogan-last-line { text-align: left; }

.service-actions { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin: auto 22px 0; }
.service-card .service-actions .service-appointment { margin: 0; align-self: auto; }
.service-inquiry { display: block; padding: 11px 16px; border-radius: 6px; background: #005890; color: #ffffff; font-weight: 700; font-size: 1rem; line-height: 1.35; text-decoration: none; }
.service-inquiry:hover { background: #00456f; text-decoration: underline; }
.service-inquiry:focus-visible { outline: 3px solid #005890; outline-offset: 3px; }
@media (max-width: 380px) { .service-actions { gap: 8px; margin-left: 14px; margin-right: 14px; } .service-inquiry, .service-card .service-actions .service-appointment { padding: 10px; font-size: .85rem; } }

/* Logo endet stets an der Unterkante der Navigation */
.logo-wrap { top: auto; bottom: 0; }
.site-header { padding-top: 76px; }
@media (max-width: 760px) { .site-header { padding-top: 58px; } .logo-wrap { top: auto; bottom: 0; } }

.header-brand-group { position: absolute; left: max(24px, calc((100% - 1200px) / 2)); bottom: 0; display: flex; align-items: flex-start; gap: 14px; z-index: 20; }
.header-brand-group .logo-wrap { position: relative; left: auto; top: auto; bottom: auto; width: 240px; max-width: none; flex-shrink: 0; }
.header-phone { display: block; padding-top: 2px; color: #005890; font-weight: 700; font-size: 1.15rem; line-height: 1.2; white-space: nowrap; text-decoration: none; }
.header-phone:hover { text-decoration: underline; }
@media (max-width: 760px) {
 .header-brand-group { left: 14px; gap: 8px; }
 .header-brand-group .logo-wrap { width: 155px; }
 .header-phone { font-size: clamp(.65rem, 2.6vw, .95rem); }
}

/* Telefonnummer nutzt den freien Bereich oberhalb der Navigation. */
.header-brand-group {
  --brand-width: 240px;
  --navigation-height: 72px;
  --brand-height: calc((var(--brand-width) - 6px) * 916 / 1716 + 6px);
  height: var(--brand-height);
}
.header-phone {
  padding: 0;
  font-size: calc((var(--brand-height) - var(--navigation-height) - 6px) / .72);
  line-height: .72;
  font-variant-numeric: lining-nums;
}
@media (max-width: 760px) {
  .header-brand-group { --brand-width: 155px; --navigation-height: 64px; }
}

/* Gemeinsamer Abstand der beiden Texte zur Navigationsleiste. */
.site-header {
  --brand-width: 240px;
  --navigation-height: 72px;
  --brand-height: calc((var(--brand-width) - 6px) * 916 / 1716 + 6px);
  --header-text-gap: calc((var(--brand-height) - var(--navigation-height)) * .1 + 5.4px);
}
.header-phone {
  font-size: calc((var(--brand-height) - var(--navigation-height) - 6px) * .9 / .72);
  -webkit-text-stroke: 0;
  paint-order: stroke fill;
  text-shadow: none;
}
.service-credit {
  top: auto;
  bottom: calc(var(--navigation-height) + var(--header-text-gap));
  line-height: 1;
}
@media (max-width: 760px) {
  .site-header { --brand-width: 155px; --navigation-height: 64px; }
  .header-phone { -webkit-text-stroke: 0; }
  .service-credit { top: auto; }
}

/* Telefonnummer rechts oberhalb der Navigation; Logo bleibt links. */
.navbar > .header-phone {
  position: absolute;
  right: max(24px, calc((100% - 1200px) / 2));
  bottom: calc(100% + var(--header-text-gap));
  z-index: 20;
}
@media (max-width: 760px) {
  .navbar > .header-phone { right: 14px; }
}

.navbar > .header-phone {
  display: inline-flex;
  align-items: center;
  gap: .3em;
  font-size: calc((var(--brand-height) - var(--navigation-height) - 6px) * .9 * .7 / .72);
}
.header-phone-icon { width: .82em; height: .82em; flex: 0 0 auto; }

.hero-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 18px; width: 100%; }
.hero-action { display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 12px; border-radius: 7px; text-decoration: none; text-align: center; font-size: clamp(.8rem, 1.15vw, 1rem); font-weight: 700; line-height: 1.2; box-shadow: 0 2px 5px rgba(0,0,0,.12); }
.hero-action-blue { background: #005890; color: #fff; }
.hero-action-orange { background: #fa6018; color: #000; }
.hero-action-whatsapp { background: #25d366; color: #073b1b; }
.hero-action:hover { filter: brightness(.94); }
.hero-action:focus-visible { outline: 3px solid #005890; outline-offset: 3px; }
@media (max-width: 760px) {
 .hero-actions { gap: 6px; margin-top: 10px; }
 .hero-action { min-height: 36px; padding: 7px 5px; font-size: clamp(.56rem, 1.9vw, .85rem); }
}

/* Kontaktbuttons direkt unter den unterstützten Systemen. */
.content > .hero-actions { max-width: 620px; width: 100%; margin: 18px auto 26px; }
@media (max-width: 760px) {
 .content > .hero-actions { margin: 14px auto 22px; gap: 10px; }
 .content > .hero-actions .hero-action { min-height: 44px; padding: 10px 8px; font-size: clamp(.75rem, 3vw, 1rem); }
}

.booking-dialog { max-width: 620px; }
.booking-dialog p { line-height: 1.55; }
.booking-dialog label { display: block; font-weight: 700; margin-bottom: 8px; }
.booking-dialog select { width: 100%; padding: 12px; font: inherit; border: 1px solid #005890; border-radius: 6px; background: white; color: #1f2933; }
.booking-status { padding: 12px; background: #edf5fa; border-left: 3px solid #005890; }
.booking-urgent { padding-top: 12px; border-top: 1px solid #ddd; }
.booking-urgent a { color: #005890; font-weight: 700; }

.booking-dialog input, .booking-dialog textarea { width:100%; padding:10px; border:1px solid #b5c8d4; border-radius:6px; font:inherit; margin-bottom:12px; }
.booking-dialog select { margin-bottom:12px; }
.booking-dialog textarea { min-height:85px; resize:vertical; }
.booking-dialog [hidden] { display:none !important; }
