/* ============================================================
   Hairdresser Bünning — Styles
   ============================================================ */

/* --- Self-hosted Fonts (GDPR compliant) --- */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../assets/fonts/inter-39a6e567.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../assets/fonts/inter-284ea4d9.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../assets/fonts/inter-2fecfab8.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../assets/fonts/inter-4b206ba2.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../assets/fonts/inter-bba19875.woff2') format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}

@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../assets/fonts/playfair-308b5e28.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../assets/fonts/playfair-7762d8d1.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../assets/fonts/playfair-8c2c0e4f.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/playfair-93668706.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --- Custom Properties --- */
:root {
  /* Colors */
  --color-black: #000000;
  --color-white: #ffffff;
  --color-dark: #0a0a0a;
  --color-muted: #91908B;
  --color-border: #E2E2E2;
  --color-gold: #A16207;
  --color-gold-hover: #CA8A04;
  --color-hover-light: rgba(255, 255, 255, 0.7);
  --color-overlay: rgba(0, 0, 0, 0.55);
  --color-placeholder: #1a1a1a;

  /* Typography */
  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Type Scale */
  --text-label: 0.875rem;
  --text-body: 1rem;
  --text-body-lg: 1.125rem;
  --text-h4: 1.5rem;
  --text-h3: 2rem;
  --text-h2: 2.5rem;
  --text-h1: 3.5rem;

  /* Spacing */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 128px;

  /* Layout */
  --container-max: 1200px;
  --container-pad: 24px;
  --nav-height: 90px;
  --nav-height-shrunk: 64px;

  /* Animation */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in: cubic-bezier(0.7, 0, 0.84, 0);
  --duration-fast: 200ms;
  --duration-mid: 300ms;
  --duration-reveal: 700ms;
}


/* --- Modern Reset --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: 1.6;
  color: var(--color-black);
  background-color: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
  border: none;
  background: none;
  outline: none;
}

button {
  cursor: pointer;
}

table {
  border-collapse: collapse;
}


/* --- Typography --- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 { font-size: var(--text-h1); }
h2 { font-size: var(--text-h2); }
h3 { font-size: var(--text-h3); }
h4 { font-size: var(--text-h4); }

.label {
  font-family: var(--font-body);
  font-size: var(--text-label);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.body-lg {
  font-size: var(--text-body-lg);
  line-height: 1.75;
}


/* --- Container & Section --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}

.section {
  padding-top: 67px;
  padding-bottom: 67px;
}

.section--dark {
  background-color: var(--color-dark);
  color: var(--color-white);
}

#ueber-uns {
  padding-top: 64px;
  padding-bottom: 64px;
}

.section--white {
  background-color: var(--color-white);
  color: var(--color-black);
}

#kontakt {
  padding-top: var(--space-6);
  padding-bottom: var(--space-4);
}

.kontakt--curl {
  position: relative;
  overflow: hidden;
}

.kontakt__curl {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  max-width: 1000px;
  opacity: 0.06;
  pointer-events: none;
  z-index: 0;
}

#kontakt .container {
  position: relative;
  z-index: 1;
}

#kontakt .contact {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section__label {
  font-family: var(--font-body);
  font-size: var(--text-label);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: var(--space-4);
  color: var(--color-muted);
}

.section__title {
  font-size: var(--text-h2);
  margin-bottom: var(--space-5);
}

.section__subtitle {
  font-size: var(--text-body-lg);
  line-height: 1.75;
  color: var(--color-muted);
  max-width: 720px;
  margin-bottom: var(--space-7);
}

.section--dark .section__subtitle {
  color: var(--color-muted);
}

.section__header {
  margin-bottom: var(--space-8);
}

.section__header--center {
  text-align: center;
}

.section__header--center .section__subtitle {
  margin-left: auto;
  margin-right: auto;
}

#leistungen .section__header {
  margin-bottom: var(--space-6);
}


/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-6);
  font-family: var(--font-body);
  font-size: var(--text-body);
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: 0;
  transition: background-color var(--duration-fast) var(--ease-out),
              color var(--duration-fast) var(--ease-out),
              border-color var(--duration-fast) var(--ease-out);
  cursor: pointer;
  min-height: 48px;
  min-width: 48px;
}

.btn--primary {
  background-color: var(--color-white);
  color: var(--color-black);
  border: 2px solid var(--color-white);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  background-color: transparent;
  color: var(--color-white);
}

.btn--outline {
  background-color: transparent;
  color: var(--color-white);
  border: 2px solid var(--color-white);
}

.btn--outline:hover,
.btn--outline:focus-visible {
  background-color: var(--color-white);
  color: var(--color-black);
}

.btn--dark {
  background-color: var(--color-black);
  color: var(--color-white);
  border: 2px solid var(--color-black);
}

.btn--dark:hover,
.btn--dark:focus-visible {
  background-color: transparent;
  color: var(--color-black);
}

.btn--gold {
  background-color: var(--color-white);
  color: var(--color-black);
  border: 2px solid var(--color-white);
}

.btn--gold:hover,
.btn--gold:focus-visible {
  background-color: var(--color-black);
  color: var(--color-white);
  border-color: var(--color-white);
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}


/* --- Focus States --- */
:focus {
  outline: 2px solid var(--color-white);
  outline-offset: 2px;
}

