/*
Theme Name: Aurelia TCM & Akupunktur
Theme URI: https://example.com/aurelia-wellness
Author: MyVision
Description: Elegantes, vollständig anpassbares One-Page-Theme für Akupunktur und Traditionelle Chinesische Medizin.
Version: 1.4.1
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: aurelia-wellness
*/

@font-face {
  font-family: "DIN 2014";
  src: url("assets/fonts/din-2014-regular.otf") format("opentype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "DIN 2014";
  src: url("assets/fonts/din-2014-bold.otf") format("opentype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  --aw-ink: #26312b;
  --aw-muted: #6f756f;
  --aw-cream: #f5f0e8;
  --aw-sand: #dfd2c0;
  --aw-sage: #748271;
  --aw-paper: #fffdf9;
  --aw-line: rgba(38, 49, 43, .16);
  --aw-serif: "DIN 2014", Arial, sans-serif;
  --aw-sans: "DIN 2014", Arial, sans-serif;
  --aw-wrap: min(1240px, calc(100% - 48px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--aw-ink); background: var(--aw-paper); font-family: var(--aw-sans); line-height: 1.7; }
body.admin-bar .site-header { top: 32px; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; }
.aw-wrap { width: var(--aw-wrap); margin-inline: auto; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.screen-reader-text:focus { clip: auto; width: auto; height: auto; padding: 12px; margin: 8px; background: #fff; z-index: 99999; }

.aw-topbar { padding: 9px 24px; background: var(--aw-ink); color: #fff; text-align: center; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,253,249,.94); backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: .25s ease; }
.site-header.is-scrolled { border-color: var(--aw-line); box-shadow: 0 8px 30px rgba(38,49,43,.06); }
.aw-nav { min-height: 104px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 30px; }
.custom-logo { max-height: 50px; width: auto; }
.aw-default-logo img { max-height: 92px; width: auto; }
.aw-default-logo { display: flex; align-items: center; }
.site-branding { display: flex; justify-content: center; }
.site-title { font-family: var(--aw-serif); font-size: 32px; letter-spacing: .08em; text-transform: uppercase; }
.menu, .aw-menu { display: flex; gap: 28px; align-items: center; list-style: none; margin: 0; padding: 0; }
.menu a, .aw-menu a { position: relative; font-size: 12px; letter-spacing: .11em; text-transform: uppercase; }
.menu a::after, .aw-menu a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -7px; height: 1px; background: currentColor; transition: right .25s ease; }
.menu a:hover::after, .aw-menu a:hover::after { right: 0; }
.aw-header-actions { justify-self: end; display: flex; align-items: center; gap: 22px; }
.aw-phone { font-size: 12px; letter-spacing: .08em; }
.aw-menu-toggle { display: none; appearance: none; border: 0; background: transparent; padding: 8px; cursor: pointer; }
.aw-menu-toggle span { display: block; width: 25px; height: 1px; margin: 6px; background: var(--aw-ink); }

.aw-button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 28px; border: 1px solid var(--aw-ink); background: var(--aw-ink); color: #fff; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; transition: background .3s ease, color .3s ease, transform .3s ease, box-shadow .3s ease; }
.aw-button:hover { background: transparent; color: var(--aw-ink); transform: translateY(-3px); box-shadow: 0 12px 28px rgba(38,49,43,.12); }
.aw-button--light { border-color: #fff; background: #fff; color: var(--aw-ink); }
.aw-button--light:hover { color: #fff; }
.aw-link { display: inline-flex; align-items: center; gap: 13px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; }
.aw-link::after { content: "→"; transition: transform .2s ease; }
.aw-link:hover::after { transform: translateX(5px); }

.aw-hero { min-height: calc(100vh - 120px); display: flex; align-items: center; background-size: cover; background-position: center calc(50% + var(--aw-parallax-y, 0px)); position: relative; isolation: isolate; }
.aw-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(247,241,232,.96) 0%, rgba(247,241,232,.75) 40%, rgba(247,241,232,.05) 68%); }
.aw-hero__content { width: min(610px, 52%); padding-block: 120px; }
.aw-eyebrow { display: block; margin-bottom: 21px; font-size: 11px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--aw-sage); }
.aw-hero h1, .aw-title { margin: 0; font-family: var(--aw-serif); font-weight: 400; line-height: .97; letter-spacing: -.025em; }
.aw-hero h1 { font-size: clamp(58px, 7.3vw, 112px); }
.aw-hero p { max-width: 520px; margin: 28px 0 37px; color: #505953; font-size: 17px; }
.aw-scroll-cue { position: absolute; left: 50%; bottom: 24px; width: 1px; height: 58px; background: rgba(38,49,43,.28); overflow: hidden; }
.aw-scroll-cue::after { content: ""; position: absolute; inset: -100% 0 100%; background: var(--aw-ink); animation: aw-scroll 2.1s infinite; }
@keyframes aw-scroll { 100% { transform: translateY(200%); } }

.aw-section { padding: 130px 0; }
.aw-section--cream { background: var(--aw-cream); }
.aw-heading { max-width: 700px; margin: 0 auto 64px; text-align: center; }
.aw-title { font-size: clamp(45px, 5vw, 72px); }
.aw-heading p { margin: 20px auto 0; max-width: 580px; color: var(--aw-muted); }
.aw-services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.aw-service { position: relative; min-height: 590px; overflow: hidden; background: #d9d1c4; color: #fff; }
.aw-service img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.6,.2,1); }
.aw-service::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(20,28,23,.82)); }
.aw-service__content { position: absolute; z-index: 2; left: 36px; right: 36px; bottom: 34px; }
.aw-service h3 { margin: 0 0 8px; font-family: var(--aw-serif); font-size: 38px; font-weight: 400; }
.aw-service p { margin: 0 0 17px; color: rgba(255,255,255,.82); font-size: 14px; }
.aw-service:hover img { transform: scale(1.045); }

.aw-story { display: grid; grid-template-columns: 1.05fr .95fr; min-height: 780px; }
.aw-story__image { position: relative; min-height: 620px; overflow: hidden; background-color: var(--aw-sand); }
.aw-story__image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.aw-story__copy { display: flex; align-items: center; background: var(--aw-ink); color: #fff; }
.aw-story__inner { width: min(550px, calc(100% - 80px)); margin: auto; }
.aw-story .aw-eyebrow { color: #c7b99f; }
.aw-story p { margin: 28px 0 35px; color: rgba(255,255,255,.68); }

.aw-methods { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--aw-line); border-left: 1px solid var(--aw-line); }
.aw-method { min-height: 260px; padding: 36px; border-right: 1px solid var(--aw-line); border-bottom: 1px solid var(--aw-line); transition: background .25s ease, color .25s ease; }
.aw-method__number { display: block; margin-bottom: 70px; font-family: var(--aw-serif); font-size: 22px; color: var(--aw-sage); }
.aw-method h3 { margin: 0 0 10px; font-family: var(--aw-serif); font-size: 30px; font-weight: 400; }
.aw-method p { margin: 0; font-size: 13px; color: var(--aw-muted); }
.aw-method:hover { background: var(--aw-sage); color: #fff; }
.aw-method:hover p, .aw-method:hover .aw-method__number { color: rgba(255,255,255,.75); }

.aw-gallery-section { position: relative; overflow: hidden; padding-top: 40px; background: linear-gradient(180deg, var(--aw-paper), #f8f5ef); }
.aw-gallery-section::before { content: ""; position: absolute; width: 520px; height: 520px; right: -260px; top: 80px; border: 1px solid var(--aw-line); border-radius: 50%; pointer-events: none; }
.aw-treatment-gallery { display: grid; grid-template-columns: repeat(3, 1fr); align-items: stretch; gap: clamp(20px, 3vw, 44px); }
.aw-gallery-card { display: flex; flex-direction: column; margin: 0; }
.aw-gallery-card__image { height: 560px; overflow: hidden; background: var(--aw-sand); }
.aw-gallery-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s cubic-bezier(.2,.65,.2,1); }
.aw-gallery-card:hover img { transform: scale(1.045); }
.aw-gallery-card figcaption { display: grid; grid-template-columns: 38px 1fr; gap: 14px; padding-top: 22px; border-top: 1px solid var(--aw-line); }
.aw-gallery-card figcaption > span { padding-top: 5px; color: var(--aw-sage); font-family: var(--aw-serif); font-size: 18px; }
.aw-gallery-card h3 { margin: 0; font-family: var(--aw-serif); font-size: 30px; font-weight: 400; line-height: 1.1; }
.aw-gallery-card p { margin: 8px 0 0; color: var(--aw-muted); font-size: 13px; }

.aw-pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.aw-price { padding: 44px 38px; border: 1px solid var(--aw-line); background: var(--aw-paper); }
.aw-price--featured { background: var(--aw-sage); color: #fff; border-color: var(--aw-sage); transform: translateY(-18px); }
.aw-price__name { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; }
.aw-price__amount { margin: 18px 0 25px; font-family: var(--aw-serif); font-size: 63px; line-height: 1; }
.aw-price p { min-height: 58px; color: var(--aw-muted); }
.aw-price--featured p { color: rgba(255,255,255,.75); }

.aw-editor-content { background: #fff; }
.aw-editor-content .entry-content { max-width: 900px; margin: auto; }
.aw-editor-content:has(.entry-content:empty) { display: none; }

.aw-contact { display: grid; grid-template-columns: 1fr 1fr; }
.aw-contact__intro { position: relative; isolation: isolate; min-height: 620px; padding: 100px max(50px, 8vw); background: var(--aw-sand) center/cover no-repeat; display: flex; flex-direction: column; justify-content: center; }
.aw-contact__intro::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(245,240,232,.95), rgba(245,240,232,.72)); }
.aw-contact__media { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.aw-contact__details { min-height: 620px; padding: 100px max(50px, 8vw); background: var(--aw-cream); display: grid; align-content: center; gap: 32px; }
.aw-contact__row { padding-bottom: 24px; border-bottom: 1px solid var(--aw-line); }
.aw-contact__row span { display: block; margin-bottom: 7px; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--aw-muted); }
.aw-contact__row a, .aw-contact__row p { margin: 0; font-family: var(--aw-serif); font-size: 27px; line-height: 1.2; }

.aw-map-section { padding: 110px 0 0; background: var(--aw-paper); overflow: hidden; }
.aw-map-heading { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 60px; margin-bottom: 48px; }
.aw-map-heading .aw-eyebrow { margin-bottom: 14px; }
.aw-map-heading .aw-title { font-size: clamp(42px, 4.5vw, 68px); }
.aw-map-address { min-width: 270px; padding-bottom: 7px; }
.aw-map-address p { margin: 0 0 14px; color: var(--aw-muted); font-size: 16px; }
.aw-map-frame { position: relative; width: 100%; height: 260px; min-height: 260px; overflow: hidden; background: var(--aw-cream); transition: height .55s cubic-bezier(.2,.65,.2,1); }
.aw-map-frame.is-expanded { height: min(72vh, 700px); }
.aw-map-frame::before { content: ""; position: absolute; z-index: 2; inset: 0 0 auto; height: 1px; background: var(--aw-line); pointer-events: none; }
.aw-map-frame iframe { display: block; width: 100%; height: 100%; border: 0; filter: saturate(.72) contrast(.92); pointer-events: none; }
.aw-map-frame.is-expanded iframe { pointer-events: auto; }
.aw-map-toggle { position: absolute; inset: 0; z-index: 4; display: grid; place-items: center; width: 100%; padding: 0; border: 0; background: rgba(38,49,43,.12); cursor: zoom-in; transition: background .25s ease; }
.aw-map-toggle:hover { background: rgba(38,49,43,.2); }
.aw-map-toggle span { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 25px; background: var(--aw-ink); color: #fff; box-shadow: 0 12px 35px rgba(38,49,43,.18); font-size: 11px; letter-spacing: .15em; text-transform: uppercase; }
.aw-map-frame.is-expanded .aw-map-toggle { inset: 18px 18px auto auto; width: auto; background: transparent; cursor: zoom-out; }
.aw-map-frame.is-expanded .aw-map-toggle span { min-height: 42px; background: rgba(38,49,43,.9); }

.site-footer { padding: 34px 0; background: var(--aw-ink); color: rgba(255,255,255,.7); }
.aw-footer { display: flex; justify-content: space-between; gap: 30px; font-size: 12px; }

[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; will-change: opacity, transform; }
[data-reveal].is-visible { opacity: 1; transform: none; }

@media (max-width: 1020px) {
  .aw-nav { grid-template-columns: auto 1fr auto; }
  .site-branding { justify-content: flex-start; }
  .aw-menu-toggle { display: block; }
  .aw-primary-nav { position: fixed; inset: 104px 0 auto; padding: 35px 24px; background: var(--aw-paper); border-bottom: 1px solid var(--aw-line); transform: translateY(-140%); visibility: hidden; transition: .3s ease; }
  .aw-primary-nav.is-open { transform: none; visibility: visible; }
  .menu, .aw-menu { flex-direction: column; align-items: flex-start; }
  .aw-phone { display: none; }
  .aw-services, .aw-pricing { grid-template-columns: 1fr 1fr; }
  .aw-services .aw-service:last-child, .aw-pricing .aw-price:last-child { grid-column: 1 / -1; }
  .aw-methods { grid-template-columns: 1fr 1fr; }
  .aw-story { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  :root { --aw-wrap: min(100% - 30px, 1240px); }
  body.admin-bar .site-header { top: 46px; }
  .aw-topbar { font-size: 9px; }
  .aw-nav { min-height: 74px; }
  .aw-primary-nav { top: 74px; }
  .aw-default-logo img { max-height: 68px; }
  .aw-header-actions .aw-button { display: none; }
  .aw-hero { min-height: 760px; align-items: end; background-position: 64% center; }
  .aw-hero { background-image: var(--aw-hero-mobile) !important; }
  .aw-hero::before { background: linear-gradient(0deg, rgba(247,241,232,.98) 0%, rgba(247,241,232,.88) 48%, rgba(247,241,232,.05) 80%); }
  .aw-hero__content { width: 100%; padding: 350px 0 75px; }
  .aw-section { padding: 88px 0; }
  .aw-services, .aw-pricing { grid-template-columns: 1fr; }
  .aw-services .aw-service:last-child, .aw-pricing .aw-price:last-child { grid-column: auto; }
  .aw-service { min-height: 510px; }
  .aw-price--featured { transform: none; }
  .aw-methods { grid-template-columns: 1fr; }
  .aw-method { min-height: 220px; }
  .aw-method__number { margin-bottom: 40px; }
  .aw-treatment-gallery { grid-template-columns: 1fr; gap: 55px; }
  .aw-gallery-card { width: auto; margin: 0; grid-column: auto; }
  .aw-gallery-card__image { height: min(125vw, 580px); }
  .aw-story { min-height: auto; }
  .aw-story__image { min-height: 480px; }
  .aw-story__copy { padding-block: 80px; }
  .aw-story__inner { width: calc(100% - 36px); }
  .aw-contact { grid-template-columns: 1fr; }
  .aw-contact__intro, .aw-contact__details { min-height: auto; padding: 80px 24px; }
  .aw-map-section { padding-top: 80px; }
  .aw-map-heading { grid-template-columns: 1fr; gap: 28px; margin-bottom: 36px; }
  .aw-map-frame { min-height: 220px; height: 220px; }
  .aw-map-frame.is-expanded { height: 68vh; }
  .aw-footer { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
