/*
Theme Name: HomeDesigns
Theme URI: https://HomeDesigns.online
Author: HomeDesigns
Author URI: https://HomeDesigns.online
Description: Einseitiges WordPress-Theme für Homedekoration und Inneneinrichtung. Menüs: Start, Über uns, Leistungen, Kontakt. Sprache: Deutsch. Mit Impressum und Datenschutz für Google-Ads-konforme Landingpages.
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: homedesigns
Tags: one-column, custom-menu, featured-images, translation-ready
*/

:root {
  --ink: #12151a;
  --ink-soft: #2a3038;
  --chalk: #eceef1;
  --paper: #f4f5f7;
  --veil: #e2e5ea;
  --slate: #4a5560;
  --teal: #1f4d4a;
  --teal-deep: #163937;
  --brass: #9a7348;
  --brass-soft: #b8926a;
  --muted: #66707a;
  --line: rgba(18, 21, 26, 0.1);
  --white: #ffffff;
  --header-h: 78px;
  --font-display: "Syne", "Avenir Next", "Helvetica Neue", sans-serif;
  --font-serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --font-sans: "Sora", "Avenir Next", "Helvetica Neue", 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: 16px;
  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.1;
  margin: 0;
  letter-spacing: -0.02em;
}

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);
}

.hp-field {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

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

.kicker {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--brass);
  font-weight: 600;
  margin-bottom: 18px;
}

.section-title {
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  margin-bottom: 18px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 26px;
  border: 1px solid transparent;
  background: var(--teal);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.btn:hover {
  background: var(--teal-deep);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
}

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

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

.btn-dark:hover {
  background: var(--teal);
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: rgba(18, 21, 26, 0.28);
}

.btn-outline:hover {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
  transform: none;
}

/* —— Header —— */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.site-header.is-scrolled,
.site-header.menu-open,
body:not(.home) .site-header,
body.has-solid-header .site-header {
  background: rgba(244, 245, 247, 0.96);
  border-bottom-color: var(--line);
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(18, 21, 26, 0.04);
}

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

.logo {
  display: flex;
  align-items: center;
  z-index: 2;
}

.logo img {
  height: 44px;
  width: auto;
  transition: filter 0.3s ease, opacity 0.3s ease;
}

body.home:not(.has-solid-header) .site-header:not(.is-scrolled):not(.menu-open) .logo img {
  filter: brightness(0) invert(1);
}

.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(--ink);
  position: relative;
  transition: background 0.3s ease;
}

body.home:not(.has-solid-header) .site-header:not(.is-scrolled):not(.menu-open) .nav-toggle span,
body.home:not(.has-solid-header) .site-header:not(.is-scrolled):not(.menu-open) .nav-toggle span::before,
body.home:not(.has-solid-header) .site-header:not(.is-scrolled):not(.menu-open) .nav-toggle span::after {
  background: var(--white);
}

.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);
  background: var(--ink);
}

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

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

.primary-nav a {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-soft);
  padding-bottom: 4px;
  position: relative;
  transition: color 0.25s ease;
}

body.home:not(.has-solid-header) .site-header:not(.is-scrolled):not(.menu-open) .primary-nav a {
  color: rgba(255, 255, 255, 0.88);
}

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

body.home:not(.has-solid-header) .site-header:not(.is-scrolled):not(.menu-open) .primary-nav a::after {
  background: var(--white);
}

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

body.home:not(.has-solid-header) .site-header:not(.is-scrolled):not(.menu-open) .primary-nav a:hover,
body.home:not(.has-solid-header) .site-header:not(.is-scrolled):not(.menu-open) .primary-nav a.is-active {
  color: var(--white);
}

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

/* —— Full-bleed hero —— */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: hero-ken 18s ease-in-out infinite alternate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(18, 21, 26, 0.72) 0%, rgba(18, 21, 26, 0.35) 48%, rgba(18, 21, 26, 0.2) 100%),
    linear-gradient(0deg, rgba(18, 21, 26, 0.55) 0%, transparent 45%);
  pointer-events: none;
}

.hero-copy-panel {
  position: relative;
  z-index: 2;
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: calc(var(--header-h) + 48px) 0 72px;
  max-width: 640px;
  margin-left: max(24px, calc((100% - 1120px) / 2));
  animation: rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.brand-mark {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.95;
  margin: 0 0 22px;
  color: var(--white);
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.55rem, 2.8vw, 2.15rem);
  font-weight: 400;
  font-style: italic;
  max-width: 22ch;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.94);
}

.hero-copy {
  max-width: 42ch;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 28px;
  font-size: 1.02rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
  animation: rise 1s cubic-bezier(0.22, 1, 0.36, 1) 0.15s both;
}

.hero-meta {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.62);
}

/* —— About —— */
.about {
  padding: 120px 0;
  background:
    linear-gradient(180deg, var(--chalk) 0%, var(--paper) 100%);
}

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