:focus:not(:focus-visible) {
  outline: none;
}

:focus-visible {
  outline: 2px solid var(--color-white);
  outline-offset: 2px;
}


/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition: background-color var(--duration-mid) var(--ease-out),
              height var(--duration-mid) var(--ease-out),
              box-shadow var(--duration-mid) var(--ease-out);
}

.nav--transparent {
  background-color: rgba(255, 255, 255, 0.95);
}

.nav--solid {
  background-color: var(--color-white);
  height: var(--nav-height-shrunk);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0 var(--container-pad);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0;
  z-index: 1001;
  flex-shrink: 0;
}

.nav__logo-curl {
  height: 44px;
  width: auto;
  transition: height var(--duration-mid) var(--ease-out);
}

.nav__logo-text {
  height: 44px;
  width: auto;
  transition: height var(--duration-mid) var(--ease-out);
}

.nav--solid .nav__logo-curl {
  height: 34px;
}

.nav--solid .nav__logo-text {
  height: 34px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-5);
}

.nav__link {
  font-family: var(--font-body);
  font-size: var(--text-label);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-black);
  position: relative;
  padding: var(--space-1) 0;
  cursor: pointer;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--color-black);
  transition: width var(--duration-mid) var(--ease-out);
}

.nav__link:hover::after,
.nav__link:focus-visible::after {
  width: 100%;
}

.nav__cta {
  font-size: var(--text-label);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: var(--space-2) var(--space-5);
  min-height: 44px;
}

.nav__phone {
  font-family: var(--font-body);
  font-size: var(--text-label);
  font-weight: 400;
  color: var(--color-black);
  transition: color var(--duration-fast) var(--ease-out);
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav__phone:hover {
  color: var(--color-muted);
}

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-black);
  transition: transform var(--duration-mid) var(--ease-out),
              opacity var(--duration-fast) var(--ease-out);
}

.nav__hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav__hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav__hamburger[aria-expanded="true"] span {
  background-color: var(--color-white);
}


/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: var(--color-black);
}

.hero__image {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  animation: heroPan 8s ease-in-out infinite alternate;
}

@keyframes heroPan {
  0% { transform: scale(1.0); }
  100% { transform: scale(1.12); }
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.15) 0%,
    rgba(0, 0, 0, 0.35) 50%,
    rgba(0, 0, 0, 0.55) 100%
  );
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--color-white);
  padding: 0 var(--container-pad);
  max-width: 800px;
}

.hero__logo {
  width: 120px;
  height: auto;
  margin: 0 auto var(--space-6);
}

.hero__title {
  font-size: var(--text-h1);
  font-weight: 700;
  margin-bottom: var(--space-3);
  line-height: 1.1;
}

.hero__tagline {
  font-size: 1.35rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: var(--space-7);
  line-height: 1.5;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 300;
}

