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

body {
  font-family: Arial, Helvetica, sans-serif;
  background: #f8fafc;
  color: #111827;
  line-height: 1.6;
}

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

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

/* =========================
   HEADER CLEAN FLOATING
========================= */

header{
  position:sticky;
  top:0;
  z-index:9999;

  background:transparent;

  border:none;

  box-shadow:none;

  transition:.3s ease;
}

/* KEIN WEISSER BALKEN */

header.scrolled{
  background:transparent;

  border:none;

  box-shadow:none;

  backdrop-filter:none;

  -webkit-backdrop-filter:none;
}

/* =========================
   NAVBAR
========================= */

.nav{
  height:110px;

  display:flex;
  align-items:center;
  justify-content:space-between;

  gap:24px;
}

/* =========================
   LOGO
========================= */

.logo{
  display:flex;
  align-items:center;

  flex-shrink:0;

  height:110px;

  overflow:visible;
}

.logo-image{
  width:170px !important;
  height:170px !important;

  max-width:none !important;

  object-fit:contain;

  display:block;

  transform:translateY(8px);

  filter:
    drop-shadow(
      0 0 25px rgba(37,99,235,.22)
    );

  transition:.3s ease;
}

/* =========================
   DESKTOP MENU
========================= */

.desktop-menu{
  display:flex;

  align-items:center;

  gap:14px;
}

/* STANDARD LINKS */

.desktop-menu a{
  color:#0f172a;

  font-weight:900;

  font-size:.95rem;

  text-decoration:none;

  padding:12px 18px;

  border-radius:16px;

  transition:.25s ease;
}

/* HOVER */

.desktop-menu a:hover{
  color:#2563eb;

  background:
    rgba(255,255,255,.65);

  backdrop-filter:blur(12px);
}

/* BEIM SCROLLEN */

header.scrolled .desktop-menu a{
  color:#0f172a;
}

header.scrolled .desktop-menu a:hover{
  color:#2563eb;

  background:
    rgba(255,255,255,.65);
}

/* =========================
   TOP 1000 BUTTON
========================= */

.desktop-menu a[href="/top-1000-unternehmen"]{
  background:
    linear-gradient(
      135deg,
      #2563eb,
      #1d4ed8
    );

  color:#ffffff !important;

  box-shadow:
    0 10px 25px rgba(37,99,235,.18);
}

/* HOVER */

.desktop-menu
a[href="/top-1000-unternehmen"]:hover{
  color:#ffffff !important;

  transform:translateY(-2px);

  background:
    linear-gradient(
      135deg,
      #1d4ed8,
      #1e40af
    );
}

/* SCROLLED */

header.scrolled
.desktop-menu
a[href="/top-1000-unternehmen"]{
  background:
    linear-gradient(
      135deg,
      #2563eb,
      #1d4ed8
    );

  color:#ffffff !important;
}

/* =========================
   BUTTON
========================= */

.nav-button{
  background:
    linear-gradient(
      135deg,
      #2563eb,
      #1d4ed8
    );

  color:#ffffff;

  padding:14px 24px;

  border-radius:16px;

  font-weight:900;

  text-decoration:none;

  box-shadow:
    0 18px 40px rgba(37,99,235,.18);

  transition:.25s ease;
}

/* HOVER */

.nav-button:hover{
  transform:translateY(-2px);

  background:
    linear-gradient(
      135deg,
      #1d4ed8,
      #1e40af
    );
}

/* SCROLLED */

header.scrolled .nav-button{
  background:
    linear-gradient(
      135deg,
      #2563eb,
      #1d4ed8
    );

  color:#ffffff;
}

/* =========================
   MOBILE TOGGLE
========================= */

#menu-toggle{
  display:none;
}

.mobile-toggle{
  display:none;

  width:56px;
  height:56px;

  border-radius:16px;

  background:#2563eb;

  color:#ffffff;

  cursor:pointer;

  font-size:1.5rem;

  align-items:center;
  justify-content:center;

  box-shadow:
    0 12px 30px rgba(37,99,235,.22);

  transition:.25s ease;
}

/* SCROLLED */

header.scrolled .mobile-toggle{
  background:#2563eb;

  color:#ffffff;
}

/* =========================
   MOBILE MENU
========================= */

.mobile-menu{
  display:none;

  background:#ffffff;

  border-top:
    1px solid #e5e7eb;

  box-shadow:
    0 20px 40px rgba(15,23,42,.08);
}

#menu-toggle:checked ~ .mobile-menu{
  display:block;
}

.mobile-menu .container{
  display:grid;

  gap:12px;

  padding:18px 0 24px;
}

.mobile-menu a{
  display:flex;

  align-items:center;
  justify-content:space-between;

  min-height:56px;

  padding:0 18px;

  border-radius:16px;

  background:#f8fafc;

  color:#0f172a;

  font-weight:900;

  text-decoration:none;

  border:
    1px solid #e5e7eb;
}

.mobile-menu a::after{
  content:"›";

  color:#2563eb;

  font-size:1.4rem;
}

