/*
Theme Name: Hometreend
Theme URI: https://www.hometreend.online
Author: Hometreend
Author URI: https://www.hometreend.online
Description: Einseitiges Premium-WordPress-Theme für Wohndekor und Interior. Abschnitte Startseite, Über uns, Leistungen und Kontakt. Sprache: Deutsch.
Version: 1.2.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: hometreend
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: 26px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream);
  white-space: nowrap;
}

.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;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  color: var(--cream);
  background: var(--bg);
}

.hero-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--header-h) + 48px) 48px 56px 6vw;
  gap: 42px;
}

.hero-content {
  max-width: 520px;
}

.hero h1 {
  font-size: clamp(48px, 7vw, 92px);
  line-height: 0.92;
  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 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 520px;
}

.hero-meta > div {
  border: 1px solid var(--line);
  background: var(--bg-card);
  padding: 16px 16px 18px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-meta strong {
  display: block;
  color: var(--cream);
  font-size: 22px;
  font-family: var(--font-serif);
  letter-spacing: 0;
  text-transform: none;
  font-weight: 500;
  margin-top: 8px;
}

.hero-media {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-frame {
  position: absolute;
  inset: 28px;
  border: 1px solid rgba(220, 195, 154, 0.45);
  pointer-events: none;
}

.hero-badge {
  position: absolute;
  left: -28px;
  bottom: 72px;
  background: var(--gold);
  color: #111;
  padding: 22px 26px;
  min-width: 132px;
  z-index: 2;
}

.hero-badge strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 36px;
  line-height: 1;
}

.hero-badge span {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* 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:
    radial-gradient(circle at top right, rgba(196, 165, 116, 0.12), transparent 42%),
    var(--bg-elevated);
}

.contact-intro .section-head {
  max-width: 680px;
  margin-bottom: 36px;
}

.contact-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 22px;
}

.fact-card {
  border: 1px solid var(--line);
  background: var(--bg-card);
  padding: 22px 20px 20px;
  position: relative;
}

.fact-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--gold);
}

.fact-card span {
  display: block;
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.fact-card strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.2;
}

.fact-card p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.fact-card a:hover {
  color: var(--gold);
}

.contact-main {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 18px;
  align-items: stretch;
}

.contact-form {
  border: 1px solid var(--line);
  background: var(--bg-card);
  padding: 36px;
}

.contact-form h3 {
  font-size: 34px;
  margin: 0 0 8px;
}

.form-lead {
  color: var(--muted);
  margin: 0 0 26px;
}

.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;
}

.contact-map {
  position: relative;
  min-height: 100%;
  border: 1px solid var(--line);
  overflow: hidden;
  background: var(--bg-card);
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
  filter: grayscale(0.35) contrast(1.05);
}

.map-caption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  background: rgba(11, 10, 9, 0.88);
  border: 1px solid var(--line);
  padding: 12px 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 11px;
  color: var(--cream);
}

/* 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) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-panel {
    padding: calc(var(--header-h) + 36px) 24px 36px;
    order: 2;
  }

  .hero-media {
    min-height: 58vh;
    order: 1;
  }

  .hero-badge {
    left: 16px;
    bottom: 16px;
  }

  .product-grid,
  .service-grid,
  .about-grid,
  .contact-facts,
  .contact-main,
  .service-image,
  .form-row {
    grid-template-columns: 1fr 1fr;
  }

  .about-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) {
  .logo {
    font-size: 20px;
    letter-spacing: 0.12em;
  }

  .section {
    padding: 80px 0;
  }

  .product-grid,
  .service-grid,
  .stats,
  .hero-meta,
  .contact-facts,
  .contact-main,
  .form-row {
    grid-template-columns: 1fr;
  }

  .hero-media {
    min-height: 48vh;
  }

  .hero-frame {
    inset: 14px;
  }

  .about-badge {
    left: 12px;
    bottom: 12px;
  }

  .contact-form {
    padding: 24px;
  }
}
