/* ============================================
   (SNACK)AUTOMATION service - Snack- & Getränkeautomaten
   Modernes Hochglanz-Theme: hell, premium, glasig, kein Framework
   ============================================ */

:root {
  --bg: #141210;
  --bg-alt: #1e1b18;
  --surface: #ffffff;
  --surface-hover: #efeae1;
  --border: #3a352c;
  --text: #1c1a16;
  --text-muted: #635c50;
  --text-light: #f3efe6;
  --text-light-muted: #b4ac9c;
  --accent: #c98a2e;
  --accent-soft: rgba(201, 138, 46, 0.16);
  --accent-2: #2f9e8f;
  --accent-2-soft: rgba(47, 158, 143, 0.16);
  --accent-green: var(--accent);
  --accent-green-soft: var(--accent-soft);
  --accent-blue: var(--accent-2);
  --accent-blue-soft: var(--accent-2-soft);
  --accent-pink: var(--accent);
  --accent-pink-soft: var(--accent-soft);
  --radius: 18px;
  --max-width: 1180px;
  --shadow: 0 24px 50px -20px rgba(45, 38, 25, 0.25);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 100px 0;
}

h1, h2, h3 {
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}

h2.section-title {
  font-size: clamp(28px, 4vw, 40px);
  text-align: center;
  margin-bottom: 8px;
}

p.section-subtitle {
  text-align: center;
  color: var(--text-light-muted);
  max-width: 560px;
  margin: 0 auto 56px;
  font-size: 17px;
}

.eyebrow {
  display: inline-block;
  color: var(--accent-green);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(180deg, #e3bd7a 0%, var(--accent) 55%, #a16a1f 100%);
  color: #241100;
  box-shadow: 0 12px 26px -10px rgba(201, 138, 46, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.btn-primary:hover {
  background: linear-gradient(180deg, #edcf97 0%, #d89a3a 55%, var(--accent) 100%);
  box-shadow: 0 16px 30px -10px rgba(201, 138, 46, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.btn-outline {
  background: #ffffff;
  border-color: var(--border);
  color: var(--text);
  box-shadow: 0 2px 8px -4px rgba(120, 85, 20, 0.14);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 8px 20px -8px rgba(201, 138, 46, 0.3);
}

.btn-sm {
  padding: 10px 18px;
  font-size: 14px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(14, 13, 11, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.logo {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 14px var(--accent);
}

.nav-links {
  display: flex;
  gap: 36px;
}

.nav-links a {
  font-size: 15px;
  color: var(--text-light-muted);
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--text-light);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text-light);
  border-radius: 2px;
}

/* ---------- Hero ---------- */
.hero {
  padding: 120px 0 100px;
  position: relative;
  overflow: hidden;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(10px);
}

.hero::before {
  top: -220px;
  right: -180px;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, var(--accent-soft) 0%, transparent 70%);
}

.hero::after {
  bottom: -160px;
  left: -160px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, var(--accent-2-soft) 0%, transparent 70%);
}

.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
  position: relative;
}

.hero h1 {
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.08;
}

.hero h1 span {
  color: var(--accent-green);
}

.hero p {
  font-size: 18px;
  line-height: 1.5;
  color: var(--text-light-muted);
  max-width: 480px;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.hero-stats {
  display: flex;
  gap: 36px;
  margin-top: 40px;
}

.hero-stats div strong {
  display: block;
  font-size: 26px;
  color: var(--accent);
}

.hero-stats div span {
  font-size: 13px;
  color: var(--text-light-muted);
}

.hero-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 24px;
  background: linear-gradient(160deg, #ffffff 0%, var(--bg) 100%);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.hero-photo-frame {
  position: absolute;
  inset: 0;
  border-radius: 24px;
  overflow: hidden;
}

.hero-photo-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, 0) 70%, rgba(201, 138, 46, 0.14) 100%);
  pointer-events: none;
}

.hero-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
  filter: saturate(1.05) contrast(1.08) brightness(0.9);
}

.badge-float {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  backdrop-filter: blur(6px);
}

.badge-float .pulse {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-green);
  box-shadow: 0 0 0 0 var(--accent-green-soft);
  animation: pulse 2s infinite;
  flex-shrink: 0;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(47, 219, 154, 0.5); }
  70% { box-shadow: 0 0 0 10px rgba(47, 219, 154, 0); }
  100% { box-shadow: 0 0 0 0 rgba(47, 219, 154, 0); }
}

.badge-float strong {
  display: block;
  font-size: 14px;
}

.badge-float span {
  font-size: 12px;
  color: var(--text-muted);
}

/* ---------- USP strip ---------- */
.usp-strip {
  padding: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-alt);
}

