:root {
  color-scheme: light;
  --paper: #faf6ef;
  --ink: #26221d;
  --muted: #665d54;
  --accent: #ad2f18;
  --brand-green: #556259;
  --line: #ded3c6;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "DM Sans", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 4.75rem; scroll-padding-bottom: calc(5rem + env(safe-area-inset-bottom, 0px)); }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.65 var(--sans); }
a { color: inherit; }
:where(a, summary, button, input, textarea):focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.salon a:focus-visible { outline-color: var(--paper); }
img { display: block; max-width: 100%; }
p { margin: 0 0 1.5rem; }
.wrap { width: min(100% - 7rem, 1300px); margin-inline: auto; }
.skip { position: absolute; z-index: 20; left: 1rem; top: 1rem; padding: .5rem 1rem; background: var(--paper); transform: translateY(-200%); }
.skip:focus { transform: none; }
.top {
  --logo-width: clamp(280px, 28vw, 425px);
  --band-start: 145px;
  --band-line: calc(var(--band-start) + 1px);
  color: #fff;
  background: linear-gradient(to bottom, var(--accent) 0 var(--band-start), #d1cac6 var(--band-start) var(--band-line), var(--brand-green) var(--band-line));
  --logo-overhang: 0px;
}
.brand { position: relative; height: calc(var(--band-line) + var(--logo-overhang)); }
.navigation {
  position: sticky;
  top: 0;
  z-index: 10;
  color: #fff;
  background: var(--brand-green);
  border-bottom: 7px solid var(--accent);
}
.header {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 4.35rem;
  padding-block: .45rem;
}
.logo { position: absolute; top: calc(var(--band-start) - var(--logo-width) * .2763); left: 0; width: var(--logo-width); z-index: 11; }
.logo img { width: 100%; height: auto; }
.header .desktop-nav {
  gap: .15rem;
  padding: .25rem;
  background: #414e46;
  border: 1px solid #77837a;
  border-radius: 2rem;
}
.header nav a {
  padding: .5rem clamp(.55rem, .82vw, .9rem);
  border-radius: 1.5rem;
  font-size: .875rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.header nav a:hover { background: #39453d; }
.mobile-menu { display: none; }
body:not(:has(main :target)) .header nav a[href="#start"],
body:has(#team:target) .header nav a[href="#team"],
body:has(#salon:target) .header nav a[href="#salon"],
body:has(#leistungen:target) .header nav a[href="#leistungen"],
body:has(#produkte:target) .header nav a[href="#produkte"],
body:has(#galerie:target) .header nav a[href="#galerie"],
body:has(#kontakt:target, #zeiten:target, #nachricht:target) .header nav a[href="#kontakt"] { background: var(--accent); }
.top a:focus-visible, .navigation a:focus-visible { outline: 2px solid white; outline-offset: -3px; }
.footer-brand { font-weight: 700; text-decoration: none; }
@media (max-width: 1100px) {
  .top { --logo-width: min(78vw, 370px); --band-start: calc(15px + var(--logo-width) * .2763); }
  .top { --logo-overhang: calc(var(--logo-width) * .116); }
  .header { justify-content: center; }
  .logo { left: 50%; transform: translateX(-50%); }
  .header .desktop-nav { width: fit-content; max-width: 100%; justify-content: center; margin-inline: auto; }
}
@media (max-width: 700px) {
  .header .desktop-nav { display: none; }
  .header { min-height: 0; }
  html:has(.mobile-menu[open]) { scroll-padding-top: min(17.5rem, 65dvh); }
  .header .mobile-menu { display: block; width: 100%; border: 1px solid #77837a; border-radius: .85rem; background: #414e46; }
  .mobile-menu > summary {
    justify-content: flex-start;
    gap: .7rem;
    padding: .65rem .85rem;
    font: 600 .9rem/1.5 var(--sans);
  }
  .mobile-menu > summary::after {
    content: "";
    width: .46rem;
    height: .46rem;
    margin-left: auto;
    margin-right: .15rem;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    color: inherit;
    transform: rotate(45deg) translateY(-.12rem);
  }
  .mobile-menu[open] > summary::after { transform: rotate(225deg); }
  .mobile-menu > summary:focus-visible { outline: 2px solid white; outline-offset: -4px; }
  .menu-icon { position: relative; width: 1rem; height: .7rem; border-block: 1px solid currentColor; }
  .menu-icon::after { content: ""; position: absolute; inset: 50% 0 auto; border-top: 1px solid currentColor; }
  .mobile-menu nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-height: max(3rem, calc(65dvh - 4.5rem));
    overflow-y: auto;
    gap: .2rem;
    padding: .45rem;
    border-top: 1px solid #77837a;
  }
  .mobile-menu nav a { padding: .65rem .55rem; border-radius: .45rem; }
}
.foot { display: flex; align-items: center; justify-content: space-between; gap: 1.75rem; min-height: 5.25rem; }
nav { display: flex; flex-wrap: wrap; gap: 1.85rem; }
nav a { font-size: .875rem; font-weight: 550; text-decoration: none; }
nav a:hover { text-decoration: underline; text-underline-offset: .3em; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 1rem; background: var(--accent); color: #fff9f0; border-radius: 3px; text-decoration: none; font-size: .875rem; font-weight: 650; padding: .85rem 1.2rem; }
.button:hover { background: #8e2613; }
.hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(1.75rem, 6vw, 6rem); align-items: center; padding-block: 2.6rem 3rem; }
.eyebrow { display: flex; align-items: center; gap: .75rem; color: var(--accent); font-size: .71rem; font-weight: 750; letter-spacing: .15em; text-transform: uppercase; margin-bottom: 1.45rem; }
.eyebrow::before { content: ""; width: 1.75rem; height: 1px; background: currentColor; }
h1, h2, h3 { overflow-wrap: anywhere; font-family: var(--serif); font-weight: 400; line-height: 1; margin: 0 0 1.4rem; }
h1 { font-size: clamp(3.25rem, 7.45vw, 7rem); letter-spacing: -.085em; line-height: .97; }
h2 { font-size: clamp(3rem, 5.3vw, 5.1rem); letter-spacing: -.075em; }
h3 { font-size: 2rem; letter-spacing: -.04em; }
h1 em, h2 em { color: var(--accent); font-weight: 400; }
.intro { font-size: 1.08rem; max-width: 34ch; color: var(--muted); }
.actions { display: flex; gap: .8rem 1.25rem; flex-wrap: wrap; align-items: center; }
.text-link { display: inline-flex; gap: .6rem; align-items: center; font-size: .875rem; font-weight: 650; text-underline-offset: .3em; }
.text-link:hover { color: var(--accent); }
.hero-visual { margin: 0; position: relative; }
.hero-visual img { width: 100%; height: clamp(375px, 43vw, 615px); object-fit: cover; object-position: center 41%; border-radius: 3px; background: #9c765c; }
.hero-visual figcaption { position: absolute; bottom: .65rem; right: .65rem; color: white; background: #2a201be8; padding: .2rem .5rem; border-radius: 2px; font-size: .68rem; }
.quick { background: #efe5d9; border-block: 1px solid var(--line); }
.quick-grid { display: grid; grid-template-columns: repeat(3, 1fr); padding-block: 1.2rem; }
.quick-grid > div { padding-inline: clamp(.75rem, 3vw, 2.7rem); border-left: 1px solid #d6c5b5; }
.quick-grid > div:first-child { padding-left: 0; border-left: 0; }
.quick-grid span { display: block; color: var(--muted); font-size: .76rem; }
.quick-grid a { font-weight: 650; font-size: .95rem; text-decoration: none; }
.quick-grid a:hover { text-decoration: underline; text-underline-offset: .3em; }
.quick-grid .link-arrow { font-weight: 400; color: var(--accent); margin-left: .25em; }
.section { padding-block: clamp(3.5rem, 8vw, 7rem); scroll-margin-top: 1rem; }
.service, .contact, .salon-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: clamp(2rem, 6vw, 7rem); }
.section p:not(.eyebrow) { max-width: 47ch; }
details { border-top: 1px solid var(--line); }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { list-style: none; display: flex; justify-content: space-between; align-items: center; cursor: pointer; gap: 1rem; font: 1.55rem/1.2 var(--serif); padding: .85rem 0; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--accent); font: 1.35rem var(--sans); }
details[open] summary::after { content: "−"; }
dl { margin: 0; }
dl div { display: flex; justify-content: space-between; gap: 1rem; padding: .4rem 0; }
dd { margin: 0; flex-shrink: 0; font-variant-numeric: tabular-nums; }
.price-list { padding-bottom: .9rem; color: var(--muted); font-size: .875rem; }
.note { color: var(--muted); margin-top: .75rem; font-size: .82rem; }
.salon { background: var(--brand-green); color: var(--paper); }
.salon em { color: #edc2a7; }
.salon .eyebrow { color: #f4d5bf; }
.salon .text-link:hover { color: #edc2a7; }
.salon aside { padding: clamp(1.5rem, 4vw, 3rem); background: #414d45; border: 1px solid #829084; align-self: center; }
.salon aside p { margin-bottom: 0; }
.solar-card { display: flex; align-items: center; flex-wrap: wrap; gap: 1.25rem; }
.solar-card > div { flex: 1 1 13rem; }
.solar-card h3 { margin-bottom: .65rem; }
.solar-photo {
  width: clamp(6rem, 10vw, 9rem);
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center 60%;
  border-radius: 50%;
}
address { font-style: normal; margin-bottom: 1.4rem; }
.hours { padding: clamp(1.3rem, 3vw, 2.5rem); background: #efe5d9; border-radius: 3px; }
.hours dl div + div { border-top: 1px solid #ded0c3; }
footer {
  border-top: 1px solid var(--line);
  padding-bottom: calc(4.5rem + env(safe-area-inset-bottom, 0px));
}
.phone-shortcut {
  position: fixed;
  left: max(1rem, env(safe-area-inset-left, 0px));
  bottom: calc(.9rem + env(safe-area-inset-bottom, 0px));
  z-index: 9;
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .3rem .95rem .3rem .3rem;
  min-height: 44px;
  border-radius: 2rem;
  background: #414e46;
  color: #fff;
  box-shadow: 0 .25rem 1rem #26221d38;
  font-weight: 700;
  font-size: .875rem;
  font-variant-numeric: tabular-nums;
  text-decoration: none;
}
.phone-shortcut:hover { background: #303a33; }
.phone-shortcut-icon {
  display: grid;
  place-items: center;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 50%;
  background: #28322b;
  font: 1rem/1 "Segoe UI Symbol", sans-serif;
}
@media (max-width: 900px) {
  .wrap { width: calc(100% - 3.5rem); }
  .hero { gap: 2rem; }
  nav { gap: 1rem; }
}
@media (max-width: 680px) {
  .wrap { width: calc(100% - 2.5rem); }
  .hero, .service, .contact, .salon-grid { grid-template-columns: 1fr; }
  .hero { padding-block: 2.3rem 1.4rem; gap: 1.6rem; }
  h1 { font-size: clamp(3.15rem, 12vw, 5.1rem); }
  .hero-visual img { height: clamp(270px, 80vw, 460px); }
  .quick-grid { grid-template-columns: 1fr; padding-block: .3rem; }
  .quick-grid > div { padding: .55rem 0; border: 0; }
  .quick-grid > div + div { border-top: 1px solid #d6c5b5; }
  .foot { flex-wrap: wrap; gap: .75rem; padding-block: 1.2rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.hero-visual img { object-position: center 38%; }
.gallery { border-bottom: 1px solid var(--line); }
#team, #produkte { border-bottom: 1px solid var(--line); }
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.info-grid article { border-top: 2px solid var(--accent); padding-top: 1.25rem; }
.info-grid p { margin-bottom: 0; }
#produkte { padding-block: clamp(2rem, 5vw, 3.5rem); }
#produkte h2 { font-size: clamp(2rem, 4vw, 3rem); }
#produkte .info-grid { margin-top: 1.25rem; }
#produkte .info-grid { align-items: start; }
#produkte .product-details { border-block: 1px solid var(--line); }
.product-brand {
  justify-content: flex-start;
  gap: .75rem;
  padding: .55rem 0;
  font-size: 1.45rem;
}
.product-brand::after { margin-left: auto; }
.product-logo {
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  flex: none;
  border-radius: 50%;
  background: #033c27;
}
.product-logo-bergmann { background: #fff; }
.product-logo img { width: 82%; height: auto; }
.product-copy { padding: .4rem 0 1rem; }
.product-copy h3 { margin-bottom: .65rem; font-size: 1.5rem; }
.product-copy p + p { margin-top: .75rem; }
.product-copy blockquote {
  margin: .9rem 0;
  padding-left: .9rem;
  border-left: 2px solid var(--line);
  font-style: italic;
}
.product-images {
  display: flex;
  gap: .5rem;
  margin-block: .9rem 1.25rem;
}
.product-images img {
  width: min(27%, 5rem);
  height: 5.5rem;
  object-fit: contain;
  background: #fff;
  border-radius: .25rem;
}
.team-portrait {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 24%;
  border-radius: .45rem;
  margin-bottom: 1.1rem;
}
.photo-slider {
  display: flex;
  flex-direction: column;
  gap: .85rem;
  min-inline-size: 0;
  max-width: 54rem;
  margin: 2rem auto 0;
  padding: 0;
  border: 0;
}
.photo-slider legend { font-weight: 600; padding: 0 0 .5rem; }
.photo-choices { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(.3rem, 1vw, .7rem); }
.photo-choice { position: relative; cursor: pointer; }
.photo-choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.photo-choice img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: .45rem; }
.photo-choice:has(input:checked) img { outline: 2px solid var(--accent); outline-offset: 2px; }
.photo-choice:has(input:focus-visible) img { outline: 3px solid var(--ink); outline-offset: 3px; }
.photo-slide { display: none; margin: 0; }
.photo-slide a { display: block; background: #333a34; border-radius: .75rem; }
.photo-slide img { width: 100%; height: clamp(17rem, 54vw, 32rem); object-fit: contain; border-radius: inherit; }
.photo-slide figcaption { color: var(--muted); font-size: .85rem; padding-top: .6rem; }
.photo-slider:has(input[value="1"]:checked) [data-photo="1"],
.photo-slider:has(input[value="2"]:checked) [data-photo="2"],
.photo-slider:has(input[value="3"]:checked) [data-photo="3"],
.photo-slider:has(input[value="4"]:checked) [data-photo="4"],
.photo-slider:has(input[value="5"]:checked) [data-photo="5"],
.photo-slider:has(input[value="6"]:checked) [data-photo="6"] { display: block; }
.legal-content {
  max-width: 48rem;
  overflow-wrap: anywhere;
}
.legal-content h1 { font-size: clamp(2.8rem, 7vw, 4.75rem); }
.legal-content h2 { font-size: 1.65rem; letter-spacing: -.035em; margin: 1.8rem 0 .7rem; }
.legal-content p { max-width: 68ch; }
.foot [aria-current="page"] { text-decoration: underline; text-underline-offset: .3em; }
.contact-panel {
  grid-column: 1 / -1;
  width: min(100%, 48rem);
  padding: clamp(1rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: .45rem;
  background: #efe5d9;
  scroll-margin-top: .75rem;
}
.contact-panel h3 { margin-bottom: 1rem; }
.contact-form { display: grid; gap: .65rem; }
.contact-form label { font-weight: 650; }
.contact-form input:not([type="hidden"]), .contact-form textarea {
  width: 100%;
  padding: .65rem .8rem;
  border: 1px solid #76695e;
  border-radius: .25rem;
  background: #fff;
  color: var(--ink);
  font: inherit;
}
.contact-form textarea { resize: vertical; }
.contact-form .button { justify-self: start; border: 0; cursor: pointer; }
.contact-form p { margin: .4rem 0; }
.form-notice { padding: .8rem 1rem; border-left: 3px solid var(--accent); background: #efe5d9; }
.form-notice p { margin: 0; }
.form-notice ul { margin: .5rem 0 0; padding-inline-start: 1.25rem; }
.contact-form [aria-invalid="true"] { border-color: var(--accent); }
.form-error { color: #8e2613; }
.preview-form { border: 0; padding: 0; margin: 0; min-inline-size: 0; }