.btn--subtle {
  background-color: var(--color-white);
  color: var(--color-black);
  border: none;
  font-weight: 400;
  font-family: var(--font-body);
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  border-radius: 2px;
  padding: 0.8rem 1.6rem;
  gap: 1rem;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.btn--subtle:hover,
.btn--subtle:focus-visible {
  background-color: var(--color-black);
  color: var(--color-white);
}

.btn__arrow-wrap {
  position: relative;
  width: 20px;
  height: 20px;
  overflow: hidden;
  flex-shrink: 0;
}

.btn__arrow {
  position: absolute;
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn__arrow--next {
  transform: translateX(-150%);
}

.btn--subtle:hover .btn__arrow:not(.btn__arrow--next) {
  transform: translateX(150%);
}

.btn--subtle:hover .btn__arrow--next {
  transform: translateX(0);
}

.hero__cta {
  display: inline-flex;
  align-items: center;
}

.hero__scroll-hint {
  position: absolute;
  bottom: var(--space-6);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  color: var(--color-muted);
  font-size: var(--text-label);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: scrollBounce 2s infinite;
}

.hero__scroll-hint svg {
  width: 20px;
  height: 20px;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}


/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto 1fr;
  gap: 0 var(--space-8);
  align-items: stretch;
}

.about__header {
  grid-column: 1;
  grid-row: 1;
}

.about__body {
  grid-column: 1;
  grid-row: 2;
}

.about__image {
  grid-column: 2;
  grid-row: 1 / -1;
}

.about__image {
  overflow: hidden;
}

.about__body p {
  font-size: var(--text-body-lg);
  line-height: 1.75;
  margin-bottom: var(--space-5);
  color: rgba(255, 255, 255, 0.85);
}

.about__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  scale: 1.25;
  transition: transform var(--duration-reveal) var(--ease-out);
}

.about__image:hover img {
  transform: scale(1.04);
}

.about__text p {
  font-size: var(--text-body-lg);
  line-height: 1.75;
  margin-bottom: var(--space-5);
  color: rgba(255, 255, 255, 0.85);
}

.about__text p:last-child {
  margin-bottom: 0;
}

.about__highlight {
  font-family: var(--font-heading);
  font-size: var(--text-h4);
  font-style: italic;
  color: var(--color-white);
  line-height: 1.4;
  border-left: 2px solid var(--color-white);
  padding-left: var(--space-5);
  margin: var(--space-6) 0;
}


/* --- Placeholder Image Styling --- */
.placeholder-image {
  background-color: #2a2a2a;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  gap: var(--space-3);
}

.placeholder-image--portrait {
  aspect-ratio: 3 / 4;
}

.placeholder-image--square {
  aspect-ratio: 1 / 1;
}

.placeholder-image__icon {
  width: 48px;
  height: 48px;
  color: rgba(255, 255, 255, 0.25);
}

.placeholder-image__icon svg {
  width: 100%;
  height: 100%;
}

.placeholder-image__label {
  font-family: var(--font-body);
  font-size: var(--text-label);
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.35);
  text-align: center;
  padding: 0 var(--space-4);
}

.section--white .placeholder-image {
  background-color: #e8e8e8;
}

.section--white .placeholder-image__icon {
  color: rgba(0, 0, 0, 0.2);
}

.section--white .placeholder-image__label {
  color: rgba(0, 0, 0, 0.3);
}


/* ============================================================
   TEAM SECTION
   ============================================================ */
.team__single {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  overflow: hidden;
}

.team__single img {
  transition: transform var(--duration-reveal) var(--ease-out);
}

.team__single:hover img {
  transform: scale(1.04);
}

.team__single .placeholder-image--landscape {
  aspect-ratio: 16 / 9;
  margin-bottom: var(--space-5);
}

.team__names {
  font-family: var(--font-body);
  font-size: var(--text-body-lg);
  color: var(--color-muted);
  letter-spacing: 0.02em;
}

.team__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.team__card {
  text-align: center;
}

.team__photo {
  margin-bottom: var(--space-5);
}

.team__name {
  font-family: var(--font-heading);
  font-size: var(--text-h4);
  margin-bottom: var(--space-2);
}

.team__role {
  font-size: var(--text-label);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-muted);
}


/* ============================================================
   SERVICES SECTION
   ============================================================ */
.services__list {
  max-width: 640px;
  margin: 0 auto;
}

