* {
  box-sizing: border-box;
}

:root {
  --bg: #ffffff;
  --bg-soft: #f5fbff;
  --bg-blue: #eaf7ff;
  --blue: #1597d4;
  --blue-dark: #0874ad;
  --blue-deep: #075d8a;
  --text: #163042;
  --muted: #647986;
  --line: #dcecf4;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(20, 69, 94, 0.12);
  --shadow-sm: 0 10px 24px rgba(20, 69, 94, 0.08);
  --radius: 22px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

body.no-scroll {
  overflow: hidden;
}

.main_logo
{
  width: 90px;
  display: flex;
  border: #075d8a;
}

.titel
{
  display: flex;
  justify-content: center;
  gap: 58px ;
  background: #075d8a;
  min-width: none;-width: 25px;
  font-size: 1.35rem;
  color: white;
  position: sticky;
}
img {
  display: block;
  max-width: 100%;
}

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

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(220, 236, 244, 0.8);
}

.nav-wrap {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: max-content;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: linear-gradient(145deg, var(--blue), var(--blue-deep));
  font-weight: 800;
  letter-spacing: -0.04em;
  box-shadow: 0 9px 20px rgba(21, 151, 212, 0.22);
}

.brand-text {
  display: grid;
  line-height: 1.1;
}

.brand-text strong {
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.brand-text small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.main-nav a {
  padding: 10px 12px;
  border-radius: 12px;
  color: #36515f;
  font-weight: 600;
  font-size: 0.94rem;
  transition: 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--blue-dark);
  background: var(--bg-blue);
}

.main-nav .nav-cta {
  margin-left: 4px;
  color: var(--white);
  background: var(--blue);
  padding-inline: 17px;
}

.main-nav .nav-cta:hover {
  color: var(--white);
  background: var(--blue-dark);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 12px;
  background: var(--bg-blue);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: 0.2s ease;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 84px 0 76px;
  background:
    radial-gradient(circle at 88% 18%, rgba(95, 200, 245, 0.24), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f6fcff 100%);
}

.hero::after {
  content: "";
  position: absolute;
  width: 340px;
  height: 340px;
  right: -140px;
  bottom: -170px;
  border-radius: 50%;
  background: rgba(179, 229, 250, 0.38);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 70px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--blue-dark);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
}

.hero h1,
.section h2 {
  margin: 0;
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.hero h1 {
  max-width: 780px;
  font-size: clamp(2.65rem, 5vw, 4.85rem);
}

.hero-content > p {
  max-width: 650px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

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

.btn {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 0;
  border-radius: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: var(--white);
  background: var(--blue);
  box-shadow: 0 12px 24px rgba(21, 151, 212, 0.22);
}

.btn-primary:hover {
  background: var(--blue-dark);
  box-shadow: 0 16px 28px rgba(21, 151, 212, 0.28);
}

.btn-secondary {
  color: var(--blue-dark);
  background: var(--white);
  border: 1px solid var(--line);
}

.btn-secondary:hover {
  box-shadow: var(--shadow-sm);
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 48px;
}

.trust-row div {
  display: grid;
  gap: 4px;
}

.trust-row strong {
  font-size: 0.96rem;
}

.trust-row span {
  color: var(--muted);
  font-size: 0.82rem;
}

.hero-card {
  position: relative;
  min-height: 560px;
}

.hero-photo {
  position: absolute;
  inset: 0;
  border-radius: 32px;
  background:
    linear-gradient(180deg, rgba(8, 116, 173, 0.03), rgba(8, 116, 173, 0.12)),
    url("https://images.unsplash.com/photo-1564013799919-ab600027ffc6?auto=format&fit=crop&w=1200&q=90") center/cover;
  box-shadow: var(--shadow);
}

.hero-card::before {
  content: "";
  position: absolute;
  width: 90%;
  height: 90%;
  right: -28px;
  bottom: -28px;
  border-radius: 34px;
  background: var(--bg-blue);
  z-index: -1;
}

.hero-badge {
  position: absolute;
  left: -34px;
  bottom: 34px;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 285px;
  padding: 17px 19px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(220, 236, 244, 0.95);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.badge-icon {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--blue);
  font-weight: 800;
}

.hero-badge div {
  display: grid;
}

.hero-badge small {
  color: var(--muted);
}

.section {
  padding: 94px 0;
}

.section-blue {
  background: var(--bg-blue);
}

.split {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 90px;
  align-items: start;
}

.section h2 {
  font-size: clamp(2rem, 3.6vw, 3.35rem);
}

.text-content {
  color: var(--muted);
  font-size: 1.02rem;
}

.text-content p {
  margin: 0 0 18px;
}

.text-link {
  display: inline-block;
  margin-top: 8px;
  color: var(--blue-dark);
  font-weight: 700;
}

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

.section-head p {
  margin: 18px 0 0;
  color: var(--muted);
}



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

.service-card {
  min-height: 260px;
  padding: 36px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(190, 224, 240, 0.8);
  border-radius: var(--radius);
  box-shadow: 0 8px 28px rgba(22, 77, 103, 0.05);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.section-head a 
{
  border: 1px solid rgb(251, 251, 251);
  padding: 8px;
  margin-top: 12px;
  border: 1px solid cornflowerblue;
  border-radius: 5px;
  background: rgb(255, 255, 255);
  color: rgb(67, 65, 65);
  box-shadow: 0 8px 28px rgba(22, 77, 103, 0.05);
}

.service-card a:hover
{
  color: blue;
  transition: transform 0.50s;
  
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-sm);
}

.service-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: #dff3fd;
  font-size: 1.45rem;
}

.service-card h3 {
  margin: 22px 0 10px;
  font-size: 1.08rem;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}
/*------Fotogalerie-----*/
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 260px;
  gap: 16px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 20px;
  background: #d9eaf2;
  cursor: zoom-in;
  box-shadow: var(--shadow-sm);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease, filter 0.35s ease;
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(5, 49, 70, 0.58));
  opacity: 0.82;
}

