:root {
  --blue: #159ed3;
  --blue-dark: #0f3a5a;
  --blue-deep: #123451;
  --green: #17b83e;
  --green-dark: #0c7f33;
  --yellow: #f2d21b;
  --yellow-soft: #fff6bf;
  --ink: #17212b;
  --muted: #5e6b76;
  --line: #dde6ec;
  --surface: #ffffff;
  --surface-soft: #f5f9fb;
  --sand: #f7f1df;
  --shadow: 0 18px 50px rgba(18, 52, 81, 0.14);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--surface);
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

svg {
  display: block;
}

:focus-visible {
  outline: 3px solid rgba(21, 158, 211, 0.45);
  outline-offset: 3px;
}

.container {
  width: min(100% - 48px, 1180px);
  margin: 0 auto;
}

.section-pad {
  padding: 96px 0;
}

section[id] {
  scroll-margin-top: 92px;
}

/* === Legal Page (Impressum / Datenschutz) === */
.legal-main {
  padding: 170px 0 80px;
  background: var(--surface);
}

.legal-content {
  max-width: 820px;
}

.legal-content .section-kicker {
  color: var(--blue);
}

.legal-title {
  margin-bottom: 36px;
  color: var(--blue-deep);
  font-size: 3rem;
  line-height: 1.1;
  font-weight: 800;
}

.legal-content section {
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.legal-content section:last-of-type {
  border-bottom: none;
}

.legal-content h2 {
  margin-bottom: 12px;
  color: var(--blue-deep);
  font-size: 1.35rem;
  line-height: 1.3;
  font-weight: 800;
}

.legal-content p {
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.7;
}

.legal-content a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-content a:hover {
  color: var(--blue-dark);
}

.legal-back {
  margin-top: 40px;
}

.legal-back a {
  display: inline-block;
  font-weight: 700;
  color: var(--blue);
  text-decoration: none;
}

.legal-back a:hover {
  text-decoration: underline;
}

@media (max-width: 680px) {
  .legal-main {
    padding: 130px 0 60px;
  }

  .legal-title {
    font-size: 2.2rem;
  }
}
/* === Ende Legal Page === */

.section-kicker,
.eyebrow,
.badge {
  margin: 0 0 14px;
  color: var(--green-dark);
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  color: #ffffff;
  font-size: 4rem;
  line-height: 1.03;
  font-weight: 800;
  letter-spacing: 0;
  text-wrap: balance;
}

h2 {
  margin-bottom: 20px;
  color: var(--blue-deep);
  font-size: 2.5rem;
  line-height: 1.14;
  font-weight: 800;
  letter-spacing: 0;
  text-wrap: balance;
}

h3 {
  margin-bottom: 12px;
  color: var(--blue-deep);
  font-size: 1.3rem;
  line-height: 1.25;
  letter-spacing: 0;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 24px;
  min-height: 130px;
  padding: 12px 34px;
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(221, 230, 236, 0.75);
  backdrop-filter: blur(16px);
  transition: box-shadow 180ms ease, min-height 180ms ease, background 180ms ease;
}

.site-header.scrolled {
  min-height: 90px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 32px rgba(18, 52, 81, 0.12);
}

.site-header.scrolled .brand-logo {
  width: 270px;
}

.brand {
  display: flex;
  align-items: center;
  min-width: 0;
}

.brand-logo {
  width: clamp(285px, 22vw, 350px);
  height: auto;
  object-fit: contain;
  flex: 0 0 auto;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 6px;
  min-width: 0;
}

.main-nav a {
  padding: 10px 10px;
  color: var(--blue-deep);
  font-size: 0.84rem;
  font-weight: 700;
  border-radius: 999px;
  transition: background 180ms ease, color 180ms ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--blue-dark);
  background: rgba(21, 158, 211, 0.1);
}

.header-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 42px;
  padding: 0 16px;
  color: var(--blue-deep);
  border-radius: 999px;
  font-weight: 800;
  white-space: nowrap;
  pointer-events: none;
  cursor: default;
}

.header-call svg,
.button svg,
.contact-items svg,
.badge svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  flex: 0 0 auto;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  color: var(--blue-deep);
  background: rgba(21, 158, 211, 0.1);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  border-radius: 999px;
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  inset: 78px 16px auto;
  z-index: 45;
  display: none;
  padding: 14px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.mobile-nav.open {
  display: grid;
}