.services__item {
  padding: var(--space-5) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.services__item:last-child {
  border-bottom: none;
}

.services__item-title {
  font-family: var(--font-heading);
  font-size: var(--text-h4);
  margin-bottom: var(--space-2);
}

.services__item-desc {
  font-size: var(--text-body);
  color: var(--color-muted);
  line-height: 1.6;
}

.services__more {
  text-align: center;
  font-size: var(--text-body);
  font-style: italic;
  color: var(--color-muted);
  margin-top: var(--space-6);
}

.services__cta {
  text-align: center;
  margin-top: var(--space-6);
}

.btn--on-dark {
  background-color: var(--color-white);
  color: var(--color-black);
}

.btn--on-dark:hover,
.btn--on-dark:focus-visible {
  background-color: var(--color-black);
  color: var(--color-white);
  outline: 1px solid var(--color-white);
}


/* ============================================================
   PRODUCTS SECTION
   ============================================================ */
.products__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.product-card {
  overflow: hidden;
}

.product-card__image {
  overflow: hidden;
  margin-bottom: var(--space-5);
}

.product-card__image img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform var(--duration-reveal) var(--ease-out);
}

.product-card:hover .product-card__image img {
  transform: scale(1.04);
}

.product-card__title {
  font-family: var(--font-heading);
  font-size: var(--text-h4);
  margin-bottom: var(--space-2);
}

.product-card__desc {
  font-size: var(--text-body);
  color: var(--color-muted);
  line-height: 1.6;
}


/* ============================================================
   GALLERY SECTION
   ============================================================ */
.gallery__intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  margin-bottom: var(--space-8);
  align-items: center;
}

.gallery__intro-text p {
  font-size: var(--text-body-lg);
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.75;
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}

.gallery__item {
  overflow: hidden;
}

.gallery__item img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform var(--duration-reveal) var(--ease-out);
}

.gallery__item:hover img {
  transform: scale(1.05);
}

/* Feature items span 2 cols or 2 rows */
.gallery__item--wide {
  grid-column: span 2;
}

.gallery__item--wide img {
  aspect-ratio: 2 / 1;
  object-position: center 10%;
}

.gallery__item--tall {
  grid-row: span 2;
}

.gallery__item--tall img {
  aspect-ratio: 1 / 2;
  height: 100%;
}


/* ============================================================
   REVIEWS SECTION
   ============================================================ */
.reviews__header {
  text-align: center;
  margin-bottom: var(--space-7);
}

.reviews__stars {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-1);
  margin-bottom: var(--space-3);
}

.reviews__stars svg {
  width: 24px;
  height: 24px;
  fill: var(--color-gold);
}

.reviews__rating {
  font-family: var(--font-heading);
  font-size: var(--text-h3);
  margin-right: var(--space-3);
}

.reviews__count {
  font-size: var(--text-body);
  color: var(--color-muted);
}

.reviews__carousel-wrapper {
  overflow: hidden;
  margin-bottom: var(--space-7);
}

.reviews__carousel {
  display: flex;
  gap: var(--space-5);
  will-change: transform;
}

/* Touch devices: native scroll-snap */
@media (hover: none) and (pointer: coarse) {
  .reviews__carousel {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    will-change: auto;
    transform: none !important;
  }
  .reviews__carousel::-webkit-scrollbar {
    display: none;
  }
  .review-card {
    scroll-snap-align: center;
  }
  .reviews__controls {
    display: none;
  }
}

.review-card {
  scroll-snap-align: center;
  flex-shrink: 0;
  width: 360px;
  padding: var(--space-6);
  border: 1px solid var(--color-border);
}

.review-card__stars {
  display: flex;
  gap: 2px;
  margin-bottom: var(--space-4);
}

.review-card__stars svg {
  width: 16px;
  height: 16px;
  fill: var(--color-gold);
}

.review-card__text {
  font-size: var(--text-body);
  line-height: 1.7;
  margin-bottom: var(--space-5);
  color: #333;
  font-style: italic;
}

.review-card__author {
  font-family: var(--font-body);
  font-size: var(--text-label);
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.review-card__source {
  font-size: var(--text-label);
  color: var(--color-muted);
  margin-top: var(--space-1);
}

/* Carousel Controls */
.reviews__controls {
  display: flex;
  justify-content: center;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}

.reviews__control-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--color-border);
  background: none;
  color: var(--color-black);
  cursor: pointer;
  transition: background-color var(--duration-fast) var(--ease-out),
              border-color var(--duration-fast) var(--ease-out);
}

.reviews__control-btn:hover {
  background-color: var(--color-black);
  color: var(--color-white);
  border-color: var(--color-black);
}

.reviews__control-btn svg {
  width: 20px;
  height: 20px;
}

.reviews__cta {
  text-align: center;
}


/* ============================================================
   KARRIERE SECTION
   ============================================================ */
.karriere--hidden {
  display: none;
}

