/*
Theme Name: Interiorraura
Theme URI: https://interiorraura.online
Author: Interiorraura
Author URI: https://interiorraura.online
Description: Deutsches WordPress-Theme für Innenräume. Atelier in Alpnach — Startseite, Über uns, Leistungen, Kontakt.
Version: 3.0.0
Requires at least: 6.0
Tested up to: 6.7
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: homeeglow
Tags: one-page, custom-menu, featured-images, translation-ready, portfolio
*/

:root {
  --paper: #f4efe6;
  --sand: #e4dcc8;
  --ink: #121a16;
  --forest: #1b2c23;
  --moss: #3d5a48;
  --brass: #c4a46a;
  --brass-deep: #a8844a;
  --fog: #6d7670;
  --line: rgba(18, 26, 22, 0.12);
  --topbar-h: 38px;
  --header-h: 78px;
  --offset: calc(var(--topbar-h) + var(--header-h));
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow: 0 28px 70px rgba(18, 26, 22, 0.18);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.65;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font-family: inherit;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.container {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

h1,
h2,
h3,
.logo-name,
.footer-logo {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass-deep);
  margin-bottom: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border: none;
  background: var(--brass);
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 0;
  transition: background 0.3s ease, transform 0.3s var(--ease);
}

.btn:hover {
  background: #d4b57a;
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: #f4efe6;
  border: 1px solid rgba(244, 239, 230, 0.4);
}

.btn-ghost:hover {
  background: rgba(244, 239, 230, 0.12);
  color: #fff;
}

.btn-full {
  width: 100%;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brass);
}

.text-link::after {
  content: "→";
}

.logo-accent {
  color: var(--brass);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

#looks,
#about,
#service,
#contact {
  scroll-margin-top: var(--offset);
}

/* Topbar + header */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 110;
  height: var(--topbar-h);
  background: var(--forest);
  color: rgba(244, 239, 230, 0.78);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(1180px, calc(100% - 48px));
  height: 100%;
  margin: 0 auto;
}

.topbar a:hover {
  color: var(--brass);
}

.site-header {
  position: fixed;
  top: var(--topbar-h);
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(244, 239, 230, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  background: rgba(244, 239, 230, 0.98);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  width: min(1180px, calc(100% - 48px));
  height: 100%;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.logo-mark {
  position: relative;
  width: 38px;
  height: 38px;
}

.logo-aura {
  position: absolute;
  inset: 0;
  border: 1.5px solid var(--forest);
  border-radius: 50%;
}

.logo-aura::before,
.logo-aura::after {
  content: "";
  position: absolute;
  border: 1.5px solid var(--brass);
  border-radius: 50%;
}

.logo-aura::before {
  inset: 7px;
}

.logo-aura::after {
  inset: 14px;
  background: var(--forest);
  border: 0;
}

.logo-name {
  display: block;
  font-size: 20px;
  font-weight: 600;
}

.logo-tag {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fog);
}

.primary-nav {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.primary-nav ul {
  display: flex;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.primary-nav a {
  display: block;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--forest);
}

.primary-nav a:hover,
.primary-nav a.is-active {
  color: var(--brass-deep);
}

.header-cta {
  min-height: 42px;
  padding: 0 18px;
  font-size: 11px;
}

.header-cta-mobile {
  display: none;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: none;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span:not(.screen-reader-text) {
  display: block;
  height: 2px;
  background: var(--ink);
}

/* Hero — full-bleed cinematic */
.hero {
  position: relative;
  min-height: 100vh;
  padding-top: var(--offset);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #f4efe6;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(18, 26, 22, 0.82) 0%, rgba(18, 26, 22, 0.35) 52%, rgba(18, 26, 22, 0.15) 100%),
    linear-gradient(to top, rgba(18, 26, 22, 0.7) 0%, transparent 45%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 48px 0 40px;
  max-width: 640px;
  margin-left: max(24px, calc((100% - 1180px) / 2));
}

.hero-kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass);
  margin: 0 0 16px;
}

.hero h1 {
  font-size: clamp(2.4rem, 5.4vw, 4.2rem);
  margin: 0 0 20px;
  font-weight: 500;
}

.hero-lead {
  font-size: 16px;
  color: rgba(244, 239, 230, 0.82);
  margin: 0 0 28px;
  max-width: 460px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-strip {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto 36px;
  border-top: 1px solid rgba(244, 239, 230, 0.18);
}

.hero-stat {
  padding: 20px 20px 8px 0;
}

.hero-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
}

.hero-stat span {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(244, 239, 230, 0.6);
}

/* Looks — bento */
.looks {
  padding: 96px 0 40px;
}

.looks-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 40px;
}

.looks-intro h2,
.about-rail h2,
.contact-panel h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0;
}