.mobile-nav a {
  padding: 14px;
  color: var(--blue-deep);
  font-weight: 800;
  border-bottom: 1px solid var(--line);
}

.mobile-nav a:last-child {
  border-bottom: 0;
}

.hero {
  position: relative;
  display: grid;
  min-height: calc(100svh - 96px);
  max-height: 760px;
  overflow: hidden;
  background: var(--blue-deep);
  isolation: isolate;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(13, 35, 52, 0.88) 0%, rgba(13, 35, 52, 0.62) 40%, rgba(13, 35, 52, 0.1) 78%),
    linear-gradient(180deg, rgba(13, 35, 52, 0.44) 0%, rgba(13, 35, 52, 0.12) 34%, rgba(13, 35, 52, 0.48) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  align-self: center;
  width: min(100% - 48px, 1180px);
  margin: 72px auto 120px;
  padding-top: 96px;
}

.hero-content .eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 4px 12px;
  color: var(--blue-deep);
  background: rgba(242, 210, 27, 0.95);
  border-radius: 999px;
}

.hero-content p:not(.eyebrow) {
  max-width: 660px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.94);
  font-size: 1.2rem;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  color: #ffffff;
  background: var(--blue);
  box-shadow: 0 16px 36px rgba(21, 158, 211, 0.28);
}

.button.primary:hover {
  background: #0d8ec1;
}

.button.secondary {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
}

/* "Direkt anrufen" Button im Hero: nur auf Mobile/Tablet sichtbar */
.hero-actions .secondary {
  display: none;
}

.button.compact {
  min-height: 42px;
  padding: 0 16px;
  font-size: 0.94rem;
}

.form-button {
  width: 100%;
}

.form-privacy {
  margin: 4px 0 12px;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--muted);
}

.form-privacy a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-privacy a:hover {
  color: var(--blue-dark);
}

/* Honeypot: Versteckt für Menschen, sichtbar für Bots */
.honeypot {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Fehler-Container, wird via JS bei ?fehler=1 eingeblendet */
.form-error {
  margin: 0 0 16px;
  padding: 14px 16px;
  border-radius: var(--radius);
  background: #fdecec;
  border: 1px solid #f3b9b9;
  color: #8c1f1f;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.45;
}

/* Danke-Seite: Erfolgs-Icon */
.thanks-page {
  text-align: left;
}

.thanks-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  margin-bottom: 28px;
  border-radius: 50%;
  background: rgba(23, 184, 62, 0.12);
}

