/*
Theme Name: Haarwerk Editor Theme
Theme URI: https://haarwerk.swiss/
Author: ChatGPT
Description: Haarwerk WordPress Theme mit bearbeitbaren Feldern im Customizer.
Version: 1.5
License: GPL-2.0-or-later
Text Domain: haarwerk-editor-theme
*/

:root{
  --espresso:#2f1e18;
  --brown:#946554;
  --brown-dark:#6f4437;
  --caramel:#c29172;
  --sand:#ead8cc;
  --cream:#f7f1ec;
  --paper:#fffaf6;
  --white:#ffffff;
  --muted:#806b60;
  --border:rgba(47,30,24,.12);
  --shadow:0 24px 70px rgba(47,30,24,.12);
  --radius:28px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color:var(--espresso);
  background:var(--cream);
  line-height:1.6;
}

img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}

.site-header{
  position:sticky;
  top:0;
  z-index:50;
  backdrop-filter: blur(18px);
  background:rgba(247,241,236,.84);
  border-bottom:1px solid var(--border);
}

.nav{
  width:min(1160px, calc(100% - 40px));
  margin:0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 0;
  gap:24px;
}

.brand{
  display:flex;
  align-items:center;
  gap:13px;
  font-weight:700;
  letter-spacing:.04em;
}

.brand img{
  width:58px;
  height:58px;
  border-radius:50%;
  object-fit:cover;
  box-shadow:0 10px 30px rgba(47,30,24,.15);
}

.brand span{
  display:flex;
  flex-direction:column;
  line-height:1.05;
  text-transform:uppercase;
  font-size:13px;
}

.brand small{
  font-weight:500;
  letter-spacing:.16em;
  color:var(--muted);
  font-size:10px;
  margin-top:5px;
}

.menu{
  display:flex;
  align-items:center;
  gap:28px;
  font-size:15px;
  color:#50362d;
}

.menu a{position:relative}

.menu a:not(.btn)::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-8px;
  width:0;
  height:2px;
  background:var(--brown);
  transition:.25s ease;
}

.menu a:hover::after{width:100%}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  border-radius:999px;
  padding:13px 22px;
  font-weight:700;
  font-size:14px;
  border:1px solid transparent;
  transition:.25s ease;
  cursor:pointer;
}

.btn-primary{
  background:var(--espresso);
  color:white;
  box-shadow:0 14px 38px rgba(47,30,24,.2);
}

.btn-primary:hover{
  transform:translateY(-2px);
  background:var(--brown-dark);
}

.btn-secondary{
  background:rgba(255,255,255,.66);
  color:var(--espresso);
  border-color:var(--border);
}

.btn-secondary:hover{
  transform:translateY(-2px);
  background:var(--white);
}

main{overflow:hidden}

.section{
  width:min(1160px, calc(100% - 40px));
  margin:0 auto;
  padding:88px 0;
}

.hero{
  width:min(1240px, calc(100% - 32px));
  margin:24px auto 0;
  min-height:720px;
  border-radius:36px;
  position:relative;
  overflow:hidden;
  background:
    radial-gradient(circle at 78% 20%, rgba(255,255,255,.36), transparent 28%),
    linear-gradient(120deg, rgba(47,30,24,.84), rgba(148,101,84,.64)),
    var(--hero-image, url('https://images.unsplash.com/photo-1562322140-8baeececf3df?auto=format&fit=crop&w=1800&q=80')) center/cover;
  box-shadow:var(--shadow);
  display:grid;
  grid-template-columns:1.05fr .95fr;
  align-items:center;
}

.hero::after{
  content:"";
  position:absolute;
  inset:22px;
  border:1px solid rgba(255,255,255,.28);
  border-radius:26px;
  pointer-events:none;
}

.hero-content{
  position:relative;
  z-index:2;
  color:white;
  padding:72px;
  max-width:720px;
}

.kicker{
  display:inline-flex;
  align-items:center;
  gap:10px;
  text-transform:uppercase;
  letter-spacing:.18em;
  font-size:12px;
  font-weight:800;
  color:rgba(255,255,255,.82);
}

.kicker::before{
  content:"";
  width:38px;
  height:1px;
  background:currentColor;
}

