/*
Theme Name: Homeina
Theme URI: https://homeina.online
Author: Homeina
Author URI: https://homeina.online
Description: Premium einseitiges WordPress-Theme für Inneneinrichtung. Abschnitte: Start, Über uns, Leistungen, Kontakt. Sechs Leistungen mit Bildern. Sprache: Deutsch.
Version: 1.0.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: homeina
Tags: one-column, custom-menu, featured-images, translation-ready
*/

:root {
  --ink: #12100e;
  --ink-soft: #1c1916;
  --ivory: #f6f1ea;
  --paper: #f3ece3;
  --sand: #e4d8c8;
  --gold: #c6a56a;
  --gold-deep: #a4844c;
  --muted: #7a7268;
  --line: rgba(18, 16, 14, 0.12);
  --white: #fffcf8;
  --header-h: 92px;
  --font-serif: "Playfair Display", "Times New Roman", serif;
  --font-sans: "Manrope", "Helvetica Neue", Arial, sans-serif;
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  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;
}

h1,
h2,
h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.12;
  margin: 0;
}

p {
  margin: 0 0 1em;
}

p:last-child {
  margin-bottom: 0;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.wrap {
  width: min(1220px, calc(100% - 48px));
  margin-inline: auto;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 11px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 600;
  margin-bottom: 18px;
}

.kicker::before {
  content: "";
  width: 36px;
  height: 1px;
  background: var(--gold);
}

.section-title {
  font-size: clamp(2.6rem, 5.4vw, 4.6rem);
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}

.lead {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 54ch;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 30px;
  border: 1px solid transparent;
  background: var(--gold);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

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

.btn-ghost {
  background: transparent;
  color: var(--ivory);
  border-color: rgba(246, 241, 234, 0.35);
}

.btn-ghost:hover {
  background: var(--ivory);
  color: var(--ink);
  border-color: var(--ivory);
}

.btn-dark {
  background: var(--ink);
  color: var(--ivory);
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
}

.site-header.is-scrolled {
  background: rgba(18, 16, 14, 0.92);
  box-shadow: 0 1px 0 rgba(198, 165, 106, 0.18);
}

.header-inner {
  width: min(1220px, calc(100% - 48px));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  flex-direction: column;
  gap: 3px;
  z-index: 2;
}

.logo-mark {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  letter-spacing: 0.16em;
  line-height: 1;
  color: var(--ivory);
}

.logo-sub {
  font-size: 9px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
  z-index: 2;
  padding: 0;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--ivory);
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle span::before {
  top: -7px;
}

.nav-toggle span::after {
  top: 7px;
}

.site-header.menu-open .nav-toggle span {
  background: transparent;
}

.site-header.menu-open .nav-toggle span::before {
  top: 0;
  transform: rotate(45deg);
}

.site-header.menu-open .nav-toggle span::after {
  top: 0;
  transform: rotate(-45deg);
}

.primary-nav ul {
  display: flex;
  gap: 34px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.primary-nav a {
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(246, 241, 234, 0.78);
  padding-bottom: 6px;
  position: relative;
}

.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.25s ease;
}

.primary-nav a:hover,
.primary-nav a.is-active {
  color: var(--ivory);
}

.primary-nav a:hover::after,
.primary-nav a.is-active::after {
  width: 100%;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: end;
  color: var(--ivory);
  overflow: hidden;
  background: var(--ink);
}

.hero-media,
.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(18, 16, 14, 0.78) 0%, rgba(18, 16, 14, 0.28) 52%, rgba(18, 16, 14, 0.55) 100%),
    linear-gradient(180deg, rgba(18, 16, 14, 0.35) 0%, rgba(18, 16, 14, 0.12) 40%, rgba(18, 16, 14, 0.82) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1220px, calc(100% - 48px));
  margin: 0 auto;
  padding: 0 0 92px;
}

.hero .kicker {
  color: var(--gold);
}

.hero .kicker::before {
  background: var(--gold);
}

.hero h1 {
  font-size: clamp(3.2rem, 7.2vw, 6.6rem);
  font-weight: 500;
  max-width: 11ch;
  margin-bottom: 22px;
}

