/*
Theme Name: Decooza
Theme URI: https://decooza.online
Author: Decooza
Author URI: https://decooza.online
Description: Einseitiges Premium-WordPress-Theme für Wohndekor und Interior. Abschnitte Startseite, Über uns, Leistungen und Kontakt. Sprache: Deutsch.
Version: 1.1.1
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: decooza
Tags: one-page, e-commerce, custom-menu, featured-images, translation-ready
*/

:root {
  --bg: #0b0a09;
  --bg-elevated: #141210;
  --bg-card: #1a1815;
  --cream: #f3eee6;
  --cream-soft: #e6dfd3;
  --gold: #c4a574;
  --gold-bright: #dcc39a;
  --text: #f3eee6;
  --muted: #9c9488;
  --line: rgba(196, 165, 116, 0.22);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  --radius: 2px;
  --header-h: 84px;
  --font-serif: "Cormorant Garamond", "Times New Roman", serif;
  --font-sans: "Outfit", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-weight: 400;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font-family: inherit;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--gold);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 500;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
}

h1,
h2,
h3,
.serif {
  font-family: var(--font-serif);
  font-weight: 500;
  letter-spacing: 0.01em;
}

.section {
  padding: 110px 0;
}

.section-head {
  max-width: 640px;
  margin-bottom: 56px;
}

.section-head h2 {
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.08;
  margin: 14px 0 16px;
}

.section-head p {
  color: var(--muted);
  margin: 0;
  font-size: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 28px;
  border: 1px solid var(--gold);
  background: var(--gold);
  color: #111;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: 0.25s ease;
}

.btn:hover {
  background: var(--gold-bright);
  border-color: var(--gold-bright);
}

.btn-ghost {
  background: transparent;
  color: var(--cream);
}

.btn-ghost:hover {
  background: var(--gold);
  color: #111;
}

.btn-full {
  width: 100%;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background: rgba(11, 10, 9, 0.92);
  backdrop-filter: blur(18px);
  border-bottom-color: var(--line);
}

.header-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  font-family: var(--font-serif);
  font-size: 28px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--cream);
}

.logo span {
  color: var(--gold);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--cream);
  cursor: pointer;
  position: relative;
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  height: 1px;
  background: currentColor;
}

.nav-toggle span {
  top: 50%;
}

.nav-toggle::before {
  top: 14px;
}

.nav-toggle::after {
  bottom: 14px;
}

.primary-nav ul {
  display: flex;
  gap: 34px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.primary-nav a {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream-soft);
  position: relative;
}

