/*
Theme Name: cartzeno
Theme URI: https://cartzeno.online
Author: cartzeno
Author URI: https://cartzeno.online
Description: Einseitiges WordPress-Theme für cartzeno, ein Online-Angebot für Damenmode. Startseite, Über uns, Kollektionen und Kontakt. Ohne Produktkatalog, Preise oder Warenkorb.
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: cartzeno
Tags: one-page, custom-menu, featured-images, translation-ready, custom-logo
*/

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/cormorant-500.woff2") format("woff2");
}

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/cormorant-600.woff2") format("woff2");
}

@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/cormorant-500i.woff2") format("woff2");
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/manrope-400.woff2") format("woff2");
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/manrope-500.woff2") format("woff2");
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/manrope-600.woff2") format("woff2");
}

:root {
  --linen: #f4f0ea;
  --paper: #fbf9f6;
  --ink: #1e1a17;
  --muted: #5a534c;
  --line: #ddd4c8;
  --sage: #3f5346;
  --sage-deep: #2c3d33;
  --sand: #e7dfd4;
  --header: 74px;
  --space: clamp(4.2rem, 8vw, 7rem);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--linen);
  color: var(--ink);
  font-family: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 1.02rem;
  line-height: 1.7;
  color-scheme: light;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

h1, h2, h3, p {
  margin-top: 0;
}

h1, h2, h3, .logo-word, .footer-brand {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.02;
  text-wrap: balance;
}

h1 {
  margin-bottom: 1.1rem;
  font-size: clamp(3.1rem, 8.4vw, 6.1rem);
}

h1 em {
  font-style: italic;
  font-weight: 500;
  color: var(--sage);
}

h2 {
  margin-bottom: 0.85rem;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
}

h3 {
  margin-bottom: 0.45rem;
  font-size: 1.85rem;
}

.container {
  width: min(1140px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 30;
  padding: 0.6rem 0.9rem;
  background: var(--ink);
  color: var(--paper);
}

.skip-link:focus {
  top: 1rem;
}

.kicker {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  color: var(--sage);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.kicker::before {
  content: "";
  width: 1.5rem;
  height: 1px;
  background: currentColor;
  flex: none;
}

.lede,
.section-intro p,
.about-copy p,
.contact-copy p,
.style-item p,
.reason-grid p,
.form-note {
  color: var(--muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.35rem;
  border: 1px solid var(--sage);
  border-radius: 2px;
  background: var(--sage);
  color: #f7f4ef;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  background: var(--sage-deep);
  border-color: var(--sage-deep);
}

.btn:focus-visible,
.nav-list a:focus-visible,
.logo:focus-visible,
.site-footer a:focus-visible,
input:focus-visible,
textarea:focus-visible,
.nav-toggle:focus-visible {
  outline: 2px solid var(--sage);
  outline-offset: 3px;
}

.btn-small {
  min-height: 42px;
  padding: 0.5rem 0.95rem;
}

.btn-light {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--ink);
}

.btn-light:hover {
  background: var(--sand);
  border-color: var(--sand);
  color: var(--ink);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--linen);
}

.site-header.is-scrolled {
  box-shadow: 0 1px 0 var(--line);
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header);
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
}

.logo-mark {
  width: 9px;
  height: 9px;
  background: var(--sage);
}

.logo-word {
  font-size: 1.85rem;
  letter-spacing: -0.03em;
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  background: var(--paper);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 16px;
  height: 1.5px;
  margin-inline: auto;
  background: var(--ink);
}

.site-nav {
  display: none;
}

.site-nav.is-open {
  display: flex;
  position: fixed;
  z-index: 19;
  inset: var(--header) 0 0 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.4rem;
  padding: 1.6rem 1.25rem 2rem;
  background: var(--linen);
}

.nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-list a {
  display: block;
  padding: 0.55rem 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2rem;
  text-decoration: none;
}

section[id] {
  scroll-margin-top: calc(var(--header) + 0.4rem);
}

.hero {
  padding: 1.2rem 0 4.2rem;
}

.hero-layout,
.about-layout,
.contact-layout {
  display: grid;
  gap: 2.2rem;
}

.hero-figure,
.about-figure,
.style-item figure {
  margin: 0;
}

.hero-figure {
  position: relative;
}

.hero-figure img,
.about-figure img,
.style-item img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.hero-figure img {
  object-position: center 18%;
}

