/*
Theme Name: InteriorrGlow
Theme URI: https://InteriorrGlow.online
Author: InteriorrGlow
Author URI: https://InteriorrGlow.online
Description: Deutsches WordPress-Theme für Innenarchitektur. Atelier in Alpnach — Startseite, Projekte, Über uns, Leistungen, Kontakt.
Version: 5.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: interiorrglow
Tags: one-page, custom-menu, featured-images, translation-ready, portfolio
*/

:root {
  --ivory: #f6f1e8;
  --parchment: #ede6d8;
  --espresso: #161210;
  --ink: #2a241f;
  --champagne: #b8956a;
  --champagne-deep: #9a784f;
  --sage: #5c6b5a;
  --mist: rgba(42, 36, 31, 0.62);
  --line: rgba(42, 36, 31, 0.14);
  --header-h: 88px;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Figtree", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  background: var(--ivory);
  color: var(--ink);
  line-height: 1.65;
  overflow-x: hidden;
}

body.nav-open,
body.lightbox-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

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(1240px, calc(100% - 48px));
  margin: 0 auto;
}

h1,
h2,
h3,
.logo-name,
.footer-wordmark,
.error-code {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--champagne-deep);
  margin-bottom: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 26px;
  border: 1px solid var(--champagne);
  background: var(--champagne);
  color: var(--espresso);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 0;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.btn:hover {
  background: var(--champagne-deep);
  border-color: var(--champagne-deep);
  color: var(--ivory);
}

.btn-ghost {
  background: transparent;
  color: var(--ivory);
  border-color: rgba(246, 241, 232, 0.45);
}

.btn-ghost:hover {
  background: var(--ivory);
  color: var(--espresso);
  border-color: var(--ivory);
}

.btn-full {
  width: 100%;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  border: 0;
  background: none;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--champagne);
  cursor: pointer;
}

.text-link::after {
  content: "→";
}

.logo-accent {
  color: var(--champagne);
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

#projects,
#about,
#service,
#contact {
  scroll-margin-top: calc(var(--header-h) + 8px);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background: transparent;
  color: var(--ivory);
  transition: background 0.35s ease, color 0.35s ease, box-shadow 0.35s ease;
}

.site-header.is-scrolled,
.error404 .site-header,
body.nav-open .site-header {
  background: var(--espresso);
  color: var(--ivory);
  box-shadow: 0 12px 40px rgba(22, 18, 16, 0.28);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  width: min(1240px, calc(100% - 48px));
  height: 100%;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.logo-mark {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
}

.logo-orb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid var(--champagne);
  box-shadow: 0 0 18px rgba(184, 149, 106, 0.55);
  position: relative;
}

.logo-orb::after {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  background: var(--champagne);
}

.logo-name {
  display: block;
  font-size: 24px;
  font-weight: 600;
}

.logo-tag {
  display: block;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.7;
}

.primary-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.primary-nav ul {
  display: flex;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.primary-nav a {
  display: block;
  padding: 8px 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.78;
}

.primary-nav a:hover,
.primary-nav a.is-active {
  opacity: 1;
  color: var(--champagne);
}

.header-cta {
  flex-shrink: 0;
}

.primary-nav .header-cta-mobile {
  display: none;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(246, 241, 232, 0.28);
  background: transparent;
  cursor: pointer;
}

.nav-toggle span:not(.screen-reader-text) {
  display: block;
  width: 18px;
  height: 1.5px;
  margin: 0 auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  color: var(--ivory);
  overflow: hidden;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(22, 18, 16, 0.28) 0%, rgba(22, 18, 16, 0.18) 38%, rgba(22, 18, 16, 0.78) 100%),
    linear-gradient(90deg, rgba(22, 18, 16, 0.55) 0%, rgba(22, 18, 16, 0.08) 58%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  padding: 0 0 88px;
  max-width: 720px;
  margin-left: max(24px, calc((100% - 1240px) / 2));
}

.hero-kicker {
  margin: 0 0 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--champagne);
}