.gallery-item span {
  position: absolute;
  left: 20px;
  bottom: 17px;
  z-index: 2;
  color: var(--white);
  font-weight: 700;
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
  transform: scale(1.08);
  filter: saturate(1.08);
}

.gallery-large {
  grid-row: span 2;
}

.gallery-wide {
  grid-column: span 2;
}


.section-job {
  padding: 68px 0;
  background: linear-gradient(135deg, var(--blue-deep), var(--blue));
}

/*Job suche*/
.job-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  color: var(--white);
}

.job-card .eyebrow {
  color: #cbefff;
}

.job-card .eyebrow::before {
  background: #cbefff;
}

.job-card h2 {
  max-width: 720px;
}

.job-card p {
  max-width: 730px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.82);
}

.btn-light {
  min-width: 230px;
  color: var(--blue-deep);
  background: var(--white);
  box-shadow: 0 13px 28px rgba(0, 40, 65, 0.18);
}

/*-------Kontakt-------*/
.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 66px;
  align-items: start;
}

.contact-info > p {
  color: var(--muted);
  max-width: 470px;
}

.contact-card,
.contact-note {
  margin-top: 28px;
  padding: 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(190, 224, 240, 0.88);
}

.contact-card {
  display: grid;
  gap: 5px;
}

.contact-card span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.contact-card a {
  color: var(--blue-dark);
  font-weight: 700;
  word-break: break-word;
}

.contact-note p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.contact-form {
  padding: 30px;
  background: var(--white);
  border: 1px solid rgba(190, 224, 240, 0.9);
  border-radius: 24px;
  box-shadow: var(--shadow-sm);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  margin-bottom: 17px;
  color: #2e4857;
  font-size: 0.88rem;
  font-weight: 700;
}

input,
textarea {
  width: 100%;
  border: 1px solid #cfe3ed;
  border-radius: 12px;
  background: #fbfdfe;
  color: var(--text);
  padding: 13px 14px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

input:focus,
textarea:focus {
  border-color: var(--blue);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(21, 151, 212, 0.11);
}

textarea {
  resize: vertical;
  min-height: 140px;
}

.services-fieldset {
  margin: 2px 0 18px;
  padding: 0;
  border: 0;
}

.services-fieldset legend {
  color: #2e4857;
  font-size: 0.88rem;
  font-weight: 700;
}

.field-help {
  margin: 4px 0 11px;
  color: var(--muted);
  font-size: 0.78rem;
}

.checkbox-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.contact-form .check-card {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  margin: 0;
  padding: 11px 12px;
  border: 1px solid #d7e8f0;
  border-radius: 12px;
  background: #fbfdfe;
  cursor: pointer;
  font-size: 0.83rem;
  transition: 0.2s ease;
}

.check-card:hover {
  border-color: #a7d6ea;
  background: #f4fbff;
}

.check-card input {
  width: 17px;
  height: 17px;
  margin: 0;
  accent-color: var(--blue);
}

.privacy-check {
  display: flex !important;
  align-items: flex-start;
  gap: 10px !important;
  font-weight: 500 !important;
  color: var(--muted) !important;
}

.privacy-check input {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  margin-top: 3px;
  accent-color: var(--blue);
}

.submit-btn {
  width: 100%;
  margin-top: 4px;
}

.form-error,
.form-status {
  min-height: 18px;
  margin: 7px 0 0;
  font-size: 0.82rem;
}

.form-error {
  color: #b3261e;
}

.form-status {
  color: var(--blue-dark);
  text-align: center;
}

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

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 0.84rem;
}

.footer-brand .brand-text strong {
  color: var(--white);
}

.footer-brand .brand-text small {
  color: rgba(255, 255, 255, 0.58);
}

