:root {
  --paper: #f2eee8;
  --paper-2: #e8e2d9;
  --ink: #161412;
  --ink-soft: #5c564f;
  --line: #cfc7bb;
  --wood: #a8633a;
  --wood-soft: #d9b79a;
  --open: #4f8a5b;
  --closed: #b0473a;
  --serif: "Instrument Serif", "Times New Roman", serif;
  --sans: "Hanken Grotesk", system-ui, sans-serif;
  --gutter: clamp(16px, 5vw, 72px);
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }

/* subtle paper grain */
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: .35;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .08 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.eyebrow {
  font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink-soft); margin: 0 0 18px;
}

/* ---------- Schnittlinie ---------- */
.cutline {
  position: fixed; left: calc(var(--gutter) / 2 - 1px); top: 0; bottom: 0; width: 2px;
  z-index: 40; pointer-events: none;
}
.cutline__track {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(to bottom, var(--line) 0 6px, transparent 6px 12px);
}
.cutline__cut {
  position: absolute; left: 0; top: 0; width: 2px; height: calc(var(--p, 0) * 100%);
  background: repeating-linear-gradient(to bottom, var(--wood) 0 6px, transparent 6px 12px);
}
.cutline__scissors {
  position: absolute; left: 50%; top: calc(14px + var(--p, 0) * (100% - 28px));
  width: 22px; height: 22px; transform: translate(-50%, -50%) rotate(90deg);
  fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round;
  background: var(--paper); border-radius: 50%; padding: 2px;
}
@media (max-width: 760px) { .cutline { display: none; } }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  display: flex; align-items: center; gap: 32px;
  padding: 18px var(--gutter);
  transition: background .4s, padding .4s, box-shadow .4s;
}
.nav.is-scrolled {
  background: rgba(242, 238, 232, .88); backdrop-filter: blur(12px);
  padding-block: 12px; box-shadow: 0 1px 0 var(--line);
}
.nav__logo { text-decoration: none; display: flex; align-items: baseline; gap: 8px; margin-right: auto; }
.nav__logo em { font-size: 30px; line-height: 1; }
.nav__logo span { font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--ink-soft); }
.nav__links { display: flex; gap: 28px; }
.nav__links a, .nav__call {
  text-decoration: none; font-size: 14px; letter-spacing: .04em; position: relative;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease);
}
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__call {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--ink); border-radius: 999px; padding: 8px 16px; font-weight: 500;
  transition: background .3s, color .3s;
}
.nav__call:hover { background: var(--ink); color: var(--paper); }
.nav__toggle { display: none; }

.status-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--line); flex: none; display: inline-block;
}
.status-dot.is-open { background: var(--open); box-shadow: 0 0 0 0 rgba(79, 138, 91, .5); animation: pulse 2.2s infinite; }
.status-dot.is-closed { background: var(--closed); }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(79, 138, 91, 0); } 100% { box-shadow: 0 0 0 0 rgba(79, 138, 91, 0); } }

@media (max-width: 900px) {
  .nav { gap: 12px; }
  .nav__links {
    position: fixed; inset: 0; flex-direction: column; justify-content: center; align-items: flex-start;
    gap: 8px; padding: var(--gutter); background: var(--paper);
    clip-path: inset(0 0 100% 0); transition: clip-path .6s var(--ease);
  }
  .nav__links a { font-family: var(--serif); font-size: 44px; letter-spacing: 0; }
  .nav.is-open .nav__links { clip-path: inset(0 0 0 0); }
  /* backdrop-filter würde das fixierte Menü auf die Nav-Höhe begrenzen */
  .nav.is-open { backdrop-filter: none; background: var(--paper); box-shadow: none; }
  .nav__toggle {
    display: grid; place-content: center; gap: 6px; width: 44px; height: 44px;
    background: none; border: 0; cursor: pointer; position: relative; z-index: 2;
  }
  .nav__toggle span { width: 24px; height: 1.5px; background: var(--ink); transition: transform .4s var(--ease); }
  .nav.is-open .nav__toggle span:first-child { transform: translateY(3.75px) rotate(45deg); }
  .nav.is-open .nav__toggle span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
  .nav__logo, .nav__call { position: relative; z-index: 2; }
}
@media (max-width: 480px) { .nav__call { font-size: 13px; padding: 7px 12px; } .nav__logo span { display: none; } }

