/*
 * Haarstudio Wiedemann e.K. â€“ style.css
 * VollstÃ¤ndige Fassung aus der bestehenden Website-CSS.
 * Bestehende Seitenstile und die Reihenfolge der Designanpassungen bleiben erhalten,
 * damit Header, Startseite, Team, BERRYWELL und Planity gleich aussehen.
 * Repariert: fehlerhafte Markdown-Escapes und transition: background.
 * ErgÃ¤nzt: mobil scrollbar dargestellte Cookie-Einstellungen.
 */

:root{

  --bg:#0a0a0f;

  --panel:rgba(255,255,255,0.06);

  --border:rgba(255,255,255,0.12);

  --text:#f5f5f7;

  --muted:rgba(255,255,255,0.72);

  --accent:#e2136e;

  --accent2:#ff2a87;

  --shadow:0 18px 50px rgba(0,0,0,0.45);

  /* wird per JS gesetzt, wenn Cookie-Banner sichtbar ist */

  --sticky-extra:0px;

  /* ===== Logo "grÃ¶ÃŸer ohne Header-HÃ¶he" =====

     Trick: Layout-HÃ¶he bleibt Ã¼ber height konstant,

     optische GrÃ¶ÃŸe kommt nur Ã¼ber transform. */

  --logo-h:110px;          /* Layout-HÃ¶he Desktop (Ã¤ndert Header nicht) */

  --logo-scale:1.35;       /* optische VergrÃ¶ÃŸerung Desktop */

  --logo-h-m:58px;         /* Layout-HÃ¶he Mobile */

  --logo-scale-m:1.45;     /* optische VergrÃ¶ÃŸerung Mobile */

}

/* =========================

   BASIS

========================= */

*{ box-sizing:border-box; }

body{

  margin:0;

  font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;

  background:

    radial-gradient(800px 400px at 50% 0%, rgba(226,19,110,0.16), transparent 60%),

    var(--bg);

  color:var(--text);

}

h1,h2,h3{

  font-family:'Playfair Display',serif;

  letter-spacing:-0.3px;

}

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

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

.container{

  max-width:1050px;

  margin:0 auto;

  padding:0 16px;

}

/* =========================

   HEADER (unverÃ¤ndert in der HÃ¶he)

========================= */

.header{

  position:sticky;

  top:0;

  z-index:50;

  background:rgba(10,10,15,0.75);

  backdrop-filter:blur(12px);

  -webkit-backdrop-filter:blur(12px);

  border-bottom:1px solid var(--border);

  /* wichtig, damit das skalierte Logo nicht abgeschnitten wird */

  overflow:visible;

}

.header-inner{

  display:flex;

  align-items:center;

  justify-content:space-between;

  gap:14px;

  /* bleibt wie in deiner Datei (Premium-Luft) */

  padding:18px 0;

  /* wichtig fÃ¼r skalierte Inhalte */

  overflow:visible;

}

/* =========================

   LOGO (grÃ¶ÃŸer sichtbar, Header bleibt gleich)

========================= */

.logo{

  flex:0 0 auto;

  position:relative;

  overflow:visible;

  display:flex;

  align-items:center;

}

.logo::before{

  content:"";

  position:absolute;

  width:240px;

  height:240px;

  background:radial-gradient(circle, rgba(226,19,110,0.18), transparent 60%);

  top:50%;

  left:50%;

  transform:translate(-50%,-50%);

  z-index:-1;

  pointer-events:none;

}

.logo a{ display:block; overflow:visible; }

.logo-img{

  /* Layout-HÃ¶he bleibt konstant -> Header Ã¤ndert sich NICHT */

  height:var(--logo-h);

  width:auto;

  flex-shrink:0;

  /* Optische GrÃ¶ÃŸe */

  transform:scale(var(--logo-scale));

  transform-origin:left center;

  filter:drop-shadow(0 12px 32px rgba(226,19,110,0.35));

  transition:transform .25s ease, filter .25s ease;

}

.logo a:hover .logo-img{

  transform:scale(calc(var(--logo-scale) + 0.04));

  filter:drop-shadow(0 16px 40px rgba(226,19,110,0.45));

}

/* =========================

   DESKTOP NAV

========================= */

.nav{

  display:flex;

  align-items:center;

  gap:18px;

}

.nav a{

  position:relative;

  padding:10px 6px;

  color:rgba(255,255,255,0.86);

  font-weight:600;

  transition:color .2s ease, background .2s ease, border-color .2s ease;

}