.thanks-icon svg {
  width: 38px;
  height: 38px;
  fill: none;
  stroke: var(--green-dark);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.thanks-lead {
  font-size: 1.15rem;
  line-height: 1.6;
  margin-bottom: 28px;
}

.thanks-contact {
  margin: 28px 0;
  padding: 22px 24px;
  background: var(--surface-soft);
  border-left: 4px solid var(--green);
  border-radius: var(--radius);
}

.thanks-contact strong {
  display: block;
  margin-bottom: 10px;
  color: var(--blue-deep);
}

.thanks-contact ul {
  margin: 0;
  padding-left: 18px;
  line-height: 1.8;
}

.thanks-contact a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hero-facts {
  position: absolute;
  right: 34px;
  bottom: 28px;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, minmax(150px, 1fr));
  gap: 1px;
  overflow: hidden;
  width: min(620px, calc(100% - 68px));
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-facts div {
  padding: 18px;
  background: rgba(255, 255, 255, 0.93);
}

.hero-facts strong,
.hero-facts span {
  display: block;
}

.hero-facts strong {
  color: var(--blue-deep);
  font-size: 1.05rem;
}

.hero-facts span {
  color: var(--muted);
  font-size: 0.9rem;
}

.two-col {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 76px;
  align-items: start;
}

.intro {
  background:
    linear-gradient(180deg, #ffffff 0%, var(--surface-soft) 100%);
  border-bottom: 1px solid var(--line);
}

.intro-copy {
  columns: 2;
  column-gap: 36px;
  color: var(--muted);
  font-size: 1.04rem;
}

.intro-copy p {
  break-inside: avoid;
  margin-bottom: 0;
}

.identity {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, #ffffff 0%, #f8fbfc 62%, var(--sand) 100%);
}

.identity::before {
  content: "";
  position: absolute;
  inset: 34px auto auto -70px;
  width: 280px;
  height: 140px;
  border-top: 10px solid rgba(21, 158, 211, 0.16);
  border-radius: 50%;
  transform: rotate(-10deg);
}

.identity-grid {
  display: grid;
  grid-template-columns: minmax(330px, 0.82fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}

.identity-media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.identity-media::before {
  content: "";
  display: block;
  aspect-ratio: 4 / 5;
}

.identity-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.identity-badge {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  display: grid;
  gap: 2px;
  padding: 16px 18px;
  color: var(--blue-deep);
  background: rgba(255, 255, 255, 0.92);
  border-left: 5px solid var(--yellow);
  border-radius: var(--radius);
  box-shadow: 0 16px 34px rgba(18, 52, 81, 0.16);
  backdrop-filter: blur(10px);
}

.identity-badge strong {
  font-size: 1.08rem;
}

.identity-badge span {
  color: var(--muted);
}

.identity-copy {
  max-width: 650px;
}

.identity-copy p {
  color: var(--muted);
  font-size: 1.05rem;
}

.maritime-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 32px;
}

.maritime-list div {
  position: relative;
  min-height: 190px;
  padding: 22px;
  overflow: hidden;
  color: #ffffff;
  background: var(--blue-deep);
  border-radius: var(--radius);
}

.maritime-list div::before {
  content: "";
  position: absolute;
  inset: auto -20px -26px 28px;
  height: 62px;
  border-top: 8px solid rgba(242, 210, 27, 0.62);
  border-radius: 50%;
}

.maritime-list div:nth-child(2) {
  background: #0b5f6f;
}

.maritime-list div:nth-child(3) {
  background: #16613b;
}

.maritime-list strong,
.maritime-list span {
  position: relative;
  z-index: 1;
  display: block;
}

.maritime-list strong {
  margin-bottom: 10px;
  color: var(--yellow);
}

.maritime-list span {
  color: rgba(255, 255, 255, 0.82);
}

.motto {
  background: #ffffff;
}

.section-head {
  max-width: 760px;
  margin-bottom: 42px;
}

.section-head p {
  color: var(--muted);
  font-size: 1.06rem;
}

.section-head.centered {
  margin-inline: auto;
  text-align: center;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.value-card,
.service-card,
.budget-box,
.contact-form,
.territory-points div {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 10px 30px rgba(18, 52, 81, 0.07);
}

.value-card {
  display: grid;
  gap: 12px;
  padding: 30px;
  text-align: center;
}

.value-card p,
.service-card p,
.feature-copy p,
.territory-grid p,
.contact-copy p {
  color: var(--muted);
}

.icon-disc {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  margin: 0 auto 6px;
  border-radius: 999px;
}

.icon-disc svg,
.service-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.icon-disc.blue {
  color: var(--blue);
  background: rgba(21, 158, 211, 0.12);
}

.icon-disc.green {
  color: var(--green-dark);
  background: rgba(23, 184, 62, 0.12);
}

.icon-disc.yellow {
  color: #9b7b00;
  background: rgba(242, 210, 27, 0.28);
}

.services {
  background:
    linear-gradient(180deg, var(--surface-soft) 0%, #ffffff 100%);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  position: relative;
  min-height: 250px;
  padding: 26px;
  overflow: hidden;
}

.service-card::after {
  content: "";
  position: absolute;
  right: -42px;
  bottom: -54px;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(21, 158, 211, 0.12), transparent 64%);
  pointer-events: none;
}

.service-icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  margin-bottom: 24px;
  color: var(--blue);
  background: rgba(21, 158, 211, 0.1);
  border-radius: var(--radius);
}

.image-band {
  position: relative;
  display: grid;
  min-height: 620px;
  overflow: hidden;
  background: var(--blue-deep);
}

.image-band img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(18, 52, 81, 0.84), rgba(18, 52, 81, 0.48), rgba(18, 52, 81, 0.06));
}