.site-footer a {
  color: #b8e8ff;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: 30px;
  background: rgba(3, 26, 38, 0.9);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.lightbox.open {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: min(1120px, 92vw);
  max-height: 85vh;
  border-radius: 18px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.3);
}

.lightbox-close {
  position: absolute;
  top: 22px;
  right: 28px;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

/*Handy und Tablet*/
@media (max-width: 980px) {
  .nav-toggle {
    display: flex;
  }
  .titel a
  {
    font-size: 11px;
    padding: 10px;
    position: static;
  }
  .main-nav {
    position: absolute;
    top: 78px;
    left: 20px;
    right: 20px;
    display: grid;
    gap: 4px;
    padding: 14px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
    opacity: 0;
    transform: translateY(-10px);
    visibility: hidden;
    transition: 0.22s ease;
  }

  .main-nav.open {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
  }

  .main-nav .nav-cta {
    margin-left: 0;
    text-align: center;
  }

  .hero-grid,
  .split,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 48px;
  }

  .hero-card {
    min-height: 500px;
  }

  .hero-badge {
    left: 24px;
  }

  .split,
  .contact-grid {
    gap: 38px;
  }

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

  .job-card {
    align-items: flex-start;
    flex-direction: column;
    gap: 28px;
  }

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

  .gallery-wide {
    grid-column: span 1;
  }

  .footer-grid {
    flex-wrap: wrap;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1160px);
  }

  .nav-wrap {
    min-height: 70px;
  }

  .main-nav {
    top: 70px;
    left: 14px;
    right: 14px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .hero {
    padding: 62px 0 54px;
  }

  .hero h1 {
    font-size: clamp(2.35rem, 13vw, 3.5rem);
  }

  .hero-content > p {
    font-size: 1rem;
  }

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

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

  .hero-card {
    min-height: 390px;
  }

  .hero-card::before {
    display: none;
  }

  .hero-photo {
    border-radius: 24px;
  }

  .hero-badge {
    left: 14px;
    right: 14px;
    bottom: 14px;
    max-width: none;
  }

  .section {
    padding: 70px 0;
  }

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

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

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 250px;
  }

  .gallery-large,
  .gallery-wide {
    grid-row: span 1;
    grid-column: span 1;
  }

  .form-row,
  .checkbox-grid {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 22px 18px;
  }

  .footer-grid {
    align-items: flex-start;
    flex-direction: column;
  }

  .lightbox {
    padding: 16px;
  }
}

/* Startseite: vollflächiges Hero-Foto für Hauswartung & Reinigung */
.hero.hero-full {
  position: relative;
  min-height: 720px;
  display: flex;
  align-items: center;
  padding: 110px 0 90px;
  background:
    url("https://images.unsplash.com/photo-1581578731548-c64695cc6952?auto=format&fit=crop&w=2000&q=90") center 38% / cover no-repeat;
}

.hero.hero-full::after {
  display: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 36, 52, 0.90) 0%, rgba(5, 51, 74, 0.76) 42%, rgba(5, 51, 74, 0.34) 72%, rgba(5, 51, 74, 0.20) 100%),
    linear-gradient(180deg, rgba(6, 46, 66, 0.12), rgba(6, 46, 66, 0.30));
}

.hero-full-content {
  position: relative;
  z-index: 2;
  width: min(1160px, calc(100% - 40px));
}

.hero-full .hero-content {
  max-width: 770px;
  color: #ffffff;
}

.hero-full .hero-content > p {
  color: rgba(255, 255, 255, 0.86);
  max-width: 680px;
}

.hero-full .eyebrow {
  color: #d7f3ff;
}

.hero-full .eyebrow::before {
  background: #7fd8ff;
}

.hero-full .btn-secondary {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.48);
  backdrop-filter: blur(8px);
}

.hero-full .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.20);
}

.trust-row-hero {
  max-width: 700px;
}

.trust-row-hero strong {
  color: #ffffff;
}

.trust-row-hero span {
  color: rgba(255, 255, 255, 0.72);
}

@media (max-width: 980px) {
  .hero.hero-full {
    min-height: 650px;
    background-position: 62% center;
  }

  .hero-overlay {
    background: linear-gradient(90deg, rgba(5, 36, 52, 0.92) 0%, rgba(5, 51, 74, 0.76) 58%, rgba(5, 51, 74, 0.46) 100%);
  }
}

@media (max-width: 640px) {
  .hero.hero-full {
    min-height: 700px;
    padding: 78px 0 62px;
    background-position: 66% center;
  }

  .hero-full-content {
    width: min(100% - 28px, 1160px);
  }

  .hero-overlay {
    background: linear-gradient(180deg, rgba(5, 36, 52, 0.86) 0%, rgba(5, 51, 74, 0.78) 56%, rgba(5, 51, 74, 0.90) 100%);
  }
}