.usp-strip .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.usp-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 32px 20px;
  border-right: 1px solid var(--border);
}

.usp-item:last-child {
  border-right: none;
}

.usp-item .icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon-purple { background: var(--accent-soft); color: var(--accent); }
.icon-orange { background: var(--accent-2-soft); color: var(--accent-2); }
.icon-green { background: var(--accent-green-soft); color: var(--accent-green); }
.icon-blue { background: var(--accent-blue-soft); color: var(--accent-blue); }
.icon-pink { background: var(--accent-pink-soft); color: var(--accent-pink); }

/* Higher specificity than .usp-item/.card/.contact-method .icon so variants always win */
div.icon.icon-purple { background: var(--accent-soft); color: var(--accent); }
div.icon.icon-orange { background: var(--accent-2-soft); color: var(--accent-2); }
div.icon.icon-green { background: var(--accent-green-soft); color: var(--accent-green); }
div.icon.icon-blue { background: var(--accent-blue-soft); color: var(--accent-blue); }
div.icon.icon-pink { background: var(--accent-pink-soft); color: var(--accent-pink); }

.usp-item strong {
  display: block;
  font-size: 14px;
}

.usp-item span {
  font-size: 13px;
  color: var(--text-light-muted);
}

/* ---------- Cards grid (Leistungen / Produkte) ---------- */
.grid {
  display: grid;
  gap: 24px;
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
  max-width: 760px;
  margin: 0 auto;
}

.card {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 26px;
  box-shadow: 0 10px 30px -20px rgba(120, 85, 20, 0.22);
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0) 45%);
  pointer-events: none;
}

.card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  background: var(--surface-hover);
  box-shadow: 0 20px 40px -16px rgba(120, 85, 20, 0.3);
}

.card .icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.card p {
  color: var(--text-muted);
  font-size: 14.5px;
  margin: 0;
}

/* ---------- Split section (Zielgruppe / Über uns) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.split .visual-box {
  aspect-ratio: 1 / 1;
  border-radius: 24px;
  background: linear-gradient(160deg, #ffffff 0%, var(--bg) 100%);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
}

.split .visual-box svg {
  width: 55%;
}

/* Vertrauens-Siegel & Standort-Haus: bewusst klein, da nur Begleit-Icons neben Text */
#warum-wir .visual-box,
#ueber-uns .visual-box {
  width: 180px;
  max-width: 180px;
  margin: 0 auto;
}

.check-list {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--text-light-muted);
  font-size: 15px;
}

.check-list li svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--accent);
}

.bg-alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* ---------- Contact ---------- */
.contact-box {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 56px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 28px;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: 14px;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.contact-method:hover {
  border-color: var(--accent);
  background: var(--surface-hover);
}

.contact-method .icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-method strong {
  display: block;
  font-size: 15px;
}

.contact-method span {
  font-size: 13px;
  color: var(--text-muted);
}

.contact-map {
  aspect-ratio: 1 / 1;
  width: 220px;
  max-width: 220px;
  margin: 0 auto;
  border-radius: 18px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--text-light-muted);
}

.contact-map strong {
  color: var(--text-light);
  font-size: 16px;
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 56px 0 28px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.footer-nav {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.footer-nav a {
  font-size: 14px;
  color: var(--text-light-muted);
}

.footer-nav a:hover {
  color: var(--text-light);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: var(--text-light-muted);
}

/* ---------- Legal pages ---------- */
.legal-page {
  padding: 80px 0 100px;
}

.legal-page h1 {
  font-size: 32px;
}

.legal-page h2 {
  font-size: 20px;
  margin-top: 36px;
}

.legal-page p, .legal-page li {
  color: var(--text-light-muted);
  font-size: 15px;
}

.legal-page .placeholder {
  color: var(--accent-2);
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .usp-strip .container { grid-template-columns: repeat(2, 1fr); }
  .usp-item { border-bottom: 1px solid var(--border); }
  .usp-item:nth-child(2) { border-right: none; }
  .hero .container { grid-template-columns: 1fr; }
  .hero-visual { order: -1; width: 100%; max-width: 420px; margin: 0 auto; }
  .split { grid-template-columns: 1fr; }
  .split.reverse .visual-box { order: -1; }
  .contact-box { grid-template-columns: 1fr; padding: 36px; }
}

@media (max-width: 720px) {
  .nav-links, .header-actions .btn-outline { display: none; }
  .nav-toggle { display: flex; }
  section { padding: 70px 0; }
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .hero { padding-top: 100px; }
  .hero-stats { flex-wrap: wrap; gap: 24px; }

  .site-header.nav-open .nav-links {
    display: flex;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
  }
}