.nav a:hover{ color:#fff; }

.nav a::after{

  content:"";

  position:absolute;

  left:6px;

  right:6px;

  bottom:6px;

  height:2px;

  background:linear-gradient(90deg, transparent, var(--accent), transparent);

  transform:scaleX(0);

  transform-origin:center;

  transition:transform .22s ease;

  opacity:.9;

}

.nav a:hover::after{ transform:scaleX(1); }

.nav a.is-active{

  color:#fff;

}

.nav a.is-active::after{

  transform:scaleX(1);

}

/* Phone Button (Desktop) */

.phone{

  padding:10px 14px;

  border:1px solid rgba(255,255,255,0.14);

  border-radius:999px;

  background:rgba(255,255,255,0.04);

  color:rgba(255,255,255,0.92);

  white-space:nowrap;

  transition:transform .2s ease, background .2s ease, border-color .2s ease;

}

.phone:hover{

  transform:translateY(-1px);

  border-color:rgba(226,19,110,0.55);

  background:rgba(226,19,110,0.10);

}

/* =========================

   HAMBURGER

========================= */

.hamburger{

  display:none;

  width:44px;

  height:44px;

  border-radius:12px;

  border:1px solid rgba(255,255,255,0.14);

  background:rgba(255,255,255,0.04);

  cursor:pointer;

  align-items:center;

  justify-content:center;

  /* Striche untereinander */

  flex-direction:column;

  gap:6px;

  padding:0;

}

.hamburger span{

  display:block;

  width:20px;

  height:2px;

  background:rgba(255,255,255,0.90);

  border-radius:999px;

  transition:transform .25s ease, opacity .2s ease;

}

.hamburger.active span:nth-child(1){ transform:translateY(7px) rotate(45deg); }

.hamburger.active span:nth-child(2){ opacity:0; }

.hamburger.active span:nth-child(3){ transform:translateY(-7px) rotate(-45deg); }

/* =========================

   OVERLAY + MOBILE MENU

========================= */

.nav-overlay{

  position:fixed;

  inset:0;

  background:rgba(0,0,0,0.55);

  opacity:0;

  pointer-events:none;

  transition:opacity .25s ease;

  z-index:40;

}

.nav-overlay.active{

  opacity:1;

  pointer-events:auto;

}

/* Mobile-MenÃ¼ Topbar (wird per JS injiziert) */

.nav-top{ display:none; }

.nav-top .nav-top-logo img{

  height:48px;

  width:auto;

}

.nav-top .nav-close{

  display:inline-flex;

  align-items:center;

  gap:10px;

  padding:10px 12px;

  border-radius:12px;

  border:1px solid rgba(255,255,255,0.14);

  background:rgba(255,255,255,0.04);

  color:rgba(255,255,255,0.92);

  cursor:pointer;

}

.nav-top .nav-close .x{

  font-size:18px;

  line-height:1;

  transform:translateY(-1px);

}

/* Phone im Mobile MenÃ¼ (wird per JS injiziert) */

.nav .nav-phone{ display:none; }

/* =========================

   HERO

========================= */

.hero{

  margin-top:36px;

  padding:28px;

  border-radius:24px;

  border:1px solid var(--border);

  background:linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));

}

.hero h1{

  margin:0 0 10px;

  font-size:clamp(28px, 5vw, 46px);

}

.hero p{

  margin:0 0 20px;

  color:rgba(255,255,255,0.70);

}

/* Buttons */

.buttons{

  display:flex;

  gap:10px;

  flex-wrap:wrap;

  margin:18px 0 22px;

}

.btn{

  display:inline-block;

  padding:12px 16px;

  border-radius:999px;

  border:1px solid var(--border);

  background:rgba(255,255,255,0.05);

  font-weight:600;

  transition:.2s ease;

}

.btn:hover{

  transform:translateY(-1px);

  background:rgba(255,255,255,0.08);

}

.btn.primary{

  background:var(--accent);

  border-color:transparent;

  color:#fff;

}

.btn.primary:hover{ background:var(--accent2); }

/* Reveal */

.reveal{

  opacity:0;

  transform:translateY(18px);

  transition:opacity .6s ease, transform .6s ease;

}

.reveal.active{

  opacity:1;

  transform:translateY(0);

}

/* =========================

   TEAM (Hover Crossfade)

========================= */

.team-grid{

  display:grid;

  grid-template-columns:repeat(3, 1fr);

  gap:16px;

  margin-top:20px;

}

.team-card{

  position:relative;

  overflow:hidden;

  border-radius:18px;

  aspect-ratio:4 / 5;

  cursor:pointer;

  border:1px solid rgba(255,255,255,0.10);

  box-shadow:var(--shadow);

}

.team-card img{

  position:absolute;

  inset:0;

  width:100%;

  height:100%;

  object-fit:cover;

  transition:opacity .35s ease, transform .55s ease;

  transform:scale(1.02);

}

.team-card .img-hover{ opacity:0; }

.team-card:hover .img-hover{ opacity:1; }

.team-card:hover .img-main{ opacity:0; }

.team-card:hover img{ transform:scale(1.06); }

.team-info{

  position:absolute;

  inset:0;

  background:rgba(0,0,0,0.65);

  display:flex;

  flex-direction:column;

  justify-content:center;

  align-items:center;

  text-align:center;

  padding:20px;

  opacity:0;

  pointer-events:none;

  transition:opacity .25s ease;

}

.team-card:hover .team-info{

  opacity:1;

  pointer-events:auto;

}

.team-info h3{ margin:0; font-size:20px; }

.team-info p{

  margin-top:6px;

  font-size:14px;

  color:rgba(255,255,255,0.75);

}

/* =========================

   FOOTER

========================= */

.footer{

  border-top:1px solid var(--border);

  margin-top:44px;

  padding:22px 0;

  color:rgba(255,255,255,0.70);

}

