:root {
  --airblue: #1E2A38;
  --airwhite: #f9fafb;
  --airgold: #e0b84d;
  --airgold2: #f7e8ad;
  --airgold3: #ffeebb;
  --airturquoise: #3ec1d3;
  --airgrey: #e8eef5;
  --silver: #bfc5d2;
  --platin: #dee2e6;
}

body {
  margin: 0;
  background: var(--airwhite);
  color: var(--airblue);
  font-family: 'Poppins', Arial, sans-serif;
}

header {
  background: var(--airblue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1em 2em;
  flex-wrap: wrap;
  gap: 1.5em;
  min-height: 148px;
  margin-bottom: 0.1em;
}

.logo {
  height: 144px;
  max-height: 22vh;
  min-height: 64px;
  border-radius: 23px;
  margin-right: 1.9em;
  margin-bottom: 0.2em;
  background: none;
  border: none;
  box-shadow:
    0 0 0 4px #e9d7a322,
    0 8px 24px 0 #c6a67f36,
    0 2px 16px #fff7  ;
  filter: drop-shadow(0 0 14px #fff8) drop-shadow(0 0 5px #e9d7a3cc);
  transition: height 0.2s cubic-bezier(.4,2,.6,1);
  object-fit: contain;
  display: block;
  padding: 0;
}

.search-container {
  flex: 2 1 350px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: 1.5em;
  margin-right: 1em;
  min-width: 180px;
  max-width: 420px;
}
.search-input {
  padding: 0.5em 1em;
  border-radius: 7px;
  border: none;
  min-width: 150px;
  width: 100%;
  max-width: 420px;
  font-size: 1em;
}

nav {
  display: flex;
  align-items: center;
  gap: 1.2em;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.07em;
  padding: 0.45em 0.7em;
  border-radius: 6px;
  transition: background 0.14s, color 0.15s;
}
nav a:hover {
  background: var(--airturquoise);
  color: var(--airblue);
}

/* Hamburger Menü mobil */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 38px;
  height: 38px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1002;
  margin-left: 0.5em;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 3.2px;
  background: var(--airgold);
  margin: 4px 0;
  border-radius: 3px;
  transition: 0.28s;
}

/* Mobiles Menü Overlay */
.mobile-nav {
  display: none;
}

@media (max-width: 500px) {
  nav {
    display: none;
  }
  .mobile-nav {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: 0;
    width: 75vw;
    max-width: 330px;
    height: 100vh;
    background: var(--airblue);
    color: #fff;
    padding: 4.5em 2em 2em 2em;
    box-shadow: -3px 0 30px #0004;
    z-index: 1001;
    gap: 2em;
    font-size: 1.18em;
    transition: transform 0.32s cubic-bezier(.7,0,.3,1);
    transform: translateX(100%);
  }
  .mobile-nav.open {
    transform: translateX(0);
    display: flex;
  }
}

.mobile-brand, .header-controls {
  display: none;
}

/* --------- Smartphone hochkant (<=500px): Nur hier greift das Mobile-Layout --------- */
@media (max-width: 500px) {
  header {
    flex-direction: column;
    align-items: center;
    gap: 0.1em;
    padding: 0.9em 0.2em 0.7em 0.2em;
    min-height: unset;
  }
  .logo {
    height: 48px;      /* 50% größer als klassisch mobile (32px) */
    min-height: 28px;
    margin: 0 auto 0.08em auto;
    display: block;
  }
  .mobile-brand {
    display: block;
    color: #e0b84d;
    font-family: 'Poppins', Arial, sans-serif;
    font-size: 1.18em;
    font-weight: 700;
    letter-spacing: 0.04em;
    margin: 0.40em 0 0.23em 0;  /* Abstand zum Logo */
    text-align: center;
    width: 100vw;
    align-self: center;
  }
  .header-controls {
    display: flex !important;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100vw;
    margin: 0.32em 0 1.1em 0; /* Mehr Abstand nach unten zu Flaggen */
  }
  .hamburger {
    display: inline-flex;
    width: 36px;
    height: 36px;
    margin: 0;
    vertical-align: middle;
    align-self: center;
  }
  .search-container {
    margin-top: 0.11em;
    margin-bottom: 0.15em;
    width: 100%;
    max-width: 98vw;
    justify-content: center;
  }
  .lang-select {
    width: 100%;
    margin: 0.13em 0 0 0;
    justify-content: center;
    gap: 0.13em;
  }
  .flag {
    width: 28px;
    height: 20px;
  }
  /* Verberge alle mobile-brand, header-controls außerhalb dieser Ansicht */
  .mobile-brand:not(body .mobile-brand),
  .header-controls:not(body .header-controls) {
    display: none !important;
  }
}

/* --------- Tablet und Desktop: alles wie Desktop --------- */
@media (min-width: 501px) {
  .mobile-brand,
  .header-controls {
    display: none !important;
  }
}

.lang-select {
  display: flex;
  gap: 0.4em;
  align-items: center;
}
.flag {
  width: 28px;
  height: 20px;
  border-radius: 3px;
  object-fit: cover;
  border: 1px solid #fff4;
  box-shadow: 0 2px 4px #0001;
  transition: transform 0.15s;
  cursor: pointer;
}
.flag:hover {
  transform: scale(1.12);
  border: 1.5px solid var(--airturquoise);
}

/* HERO – Goldener Verlauf, Text unten links, leicht verkleinert */
.hero {
  background: url('assets/img/header-bild.jpg') no-repeat center center / cover;
  height: 45vh;
  min-height: 300px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  color: white;
  text-align: left;
  position: relative;
  padding-bottom: 2.5em;
  padding-left: 2.7em;
}
.hero-content {
  text-align: left;
  width: 100%;
}
.hero h1 {
  font-size: 2.1rem;
  font-family: 'Poppins', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.18;
  margin: 0;
  padding: 0;
  max-width: 580px;
  color: transparent;
  background-image: linear-gradient(90deg, #ffeebb 0%, #f7e8ad 20%, #e0b84d 60%, #fffbe6 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 1px 4px #fff7, 0 0.5px 0 #fff, 0 2px 8px #d3ba7444;
  position: relative;
  z-index: 2;
  overflow: hidden;
}

/* --- About, Pet Service, Rewards, Footer --- */
.about {
  padding: 2.2em 0 1.5em 0;
  text-align: center;
}
.about-lead {
  font-size: 1.15em;
  font-weight: 500;
  color: var(--airblue);
  background: #fff;
  display: inline-block;
  padding: 0.9em 2em;
  border-radius: 11px;
  box-shadow: 0 2px 8px #3ec1d32a;
}

/* Haustier-Service mit goldenem Rahmen und besserer Zentrierung */
.pet-service {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 2.2em;
  margin: 2em auto 1.5em auto;
  padding: 1.5em 1em;
  max-width: 870px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 3px 12px #3ec1d32c;
}
.pet-img {
  width: 148px;
  max-width: 25vw;
  height: auto;
  border-radius: 13px;
  object-fit: cover;
  background: #fff;
  margin-right: 0.8em;
  border: 4px solid var(--airgold);
  box-shadow: 0 2px 14px #e0b84d44, 0 2px 8px #0001;
}
.pet-text {
  font-size: 1.09em;
  color: var(--airblue);
  max-width: 440px;
  line-height: 1.44;
}

/* REWARDS – Brücke noch größer & Shine-Glanz-Animation */
.rewards {
  display: flex;
  justify-content: center;
  margin: 2.2em 0 1.5em 0;
}
.rewards-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 3px 13px #c6a67f2c;
  display: flex;
  align-items: center;
  padding: 1.6em 2.2em;
  gap: 2em;
  min-width: 320px;
  max-width: 500px;
}
.rewards-card.silver {
  border: 2.2px solid var(--silver);
}
.rewards-card.gold {
  border: 2.2px solid var(--airgold);
  box-shadow: 0 3px 18px #c6a67f4c;
}
.rewards-card.platin {
  border: 2.2px solid var(--platin);
  box-shadow: 0 3px 14px #dee2e655;
}
.rewards-bridge {
  width: 200px;
  height: 150px;
  object-fit: contain;
  filter:
    drop-shadow(0 0 14px #e9d7a388)
    drop-shadow(0 6px 28px #fff9)
    drop-shadow(0 0 2px #1e2a3885);
  position: relative;
  z-index: 1;
}
.rewards-bridge::after {
  content: "";
  position: absolute;
  left: -70%;
  top: 0;
  width: 70%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255,255,255,0.0) 0%,
    rgba(255,255,255,0.54) 54%,
    rgba(255,255,255,0.0) 100%
  );
  transform: skewX(-12deg);
  animation: shinebridge 3.5s infinite cubic-bezier(0.7,0,0.8,1);
  pointer-events: none;
  z-index: 3;
}
@keyframes shinebridge {
  0%   { left: -90%; }
  70%  { left: 120%; }
  100% { left: 120%; }
}

.rewards-content h2 {
  margin: 0 0 0.7em 0;
  color: var(--airblue);
  font-size: 1.18em;
}
.rewards-content ul {
  margin: 0 0 0 1.2em;
  padding: 0;
  color: var(--airblue);
  font-size: 0.98em;
}
.rewards-faq-link {
  color: var(--airturquoise);
  font-weight: 500;
  text-decoration: underline;
  margin-left: 0.2em;
}
.rewards-faq-link:hover {
  color: var(--airgold);
}

footer {
  background: #fff;
  color: var(--airblue);
  text-align: center;
  font-size: 0.97em;
  padding: 2em 0 1.3em 0;
  margin-top: 2.5em;
  border-top: 1.5px solid var(--airgrey);
}

/* Responsive Styles */
@media (max-width:1200px) {
  .logo { height: 110px; }
  .hero h1 { font-size: 1.68rem; }
  .rewards-bridge { width: 150px; height: 105px;}
}
@media (max-width:1000px) {
  .pet-service { flex-direction: column; align-items: center; gap: 1.2em; }
  .pet-img { margin-right: 0; }
  .pet-img { width: 120px; max-width: 42vw; }
  .logo { height: 84px; }
  .rewards-bridge { width: 100px; height: 75px;}
  .hero { height: 32vh; min-height: 150px; padding-bottom: 1.2em; padding-left: 1.2em;}
  .hero h1 { font-size: 1.19rem; max-width: 90vw; }
  .search-container {
    flex: 1 1 200px;
    margin: 0.6em 0 0.4em 0;
    justify-content: center;
    width: 100%;
    max-width: 98vw;
  }
}
@media (max-width:700px) {
  header { flex-direction: column; align-items: flex-start; padding: 1em 1em; gap: 0.6em;}
  .logo { height: 62px; min-height: 36px; }
  .hero { height: 20vh; min-height: 85px; padding-bottom: 0.6em; padding-left: 0.7em;}
  .hero h1 { font-size: 0.89rem; }
  .about-lead { padding: 0.7em 1em; font-size: 1em;}
  .pet-img { width: 92px; }
  .pet-text { font-size: 0.99em; }
  .rewards-card { flex-direction: column; align-items: flex-start; gap: 1em; padding: 1em; }
  .rewards-bridge { width: 65px; height: 50px; }
  .search-container { margin: 0.2em 0 0.2em 0; }
}
@media (max-width:500px) {
  .hero { height: 13vh; min-height: 54px; padding-bottom: 0.2em; padding-left: 0.4em;}
  .logo { height: 48px; min-height: 28px;}
  .hero h1 { font-size: 0.67rem; }
  .pet-img { width: 75px;}
  .pet-service, .rewards-card { max-width: 99vw; padding: 0.6em 0.2em;}
  .about-lead { font-size: 0.91em;}
  .lang-select .flag { width: 18px; height: 12px;}
  .search-container { margin: 0.11em 0 0.17em 0;}
}
