/*
Theme Name: TreendBuy
Theme URI: https://TreendBuy.shop
Author: TreendBuy
Author URI: https://TreendBuy.shop
Description: Einseitiges WordPress-Theme für TreendBuy – luxuriöse Männermode. Abschnitte: Startseite, Über uns, Leistungen, Kontakt. Sprache: Deutsch.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.6
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: treendbuy
Tags: one-page, custom-menu, featured-images, translation-ready, custom-logo
*/

:root {
  --bg: #0b0b0b;
  --bg-elevated: #141414;
  --bg-card: #1a1a1a;
  --ivory: #f4efe6;
  --ivory-muted: #c8c0b4;
  --gold: #c4a574;
  --gold-soft: #d4bc94;
  --line: rgba(196, 165, 116, 0.28);
  --font-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-sans: "Outfit", "Helvetica Neue", Arial, sans-serif;
  --header-h: 5.25rem;
  --max: 72rem;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

.hero,
.section {
  scroll-margin-top: var(--header-h);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ivory);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font-family: inherit;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.screen-reader-text:focus {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 10000;
  width: auto;
  height: auto;
  padding: 0.75rem 1rem;
  margin: 0;
  overflow: visible;
  clip: auto;
  background: var(--gold);
  color: var(--bg);
}

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

.section {
  padding: 7.5rem 0;
}

.section-label {
  display: inline-block;
  margin: 0 0 1rem;
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.section-title {
  margin: 0 0 1.25rem;
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5vw, 3.75rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.lead {
  max-width: 38rem;
  margin: 0;
  color: var(--ivory-muted);
  font-size: 1.125rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(11, 11, 11, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

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

.site-logo {
  font-family: var(--font-serif);
  font-size: 1.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-logo img,
.site-logo .custom-logo {
  max-height: 2.5rem;
  width: auto;
}

.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ivory);
  cursor: pointer;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 1.15rem;
  height: 1px;
  margin: 0 auto;
  background: currentColor;
  content: "";
}

.nav-toggle-bars {
  position: relative;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  position: absolute;
  left: 0;
}

.nav-toggle-bars::before {
  top: -6px;
}

.nav-toggle-bars::after {
  top: 6px;
}

.primary-nav .nav-menu,
.primary-nav ul {
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.primary-nav a {
  color: var(--ivory-muted);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.primary-nav a:hover,
.primary-nav .current-menu-item a {
  color: var(--gold);
}

/* Hero */
.hero {
  position: relative;
  display: grid;
  min-height: calc(100vh - var(--header-h));
  place-items: center;
  overflow: hidden;
  background: #0b0b0b;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11, 11, 11, 0.55) 0%, rgba(11, 11, 11, 0.72) 55%, rgba(11, 11, 11, 0.92) 100%),
    radial-gradient(ellipse at 50% 40%, transparent 0%, rgba(11, 11, 11, 0.35) 70%);
  pointer-events: none;
}

.hero::before {
  display: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 46rem;
  padding: 5rem 0 6rem;
  text-align: center;
}

.hero-kicker {
  margin: 0 0 1.25rem;
  color: var(--gold);
  font-size: 0.8rem;
  letter-spacing: 0.38em;
  text-transform: uppercase;
}

.hero-title {
  margin: 0 0 1.5rem;
  font-family: var(--font-serif);
  font-size: clamp(3.2rem, 8vw, 6.25rem);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.hero-title em {
  font-style: italic;
  color: var(--gold-soft);
}

.hero-text {
  max-width: 32rem;
  margin: 0 auto 2.25rem;
  color: var(--ivory-muted);
  font-size: 1.125rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.15rem;
  padding: 0.85rem 1.75rem;
  border: 1px solid var(--gold);
  background: var(--gold);
  color: var(--bg);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: 0.2s ease;
}

.btn:hover {
  background: transparent;
  color: var(--gold);
}

.btn-ghost {
  background: transparent;
  color: var(--gold);
}

.btn-ghost:hover {
  background: var(--gold);
  color: var(--bg);
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4.5rem;
  align-items: center;
}

.about-visual {
  min-height: 28rem;
  overflow: hidden;
  border: 1px solid var(--line);
}

.about-visual img {
  width: 100%;
  height: 100%;
  min-height: 28rem;
  object-fit: cover;
  object-position: center top;
}

.about-copy p {
  color: var(--ivory-muted);
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.about-stats strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 500;
  color: var(--gold);
  line-height: 1.1;
}

.about-stats span {
  color: var(--ivory-muted);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Services */
.services {
  background: var(--bg-elevated);
  border-block: 1px solid var(--line);
}

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

.service-card {
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--bg-card);
}

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

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

.service-index {
  display: block;
  margin-bottom: 0.65rem;
  color: var(--gold);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
}

.service-card h3 {
  margin: 0 0 0.85rem;
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 500;
}

.service-card p {
  margin: 0;
  color: var(--ivory-muted);
  font-size: 0.98rem;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4rem;
  align-items: start;
}

.contact-image {
  width: 100%;
  max-height: 14rem;
  margin-bottom: 1.75rem;
  object-fit: cover;
  border: 1px solid var(--line);
}

.contact-list {
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.contact-list li {
  margin: 0 0 1.35rem;
}

.contact-list span {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--gold);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.contact-list a:hover {
  color: var(--gold);
}

.contact-form {
  display: grid;
  gap: 1rem;
  padding: 2rem;
  border: 1px solid var(--line);
  background: var(--bg-elevated);
}

.contact-form label {
  display: grid;
  gap: 0.4rem;
  color: var(--ivory-muted);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.85rem 0.9rem;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ivory);
  font-size: 1rem;
  letter-spacing: 0;
  text-transform: none;
}

.contact-form textarea {
  min-height: 8.5rem;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 1px solid var(--gold);
}

.contact-form .btn {
  justify-self: start;
  margin-top: 0.35rem;
}

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

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-brand {
  color: var(--ivory);
  font-family: var(--font-serif);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

@media (max-width: 960px) {
  .about-grid,
  .contact-grid,
  .service-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: grid;
    place-items: center;
  }

  .primary-nav {
    position: absolute;
    top: var(--header-h);
    right: 0;
    left: 0;
    display: none;
    padding: 1.25rem 1.25rem 1.5rem;
    background: rgba(11, 11, 11, 0.98);
    border-bottom: 1px solid var(--line);
  }

  .primary-nav.is-open {
    display: block;
  }

  .primary-nav .nav-menu,
  .primary-nav ul {
    flex-direction: column;
    gap: 1rem;
  }

  .about-grid,
  .contact-grid,
  .service-grid,
  .about-stats {
    grid-template-columns: 1fr;
  }

  .about-visual img {
    min-height: 20rem;
  }

  .section {
    padding: 5rem 0;
  }
}