.section-lead {
  margin: 0;
  color: var(--fog);
  font-size: 16px;
  max-width: 420px;
  justify-self: end;
}

.looks-bento {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: 240px 240px 220px;
  gap: 14px;
}

.look-card {
  position: relative;
  overflow: hidden;
  min-height: 180px;
}

.look-card-1 {
  grid-column: 1;
  grid-row: 1 / 3;
}

.look-card-4 {
  grid-column: 2 / 4;
}

.look-card-5 {
  grid-column: 1;
}

.look-card-6 {
  grid-column: 2 / 4;
}

.look-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.look-card:hover img {
  transform: scale(1.05);
}

.look-meta {
  position: absolute;
  inset: auto 0 0 0;
  padding: 18px 20px;
  background: linear-gradient(to top, rgba(18, 26, 22, 0.88), transparent);
  color: #f4efe6;
}

.look-meta span {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass);
}

.look-meta h3 {
  margin: 4px 0 0;
  font-size: 20px;
}

.look-meta p {
  margin: 4px 0 0;
  font-size: 12px;
  opacity: 0.75;
}

/* About — rail + stacked photos */
.about {
  padding: 80px 0 100px;
  background: var(--forest);
  color: #f4efe6;
}

.about .eyebrow {
  color: var(--brass);
}

.about-layout {
  display: grid;
  grid-template-columns: 0.42fr 1fr;
  gap: 56px;
}

.about-rail {
  position: sticky;
  top: calc(var(--offset) + 24px);
  align-self: start;
}

.about-photos {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 14px;
  margin-bottom: 32px;
}

.about-photos img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.about-photos img:last-child {
  margin-top: 40px;
  height: 220px;
}

.about-copy p {
  margin: 0 0 16px;
  color: rgba(244, 239, 230, 0.78);
}

.about-principles {
  list-style: none;
  margin: 36px 0 0;
  padding: 0;
  border-top: 1px solid rgba(244, 239, 230, 0.12);
}

.about-principles li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(244, 239, 230, 0.12);
}

.about-principles span {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--brass);
}

.about-principles h3 {
  margin: 0 0 6px;
  font-size: 20px;
}

.about-principles p {
  margin: 0;
  color: rgba(244, 239, 230, 0.68);
  font-size: 14px;
}

/* Services — vertical timeline */
.services {
  padding: 96px 0;
}

.services-head {
  margin-bottom: 56px;
}

.services-head h2 {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  font-size: clamp(2.25rem, 4.5vw, 3.4rem);
  line-height: 1.08;
}

.services-title {
  display: block;
}

.services-sub {
  display: block;
  font-size: clamp(1.1rem, 2.2vw, 1.45rem);
  font-weight: 500;
  font-style: italic;
  letter-spacing: 0;
  color: var(--fog);
}

.services-timeline {
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--line);
  margin-left: 18px;
}

.service-step {
  position: relative;
  padding: 0 0 40px 40px;
}

.service-step:last-child {
  padding-bottom: 0;
}

.service-num {
  position: absolute;
  left: -18px;
  top: 2px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--forest);
  color: var(--brass);
  font-family: var(--font-display);
  font-size: 13px;
}

.service-body {
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.service-step:last-child .service-body {
  border-bottom: 0;
}

.service-body h3 {
  margin: 0 0 10px;
  font-size: 26px;
}

.service-body p {
  margin: 0 0 14px;
  color: var(--fog);
  max-width: 640px;
}

.service-body ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.service-body li {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 12px;
  border: 1px solid var(--line);
  color: var(--forest);
}

.services-note {
  margin-top: 56px;
  padding: 36px 40px;
  background: var(--sand);
}

.services-note p {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  font-style: italic;
  margin: 0 0 12px;
}

.services-note cite {
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--moss);
}

/* Contact — split split */
.contact {
  padding: 0 0 100px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 0;
  background: #fff;
  box-shadow: var(--shadow);
}