.mobile-menu a:last-child{
  background:
    linear-gradient(
      135deg,
      #2563eb,
      #1d4ed8
    );

  color:#ffffff;

  border:none;
}

.mobile-menu a:last-child::after{
  color:#ffffff;
}

/* =========================
   MOBILE
========================= */


@media (max-width:900px){

  .nav{
    height:130px;
  }

  .logo{
    height:130px;
  }

  .logo-image{
    width:220px !important;
    height:auto !important;

    max-width:none !important;
    max-height:none !important;

    object-fit:contain;

    transform:translateY(10px);
  }

  .desktop-menu,
  .nav-button{
    display:none;
  }

  .mobile-toggle{
    display:flex;
  }
}

/* =====================================================
   SEARCH HERO
   ===================================================== */

.search-hero {
  padding: 70px 0 36px;

  background:
    linear-gradient(
      180deg,
      #ffffff 0%,
      #f8fafc 100%
    );

  text-align: center;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);

  margin-bottom: 14px;

  letter-spacing: -0.05em;
}

.search-hero p {
  color: #64748b;
}

/* =====================================================
   SEARCH BOX
   ===================================================== */

.search-box {
  width: 100%;
  max-width: 760px;

  margin: 28px auto 0;

  background: #ffffff;

  border: 1px solid #e5e7eb;

  border-radius: 999px;

  padding: 8px;

  display: flex;
  align-items: center;

  gap: 8px;

  box-shadow: 0 18px 45px rgba(15,23,42,.08);
}

.search-field {
  flex: 1;

  display: flex;
  align-items: center;

  gap: 10px;

  background: #f8fafc;

  border-radius: 999px;

  padding: 0 16px;

  min-height: 54px;
}

.search-plz {
  max-width: 220px;
  flex: .55;
}

.search-field span {
  opacity: .7;
  font-size: 1rem;
  flex-shrink: 0;
}

.search-field input {
  width: 100%;

  border: 0;
  outline: 0;

  background: transparent;

  padding: 14px 0;

  font-size: .96rem;

  color: #111827;
}

.search-field input::placeholder {
  color: #64748b;
}

.search-button {
  border: 0;

  cursor: pointer;

  border-radius: 999px;

  padding: 0 24px;

  height: 54px;

  background:
    linear-gradient(
      135deg,
      #2563eb,
      #1d4ed8
    );

  color: #ffffff;

  font-weight: 900;

  font-size: .92rem;

  white-space: nowrap;

  transition: .2s ease;
}

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

  filter: brightness(1.03);
}

/* =====================================================
   RESULTS
   ===================================================== */

.results {
  padding: 40px 0 80px;
}

.result-count {
  color: #64748b;

  margin-bottom: 22px;

  font-weight: 700;
}

.result-grid {
  display: grid;
  gap: 18px;
}

.result-card {
  display: grid;

  grid-template-columns: 90px 1fr auto;

  gap: 18px;

  align-items: center;

  background: #fff;

  border: 1px solid #e5e7eb;

  border-radius: 24px;

  padding: 20px;

  color: inherit;

  box-shadow: 0 14px 35px rgba(15,23,42,.05);

  transition: .2s ease;
}

.result-card:hover {
  border-color: #2563eb;

  transform: translateY(-2px);
}

.result-logo {
  width: 90px;
  height: 90px;

  border-radius: 20px;

  object-fit: cover;

  background: #eff6ff;
}

.result-card h2 {
  margin: 0 0 6px;

  font-size: 1.3rem;

  color: #0f172a;
}

.result-card p {
  margin: 0 0 8px;

  color: #64748b;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.badge {
  background: #eff6ff;

  color: #2563eb;

  padding: 6px 10px;

  border-radius: 999px;

  font-size: .82rem;

  font-weight: 800;
}

.rating {
  color: #f59e0b;

  font-weight: 900;

  white-space: nowrap;
}

.result-content{
  flex:1;
}

.result-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin-bottom:10px;
  flex-wrap:wrap;
}

.result-top h2{
  margin:0;
  font-size:1.3rem;
  color:#0f172a;
}

.open-status{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:8px 14px;
  border-radius:999px;
  font-size:.8rem;
  font-weight:900;
  white-space:nowrap;
}

.open-status.is-open{
  background:#22c55e;
  color:#ffffff;
}

.open-status.is-closed{
  background:#ef4444;
  color:#ffffff;
}
/* =====================================================
   EMPTY
   ===================================================== */

.empty {
  background: #fff;

  border: 1px solid #e5e7eb;

  border-radius: 24px;

  padding: 34px;

  text-align: center;

  color: #64748b;
}

.empty h2 {
  color: #0f172a;

  margin-top: 0;
}

/* =====================================================
   FOOTER
   ===================================================== */

.site-footer{
  background:#0f172a;
  color:#e2e8f0;
  padding:70px 0 30px;
}

.footer-top{
  display:grid;
  grid-template-columns:1.25fr 1.75fr;
  gap:56px;
  margin-bottom:42px;
}