/* ---------- Buttons & Links ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 16px 26px;
  border-radius: 999px; text-decoration: none; font-weight: 500; font-size: 15px;
  transition: transform .3s var(--ease), background .3s, color .3s;
}
.btn:hover { transform: translateY(-2px); }
.btn--dark { background: var(--ink); color: var(--paper); }
.btn--dark:hover { background: var(--wood); }
.btn--line { border: 1px solid var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--paper); }
.btn--light { background: var(--paper); color: var(--ink); }
.btn--light:hover { background: var(--wood-soft); }
.link {
  text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: background-size .4s var(--ease);
}
.link:hover { background-size: 0 1px; background-position: 100% 100%; }

/* ---------- Abschnitte ---------- */
section { padding: clamp(80px, 12vw, 160px) var(--gutter); position: relative; }
.section-head { display: grid; grid-template-columns: auto 1fr; gap: 0 clamp(16px, 3vw, 40px); align-items: baseline; margin-bottom: clamp(40px, 6vw, 80px); }
.section-num {
  font-family: var(--serif); font-size: 18px; color: var(--wood);
  border-top: 1px solid var(--wood); padding-top: 6px;
}
.section-num::before { content: "N° "; }
.section-head h2 { font-family: var(--serif); font-size: clamp(44px, 7.5vw, 112px); line-height: .95; letter-spacing: -.02em; }
.section-sub { grid-column: 2; margin: 18px 0 0; color: var(--ink-soft); max-width: 46ch; }

/* ---------- Hero ---------- */
.hero {
  min-height: 100svh; display: grid; grid-template-columns: 1.15fr .85fr; align-items: center;
  gap: clamp(24px, 5vw, 80px); padding-top: 120px; padding-bottom: 60px;
}
.hero__title { font-family: var(--serif); font-size: clamp(56px, 9.2vw, 152px); line-height: .9; letter-spacing: -.03em; }
.hero__title .line { display: block; }
.hero__title .line:nth-child(2) { padding-left: clamp(30px, 8vw, 140px); color: var(--wood); }
.hero__lead { max-width: 42ch; font-size: 19px; color: var(--ink-soft); margin: 32px 0; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__status { display: flex; align-items: center; gap: 10px; font-size: 14px; margin-top: 28px; color: var(--ink-soft); }

.hero__figure { margin: 0; position: relative; justify-self: end; width: min(100%, 460px); }
.hero__frame {
  border-radius: 999px 999px 4px 4px; overflow: hidden; aspect-ratio: 725 / 1000;
  background: var(--paper-2);
}
.hero__frame img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08) translateY(var(--py, 0)); transition: transform .1s linear; }
.hero__figure figcaption { display: flex; gap: 14px; font-size: 13px; color: var(--ink-soft); margin-top: 14px; }
.hero__figure figcaption span { font-family: var(--serif); color: var(--wood); }
.hero__mark {
  position: absolute; width: clamp(110px, 12vw, 170px); right: calc(var(--gutter) + min(36vw, 400px)); top: 22%;
  animation: spin 40s linear infinite; pointer-events: none;
}
.hero__mark text { font: 500 13.2px var(--sans); letter-spacing: .22em; text-transform: uppercase; fill: var(--ink); }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 110px; }
  .hero__figure { justify-self: start; width: min(80%, 380px); order: -1; }
  .hero__mark { right: var(--gutter); top: 130px; }
}