.hero h1 {
  margin: 0;
  font-size: clamp(3.2rem, 7vw, 6.4rem);
  max-width: 11ch;
}

.hero-rule {
  display: block;
  width: 72px;
  height: 1px;
  margin: 28px 0 22px;
  background: var(--champagne);
}

.hero-lead {
  margin: 0 0 32px;
  max-width: 46ch;
  font-size: 17px;
  color: rgba(246, 241, 232, 0.82);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-card {
  position: absolute;
  right: max(24px, calc((100% - 1240px) / 2));
  bottom: 88px;
  z-index: 2;
  width: 220px;
  padding: 28px 24px;
  background: rgba(22, 18, 16, 0.72);
  border: 1px solid rgba(184, 149, 106, 0.35);
  backdrop-filter: blur(12px);
}

.hero-card span {
  display: block;
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--champagne);
  margin-bottom: 10px;
}

.hero-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 600;
  line-height: 1;
}

.hero-card em {
  display: block;
  font-style: normal;
  font-size: 13px;
  opacity: 0.7;
  margin: 6px 0 16px;
}

.hero-card a {
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--champagne);
}

.intro {
  padding: 96px 0;
  background: var(--ivory);
}

.intro-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 72px;
  align-items: center;
}

.intro-quote {
  margin: 0;
}

.intro-quote p {
  margin: 0 0 28px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  font-style: italic;
  font-weight: 500;
  line-height: 1.2;
  color: var(--ink);
}

.intro-quote cite {
  font-style: normal;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--champagne-deep);
}

.intro-stills {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.intro-stills img {
  width: 100%;
  height: 140px;
  object-fit: cover;
}

.intro-stills img:nth-child(2) {
  width: 82%;
  margin-left: auto;
}

.intro-stills img:nth-child(3) {
  width: 70%;
}

.projects {
  padding: 24px 0 112px;
}

.section-head {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 56px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(2.4rem, 4.5vw, 4rem);
}

.section-lead {
  margin: 0;
  color: var(--mist);
  font-size: 16px;
}

.project-spread {
  display: grid;
  grid-template-columns: 1.7fr 0.9fr;
  min-height: 72vh;
  margin-bottom: 28px;
  background: var(--espresso);
  color: var(--ivory);
}

.spread-media {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  overflow: hidden;
}

.spread-media img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.spread-media:hover img {
  transform: scale(1.04);
}

.spread-caption {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 56px 48px;
}

.spread-index {
  font-family: var(--font-display);
  font-size: 64px;
  color: var(--champagne);
  line-height: 1;
  margin-bottom: 24px;
}

.spread-tag {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.7;
}

.spread-caption h3 {
  margin: 10px 0 8px;
  font-size: 40px;
}

.spread-caption p {
  margin: 0 0 28px;
  color: rgba(246, 241, 232, 0.72);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.project-card button {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  overflow: hidden;
  text-align: left;
  color: var(--ivory);
}

.project-card img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.project-card:hover img {
  transform: scale(1.05);
}

.project-meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 48px 20px 20px;
  background: linear-gradient(180deg, transparent, rgba(22, 18, 16, 0.82));
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.project-meta span {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--champagne);
}

.project-meta strong {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
}

.project-meta em {
  font-style: normal;
  font-size: 13px;
  opacity: 0.75;
}

.about {
  background: var(--espresso);
  color: var(--ivory);
  padding: 112px 0;
}

.about .eyebrow {
  color: var(--champagne);
}

.about-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 80px;
  align-items: start;
}

.about-copy h2 {
  margin: 0 0 24px;
  font-size: clamp(2.3rem, 4vw, 3.6rem);
  max-width: 14ch;
}

.about-copy > p {
  margin: 0 0 16px;
  max-width: 48ch;
  color: rgba(246, 241, 232, 0.74);
}