.image-band-copy {
  position: relative;
  z-index: 1;
  align-self: center;
  width: min(100% - 48px, 1180px);
  margin: 0 auto;
  color: #ffffff;
}

.image-band-copy h2,
.image-band-copy p {
  max-width: 600px;
  color: #ffffff;
}

.image-band-copy .section-kicker {
  color: var(--yellow);
}

.care {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(18, 52, 81, 0.98), rgba(10, 94, 112, 0.94)),
    var(--blue-deep);
}

.care::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(21, 158, 211, 0.16), transparent 38%),
    radial-gradient(circle at 82% 22%, rgba(242, 210, 27, 0.18), transparent 28%);
  pointer-events: none;
}

.care-head {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 56px;
  align-items: end;
  margin-bottom: 34px;
}

.care-head .section-kicker {
  grid-column: 1 / -1;
  margin-bottom: -36px;
  color: var(--yellow);
}

.care-head h2 {
  margin-bottom: 0;
  color: #ffffff;
}

.care-head p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
}

.care-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 42px;
  align-items: stretch;
  padding: 48px;
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: var(--radius);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.22);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 30px;
  padding: 4px 12px;
  color: var(--blue-deep);
  background: rgba(242, 210, 27, 0.22);
  border-radius: 999px;
}

.care-content .lead {
  max-width: 820px;
  color: var(--muted);
  font-size: 1.15rem;
}

.care-subtitle {
  margin-bottom: 14px;
  color: var(--blue-deep);
  font-size: 2.15rem;
  line-height: 1.12;
}

.fine-print {
  margin: -8px 0 18px;
  color: #6d7a84;
  font-size: 0.9rem;
}

.check-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 30px;
  padding: 10px 0 28px;
  margin: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 34px;
  font-weight: 700;
  color: #354452;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: rgba(242, 210, 27, 0.28);
}

.check-list li::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 10px;
  width: 8px;
  height: 5px;
  border-left: 2px solid var(--green-dark);
  border-bottom: 2px solid var(--green-dark);
  transform: rotate(-45deg);
}

.advantage {
  display: grid;
  gap: 6px;
  padding: 20px 22px;
  background: var(--surface-soft);
  border-left: 5px solid var(--green);
  border-radius: var(--radius);
}

.care-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.care-steps div {
  display: grid;
  gap: 8px;
  min-height: 160px;
  padding: 18px;
  color: #ffffff;
  background: var(--blue-deep);
  border-radius: var(--radius);
}

.care-steps span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--blue-deep);
  background: var(--yellow);
  border-radius: 999px;
  font-weight: 900;
}

.care-steps strong {
  color: #ffffff;
}

.care-steps p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.92rem;
}

.advantage strong {
  color: var(--blue-deep);
}

.advantage span {
  color: var(--muted);
}

.budget-box {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  min-height: 430px;
  padding: 38px;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(242, 210, 27, 0.24), rgba(23, 184, 62, 0.12)),
    var(--surface-soft);
  border: 2px solid rgba(242, 210, 27, 0.62);
  box-shadow: 0 22px 44px rgba(18, 52, 81, 0.12);
}

.budget-box small {
  color: var(--green-dark);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.budget-box .euro {
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  color: var(--blue-deep);
  background: #ffffff;
  border-radius: 999px;
  font-size: 2.5rem;
  font-weight: 800;
  box-shadow: inset 0 0 0 8px rgba(21, 158, 211, 0.1);
}

.budget-box strong {
  color: var(--blue-deep);
  font-size: 4.5rem;
  line-height: 1;
}

.budget-box span {
  color: var(--muted);
  margin-bottom: 14px;
}

.detail {
  background: #ffffff;
}

.winter {
  background:
    linear-gradient(180deg, #ffffff 0%, var(--surface-soft) 100%);
}

.split-feature {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 58px;
  align-items: center;
}

.split-feature.reverse {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 0.8fr);
}

.feature-media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.feature-media::before {
  content: "";
  display: block;
  aspect-ratio: 4 / 3;
}

.feature-media.portrait::before {
  aspect-ratio: 4 / 5;
}

.feature-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-copy {
  max-width: 590px;
}

.process-list {
  display: grid;
  gap: 14px;
  margin-top: 30px;
}

.process-list div {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 3px 16px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.process-list span {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--blue-deep);
  background: var(--yellow-soft);
  border-radius: 999px;
  font-weight: 800;
}

.process-list strong {
  color: var(--blue-deep);
}

.process-list p {
  margin: 0;
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  margin-top: 10px;
  color: var(--blue-deep);
  font-weight: 800;
  border-bottom: 3px solid var(--yellow);
}

.territory {
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(18, 52, 81, 0.96), rgba(14, 78, 92, 0.93)),
    var(--blue-deep);
}