.footer a{ color:rgba(255,255,255,0.86); }

.footer a:hover{ color:#fff; }

.footer-inner{

  display:flex;

  align-items:center;

  justify-content:space-between;

  gap:14px;

  flex-wrap:wrap;

}

.footer-links{

  display:flex;

  align-items:center;

  gap:14px;

}

/* =========================

   COOKIE

========================= */

.cookie-banner{

  position:fixed;

  left:0; right:0; bottom:0;

  z-index:60;

  padding:14px 0;

  background:rgba(10,10,15,0.86);

  border-top:1px solid rgba(255,255,255,0.14);

  backdrop-filter:blur(12px);

  -webkit-backdrop-filter:blur(12px);

}

.cookie-content{

  display:flex;

  align-items:center;

  justify-content:space-between;

  gap:14px;

}

.cookie-buttons{

  display:flex;

  gap:10px;

  flex-wrap:wrap;

}

.cookie-settings-link{

  background:none;

  border:none;

  color:rgba(255,255,255,0.86);

  cursor:pointer;

  font:inherit;

  padding:0;

}

.cookie-settings-link:hover{

  color:#fff;

  text-decoration:underline;

}

/* =========================

   STICKY BOOKING BUTTON

========================= */

.sticky-booking{

  position:fixed;

  right:18px;

  bottom:calc(18px + var(--sticky-extra) + env(safe-area-inset-bottom));

  z-index:58;

  display:inline-flex;

  align-items:center;

  justify-content:center;

  gap:10px;

  padding:12px 16px;

  border-radius:999px;

  background:var(--accent);

  color:#fff;

  font-weight:800;

  letter-spacing:.2px;

  border:1px solid rgba(255,255,255,0.14);

  box-shadow:var(--shadow);

  transition:transform .18s ease, background .18s ease, filter .18s ease;

}

.sticky-booking:hover{

  transform:translateY(-1px);

  background:var(--accent2);

}

.sticky-booking:focus-visible{

  outline:2px solid rgba(255,255,255,0.9);

  outline-offset:3px;

}

/* =========================

   STARTSEITE SECTIONS

========================= */

.section{

  margin-top:22px;

  padding:26px;

  border-radius:24px;

  border:1px solid var(--border);

  background:linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.03));

}

.section-head{

  display:flex;

  flex-direction:column;

  align-items:center;

  text-align:center;

  margin-left:auto;

  margin-right:auto;

  max-width:75ch;

}

.section-head h2,

.section-head p{ width:100%; }

.section-head p{ margin:12px 0 0; }

.facts{

  display:grid;

  grid-template-columns:repeat(3, 1fr);

  gap:14px;

  margin-top:18px;

}

.fact-card{

  padding:16px;

  border-radius:18px;

  border:1px solid rgba(255,255,255,0.10);

  background:rgba(255,255,255,0.03);

}

.fact-card h3{ margin:0 0 6px; font-size:18px; }

.fact-card p{ margin:0; color:rgba(255,255,255,0.72); }

.cards{

  display:grid;

  grid-template-columns:repeat(3, 1fr);

  gap:14px;

  margin-top:18px;

}

.card{

  position:relative;

  overflow:hidden;

  display:block;

  padding:18px;

  border-radius:18px;

  border:1px solid rgba(255,255,255,0.10);

  background:rgba(255,255,255,0.03);

  transition:transform .2s ease, background .2s ease, border-color .2s ease;

}

.card::before{

  content:"";

  position:absolute;

  inset:-2px;

  background:radial-gradient(800px 400px at 30% 0%, rgba(226,19,110,0.22), transparent 60%);

  opacity:0;

  transition:opacity .25s ease;

  pointer-events:none;

}

.card:hover::before{ opacity:1; }

.card:hover{

  transform:translateY(-2px);

  background:rgba(226,19,110,0.08);

  border-color:rgba(226,19,110,0.45);

}

.card h3{ margin:0 0 8px; font-size:18px; }

.card p{ margin:0 0 12px; color:rgba(255,255,255,0.72); }

.card-cta{ font-weight:800; color:rgba(255,255,255,0.90); }

.note{

  margin-top:14px;

  padding:14px 16px;

  border-radius:16px;

  border:1px solid rgba(255,255,255,0.10);

  background:rgba(255,255,255,0.03);

  color:rgba(255,255,255,0.78);

}

.checklist{

  display:grid;

  grid-template-columns:1fr 1fr;

  gap:10px 14px;

  margin-top:14px;

}

.check{

  padding:12px 14px;

  border-radius:14px;

  border:1px solid rgba(255,255,255,0.10);

  background:rgba(255,255,255,0.03);

  color:rgba(255,255,255,0.82);

}

.check::before {
  content: "\2713";
  margin-right: 10px;
  color: #e2136e;
  font-weight: 900;
}


.cta{

  margin-top:22px;

  padding:30px;

  border-radius:26px;

  border:1px solid rgba(226,19,110,0.35);

  background:

    radial-gradient(800px 400px at 50% 0%, rgba(226,19,110,0.20), transparent 60%),

    rgba(255,255,255,0.03);

  text-align:center;

}

.cta h2{ margin:0 0 10px; font-size:clamp(24px, 3.4vw, 38px); }

