/* =========================================
   TIP TOP SAUWER – WEBSITE
   Hauptdesign
   ========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: #1f2937;
    background: #ffffff;
    line-height: 1.6;
}

/* ALLGEMEIN */

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
}

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

section {
    padding: 70px 0;
}

h1,
h2,
h3 {
    line-height: 1.2;
}

h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: #083b66;
    margin-bottom: 20px;
}

p {
    margin-bottom: 15px;
}

/* KOPFZEILE */

header {
    background: #ffffff;
    position: static;
    top: 0;
    z-index: 1000;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.10);
}

nav {
    width: min(1180px, 94%);
    min-height: 90px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.logo img {
    width: 180px;
    max-height: 80px;
    object-fit: contain;
}

nav ul {
    display: flex;
    align-items: center;
    gap: 25px;
    list-style: none;
}

nav ul li a {
    color: #083b66;
    font-weight: 700;
    transition: 0.2s ease;
}

nav ul li a:hover {
    color: #10a9c6;
}

/* STARTBEREICH */

.hero {
    min-height: 620px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(
            90deg,
            rgba(4, 43, 77, 0.94) 0%,
            rgba(4, 63, 104, 0.85) 48%,
            rgba(4, 63, 104, 0.38) 100%
        );
    color: #ffffff;
}

.hero-content {
    width: min(1180px, 92%);
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero h1 {
    max-width: 800px;
    font-size: clamp(2.6rem, 6vw, 5rem);
    margin-bottom: 20px;
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.25);
}

.hero p {
    max-width: 720px;
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    margin-bottom: 30px;
}

/* BUTTONS */

.btn,
button {
    display: inline-block;
    background: #11abc8;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 14px 24px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s ease;
}

.btn:hover,
button:hover {
    background: #078ba7;
    transform: translateY(-2px);
}

/* LEISTUNGEN */

.services {
    background: #f4f8fb;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 35px;
}

.service-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 7px 25px rgba(0, 0, 0, 0.08);
    border-top: 5px solid #11abc8;
    transition: 0.25s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.13);
}

.service-card h3 {
    color: #083b66;
    margin-bottom: 12px;
    font-size: 1.35rem;
}

/* ÜBER UNS */

.about {
    background: #ffffff;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 45px;
    align-items: center;
}

.about img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* GALERIE */

.gallery {
    background: #f4f8fb;
}

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

.gallery-grid img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.12);
    transition: 0.25s ease;
}

.gallery-grid img:hover {
    transform: scale(1.02);
}

/* KONTAKT */

.contact {
    background: #083b66;
    color: #ffffff;
}

.contact h2,
.contact h3 {
    color: #ffffff;
}

.contact a {
    color: #7fe8f5;
    font-weight: 700;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

/* FORMULAR */

form {
    display: grid;
    gap: 15px;
}

input,
textarea,
select {
    width: 100%;
    padding: 14px;
    border: 1px solid #d4dce3;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    background: #ffffff;
}

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

/* FOOTER */

footer {
    background: #052b4b;
    color: #ffffff;
    padding: 30px 0;
    text-align: center;
}

footer a {
    color: #7fe8f5;
}

/* HANDY */

@media (max-width: 900px) {

    nav {
        flex-direction: column;
        padding: 15px 0;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px 18px;
    }

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

    .about-content,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: 520px;
    }
}

@media (max-width: 600px) {

    section {
        padding: 50px 0;
    }

    .logo img {
        width: 150px;
    }

    nav ul {
        font-size: 0.9rem;
    }

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

    .gallery-grid img {
        height: 230px;
    }

    .hero {
        min-height: 500px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.05rem;
    }
}.wa {
    position: fixed !important;
    right: 18px !important;
    bottom: 18px !important;
    background: #20b4c6 !important;
    color: white !important;
    padding: 14px 20px !important;
    border-radius: 30px !important;
    text-decoration: none !important;
    font-weight: bold !important;
    z-index: 9999 !important;
    box-shadow: 0 4px 12px rgba(0,0,0,.25) !important;
}
/* ===== FOOTER HANDY KORREKTUR ===== */
@media (max-width: 768px) {

    footer {
        text-align: center;
        padding: 28px 15px;
    }

    /* kein großes zweites Logo im Footer */
    footer img {
        display: none !important;
    }

    footer .wrap {
        width: 100%;
        display: block;
    }

    footer .footBrand,
    footer .footContact {
        text-align: center;
        width: 100%;
    }

    footer strong {
        display: block;
        margin-bottom: 8px;
    }

    footer a {
        display: inline-block;
        margin: 5px 8px;
    }

    footer p {
        margin-top: 12px;
        line-height: 1.6;
    }
}
/* Footer Links sauber trennen */
footer a {
    display: inline-block !important;
    margin: 6px 10px !important;
}

