/* ==========================================================================
   Coiffure Rosaria - Stylesheet
   Statische Website, aufgebaut aus den Inhalten von frisurundschuh.ch
   ========================================================================== */

:root {
  /* Flaechenfarben: Grundflaeche rosa statt weiss */
  --surface: #f2b6ce;        /* Grundflaeche */
  --surface-alt: #f7cadb;    /* leicht hellere Flaeche zur Abgrenzung */

  /* Akzentfarben - dunkel genug fuer lesbaren Text auf --surface */
  --pink: #9c1a50;           /* Text- und Linienakzent, Kontrast 4.6:1 */
  --pink-dark: #7d1440;      /* Hover-Zustand */
  --pink-button: #b71f5e;    /* Schaltflaechen, weisse Schrift 6.2:1 */
  --pink-mid: #d98cb0;       /* dekorative Rahmen */
  --pink-soft: #f2b6ce;
  --pink-pale: #f7cadb;

  --ink: #2e2a2c;            /* Ueberschriften, Kontrast 8.3:1 */
  --text: #4a4247;           /* Fliesstext, Kontrast 5.7:1 */
  --line: #d9a3bd;           /* Trennlinien auf rosa Grund */
  --white: #ffffff;

  --font-body: "Helvetica Neue", Helvetica, Arial, "Segoe UI", Roboto, sans-serif;
  --font-display: "Helvetica Neue", Helvetica, Arial, "Segoe UI", Roboto, sans-serif;

  --wrap: 1080px;
  --radius: 4px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--pink); }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* --------------------------------------------------------------- Kopfzeile */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(242, 182, 206, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 74px;
}

.site-header .logo img { width: 190px; }

.nav ul {
  list-style: none;
  display: flex;
  gap: 26px;
  margin: 0;
  padding: 0;
}

.nav a {
  text-decoration: none;
  color: var(--ink);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}

.nav a:hover,
.nav a[aria-current="page"] { border-bottom-color: var(--pink); color: var(--pink); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 8px 12px;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  cursor: pointer;
}

/* -------------------------------------------------------------------- Hero */

