/*
Theme Name: InteriorrVista
Theme URI: https://interiorrvista.online
Author: InteriorrVista
Author URI: https://interiorrvista.online
Description: Einseitiges WordPress-Theme für Inneneinrichtung. Abschnitte: Start, Über uns, Leistungen, Kontakt. 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: interiorrvista
Tags: one-column, custom-menu, featured-images, translation-ready
*/

:root {
  --ivory: #f6f1e8;
  --linen: #efe6d8;
  --sand: #e4d8c6;
  --stone: #c9b8a2;
  --walnut: #5c4333;
  --bronze: #a67c52;
  --gold: #c4a574;
  --ink: #1a1714;
  --muted: #6f675e;
  --paper: #fbf8f3;
  --white: #ffffff;
  --line: rgba(26, 23, 20, 0.12);
  --shadow: 0 24px 60px rgba(26, 23, 20, 0.12);
  --radius: 2px;
  --header-h: 88px;
  --font-serif: "Cormorant Garamond", "Times New Roman", serif;
  --font-sans: "Outfit", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::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;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

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

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

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

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

p {
  margin: 0 0 1em;
}

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

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

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--bronze);
  font-weight: 500;
  margin-bottom: 18px;
}

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

.section-title {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 28px;
  border: 1px solid transparent;
  background: var(--ink);
  color: var(--ivory);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.btn:hover {
  background: var(--walnut);
  transform: translateY(-1px);
}

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

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

.btn-line {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

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

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease), backdrop-filter 0.35s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(251, 248, 243, 0.94);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--line);
}

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

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

.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;
  flex-direction: column;
  gap: 2px;
  z-index: 2;
}

.logo-mark {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  letter-spacing: 0.08em;
  line-height: 1;
  color: var(--ivory);
  transition: color 0.3s var(--ease);
}

.logo-sub {
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  transition: color 0.3s var(--ease);
}

.site-header.is-scrolled .logo-mark,
.site-header.menu-open .logo-mark {
  color: var(--ink);
}

.site-header.is-scrolled .logo-sub,
.site-header.menu-open .logo-sub {
  color: var(--bronze);
}

.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;
  transition: background 0.3s ease;
}

.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.is-scrolled .nav-toggle span,
.site-header.is-scrolled .nav-toggle span::before,
.site-header.is-scrolled .nav-toggle span::after,
.site-header.menu-open .nav-toggle span,
.site-header.menu-open .nav-toggle span::before,
.site-header.menu-open .nav-toggle span::after {
  background: var(--ink);
}

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

.primary-nav a {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(246, 241, 232, 0.86);
  position: relative;
  padding-bottom: 6px;
  transition: color 0.3s var(--ease);
}

.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s var(--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%;
}

.site-header.is-scrolled .primary-nav a,
.site-header.menu-open .primary-nav a {
  color: var(--muted);
}

.site-header.is-scrolled .primary-nav a:hover,
.site-header.is-scrolled .primary-nav a.is-active,
.site-header.menu-open .primary-nav a:hover,
.site-header.menu-open .primary-nav a.is-active {
  color: var(--ink);
}

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

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

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

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(26, 23, 20, 0.42) 0%, rgba(26, 23, 20, 0.22) 32%, rgba(26, 23, 20, 0.55) 62%, rgba(26, 23, 20, 0.86) 100%);
}

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

.hero h1 {
  font-size: clamp(3.2rem, 7vw, 6.4rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  max-width: 12ch;
  margin-bottom: 22px;
  text-shadow: 0 12px 40px rgba(26, 23, 20, 0.45);
}

.hero-copy {
  max-width: 42ch;
  font-size: 1.15rem;
  color: rgba(246, 241, 232, 0.92);
  margin-bottom: 36px;
  text-shadow: 0 8px 24px rgba(26, 23, 20, 0.4);
}

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

.hero-meta {
  position: absolute;
  right: max(24px, calc((100% - 1180px) / 2));
  bottom: 96px;
  z-index: 1;
  text-align: right;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(246, 241, 232, 0.72);
}

.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  z-index: 1;
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(246, 241, 232, 0.7);
}

/* Intro strip */
.intro-strip {
  background: var(--ink);
  color: var(--ivory);
  padding: 28px 0;
}

.intro-strip .wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.stat {
  text-align: center;
  padding: 8px 12px;
}

.stat b {
  display: block;
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 500;
  color: var(--gold);
  margin-bottom: 4px;
}

.stat span {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(246, 241, 232, 0.7);
}

/* About */
.about {
  padding: 120px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 72px;
  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;
  width: 168px;
  height: 168px;
  background: var(--ink);
  color: var(--ivory);
  display: grid;
  place-content: center;
  text-align: center;
  padding: 20px;
}

.about-badge strong {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  font-weight: 500;
  color: var(--gold);
  line-height: 1;
}

.about-badge span {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-top: 8px;
}

.about-text .lead {
  margin-bottom: 24px;
}

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

.about-points li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  align-items: start;
  color: var(--muted);
}

.about-points svg {
  margin-top: 4px;
  color: var(--bronze);
}

/* Services */
.services {
  padding: 0 0 120px;
}

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

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

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

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

.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26, 23, 20, 0.08) 20%, rgba(26, 23, 20, 0.78) 100%);
}

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

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

.service-body h3 {
  font-size: 2.2rem;
  margin-bottom: 10px;
}

.service-body p {
  max-width: 42ch;
  color: rgba(246, 241, 232, 0.84);
}

/* Process */
.process {
  background: var(--linen);
  padding: 100px 0;
}

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

.process-item {
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.process-item span {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--bronze);
  margin-bottom: 12px;
}

.process-item h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.process-item p {
  color: var(--muted);
  font-size: 0.98rem;
}

/* Contact */
.contact {
  padding: 120px 0;
}

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

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

.contact-list a,
.contact-list span {
  display: block;
}

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

.contact-form {
  background: var(--white);
  padding: 40px;
  box-shadow: var(--shadow);
}

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

.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(--bronze);
}

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

/* Footer */
.site-footer {
  background: var(--ink);
  color: rgba(246, 241, 232, 0.78);
  padding: 56px 0 32px;
}

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

.footer-brand .logo-mark {
  color: var(--ivory);
}

.footer-brand p {
  margin-top: 14px;
  max-width: 36ch;
}

.footer-col h3 {
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 0.22em;
  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: 24px;
  font-size: 13px;
  color: rgba(246, 241, 232, 0.5);
}

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

.error-page h1 {
  font-size: clamp(3rem, 8vw, 6rem);
  margin-bottom: 16px;
}

/* Reveal */
.reveal {
  animation: rise 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.reveal-delay-1 { animation-delay: 0.12s; }
.reveal-delay-2 { animation-delay: 0.24s; }
.reveal-delay-3 { animation-delay: 0.36s; }

@keyframes rise {
  from {
    transform: translateY(18px);
  }
  to {
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    animation: 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 .primary-nav {
    display: grid;
  }

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

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

  .hero-meta {
    display: none;
  }

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

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

  .about-badge {
    left: 16px;
    bottom: 16px;
    width: 132px;
    height: 132px;
  }

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

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

  .hero-content {
    padding-bottom: 72px;
  }

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

  .services {
    padding-top: 0;
  }

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