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

:root {
  --ink: #2c241c;
  --ink-soft: #3d342b;
  --cream: #f7f1e8;
  --paper: #fbf7f1;
  --sand: #e8dccb;
  --sage: #5f6d5a;
  --sage-deep: #4a5647;
  --terra: #b85a3d;
  --terra-deep: #9a4a32;
  --muted: #74685c;
  --line: rgba(44, 36, 28, 0.12);
  --white: #fffdf9;
  --header-h: 84px;
  --topbar-h: 38px;
  --font-serif: "Fraunces", "Times New Roman", serif;
  --font-sans: "Figtree", "Helvetica Neue", Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + var(--topbar-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.14;
  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);
}

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

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

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--terra);
  font-weight: 700;
  margin-bottom: 16px;
}

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

.section-title {
  font-size: clamp(2.3rem, 4.8vw, 3.8rem);
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

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

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

.btn:hover {
  background: var(--terra-deep);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: rgba(44, 36, 28, 0.28);
}

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

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

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

.topbar {
  background: var(--ink);
  color: rgba(247, 241, 232, 0.82);
  font-size: 12px;
  letter-spacing: 0.04em;
  min-height: var(--topbar-h);
  display: flex;
  align-items: center;
}

.topbar-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  justify-content: flex-end;
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
  padding: 8px 0;
}

.topbar a:hover {
  color: var(--cream);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(251, 247, 241, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.site-header.is-scrolled {
  box-shadow: 0 8px 24px rgba(44, 36, 28, 0.06);
}

.header-inner {
  width: min(1180px, 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: 52px;
  width: auto;
}

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

.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: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.primary-nav a {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-soft);
  padding-bottom: 6px;
  position: relative;
}

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

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

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

.hero {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  min-height: calc(100vh - var(--header-h) - var(--topbar-h));
  background: var(--cream);
}

.hero-copy-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 72px clamp(28px, 6vw, 88px);
}

.hero h1 {
  font-size: clamp(2.6rem, 5.4vw, 4.6rem);
  max-width: 12ch;
  margin-bottom: 20px;
}

.hero-copy {
  max-width: 44ch;
  color: var(--muted);
  margin-bottom: 28px;
}

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

.hero-meta {
  font-size: 13px;
  color: var(--sage);
  letter-spacing: 0.02em;
}

.hero-media {
  min-height: 420px;
  overflow: hidden;
  background: var(--ink);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 100%;
}

.about {
  padding: 110px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 72px;
  align-items: center;
}

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

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

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

.about-points li {
  padding-left: 22px;
  position: relative;
}

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

.services {
  padding: 0 0 100px;
}

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

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

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

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

.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(44, 36, 28, 0.05) 18%, rgba(44, 36, 28, 0.84) 100%);
}

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

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

.service-no {
  font-size: 11px;
  letter-spacing: 0.28em;
  color: #e2b7a8;
  margin-bottom: 8px;
}

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

.service-body p {
  color: rgba(247, 241, 232, 0.86);
  font-size: 0.96rem;
}

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

.process .kicker {
  color: #e2b7a8;
}

.process .kicker::before {
  background: #e2b7a8;
}

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

.process-grid span {
  display: block;
  font-size: 12px;
  letter-spacing: 0.28em;
  color: #e2b7a8;
  margin-bottom: 10px;
}

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

.process-grid p {
  color: rgba(247, 241, 232, 0.74);
}

.contact {
  padding: 110px 0;
}

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

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

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

.contact-form {
  background: var(--white);
  padding: 40px;
  box-shadow: 0 24px 60px rgba(44, 36, 28, 0.07);
  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.16em;
  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(--terra);
}

.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: #e8f0e6;
  color: #2d4a28;
}

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

.site-footer {
  background: var(--ink);
  color: rgba(247, 241, 232, 0.74);
  padding: 56px 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(247, 241, 232, 0.1);
}

.logo-footer img {
  height: 46px;
  margin-bottom: 14px;
  filter: invert(1) sepia(0.2) brightness(1.4);
}

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

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

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

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

.copyright {
  font-size: 13px;
  color: rgba(247, 241, 232, 0.45);
}

.legal-page {
  padding: 72px 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.4rem;
  margin: 28px 0 10px;
}

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

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

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

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

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

  .primary-nav a {
    font-size: 18px;
  }

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

  .hero {
    min-height: 0;
  }

  .hero-copy-panel {
    padding: 48px 24px 36px;
  }

  .hero-media {
    min-height: 360px;
  }

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

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

  .topbar-inner {
    justify-content: flex-start;
  }
}

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

  .about,
  .contact,
  .legal-page {
    padding: 72px 0;
  }

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