.cta p{ margin:0 0 18px; color:rgba(255,255,255,0.75); }

/* ===== Reviews ===== */

.reviews-head{

  display:flex;

  align-items:flex-end;

  justify-content:space-between;

  gap:12px;

}

.muted{ margin:6px 0 0; color:rgba(255,255,255,0.72); }

.reviews-grid{

  display:grid;

  grid-template-columns:repeat(3, 1fr);

  gap:14px;

  margin-top:16px;

}

.review-card{

  padding:16px;

  border-radius:18px;

  border:1px solid rgba(255,255,255,0.10);

  background:rgba(255,255,255,0.03);

}

.review-text{

  margin:0 0 12px;

  color:rgba(255,255,255,0.78);

  font-style:italic;

}

.review-foot{

  display:flex;

  align-items:center;

  justify-content:space-between;

  gap:10px;

  font-size:13px;

  color:rgba(255,255,255,0.72);

}

.review-stars{

  letter-spacing:1px;

  color:rgba(226,19,110,0.95);

  font-weight:900;

}

/* ===== Google Map ===== */

.map-shell{

  position:relative;

  margin-top:16px;

  border-radius:22px;

  overflow:hidden;

  border:1px solid rgba(255,255,255,0.10);

  background:rgba(255,255,255,0.03);

  box-shadow:var(--shadow);

  min-height:360px;

}

.map-embed{ width:100%; height:360px; }

.map-embed iframe{

  width:100%;

  height:100%;

  border:0;

  display:block;

  filter:saturate(1.05) contrast(1.05);

}

.map-consent{

  position:absolute;

  inset:0;

  display:flex;

  align-items:center;

  justify-content:center;

  padding:18px;

  background:

    radial-gradient(800px 400px at 50% 0%, rgba(226,19,110,0.18), transparent 60%),

    rgba(10,10,15,0.78);

  backdrop-filter:blur(10px);

  -webkit-backdrop-filter:blur(10px);

}

.map-consent-inner{

  max-width:560px;

  width:100%;

  padding:18px;

  border-radius:18px;

  border:1px solid rgba(255,255,255,0.12);

  background:rgba(255,255,255,0.04);

}

.map-consent-inner h3{ margin:0 0 8px; font-size:18px; }

.map-consent-inner p{ margin:0 0 14px; color:rgba(255,255,255,0.75); }

/* =========================

   IRIS VARIANTS

========================= */

.iris{

  background:

    radial-gradient(800px 400px at 50% 0%, rgba(226,19,110,0.12), transparent 60%),

    rgba(255,255,255,0.03);

}

.iris-left{

  border:1px solid rgba(226,19,110,0.35);

  background:

    radial-gradient(800px 400px at 50% 0%, rgba(226,19,110,0.16), transparent 60%),

    rgba(255,255,255,0.03);

}

.iris-left,

.iris-left .section-head{ text-align:left; }

.iris-left .section-head{

  margin-left:0;

  margin-right:0;

  max-width:none;

}

/* optional Abstand zum nÃ¤chsten Block */

#planity-container + *{ margin-top:28px; }

/* =========================

   PLANITY (Lesbarkeit)

========================= */

#planity{ color:rgba(230, 0, 165, 0.92) !important; }

#planity *{ color:inherit !important; }

#planity .planity_appointment_service_small-cell,

#planity .planity_appointment_service_cell{

  opacity:1 !important;

  color:rgba(0,0,0,0.86) !important;

}

#planity .planity_ui_showMoreservices{

  color:rgba(0,0,0,0.88) !important;

  text-decoration:underline !important;

}

/* Trennlinien */

#planity hr,

#planity [class*="separator"],

#planity [class*="divider"]{

  border-color:rgba(255,255,255,0.10) !important;

}

/* Buttons */

#planity button,

#planity [role="button"]{

  background:rgba(255,255,255,0.92) !important;

  color:#010000 !important;

  border:1px solid rgba(255,255,255,0.14) !important;

  border-radius:14px !important;

}

#planity button:hover,

#planity [role="button"]:hover{

  border-color:rgba(226,19,110,0.55) !important;

  background:rgba(226,19,110,0.14) !important;

}

/* =========================

   RESPONSIVE

========================= */