.about-rail {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid rgba(246, 241, 232, 0.12);
}

.principle {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(246, 241, 232, 0.12);
}

.principle span {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--champagne);
}

.principle h3 {
  margin: 0 0 8px;
  font-size: 26px;
}

.principle p {
  margin: 0;
  color: rgba(246, 241, 232, 0.68);
  font-size: 15px;
}

.about-filmstrip {
  display: grid;
  gap: 16px;
  padding-top: 48px;
}

.about-filmstrip img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.about-filmstrip img:nth-child(1) {
  width: 88%;
  margin-left: auto;
  height: 280px;
}

.about-filmstrip img:nth-child(2) {
  width: 74%;
  height: 200px;
}

.about-filmstrip img:nth-child(3) {
  width: 92%;
  margin-left: auto;
  height: 240px;
}

.services {
  padding: 112px 0;
  background: var(--parchment);
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.timeline-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.timeline-row.is-reverse {
  direction: rtl;
}

.timeline-row.is-reverse > * {
  direction: ltr;
}

.timeline-num {
  display: block;
  font-family: var(--font-display);
  font-size: 48px;
  color: var(--champagne-deep);
  line-height: 1;
  margin-bottom: 12px;
}

.timeline-copy h3 {
  margin: 0 0 14px;
  font-size: 36px;
}

.timeline-copy p {
  margin: 0 0 20px;
  color: var(--mist);
}

.timeline-copy ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline-copy li {
  padding: 8px 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
  letter-spacing: 0.04em;
}

.timeline-media img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

.contact {
  position: relative;
  min-height: 820px;
  padding: 0 0 80px;
}

.contact-map {
  position: absolute;
  inset: 0;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.35) contrast(0.95);
}

.contact-overlay {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  padding-top: 96px;
  align-items: start;
}

.contact-details,
.contact-form {
  background: var(--ivory);
  padding: 48px 40px;
  box-shadow: 0 24px 60px rgba(22, 18, 16, 0.16);
}

.contact-details h2 {
  margin: 0 0 12px;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
}

.contact-lead {
  margin: 0 0 32px;
  color: var(--mist);
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact-list li {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.contact-list span {
  display: block;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--champagne-deep);
  margin-bottom: 8px;
}

.contact-list strong {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  line-height: 1.2;
}

.contact-list a:hover {
  color: var(--champagne-deep);
}

.contact-form h3 {
  margin: 0 0 8px;
  font-size: 32px;
}

.form-lead {
  margin: 0 0 24px;
  color: var(--mist);
}

.field {
  margin-bottom: 16px;
}

.field label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.field input,
.field textarea {
  width: 100%;
  padding: 14px 12px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  font-size: 15px;
  border-radius: 0;
  color: var(--ink);
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--champagne);
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

.form-note {
  margin: 14px 0 0;
  font-size: 14px;
  color: var(--mist);
  min-height: 20px;
}

.site-footer {
  background: var(--espresso);
  color: rgba(246, 241, 232, 0.72);
  padding: 72px 0 28px;
}

.footer-wordmark {
  display: block;
  font-size: clamp(3.4rem, 11vw, 8.4rem);
  color: var(--ivory);
  margin-bottom: 40px;
  line-height: 0.86;
}

.footer-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(246, 241, 232, 0.12);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  align-content: start;
}

.footer-nav a {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.footer-nav a:hover,
.footer-contact a:hover,
.footer-bar a:hover {
  color: var(--champagne);
}

.footer-contact p {
  margin: 0 0 16px;
  font-size: 16px;
}

.footer-bar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 22px;
  font-size: 13px;
}

.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(16px);
  padding: 14px 24px;
  background: var(--espresso);
  color: var(--ivory);
  font-size: 14px;
  border: 1px solid var(--champagne);
  opacity: 0;
  pointer-events: none;
  z-index: 220;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: rgba(22, 18, 16, 0.94);
  padding: 24px;
}