.karriere--visible {
  display: block;
}

.karriere__compact {
  max-width: 640px;
  margin: 0 auto;
}

.karriere__list {
  margin-bottom: var(--space-6);
  padding-left: var(--space-5);
}

.karriere__list li {
  list-style: disc;
  font-size: var(--text-body-lg);
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  margin-bottom: var(--space-2);
}

/* Application form */
.karriere__form {
  background-color: rgba(255, 255, 255, 0.04);
  padding: var(--space-7);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.karriere__form-title {
  font-family: var(--font-heading);
  font-size: var(--text-h4);
  margin-bottom: var(--space-5);
}

.form-group {
  margin-bottom: var(--space-5);
}

.form-group label {
  display: block;
  font-size: var(--text-label);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: var(--space-2);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  background-color: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--color-white);
  font-size: var(--text-body);
  transition: border-color var(--duration-fast) var(--ease-out);
  border-radius: 0;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--color-white);
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-success {
  display: none;
  padding: var(--space-5);
  background-color: rgba(161, 98, 7, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-align: center;
  font-size: var(--text-body);
  color: var(--color-white);
}

.form-success.visible {
  display: block;
}

.form-error {
  font-size: var(--text-label);
  color: #ef4444;
  margin-top: var(--space-1);
  display: none;
}

.form-error.visible {
  display: block;
}


/* ============================================================
   LOCATION SECTION
   ============================================================ */
.location__grid {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: var(--space-8);
}

.location__map {
  width: 100%;
  aspect-ratio: 4 / 3;
}

.location__map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.location__info {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.location__block h4 {
  font-family: var(--font-body);
  font-size: var(--text-label);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: var(--space-3);
  color: var(--color-muted);
}

.location__address p {
  font-size: var(--text-body-lg);
  line-height: 1.7;
}

.location__phone a {
  font-family: var(--font-heading);
  font-size: var(--text-h3);
  white-space: nowrap;
  transition: color var(--duration-fast) var(--ease-out);
  cursor: pointer;
}

.location__phone a:hover {
  color: var(--color-hover-light);
}

.location__hours table {
  width: 100%;
  border-collapse: collapse;
}

.location__hours tr {
  height: 44px;
}

.location__hours td {
  padding: var(--space-2) 0;
  font-size: var(--text-body);
  border-bottom: 1px solid var(--color-border);
  white-space: nowrap;
  vertical-align: middle;
}

.location__hours td:first-child {
  font-weight: 500;
  padding-right: var(--space-6);
}

.location__hours td:last-child {
  text-align: right;
  color: var(--color-muted);
}

.location__transit-wrapper {
  margin-top: var(--space-6);
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: var(--space-8);
}

.transit__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
}

.transit__icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--color-muted);
}

.transit__item span {
  font-size: var(--text-body);
  line-height: 1.6;
}


/* ============================================================
   CONTACT + FOOTER
   ============================================================ */
.contact {
  padding: var(--space-9) 0 var(--space-7);
  text-align: center;
}

.contact__phone {
  font-family: var(--font-heading);
  font-size: var(--text-h2);
  margin-bottom: var(--space-3);
}

.contact__phone a {
  transition: color var(--duration-fast) var(--ease-out);
  cursor: pointer;
}

.contact__phone a:hover {
  color: var(--color-hover-light);
}

.contact__email {
  font-size: var(--text-body-lg);
  color: var(--color-muted);
  margin-bottom: var(--space-7);
}

.contact__email a {
  transition: color var(--duration-fast) var(--ease-out);
  cursor: pointer;
}

.contact__email a:hover {
  color: var(--color-hover-light);
}

.contact__social {
  display: flex;
  justify-content: center;
  gap: var(--space-5);
  margin-bottom: 0;
}

.contact__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: border-color var(--duration-fast) var(--ease-out),
              background-color var(--duration-fast) var(--ease-out);
  cursor: pointer;
}

.contact__social-link:hover {
  border-color: var(--color-white);
  background-color: rgba(255, 255, 255, 0.05);
}

.contact__social-link svg {
  width: 20px;
  height: 20px;
}

.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: var(--space-3) 0;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
}

.footer__logo img {
  height: 28px;
  width: auto;
  opacity: 0.6;
}

.footer__links {
  display: flex;
  gap: var(--space-5);
}