@media (max-width:980px){

  .hamburger{ display:inline-flex; }

  .phone{ display:none; }

  /* Mobile Logo grÃ¶ÃŸer OHNE Header hÃ¶her zu machen */

  .logo-img{

    height:var(--logo-h-m);

    transform:scale(var(--logo-scale-m));

    transform-origin:left center;

  }

  /* Aura kleiner */

  .logo::before{

    width:160px;

    height:160px;

    background:radial-gradient(circle, rgba(226,19,110,0.14), transparent 62%);

  }

  /* Mobile Side Menu */

  .nav{

    position:fixed;

    top:0;

    right:-340px;

    height:100vh;

    width:340px;

    padding:14px 14px 18px;

    background:rgba(10,10,15,0.92);

    border-left:1px solid rgba(255,255,255,0.14);

    backdrop-filter:blur(12px);

    -webkit-backdrop-filter:blur(12px);

    flex-direction:column;

    align-items:stretch;

    gap:6px;

    transition:right .28s ease;

    z-index:45;

    overflow-y:auto;

  }

  .nav.active{ right:0; }

  /* Topbar im MenÃ¼ */

  .nav-top{

    display:flex;

    align-items:center;

    justify-content:space-between;

    gap:12px;

    padding:10px 6px 14px;

    border-bottom:1px solid rgba(255,255,255,0.10);

    margin-bottom:10px;

  }

  /* Mobile MenÃ¼: Logo ausblenden (wie gewÃ¼nscht) */

  .nav-top .nav-top-logo{ display:none !important; }

  .nav-top{ justify-content:flex-end; }

  .nav a{

    width:100%;

    padding:14px 12px;

    border-radius:12px;

  }

  .nav a::after{ display:none; }

  .nav a:hover{

    background:rgba(226,19,110,0.10);

    border:1px solid rgba(226,19,110,0.35);

  }

  .nav a.is-active{

    background:rgba(226,19,110,0.14);

    border:1px solid rgba(226,19,110,0.40);

    color:#fff;

  }

  .nav .nav-phone{

    display:inline-flex;

    width:100%;

    justify-content:center;

    margin-top:10px;

    padding:14px 14px;

    border-radius:14px;

    border:1px solid rgba(226,19,110,0.55);

    background:rgba(226,19,110,0.14);

    font-weight:700;

  }

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

  /* Sticky Booking: full width */

  .sticky-booking{

    left:16px;

    right:16px;

    width:auto;

    bottom:calc(12px + var(--sticky-extra) + env(safe-area-inset-bottom));

    padding:14px 16px;

    border-radius:16px;

  }

  .facts{ grid-template-columns:1fr; }

  .cards{ grid-template-columns:1fr; }

  .checklist{ grid-template-columns:1fr; }

  .reviews-head{ align-items:flex-start; flex-direction:column; }

  .reviews-grid{ grid-template-columns:1fr; }

}

@media (max-width:620px){

  .team-grid{ grid-template-columns:1fr; }

  .cookie-content{

    flex-direction:column;

    align-items:flex-start;

  }

  .footer-inner{

    flex-direction:column;

    align-items:flex-start;

  }

  .map-shell{ min-height:320px; }

  .map-embed{ height:320px; }

}

.hero {

  padding: 80px 5%;

}

.hero-inner {

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 60px;

}

.hero-text {

  flex: 1;

}

.hero-image {

  flex: 1;

  text-align: right;

}

.hero-image img {

  max-width: 100%;

  height: auto;

}

/* Mobil */

@media (max-width: 768px) {

  .hero-inner {

    flex-direction: column;

    text-align: center;

  }

  .hero-image {

    text-align: center;

  }

}

.section-image {

  margin-top: 40px;

}

.section-image img {

  width: 100%;

  height: auto;

  display: block;

  border-radius: 20px; /* optional */

}

/* BERRYWELL Ambassador-Seite */

.berrywell-eyebrow {

  font-size: 0.8rem;

  font-weight: 700;

  letter-spacing: 0.15em;

  text-transform: uppercase;

  color: #c7a56a !important;

}

#haar-modelle,

#schulungen {

  scroll-margin-top: 110px;

}

@media (max-width: 620px) {

  .berrywell-eyebrow {

    font-size: 0.7rem;

    letter-spacing: 0.1em;

  }

}

/* BERRYWELL Ambassador-Logo */

.berrywell-brand {

  display: flex;

  justify-content: center;

  align-items: center;

  margin: 0 auto 2rem;

  padding: 1.5rem;

  background: #ffffff;

  border-radius: 12px;

}

.berrywell-brand-logo {

  display: block;

  width: 100%;

  max-width: 580px;

  height: auto;

  object-fit: contain;

}

@media (max-width: 620px) {

  .berrywell-brand {

    padding: 1rem;

  }

  .berrywell-brand-logo {

    max-width: 100%;

  }

}

/* BERRYWELL â€“ Buttons zentrieren */

body:has(.berrywell-brand) .cta .buttons {

  display: flex;

  justify-content: center;

  align-items: center;

  flex-wrap: wrap;

  gap: 14px;

}

@media (max-width: 620px) {

  body:has(.berrywell-brand) .cta .buttons {

    flex-direction: column;

  }

  body:has(.berrywell-brand) .cta .buttons .btn {

    width: 100%;

    max-width: 340px;

    text-align: center;

  }

}

/* === Optimierung Header, Android und BERRYWELL === */

@media (min-width:981px){

  .header .header-inner{

    max-width:1480px;

    padding:14px 24px;

    gap:clamp(12px,1.2vw,22px);

  }

  .header .logo{flex:0 0 clamp(190px,17vw,255px);min-width:0}

  .header .logo a{width:100%}

  .header .logo-img{

    width:100%;height:auto;max-height:92px;

    object-fit:contain;object-position:left center;

    transform:none;

  }

  .header .logo a:hover .logo-img{transform:none}

  .header .nav{

    flex:1 1 auto;min-width:0;justify-content:center;

    gap:clamp(5px,.85vw,16px);

  }

  .header .nav a{

    white-space:nowrap;

    font-size:clamp(12px,.88vw,15px);

    padding-inline:3px;

  }

  .header .phone{flex:0 0 auto;font-size:14px}

}