/* ---------- Facts ---------- */
.facts {
  display: grid; grid-template-columns: repeat(4, 1fr); padding-block: 0;
  border-block: 1px solid var(--line); margin-inline: var(--gutter); padding-inline: 0;
}
.fact { padding: 36px 20px; border-left: 1px solid var(--line); }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact strong { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(48px, 6vw, 84px); line-height: 1; }
.fact span { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
@media (max-width: 700px) {
  .facts { grid-template-columns: 1fr 1fr; }
  .fact { padding: 28px 0 28px 16px; }
  .fact:nth-child(odd) { border-left: 0; padding-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------- Leistungen ---------- */
.service-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.service-list li {
  display: grid; grid-template-columns: 70px 1.1fr 1fr; gap: 24px; align-items: baseline;
  padding: 30px 0; border-bottom: 1px solid var(--line); position: relative;
}
.service-list li::before {
  content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%;
  background: var(--wood); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease);
}
.service-list li:hover::before { transform: scaleX(1); }
.service-list__n { font-family: var(--serif); font-style: italic; color: var(--wood); font-size: 22px; }
.service-list h3 { font-family: var(--serif); font-size: clamp(32px, 4.2vw, 60px); line-height: 1; transition: transform .5s var(--ease); }
.service-list li:hover h3 { transform: translateX(12px); }
.service-list p { margin: 0; color: var(--ink-soft); max-width: 44ch; }
@media (max-width: 760px) {
  .service-list li { grid-template-columns: 40px 1fr; }
  .service-list p { grid-column: 2; }
}

/* ---------- Philosophie ---------- */
.philosophy {
  background: var(--ink); color: var(--paper);
  display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: center;
}
.philosophy__img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 4px 4px 999px 999px; }
.philosophy blockquote { margin: 0; }
.philosophy blockquote p { font-family: var(--serif); font-size: clamp(28px, 3.6vw, 52px); line-height: 1.12; margin: 0 0 32px; }
.philosophy blockquote em { color: var(--wood-soft); }
.philosophy footer { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: #a69d92; }
@media (max-width: 760px) { .philosophy { grid-template-columns: 1fr; } .philosophy__img { width: 70%; } }

/* ---------- Preise ---------- */
.prices__controls { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 40px; }
.tabs { display: flex; flex-wrap: wrap; gap: 6px; padding: 6px; border: 1px solid var(--line); border-radius: 999px; }
.tabs button {
  font: 500 15px var(--sans); border: 0; background: none; color: var(--ink-soft); cursor: pointer;
  padding: 10px 20px; border-radius: 999px; transition: background .3s, color .3s;
}
.tabs button:hover { color: var(--ink); }
.tabs button[aria-selected="true"] { background: var(--ink); color: var(--paper); }
.level { display: flex; align-items: center; gap: 12px; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; }
.level__switch {
  width: 58px; height: 30px; border-radius: 999px; border: 1px solid var(--ink); background: none;
  position: relative; cursor: pointer; padding: 0;
}
.level__switch span {
  position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--ink); transition: transform .4s var(--ease), background .3s;
}
.level__switch[aria-checked="true"] span { transform: translateX(28px); background: var(--wood); }
.level.is-disabled { opacity: .35; pointer-events: none; }

.price-panel { display: none; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 64px); }
.price-panel.is-active { display: grid; animation: fadeUp .6s var(--ease); }
.price-group--wide { grid-column: span 2; }
.price-group h4 { font-family: var(--serif); font-size: 30px; line-height: 1.1; padding-bottom: 12px; border-bottom: 1px solid var(--ink); }
.price-group h4 small { display: block; font-family: var(--sans); font-size: 13px; color: var(--ink-soft); margin-top: 4px; }
.price-group dl + h4 { margin-top: 36px; }
.price-group dl { margin: 0; }
.price-group dl div { display: flex; align-items: baseline; gap: 10px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.price-group dt { flex: none; max-width: 70%; }
.price-group dl div::after { content: ""; flex: 1; order: 1; }
.price-group dd { margin: 0; order: 2; font-variant-numeric: tabular-nums; font-weight: 500; white-space: nowrap; }
.price-group dd.flip { animation: flip .45s var(--ease); }
.prices__hint { margin-top: 40px; font-size: 14px; color: var(--ink-soft); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } }
@keyframes flip { from { opacity: 0; transform: translateY(-8px); } }
@media (max-width: 900px) {
  .price-panel { grid-template-columns: 1fr; }
  .price-group--wide { grid-column: auto; }
  .tabs { gap: 2px; padding: 4px; }
  .tabs button { padding: 9px 12px; font-size: 14px; }
}

/* ---------- Salon ---------- */
.salon { background: var(--paper-2); }
.salon__grid {
  display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: clamp(70px, 8vw, 120px); gap: 14px;
}
.salon__grid figure { margin: 0; overflow: hidden; border-radius: 4px; }
.salon__grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.salon__grid figure:hover img { transform: scale(1.04); }
.g1 { grid-column: 1 / 8; grid-row: span 4; }
.g2 { grid-column: 8 / 13; grid-row: span 3; }
.g3 { grid-column: 8 / 13; grid-row: span 3; }
.g4 { grid-column: 1 / 5; grid-row: span 3; }
.g5 { grid-column: 5 / 8; grid-row: span 2; }
@media (max-width: 700px) {
  .salon__grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 110px; }
  .g1 { grid-column: 1 / 3; grid-row: span 2; }
  .g2, .g3, .g4, .g5 { grid-column: auto; grid-row: span 2; }
  .g5 { display: none; }
}

.chronicle { margin-top: clamp(64px, 9vw, 120px); display: grid; grid-template-columns: .7fr 1.3fr; gap: 40px; }
.chronicle__title { font-family: var(--serif); font-size: clamp(36px, 4vw, 56px); position: sticky; top: 110px; align-self: start; }
.chronicle ol { list-style: none; margin: 0; padding: 0 0 0 28px; border-left: 1px solid var(--ink); }
.chronicle li { position: relative; padding: 0 0 36px; }
.chronicle li::before {
  content: ""; position: absolute; left: -33px; top: 8px; width: 9px; height: 9px; border-radius: 50%;
  background: var(--paper-2); border: 1px solid var(--ink);
}
.chronicle li.is-in::before { background: var(--wood); border-color: var(--wood); transition: background .6s .3s; }
.chronicle time { font-family: var(--serif); font-size: 26px; color: var(--wood); }
.chronicle p { margin: 4px 0 0; max-width: 52ch; }
@media (max-width: 760px) { .chronicle { grid-template-columns: 1fr; } .chronicle__title { position: static; } }