.footer__link {
  font-size: var(--text-label);
  color: var(--color-muted);
  letter-spacing: 0.03em;
  transition: color var(--duration-fast) var(--ease-out);
  cursor: pointer;
}

.footer__link:hover {
  color: var(--color-white);
}

.footer__copy {
  font-size: var(--text-label);
  color: var(--color-muted);
}


/* ============================================================
   COOKIE CONSENT
   ============================================================ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background-color: var(--color-black);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: var(--space-5) var(--container-pad);
  transform: translateY(100%);
  transition: transform var(--duration-mid) var(--ease-out);
}

.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-banner__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
}

.cookie-banner__text {
  font-size: var(--text-label);
  color: var(--color-muted);
  line-height: 1.5;
  flex: 1;
}

.cookie-banner__text a {
  color: var(--color-white);
  text-decoration: underline;
  cursor: pointer;
}

.cookie-banner__actions {
  display: flex;
  gap: var(--space-3);
  flex-shrink: 0;
}

.cookie-banner__accept {
  padding: var(--space-2) var(--space-5);
  background-color: var(--color-white);
  color: var(--color-black);
  font-size: var(--text-label);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  min-height: 44px;
  cursor: pointer;
  border: none;
  border-radius: 0;
}

.cookie-banner__reject {
  padding: var(--space-2) var(--space-5);
  background-color: transparent;
  color: var(--color-muted);
  font-size: var(--text-label);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  min-height: 44px;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0;
  transition: color var(--duration-fast) var(--ease-out),
              border-color var(--duration-fast) var(--ease-out);
}

.cookie-banner__reject:hover {
  color: var(--color-white);
  border-color: var(--color-white);
}

/* Map placeholder (when cookies rejected) */
.map-placeholder {
  width: 100%;
  height: 100%;
  min-height: 300px;
  background-color: #e8e8e8;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  cursor: pointer;
  transition: background-color var(--duration-fast) var(--ease-out);
}

.map-placeholder:hover {
  background-color: #ddd;
}

.map-placeholder__icon {
  width: 48px;
  height: 48px;
  color: var(--color-muted);
}

.map-placeholder__icon svg {
  width: 100%;
  height: 100%;
}

.map-placeholder__text {
  font-size: var(--text-body);
  color: var(--color-muted);
  font-weight: 500;
}


/* ============================================================
   SCROLL REVEAL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--duration-reveal) var(--ease-out),
              transform var(--duration-reveal) var(--ease-out);
}

.reveal--left {
  transform: translateX(-30px);
}

.reveal--right {
  transform: translateX(30px);
}

.reveal.visible {
  opacity: 1;
  transform: translate(0, 0);
}

/* Stagger children */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--duration-reveal) var(--ease-out),
              transform var(--duration-reveal) var(--ease-out);
}

.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0ms; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 50ms; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 100ms; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 150ms; }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: 200ms; }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: 250ms; }

.reveal-stagger.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal--left,
  .reveal--right,
  .reveal-stagger > * {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero__scroll-hint {
    animation: none;
  }

  .hero__image img {
    animation: none;
  }

  .reviews__carousel {
    animation: none;
  }
}


/* ============================================================
   RESPONSIVE — Tablet (1024px)
   ============================================================ */
@media (max-width: 1024px) {
  :root {
    --text-h1: 2.75rem;
    --text-h2: 2rem;
    --text-h3: 1.75rem;
  }

  .section {
    padding-top: var(--space-8);
    padding-bottom: var(--space-8);
  }

  .gallery__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery__item--wide {
    grid-column: span 1;
  }

  .gallery__item--wide img {
    aspect-ratio: 1 / 1;
  }
}