footer strong,
footer b {
    display: block !important;
    margin-bottom: 8px !important;
}
.wa {
  display: inline-block;
  margin: 20px auto;
  padding: 14px 24px;
  background: #25D366;
  color: white !important;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  border-radius: 10px;
  text-align: center;
}

.wa:hover {
  background: #1ebe5d;
}
.wa {
    position: fixed;
    right: 18px;
    bottom: 35px;
    z-index: 9999;
    background: #25D366;
    color: white !important;
    text-decoration: none;
    font-weight: bold;
    font-size: 17px;
    padding: 12px 18px;
    border-radius: 30px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}  
@media (max-width: 700px) {

  body {
    padding-bottom: 0 !important;
  }

  .legalSection {
    padding-bottom: 30px !important;
  }

  footer {
    padding-bottom: 210px !important;
  }

  footer .foot {
    padding-bottom: 0 !important;
  }

  footer p:last-of-type {
    padding-right: 0 !important;
  }

  .wa {
    position: fixed !important;
    right: 18px !important;
    bottom: 18px !important;
    z-index: 9999 !important;
  }
}
@media (max-width: 700px) {
  footer p:last-of-type {
    padding-bottom: 100px !important;
  }
}
@media (max-width: 700px) {
  footer {
    padding-bottom: 130px !important;
  }

  footer .foot {
    padding-bottom: 0 !important;
  }

  footer p:last-of-type {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }

  .wa {
    right: 18px !important;
    bottom: 18px !important;
  }
}
@media (max-width: 700px) {
  footer {
    padding-bottom: 130px !important;
  }

  footer .foot {
    padding-bottom: 0 !important;
  }

  footer p:last-of-type {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }

  .wa {
    right: 18px !important;
    bottom: 18px !important;
  }
}@media (max-width: 700px) {
  footer .foot {
    padding-bottom: 130px !important;
  }
}
@media (max-width: 700px) {
  .legalSection {
    padding-bottom: 10px !important;
  }

  .legalSection p:last-child {
    margin-bottom: 0 !important;
  }

  footer {
    margin-top: 0 !important;
  }
}
@media (max-width: 700px) {

  footer {
    padding-top: 30px !important;
    padding-bottom: 100px !important;
  }

  footer .foot {
    padding-bottom: 0 !important;
    gap: 10px !important;
  }

  .footBrand,
  .footContact,
  .footLinks {
    margin-top: 0 !important;
    margin-bottom: 10px !important;
  }

  .wa {
    right: 12px !important;
    bottom: 12px !important;
    padding: 10px 16px !important;
    font-size: 16px !important;
  }
}@media (max-width: 700px) {

  footer .foot {
    padding-top: 30px !important;
    padding-bottom: 100px !important;
  }

  .footBrand {
    display: block !important;
    position: static !important;
    transform: none !important;
    visibility: visible !important;
    opacity: 1 !important;
    margin: 0 0 20px 0 !important;
    padding: 0 !important;
  }

  .footBrand strong {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .wa {
    right: 12px !important;
    bottom: 12px !important;
  }
}@media (max-width: 700px) {
  footer .foot {
    padding-top: 85px !important;
  }

  .footBrand {
    position: relative !important;
    top: 0 !important;
    margin-top: 0 !important;
    transform: none !important;
  }
}@media (max-width: 700px) {

  body footer .wrap.foot {
    padding-top: 70px !important;
  }

  body footer .wrap.foot .footBrand {
    position: static !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    margin: 0 0 20px 0 !important;
    padding: 0 !important;
    transform: none !important;
  }

  body footer .wrap.foot .footBrand strong {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
  }
}@media (max-width: 700px) {

  footer .footBrand strong:first-of-type {
    position: static !important;
    top: auto !important;
    transform: none !important;
    display: block !important;
    margin-top: 35px !important;
    margin-bottom: 45px !important;
  }

  footer .footBrand br {
    display: none !important;
  }

  footer .footBrand strong:last-of-type {
    position: static !important;
    transform: none !important;
    display: block !important;
    margin: 0 0 35px 0 !important;
  }
}@media (max-width: 700px) {

  footer .foot {
    padding-top: 40px !important;
  }

  footer .footBrand {
    position: static !important;
    transform: none !important;
    margin: 0 0 40px 0 !important;
    padding: 0 !important;
  }

  footer .footBrand strong:first-of-type {
    position: static !important;
    top: auto !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    display: block !important;
    margin: 0 0 45px 0 !important;
  }

  footer .footBrand strong:last-of-type {
    position: static !important;
    transform: none !important;
    display: block !important;
    margin: 0 !important;
  }
}@media (max-width: 700px) {
  .wa {
    right: 12px !important;
    bottom: 12px !important;
    padding: 10px 16px !important;
    font-size: 16px !important;
  }

  footer {
    padding-bottom: 120px !important;
  }
}@media (max-width: 700px) {
  footer {
    padding-bottom: 80px !important;
  }
}/* MOBILE FOOTER – endgültige Korrektur */
@media (max-width: 700px) {

  body {
    padding-bottom: 0 !important;
  }

  footer {
    min-height: 0 !important;
    height: auto !important;
    padding: 25px 12px 95px !important;
    margin: 0 !important;
  }

  footer .foot {
    min-height: 0 !important;
    height: auto !important;
    padding: 0 !important;
    margin: 0 !important;
    gap: 10px !important;
  }

  .footBrand,
  .footContact,
  .footLinks {
    margin: 0 0 12px 0 !important;
    padding: 0 !important;
  }

  footer p:last-of-type {
    margin: 10px 0 0 0 !important;
    padding: 0 !important;
  }

  .wa {
    right: 12px !important;
    bottom: 12px !important;
  }
}
/* Letzte Korrektur für Handy */
@media (max-width: 700px) {

  .wa {
    right: 14px !important;
    bottom: 14px !important;
    z-index: 9999 !important;
  }

  footer {
    padding-bottom: 90px !important;
  }
}
html {
  scroll-padding-top: 400px;
}

#kontakt {
  scroll-margin-top: 400px;
}
.cta {
    scroll-margin-top: 320px !important;
}/* ===== DATENSCHUTZ-SEITE MOBIL OPTIMIEREN ===== */

