/* =========================================================
   Solaria Beauty — Onepager
   Akzent: #b87333 (Kupfer)
   ========================================================= */

:root {
  --accent: #b87333;
  --accent-dark: #9a5f28;
  --accent-soft: rgba(184, 115, 51, 0.12);
  --bg: #ffffff;
  --bg-elevated: #f7f1ea; /* warmes Beige */
  --bg-card: #ffffff;
  --text: #2c2620;
  --text-muted: #6e645a;
  --border: rgba(44, 38, 32, 0.1);
  --radius: 14px;
  --shadow: 0 14px 36px rgba(80, 55, 30, 0.08);
  --font: "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-display: Georgia, "Times New Roman", serif;
  --max: 1120px;
  --header-h: 72px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: #d4924a;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.section {
  padding: 5rem 0;
}

.section-alt {
  background: var(--bg-elevated);
}

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.2;
  margin: 0 0 1rem;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
}

h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
}

h3 {
  font-size: 1.25rem;
}

.lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 38rem;
}

.muted {
  color: var(--text-muted);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s ease;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-dark);
  color: #fff;
}

.btn-ghost {
  background: #fff;
  border-color: var(--border);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.site-header.scrolled {
  border-bottom-color: var(--border);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 6px 20px rgba(80, 55, 30, 0.06);
}

.nav {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo img {
  height: 46px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: end;
  padding: calc(var(--header-h) + 2rem) 0 4rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 252, 248, 0.35) 0%, rgba(247, 241, 234, 0.82) 55%, rgba(255, 255, 255, 0.96) 100%),
    url("../img/solaria-2026-1.jpg") center / cover no-repeat;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 40rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: var(--accent-soft);
  border: 1px solid rgba(184, 115, 51, 0.35);
  color: var(--accent-dark);
  font-size: 0.85rem;
  margin-bottom: 1.25rem;
}

.hero p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* Cards / grids */
.grid-2 {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.card-media {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
}

.card-body {
  padding: 1.25rem 1.35rem 1.5rem;
}

.card-body p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
}

.feature-list li {
  position: relative;
  padding-left: 1.35rem;
  margin-bottom: 0.65rem;
  color: var(--text-muted);
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--accent);
}

.rounded-img {
  border-radius: var(--radius);
  width: 100%;
  height: auto;
  object-fit: cover;
  box-shadow: var(--shadow);
}

/* Devices */
.device-card .card-media {
  aspect-ratio: 16 / 11;
}

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
}

.gallery a {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 1;
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.gallery a:hover img {
  transform: scale(1.05);
}

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.team-card {
  text-align: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1rem 1.25rem;
}

.team-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 0.85rem;
}

.team-card h3 {
  margin-bottom: 0.2rem;
}

.team-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.locations-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.contact-card h3 {
  margin-bottom: 0.85rem;
}

.location-card .eyebrow {
  margin-bottom: 0.4rem;
}

.location-address {
  margin: 0 0 1rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.location-address a {
  color: var(--text);
}

.location-address a:hover {
  color: var(--accent);
}

.contact-links-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.25rem;
  margin-bottom: 1.5rem;
  padding: 1rem 1.25rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.contact-links-bar a:not(.btn) {
  color: var(--text);
  font-weight: 500;
}

.hours {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hours li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
}

.hours li span:last-child {
  color: var(--text);
  font-weight: 600;
}

.contact-links {
  display: grid;
  gap: 0.65rem;
  margin: 1rem 0 1.25rem;
}

.contact-links a {
  color: var(--text);
}

.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  min-height: 280px;
}

.map-wrap img,
.map-wrap iframe {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  border: 0;
}

/* CTA band */
.cta-band {
  background:
    linear-gradient(120deg, rgba(247, 241, 234, 0.94), rgba(255, 255, 255, 0.88)),
    url("../img/sun.jpg") center / cover no-repeat;
  border-block: 1px solid var(--border);
  text-align: center;
  padding: 4.5rem 0;
}

.cta-band h2 {
  max-width: 18ch;
  margin-inline: auto;
  color: var(--text);
}

.cta-band p {
  color: var(--text-muted);
  max-width: 36rem;
  margin: 0 auto 1.5rem;
}

/* Footer */
.site-footer {
  padding: 2rem 0 2.5rem;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.footer-row a {
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.55rem;
  align-items: center;
}

.footer-links a:hover {
  color: var(--accent);
}

/* Legal pages */
.legal-page .legal-hero {
  padding-top: calc(var(--header-h) + 2.5rem);
  padding-bottom: 1.5rem;
}

.legal-content {
  max-width: 760px;
}

.legal-content h2 {
  margin-top: 2rem;
  font-size: 1.35rem;
}

.legal-content h3 {
  margin-top: 1.5rem;
  font-size: 1.05rem;
}

.legal-content p,
.legal-content li {
  color: var(--text-muted);
}

.legal-content ul {
  padding-left: 1.2rem;
  margin: 0.75rem 0 1.25rem;
}

.legal-content li {
  margin-bottom: 0.45rem;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(44, 38, 32, 0.72);
  display: none;
  place-items: center;
  padding: 1.5rem;
}

.lightbox.open {
  display: grid;
}

.lightbox img {
  max-width: min(960px, 100%);
  max-height: 85vh;
  border-radius: 10px;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--text);
  cursor: pointer;
  font-size: 1.4rem;
}

/* Mobile */
@media (max-width: 900px) {
  .grid-2,
  .grid-3,
  .gallery,
  .team-grid,
  .contact-grid,
  .locations-grid {
    grid-template-columns: 1fr;
  }

  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .nav-links {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    gap: 0.25rem;
    display: none;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a,
  .nav-links .btn {
    width: 100%;
    justify-content: center;
    padding: 0.85rem;
  }

  .section {
    padding: 3.5rem 0;
  }
}
