/*
Theme Name: Preuss_2027
Theme URI: https://www.preuss-orthopaedie.de
Author: Websilencer.de
Author URI: https://www.websilencer.de
Description: Relaunch-Theme für Orthopädie-Schuhtechnik Preuß GmbH im Gesunde-Schuhe-Design. Seiteninhalte liegen als Templates im Theme (parts/content-<slug>.php); Online-Buchung über Easy Appointments, Kontaktformular über Contact Form 7.
Version: 1.0.4
Requires at least: 6.0
Requires PHP: 7.4
License: Proprietary
Text Domain: Preuss_2027
*/

  :root {
    --paper: #F7F8FA;
    --card: #FFFFFF;
    --slate: #747C8A;
    --slate-deep: #4B505C;
    --slate-darker: #383C45;
    --ink: #24262A;
    --ink-soft: #5B5F66;
    --ink-faint: #8B909A;
    --red: #A7130F;
    --red-deep: #7E0F0B;
    --red-wash: #F7E3E2;
    --green: #7AB800;
    --green-deep: #557E00;
    --green-wash: #EEF6DC;
    --line: rgba(36, 38, 42, 0.12);
    --line-strong: rgba(36, 38, 42, 0.22);
    --shadow: 0 30px 60px -28px rgba(20, 22, 26, 0.4);

    --font-display: "Exo 2", "Segoe UI", sans-serif;
    --font-body: "Archivo", "Segoe UI", system-ui, sans-serif;
  }

  @media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
      --paper: #17181B;
      --card: #212327;
      --slate: #5A6270;
      --slate-deep: #34383F;
      --slate-darker: #202329;
      --ink: #F1F2F3;
      --ink-soft: #C2C5CA;
      --ink-faint: #83878F;
      --red: #E2564F;
      --red-deep: #C43A33;
      --red-wash: rgba(226, 86, 79, 0.16);
      --green: #9ADE33;
      --green-deep: #7AB800;
      --green-wash: rgba(154, 222, 51, 0.14);
      --line: rgba(241, 242, 243, 0.14);
      --line-strong: rgba(241, 242, 243, 0.26);
      --shadow: 0 30px 60px -28px rgba(0, 0, 0, 0.6);
    }
  }
  :root[data-theme="dark"] {
    --paper: #17181B;
    --card: #212327;
    --slate: #5A6270;
    --slate-deep: #34383F;
    --slate-darker: #202329;
    --ink: #F1F2F3;
    --ink-soft: #C2C5CA;
    --ink-faint: #83878F;
    --red: #E2564F;
    --red-deep: #C43A33;
    --red-wash: rgba(226, 86, 79, 0.16);
    --green: #9ADE33;
    --green-deep: #7AB800;
    --green-wash: rgba(154, 222, 51, 0.14);
    --line: rgba(241, 242, 243, 0.14);
    --line-strong: rgba(241, 242, 243, 0.26);
    --shadow: 0 30px 60px -28px rgba(0, 0, 0, 0.6);
  }

  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    overflow-x: clip; /* clip statt hidden: erzeugt keinen Scroll-Container, sticky Header bleibt aktiv */
  }
  img { max-width: 100%; display: block; }
  .wrap { max-width: 1160px; margin: 0 auto; padding: 0 28px; }
  section[id] { scroll-margin-top: 88px; }

  h1, h2, h3 { font-family: var(--font-display); font-weight: 800; margin: 0; text-wrap: balance; letter-spacing: -0.01em; }
  p { line-height: 1.7; color: var(--ink-soft); }
  a { color: inherit; }

  /* ---------- motion ---------- */
  .reveal-io { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.22,1,.36,1), transform .7s cubic-bezier(.22,1,.36,1); }
  .reveal-io.in { opacity: 1; transform: none; }
  .zoom-media { overflow: hidden; }
  .zoom-media img { transition: transform .6s cubic-bezier(.22,1,.36,1); }
  .zoom-media:hover img, .zoom-media:focus-within img { transform: scale(1.055); }
  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal-io { opacity: 1 !important; transform: none !important; transition: none !important; }
    .zoom-media img { transition: none !important; }
  }
  .scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0%; background: var(--red); z-index: 60; }


  /* ---------- quick contact rail ---------- */
  .quick-contact {
    position: fixed; left: 0; top: 50%; transform: translateY(-50%);
    z-index: 35; display: flex; flex-direction: column;
    box-shadow: 2px 0 14px rgba(0,0,0,0.15);
  }
  .quick-contact a {
    width: 46px; height: 46px; background: var(--green); color: #fff;
    display: flex; align-items: center; justify-content: center;
    text-decoration: none; font-size: 1.15rem;
    transition: background .15s ease, width .15s ease;
  }
  .quick-contact a:hover { background: var(--green-deep); width: 52px; }
  @media (max-width: 780px) { .quick-contact { display: none; } }

  /* ---------- header ---------- */
  /* Header-Wrapper der statischen Seiten aus dem Layout nehmen, damit der sticky Header
     am <body> klebt und nicht nur innerhalb seines Wrappers (sonst scrollt das Menü weg) */
  #site-header { display: contents; }
  header.site {
    position: -webkit-sticky; position: sticky; top: 0; z-index: 30;
    background: var(--card);
    border-bottom: 4px solid var(--green);
    box-shadow: 0 0 0 rgba(0,0,0,0);
    transition: box-shadow .25s ease;
  }
  header.site.scrolled { box-shadow: 0 10px 26px -20px rgba(20, 22, 26, 0.35); }
  .site-header-inner {
    display: flex; align-items: center; justify-content: space-between; gap: 24px;
    padding: 12px 28px; max-width: 1160px; margin: 0 auto;
  }
  .brand { display: flex; align-items: center; gap: 12px; }
  .brand img { height: 46px; width: auto; border-radius: 8px; }
  nav.main-nav { display: flex; align-items: center; gap: 28px; font-size: 0.9rem; font-weight: 700; font-family: var(--font-display); }
  nav.main-nav a { text-decoration: none; color: var(--ink-soft); position: relative; }
  nav.main-nav a::after {
    content: ""; position: absolute; left: 0; right: 100%; bottom: -4px; height: 2px;
    background: var(--red); transition: right .25s cubic-bezier(.22,1,.36,1);
  }
  nav.main-nav a:hover { color: var(--ink); }
  nav.main-nav a:hover::after { right: 0; }
  nav.main-nav > .nav-item > a.is-active,
  nav.main-nav > a.is-active { color: var(--ink); }
  nav.main-nav > .nav-item > a.is-active::after,
  nav.main-nav > a.is-active::after { right: 0; background: var(--green); }
  .nav-mobile-sub a.is-active { color: var(--green-deep); font-weight: 700; }
  .header-right { display: flex; align-items: center; gap: 20px; }
  .header-phone { font-size: 0.9rem; font-weight: 700; color: var(--ink); text-decoration: none; display: none; }
  @media (min-width: 760px) { .header-phone { display: inline; } }
  @media (max-width: 759px) { nav.main-nav { display: none; } }

  /* ---------- dropdown submenus (desktop) ---------- */
  .nav-item { position: relative; display: flex; align-items: center; }
  .nav-item > a { display: inline-flex; align-items: center; gap: 5px; }
  .nav-caret { width: 8px; height: 8px; margin-top: -2px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: rotate(45deg); transition: transform .2s ease; opacity: .7; }
  .nav-item.is-open .nav-caret, .nav-item:focus-within .nav-caret { transform: rotate(225deg); }

  .dropdown {
    position: absolute; top: calc(100% + 20px); left: 50%; transform: translateX(-50%) translateY(6px);
    background: var(--card); border: 1px solid var(--line); border-radius: 14px;
    box-shadow: var(--shadow); padding: 10px; min-width: 230px;
    display: flex; flex-direction: column; gap: 1px;
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity .18s ease, transform .18s ease, visibility .18s;
    z-index: 30;
  }
  .nav-item.is-open .dropdown, .nav-item:focus-within .dropdown {
    opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0);
  }
  .dropdown a {
    display: block; padding: 9px 14px; border-radius: 8px; font-size: 0.85rem; font-weight: 600;
    color: var(--ink-soft); white-space: nowrap; font-family: var(--font-body);
  }
  .dropdown a::after { display: none; }
  .dropdown a:hover { background: var(--paper); color: var(--red); }

  .dropdown-mega { flex-direction: row; min-width: 600px; gap: 2px; left: 0; transform: translateX(0) translateY(6px); }
  .nav-item.is-open .dropdown-mega, .nav-item:focus-within .dropdown-mega { transform: translateX(0) translateY(0); }
  .dropdown-col { display: flex; flex-direction: column; gap: 1px; padding: 0 10px; min-width: 180px; }
  .dropdown-col + .dropdown-col { border-left: 1px solid var(--line); }
  .dropdown-heading {
    font-family: var(--font-display); font-size: 0.66rem; font-weight: 800; letter-spacing: 0.06em;
    text-transform: uppercase; color: var(--ink-faint); padding: 8px 14px 6px;
  }

  /* ---------- mobile menu button + panel ---------- */
  .menu-btn { display: none; background: none; border: none; padding: 8px; cursor: pointer; color: var(--ink); }
  @media (max-width: 759px) { .menu-btn { display: flex; } }

  .nav-mobile { display: none; }
  @media (max-width: 759px) {
    .nav-mobile {
      position: fixed; inset: 0; background: var(--card); z-index: 50;
      padding: 90px 24px 32px; overflow-y: auto;
      transform: translateX(100%); transition: transform .32s cubic-bezier(.22,1,.36,1);
    }
    .nav-mobile.is-open { display: block; transform: translateX(0); }
    .nav-mobile-close {
      position: fixed; top: 16px; right: 18px; z-index: 51; background: none; border: none;
      padding: 10px; cursor: pointer; color: var(--ink);
    }
    .nav-mobile-link, .nav-mobile-group > button {
      display: flex; align-items: center; justify-content: space-between; width: 100%;
      padding: 15px 4px; font-family: var(--font-display); font-weight: 700; font-size: 1.02rem;
      color: var(--ink); text-decoration: none; background: none; border: none;
      border-bottom: 1px solid var(--line); text-align: left; cursor: pointer;
    }
    .nav-mobile-group .chevron {
      width: 8px; height: 8px; border-right: 1.6px solid var(--ink-faint); border-bottom: 1.6px solid var(--ink-faint);
      transform: rotate(45deg); transition: transform .2s ease; flex-shrink: 0;
    }
    .nav-mobile-group[data-open="true"] .chevron { transform: rotate(-135deg); }
    .nav-mobile-sub { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
    .nav-mobile-group[data-open="true"] .nav-mobile-sub { max-height: 700px; }
    .nav-mobile-sub a {
      display: block; padding: 11px 4px 11px 16px; font-size: 0.92rem; font-weight: 600;
      color: var(--ink-soft); text-decoration: none; border-bottom: 1px solid var(--line);
    }
    .nav-mobile-sub-heading {
      padding: 12px 4px 4px 16px; font-size: 0.66rem; font-weight: 800; letter-spacing: 0.06em;
      text-transform: uppercase; color: var(--ink-faint);
    }
    .nav-mobile .btn { margin-top: 20px; width: 100%; justify-content: center; }
  }

  .btn {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--font-display); font-weight: 700; font-size: 0.86rem;
    text-decoration: none; padding: 12px 24px; border-radius: 999px;
    border: 1px solid transparent; cursor: pointer;
    transition: transform .15s ease, background .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease;
  }
  .btn:hover { transform: translateY(-1px); }
  .btn-primary { background: var(--red); color: #fff; }
  .btn-primary:hover { background: var(--red-deep); box-shadow: 0 10px 24px -10px rgba(167,19,15,0.5); }
  .btn-green { background: var(--green); color: #16330a; }
  .btn-green:hover { background: var(--green-deep); color: #fff; }
  .btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
  .btn-ghost:hover { border-color: var(--ink); }

  /* ---------- hero ---------- */
  .hero { position: relative; }
  .hero-photo { aspect-ratio: 16 / 6.8; overflow: hidden; }
  @media (max-width: 700px) { .hero-photo { aspect-ratio: 4 / 4.3; } }
  .hero-photo img { width: 100%; height: 100%; object-fit: cover; }

  .hero-cardwrap { position: relative; }
  .hero-card {
    background: var(--card);
    border-radius: 16px;
    box-shadow: var(--shadow);
    padding: 38px 40px;
    max-width: 620px;
    margin-top: -110px;
    position: relative;
    z-index: 2;
  }
  @media (max-width: 700px) { .hero-card { margin-top: -70px; padding: 28px 26px; border-radius: 12px; } }
  .hero-eyebrow { font-size: 0.78rem; font-weight: 700; color: var(--ink-faint); text-transform: uppercase; letter-spacing: 0.06em; }
  .hero-card h1 { color: var(--green-deep); font-size: clamp(1.9rem, 4vw, 2.6rem); line-height: 1.12; margin-top: 10px; }
  .hero-card p { margin-top: 16px; font-size: 1rem; max-width: 46ch; }
  .hero-ctas { display: flex; gap: 14px; margin-top: 26px; flex-wrap: wrap; }

  .trust-badge { position: absolute; right: 6%; bottom: -46px; z-index: 3; }
  @media (max-width: 900px) { .trust-badge { display: none; } }
  .tb-shield {
    position: relative; width: 138px; padding: 18px 0 26px;
    background: var(--red); color: #fff; text-align: center;
    clip-path: polygon(0% 0%, 100% 0%, 100% 88%, 50% 100%, 0% 88%);
    box-shadow: var(--shadow);
    font-family: var(--font-display);
  }
  .tb-shield .l1 { display: block; padding: 0 10px; font-size: 0.62rem; font-weight: 600; opacity: .92; text-transform: uppercase; letter-spacing: .04em; }
  .tb-shield .l2 { display: block; padding: 0 10px; font-size: 0.98rem; font-weight: 900; line-height: 1.1; margin: 3px 0; text-transform: uppercase; }
  .tb-shield .l3 { display: block; padding: 0 10px; font-size: 0.68rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
  .tb-ribbon {
    display: block; margin-top: 12px;
    background: #C9CDD3; color: #4B4F57;
    padding: 5px 0; font-size: 0.72rem; letter-spacing: 3px; text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.18);
  }

  /* ---------- stats ---------- */
  .stats { margin-top: 90px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  @media (max-width: 700px) { .stats { margin-top: 60px; } }
  .stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
  @media (max-width: 700px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }
  .stat { padding: 26px 20px; text-align: center; border-left: 1px solid var(--line); }
  .stat:first-child, .stat:nth-child(3) { border-left: none; }
  @media (min-width: 701px) { .stat:nth-child(3) { border-left: 1px solid var(--line); } }
  @media (max-width: 700px) { .stat:nth-child(odd) { border-left: none; } }
  .stat .num { font-family: var(--font-display); font-weight: 900; font-size: 1.9rem; color: var(--red); font-variant-numeric: tabular-nums; }
  .stat:nth-child(2) .num, .stat:nth-child(4) .num { color: var(--green-deep); }
  .stat .label { margin-top: 4px; font-size: 0.78rem; font-weight: 600; color: var(--ink-soft); }

  /* ---------- sections ---------- */
  section { padding: 90px 0; }
  .section-alt { background: var(--card); }
  .section-head { max-width: 680px; }
  .section-head .eyebrow { font-size: 0.78rem; font-weight: 700; color: var(--ink-faint); text-transform: uppercase; letter-spacing: 0.06em; }
  .section-head h2 { color: var(--green-deep); font-size: clamp(1.7rem, 3.2vw, 2.3rem); margin-top: 10px; }
  .section-head p { margin-top: 14px; font-size: 1.02rem; }
  .section-head.centered { margin: 0 auto 44px; text-align: center; }

  .split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
  @media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 36px; } }
  .split-media img { border-radius: 14px; box-shadow: var(--shadow); aspect-ratio: 4 / 3.3; object-fit: cover; width: 100%; }
  .split.reverse .split-media { order: 2; }
  @media (max-width: 860px) { .split.reverse .split-media { order: 0; } }
  @media (max-width: 700px) { .split-media img { max-width: 88%; margin: 0 auto; display: block; } }

  /* ---------- leistungen cards ---------- */
  .cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 40px; }
  @media (max-width: 860px) { .cards { grid-template-columns: 1fr; } }
  .card {
    border-radius: 14px; overflow: hidden; display: flex; flex-direction: column;
    box-shadow: 0 1px 0 var(--line);
    transition: transform .3s cubic-bezier(.22,1,.36,1), box-shadow .3s ease;
  }
  .card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
  .card-media { aspect-ratio: 5 / 4; }
  .card-media img { width: 100%; height: 100%; object-fit: cover; }
  .card-body { background: var(--slate); padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
  .card-body h3 { color: #fff; font-size: 1.15rem; }
  .card-body p { color: rgba(255,255,255,0.82); font-size: 0.9rem; margin: 0; flex: 1; }
  .card-body .btn { align-self: flex-start; margin-top: 4px; }

  .more-services {
    margin-top: 22px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
    background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
  }
  @media (max-width: 700px) { .more-services { grid-template-columns: 1fr; } }
  .more-service { background: var(--paper); padding: 20px 22px; border-left: 3px solid var(--green); display: flex; flex-direction: column; gap: 4px; transition: background .2s ease; text-decoration: none; }
  .more-service:hover { background: var(--green-wash); }
  .more-service .k { font-family: var(--font-display); font-weight: 700; font-size: 0.94rem; }
  .more-service .d { font-size: 0.84rem; color: var(--ink-soft); }
  .services-footer { margin-top: 30px; display: flex; justify-content: center; }

  /* ---------- full-bleed feature (beratung) ---------- */
  .feature { position: relative; }
  .feature-photo { aspect-ratio: 16 / 5.2; overflow: hidden; }
  @media (max-width: 700px) { .feature-photo { aspect-ratio: 4 / 3.6; margin: 0 18px; border-radius: 14px; } }
  .feature-photo img { width: 100%; height: 100%; object-fit: cover; }
  .feature-card {
    background: var(--card); border-radius: 16px; box-shadow: var(--shadow);
    padding: 34px 38px; max-width: 520px; margin-top: -90px; position: relative; z-index: 2;
  }
  @media (max-width: 700px) { .feature-card { margin-top: -60px; padding: 26px 24px; } }
  .feature.reverse .feature-card { margin-left: auto; }
  .feature-card h2 { color: var(--green-deep); font-size: clamp(1.5rem, 3vw, 2rem); margin-top: 8px; }
  .checklist { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
  .checklist li { display: flex; gap: 12px; align-items: flex-start; font-size: 0.94rem; color: var(--ink); }
  .checklist .tick {
    flex-shrink: 0; width: 20px; height: 20px; border-radius: 50%;
    background: var(--green-wash); color: var(--green-deep);
    display: flex; align-items: center; justify-content: center; font-size: 0.7rem; margin-top: 2px;
  }

  /* ---------- angebot / quality card ---------- */
  .offer { position: relative; }
  .offer-photo { aspect-ratio: 16 / 7.5; overflow: hidden; border-radius: 16px; }
  @media (max-width: 700px) { .offer-photo { aspect-ratio: 4 / 5; margin: 0 12px; } }
  .offer-photo img { width: 100%; height: 100%; object-fit: cover; }
  .offer-card {
    background: var(--card); border-radius: 16px; box-shadow: var(--shadow);
    padding: 30px 34px; display: flex; align-items: center; gap: 22px;
    max-width: 640px; margin: -50px auto 0; position: relative; z-index: 2;
  }
  @media (max-width: 620px) { .offer-card { flex-direction: column; text-align: center; margin-top: -40px; padding: 26px; } }
  .offer-icon {
    flex-shrink: 0; width: 64px; height: 64px; border-radius: 50%;
    background: var(--red); color: #fff; display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem; box-shadow: var(--shadow);
  }
  .offer-card .kicker { font-size: 0.76rem; font-weight: 700; color: var(--ink-faint); text-transform: uppercase; letter-spacing: 0.06em; }
  .offer-card h3 { font-size: 1.3rem; margin-top: 4px; color: var(--ink); }
  .offer-card p { margin: 6px 0 0; font-size: 0.92rem; }

  /* ---------- online booking embed ---------- */
  .booking-embed {
    background: var(--card); border-radius: 16px; box-shadow: var(--shadow);
    padding: 40px; max-width: 560px; margin: 0 auto; text-align: center;
  }
  .booking-embed-icon {
    width: 56px; height: 56px; border-radius: 50%; margin: 0 auto 18px;
    background: var(--green-wash); color: var(--green-deep);
    display: flex; align-items: center; justify-content: center;
  }
  .booking-embed p { color: var(--ink-soft); font-size: 0.94rem; line-height: 1.6; }
  .booking-embed code { background: var(--paper); border-radius: 4px; padding: 2px 6px; font-size: 0.86em; }
  .booking-embed .btn { margin-top: 18px; }

  /* ---------- faq ---------- */
  .faq { max-width: 780px; margin: 0 auto; }
  .faq-item { border-bottom: 1px solid var(--line); }
  .faq-item:first-child { border-top: 1px solid var(--line); }
  .faq-q {
    width: 100%; text-align: left; background: none; border: none; padding: 22px 4px;
    font-family: var(--font-display); font-size: 1rem; font-weight: 700; color: var(--ink);
    display: flex; align-items: center; justify-content: space-between; gap: 16px; cursor: pointer;
  }
  .faq-q .plus {
    flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%;
    background: var(--green-wash); color: var(--green-deep);
    display: flex; align-items: center; justify-content: center; font-size: 1rem;
    transition: transform .3s cubic-bezier(.22,1,.36,1), background .3s ease;
  }
  .faq-item[data-open="true"] .plus { transform: rotate(135deg); background: var(--red); color: #fff; }
  .faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s cubic-bezier(.22,1,.36,1); }
  .faq-item[data-open="true"] .faq-a { grid-template-rows: 1fr; }
  .faq-a-inner { overflow: hidden; }
  .faq-a p { padding: 0 4px 22px; margin: 0; font-size: 0.94rem; }
  @media (prefers-reduced-motion: reduce) { .card, .faq-a, .plus, .more-service { transition: none; } }

  /* ---------- mobile sticky cta ---------- */
  .mobile-cta {
    position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 40;
    display: flex; align-items: stretch; gap: 10px;
    transform: translateY(140%); transition: transform .35s cubic-bezier(.22,1,.36,1);
  }
  .mobile-cta.show { transform: translateY(0); }
  .mobile-cta .btn { flex: 1; width: auto; justify-content: center; box-shadow: var(--shadow); }
  .mobile-cta .whatsapp-btn {
    flex-shrink: 0; width: 52px; height: 52px; border-radius: 50%;
    background: #25D366; display: flex; align-items: center; justify-content: center;
    box-shadow: var(--shadow);
  }
  .mobile-cta .whatsapp-btn svg { width: 26px; height: 26px; fill: #fff; }
  @media (min-width: 760px) { .mobile-cta { display: none; } }
  @media (prefers-reduced-motion: reduce) { .mobile-cta { transition: none; } }

  /* ---------- footer ---------- */
  footer.site { background: var(--slate-darker); color: #fff; }
  .footer-top { padding: 64px 0 40px; display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 44px; }
  @media (max-width: 780px) { .footer-top { grid-template-columns: 1fr; gap: 34px; } }
  .footer-top h4 {
    font-family: var(--font-display); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.12em;
    text-transform: uppercase; color: rgba(255,255,255,0.5); margin: 0 0 16px;
  }
  .footer-brand img { height: 42px; border-radius: 6px; margin-bottom: 16px; }
  .footer-brand p { color: rgba(255,255,255,0.68); font-size: 0.92rem; max-width: 34ch; }
  .footer-locations { display: flex; flex-direction: column; gap: 18px; }
  .footer-location .name { font-weight: 700; color: #fff; font-size: 0.96rem; font-family: var(--font-display); }
  .footer-location .addr { color: rgba(255,255,255,0.68); font-size: 0.9rem; margin-top: 2px; }
  .footer-contact a { display: block; color: #fff; text-decoration: none; font-weight: 700; font-size: 0.98rem; margin-bottom: 10px; transition: color .15s ease; }
  .footer-contact a:hover { color: var(--green); }
  .footer-hours { color: rgba(255,255,255,0.68); font-size: 0.9rem; margin-top: 4px; }
  .footer-trust { display: flex; align-items: center; gap: 16px; margin-top: 6px; }
  .footer-trust .tb-shield { transform: scale(0.82); transform-origin: left top; }
  .footer-social { display: flex; gap: 10px; margin-top: 18px; }
  .footer-social a {
    display: flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; border-radius: 50%;
    background: rgba(255,255,255,0.08); color: #fff;
    transition: background .15s ease, color .15s ease;
  }
  .footer-social a:hover { background: var(--green); color: var(--slate-darker); }
  .footer-bottom {
    border-top: 3px solid var(--green); padding: 22px 0;
    display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
    font-size: 0.78rem; color: rgba(255,255,255,0.5);
  }
  .footer-bottom a { text-decoration: none; color: inherit; }
  .footer-bottom a:hover { color: #fff; }

  /* Fußzeile im websilencer-Stil (wie trockenbau-tzschirner.de) */
  .ts-foot { align-items: center; }
  .ts-foot-left { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
  .ts-foot__brand { font-family: var(--font-display); font-weight: 700; letter-spacing: 0.04em; font-size: 0.9rem; color: #fff; } /* ohne uppercase: sonst wird „Preuß“ zu „PREUSS“ */
  a.ts-foot__credit {
    display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.15); background: rgba(255,255,255,0.05);
    color: #fff; font-size: 0.8rem; text-decoration: none; transition: border-color .2s, background .2s;
  }
  a.ts-foot__credit span { color: rgba(255,255,255,0.55); }
  a.ts-foot__credit::before {
    content: ""; width: 7px; height: 7px; border-radius: 50%; background: #5fd4ff;
    box-shadow: 0 0 6px 2px rgba(95,212,255,0.75), 0 0 14px 4px rgba(95,212,255,0.35);
    animation: tsGlow 2.4s ease-in-out infinite;
  }
  a.ts-foot__credit:hover { border-color: var(--green); background: rgba(122,184,0,0.12); color: #fff; }
  @keyframes tsGlow { 0%, 100% { opacity: 1; } 50% { opacity: 0.45; } }
  @media (prefers-reduced-motion: reduce) { a.ts-foot__credit::before { animation: none; } }
  .ts-legal { display: flex; gap: 24px; }
  .ts-legal a { position: relative; padding: 4px 0; color: rgba(255,255,255,0.75); font-size: 0.85rem; }
  .ts-legal a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--green);
    transform: scaleX(0); transform-origin: left; transition: transform .2s;
  }
  .ts-legal a:hover { color: #fff; }
  .ts-legal a:hover::after { transform: scaleX(1); }
  @media (max-width: 620px) { .ts-foot { flex-direction: column; align-items: flex-start; } }

  /* Brotkrümel-Navigation unter dem Header (alle Unterseiten) */
  .breadcrumb { background: var(--card); border-bottom: 1px solid var(--line); font-size: 0.85rem; }
  .breadcrumb ol { list-style: none; margin: 0; padding: 10px 0; display: flex; flex-wrap: wrap; gap: 6px; color: var(--ink-faint); }
  .breadcrumb li + li::before { content: "›"; margin-right: 6px; color: var(--ink-faint); }
  .breadcrumb a { color: var(--ink-soft); text-decoration: none; }
  .breadcrumb a:hover { color: var(--green-deep); text-decoration: underline; }
  .breadcrumb [aria-current="page"] { color: var(--ink); font-weight: 600; }

  /* zwei Standort-Karten nebeneinander */
  .location-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 24px; max-width: 980px; margin: 0 auto; }
  .location-grid .offer-card { margin: 0; max-width: none; height: 100%; align-items: flex-start; }
  @media (max-width: 620px) { .location-grid .offer-card { margin: 0; align-items: center; } }
  .faq-a p a { color: var(--green-deep); }

  /* Kundenstimmen (Startseite) */
  .reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 22px; }
  .review { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 26px 26px 22px; display: flex; flex-direction: column; gap: 12px; box-shadow: var(--shadow); }
  .review blockquote { margin: 0; color: var(--ink); font-size: 0.98rem; line-height: 1.65; flex: 1; }
  .review figcaption { font-family: var(--font-display); font-weight: 700; color: var(--green-deep); font-size: 0.92rem; }


  /* ===== WordPress-spezifisch (nur im Theme, nicht in den statischen Seiten) ===== */

  .skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--card); color: var(--ink); padding: 10px 16px; border-radius: 8px; }
  .skip-link:focus { left: 8px; }

  /* WP-Adminleiste: sticky Header darunter halten */
  .admin-bar header.site { top: 32px; }
  @media (max-width: 782px) { .admin-bar header.site { top: 46px; } }
  @media (max-width: 600px) { .admin-bar header.site { top: 0; } }

  /* Generische Seiten (ohne Design-Template), Beiträge, 404 */
  .page-generic .section-head { margin-bottom: 32px; }
  .page-generic h1 { color: var(--green-deep); font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin-top: 10px; }
  .entry-content { max-width: 780px; }
  .entry-content a { color: var(--green-deep); }
  .entry-content img { height: auto; border-radius: 12px; }
  .entry-teaser { padding: 22px 0; border-bottom: 1px solid var(--line); }
  .entry-teaser h2 { font-size: 1.3rem; }
  .entry-teaser h2 a { color: var(--ink); text-decoration: none; }

  /* Karten für Buchungskalender (Easy Appointments) und Kontaktformular (Contact Form 7) */
  .booking-form, .contact-form {
    max-width: 760px; margin: 0 auto; background: var(--card); border-radius: 16px;
    box-shadow: var(--shadow); padding: clamp(20px, 4vw, 36px); color: var(--ink);
  }
  .booking-form label, .contact-form label { display: block; font-weight: 600; font-size: 0.92rem; color: var(--ink); }
  .booking-form .form-control,
  .contact-form input[type="text"], .contact-form input[type="email"], .contact-form input[type="tel"],
  .contact-form input[type="date"], .contact-form select, .contact-form textarea {
    width: 100%; margin-top: 6px; padding: 12px 14px; font: inherit; font-size: 0.95rem;
    color: var(--ink); background: var(--paper); border: 1px solid var(--line-strong); border-radius: 10px;
  }
  .booking-form .form-control:focus, .contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
    outline: none; border-color: var(--green); box-shadow: 0 0 0 3px var(--green-wash);
  }
  .contact-form textarea { min-height: 160px; }
  .contact-form p { margin: 0 0 16px; }
  .contact-form .wpcf7-submit, .booking-form .btn-primary, .booking-form button.ea-btn {
    display: inline-flex; align-items: center; justify-content: center; padding: 14px 26px; border: 0;
    border-radius: 999px; background: var(--red); color: #fff; font: inherit; font-weight: 700; cursor: pointer;
  }
  .contact-form .wpcf7-submit:hover, .booking-form .btn-primary:hover, .booking-form button.ea-btn:hover { background: var(--red-deep); }
  .contact-form .wpcf7-not-valid-tip { color: var(--red); font-size: 0.85rem; }
  .contact-form .wpcf7-response-output { border-radius: 10px; margin: 16px 0 0 !important; padding: 12px 16px !important; }
  /* ===== Easy Appointments im Design (Plugin-CSS ist hell/Bootstrap-3, daher gezielt überschrieben) ===== */
  .booking-form .ea-bootstrap { max-width: none !important; white-space: normal; font-family: var(--font-body); color: var(--ink); }
  .booking-form .ea-bootstrap .form-horizontal .form-group {
    display: grid; grid-template-columns: 150px 1fr; gap: 14px; align-items: center; margin: 0 0 14px;
  }
  .booking-form .ea-bootstrap .form-group::before, .booking-form .ea-bootstrap .form-group::after,
  .booking-form .ea-bootstrap .form-horizontal::before, .booking-form .ea-bootstrap .form-horizontal::after { content: none !important; display: none !important; }
  .booking-form .ea-bootstrap [class*="col-sm-"], .booking-form .ea-bootstrap [class*="col-md-"] { width: auto !important; float: none !important; padding: 0 !important; min-height: 0; }
  .booking-form .ea-bootstrap .control-label { text-align: left !important; padding: 0 !important; margin: 0; color: var(--ink); font-weight: 600; }
  .booking-form .ea-bootstrap .form-control { margin-top: 0; height: auto; box-shadow: none; }
  .booking-form .ea-bootstrap .ea-service-description-wrap { display: none; }
  @media (max-width: 560px) {
    .booking-form .ea-bootstrap .form-horizontal .form-group { grid-template-columns: 1fr; gap: 6px; }
  }

  /* gesperrte Schritte: dezent statt grauer Balken */
  .booking-form .ea-bootstrap .disabled .block { background: var(--card); opacity: 0.55; border-radius: 10px; }

  /* Datumsauswahl */
  .booking-form .ea-bootstrap .ui-datepicker {
    width: 100% !important; margin: 8px 0 18px; padding: 16px; background: var(--paper); color: var(--ink);
    border: 1px solid var(--line-strong); border-radius: 14px; box-shadow: none; font-family: var(--font-body);
  }
  .booking-form .ea-bootstrap .ui-datepicker .ui-widget-header, .booking-form .ea-bootstrap .ui-datepicker-header { background: none; border: 0; }
  .booking-form .ea-bootstrap .ui-datepicker-title { color: var(--ink); font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; padding: 4px 0 10px; }
  .booking-form .ea-bootstrap .ui-datepicker-prev, .booking-form .ea-bootstrap .ui-datepicker-next { color: var(--green-deep); cursor: pointer; }
  .booking-form .ea-bootstrap .ui-datepicker-prev:before, .booking-form .ea-bootstrap .ui-datepicker-next:before { color: var(--green-deep); }
  .booking-form .ea-bootstrap .ui-datepicker th { color: var(--ink-faint); font-size: 0.78rem; font-weight: 700; text-transform: uppercase; padding: 6px 0; }
  .booking-form .ea-bootstrap .ui-datepicker table, .booking-form .ea-bootstrap .ui-datepicker th, .booking-form .ea-bootstrap .ui-datepicker td { border: 0; background: none; }
  .booking-form .ea-bootstrap .ui-datepicker td { padding: 3px; }
  .booking-form .ea-bootstrap .ui-datepicker td a, .booking-form .ea-bootstrap .ui-datepicker td span {
    display: block; padding: 8px 0; text-align: center; border-radius: 8px; border: 0; font-size: 0.95rem;
    background: transparent; color: var(--ink-faint);
  }
  .booking-form .ea-bootstrap .ui-datepicker td.free a { background: var(--green-wash); color: var(--green-deep); font-weight: 700; }
  .booking-form .ea-bootstrap .ui-datepicker td.free:hover a, .booking-form .ea-bootstrap .ui-datepicker td a:hover { background: var(--green); color: #16330a; }
  .booking-form .ea-bootstrap .ui-datepicker .ui-datepicker-current-day a,
  .booking-form .ea-bootstrap .ui-datepicker .ui-state-active { background: var(--green) !important; color: #16330a !important; }
  .booking-form .ea-bootstrap .ui-datepicker .ui-state-disabled, .booking-form .ea-bootstrap .ui-datepicker .ui-state-disabled span { font-size: 0.95rem; opacity: 0.6; }
  .booking-form .ea-bootstrap .ui-datepicker .no-slots a, .booking-form .ea-bootstrap .ui-datepicker .busy a { background: transparent; color: var(--ink-faint); text-decoration: line-through; }

  /* Uhrzeiten */
  .booking-form .ea-bootstrap .time { gap: 8px; margin-bottom: 18px; }
  .booking-form .ea-bootstrap .time-value, .booking-form .ea-bootstrap .time-disabled {
    flex: 0 0 calc(25% - 6px); max-width: calc(25% - 6px); min-width: 0; padding: 9px 0; font-size: 0.92rem;
    border: 1px solid var(--line-strong); border-radius: 999px; background: var(--paper); color: var(--ink); cursor: pointer;
  }
  .booking-form .ea-bootstrap .time-disabled { opacity: 0.4; cursor: not-allowed; }
  .booking-form .ea-bootstrap .time-value:hover { border-color: var(--green); background: var(--green-wash); }
  .booking-form .ea-bootstrap.ea-bootstrap .selected-time, .booking-form .ea-bootstrap.ea-bootstrap .selected-time:hover { background: var(--green); border-color: var(--green); color: #16330a; font-weight: 700; }
  @media (max-width: 560px) {
    .booking-form .ea-bootstrap .time-value, .booking-form .ea-bootstrap .time-disabled { flex-basis: calc(33.333% - 6px); max-width: calc(33.333% - 6px); }
  }

  /* Persönliche Daten, Übersicht, Buttons */
  .booking-form .ea-bootstrap h3, .booking-form .ea-bootstrap .final h3 { font-family: var(--font-display); color: var(--green-deep); font-size: 1.3rem; margin: 22px 0 6px; }
  .booking-form .ea-bootstrap small { display: block; margin-bottom: 16px; color: var(--ink-soft); }
  .booking-form .ea-bootstrap #booking-overview table, .booking-form .ea-bootstrap #ea-overview-details .ea-overview-table { width: 100%; border-collapse: collapse; }
  .booking-form .ea-bootstrap #booking-overview td { padding: 8px 0; border-bottom: 1px solid var(--line); color: var(--ink); }
  .booking-form .ea-bootstrap .ea-actions-group { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
  .booking-form .ea-bootstrap .ea-btn {
    display: inline-flex; align-items: center; justify-content: center; padding: 13px 24px; border-radius: 999px;
    font: inherit; font-weight: 700; border: 1px solid transparent; opacity: 1; cursor: pointer;
  }
  .booking-form .ea-bootstrap .ea-submit { background: var(--red); color: #fff; }
  .booking-form .ea-bootstrap .ea-submit:hover { background: var(--red-deep); }
  .booking-form .ea-bootstrap .ea-cancel { background: transparent; color: var(--ink); border-color: var(--line-strong); }
  .booking-form .ea-bootstrap .ea-btn[disabled] { opacity: 0.45; cursor: not-allowed; }
  .booking-form .ea-bootstrap label.error { color: var(--red); font-size: 0.85rem; font-weight: 600; }
  .booking-form .ea-bootstrap input.error, .booking-form .ea-bootstrap textarea.error, .booking-form .ea-bootstrap select.error { border-color: var(--red); }

  /* Easy Appointments lädt sein Bootstrap-CSS nach dem Theme — deshalb hier mit !important */
  .booking-form .ea-bootstrap .step:not(.disabled) > .block { display: none !important; }
  .booking-form .ea-bootstrap .form-control {
    background: var(--paper) !important; color: var(--ink) !important; border: 1px solid var(--line-strong) !important;
    border-radius: 10px !important; padding: 11px 14px !important; font: inherit !important; font-size: 0.95rem !important;
  }
  .booking-form .ea-bootstrap select.form-control { padding-right: 34px !important; }
  .booking-form .ea-bootstrap .ea-actions-group { grid-column: 1 / -1; flex-direction: row !important; flex-wrap: wrap; gap: 10px; float: none; }
  .booking-form .ea-bootstrap .ea-btn { width: auto !important; margin: 0 !important; border-radius: 999px !important; padding: 13px 24px !important; font-weight: 700 !important; }
  .booking-form .ea-bootstrap .ea-submit { background: var(--red) !important; border-color: var(--red) !important; color: #fff !important; }
  .booking-form .ea-bootstrap .ea-submit:hover { background: var(--red-deep) !important; }
  .booking-form .ea-bootstrap .ea-cancel { background: transparent !important; border-color: var(--line-strong) !important; color: var(--ink) !important; }

  /* Uhrzeiten werden von EA innerhalb der Kalendertabelle ausgegeben (tr.time-row > td > div.time.well) */
  .booking-form .ea-bootstrap .time-row td { padding: 12px 0 4px !important; }
  .booking-form .ea-bootstrap .time.well { background: transparent !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; margin: 0 !important; }
  .booking-form .ea-bootstrap .ui-datepicker td .time-value, .booking-form .ea-bootstrap .ui-datepicker td .time-disabled {
    display: block; padding: 9px 0; text-align: center; border-radius: 999px; font-size: 0.92rem; font-weight: 600;
    border: 1px solid var(--line-strong); background: var(--card); color: var(--ink);
  }
  .booking-form .ea-bootstrap .ui-datepicker td .time-value:hover { border-color: var(--green); background: var(--green-wash); color: var(--green-deep); }
  .booking-form .ea-bootstrap.ea-bootstrap .ui-datepicker td .selected-time { background: var(--green); border-color: var(--green); color: #16330a; }
  .booking-form .ea-bootstrap .ui-datepicker td .time-disabled { opacity: 0.4; }
