/* ---------- Basisfarben ---------- */
:root {
  --clr-bg:            #f9f9f9;
  --clr-text:          #333333;

  --clr-primary:       #004d9d;  /* Navy aus Logo */
  --clr-primary-light: #241c3a;  /* etwas heller für Hover */
  --clr-accent:        #61a8e3;  /* Sky-Blue aus Logo */
}

/* ---------- Grundlayout ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

body {
  font-family: "Segoe UI", Arial, sans-serif;
  margin: 0;
  background: var(--clr-bg);
  color: var(--clr-text);
  line-height: 1.6;
  text-align: center;
}

/* ---------- Header ---------- */
header {
  background-color: var(--clr-primary); /* #004d9d als Fallback */
  background-image: url("background.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  
  color: #fff;
  padding: 2rem 1rem;
}

.logo {
  /*  min | preferred | max  */
  max-width: clamp(180px, 60vw, 500px);
  width: 100%;
  height: auto;
}
.logo-box {
  display: inline-block;
  background: #f9f9f9;            /* weißer Kontrast */
  padding: 0.6rem 1rem;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgb(0 0 0 / 15%);
}
/* ---------- Hero ---------- */
.hero {
  /* Hintergrundbild oder Farbverlauf: */
  background: url("images/hydraulics-bg.jpg") center/cover 
              no-repeat, var(--clr-primary);
  color: #fff;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1rem;
}

.hero-content h1 {
  font-size: clamp(1.8rem, 4vw + 1rem, 3.5rem);
  margin: 0 0 1rem;
}

.hero-content p {
  font-size: clamp(1rem, 1vw + .6rem, 1.3rem);
  max-width: 40rem;
  margin: 0 auto 2rem;
}
/* ---------- Hauptbereich ---------- */
main { padding: 2rem 1rem; }

.kontakt { margin-top: 2rem; }

/* ---------- Links & Buttons ---------- */
a,
.btn {
  color: var(--clr-accent);
  text-decoration: none;
  transition: color .2s ease-in;
}

a:hover,
.btn:hover {
  color: var(--clr-primary-light);
}

.btn {
  display: inline-block;
  background: var(--clr-accent);
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  color: #fff;
  cursor: pointer;
  transition: background .2s ease-in;
}

.btn:hover { background: var(--clr-primary-light); }

/* ---------- Footer ---------- */
footer {
  background: #eaeaea;
  padding: 1rem;
  margin-top: 2rem;
}

footer a { margin: 0 1rem; }

/* ---------- Responsive Tweaks ---------- */
@media (max-width: 600px) {
  .logo   { max-width: 180px; }
  footer a {
    display: block;
    margin: .5rem 0;
  }
}
