/* Modern, clean styling inspired by luehders.com aesthetic. */

/* ------------------------------
   Root / variables
   ------------------------------ */
:root{
  --accent:#D87C4A; /* warm caramel */
  --muted:#8A8A8A;
  --bg:#FFFDF9;
  --card:#FFFFFF;
  --radius:14px;
  --container:1200px;
}

/* ------------------------------
   Base reset & typography
   ------------------------------ */
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,"Helvetica Neue",Arial;
  background:var(--bg);
  color:#222;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  -webkit-text-size-adjust:100%;
}
.container{max-width:var(--container);margin:0 auto;padding:2rem}

/* ------------------------------
   Header / nav
   ------------------------------ */
.header-inner{display:flex;align-items:center;justify-content:space-between}
.brand{font-family:Merriweather,serif;font-weight:700;color:#222;text-decoration:none;font-size:1.25rem}
.site-header{
  background:linear-gradient(180deg, rgba(255,255,255,0.9), rgba(255,253,250,0.6));
  backdrop-filter:blur(4px);
  position:sticky;
  top:0;
  z-index:50;
  border-bottom:1px solid rgba(0,0,0,0.04);
  padding:0.5rem 0;
}
.main-nav{display:flex;gap:1rem}
.main-nav a{color:var(--muted);text-decoration:none;font-weight:600}
.nav-toggle{display:none;background:none;border:0;padding:0}
.hamburger{width:22px;height:2px;background:#222;display:block;position:relative}
.hamburger::after,.hamburger::before{content:'';position:absolute;left:0;right:0;height:2px;background:#222}
.hamburger::before{top:-7px}
.hamburger::after{top:7px}

/* ------------------------------
   Hero
   ------------------------------ */
.hero{padding:4rem 0}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr; /* Text und Bild je 50% */
  gap: 2rem;
  align-items: center;
}
.hero h1{font-family:Merriweather,serif;font-weight:700;font-size:2.25rem;margin:0 0 1rem}
.lead{color:var(--muted);font-size:1.05rem;line-height:1.6}
.cta-row{display:flex;gap:1rem;margin-top:1.25rem}
.btn{display:inline-block;padding:0.8rem 1.25rem;border-radius:10px;text-decoration:none;font-weight:700;border:0;cursor:pointer}
.btn-primary{background:var(--accent);color:white;box-shadow:0 6px 18px rgba(216,124,74,0.18)}
.btn-outline{background:transparent;border:1px solid rgba(0,0,0,0.08);color:#222}

/* visual placeholder */
.hero-visual .packshot{border-radius:var(--radius);overflow:hidden;box-shadow:0 12px 30px rgba(20,20,20,0.06)}

.hero-visual img {
  max-width: 560px;
  width: 100%;
  height: auto;
}



/* ------------------------------
   Sections / content
   ------------------------------ */
.section{padding:3rem 0}
.section h2{font-family:Merriweather,serif;font-size:1.5rem;margin-bottom:0.75rem}
.about p{max-width:70ch;color:#333}
.strengths{display:flex;flex-wrap:wrap;gap:1rem;margin-top:1rem;list-style:none;padding:0}
.strengths li{background:var(--card);padding:0.75rem 1rem;border-radius:12px;box-shadow:0 6px 18px rgba(0,0,0,0.03)}

/* Brands */
.brands{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:1rem}
.brand-card{background:var(--card);padding:1rem;border-radius:12px;box-shadow:0 8px 24px rgba(0,0,0,0.04)}
.brand-card h3{margin:0 0 0.5rem}
.brand-card .tag{font-size:0.85rem;color:var(--accent);margin-left:0.35rem}
.brand-card .seo{color:var(--muted);font-size:0.9rem;margin-top:0.5rem}

.brand-card {
  display: flex;
  flex-direction: column;
  align-items: center; /* zentriert alle Inhalte horizontal */
  text-align: center;  /* Texte auch mittig */
}

.brand-logo {
  max-width: 120px;
  width: auto;
  height: auto;
  margin-bottom: 1rem;
  display: block;
}

/* Private / offer lists */
.private .offer-list, .quality-list{list-style:none;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:0.5rem}
.offer-list li, .quality-list li{background:linear-gradient(180deg,#fff,#fff);padding:0.7rem;border-radius:8px;border:1px solid rgba(0,0,0,0.03)}

/* Highlights */
.highlights-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:0.75rem;list-style:none;padding:0}
.highlights-grid li{background:var(--card);padding:0.8rem;border-radius:10px}

/* Partners logos */
.partners .logos{display:flex;gap:1rem;margin-top:1rem}
.logo{background:linear-gradient(180deg,#fff,#fff);border-radius:8px;padding:1rem;min-width:90px;text-align:center;border:1px dashed rgba(0,0,0,0.06)}

/* Contact */
.contact-grid{display:grid;grid-template-columns:1fr 420px;gap:2rem;align-items:start}
.contact-form{display:flex;flex-direction:column;gap:0.6rem}
.contact-form input,.contact-form textarea{padding:0.6rem;border-radius:8px;border:1px solid rgba(0,0,0,0.08);width:100%}

/* Footer */
.site-footer{border-top:1px solid rgba(0,0,0,0.04);padding:2rem 0;background:transparent}
.footer-grid{display:flex;gap:1rem;align-items:center;justify-content:space-between}
.footer-links a{margin-left:1rem;color:var(--muted);text-decoration:none}
.seo-tags{color:var(--muted);font-size:0.9rem}

/* Utility */
.text-center{text-align:center}

/* Small accessibility tweaks */
:focus{outline:3px solid rgba(216,124,74,0.18);outline-offset:3px}

/* ------------------------------
   Responsive (base)
   ------------------------------ */
@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr 1.2fr; /* Bild etwas breiter als Text */
  }
  .hero-visual img {
    max-width: 600px; /* darf auch größer werden */
  }
}


@media (max-width:980px){
  .hero-grid{grid-template-columns:1fr;}
  .contact-grid{grid-template-columns:1fr}
  .nav-toggle{display:block}
  .main-nav{position:absolute;right:1rem;top:72px;background:var(--card);padding:1rem;border-radius:8px;box-shadow:0 12px 40px rgba(0,0,0,0.07);display:none;flex-direction:column}
  .main-nav.open{display:flex}
}

@media (max-width:560px){
  .brand{font-size:1rem}
  .hero h1{font-size:1.45rem}
}

/* ------------------------------
   MOBILE PADDING FIX
   Ziel: auf kleinen Bildschirmen mehr horizontalen Abstand,
   besonders im #private-label Abschnitt (Ihre Marke – unsere Expertise)
   ------------------------------ */
@media (max-width:720px) {
  /* Basiscontainer: etwas mehr horizontalen Abstand */
  .container {
    padding-left: 1.25rem;   /* ≈20px */
    padding-right: 1.25rem;
  }

  /* Sicherstellen, dass Sektionen nicht an Bildrand kleben */
  .section {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  /* Extra-Polster speziell für Private Label / Angebotspunkte */
  #private-label,
  #private-label .offer-list {
    padding-left: 0.6rem;
    padding-right: 0.6rem;
  }

  /* Einzelne Listen-Items etwas großzügiger polstern, damit Text nicht am Rand sitzt */
  .private .offer-list li,
  .quality-list li,
  .brand-card {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  /* Mobile Layout-Anpassungen: Einspaltig, Inhalte scannen leichter */
  .contact-grid { grid-template-columns: 1fr; }
  .hero { padding-left: 0.8rem; padding-right: 0.8rem; }
}

/* noch kleinere Geräte: etwas großzügiger */
@media (max-width:420px) {
  .container { padding-left: 1.5rem; padding-right: 1.5rem; }
  .section { padding-left: 1rem; padding-right: 1rem; }
  #private-label .offer-list { gap: 0.75rem; }
  .hero h1 { font-size: 1.35rem; }
}

@media (max-width:720px) {
  /* ... (bestehende Regeln bleiben) ... */

  /* Produktvisual im Hero: rechts etwas Abstand */
  .hero-visual {
    padding-right: 1rem;
  }

  /* Button im Private-Label-Block */
  #private-label .btn-primary {
    display: inline-block;
    margin-right: 1rem; /* extra Abstand rechts */
  }
}

@media (max-width:420px) {
  /* Hero visual noch etwas mehr Polster bei ganz kleinen Geräten */
  .hero-visual {
    padding-right: 1.25rem;
  }

  /* Button auch hier noch etwas großzügiger */
  #private-label .btn-primary {
    margin-right: 1.25rem;
  }
}

/* ------------------------------
   Language switcher
   ------------------------------ */
.lang-switch {
  display: flex;
  align-items: center;
  margin-left: 1rem;
}

.lang-switch a {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.flag-icon {
  width: 26px;
  height: auto;
  border-radius: 3px;
  box-shadow: 0 0 2px rgba(0,0,0,0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.flag-icon:hover {
  transform: scale(1.08);
  box-shadow: 0 0 4px rgba(0,0,0,0.3);
}

/* Mobile Anpassung */
@media (max-width: 980px) {
  .lang-switch {
    position: absolute;
    right: 3.5rem; /* neben dem Menü-Button */
    top: 0.75rem;
  }
}

/* ------------------------------
   Fix: Language flag scaling on mobile
   ------------------------------ */
.flag-icon {
  width: 26px !important;          /* Normalgröße am Desktop */
  height: auto;
  max-width: 40px;      /* Sicherheitsbegrenzung */
  border-radius: 3px;
  box-shadow: 0 0 2px rgba(0,0,0,0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Hover-Effekt bleibt gleich */
.flag-icon:hover {
  transform: scale(1.08);
  box-shadow: 0 0 4px rgba(0,0,0,0.3);
}

/* Mobile Anpassung: kleiner machen */
@media (max-width: 600px) {
  .lang-switch .flag-icon {
    width: 22px;
    max-width: 28px;
  }
}