.lightbox[hidden] {
  display: none;
}

.lightbox-stage {
  margin: 0;
  max-width: min(1100px, 100%);
}

.lightbox-stage img {
  max-height: 78vh;
  width: auto;
  max-width: 100%;
  margin: 0 auto;
}

.lightbox-stage figcaption {
  color: rgba(246, 241, 232, 0.8);
  text-align: center;
  margin-top: 12px;
  font-size: 14px;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  border: 1px solid rgba(246, 241, 232, 0.2);
  background: transparent;
  color: var(--ivory);
  cursor: pointer;
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  font-size: 28px;
}

.lightbox-prev,
.lightbox-next {
  width: 48px;
  height: 48px;
  font-size: 32px;
  flex-shrink: 0;
}

.error-page {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 48px) 0 80px;
  background: var(--ivory);
}

.error-inner {
  max-width: 560px;
}

.error-code {
  margin: 0 0 8px;
  font-size: clamp(5rem, 12vw, 9rem);
  color: var(--champagne);
  line-height: 0.85;
}

.error-page h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin: 0 0 16px;
}

.error-page p {
  color: var(--mist);
  margin: 0 0 28px;
}

@media (max-width: 1100px) {
  .primary-nav {
    position: fixed;
    inset: 0;
    z-index: 105;
    padding-top: var(--header-h);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--espresso);
    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: 22px;
    padding: 12px 20px;
    letter-spacing: 0.12em;
  }

  .primary-nav .header-cta-mobile {
    display: inline-flex;
    margin-top: 28px;
    font-size: 11px;
    letter-spacing: 0.16em;
    padding: 0 26px;
    opacity: 1;
  }

  .header-cta {
    display: none;
  }

  .nav-toggle {
    display: flex;
    z-index: 110;
  }

  .hero-content {
    max-width: none;
    margin-left: auto;
    padding-bottom: 220px;
  }

  .hero-card {
    right: 24px;
    left: 24px;
    bottom: 28px;
    width: auto;
  }

  .intro-layout,
  .section-head,
  .project-spread,
  .about-layout,
  .timeline-row,
  .contact-overlay,
  .footer-split {
    grid-template-columns: 1fr;
  }

  .timeline-row.is-reverse {
    direction: ltr;
  }

  .project-grid {
    grid-template-columns: 1fr 1fr;
  }

  .spread-media img {
    min-height: 360px;
  }
}

@media (max-width: 768px) {
  :root {
    --header-h: 76px;
  }

  .container {
    width: min(1240px, calc(100% - 32px));
  }

  .hero h1 {
    font-size: clamp(2.6rem, 12vw, 3.6rem);
  }

  .hero-content {
    padding-bottom: 240px;
  }

  .intro,
  .about,
  .services {
    padding: 72px 0;
  }

  .intro-stills img,
  .intro-stills img:nth-child(2),
  .intro-stills img:nth-child(3),
  .about-filmstrip img,
  .about-filmstrip img:nth-child(1),
  .about-filmstrip img:nth-child(2),
  .about-filmstrip img:nth-child(3) {
    width: 100%;
    margin-left: 0;
  }

  .project-grid {
    grid-template-columns: 1fr;
  }

  .project-card img,
  .timeline-media img {
    height: 280px;
  }

  .contact {
    min-height: 0;
    padding: 0;
  }

  .contact-map {
    position: relative;
    height: 280px;
  }

  .contact-overlay {
    padding: 0 0 48px;
    margin-top: -40px;
  }

  .contact-details,
  .contact-form {
    padding: 32px 24px;
  }

  .contact-list strong {
    font-size: 22px;
  }

  .lightbox {
    flex-direction: column;
  }

  .footer-bar {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .btn,
  .project-card img,
  .spread-media img,
  .primary-nav {
    transition: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