.about-visual {
  position: relative;
}

.about-visual img {
  width: 100%;
  height: 620px;
  object-fit: cover;
  clip-path: inset(0 round 0);
}

.about-visual::before {
  content: "";
  position: absolute;
  inset: 28px -24px -28px 28px;
  border: 1px solid rgba(31, 77, 74, 0.28);
  z-index: -1;
  animation: frame-in 1.1s ease both;
}

.about-copy .lead {
  margin-bottom: 16px;
}

.about-points {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.about-points li {
  padding-left: 18px;
  position: relative;
  color: var(--ink-soft);
}

.about-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 1px;
  background: var(--teal);
}

/* —— Services (editorial rows, not cards) —— */
.services {
  padding: 0 0 100px;
}

.services-head {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 36px;
  align-items: end;
  margin-bottom: 48px;
  padding-top: 20px;
}

.service-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.service-row {
  display: grid;
  grid-template-columns: 72px 1.1fr 0.9fr 1.2fr;
  gap: 24px;
  align-items: center;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  transition: background 0.3s ease;
}

.service-row:hover {
  background: rgba(31, 77, 74, 0.03);
}

.service-no {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--brass);
  font-weight: 700;
}

.service-row h3 {
  font-size: 1.65rem;
}

.service-row p {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0;
}

.service-thumb {
  width: 100%;
  height: 110px;
  overflow: hidden;
  background: var(--ink);
}

.service-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.service-row:hover .service-thumb img {
  transform: scale(1.06);
}

/* —— Process —— */
.process {
  background: var(--ink);
  color: var(--chalk);
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}

.process::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -80px;
  top: -120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(154, 115, 72, 0.18), transparent 70%);
  pointer-events: none;
}

.process .kicker {
  color: var(--brass-soft);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 40px;
  position: relative;
}

.process-grid article {
  animation: rise 0.8s ease both;
}

.process-grid article:nth-child(2) {
  animation-delay: 0.1s;
}

.process-grid article:nth-child(3) {
  animation-delay: 0.2s;
}

.process-grid span {
  display: block;
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--brass-soft);
  margin-bottom: 14px;
  font-weight: 700;
}

.process-grid h3 {
  font-size: 1.7rem;
  margin-bottom: 12px;
}

.process-grid p {
  color: rgba(236, 238, 241, 0.7);
}

/* —— Contact —— */
.contact {
  padding: 120px 0;
  background: var(--paper);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
}

.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.2em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 6px;
  font-weight: 600;
}

.contact-form {
  background: var(--white);
  padding: 40px;
  border: 1px solid var(--line);
}

.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.14em;
  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(--teal);
}

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

.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  cursor: pointer;
}

.consent input {
  margin-top: 4px;
}

.consent a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

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

.form-success {
  background: #e4eeeb;
  color: #1f4d4a;
}

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

/* —— Footer —— */
.site-footer {
  background: var(--ink);
  color: rgba(236, 238, 241, 0.72);
  padding: 64px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 1fr 0.8fr;
  gap: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(236, 238, 241, 0.1);
}

.logo-footer img {
  height: 42px;
  margin-bottom: 14px;
  filter: brightness(0) invert(1);
}

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

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

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

.footer-bottom {
  padding-top: 22px;
}

.copyright {
  font-size: 13px;
  color: rgba(236, 238, 241, 0.42);
}

.legal-page {
  padding: calc(var(--header-h) + 48px) 0 100px;
}

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

.legal-inner h1 {
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  margin-bottom: 24px;
}

.legal-content h2 {
  font-size: 1.35rem;
  margin: 28px 0 10px;
}

.legal-content a {
  text-decoration: underline;
  text-underline-offset: 3px;
  color: var(--teal);
}

.error-page {
  min-height: 70vh;
  display: grid;
  place-content: center;
  text-align: center;
  padding: 120px 24px 80px;
}

.error-page .lead {
  margin: 0 auto 28px;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-ken {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.06);
  }
}

@keyframes frame-in {
  from {
    opacity: 0;
    transform: translate(8px, 8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

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

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

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

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

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

  .site-header.menu-open .logo img {
    filter: none;
  }

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

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

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

  .service-thumb {
    height: 180px;
    order: -1;
  }

  .hero-copy-panel {
    margin-left: 24px;
    margin-right: 24px;
    width: auto;
    max-width: none;
    padding-bottom: 56px;
  }

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

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

@media (max-width: 640px) {
  .wrap,
  .header-inner {
    width: min(1120px, calc(100% - 28px));
  }

  .about,
  .contact,
  .legal-page {
    padding-top: 80px;
    padding-bottom: 80px;
  }

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

  .brand-mark {
    font-size: clamp(2.4rem, 12vw, 3.4rem);
  }
}