.hero-copy {
  max-width: 40ch;
  color: rgba(246, 241, 234, 0.86);
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-aside {
  position: absolute;
  right: max(24px, calc((100% - 1220px) / 2));
  bottom: 92px;
  z-index: 1;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(246, 241, 234, 0.7);
  text-align: right;
}

.marquee {
  background: var(--ink);
  color: var(--gold);
  border-top: 1px solid rgba(198, 165, 106, 0.18);
  overflow: hidden;
  white-space: nowrap;
  padding: 16px 0;
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.marquee span {
  display: inline-block;
  padding-right: 48px;
}

.about {
  padding: 120px 0 80px;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 80px;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-visual img {
  width: 100%;
  height: 680px;
  object-fit: cover;
}

.about-frame {
  position: absolute;
  inset: 24px -24px -24px 24px;
  border: 1px solid var(--gold);
  pointer-events: none;
}

.about-quote {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-style: italic;
  color: var(--ink-soft);
}

.services {
  padding: 40px 0 110px;
}

.services-head {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 48px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-card {
  position: relative;
  min-height: 380px;
  overflow: hidden;
  color: var(--ivory);
  background: var(--ink);
}

.service-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 0.7s ease;
}

.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18, 16, 14, 0.05) 20%, rgba(18, 16, 14, 0.82) 100%);
}

.service-card:hover img {
  transform: scale(1.1);
}

.service-body {
  position: relative;
  z-index: 1;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
}

.service-no {
  font-size: 11px;
  letter-spacing: 0.28em;
  color: var(--gold);
  margin-bottom: 8px;
}

.service-body h3 {
  font-size: 2rem;
  margin-bottom: 8px;
}

.service-body p {
  color: rgba(246, 241, 234, 0.82);
  font-size: 0.96rem;
}

.signature {
  background: var(--ink);
  color: var(--ivory);
  padding: 88px 0;
}

.signature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.signature article h3 {
  font-size: 1.7rem;
  color: var(--gold);
  margin: 10px 0 12px;
}

.signature p {
  color: rgba(246, 241, 234, 0.72);
}

.contact {
  padding: 120px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 72px;
}

.contact-list {
  list-style: none;
  margin: 36px 0 0;
  padding: 0;
  display: grid;
  gap: 22px;
}

.contact-list strong {
  display: block;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 6px;
}

.contact-form {
  background: var(--white);
  padding: 42px;
  box-shadow: 0 30px 70px rgba(18, 16, 14, 0.08);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  margin-bottom: 16px;
}

.field label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: var(--muted);
  font-weight: 600;
}

.field input,
.field textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  padding: 12px 0;
  font-size: 16px;
  color: var(--ink);
  outline: none;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  border-bottom-color: var(--gold);
}

.form-note {
  margin: 8px 0 20px;
  font-size: 13px;
  color: var(--muted);
}

.form-success,
.form-error {
  padding: 14px 16px;
  margin-bottom: 20px;
  font-size: 15px;
}

.form-success {
  background: #e9f3ea;
  color: #24532c;
}

.form-error {
  background: #f8eaea;
  color: #7a2b2b;
}

.site-footer {
  background: var(--ink);
  color: rgba(246, 241, 234, 0.74);
  padding: 56px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(246, 241, 234, 0.1);
}

.footer-col h3 {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  margin-bottom: 8px;
}

.footer-col a:hover {
  color: var(--ivory);
}

.copyright {
  padding-top: 22px;
  font-size: 13px;
  color: rgba(246, 241, 234, 0.45);
}

.error-page {
  min-height: 80vh;
  display: grid;
  place-content: center;
  text-align: center;
  padding: 140px 24px 80px;
  background: var(--ink);
  color: var(--ivory);
}

.error-page .lead {
  margin: 0 auto 28px;
  color: rgba(246, 241, 234, 0.7);
}

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

  .primary-nav {
    position: fixed;
    inset: 0;
    z-index: 1;
    background: var(--ink);
    display: none;
    place-items: center;
  }

  .site-header.menu-open {
    height: 100dvh;
    align-items: flex-start;
    background: var(--ink);
  }

  .site-header.menu-open .header-inner {
    height: var(--header-h);
  }

  .site-header.menu-open .primary-nav {
    display: grid;
  }

  .primary-nav ul {
    flex-direction: column;
    align-items: center;
    gap: 28px;
  }

  .primary-nav a {
    font-size: 18px;
    color: var(--ivory);
  }

  .hero-aside {
    display: none;
  }

  .about-grid,
  .services-head,
  .service-grid,
  .signature-grid,
  .contact-grid,
  .footer-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .about-visual img {
    height: 460px;
  }

  .about-frame {
    inset: 16px -12px -16px 16px;
  }

  .contact-form {
    padding: 28px 22px;
  }
}

@media (max-width: 640px) {
  .wrap,
  .header-inner,
  .hero-content {
    width: min(1220px, calc(100% - 32px));
  }

  .about,
  .contact {
    padding: 80px 0;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
}