@media (min-width:981px) and (max-width:1280px){

  .header .header-inner{gap:9px;padding-inline:16px}

  .header .logo{flex-basis:160px}

  .header .nav{gap:4px}

  .header .nav a{font-size:12px;padding-inline:2px}

  .header .phone{font-size:12px;padding:9px}

}

@media (max-width:980px){

  .header .header-inner{padding:12px 16px;min-height:78px}

  .header .logo{flex:0 1 205px;min-width:0}

  .header .logo a{width:100%}

  .header .logo-img{

    width:100%;height:auto;max-height:66px;

    object-fit:contain;object-position:left center;

    transform:none;

  }

  .header .logo a:hover .logo-img{transform:none}

  .header .hamburger{flex:0 0 44px}

  .header .nav{

    right:0;width:min(340px,90vw);

    height:100vh;height:100dvh;

    transform:translateX(105%);

    transition:transform .28s ease;

    box-shadow:-10px 0 36px rgba(0,0,0,.35);

  }

  .header .nav.active{right:0;transform:translateX(0)}

  .header .nav a{font-size:16px;white-space:normal}

}

@media (max-width:420px){

  .header .logo{flex-basis:165px}

  .header .logo-img{max-height:58px}

}

body:has(.berrywell-brand) .cta .buttons{

  display:flex;

  justify-content:center;

  align-items:center;

  flex-wrap:wrap;

  gap:14px;

}

@media (max-width:620px){

  body:has(.berrywell-brand) .cta .buttons{flex-direction:column}

  body:has(.berrywell-brand) .cta .buttons .btn{

    width:100%;max-width:340px;text-align:center;

  }

}

@media (prefers-reduced-motion:reduce){

  .header .nav,.header .logo-img{transition:none}

}

/* =====================================

   HAARSTUDIO LOGO â€“ FEINABSTIMMUNG V2

   ===================================== */

@media (min-width: 981px) {

  .header .header-inner {

    min-height: 115px;

    gap: 24px;

  }

  .header .logo {

    flex: 0 0 230px;

    overflow: visible;

  }

  .header .logo-img {

    width: 100%;

    max-width: none;

    height: auto;

    max-height: none;

    object-fit: contain;

    transform: scale(1.45);

    transform-origin: left center;

  }

  .header .logo a:hover .logo-img {

    transform: scale(1.45);

  }

}

@media (max-width: 980px) {

  .header .logo-img,

  .header .logo a:hover .logo-img {

    transform: none;

  }

}

/* =====================================

   LOGO â€“ LEUCHTEFFEKT & MOBILE ANSICHT

   ===================================== */

/* Leuchteffekt mittig hinter dem Logo */

.header .logo::before {

  left: 50%;

  top: 50%;

  width: 100%;

  height: 150px;

  transform: translate(-50%, -50%);

  background: radial-gradient(

    ellipse at center,

    rgba(226, 19, 110, 0.24) 0%,

    rgba(226, 19, 110, 0.10) 40%,

    transparent 75%

  );

  pointer-events: none;

}

/* Desktop: Effekt an sichtbares Logo anpassen */

@media (min-width: 981px) {

  .header .logo::before {

    width: 335px;

    left: 72%;

  }

}

/* Smartphones und Tablets */

@media (max-width: 980px) {

  .header .logo {

    flex: 0 1 240px;

    overflow: visible;

  }

  .header .logo-img {

    width: 100%;

    max-width: none;

    max-height: none;

    height: auto;

    transform: scale(1.35);

    transform-origin: left center;

  }

  .header .logo a:hover .logo-img {

    transform: scale(1.35);

  }

  .header .logo::before {

    width: 260px;

    left: 65%;

  }

}

/* Kleinere Smartphones */

@media (max-width: 420px) {

  .header .logo {

    flex-basis: 175px;

  }

  .header .logo-img,

  .header .logo a:hover .logo-img {

    transform: scale(1.25);

  }

  .header .logo::before {

    width: 220px;

    left: 60%;

  }

}

/* =====================================

   MOBILE HEADER â€“ LOGO ZENTRIEREN

   ===================================== */

@media (max-width: 980px) {

  .header .header-inner {

    position: relative;

    display: flex;

    justify-content: flex-end;

    align-items: center;

    min-height: 110px;

  }

  /* Logo mittig positionieren */

  .header .logo {

    position: absolute;

    left: 50%;

    top: 50%;

    width: 175px;

    flex: none;

    transform: translate(-50%, -50%);

    z-index: 1;

  }

  .header .logo a {

    display: block;

    width: 100%;

  }

  .header .logo-img,

  .header .logo a:hover .logo-img {

    display: block;

    width: 100%;

    max-width: none;

    max-height: none;

    height: auto;

    transform: scale(1.25);

    transform-origin: center center;

  }

  /* Leuchteffekt mittig */

  .header .logo::before {

    left: 50%;

    top: 50%;

    width: 260px;

    transform: translate(-50%, -50%);

  }

  /* Hamburger rechts */

  .header .hamburger {

    position: relative;

    z-index: 2;

    margin-left: auto;

  }

}