.about,
.styles,
.reasons,
.contact {
  padding: var(--space) 0;
}

.about {
  background: var(--paper);
}

.section-intro {
  max-width: 36rem;
  margin-bottom: 2.4rem;
}

.style-grid,
.reason-grid {
  display: grid;
  gap: 2rem;
}

.style-item figure {
  position: relative;
  margin-bottom: 1rem;
  overflow: hidden;
}

.style-item img {
  transition: transform 0.5s ease;
}

.style-item figcaption {
  position: absolute;
  left: 0.8rem;
  bottom: 0.8rem;
  padding: 0.35rem 0.7rem;
  background: rgba(251, 249, 246, 0.92);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.45rem;
  line-height: 1;
}

.reason-grid {
  margin: 0;
  padding: 0;
  list-style: none;
}

.reason-grid li {
  padding-top: 1.15rem;
  border-top: 1px solid var(--sage);
}

.invite {
  padding-bottom: var(--space);
}

.invite-panel {
  padding: clamp(2.6rem, 6vw, 4.5rem) clamp(1.4rem, 4vw, 3rem);
  background: var(--sage);
  color: #f6f2ec;
  text-align: center;
}

.invite-panel p {
  max-width: 32rem;
  margin: 0 auto 1.5rem;
  color: #e4ddd4;
}

.contact-form,
.form-success {
  padding: 0.2rem 0 0.4rem;
}

.field {
  margin-bottom: 1rem;
}

label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.88rem;
  font-weight: 600;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  padding: 0.8rem 0.85rem;
}

textarea {
  resize: vertical;
  min-height: 140px;
}

.form-note,
.form-error {
  margin: 0.9rem 0 0;
  font-size: 0.88rem;
}

.form-error {
  color: #7a332c;
}

.hp-field {
  position: absolute;
  left: -9999px;
}

.form-success:focus {
  outline: none;
}

.site-footer {
  padding: 3.2rem 0 1.6rem;
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  gap: 1.6rem;
}

.footer-brand {
  margin-bottom: 0.35rem;
  font-size: 2.2rem;
}

.site-footer p {
  margin-bottom: 0;
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer a {
  display: inline-block;
  padding: 0.28rem 0;
  text-decoration: none;
}

.site-footer a:hover,
.legal-prose a:hover {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.footer-copy {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.legal {
  padding: 3rem 0 5rem;
}

.legal-prose {
  max-width: 42rem;
}

.legal-prose h1 {
  font-size: clamp(2.5rem, 6vw, 4.2rem);
  margin-bottom: 1.1rem;
}

.legal-prose h2 {
  margin: 2rem 0 0.55rem;
  font-size: 1.8rem;
}

.legal-prose p,
.legal-prose li {
  color: var(--muted);
}

.legal-prose a {
  color: var(--sage-deep);
}

@media (min-width: 720px) {
  .style-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }

  .reason-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.6rem 2.4rem;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
    align-items: start;
  }
}

@media (min-width: 980px) {
  .nav-toggle {
    display: none;
  }

  .site-nav,
  .site-nav.is-open {
    display: flex;
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 1.7rem;
    padding: 0;
    background: transparent;
  }

  .nav-list {
    flex-direction: row;
    gap: 1.25rem;
  }

  .nav-list a {
    padding: 0.2rem 0;
    font-family: "Manrope", "Avenir Next", sans-serif;
    font-size: 0.94rem;
    font-weight: 500;
  }

  .hero {
    padding-top: 1.5rem;
  }

  .hero-layout {
    grid-template-columns: 1.05fr 0.9fr;
    align-items: center;
    gap: 4.5rem;
    min-height: calc(100vh - var(--header) - 3rem);
  }

  .about-layout {
    grid-template-columns: 0.86fr 1.05fr;
    align-items: center;
    gap: 4.5rem;
  }

  .contact-layout {
    grid-template-columns: 0.85fr 1.1fr;
    gap: 4rem;
    align-items: start;
  }

  .reason-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
}

@media (hover: hover) and (pointer: fine) {
  .style-item:hover img {
    transform: scale(1.03);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy,
  .hero-figure {
    animation: rise 0.7s ease both;
  }

  .hero-figure {
    animation-delay: 0.08s;
  }
}

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .style-item img,
  .btn {
    transition: none;
  }
}
