:root {
  --ink: #241f18;
  --paper: #faf7ee;
  --white: #faf7ee;
  --gold: #b49359;
  --brown: #f1ebdf;
  --line: #ddd2bf;
}

.site-header {
  background: rgba(250, 247, 238, 0.97);
  color: var(--ink);
  border-bottom: 1px solid #d5c6aa;
  backdrop-filter: blur(8px);
}

.menu-button {
  color: var(--ink);
  border-color: rgba(36, 31, 24, 0.55);
}

.shop-link {
  border-color: rgba(36, 31, 24, 0.5);
}

.hero::after {
  background: linear-gradient(90deg, rgba(36, 31, 24, 0.56) 0%, rgba(36, 31, 24, 0.24) 48%, rgba(36, 31, 24, 0.04) 100%);
}

.hero .eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  color: #d5b36d;
}

.hero .eyebrow::before {
  content: "";
  width: 48px;
  height: 1px;
  background: currentColor;
}

.hero .button.primary {
  gap: 18px;
  background: var(--gold);
  border-color: var(--gold);
  color: white;
}

.hero .button.primary:hover {
  background: #9d7940;
  border-color: #9d7940;
}

.hero-secondary {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.72);
  color: white;
}

.hero-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
}

.brand strong {
  font-size: 2.15rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.services {
  background: var(--paper);
  grid-template-columns: 0.68fr 1.32fr;
  gap: 7vw;
}

.services-heading h2 {
  max-width: 520px;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service-list article {
  display: block;
  min-height: 280px;
  padding: 38px 34px;
  border: 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.service-list .service-featured {
  grid-column: 1 / -1;
  min-height: 300px;
  background: #f4eddf;
}

.service-list .service-featured h3 {
  max-width: 580px;
  font-size: clamp(2rem, 3vw, 3.1rem);
}

.service-list article:last-child {
  border-bottom: 1px solid var(--line);
}

.service-list article > span {
  display: block;
  margin-bottom: 55px;
  color: var(--gold);
  letter-spacing: 0.18em;
}

.service-list .service-linked {
  padding: 0;
}

.service-linked > a {
  display: block;
  height: 100%;
  padding: 38px 34px;
}

.service-linked > a > span {
  display: block;
  margin-bottom: 55px;
  color: var(--gold);
  letter-spacing: 0.18em;
}

.service-linked em {
  display: inline-block;
  margin-top: 20px;
  color: var(--gold);
  font-style: normal;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.service-list h3 {
  font-size: 1.8rem;
  line-height: 1.12;
  margin-bottom: 18px;
}

.service-list p {
  color: #827767;
}

.atelier-copy {
  background: #f1ebdf;
  color: var(--ink);
}

.atelier-copy > p:not(.eyebrow):not(.section-number) {
  color: #625950;
}

.atelier {
  background: #f1ebdf;
}

.atelier-heading {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(26px, 5vw, 85px);
  padding: 115px clamp(24px, 7vw, 110px) 65px;
}

.atelier-heading .eyebrow {
  color: var(--gold);
}

.atelier-heading h2 {
  max-width: 850px;
  margin: 0;
}

.atelier-image {
  min-height: 720px;
}

.atelier-image img {
  object-position: center 35%;
}

.atelier-copy {
  padding-top: 85px;
  padding-bottom: 85px;
}

.atelier-copy .atelier-lead {
  font: 400 clamp(1.55rem, 2.5vw, 2.45rem)/1.32 var(--serif);
  letter-spacing: -0.02em;
}

.atelier-copy .button {
  margin-top: 18px;
}

@media (max-width: 860px) {
  .atelier-heading {
    grid-template-columns: 1fr;
    padding-top: 85px;
    padding-bottom: 48px;
  }

  .atelier-image {
    min-height: 620px;
  }
}

@media (max-width: 560px) {
  .atelier-heading {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 70px 22px 42px;
  }

  .atelier-heading h2 {
    font-size: 3.25rem;
  }

  .atelier-image {
    min-height: 520px;
  }

  .atelier-copy {
    padding-top: 58px;
    padding-bottom: 68px;
  }
}

.contact {
  background: var(--paper);
  color: var(--ink);
}

.contact > p:not(.eyebrow) {
  color: #625950;
}

.light {
  background: var(--ink);
  color: white;
}

.outline {
  border-color: rgba(48, 42, 37, 0.55);
}

footer {
  background: var(--paper);
  color: #7f7565;
  border-top: 1px solid var(--line);
}

.footer-brand {
  color: var(--ink);
}

footer > div:last-child {
  flex-wrap: wrap;
}

.site-footer {
  display: block;
  padding: 85px clamp(24px, 5vw, 72px) 40px;
  background: #1b1711;
  color: #a99b85;
  border-top: 0;
  font-size: 1rem;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(280px, 1.35fr) minmax(170px, 0.7fr) minmax(240px, 1fr) minmax(170px, 0.7fr);
  gap: clamp(45px, 6vw, 95px);
  padding-bottom: 85px;
}

.footer-intro {
  max-width: 520px;
}

.footer-wordmark {
  display: block;
  margin-bottom: 32px;
  color: #8e8068;
  font: 400 clamp(2.1rem, 3.5vw, 3.65rem)/1 var(--serif);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.footer-wordmark span {
  color: var(--gold);
}

.footer-intro p {
  margin: 0;
  color: #a99b85;
  font-size: 1.05rem;
  line-height: 1.8;
  text-align: left;
}

.footer-column {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 17px;
}

.footer-column h2 {
  margin: 0 0 24px;
  color: #c9baa2;
  font: 700 0.72rem/1.2 var(--sans);
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.footer-column a,
.footer-column address {
  color: #9f927e;
  font-style: normal;
  line-height: 1.6;
  overflow-wrap: anywhere;
  transition: color 0.2s ease;
}

.footer-column a:hover,
.footer-column a:focus-visible,
.footer-bottom a:hover,
.footer-bottom a:focus-visible {
  color: #e1d5c1;
}

.footer-contact address {
  margin-bottom: 8px;
}

.site-footer .footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding-top: 34px;
  border-top: 1px solid rgba(213, 198, 170, 0.52);
}

.footer-bottom p {
  margin: 0;
  text-align: left;
}

.footer-bottom > div {
  display: flex;
  gap: 36px;
}

.footer-bottom a {
  color: #a99b85;
}

.faq {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 8vw;
  padding: 120px clamp(24px, 7vw, 110px);
  background: #f1ebdf;
}

.faq h2 {
  margin: 0;
  font: 400 clamp(2.6rem, 4.8vw, 4.8rem)/1.04 var(--serif);
  letter-spacing: -0.04em;
}

.faq .eyebrow {
  color: var(--gold);
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  position: relative;
  padding: 27px 50px 27px 0;
  list-style: none;
  cursor: pointer;
  font: 400 1.45rem/1.3 var(--serif);
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  position: absolute;
  right: 5px;
  color: var(--gold);
  font: 300 1.8rem/1 var(--sans);
}

.faq details[open] summary::after {
  content: "−";
}

.faq details p {
  max-width: 680px;
  margin: 0;
  padding: 0 48px 28px 0;
  color: #6e6457;
}

.selected-works {
  padding: 120px clamp(24px, 5vw, 72px) 130px;
  background: #f1ebdf;
}

.selected-works-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.7fr);
  align-items: end;
  gap: clamp(26px, 5vw, 85px);
  margin-bottom: 58px;
}

.selected-works-heading h2 {
  margin: 0;
  font: 400 clamp(2.7rem, 5vw, 5rem)/1.02 var(--serif);
  letter-spacing: -0.04em;
}

.selected-works-heading > p:last-child {
  max-width: 430px;
  margin: 0 0 5px;
  color: #6e6457;
}

.selected-works-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 54px 22px;
}

.selected-work-card {
  display: block;
  min-width: 0;
}

.selected-work-card[hidden] {
  display: none;
}

.selected-work-image {
  position: relative;
  display: block;
  aspect-ratio: 1;
  margin-bottom: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #eee9ef;
}

.selected-work-image img {
  transition: transform 0.7s ease;
}

.selected-work-image img.selected-work-screenshot {
  position: absolute;
  top: -45.6%;
  left: -5.15%;
  width: 110.15%;
  height: auto;
  max-width: none;
  object-fit: initial;
}

.selected-work-card:hover .selected-work-image img,
.selected-work-card:focus-visible .selected-work-image img {
  transform: scale(1.025);
}

.selected-work-category {
  display: block;
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.selected-work-card h3 {
  max-width: 390px;
  margin: 0;
  font: 400 clamp(1.45rem, 2.2vw, 2rem)/1.18 var(--serif);
}

.selected-works-action {
  margin: 64px 0 0;
  text-align: center;
}

.selected-works-button {
  gap: 14px;
  border-color: var(--gold);
  background: var(--gold);
  color: white;
}

.selected-works-button:hover,
.selected-works-button:focus-visible {
  background: #927143;
}

.course-home {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 120px clamp(24px, 7vw, 110px) 130px;
  background: #f8f4ec;
}

.course-home-image {
  display: block;
  width: min(100%, 760px);
  aspect-ratio: 16 / 10;
  margin-top: 64px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.course-home-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 900px;
  padding: 0;
  color: var(--ink);
  text-align: center;
}

.course-home-copy .section-number {
  margin-bottom: 30px;
}

.course-home-copy h2,
.visit-home h2 {
  margin: 0 0 28px;
  font: 400 clamp(2.6rem, 4.8vw, 5rem)/1.03 var(--serif);
  letter-spacing: -0.04em;
}

.course-home-copy > p:not(.section-number):not(.eyebrow) {
  max-width: 690px;
  margin: 0 0 34px;
  color: #6e6457;
}

.course-home-button {
  align-self: center;
  gap: 14px;
  border-color: var(--gold);
  background: var(--gold);
  color: white;
}

.course-home-copy .course-home-note {
  margin: 24px 0 0 !important;
  font: italic 1rem/1.6 var(--serif);
  color: #847664 !important;
}

.course-home-image img {
  object-position: center 46%;
  transition: transform 0.7s ease;
}

.course-home-image:hover img,
.course-home-image:focus-visible img {
  transform: scale(1.02);
}

.course-home-button:hover,
.course-home-button:focus-visible {
  border-color: white;
  background: white;
  color: var(--ink);
}

.visit-home {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 700px;
  background: var(--white);
}

.visit-home-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 90px clamp(32px, 7vw, 110px);
}

.visit-home-copy .section-number {
  margin-bottom: 55px;
}

.visit-home-copy > p:not(.section-number):not(.eyebrow) {
  max-width: 570px;
  color: #6e6457;
}

.visit-home-copy address {
  margin: 20px 0 34px;
  font: 400 1.45rem/1.5 var(--serif);
}

.visit-home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.visit-home-secondary {
  border-color: var(--line);
}

.visit-home-secondary:hover,
.visit-home-secondary:focus-visible {
  border-color: var(--gold);
  color: var(--gold);
}

.visit-home-map {
  position: relative;
  min-height: 540px;
  overflow: hidden;
  background: #d8d8c7;
}

.visit-home-map::after {
  content: "";
  position: absolute;
  inset: 55% 0 0;
  background: linear-gradient(transparent, rgba(39, 35, 31, 0.65));
}

.visit-home-map img {
  transition: transform 0.7s ease;
}

.visit-home-map:hover img,
.visit-home-map:focus-visible img {
  transform: scale(1.025);
}

.visit-home-map span {
  position: absolute;
  z-index: 1;
  right: 34px;
  bottom: 28px;
  left: 34px;
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

@media (max-width: 560px) {
  .brand strong {
    font-size: 1.45rem;
    letter-spacing: 0.1em;
  }

  .service-list {
    grid-template-columns: 1fr;
  }

  .service-list article {
    min-height: 250px;
    padding: 32px 26px;
  }

  .service-linked > a {
    padding: 32px 26px;
  }

  .service-list .service-featured {
    grid-column: auto;
    min-height: 270px;
  }

}

@media (max-width: 860px) {
  nav {
    background: #faf7ee;
    color: var(--ink);
    border: 1px solid #d5c6aa;
  }

  .hero::after {
    background: linear-gradient(0deg, rgba(36, 31, 24, 0.64), rgba(36, 31, 24, 0.08));
  }

  .services {
    grid-template-columns: 1fr;
  }

  .course-home,
  .visit-home {
    grid-template-columns: 1fr;
  }

  .course-home-image {
    min-height: 0;
  }

  .visit-home-map {
    min-height: 440px;
  }

  .selected-works-heading {
    grid-template-columns: 1fr;
  }

  .selected-works-heading > p:last-child {
    grid-column: 1;
  }

  .selected-works-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
  }

  .footer-intro {
    grid-column: 1 / -1;
  }

  .faq {
    grid-template-columns: 1fr;
    gap: 50px;
  }
}

@media (max-width: 620px) {
  .selected-works {
    padding: 90px 0;
    overflow: hidden;
  }

  .selected-works-heading {
    display: block;
    margin-bottom: 38px;
    padding: 0 24px;
  }

  .selected-works-heading .section-number {
    margin-bottom: 28px;
  }

  .selected-works-heading > p:last-child {
    margin-top: 22px;
  }

  .selected-works-grid {
    grid-auto-columns: 82%;
    grid-template-columns: none;
    grid-auto-flow: column;
    gap: 14px;
    padding: 0 24px 12px;
    overflow-x: auto;
    scroll-padding-left: 24px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .selected-works-grid::-webkit-scrollbar {
    display: none;
  }

  .selected-work-card {
    scroll-snap-align: start;
  }

  .selected-works-action {
    margin: 42px 24px 0;
  }

  .selected-works-button {
    width: 100%;
  }

  .course-home-image {
    min-height: 0;
    margin-top: 42px;
  }

  .course-home-copy,
  .visit-home-copy {
    padding: 72px 24px 78px;
  }

  .course-home {
    padding: 0 0 90px;
  }

  .course-home-copy {
    padding-bottom: 0;
  }

  .course-home-image {
    width: calc(100% - 48px);
    aspect-ratio: 4 / 3;
  }

  .course-home-copy .section-number,
  .visit-home-copy .section-number {
    margin-bottom: 34px;
  }

  .course-home-button,
  .visit-home-actions .button {
    width: 100%;
  }

  .visit-home-map {
    min-height: 330px;
  }

  .site-footer {
    padding-top: 65px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 55px;
    padding-bottom: 65px;
  }

  .footer-intro {
    grid-column: auto;
  }

  .footer-wordmark {
    font-size: clamp(2rem, 9vw, 2.75rem);
    letter-spacing: 0.12em;
  }

  .footer-column h2 {
    margin-bottom: 14px;
  }

  .site-footer .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-bottom > div {
    flex-wrap: wrap;
    gap: 12px 28px;
  }

  .faq {
    padding-top: 90px;
    padding-bottom: 90px;
  }
}

/* Desktop Hero als ruhiges Magazin Cover */
@media (min-width: 1000px) {
  .site-header {
    background: transparent;
    color: #fffdf9;
    border-bottom: 0;
    backdrop-filter: none;
    padding: 30px clamp(34px, 4.5vw, 72px);
  }

  .site-header .brand {
    text-shadow: 0 1px 16px rgba(24, 17, 12, 0.24);
  }

  .site-header .brand span {
    font-size: 0.72rem;
    letter-spacing: 0.24em;
  }

  .site-header .brand strong {
    font-size: 1.58rem;
    letter-spacing: 0.09em;
  }

  .site-header .menu-button {
    color: #fffdf9;
    filter: drop-shadow(0 1px 8px rgba(24, 17, 12, 0.3));
  }

  .hero {
    min-height: 100vh;
    height: 100vh;
    align-items: center;
    padding: 112px clamp(42px, 6vw, 96px) 58px;
  }

  .hero-image {
    background-position: 61% 52%;
    transform: none;
  }

  .hero::after {
    background:
      linear-gradient(90deg, rgba(31, 23, 17, 0.68) 0%, rgba(31, 23, 17, 0.48) 28%, rgba(31, 23, 17, 0.14) 47%, rgba(31, 23, 17, 0.02) 68%),
      linear-gradient(0deg, rgba(31, 23, 17, 0.16), rgba(31, 23, 17, 0.04) 36%);
  }

  .hero-copy {
    width: min(39vw, 570px);
    max-width: 570px;
    margin-top: 54px;
  }

  .hero .eyebrow {
    margin-bottom: 20px;
    font-size: 0.74rem;
    letter-spacing: 0.22em;
  }

  .hero h1 {
    max-width: 520px;
    margin-bottom: 22px;
    font-size: clamp(3.7rem, 4.9vw, 5.65rem);
    line-height: 0.98;
  }

  .hero-copy > p:not(.eyebrow) {
    max-width: 540px;
    margin: 0;
    font-size: 1rem;
    line-height: 1.72;
  }

  .hero-actions {
    margin-top: 30px;
    gap: 15px;
  }

  .hero-actions .button {
    min-height: 50px;
    padding: 14px 22px;
  }
}

/* Mobile Hero im gleichen ruhigen Magazin Stil */
@media (max-width: 999px) {
  .site-header {
    background: transparent;
    color: #fffdf9;
    border-bottom: 0;
    backdrop-filter: none;
    padding: 22px 22px 0;
  }

  .site-header .brand {
    text-shadow: 0 1px 14px rgba(24, 17, 12, 0.32);
  }

  .site-header .brand span {
    font-size: 0.64rem;
    letter-spacing: 0.22em;
  }

  .site-header .brand strong {
    font-size: 1.42rem;
    letter-spacing: 0.08em;
  }

  .site-header .menu-button {
    color: #fffdf9;
    border-color: rgba(255, 253, 249, 0.74);
    filter: drop-shadow(0 1px 7px rgba(24, 17, 12, 0.34));
  }

  .site-header nav,
  .site-header nav.open {
    background: #faf7ee;
    color: var(--ink);
    border: 1px solid #d5c6aa;
  }

  .hero {
    min-height: 100svh;
    height: auto;
    align-items: flex-end;
    padding: 118px 22px 42px;
  }

  .hero-image {
    background-position: 66% 43%;
    transform: none;
  }

  .hero::after {
    background:
      linear-gradient(0deg, rgba(31, 23, 17, 0.82) 0%, rgba(31, 23, 17, 0.56) 35%, rgba(31, 23, 17, 0.10) 68%, rgba(31, 23, 17, 0.03) 100%),
      linear-gradient(90deg, rgba(31, 23, 17, 0.20) 0%, rgba(31, 23, 17, 0.05) 62%, rgba(31, 23, 17, 0.00) 100%);
  }

  .hero-copy {
    width: 100%;
    max-width: 590px;
    margin: 0;
  }

  .hero .eyebrow {
    margin-bottom: 14px;
    font-size: 0.68rem;
    line-height: 1.45;
    letter-spacing: 0.18em;
  }

  .hero .eyebrow::before {
    width: 34px;
    flex: 0 0 34px;
  }

  .hero h1 {
    max-width: 460px;
    margin-bottom: 17px;
    font-size: clamp(3rem, 13vw, 4.9rem);
    line-height: 0.98;
  }

  .hero-copy > p:not(.eyebrow) {
    max-width: 520px;
    margin: 0;
    font-size: 0.96rem;
    line-height: 1.58;
  }

  .hero-actions {
    max-width: 100%;
    margin-top: 24px;
    gap: 10px;
  }

  .hero-actions .button {
    min-height: 50px;
    padding: 14px 18px;
  }
}

@media (max-width: 560px) {
  .hero {
    min-height: 100svh;
    padding: 108px 20px 28px;
  }

  .hero-image {
    background-position: 69% 40%;
  }

  .hero-copy {
    padding-top: 42vh;
  }

  .hero h1 {
    max-width: 330px;
    font-size: clamp(2.8rem, 14vw, 4.1rem);
  }

  .hero-copy > p:not(.eyebrow) {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .hero-actions {
    max-width: 330px;
  }

  .hero-actions .button {
    width: 100%;
  }
}
