/*
Theme Name: Coiffeur Troi 2
Description: One-Page-Theme für Coiffeur Troi, Zell im Wiesental
Version: 2.1
Text Domain: coiffeur-troi-2
*/

:root{--red:#e3242b;--ink:#1d1d1f;--grey:#f3f4f5;--silver:#c9cbce;--mute:#5d6166;
  --serif:"Iowan Old Style","Palatino Linotype",Georgia,serif;
  --sans:-apple-system,"Segoe UI",Helvetica,Arial,sans-serif}
*{box-sizing:border-box;margin:0}
html{scroll-behavior:smooth;scroll-padding-top:5.5rem}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
body{background:#fff;color:var(--ink);font:1.0625rem/1.6 var(--sans);-webkit-text-size-adjust:100%}
a{color:inherit}
:focus-visible{outline:3px solid var(--ink);outline-offset:3px}

.top{position:fixed;inset:0 0 auto;z-index:10;display:flex;align-items:center;justify-content:space-between;
  padding:calc(.5rem + env(safe-area-inset-top,0px)) 1rem .5rem;background:rgba(255,255,255,.95);backdrop-filter:blur(8px);border-bottom:1px solid #e6e7e8}
.logo img{display:block;width:56px;height:56px;border-radius:8px}
.top nav{display:flex;align-items:center;gap:1.1rem}
.top nav a{text-decoration:none;font-size:.95rem;font-weight:500}
.top .call{background:var(--red);color:#fff;padding:.55rem 1rem;border-radius:999px;font-weight:600}

.hero{background:var(--red);color:#fff;display:flex;flex-direction:column;gap:2rem;overflow:hidden;
  padding:calc(6.5rem + env(safe-area-inset-top,0px)) 1.25rem 0}
.hero-text{order:1;max-width:36rem}
.hero img{order:2;width:100%;height:min(58vh,26rem);object-fit:cover;object-position:50% 72%;border-radius:22px 22px 0 0}
h1{font:600 clamp(2.4rem,9vw,4.4rem)/1.04 var(--serif);letter-spacing:-.01em;margin-bottom:1rem;text-wrap:balance}
.hero-text p{max-width:30rem;font-size:1.15rem;margin-bottom:1.6rem}
@media (min-width:56rem){
  .hero{flex-direction:row;align-items:flex-end;gap:4rem;padding:8rem 4rem 0}
  .hero-text{flex:1;align-self:center;padding-bottom:4rem}
  .hero img{flex:1;max-width:34rem;height:34rem}
}

.actions{display:flex;flex-wrap:wrap;gap:.75rem}
.btn{display:inline-block;text-decoration:none;padding:.85rem 1.4rem;border-radius:999px;border:2px solid currentColor;font-weight:600}
.btn.primary{background:var(--red);border-color:var(--red);color:#fff}
.hero .btn{color:#fff;border-color:#fff}
.hero .btn.primary{background:#fff;color:var(--red)}
.btn:hover{filter:brightness(.94)}

.wrap{max-width:62rem;margin:0 auto;padding:5rem 1.25rem}
h2{font:600 clamp(1.9rem,5vw,2.8rem)/1.1 var(--serif);margin-bottom:2rem}
h3{font:600 1.5rem var(--serif);color:var(--red);margin-bottom:1rem}
.salon p{max-width:40rem;margin-bottom:1rem;font-size:1.125rem}
.walkin{margin-top:2rem;max-width:40rem;padding:1.4rem 1.6rem;border-radius:16px;background:var(--red);color:#fff}
.walkin h3{color:#fff;margin-bottom:.4rem}
.walkin p{margin:0;font-size:1rem}

#preise{background:var(--grey);box-shadow:0 0 0 100vmax var(--grey);clip-path:inset(0 -100vmax)}
.lists{display:grid;gap:3rem}
@media (min-width:56rem){.lists{grid-template-columns:1fr 1.2fr;gap:4rem}}
dl div{display:flex;justify-content:space-between;gap:1rem;padding:.7rem 0;border-bottom:1px solid var(--silver)}
dd{font-weight:700;white-space:nowrap}
table{width:100%;border-collapse:collapse}
th,td{padding:.7rem 0;border-bottom:1px solid var(--silver);text-align:right;font-weight:700}
thead th{color:var(--mute);font-weight:500;font-size:.9rem}
tbody th,thead th:first-child{text-align:left;font-weight:400}
td{padding-left:.75rem;white-space:nowrap}

.contact p{max-width:32rem;color:var(--mute);margin-bottom:1rem}
.phone{font:600 clamp(2.2rem,9vw,3.6rem)/1 var(--serif);margin:1.2rem 0 1.8rem!important}
.phone a{color:var(--red);text-decoration:none}

footer{padding:2rem 1.25rem calc(2rem + env(safe-area-inset-bottom,0px));text-align:center;color:var(--silver);font-size:.9rem;background:var(--ink)}
footer p+p{margin-top:.3rem}
@media (max-width:30rem){.top nav a:not(.call){display:none}}

.gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(15rem,1fr));gap:1rem}
.gallery figure{border-radius:16px;overflow:hidden;aspect-ratio:4/5;background:var(--grey);max-width:26rem}
.gallery img{display:block;width:100%;height:100%;object-fit:cover;object-position:50% 40%}

.status{display:inline-flex;align-items:center;gap:.55rem;padding:.35rem .95rem;border-radius:999px;background:#fff;color:var(--ink);font-weight:600;font-size:.95rem;margin-bottom:1.2rem}
.status[hidden]{display:none}
.status::before{content:"";width:.6rem;height:.6rem;border-radius:50%;background:#999}
.status.open::before{background:#1f9d45}.status.closed::before{background:var(--red)}
.hours .status{background:var(--grey)}
.book{display:grid;gap:3rem}
@media (min-width:56rem){.book{grid-template-columns:1fr 1fr;gap:4rem}}
.ht .today{font-weight:700;color:var(--red)}
.bf{display:grid;gap:1rem;align-content:start}
.bf label{display:grid;gap:.3rem;font-weight:600}
.bf input,.bf select{font:inherit;font-weight:400;padding:.8rem 1rem;border:1.5px solid var(--silver);border-radius:12px;background:#fff;color:var(--ink);width:100%}
.bf .btn{font:inherit;font-weight:600;cursor:pointer}
.msg{color:var(--red);min-height:1.4em;margin:0}
.hint{color:var(--mute);font-size:.95rem;margin:0}

.contact .addr{color:var(--ink);font-size:1.1rem;margin-bottom:1.4rem}

.admin-bar .top{top:46px}
@media (min-width:783px){.admin-bar .top{top:32px}}

.hero{position:relative;background:radial-gradient(circle at 82% 18%,#f0474d 0,rgba(240,71,77,0) 55%),var(--red)}
.hero>*{position:relative;z-index:1}
.hero::before,.hero::after{content:"";position:absolute;border-radius:50%;pointer-events:none;z-index:0}
.hero::before{width:min(120vw,60rem);aspect-ratio:1;right:-38%;top:8%;border:2px solid rgba(255,255,255,.22)}
.hero::after{width:min(70vw,34rem);aspect-ratio:1;left:-25%;bottom:-22%;background:linear-gradient(135deg,rgba(255,255,255,.18),rgba(255,255,255,0))}
.hero img{border-radius:220px 220px 0 0;box-shadow:0 0 0 10px rgba(255,255,255,.14)}
.status.open::before{animation:pulse 2s infinite}
@keyframes pulse{0%{box-shadow:0 0 0 0 rgba(31,157,69,.55)}70%{box-shadow:0 0 0 8px rgba(31,157,69,0)}100%{box-shadow:0 0 0 0 rgba(31,157,69,0)}}
@media (prefers-reduced-motion:reduce){.status.open::before{animation:none}}

.facts{list-style:none;padding:1.1rem 1rem;margin:0;display:grid;grid-template-columns:repeat(3,1fr);gap:.5rem;background:var(--ink);color:#fff;text-align:center}
.facts strong{display:block;font:600 1rem/1.2 var(--serif)}
.facts span{display:block;font-size:.78rem;color:var(--silver);margin-top:.15rem}
.cards{max-width:62rem;margin:0 auto;padding:2.5rem 1.25rem 0;display:grid;grid-template-columns:repeat(2,1fr);gap:.9rem}
@media (min-width:56rem){.cards{grid-template-columns:repeat(4,1fr);gap:1.2rem}}
.cards a{display:flex;flex-direction:column;gap:.15rem;text-decoration:none;padding:1.1rem 1.1rem 1.2rem;border:1.5px solid var(--silver);border-radius:18px;background:#fff;transition:border-color .2s,transform .2s}
.cards a:hover{border-color:var(--red);transform:translateY(-2px)}
.cards span{font-weight:600}
.cards b{font:600 1.9rem/1.1 var(--serif);color:var(--red)}
.cards small{color:var(--mute);font-size:.9rem}
