@font-face {
  font-family: 'Porsche Next';
  src: url('PorscheNext-Thin.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 300;
  font-display: swap;
}

@font-face {
  font-family: 'Porsche Next';
  src: url('PorscheNext-Regular.woff2') format('woff2');
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
}

:root {
  --blue: #0879c2;
  --blue-light: #49adeb;
  --blue-dark: #045286;
  --dark: #080d13;
  --dark2: #111820;
  --grey: #f4f6f8;
  --border: #e4e8ec;
  --text-grey: #626d77;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: 'Porsche Next', Arial, Helvetica, sans-serif;
  background: #fff;
  color: #171b20;
  line-height: 1.75;
}
a {
  color: var(--blue);
}
.container {
  width: min(980px, 90%);
  margin: auto;
}
header {
  background: rgba(6, 10, 14, 0.98);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
nav {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  color: #fff;
  text-decoration: none;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.2px;
}
.back {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
}
.back:hover {
  color: #fff;
}
main {
  padding: 80px 0 95px;
}
.section-label {
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 13px;
}
.section-title {
  font-size: clamp(34px, 5vw, 50px);
  line-height: 1.12;
  letter-spacing: -1px;
  margin-bottom: 14px;
}
.legal-meta {
  color: var(--text-grey);
  font-size: 14px;
  margin-bottom: 34px;
}
.legal-content {
  display: grid;
  gap: 22px;
}
.legal-block {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 30px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.025);
}
.legal-block h3 {
  font-size: 21px;
  margin-bottom: 10px;
}
.legal-block h4 {
  font-size: 17px;
  margin: 18px 0 8px;
}
.legal-block p,
.legal-block li {
  color: var(--text-grey);
}
.legal-block p + p {
  margin-top: 12px;
}
.legal-block ul {
  padding-left: 20px;
  margin-top: 10px;
}
.legal-block li + li {
  margin-top: 6px;
}
.legal-block a {
  text-decoration: underline;
}
.legal-block a:hover {
  text-decoration: underline;
}
footer {
  background: #05080c;
  color: #929ca5;
  padding: 34px 0;
}
.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-legal {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.footer-legal a {
  color: #929ca5;
  text-decoration: none;
  font-size: 14px;
}
.footer-legal a:hover {
  color: var(--blue-light);
}
.copy {
  font-size: 14px;
}
@media (max-width: 700px) {
  main {
    padding: 55px 0 70px;
  }
  .container {
    width: 92%;
  }
  .legal-block {
    padding: 24px 20px;
  }
  nav {
    min-height: 72px;
  }
  .brand {
    font-size: 17px;
  }
}

/* Blocksatz für Fliesstext mit sprachgerechter Silbentrennung */
.legal-block p,
.legal-block li {
  text-align: justify;
  text-align-last: left;
  -webkit-hyphens: auto;
  hyphens: auto;
  word-break: normal;
  overflow-wrap: normal;
  text-wrap: pretty;
}

/* Adressen und Kontaktdaten bleiben linksbündig. */
.legal-block .no-justify {
  text-align: left;
  text-align-last: auto;
  -webkit-hyphens: none;
  hyphens: none;
}

/* =====================================================
   HEADER + FOOTER WIE AUF DER INDEX-SEITE
===================================================== */

header {
  position: static;
  width: 100%;
  z-index: 1000;
  background: rgba(6, 10, 14, 0.93);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

header .container,
footer .container {
  width: min(1200px, 90%);
  margin: auto;
}

nav {
  min-height: 95px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.header-logo {
  display: flex;
  align-items: center;
  background: white;
  padding: 4px 10px;
  border-radius: 9px;
  transition: 0.3s;
}

.header-logo:hover {
  transform: scale(1.025);
}

.header-logo img {
  width: 200px;
  height: 67px;
  display: block;
  object-fit: contain;
}

.back {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  transition:
    color 0.25s,
    transform 0.25s;
}

.back:hover {
  color: #fff;
  transform: translateY(-2px);
}

footer {
  background: #05080c;
  color: #929ca5;
  padding: 70px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 65px;
  padding-bottom: 50px;
}

.footer-logo {
  display: inline-block;
  background: white;
  padding: 9px 14px;
  border-radius: 10px;
  margin-bottom: 22px;
}

.footer-logo img {
  width: 280px;
  max-width: 100%;
  display: block;
}

.footer-brand p {
  max-width: 430px;
  color: #929ca5;
}

.footer-links,
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links h3,
.footer-contact h3 {
  color: white;
  margin-bottom: 8px;
}

.footer-links a,
.footer-contact a {
  color: #929ca5;
  text-decoration: none;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--blue-light);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-legal a {
  color: #929ca5;
  text-decoration: none;
  font-size: 14px;
}

.footer-legal a:hover {
  color: var(--blue-light);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 14px;
}

@media (max-width: 1000px) {
  nav {
    min-height: 82px;
  }

  .header-logo img {
    width: 165px;
    height: auto;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 700px) {
  header .container,
  footer .container {
    width: 92%;
  }

  nav {
    min-height: 70px;
    gap: 14px;
  }

  .header-logo {
    padding: 3px 7px;
  }

  .header-logo img {
    width: 120px;
    height: auto;
  }

  .back {
    font-size: 13px;
  }

  footer {
    padding: 55px 0 25px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-logo img {
    width: 220px;
  }

  .footer-legal {
    gap: 12px 18px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width: 430px) {
  .header-logo img {
    width: 105px;
  }
}

/* Tastaturbedienung und verlässliche Textdarstellung */
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 2000;
  padding: 12px 18px;
  background: #fff;
  color: #045286;
  border-radius: 8px;
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

:where(a, button, summary):focus-visible {
  outline: 3px solid #0879c2;
  outline-offset: 5px;
  box-shadow: 0 0 0 2px #fff;
}

::selection {
  background: #045286;
  color: #fff;
}

main p {
  overflow-wrap: break-word;
}

main p a {
  color: #045286;
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.footer-legal a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

@media (max-width: 700px) {
  main p {
    text-align: left;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* Bildproportionen und Kontrast */
.hero-logo img,
.footer-logo img {
  height: auto;
}

.section-label {
  color: #045286;
}

.hero .section-label,
.hero-label,
.feature-dark .section-label,
.banner .section-label,
.appointment .section-label {
  color: #49adeb;
}

.step-number {
  color: #0879c2;
}