/* BERRYWELL â€“ eigene Gestaltung, am Ende von style.css einfÃ¼gen */

.bw-page{padding-top:24px;padding-bottom:70px}

.bw-page *{box-sizing:border-box}

.bw-page section{scroll-margin-top:115px}

.bw-hero,.bw-section,.bw-model-section{border:1px solid rgba(226,19,110,.35);border-radius:28px;background:radial-gradient(ellipse at 50% 0%,rgba(226,19,110,.13),transparent 65%),rgba(255,255,255,.015);padding:clamp(28px,5vw,70px);margin-bottom:26px}

.bw-hero,.bw-model-section{text-align:center}

.bw-brand{background:#fff;border-radius:16px;max-width:700px;margin:0 auto 35px;padding:clamp(18px,3vw,32px);display:flex;justify-content:center;align-items:center}

.bw-brand img{display:block;width:100%;height:auto;max-height:250px;object-fit:contain}

.bw-kicker{font-size:.79rem;letter-spacing:.18em;font-weight:800;color:#e6ba77;text-transform:uppercase;margin:0 0 18px}

.bw-page h1,.bw-page h2{line-height:1.15;margin:0 0 20px}

.bw-page h1{font-size:clamp(2rem,4.2vw,3.5rem)}

.bw-page h2{font-size:clamp(1.75rem,3.2vw,2.75rem)}

.bw-page h3{font-size:1.2rem;margin:10px 0 12px}

.bw-page p{line-height:1.7}

.bw-lead{max-width:770px;margin:0 auto 30px;color:rgba(255,255,255,.8);font-size:clamp(1rem,1.5vw,1.15rem)}

.bw-actions{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:14px;margin-top:28px}

.bw-actions .btn{text-align:center;text-decoration:none}

.bw-section-head{max-width:820px;margin:0 auto 35px;text-align:center}

.bw-section-head>p:last-child{color:rgba(255,255,255,.78)}

.bw-feature-grid,.bw-topic-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}

.bw-feature,.bw-topic{border:1px solid rgba(255,255,255,.12);border-radius:18px;background:rgba(255,255,255,.04);padding:28px;min-width:0}

.bw-feature p,.bw-topic p{color:rgba(255,255,255,.74);margin:0}

.bw-feature-number{font-size:.8rem;font-weight:800;color:#e2136e;letter-spacing:.14em}

.bw-topic-icon{display:inline-flex;align-items:center;justify-content:center;border-radius:14px;width:46px;height:46px;background:rgba(226,19,110,.15);color:#ff4a9c;font-size:1.5rem}

.bw-model-section{background:radial-gradient(ellipse at 50% 0%,rgba(226,19,110,.22),transparent 65%),rgba(255,255,255,.02)}

.bw-model-details{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;text-align:left;margin:30px 0}

.bw-model-details>div{border:1px solid rgba(255,255,255,.13);border-radius:16px;padding:22px;background:rgba(0,0,0,.18)}

.bw-model-details strong{color:#fff}

.bw-model-details p{margin:8px 0 0;color:rgba(255,255,255,.75)}

.bw-privacy-note{max-width:740px;margin:20px auto 0;color:rgba(255,255,255,.65);font-size:.85rem}

.bw-privacy-note a{color:#ff71ae;text-decoration:underline}

.bw-faq-list{max-width:860px;margin:auto}

.bw-faq details{border:1px solid rgba(255,255,255,.13);border-radius:14px;background:rgba(255,255,255,.035);margin-bottom:12px;padding:0 22px}

.bw-faq summary{cursor:pointer;font-weight:700;padding:20px 0;line-height:1.5}

.bw-faq details p{color:rgba(255,255,255,.75);margin:0 0 22px}

@media(max-width:760px){

  .bw-page{padding-top:16px}

  .bw-hero,.bw-section,.bw-model-section{padding:26px 18px;border-radius:20px}

  .bw-feature-grid,.bw-topic-grid,.bw-model-details{grid-template-columns:1fr}

  .bw-actions{flex-direction:column}

  .bw-actions .btn{width:100%;max-width:360px}

  .bw-brand{margin-bottom:28px;padding:18px}

  .bw-kicker{font-size:.7rem;letter-spacing:.12em}

}

/* ==========================================

   HEADER â€“ DESKTOP FINAL OPTIMIEREN

   ========================================== */

@media (min-width: 981px) {

  /* Gesamte Navigationsleiste */

  .header .header-inner {

    min-height: 130px;

    height: 130px;

    max-width: 1600px;

    padding: 10px 30px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 18px;

  }

  /* Logo: bisherige sichtbare GrÃ¶ÃŸe behalten */

  .header .logo {

    flex: 0 0 245px;

    min-width: 0;

    overflow: visible;

  }

  .header .logo-img,

  .header .logo a:hover .logo-img {

    width: 100%;

    max-width: none;

    max-height: none;

    height: auto;

    transform: scale(1.45);

    transform-origin: left center;

  }

  /* Navigation */

  .header .nav {

    display: flex;

    flex: 1 1 auto;

    align-items: center;

    justify-content: center;

    gap: clamp(12px, 1.3vw, 24px);

    min-width: 0;

  }

  /* MenÃ¼punkte */

  .header .nav a {

    font-size: 16px;

    font-weight: 600;

    white-space: nowrap;

    padding: 12px 2px;

  }

  /* Telefonnummer */

  .header .phone {

    flex: 0 0 auto;

    font-size: 15px;

    padding: 12px 16px;

    white-space: nowrap;

  }

  /* Leuchteffekt hinter dem Logo */

  .header .logo::before {

    left: 72%;

    top: 50%;

    width: 350px;

    height: 150px;

    transform: translate(-50%, -50%);

  }

}

/* FÃ¼r kleinere Desktop-Bildschirme */

@media (min-width: 981px) and (max-width: 1350px) {

  .header .header-inner {

    padding: 10px 18px;

    gap: 12px;

  }

  .header .logo {

    flex-basis: 205px;

  }

  .header .nav {

    gap: 9px;

  }

  .header .nav a {

    font-size: 13px;

  }

  .header .phone {

    font-size: 13px;

    padding: 10px;

  }

}

/* ==========================================

   STARTSEITE â€“ HERO OHNE RAHMEN

   ========================================== */

.home-hero {

  width: 100%;

  padding: 35px 20px 45px;

  margin: 0 auto;

  background: transparent;

  border: none;

  box-shadow: none;

  overflow: hidden;

}

.home-hero .hero-content {

  width: 100%;

  max-width: 1100px;

  margin: 0 auto;

  padding: 0;

  background: transparent;

  border: none;

  border-radius: 0;

  box-shadow: none;

  text-align: center;

}

.home-hero h1 {

  margin: 0 0 12px;

}

.home-hero .hero-sub {

  margin: 0 auto 10px;

  line-height: 1.5;

}

/* Bild ohne schwarzen Kasten */

.home-hero .hero-image {

  width: 100%;

  max-width: 850px;

  margin: 0 auto;

  padding: 0;

  background: transparent;

  border: none;

  border-radius: 0;

  box-shadow: none;

  overflow: visible;

}

/* PortrÃ¤t */

.home-hero .hero-image img {

  display: block;

  width: 100%;

  height: auto;

  max-height: none;

  object-fit: contain;

  transform: none;

  border: none;

  border-radius: 0;

  /* Weicher Ãœbergang an den BildrÃ¤ndern */

  -webkit-mask-image: radial-gradient(

    ellipse 85% 85% at center,

    black 72%,

    transparent 100%

  );

  mask-image: radial-gradient(

    ellipse 85% 85% at center,

    black 72%,

    transparent 100%

  );

}

/* Buttons */

.home-hero .buttons {

  display: flex;

  justify-content: center;

  flex-wrap: wrap;

  gap: 14px;

  margin-top: 12px;

}

/* Smartphone */

@media (max-width: 620px) {

  .home-hero {

    padding: 20px 10px 30px;

  }

  .home-hero .hero-sub {

    font-size: 15px;

  }

  .home-hero .buttons {

    flex-direction: column;

    align-items: center;

  }

  .home-hero .buttons .btn {

    width: 100%;

    max-width: 320px;

  }

}

/* BERRYWELL â€“ Sprungmarken korrigieren */

html {

  scroll-behavior: smooth;

}

#haar-modelle,

#schulungen {

  scroll-margin-top: 150px;

}

/* Cookie-Einstellungen */

.cookie-options {

  display: grid;

  gap: 12px;

  margin: 18px 0;

  text-align: left;

}

.cookie-option {

  display: flex;

  align-items: center;

  gap: 10px;

  cursor: pointer;

}

.cookie-option input {

  width: 18px;

  height: 18px;

  accent-color: #e6007e;

  flex-shrink: 0;

}

#planity-consent-note {

  margin: 20px 0;

  text-align: center;

}

#planity-consent-note[hidden],

.cookie-banner[hidden] {

  display: none !important;

}

/* =====================================================
   COOKIE-EINSTELLUNGEN â€“ FINALE RESPONSIVE DARSTELLUNG
   ErgÃ¤nzung fÃ¼r die aktuelle Einwilligungsverwaltung
   ===================================================== */
.cookie-banner {
  max-height: 85vh;
  max-height: 85dvh;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.cookie-content {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 16px;
  width: calc(100% - 32px);
  max-width: 760px;
  margin: 0 auto;
}
.cookie-content h2 { margin: 0; font-size: 22px; }
.cookie-content p { margin: 0; line-height: 1.6; }
.cookie-options {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 16px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px;
  background: rgba(255,255,255,.04);
}
.cookie-option { line-height: 1.45; }
.cookie-buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.cookie-buttons .btn { cursor: pointer; }
.cookie-banner[hidden], #planity-consent-note[hidden] { display: none !important; }
#planity-consent-note { scroll-margin-top: 140px; }
@media (max-width: 620px) {
  .cookie-content { width: calc(100% - 24px); }
  .cookie-buttons { flex-direction: column; }
  .cookie-buttons .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { transition: none; }
}
/* Patricia – Bildausschnitt korrigieren */
img[src$="patricia.jpg"],
img[src$="patricia1.jpg"] {
    object-position: center top !important;
}