.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.primary-nav a:hover::after,
.primary-nav a.is-active::after {
  transform: scaleX(1);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: end stretch;
  color: var(--cream);
  background: #000 center / cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(11, 10, 9, 0.82) 0%, rgba(11, 10, 9, 0.35) 52%, rgba(11, 10, 9, 0.2) 100%),
    linear-gradient(180deg, rgba(11, 10, 9, 0.25) 0%, rgba(11, 10, 9, 0.72) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto 110px;
}

.hero h1 {
  font-size: clamp(52px, 9vw, 108px);
  line-height: 0.9;
  margin: 18px 0 22px;
  max-width: 9ch;
}

.hero p {
  max-width: 460px;
  color: var(--cream-soft);
  margin: 0 0 34px;
  font-size: 17px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-meta {
  margin-top: 48px;
  display: flex;
  gap: 36px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-meta strong {
  display: block;
  color: var(--cream);
  font-size: 20px;
  font-family: var(--font-serif);
  letter-spacing: 0;
  text-transform: none;
  font-weight: 500;
  margin-top: 4px;
}

/* Collection */
.collection {
  background: var(--bg);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  overflow: hidden;
}

.product-media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.product-card:hover img {
  transform: scale(1.06);
}

.product-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--gold);
  color: #111;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 6px 10px;
}

.product-body {
  padding: 20px 20px 22px;
}

.product-body h3 {
  margin: 0 0 6px;
  font-size: 26px;
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 14px;
}

.price {
  color: var(--gold);
  font-family: var(--font-serif);
  font-size: 22px;
}

.add-cart {
  border: 0;
  background: transparent;
  color: var(--cream);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 11px;
  cursor: pointer;
  padding: 0;
}

.add-cart:hover {
  color: var(--gold);
}

/* About */
.about {
  background: var(--bg-elevated);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-visual img {
  width: 100%;
  height: 640px;
  object-fit: cover;
}

.about-badge {
  position: absolute;
  left: -24px;
  bottom: 36px;
  background: var(--gold);
  color: #111;
  padding: 22px 26px;
  min-width: 150px;
}

.about-badge strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 34px;
  line-height: 1;
}

.about-badge span {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.stats strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 32px;
  color: var(--gold);
  line-height: 1;
}

.stats span {
  color: var(--muted);
  font-size: 13px;
}

/* Services */
.services {
  background: var(--bg);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.service-card {
  padding: 32px 26px 34px;
  border: 1px solid var(--line);
  background: var(--bg-card);
  min-height: 280px;
}

.service-num {
  color: var(--gold);
  font-family: var(--font-serif);
  font-size: 28px;
  margin-bottom: 28px;
}

.service-card h3 {
  font-size: 28px;
  margin: 0 0 12px;
}

.service-card p {
  color: var(--muted);
  margin: 0;
}

.service-image {
  margin: 70px 0 0;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 18px;
}

.service-image img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}

/* Contact */
.contact {
  background: var(--bg-elevated);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
}

.contact-card,
.contact-form {
  border: 1px solid var(--line);
  background: var(--bg-card);
  padding: 36px;
}

.contact-list {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
}

.contact-list li {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.contact-list span {
  display: block;
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.contact-list a:hover {
  color: var(--gold);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field {
  margin-bottom: 14px;
}

.field label {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.field input,
.field textarea {
  width: 100%;
  background: #100f0d;
  border: 1px solid var(--line);
  color: var(--cream);
  padding: 14px 14px;
  outline: none;
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--gold);
}

.form-note {
  margin: 14px 0 0;
  min-height: 24px;
  color: var(--gold);
  font-size: 14px;
}

.map-strip {
  margin-top: 18px;
  height: 220px;
  background:
    linear-gradient(rgba(11, 10, 9, 0.35), rgba(11, 10, 9, 0.55)),
    url("https://images.unsplash.com/photo-1524661135-423995f22d0b?auto=format&fit=crop&w=1400&q=80") center / cover no-repeat;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--cream);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 12px;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0;
  color: var(--muted);
  font-size: 13px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  background: var(--gold);
  color: #111;
  padding: 14px 18px;
  z-index: 50;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 12px;
  transform: translateY(120%);
  transition: transform 0.3s ease;
}

.toast.is-visible {
  transform: translateY(0);
}

@media (max-width: 980px) {
  .product-grid,
  .service-grid,
  .about-grid,
  .contact-grid,
  .service-image,
  .form-row {
    grid-template-columns: 1fr 1fr;
  }

  .about-grid,
  .contact-grid,
  .service-image {
    gap: 28px;
  }

  .about-visual img,
  .service-image img {
    height: 420px;
  }

  .nav-toggle {
    display: block;
  }

  .primary-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: rgba(11, 10, 9, 0.97);
    border-bottom: 1px solid var(--line);
    display: none;
  }

  .primary-nav.is-open {
    display: block;
  }

  .primary-nav ul {
    flex-direction: column;
    padding: 18px 24px 28px;
    gap: 18px;
  }
}

@media (max-width: 680px) {
  .section {
    padding: 80px 0;
  }

  .product-grid,
  .service-grid,
  .stats,
  .form-row {
    grid-template-columns: 1fr;
  }

  .hero-content {
    margin-bottom: 72px;
  }

  .about-badge {
    left: 12px;
    bottom: 12px;
  }

  .contact-card,
  .contact-form {
    padding: 24px;
  }
}