h1,h2,h3{
  font-family: "Cormorant Garamond", Georgia, serif;
  line-height:1.02;
  margin:0;
  font-weight:600;
}

h1{
  font-size:clamp(54px,7vw,94px);
  letter-spacing:-.055em;
  max-width:760px;
  margin-top:22px;
}

.hero p{
  font-size:20px;
  max-width:560px;
  color:rgba(255,255,255,.86);
  margin:26px 0 34px;
}

.hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
}

.hero-card{
  position:relative;
  z-index:2;
  justify-self:end;
  margin-right:72px;
  width:min(360px, 86%);
  background:rgba(255,250,246,.88);
  backdrop-filter:blur(16px);
  border:1px solid rgba(255,255,255,.52);
  border-radius:32px;
  padding:34px;
  box-shadow:0 30px 80px rgba(47,30,24,.18);
}

.hero-card img{
  width:128px;
  height:128px;
  border-radius:50%;
  object-fit:cover;
  margin:-82px auto 22px;
  box-shadow:0 18px 44px rgba(47,30,24,.22);
}

.hero-card h3{
  font-size:32px;
  color:var(--espresso);
  text-align:center;
}

.hero-card p{
  color:var(--muted);
  font-size:15px;
  text-align:center;
  margin:14px 0 0;
}

.page-hero{
  width:min(1160px, calc(100% - 40px));
  margin:34px auto 0;
  border-radius:36px;
  background:
    radial-gradient(circle at 88% 10%, rgba(255,255,255,.72), transparent 30%),
    linear-gradient(135deg, var(--sand), var(--brown));
  padding:92px 70px;
  box-shadow:var(--shadow);
}

.page-hero .kicker{color:rgba(47,30,24,.65)}
.page-hero h1{color:var(--espresso);max-width:850px}
.page-hero p{max-width:680px;font-size:20px;color:#5d4338;margin:24px 0 0}

.split{
  display:grid;
  grid-template-columns: .86fr 1.14fr;
  gap:56px;
  align-items:center;
}

.image-panel{
  min-height:540px;
  border-radius:var(--radius);
  background:
    linear-gradient(rgba(47,30,24,.05), rgba(47,30,24,.05)),
    var(--panel-image, url('https://images.unsplash.com/photo-1522337660859-02fbefca4702?auto=format&fit=crop&w=1200&q=80')) center/cover;
  box-shadow:var(--shadow);
  position:relative;
  overflow:hidden;
}

.image-panel::after{
  content:"";
  position:absolute;
  inset:18px;
  border:1px solid rgba(255,255,255,.45);
  border-radius:22px;
}

.content h2{
  font-size:clamp(42px,5vw,68px);
  letter-spacing:-.035em;
  color:var(--espresso);
}

.content p{
  font-size:18px;
  color:#60483e;
}

.lead{
  font-size:21px!important;
  color:#4d352d!important;
}

.cards{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:22px;
  margin-top:38px;
}

.card{
  background:var(--paper);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:34px;
  box-shadow:0 18px 44px rgba(47,30,24,.07);
  transition:.25s ease;
}

.card:hover{
  transform:translateY(-4px);
  box-shadow:0 28px 70px rgba(47,30,24,.12);
}

.card .number{
  width:44px;
  height:44px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:var(--sand);
  color:var(--brown-dark);
  font-weight:800;
  margin-bottom:24px;
}

.card h3{
  font-size:30px;
  margin-bottom:12px;
}

.card p{color:var(--muted);margin:0}

.band{
  background:var(--espresso);
  color:white;
  margin:36px 0;
}

.band .section{
  display:grid;
  grid-template-columns:1fr auto;
  gap:32px;
  align-items:center;
  padding:64px 0;
}

.band h2{
  font-size:clamp(38px,4vw,58px);
  letter-spacing:-.035em;
}

.band p{
  color:rgba(255,255,255,.72);
  margin:16px 0 0;
  max-width:650px;
}

.service-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:22px;
  margin-top:42px;
}

.service{
  background:var(--paper);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:34px;
  display:grid;
  gap:18px;
  overflow:hidden;
}