/* ---------- Team ---------- */
.founder { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 6vw, 96px); align-items: center; margin-bottom: clamp(64px, 9vw, 120px); }
.founder__img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; }
.founder__text h3 { font-family: var(--serif); font-size: clamp(44px, 6vw, 88px); line-height: 1; margin-bottom: 24px; }
.founder__text p { max-width: 48ch; color: var(--ink-soft); }
.founder__sign { font-family: var(--serif); font-style: italic; font-size: 28px; color: var(--ink) !important; margin-top: 28px; }
@media (max-width: 760px) { .founder { grid-template-columns: 1fr; } .founder__img { width: 70%; } }

.team__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(14px, 2vw, 28px); }
.team__grid li:nth-child(even) { margin-top: 60px; }
.team__grid img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 999px 999px 4px 4px; background: #e4e4e4; }
.team__grid h4 { font-family: var(--serif); font-size: 30px; margin-top: 14px; line-height: 1; }
.team__grid span { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); }
.team__fritz span { color: var(--wood); }
@media (max-width: 900px) {
  .team__grid { grid-template-columns: repeat(2, 1fr); }
  .team__grid li:nth-child(even) { margin-top: 40px; }
  .team__fritz { grid-column: 1 / -1; width: 50%; justify-self: center; }
  .team__grid li.team__fritz { margin-top: 0; }
}

/* ---------- Karriere ---------- */
.career { padding-block: 0; }
.career__inner {
  background: var(--wood); color: var(--paper); border-radius: 6px;
  padding: clamp(40px, 7vw, 96px); position: relative; overflow: hidden;
}
.career__inner::after {
  content: "✂"; position: absolute; right: -0.05em; bottom: -0.3em; font-size: clamp(180px, 26vw, 380px);
  line-height: 1; opacity: .12; transform: rotate(-20deg);
}
.career .eyebrow { color: var(--wood-soft); }
.career h2 { font-family: var(--serif); font-size: clamp(40px, 6vw, 84px); line-height: 1; margin-bottom: 24px; }
.career p { max-width: 58ch; margin: 0 0 32px; position: relative; z-index: 1; }
.career .btn { position: relative; z-index: 1; word-break: break-all; }

/* ---------- Kontakt ---------- */
.contact__phone {
  display: block; text-decoration: none; font-family: var(--serif);
  font-size: clamp(64px, 14vw, 220px); line-height: .9; letter-spacing: -.03em;
  padding-bottom: 32px; border-bottom: 1px solid var(--ink); margin-bottom: 48px;
  transition: color .4s;
}
.contact__phone:hover { color: var(--wood); }
.contact__label { display: block; font: 500 13px var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 12px; }
.contact__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(28px, 4vw, 56px); }
.contact__block h4 { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--wood); margin-bottom: 14px; font-weight: 600; }
.contact__block p { margin: 0 0 12px; }
.contact__hours table { width: 100%; border-collapse: collapse; font-size: 15px; }
.contact__hours th, .contact__hours td { padding: 7px 0; border-bottom: 1px dashed var(--line); text-align: left; font-weight: 400; }
.contact__hours td { text-align: right; font-variant-numeric: tabular-nums; }
.contact__hours tr.is-today th, .contact__hours tr.is-today td { font-weight: 600; color: var(--ink); }
.contact__hours tr.is-today th::before { content: "→ "; color: var(--wood); }
.contact__hours tr:not(.is-today) { color: var(--ink-soft); }
.contact__now { display: flex; align-items: center; gap: 10px; margin-top: 16px !important; font-size: 14px; }
@media (max-width: 1000px) { .contact__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .contact__grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--paper); padding: 60px var(--gutter) 32px; overflow: hidden; }
.footer__big { font-family: var(--serif); font-size: clamp(90px, 24vw, 380px); line-height: .8; margin: 0 0 40px; letter-spacing: -.04em; }
.footer__big em { color: var(--wood); }
.footer__row { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: flex-start; font-size: 14px; color: #a69d92; border-top: 1px solid #3a3530; padding-top: 24px; }
.footer__row p { margin: 0; }
.footer details { max-width: 60ch; }
.footer summary { cursor: pointer; color: var(--paper); }
.footer details p { margin-top: 12px; line-height: 1.7; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.hero__title .line.reveal { transform: translateY(60%); clip-path: inset(0 0 100% 0); transition: transform 1.1s var(--ease), clip-path 1.1s var(--ease), opacity .2s; }
.hero__title .line.reveal.is-in { transform: none; clip-path: inset(-10% 0 -20% 0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; clip-path: none !important; }
  html { scroll-behavior: auto; }
}