@media (max-width: 768px) {
  :root {
    --text-h1: 2.25rem;
    --text-h2: 1.75rem;
    --text-h3: 1.5rem;
    --text-h4: 1.25rem;
    --container-pad: 20px;
  }

  .section {
    padding-top: var(--space-8);
    padding-bottom: var(--space-8);
  }

  /* Nav mobile */
  .nav__hamburger {
    display: flex;
  }

  .nav__links {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--color-black);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--space-6);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--duration-mid) var(--ease-out),
                visibility var(--duration-mid) var(--ease-out);
  }

  .nav__links.open {
    opacity: 1;
    visibility: visible;
  }

  .nav__link {
    font-size: var(--text-h4);
    letter-spacing: 0.02em;
    text-transform: none;
    color: var(--color-white);
  }

  .nav__link::after {
    background-color: var(--color-white);
  }

  .nav__cta {
    font-size: var(--text-body);
    text-transform: none;
    letter-spacing: 0.02em;
    padding: var(--space-3) var(--space-6);
  }

  .nav__phone {
    display: none;
  }

  /* Hero mobile */
  .hero {
    min-height: 100svh;
  }

  .hero {
    height: 75vh;
    min-height: 480px;
  }

  .hero__image img {
    object-position: 65% center;
  }

  .hero__logo {
    width: 80px;
  }

  .hero__title {
    font-size: var(--text-h2);
  }

  .hero__tagline {
    font-size: 0.8rem;
    letter-spacing: 0.08em;
  }

  .hero__scroll-hint {
    display: none;
  }

  /* About */
  .about__grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: var(--space-5);
  }

  .about__header {
    grid-column: 1;
    grid-row: auto;
    order: 1;
  }

  .about__image {
    grid-column: 1;
    grid-row: auto;
    order: 2;
  }

  .about__body {
    grid-column: 1;
    grid-row: auto;
    order: 3;
  }

  /* Team */
  .team__grid {
    grid-template-columns: 1fr;
    gap: var(--space-7);
  }

  /* Products */
  .products__grid {
    grid-template-columns: 1fr;
    gap: var(--space-7);
  }

  /* Gallery */
  .gallery__intro {
    grid-template-columns: 1fr;
  }

  .gallery__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery__item--wide {
    grid-column: span 1;
  }

  .gallery__item--wide img {
    aspect-ratio: 1 / 1;
  }

  .gallery__item--tall {
    grid-row: span 1;
  }

  .gallery__item--tall img {
    aspect-ratio: 1 / 1;
    height: auto;
  }

  /* Reviews */
  .review-card {
    width: 300px;
    padding: var(--space-5);
  }

  /* Karriere — already compact, no changes needed */

  /* Location */
  .location__grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  .location__transit-wrapper {
    grid-template-columns: 1fr;
  }

  /* Footer */
  .footer__inner {
    flex-direction: column;
    gap: var(--space-4);
    text-align: center;
  }

  /* Cookie */
  .cookie-banner__inner {
    flex-direction: column;
    text-align: center;
  }
}


/* ============================================================
   LEGAL PAGES
   ============================================================ */
.legal-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height-shrunk);
  background-color: var(--color-black);
  display: flex;
  align-items: center;
}

.legal-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.legal-nav__logo img {
  height: 32px;
  width: auto;
}

.legal-nav__back {
  font-size: var(--text-label);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-muted);
  transition: color var(--duration-fast) var(--ease-out);
  cursor: pointer;
}

.legal-nav__back:hover {
  color: var(--color-white);
}

.legal-content {
  max-width: 740px;
  margin: 0 auto;
  padding: calc(var(--nav-height-shrunk) + var(--space-9)) var(--container-pad) var(--space-9);
}

.legal-content h1 {
  font-size: var(--text-h2);
  margin-bottom: var(--space-7);
}

.legal-content h2 {
  font-size: var(--text-h4);
  margin-top: var(--space-7);
  margin-bottom: var(--space-4);
}

.legal-content h3 {
  font-size: var(--text-body-lg);
  font-weight: 600;
  margin-top: var(--space-5);
  margin-bottom: var(--space-3);
}

.legal-content p {
  font-size: var(--text-body);
  line-height: 1.7;
  margin-bottom: var(--space-4);
  color: #444;
}

.legal-content ul {
  margin-bottom: var(--space-4);
  padding-left: var(--space-5);
}

.legal-content li {
  font-size: var(--text-body);
  line-height: 1.7;
  margin-bottom: var(--space-2);
  color: #444;
  list-style: disc;
}

.legal-content a {
  color: var(--color-black);
  text-decoration: underline;
  transition: color var(--duration-fast) var(--ease-out);
  cursor: pointer;
}

.legal-content a:hover {
  color: var(--color-muted);
}

.legal-content strong {
  font-weight: 600;
  color: var(--color-black);
}

.legal-footer {
  border-top: 1px solid var(--color-border);
  padding: var(--space-6) 0;
  text-align: center;
}

.legal-footer p {
  font-size: var(--text-label);
  color: var(--color-muted);
}