.hero {
  background: linear-gradient(180deg, var(--surface-alt) 0%, var(--surface) 55%, #eaa7c6 100%);
  text-align: center;
  padding: 72px 0 84px;
}

.hero .claim {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 34px;
}

.hero .hero-logo {
  margin: 0 auto 34px;
  max-width: 460px;
  width: 100%;
}

.hero .target {
  font-size: 20px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 6px;
  font-weight: 400;
}

.hero .address {
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 32px;
  line-height: 1.45;
}

/* ---------------------------------------------------------------- Sektionen */

section { padding: 72px 0; }

.section-pale { background: var(--surface-alt); }

.section-title {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 15px;
  font-weight: 700;
  color: var(--pink);
  text-align: center;
  margin: 0 0 8px;
}

.section-lead {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
  color: var(--text);
}

h2.headline {
  font-size: 30px;
  line-height: 1.25;
  color: var(--ink);
  text-align: center;
  margin: 0 0 40px;
  font-weight: 400;
}

h3 {
  font-size: 21px;
  line-height: 1.35;
  color: var(--ink);
  margin: 0 0 12px;
  font-weight: 600;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.card {
  border: 1px dashed var(--pink);
  border-radius: var(--radius);
  padding: 32px 30px;
  background: var(--surface-alt);
}

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

.card .accent {
  color: var(--pink);
  font-weight: 600;
}

/* ------------------------------------------------------- Oeffnungszeiten */

.hours-phone {
  text-align: center;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 17px;
  font-weight: 700;
  color: var(--pink);
  margin: 0 0 28px;
}

.hours-phone a { text-decoration: none; }

table.hours {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  border-collapse: collapse;
  background: var(--surface-alt);
}

table.hours th,
table.hours td {
  border: 1px solid var(--line);
  padding: 13px 20px;
  text-align: left;
  font-weight: 400;
}

table.hours th { width: 50%; color: var(--ink); }

table.hours td { text-align: right; }

table.hours tr.closed td { color: #5c5459; }

.hours-note {
  max-width: 560px;
  margin: 18px auto 0;
  text-align: center;
  font-size: 15px;
  color: var(--pink);
  font-weight: 600;
}

.toggle-body .button { margin: 4px 8px 4px 0; }


/* ----------------------------------------------------------------- Standort */

.location {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 36px;
  align-items: start;
}

.location address {
  font-style: normal;
  font-size: 18px;
  line-height: 1.7;
  color: var(--ink);
}

.map-frame-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  line-height: 0;
}

.map-frame {
  width: 100%;
  height: 360px;
  border: 0;
  display: block;
}

@media (max-width: 860px) {
  .map-frame { height: 300px; }
}

/* ---------------------------------------------------------------- Aufruf */

.cta {
  background: linear-gradient(180deg, var(--pink-button) 0%, #8d1748 100%);
  color: var(--white);
  text-align: center;
  padding: 66px 0;
}

.cta p.kicker {
  font-size: 22px;
  margin: 0 0 4px;
  color: var(--white);
}

.cta a.phone {
  display: inline-block;
  font-size: 40px;
  line-height: 1.2;
  color: var(--white);
  text-decoration: none;
  font-weight: 300;
  letter-spacing: 0.02em;
}

.cta a.phone:hover { text-decoration: underline; }

/* -------------------------------------------------------------- Schaltflaeche */

.button {
  display: inline-block;
  border: 1px solid var(--pink-button);
  background: var(--pink-button);
  color: var(--white);
  text-decoration: none;
  padding: 13px 28px;
  border-radius: var(--radius);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  cursor: pointer;
}

.button:hover { background: var(--pink-dark); border-color: var(--pink-dark); }

.button.ghost {
  background: transparent;
  color: var(--pink);
}

.button.ghost:hover { background: var(--pink); color: var(--white); }

/* -------------------------------------------------------------- Detailtexte */

details.toggle {
  border: 1px dashed var(--pink);
  border-radius: var(--radius);
  background: var(--surface-alt);
  padding: 0;
  margin-bottom: 18px;
}

details.toggle > summary {
  list-style: none;
  cursor: pointer;
  padding: 26px 56px 26px 30px;
  position: relative;
  font-size: 21px;
  color: var(--ink);
  font-weight: 600;
}

details.toggle > summary::-webkit-details-marker { display: none; }

details.toggle > summary::after {
  content: "+";
  position: absolute;
  right: 26px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--pink);
  font-size: 26px;
  line-height: 1;
}

details.toggle[open] > summary::after { content: "\2013"; }

details.toggle .toggle-body { padding: 0 30px 26px; }

details.toggle .toggle-body p:last-child { margin-bottom: 0; }

/* ---------------------------------------------------------------- Textseiten */

.page {
  padding: 60px 0 80px;
  max-width: 760px;
}

.page h1 {
  font-size: 32px;
  color: var(--ink);
  font-weight: 400;
  margin: 0 0 28px;
}

.page h2 {
  font-size: 20px;
  color: var(--ink);
  font-weight: 600;
  margin: 34px 0 10px;
}

.page .hint {
  background: var(--surface-alt);
  border-left: 3px solid var(--pink);
  padding: 14px 18px;
  font-size: 15px;
  margin: 30px 0 0;
}

.placeholder {
  background: #fff4d6;
  padding: 1px 6px;
  border-radius: 3px;
  font-style: normal;
}

/* -------------------------------------------------------------------- Fuss */

.site-footer {
  background: var(--ink);
  color: #cfc7cb;
  padding: 44px 0;
  font-size: 15px;
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
  align-items: center;
  justify-content: space-between;
}

.site-footer a { color: var(--white); text-decoration: none; }

.site-footer a:hover { text-decoration: underline; }

.footer-nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

/* ------------------------------------------------------------------ Mobil */

@media (max-width: 860px) {
  .grid-2 { grid-template-columns: 1fr; }
  .location { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  body { font-size: 16px; }

  .nav-toggle { display: inline-block; }

  .nav {
    display: none;
    width: 100%;
    order: 3;
  }

  .nav.open { display: block; }

  .nav ul {
    flex-direction: column;
    gap: 0;
    padding: 8px 0 18px;
  }

  .nav a {
    display: block;
    padding: 11px 0;
    border-bottom: 1px solid var(--line);
  }

  .site-header .wrap { flex-wrap: wrap; min-height: 66px; }
  .site-header .logo img { width: 150px; }

  .hero { padding: 48px 0 60px; }
  .hero .hero-logo { max-width: 320px; }
  .hero .target,
  .hero .address { font-size: 18px; }

  section { padding: 52px 0; }
  h2.headline { font-size: 25px; }
  .cta a.phone { font-size: 31px; }
  .card { padding: 26px 22px; }
  details.toggle > summary { font-size: 19px; padding: 22px 50px 22px 22px; }
  details.toggle .toggle-body { padding: 0 22px 22px; }
}

/* ------------------------------------------------------------------ Flyer ---
   Hinweisfenster, das beim ersten Aufruf je Browser-Sitzung erscheint.
   ---------------------------------------------------------------------------- */

.flyer-dialog {
  border: 0;
  border-radius: 6px;
  padding: 0;
  width: min(440px, calc(100vw - 32px));
  max-height: calc(100vh - 48px);
  overflow: auto;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
  color: var(--text);
  background: var(--surface-alt);
}

.flyer-dialog::backdrop {
  background: rgba(46, 42, 44, 0.55);
}

.flyer-body { padding: 30px 28px 26px; }

.flyer-kicker {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 12px;
  font-weight: 700;
  color: var(--pink);
  margin: 0 0 6px;
}

.flyer-dialog h2 {
  font-size: 24px;
  line-height: 1.25;
  color: var(--ink);
  font-weight: 600;
  margin: 0 0 12px;
}

.flyer-dialog p { font-size: 15px; margin: 0 0 18px; }

.flyer-vorschau {
  display: block;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 0 0 20px;
}

.flyer-vorschau img { width: 100%; height: auto; }

.flyer-aktionen {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
}

.flyer-close {
  position: absolute;
  top: 10px;
  right: 12px;
  background: none;
  border: 0;
  font-size: 30px;
  line-height: 1;
  color: var(--ink);
  cursor: pointer;
  padding: 4px 8px;
}

.flyer-close:hover { color: var(--pink); }

@media (max-width: 700px) {
  .flyer-body { padding: 26px 20px 22px; }
  .flyer-dialog h2 { font-size: 21px; }
  .flyer-aktionen .button { width: 100%; text-align: center; }
}