.contact-panel {
  background: var(--ink);
  color: #f4efe6;
  padding: 48px 40px;
}

.contact-panel .eyebrow {
  color: var(--brass);
}

.contact-panel h2 {
  margin: 0 0 28px;
}

.contact-list {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
}

.contact-list li {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid rgba(244, 239, 230, 0.12);
}

.contact-list span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass);
}

.contact-list a:hover {
  color: var(--brass);
}

.contact-map {
  height: 200px;
  overflow: hidden;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(1) contrast(1.05);
}

.contact-form-wrap {
  padding: 48px 40px;
  background: #fff;
}

.contact-form h3 {
  font-size: 28px;
  margin: 0 0 8px;
}

.form-lead {
  color: var(--fog);
  margin: 0 0 28px;
}

.field {
  margin-bottom: 16px;
}

.field label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.field input,
.field textarea {
  width: 100%;
  padding: 12px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  font-size: 15px;
  border-radius: 0;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--brass);
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

.form-note {
  margin: 12px 0 0;
  font-size: 14px;
  color: var(--fog);
  min-height: 20px;
}

/* Footer */
.site-footer {
  background: var(--forest);
  color: rgba(244, 239, 230, 0.78);
  padding: 72px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr 0.9fr;
  gap: 32px;
  padding-bottom: 48px;
}

.footer-logo {
  display: inline-block;
  font-size: 26px;
  color: #f4efe6;
  margin-bottom: 12px;
}

.footer-brand p {
  margin: 0;
  max-width: 280px;
  font-size: 14px;
}

.footer-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass);
  margin: 0 0 14px;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-nav a:hover,
.footer-contact-block a:hover,
.footer-bar a:hover {
  color: var(--brass);
}

.footer-contact-block p,
.footer-hours p {
  margin: 0 0 12px;
  font-size: 14px;
}

.footer-bar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid rgba(244, 239, 230, 0.12);
  font-size: 12px;
}

/* Toast */
.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(16px);
  padding: 14px 24px;
  background: var(--ink);
  color: #f4efe6;
  font-size: 14px;
  opacity: 0;
  pointer-events: none;
  z-index: 200;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* 404 */
.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--offset) + 48px) 0 80px;
  background: var(--forest);
  color: #f4efe6;
}

.error-inner {
  max-width: 520px;
}

.error-page .eyebrow {
  color: var(--brass);
}

.error-page h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0 0 16px;
}

.error-page p {
  color: rgba(244, 239, 230, 0.7);
  margin: 0 0 28px;
}

@media (max-width: 1024px) {
  .primary-nav {
    position: fixed;
    inset: var(--offset) 0 0 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--paper);
    transform: translateX(100%);
    transition: transform 0.4s var(--ease);
  }

  .primary-nav.is-open {
    transform: none;
  }

  .primary-nav ul {
    flex-direction: column;
    align-items: center;
  }

  .primary-nav a {
    font-size: 20px;
    padding: 12px 20px;
  }

  .header-cta-mobile {
    display: inline-flex;
    margin-top: 24px;
  }

  .header-actions {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .looks-intro,
  .about-layout,
  .contact-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section-lead {
    justify-self: start;
  }

  .looks-bento {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 260px 200px 200px 200px;
  }

  .look-card-1 {
    grid-column: 1 / 3;
    grid-row: 1;
  }

  .look-card-4,
  .look-card-6 {
    grid-column: auto;
  }

  .about-rail {
    position: static;
  }

  .about-photos img,
  .about-photos img:last-child {
    height: 220px;
    margin-top: 0;
  }

  .hero-copy {
    margin-left: 24px;
  }
}

@media (max-width: 768px) {
  :root {
    --header-h: 70px;
  }

  .topbar-inner span:first-child {
    display: none;
  }

  .hero-strip {
    grid-template-columns: 1fr;
  }

  .looks-bento {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .look-card,
  .look-card-1,
  .look-card-4,
  .look-card-5,
  .look-card-6 {
    grid-column: auto;
    grid-row: auto;
    min-height: 240px;
  }

  .about-photos {
    grid-template-columns: 1fr;
  }

  .service-step {
    padding-left: 32px;
  }

  .contact-panel,
  .contact-form-wrap {
    padding: 32px 24px;
  }

  .footer-bar {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .btn,
  .look-card img,
  .primary-nav {
    transition: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