/* obere Kontaktleiste */
.top {
    background: #0d5f63 !important;
    color: white !important;
    text-align: center !important;
    padding: 10px 15px !important;
    font-size: 16px !important;
    line-height: 1.5 !important;
}

.top a {
    color: white !important;
    text-decoration: none !important;
    font-weight: 700 !important;
}

/* Überschrift Datenschutz */
.legalHero {
    padding: 35px 20px 25px !important;
}

.legalHero h1 {
    font-size: 40px !important;
    line-height: 1.15 !important;
    margin: 8px 0 0 !important;
}

/* Datenschutz-Inhalt */
.legalSection {
    padding: 20px !important;
    max-width: 900px !important;
    margin: 0 auto !important;
}

.legalSection h2 {
    font-size: 28px !important;
    line-height: 1.25 !important;
    margin: 28px 0 12px !important;
}

.legalSection p {
    font-size: 18px !important;
    line-height: 1.6 !important;
    margin: 0 0 18px !important;
}

/* Handy */
@media (max-width: 700px) {

    .top {
        font-size: 15px !important;
        padding: 8px 10px !important;
    }

    .legalHero h1 {
        font-size: 36px !important;
    }

    .legalSection {
        padding: 18px !important;
    }

    .legalSection h2 {
        font-size: 27px !important;
    }

    .legalSection p {
        font-size: 18px !important;
    }
}/* Kopfbereich beim Scrollen nicht festhalten */
header {
    position: static !important;
    top: auto !important;
    z-index: auto !important;
}

nav {
    position: static !important;
    top: auto !important;
}.cta .btn,
.cta .btn:visited {
    color: #0b666b !important;
}

.cta .btn-light,
.cta .btn-light:visited {
    background: #ffffff !important;
    color: #0b666b !important;
}.cta .btn,
.cta .btn:visited {
    color: #0b666b !important;
}

.cta .btn-light,
.cta .btn-light:visited {
    background: #ffffff !important;
    color: #0b666b !important;
}/* CTA-Telefon + WhatsApp auf Mobil immer weiß */
.cta .hero-buttons a,
.cta .hero-buttons a:link,
.cta .hero-buttons a:visited,
.cta .hero-buttons a:hover,
.cta .hero-buttons a:active,
.cta .hero-buttons a:focus {
    background: #ffffff !important;
    color: #0b666b !important;
    opacity: 1 !important;
    filter: none !important;
    -webkit-tap-highlight-color: transparent !important;
}
@media (max-width: 768px) {
  header {
    position: static !important;
    top: auto !important;
  }

  html {
    scroll-padding-top: 20px !important;
  }

  #kontakt,
  .cta {
  scroll-margin-top: 120px !important;
}
  @media (max-width: 768px) {
  header {
    position: static !important;
    top: auto !important;
  }

  html {
    scroll-padding-top: 0 !important;
  }

  #kontakt,
  .cta {
    scroll-margin-top: 0 !important;
  }
}
 @media (max-width: 768px) {
  header,
  nav,
  .header,
  .site-header,
  .navbar,
  .nav-wrap,
  .top,
  .topbar {
    position: static !important;
    top: auto !important;
    bottom: auto !important;
  }

  body {
    padding-top: 0 !important;
  }

  html {
    scroll-padding-top: 0 !important;
  }

  #kontakt,
  .cta {
    scroll-margin-top: 20px !important;
  }
} /* Kopfzeile beim Scrollen nicht festhalten */
header {
    position: static !important;
    top: auto !important;
}