.footer-brand{
  color:#ffffff;
  font-size:1.45rem;
  font-weight:900;
  margin-bottom:14px;
  letter-spacing:-0.04em;
}

.footer-brand-block p{
  color:#cbd5e1;
  line-height:1.7;
}

.footer-links{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:34px;
}

.footer-title{
  color:#ffffff;
  font-size:1rem;
  font-weight:800;
  margin-bottom:18px;
}

.footer-links a{
  display:block;
  margin-bottom:12px;
  color:#cbd5e1;
  transition:.2s ease;
}

.footer-links a:hover{
  color:#ffffff;
  transform:translateX(2px);
}

.footer-award{
  margin-top:26px;
}

.footer-award-title{
  display:block;
  color:#ffffff;
  font-size:.92rem;
  font-weight:800;
  margin-bottom:10px;
}

.footer-award-text{
  font-size:.9rem;
  color:#94a3b8 !important;
  margin-bottom:16px;
}

.footer-award img{
  width:140px;
  height:auto;
  aspect-ratio:1 / 1;
  object-fit:contain;
}

/* Zahlungsmethoden */

.footer-payment{
  border-top:1px solid rgba(255,255,255,.12);
  padding-top:28px;
  margin-bottom:28px;

  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:28px;
}

.footer-payment-title{
  display:block;
  color:#ffffff;
  font-size:.92rem;
  font-weight:800;
  margin-bottom:8px;
}

.footer-payment-info{
  color:#94a3b8;
  font-size:.9rem;
  line-height:1.6;
}

.footer-payment-logos{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:flex-end;
  gap:14px;
}

.footer-payment-logos img{
  height:34px;
  width:auto;
  object-fit:contain;
  background:#ffffff;
  border-radius:12px;
  padding:7px 12px;
  box-shadow:0 8px 24px rgba(0,0,0,.16);
  transition:.2s ease;
}

.footer-payment-logos img:hover{
  transform:translateY(-2px) scale(1.03);
}

/* Bottom */

.footer-bottom{
  border-top:1px solid rgba(255,255,255,.18);
  padding-top:24px;

  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}

.footer-seo{
  color:#94a3b8;
  font-size:.88rem;
}

.copyright{
  color:#cbd5e1;
  font-size:.92rem;
  white-space:nowrap;
}

/* Responsive */

@media(max-width:900px){

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

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

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

  .footer-payment-logos{
    justify-content:flex-start;
  }

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

  .copyright{
    white-space:normal;
  }

}

@media(max-width:640px){

  .site-footer{
    padding:60px 0 28px;
  }

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

  .footer-payment-logos{
    gap:10px;
  }

  .footer-payment-logos img{
    height:30px;
    padding:6px 10px;
  }

}
/* =====================================================
   TABLET
   ===================================================== */

@media(max-width:980px){

  .nav-links,
  .nav-btn{
    display:none;
  }

  .menu-toggle{
    display:flex;
    align-items:center;
    justify-content:center;
  }

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

  .hero{
    padding:70px 0;
  }

  .content-box{
    padding:36px;
  }

}

/* =====================================================
   MOBILE
   ===================================================== */

@media(max-width:640px){

  .container{
    width:min(100% - 28px,1180px);
  }

  .nav{
    height:72px;
  }

  /* LOGO */

  .logo-image{
    width:44px;
    height:44px;
    object-fit:contain;
  }

  /* TOP 1000 SIEGEL */

  .top1000-floating-seal img{
    width:120px;
    height:auto;
    aspect-ratio:1 / 1;
    object-fit:contain;
  }

  /* HERO */

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

  /* WICHTIG:
     Hero-Image nicht auf contain setzen
  */

  .hero-image{
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center top;
  }

  /* CONTENT */

  .content-box{
    padding:24px;
    border-radius:28px;
  }

  .cta a{
    width:100%;
  }

  /* FOOTER */

  .footer-grid{
    gap:28px;
  }

  .footer-brand{
    font-size:1.3rem;
  }

  .footer-title{
    margin-bottom:14px;
  }

  .footer-grid a{
    margin-bottom:10px;
  }

  .footer-award img{
    width:120px;
    height:auto;
  }

  .copyright{
    font-size:.84rem;
    line-height:1.6;
  }

}

/* =====================================================
   MOBILE
   ===================================================== */

@media(max-width:900px){

  .desktop-menu,
  .nav-button{
    display:none;
  }

  .mobile-toggle{
    display:flex;
  }

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

}

@media(max-width:700px){

  .container{
    width:min(100% - 28px,1100px);
  }

  .nav{
    height:72px;
  }

  .logo-image{
    width:42px;
    height:42px;
  }

  .logo-text{
    font-size:1.15rem;
  }

  .search-box{
    flex-direction:column;

    border-radius:24px;

    align-items:stretch;
  }

  .search-field,
  .search-plz{
    max-width:none;
    width:100%;
  }

  .search-button{
    width:100%;
  }

  .result-card{
    grid-template-columns:1fr;

    text-align:center;
  }

  .result-logo{
    margin:0 auto;
  }

  .badges{
    justify-content:center;
  }

}