.service-image{
  margin:-34px -34px 8px;
  aspect-ratio:4/3;
  overflow:hidden;
  background:var(--sand);
}

.service-image img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.service-top{
  display:flex;
  justify-content:space-between;
  gap:12px;
  align-items:flex-start;
  flex-wrap:wrap;
}

.service h3{
  font-size:34px;
  min-width:0;
  flex:1 1 120px;
}
.service p{margin:0;color:var(--muted)}
.badge{
  white-space:normal;
  overflow-wrap:break-word;
  max-width:100%;
  background:var(--sand);
  color:var(--brown-dark);
  border-radius:999px;
  padding:8px 14px;
  font-size:13px;
  line-height:1.15;
  font-weight:800;
  text-align:center;
  flex:0 1 auto;
}


.service-gallery-section{
  padding-top:20px;
}

.service-gallery{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:18px;
  margin-top:34px;
}

.gallery-item{
  margin:0;
  border-radius:28px;
  overflow:hidden;
  border:1px solid var(--border);
  background:var(--paper);
  aspect-ratio:4/3;
}

.gallery-item img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.info-row{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:18px;
  margin-top:38px;
}

.info-box{
  background:rgba(255,255,255,.62);
  border:1px solid var(--border);
  border-radius:22px;
  padding:24px;
}

.info-box strong{
  display:block;
  margin-bottom:8px;
}

.info-box span{color:var(--muted)}

.footer{
  width:min(1160px, calc(100% - 40px));
  margin:0 auto;
  padding:56px 0 36px;
  display:flex;
  justify-content:space-between;
  gap:30px;
  border-top:1px solid var(--border);
  color:var(--muted);
  font-size:14px;
}

.footer strong{color:var(--espresso)}


.absence-notice{
  width:min(1160px, calc(100% - 40px));
  margin:28px auto 0;
}

.absence-inner{
  display:grid;
  grid-template-columns:1fr auto;
  gap:24px;
  align-items:center;
  background:linear-gradient(135deg, var(--sand), var(--paper));
  border:1px solid var(--border);
  border-radius:28px;
  padding:28px 30px;
  box-shadow:0 18px 50px rgba(47,30,24,.08);
}

.absence-inner strong{
  display:block;
  font-family:"Cormorant Garamond", Georgia, serif;
  font-size:32px;
  line-height:1.05;
  color:var(--espresso);
}

.absence-inner p{
  margin:8px 0 0;
  color:var(--muted);
  font-size:16px;
  max-width:760px;
}


.mobile-cta{display:none}

.editor-content{
  width:min(900px, calc(100% - 40px));
  margin:0 auto;
  padding:70px 0;
}

@media(max-width:900px){
  .menu a:not(.btn){display:none}
  .hero{grid-template-columns:1fr;min-height:auto}
  .hero-content{padding:58px 30px 120px}
  .hero-card{margin:-70px auto 38px;justify-self:center}
  .split,.cards,.service-grid,.info-row,.band .section{grid-template-columns:1fr}
  .page-hero{padding:60px 30px}
  .section{padding:64px 0}
  .footer{flex-direction:column}
  .absence-inner{grid-template-columns:1fr;padding:24px}
  .mobile-cta{
    display:flex;
    gap:10px;
    position:fixed;
    left:16px;
    right:16px;
    bottom:16px;
    z-index:80;
  }
  .mobile-cta .btn{flex:1;justify-content:center}
}


/* Footer contact boxes */
.info-box a{
  color:inherit;
  text-decoration:none;
}

.info-box a:hover{
  color:var(--espresso);
}

.info-box .info-address,
.info-box .info-hours,
.info-box .info-phone,
.info-box .info-notice{
  display:block;
  line-height:1.65;
}

.info-box .info-address + .info-hours,
.info-box .info-phone + .info-notice{
  margin-top:14px;
  padding-top:14px;
  border-top:1px solid var(--border);
}

.info-box .info-hours em,
.info-box .info-notice em{
  display:block;
  margin-bottom:5px;
  font-style:normal;
  font-weight:700;
  color:var(--espresso);
}

.info-box-salon{
  min-width:280px;
}


.info-box .info-notice{
  font-size:15px;
}