.territory .section-kicker,
.territory h2,
.territory p {
  color: #ffffff;
}

.territory-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}

.territory-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.territory-points div {
  display: grid;
  gap: 8px;
  min-height: 180px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: none;
  backdrop-filter: blur(8px);
}

.territory-points strong {
  color: var(--yellow);
  font-size: 1.2rem;
}

.territory-points span {
  color: rgba(255, 255, 255, 0.82);
}

.contact {
  background:
    linear-gradient(180deg, #ffffff, var(--surface-soft));
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 56px;
  align-items: start;
}

.contact-items {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.contact-items a,
.contact-items div {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: center;
  min-height: 64px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.contact-items svg {
  justify-self: center;
  width: 24px;
  height: 24px;
  color: var(--blue);
}

.contact-items span {
  display: grid;
  color: var(--muted);
}

.contact-items strong {
  color: var(--blue-deep);
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: 30px;
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--blue-deep);
  font-weight: 800;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 14px;
  color: var(--ink);
  background: #ffffff;
  transition: border 180ms ease, box-shadow 180ms ease;
}

.contact-form textarea {
  resize: vertical;
  min-height: 130px;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: var(--blue);
  outline: 0;
  box-shadow: 0 0 0 4px rgba(21, 158, 211, 0.13);
}

.site-footer {
  padding: 28px 0;
  color: rgba(255, 255, 255, 0.78);
  background: #0d263b;
}

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

.site-footer strong,
.site-footer span {
  display: block;
}

.site-footer strong {
  color: #ffffff;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
}

.site-footer a:hover {
  color: #ffffff;
}

@media (max-width: 1160px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
  }

  .main-nav {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .header-call {
    justify-self: end;
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 900px) {
  .section-pad {
    padding: 72px 0;
  }

  /* "Direkt anrufen" Button auf Mobile/Tablet sichtbar machen */
  .hero-actions .secondary {
    display: inline-flex;
  }

  /* Telefonnummer im Header auf Mobile/Tablet klickbar mit Button-Optik */
  .header-call {
    color: #ffffff;
    background: var(--blue-deep);
    box-shadow: 0 10px 24px rgba(18, 52, 81, 0.18);
    pointer-events: auto;
    cursor: pointer;
  }

  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2.05rem;
  }

  .site-header {
    padding-inline: 20px;
  }

  .brand-logo {
    width: 220px;
    max-height: 82px;
  }

  .hero {
    display: block;
    min-height: auto;
    max-height: none;
    padding-bottom: 24px;
  }

  .hero-content {
    align-self: start;
    margin-top: 0;
    margin-bottom: 28px;
    padding-top: 142px;
  }

  .hero-facts {
    position: relative;
    right: auto;
    left: auto;
    bottom: auto;
    width: min(100% - 48px, 620px);
    margin: 0 auto;
    grid-template-columns: 1fr;
  }

  .hero-facts div {
    padding: 14px 16px;
  }

  .two-col,
  .identity-grid,
  .split-feature,
  .split-feature.reverse,
  .territory-grid,
  .contact-grid,
  .care-shell {
    grid-template-columns: 1fr;
  }

  .care-head {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .care-head .section-kicker {
    grid-column: auto;
    margin-bottom: 0;
  }

  .intro-copy {
    columns: 1;
  }

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

  .maritime-list {
    grid-template-columns: 1fr;
  }

  .care-steps {
    grid-template-columns: 1fr;
  }

  .maritime-list div {
    min-height: auto;
  }

  .care-shell {
    padding: 28px;
  }

  .budget-box {
    min-height: 300px;
  }

  .image-band {
    min-height: 540px;
  }
}

@media (max-width: 680px) {
  .container,
  .hero-content,
  .image-band-copy {
    width: min(100% - 32px, 1180px);
  }

  .site-header {
    min-height: 76px;
    gap: 10px;
    padding: 10px 16px;
  }

  .identity-grid {
    gap: 34px;
  }

  .identity-badge {
    left: 14px;
    right: 14px;
    bottom: 14px;
  }

  .brand-logo {
    width: 150px;
    max-height: 56px;
  }

  .header-call {
    width: 44px;
    min-width: 44px;
    height: 44px;
    padding: 0;
    overflow: hidden;
    color: #ffffff;
    background: var(--blue-deep);
    box-shadow: 0 10px 24px rgba(18, 52, 81, 0.18);
    font-size: 0;
    gap: 0;
    pointer-events: auto;
    cursor: pointer;
  }

  .header-call svg {
    color: #ffffff;
    stroke: #ffffff;
  }

  .mobile-nav {
    inset: 76px 12px auto;
  }

  .hero-content {
    padding-top: 112px;
    margin-bottom: 22px;
  }

  .hero-content .eyebrow {
    font-size: 0.76rem;
  }

  h1 {
    font-size: 2.35rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  .hero-content p:not(.eyebrow) {
    font-size: 1.03rem;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .hero-actions {
    display: grid;
  }

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

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

  .care-shell {
    padding: 22px;
  }

  .care-subtitle {
    font-size: 1.75rem;
  }

  .budget-box {
    padding: 26px;
  }

  .budget-box strong {
    font-size: 3.5rem;
  }

  .contact-form {
    padding: 22px;
  }

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

  .site-footer nav {
    justify-content: flex-start;
  }
}

@media (max-width: 430px) {
  .brand-logo {
    width: 138px;
    max-height: 52px;
  }

  h1 {
    font-size: 2.05rem;
  }

  .hero-content {
    padding-top: 104px;
    margin-bottom: 20px;
  }

  .hero-facts {
    right: 16px;
    left: 16px;
  }
}

/* =====================================================================
   LEISTUNGS-KACHELN: Klickbar, "Mehr erfahren"-Link, Active-State
   ===================================================================== */

.service-card {
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  border: 1px solid var(--line);
  background: #ffffff;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  /* Mobile-Optimierung: keine 300ms Tap-Verzögerung, visuelles Tap-Feedback,
     keine Text-Selektion beim Long-Press */
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(21, 158, 211, 0.18);
  -webkit-user-select: none;
  user-select: none;
}

/* Hover-Effekt nur auf Geräten mit echtem Hover (Maus), nicht auf Touch.
   Verhindert "Sticky Hover" auf Mobile, wo der Hover-Zustand nach dem Tap hängenbleibt. */
@media (hover: hover) {
  .service-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(18, 52, 81, 0.10);
    border-color: rgba(21, 158, 211, 0.35);
  }

  .service-card:hover .service-card-more {
    gap: 10px;
  }

  .service-card:hover .service-card-more svg {
    transform: translateX(2px);
  }
}

.service-card:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

/* Active-Tap-Feedback auf Mobile: kurze Verkleinerung */
.service-card:active {
  transform: scale(0.985);
}

.service-card.is-active {
  border-color: var(--blue);
  box-shadow: 0 14px 30px rgba(21, 158, 211, 0.18);
}

.service-card.is-active::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--yellow);
  border-radius: var(--radius) var(--radius) 0 0;
}

.service-card-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 14px;
  color: var(--blue-deep);
  font-weight: 700;
  font-size: 14px;
  border-bottom: 2px solid var(--yellow);
  align-self: flex-start;
  transition: gap 0.2s ease;
}

.service-card-more svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.2s ease;
}

.service-card p {
  margin-bottom: 8px;
}

/* =====================================================================
   DETAIL-SEKTION: Fade-Übergang beim Wechsel
   ===================================================================== */

#leistung-detail .feature-copy,
#leistung-detail .feature-media {
  transition: opacity 0.18s ease, transform 0.18s ease;
}

#leistung-detail .feature-copy.is-fading,
#leistung-detail .feature-media.is-fading {
  opacity: 0;
  transform: translateY(6px);
}

#leistung-detail {
  scroll-margin-top: 80px;
}
