/* ==========================================================================
   pfotentherapeut.de – Design-System
   Version 1.6 · Stand 09/2026 · Upload nach /wp-content/uploads/css/pfotentherapeut.css
   Danach in Divi > Theme-Optionen die Version im Link auf ?v=1.6 hochzaehlen.
   --------------------------------------------------------------------------
   Alles ist unter .pt gescoped, damit es sich nicht mit Divi-Styles beißt.
   Farbpalette geprüft nach WCAG 2.2 – alle Textpaare erreichen AA, die
   meisten AAA. Werte siehe Kommentare.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1 · Schriften (lokal, kein Google-CDN – DSGVO-sauber)
   Dateien liegen unter /wp-content/uploads/fonts/
   -------------------------------------------------------------------------- */

@font-face {
  font-family: 'Bricolage PT';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url('/wp-content/uploads/fonts/bricolage-grotesque-latin.woff2') format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
                 U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
                 U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Bricolage PT';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url('/wp-content/uploads/fonts/bricolage-grotesque-latin-ext.woff2') format('woff2-variations');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
                 U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
                 U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Instrument PT';
  font-style: normal;
  font-display: swap;
  font-weight: 400 700;
  src: url('/wp-content/uploads/fonts/instrument-sans-latin.woff2') format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
                 U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
                 U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Instrument PT';
  font-style: normal;
  font-display: swap;
  font-weight: 400 700;
  src: url('/wp-content/uploads/fonts/instrument-sans-latin-ext.woff2') format('woff2-variations');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
                 U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
                 U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Instrument PT';
  font-style: italic;
  font-display: swap;
  font-weight: 400 700;
  src: url('/wp-content/uploads/fonts/instrument-sans-latin-italic.woff2') format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
                 U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
                 U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --------------------------------------------------------------------------
   2 · Design-Tokens
   -------------------------------------------------------------------------- */

.pt {
  /* Farben – Kontrastwerte gegen die jeweilige Fläche in Klammern */
  --ink:          #14181A;   /* Haupttext            auf Weiß 17.87:1 · AAA */
  --ink-2:        #3C4448;   /* Fließtext sekundär   auf Weiß  9.94:1 · AAA */
  --ink-3:        #667074;   /* Labels, Meta         auf Weiß  5.08:1 · AA  */
  --surface:      #FFFFFF;
  --surface-2:    #F4F7F6;   /* Sektionsfläche kühl-neutral */
  --surface-3:    #E9EEEC;
  --line:         #DCE3E1;
  --line-strong:  #C3CDCA;

  --accent:       #00A878;   /* Signalfarbe – nur Flächen. Ink darauf 5.85:1 · AA */
  --accent-ink:   #005C43;   /* Signalfarbe als Text auf Weiß 8.04:1 · AAA */
  --accent-soft:  #E2F5EE;
  --accent-line:  #9FDCC6;

  --warn:         #9E3D1B;   /* Hinweise auf Weiß 6.69:1 · AA */
  --warn-soft:    #FCEFE9;
  --warn-line:    #F0C9B6;

  /* Typografie */
  --font-display: 'Bricolage PT', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-text:    'Instrument PT', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;

  --t-display: clamp(2.6rem, 1.4rem + 4.6vw, 5.4rem);
  --t-h1:      clamp(2.1rem, 1.3rem + 3.1vw, 3.9rem);
  --t-h2:      clamp(1.7rem, 1.2rem + 1.9vw, 2.7rem);
  --t-h3:      clamp(1.22rem, 1.05rem + 0.7vw, 1.55rem);
  --t-lead:    clamp(1.08rem, 1rem + 0.4vw, 1.3rem);
  --t-body:    clamp(1rem, 0.97rem + 0.17vw, 1.08rem);
  --t-small:   0.925rem;
  --t-micro:   0.79rem;

  /* Raster & Rhythmus */
  --wrap:      1200px;
  --wrap-text: 720px;
  --gutter:    clamp(1.25rem, 4vw, 3rem);
  --sp-section: clamp(4rem, 3rem + 6vw, 8.5rem);

  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;

  --shadow-1: 0 1px 2px rgba(20,24,26,.05), 0 4px 14px rgba(20,24,26,.05);
  --shadow-2: 0 2px 6px rgba(20,24,26,.06), 0 18px 44px rgba(20,24,26,.09);

  --ease: cubic-bezier(.22, 1, .36, 1);

  /* Grundlagen */
  font-family: var(--font-text);
  font-size: var(--t-body);
  line-height: 1.62;
  color: var(--ink-2);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: 'kern' 1, 'liga' 1, 'calt' 1;
}

.pt *, .pt *::before, .pt *::after { box-sizing: border-box; }

/* --------------------------------------------------------------------------
   3 · Typografie
   -------------------------------------------------------------------------- */

.pt h1, .pt h2, .pt h3, .pt h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.06;
  letter-spacing: -0.025em;
  margin: 0 0 .6em;
  font-weight: 600;
  text-wrap: balance;
  overflow-wrap: break-word;
  hyphens: auto;
}
.pt h1 { font-size: var(--t-h1); }
.pt h2 { font-size: var(--t-h2); }
.pt h3 { font-size: var(--t-h3); line-height: 1.24; letter-spacing: -0.015em; font-weight: 600; }
.pt h4 { font-size: 1.05rem; line-height: 1.3; letter-spacing: -0.01em; }

.pt p { margin: 0 0 1.15em; }
.pt p:last-child { margin-bottom: 0; }
/* :where() hält die Spezifität niedrig, damit Buttons, Chips und Karten-Links
   ihre eigene Darstellung behalten und nicht unterstrichen werden. */
.pt :where(a) { color: var(--accent-ink); text-decoration: underline; text-underline-offset: .18em; text-decoration-thickness: 1px; }
.pt :where(a):hover { text-decoration-thickness: 2px; }
.pt strong, .pt b { color: var(--ink); font-weight: 600; }
.pt small { font-size: var(--t-small); }

.pt-display { font-family: var(--font-display); font-size: var(--t-display); line-height: .98; letter-spacing: -0.038em; font-weight: 600; color: var(--ink); margin: 0 0 .4em; text-wrap: balance; }
.pt-lead    { font-size: var(--t-lead); line-height: 1.55; color: var(--ink-2); max-width: 58ch; text-wrap: pretty; }
.pt-muted   { color: var(--ink-3); }
.pt-micro   { font-size: var(--t-micro); line-height: 1.5; color: var(--ink-3); }

/* Eyebrow / Kicker – das redaktionelle Signal über Überschriften */
.pt-eyebrow {
  display: inline-flex; align-items: center; gap: .55em;
  font-size: .72rem; font-weight: 600; letter-spacing: .13em; text-transform: uppercase;
  color: var(--accent-ink); margin: 0 0 1.1em;
}
.pt-eyebrow::before { content: ''; width: 1.6em; height: 1px; background: var(--accent-line); flex: none; }
.pt-eyebrow--plain::before { display: none; }
.pt-eyebrow--light { color: var(--accent); }
.pt-eyebrow--light::before { background: rgba(0,168,120,.5); }

/* --------------------------------------------------------------------------
   4 · Layout
   -------------------------------------------------------------------------- */

.pt-wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.pt-wrap--text { max-width: calc(var(--wrap-text) + 2 * var(--gutter)); }
.pt-wrap--wide { max-width: 1400px; }

.pt-section { padding-block: var(--sp-section); position: relative; }
.pt-section--tight { padding-block: clamp(2.5rem, 2rem + 3vw, 4.5rem); }
.pt-section--tint  { background: var(--surface-2); }
.pt-section--soft  { background: var(--accent-soft); }
.pt-section--dark  { background: var(--ink); color: rgba(255,255,255,.76); }
.pt-section--dark h1, .pt-section--dark h2, .pt-section--dark h3, .pt-section--dark .pt-display { color: #fff; }
.pt-section--dark .pt-lead { color: rgba(255,255,255,.76); }
/* Textlinks im dunklen Abschnitt: Mint. Buttons ausgenommen, sonst bekommt
   der Primärbutton Mint auf Mint und ist nicht mehr lesbar. */
.pt-section--dark a:not(.pt-btn) { color: var(--accent); }
.pt-section--dark .pt-btn--primary,
.pt-section--dark .pt-btn--primary:hover { color: var(--ink); }
.pt-section--dark .pt-btn--dark,
.pt-section--dark .pt-btn--dark:hover { color: #fff; }

.pt-grid { display: grid; gap: clamp(1.25rem, 2.4vw, 2rem); }
.pt-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pt-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pt-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
/* Asymmetrie statt Standard-Halbe-Halbe – wirkt redaktioneller */
.pt-grid--split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.pt-grid--split-r { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }

.pt-stack > * + * { margin-top: var(--gap, 1.25rem); }
.pt-center { text-align: center; margin-inline: auto; }
.pt-center .pt-lead { margin-inline: auto; }
.pt-sticky { position: sticky; top: clamp(1.5rem, 8vh, 6rem); }

.pt-rule { height: 1px; background: var(--line); border: 0; margin: 0; }
.pt-rule--strong { background: var(--line-strong); }

/* --------------------------------------------------------------------------
   5 · Buttons
   -------------------------------------------------------------------------- */

.pt-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  font-family: var(--font-text); font-size: 1rem; font-weight: 600; line-height: 1;
  letter-spacing: -0.005em;
  padding: 1.05em 1.75em; border-radius: 100px; border: 1px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: transform .25s var(--ease), background-color .2s, border-color .2s, box-shadow .25s;
  min-height: 48px; /* Touch-Ziel nach WCAG 2.2 AA */
}
.pt-btn:hover { text-decoration: none; transform: translateY(-2px); }
.pt-btn:active { transform: translateY(0); }
.pt-btn svg { width: 1.1em; height: 1.1em; flex: none; }

/* Primär: Mint-Fläche mit dunklem Text – 5.85:1, AA für jede Schriftgröße */
.pt-btn--primary { background: var(--accent); color: var(--ink); box-shadow: 0 1px 2px rgba(0,92,67,.18); }
.pt-btn--primary:hover { background: #00BD87; color: var(--ink); box-shadow: 0 8px 24px rgba(0,168,120,.32); }

/* Sekundär: Anthrazit-Fläche, Weiß – 17.87:1 */
.pt-btn--dark { background: var(--ink); color: #fff; }
.pt-btn--dark:hover { background: #22282B; color: #fff; }

/* Tertiär: Outline */
.pt-btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.pt-btn--ghost:hover { border-color: var(--ink); background: var(--surface-2); color: var(--ink); }
.pt-section--dark .pt-btn--ghost { color: #fff; border-color: rgba(255,255,255,.3); }
.pt-section--dark .pt-btn--ghost:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.6); color: #fff; }

.pt-btn--sm { padding: .78em 1.3em; font-size: .93rem; min-height: 44px; }
.pt-btn--block { display: flex; width: 100%; }

/* Textlink mit Pfeil */
.pt-link {
  display: inline-flex; align-items: center; gap: .5em;
  font-weight: 600; color: var(--accent-ink); text-decoration: none;
  border-bottom: 1px solid var(--accent-line); padding-bottom: 2px;
  transition: border-color .2s, gap .25s var(--ease);
}
.pt-link:hover { border-color: var(--accent-ink); gap: .8em; text-decoration: none; }
.pt-link svg { width: .95em; height: .95em; }

/* --------------------------------------------------------------------------
   6 · Karten & Flächen
   -------------------------------------------------------------------------- */

.pt-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(1.5rem, 1rem + 1.6vw, 2.25rem);
  display: flex; flex-direction: column;
  transition: border-color .3s, box-shadow .3s, transform .3s var(--ease);
}
.pt-card--hover:hover { border-color: var(--line-strong); box-shadow: var(--shadow-2); transform: translateY(-3px); }
.pt-card--flat { border-radius: var(--r-md); box-shadow: none; }
.pt-card--tint { background: var(--surface-2); border-color: transparent; }
.pt-card--dark { background: var(--ink); border-color: transparent; color: rgba(255,255,255,.72); }
.pt-card--dark h3, .pt-card--dark h2 { color: #fff; }

.pt-badge {
  display: inline-flex; align-items: center; gap: .4em;
  font-size: var(--t-micro); font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  padding: .45em .85em; border-radius: 100px;
  background: var(--accent-soft); color: var(--accent-ink); border: 1px solid var(--accent-line);
}
.pt-badge--neutral { background: var(--surface-2); color: var(--ink-2); border-color: var(--line); }
.pt-badge--solid { background: var(--accent); color: var(--ink); border-color: transparent; }

/* Hinweis-/Disclaimer-Block – bewusst ruhig, nicht alarmistisch */
.pt-note {
  border-left: 3px solid var(--warn-line); background: var(--warn-soft);
  padding: 1.15rem 1.35rem; border-radius: 0 var(--r-sm) var(--r-sm) 0;
  font-size: var(--t-small); line-height: 1.6; color: var(--warn);
}
.pt-note strong { color: var(--warn); }
.pt-note--neutral { border-left-color: var(--line-strong); background: var(--surface-2); color: var(--ink-2); }
.pt-note--neutral strong { color: var(--ink); }

/* --------------------------------------------------------------------------
   7 · Icons (Inline-SVG, 1.5px Strich, erbt currentColor)
   -------------------------------------------------------------------------- */

.pt-icon { width: 24px; height: 24px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.pt-icon--lg { width: 32px; height: 32px; stroke-width: 1.25; }
.pt-icon-box {
  width: 48px; height: 48px; border-radius: var(--r-md);
  display: grid; place-items: center; flex: none;
  background: var(--accent-soft); color: var(--accent-ink); border: 1px solid var(--accent-line);
}

/* --------------------------------------------------------------------------
   8 · Listen
   -------------------------------------------------------------------------- */

.pt-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.pt-list li { display: flex; gap: .75rem; align-items: flex-start; line-height: 1.55; }
.pt-list li > svg { width: 20px; height: 20px; margin-top: .18em; flex: none; stroke: var(--accent-ink); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pt-section--dark .pt-list li > svg { stroke: var(--accent); }

/* Datenliste – Schlüssel/Wert mit Haarlinie, statt Icon-Karten */
.pt-dl { display: grid; gap: 0; margin: 0; border-top: 1px solid var(--line); }
.pt-dl > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 1.5rem; padding: 1.05rem 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.pt-dl dt { font-weight: 600; color: var(--ink); font-size: var(--t-small); }
.pt-dl dd { margin: 0; color: var(--ink-2); font-size: var(--t-small); }

/* --------------------------------------------------------------------------
   9 · Preis-Darstellung
   -------------------------------------------------------------------------- */

.pt-price { display: flex; align-items: baseline; gap: .6rem; flex-wrap: wrap; }
.pt-price__now { font-family: var(--font-display); font-size: clamp(2rem, 1.6rem + 1.4vw, 2.7rem); font-weight: 600; letter-spacing: -0.03em; color: var(--ink); line-height: 1; }
.pt-price__was { font-size: 1.02rem; color: var(--ink-3); text-decoration: line-through; text-decoration-thickness: 1px; }
.pt-price__note { font-size: var(--t-micro); color: var(--ink-3); width: 100%; margin-top: .35rem; }

/* --------------------------------------------------------------------------
   10 · Ablauf-Schritte
   -------------------------------------------------------------------------- */

.pt-steps { counter-reset: s; display: grid; gap: 0; }
.pt-steps > li { counter-increment: s; list-style: none; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(1.25rem, 3vw, 2.5rem); padding: clamp(1.75rem, 3vw, 2.75rem) 0; border-top: 1px solid var(--line); }
.pt-steps > li:last-child { border-bottom: 1px solid var(--line); }
.pt-steps > li::before {
  content: counter(s, decimal-leading-zero);
  font-family: var(--font-display); font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.4rem); font-weight: 500;
  color: var(--accent-ink); letter-spacing: -0.04em; line-height: 1;
  font-variant-numeric: tabular-nums; min-width: 2.2ch;
}
.pt-steps h3 { margin-bottom: .45em; }
.pt-steps p { color: var(--ink-2); margin-bottom: 0; max-width: 62ch; }

/* --------------------------------------------------------------------------
   11 · Kennzahlen
   -------------------------------------------------------------------------- */

.pt-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.pt-stats > div { padding: clamp(1.4rem, 2.5vw, 2rem) clamp(1rem, 2vw, 1.75rem); border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); }
.pt-stats > div:last-child { border-right: 0; }
.pt-stats__num { display: block; font-family: var(--font-display); font-size: clamp(1.9rem, 1.5rem + 1.6vw, 2.9rem); font-weight: 600; letter-spacing: -0.035em; color: var(--ink); line-height: 1; margin-bottom: .35rem; font-variant-numeric: tabular-nums; }
.pt-stats__label { font-size: var(--t-small); color: var(--ink-3); line-height: 1.4; }
.pt-section--dark .pt-stats, .pt-section--dark .pt-stats > div { border-color: rgba(255,255,255,.14); }
.pt-section--dark .pt-stats__num { color: #fff; }
.pt-section--dark .pt-stats__label { color: rgba(255,255,255,.62); }

/* --------------------------------------------------------------------------
   12 · FAQ (natives details/summary – funktioniert ohne JS, voll zugänglich)
   -------------------------------------------------------------------------- */

.pt-faq { border-top: 1px solid var(--line); }
.pt-faq details { border-bottom: 1px solid var(--line); }
.pt-faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: flex-start; gap: 1.5rem;
  padding: 1.3rem 0; font-family: var(--font-display); font-size: clamp(1.02rem, .98rem + .3vw, 1.18rem);
  font-weight: 600; color: var(--ink); letter-spacing: -0.012em; line-height: 1.35;
  transition: color .2s;
}
.pt-faq summary::-webkit-details-marker { display: none; }
.pt-faq summary:hover { color: var(--accent-ink); }
.pt-faq summary::after {
  content: ''; width: 13px; height: 13px; flex: none; margin-top: .35em;
  background: currentColor;
  -webkit-mask: no-repeat center/13px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5v14M5 12h14' stroke='%23000' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E");
  mask: no-repeat center/13px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5v14M5 12h14' stroke='%23000' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E");
  transition: transform .3s var(--ease);
}
.pt-faq details[open] summary { color: var(--accent-ink); }
.pt-faq details[open] summary::after { transform: rotate(135deg); }
.pt-faq__a { padding: 0 0 1.5rem; max-width: 68ch; color: var(--ink-2); font-size: var(--t-small); line-height: 1.68; }
.pt-faq__a > *:first-child { margin-top: 0; }

/* --------------------------------------------------------------------------
   13 · Formularfelder
   -------------------------------------------------------------------------- */

.pt-field { display: grid; gap: .45rem; }
.pt-field label { font-size: var(--t-small); font-weight: 600; color: var(--ink); }
.pt-field input, .pt-field textarea, .pt-field select {
  font-family: var(--font-text); font-size: 1rem; color: var(--ink);
  background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--r-sm);
  padding: .85rem 1rem; width: 100%; min-height: 48px;
  transition: border-color .2s, box-shadow .2s;
}
.pt-field textarea { min-height: 150px; resize: vertical; line-height: 1.6; }
.pt-field input:focus, .pt-field textarea:focus, .pt-field select:focus {
  outline: none; border-color: var(--accent-ink); box-shadow: 0 0 0 3px var(--accent-soft);
}
.pt-field__hint { font-size: var(--t-micro); color: var(--ink-3); }

/* --------------------------------------------------------------------------
   14 · Rechtstexte / Langform
   -------------------------------------------------------------------------- */

.pt-legal { max-width: 74ch; font-size: 1rem; line-height: 1.72; color: var(--ink-2); }
.pt-legal h2 { font-size: clamp(1.3rem, 1.15rem + .6vw, 1.6rem); margin: 2.6em 0 .7em; padding-top: 1.4em; border-top: 1px solid var(--line); }
.pt-legal h2:first-of-type { margin-top: 1.2em; }
.pt-legal h3 { font-size: 1.06rem; margin: 2em 0 .5em; font-weight: 600; }
.pt-legal h4 { font-size: .96rem; margin: 1.6em 0 .4em; color: var(--ink); font-family: var(--font-text); font-weight: 700; }
.pt-legal ul, .pt-legal ol { margin: 0 0 1.15em; padding-left: 1.35em; }
.pt-legal li { margin-bottom: .45em; }
.pt-legal li::marker { color: var(--ink-3); }
.pt-legal address { font-style: normal; line-height: 1.7; }
.pt-legal__meta { font-size: var(--t-small); color: var(--ink-3); padding-bottom: 1.5rem; }
.pt-legal__box { background: var(--surface-2); border-radius: var(--r-md); padding: clamp(1.25rem, 3vw, 1.85rem); margin: 1.5em 0; font-size: var(--t-small); }
.pt-legal__box h4 { margin-top: 0; }

/* Inhaltsverzeichnis für lange Rechtstexte */
.pt-toc { list-style: none; margin: 0; padding: 0; display: grid; gap: .15rem; font-size: var(--t-small); }
.pt-toc a { display: block; padding: .42rem .7rem; border-radius: var(--r-sm); color: var(--ink-2); text-decoration: none; border-left: 2px solid transparent; }
.pt-toc a:hover { background: var(--surface-2); color: var(--accent-ink); border-left-color: var(--accent-line); text-decoration: none; }

/* --------------------------------------------------------------------------
   15 · Artikel / Ratgeber
   -------------------------------------------------------------------------- */

.pt-prose { max-width: 68ch; font-size: clamp(1.04rem, 1rem + .2vw, 1.14rem); line-height: 1.76; color: var(--ink-2); }
.pt-prose h2 { font-size: clamp(1.45rem, 1.25rem + .9vw, 1.95rem); margin: 2.2em 0 .6em; }
.pt-prose h3 { font-size: clamp(1.12rem, 1.05rem + .4vw, 1.32rem); margin: 1.9em 0 .5em; }
.pt-prose ul, .pt-prose ol { margin: 0 0 1.3em; padding-left: 1.4em; }
.pt-prose li { margin-bottom: .55em; }
.pt-prose blockquote {
  margin: 2em 0; padding: 0 0 0 1.5rem; border-left: 3px solid var(--accent-line);
  font-family: var(--font-display); font-size: clamp(1.15rem, 1.05rem + .5vw, 1.4rem);
  line-height: 1.45; letter-spacing: -0.018em; color: var(--ink); font-weight: 500;
}
.pt-prose figure { margin: 2.2em 0; }
.pt-prose figure img { width: 100%; height: auto; border-radius: var(--r-md); display: block; }
.pt-prose figcaption { font-size: var(--t-micro); color: var(--ink-3); margin-top: .7rem; line-height: 1.5; }

.pt-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem .9rem; font-size: var(--t-micro); color: var(--ink-3); }
.pt-meta__dot { width: 3px; height: 3px; border-radius: 50%; background: var(--line-strong); flex: none; }

/* --------------------------------------------------------------------------
   16 · Medien
   -------------------------------------------------------------------------- */

.pt-media { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--surface-2); }
.pt-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pt-media--4x5 { aspect-ratio: 4 / 5; }
.pt-media--3x2 { aspect-ratio: 3 / 2; }
.pt-media--1x1 { aspect-ratio: 1 / 1; }
.pt-media--16x9 { aspect-ratio: 16 / 9; }

/* Platzhalter, solange keine Fotos da sind – neutral, nicht "Bild fehlt"-hässlich */
.pt-ph { display: grid; place-items: center; gap: .6rem; text-align: center; padding: 2rem; background:
  linear-gradient(135deg, var(--surface-2) 0%, var(--surface-3) 100%); color: var(--ink-3); }
.pt-ph__label { font-size: var(--t-micro); letter-spacing: .1em; text-transform: uppercase; font-weight: 600; }

/* --------------------------------------------------------------------------
   17 · Zugänglichkeit & Motion
   -------------------------------------------------------------------------- */

.pt :focus-visible { outline: 3px solid var(--accent-ink); outline-offset: 3px; border-radius: 3px; }
.pt-section--dark :focus-visible { outline-color: var(--accent); }

.pt-sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* Sanftes Einblenden beim Scrollen – rein CSS, degradiert sauber */
@media (prefers-reduced-motion: no-preference) {
  .pt-reveal { animation: pt-fade linear both; animation-timeline: view(); animation-range: entry 0% cover 22%; }
  @keyframes pt-fade { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) {
  .pt *, .pt *::before, .pt *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .pt-btn:hover, .pt-card--hover:hover { transform: none; }
}

/* --------------------------------------------------------------------------
   18 · Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1040px) {
  /* Drei Karten nebeneinander werden hier zu schmal – auf zwei umbrechen,
     die dritte rutscht mittig darunter. */
  .pt-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pt-grid--3 > *:last-child:nth-child(odd) { grid-column: 1 / -1; max-width: 32rem; margin-inline: auto; width: 100%; }
}
@media (max-width: 960px) {
  .pt-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pt-grid--split, .pt-grid--split-r { grid-template-columns: 1fr; }
  .pt-sticky { position: static; }
}
@media (max-width: 700px) {
  .pt-grid--2, .pt-grid--3 { grid-template-columns: 1fr; }
  .pt-grid--3 > *:last-child:nth-child(odd) { max-width: none; }
  .pt-dl > div { grid-template-columns: 1fr; gap: .3rem; }
  .pt-stats > div { border-right: 0; }
  .pt-steps > li { grid-template-columns: 1fr; gap: .8rem; }
  .pt-btn--auto-block { display: flex; width: 100%; }
}
@media (max-width: 560px) {
  .pt-grid--4 { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   19 · Druck
   -------------------------------------------------------------------------- */

@media print {
  .pt-section { padding-block: 1.5rem; }
  .pt-section--dark { background: #fff; color: #000; }
  .pt-btn, .pt-media { display: none; }
  .pt a::after { content: ' (' attr(href) ')'; font-size: .8em; color: #555; }
}

/* ==========================================================================
   20 · Einbindung ins Divi-Theme
   --------------------------------------------------------------------------
   Diese Regeln greifen über :has() nur auf Seiten, die den .pt-Wrapper
   enthalten. Shop, Warenkorb und Kasse bleiben unberührt.
   ========================================================================== */

body:has(.pt) #sidebar { display: none !important; }
body:has(.pt) #left-area { width: 100% !important; padding: 0 !important; float: none !important; }
body:has(.pt) #main-content .container { width: 100% !important; max-width: none !important; padding: 0 !important; margin: 0 !important; }
body:has(.pt) #main-content .container::before { display: none !important; }
body:has(.pt) #content-area { width: 100% !important; float: none !important; }
body:has(.pt) article.page, body:has(.pt) .entry-content { padding: 0 !important; margin: 0 !important; }
body:has(.pt) .entry-title, body:has(.pt) .et_post_meta_wrapper { display: none !important; }
body:has(.pt) #main-content { background: #fff !important; }
.pt [id] { scroll-margin-top: 100px; }

/* --------------------------------------------------------------------------
   20b · Divi-Codemodul: Sektion, Zeile und Spalte auf volle Breite
   --------------------------------------------------------------------------
   Damit kannst du den Inhalt jeder Seite einfach in ein CODE-MODUL kleben,
   ohne an der Sektion oder der Zeile irgendeine Einstellung zu ändern.
   Die Regeln greifen nur bei der Zeile, in der das .pt-Modul wirklich liegt.

   WICHTIG: Es muss ein Code-Modul sein, kein Text-Modul. Ein Text-Modul
   laeuft durch den Editor von Divi und loescht dabei SVG-Icons, span-Tags
   und style-Bloecke.
   -------------------------------------------------------------------------- */

.et_pb_section:has(.pt) {
  padding-block: 0 !important;
  margin-block: 0 !important;
  background-color: transparent !important;
}
.et_pb_row:has(.pt) {
  display: flow-root !important;
  width: 100% !important;
  max-width: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
.et_pb_column:has(.pt) {
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}
.et_pb_module:has(.pt),
.et_pb_code:has(.pt),
.et_pb_code_inner:has(.pt) {
  margin: 0 !important;
  padding: 0 !important;
}
/* Divi setzt im Codemodul gern eine eigene Schrift und Zeilenhöhe */
.et_pb_code .pt { font-family: var(--font-text); font-size: var(--t-body); line-height: 1.62; }

/* ==========================================================================
   21 · Header und Footer
   --------------------------------------------------------------------------
   Gilt auf der ganzen Seite, also auch im Shop – damit der Auftritt
   einheitlich bleibt.
   ========================================================================== */

:root {
  --pt-ink: #14181A;
  --pt-ink2: #3C4448;
  --pt-ink3: #667074;
  --pt-line: #DCE3E1;
  --pt-accent: #00A878;
  --pt-accent-ink: #005C43;
  --pt-surface2: #F4F7F6;
  --pt-fd: 'Bricolage PT', ui-sans-serif, system-ui, sans-serif;
  --pt-ft: 'Instrument PT', ui-sans-serif, system-ui, sans-serif;
}

/* Obere Infoleiste: Anthrazit statt Rosa */
/* Die Divi-Customizer-Datei setzt diese Farbe mit hoher Spezifität und !important –
   deshalb hier derselbe Selektor, sonst bleibt die Leiste rosa. */
.et_secondary_nav_enabled #page-container #top-header,
#top-header { background-color: var(--pt-ink) !important; font-family: var(--pt-ft); font-size: .82rem; }
#top-header, #top-header a, #et-info, #et-info a, #et-secondary-menu a,
#top-header .et-social-icon a { color: rgba(255,255,255,.82) !important; }
#top-header a:hover, #et-info a:hover { color: var(--pt-accent) !important; }
#et-info-phone, #et-info-email { font-weight: 500; }

/* Hauptheader: weiß, ruhig, feine Trennlinie */
#main-header { background-color: #fff !important; box-shadow: none !important; border-bottom: 1px solid var(--pt-line); }
#top-menu li a {
  font-family: var(--pt-ft) !important; font-weight: 600 !important; font-size: .95rem !important;
  letter-spacing: -.005em; color: var(--pt-ink2) !important; transition: color .2s;
}
#top-menu li a:hover { color: var(--pt-accent-ink) !important; opacity: 1 !important; }
#top-menu li.current-menu-item > a, #top-menu li.current_page_item > a { color: var(--pt-ink) !important; }
#top-menu li.current-menu-item > a::after {
  content: ''; display: block; height: 2px; background: var(--pt-accent); margin-top: .4em; border-radius: 2px;
}
#et_search_icon::before { color: var(--pt-ink3) !important; }
#et_search_icon:hover::before { color: var(--pt-accent-ink) !important; }
#et-top-navigation .et-cart-info { color: var(--pt-ink2) !important; font-family: var(--pt-ft); font-weight: 600; }

/* Letzter Menüpunkt als Handlungsknopf.
   Dafür im WordPress-Menü bei diesem Eintrag die CSS-Klasse "pt-cta" vergeben
   (Menü-Editor → Ansicht anpassen → CSS-Klassen einblenden). */
#top-menu li.pt-cta > a {
  background: var(--pt-accent); color: var(--pt-ink) !important;
  border-radius: 100px; padding: .7em 1.35em !important; line-height: 1;
}
#top-menu li.pt-cta > a:hover { background: #00BD87; color: var(--pt-ink) !important; }
#top-menu li.pt-cta > a::after { display: none !important; }

/* Mobiles Menü */
.et_mobile_menu { border-top-color: var(--pt-accent) !important; background: #fff !important; box-shadow: 0 18px 44px rgba(20,24,26,.09); }
.et_mobile_menu li a { font-family: var(--pt-ft) !important; font-weight: 600; color: var(--pt-ink2) !important; border-bottom-color: var(--pt-line) !important; }
.et_mobile_menu li a:hover { color: var(--pt-accent-ink) !important; background: var(--pt-surface2) !important; }
.mobile_menu_bar::before { color: var(--pt-ink) !important; }

/* Footer */
#main-footer { background-color: var(--pt-ink) !important; font-family: var(--pt-ft); }
#footer-widgets { padding: clamp(3rem, 6vw, 5rem) 0 1rem; }
#footer-widgets .footer-widget, #main-footer p, #main-footer li { color: rgba(255,255,255,.72) !important; font-size: .93rem; line-height: 1.7; }
#main-footer h4, #footer-widgets h4.title {
  font-family: var(--pt-fd) !important; color: #fff !important; font-size: 1rem !important;
  font-weight: 600; letter-spacing: -.01em; margin-bottom: 1em;
}
#main-footer a { color: rgba(255,255,255,.72) !important; text-decoration: none; transition: color .2s; }
#main-footer a:hover { color: var(--pt-accent) !important; }
#footer-bottom { background-color: transparent !important; border-top: 1px solid rgba(255,255,255,.14); padding: 1.5rem 0; }
#footer-info, #footer-info a { color: rgba(255,255,255,.5) !important; font-size: .8rem; }
#footer-widgets .footer-widget li::before { border-color: rgba(255,255,255,.3) !important; }

/* Tastaturbedienung sichtbar machen */
#main-header a:focus-visible, #top-header a:focus-visible, #main-footer a:focus-visible {
  outline: 3px solid var(--pt-accent); outline-offset: 3px;
}

/* ==========================================================================
   22 · Globale Typografie
   --------------------------------------------------------------------------
   Divi kennt unsere lokalen Schriften nicht in seiner Auswahlliste, deshalb
   setzen wir sie hier – sonst bleibt überall dort Trebuchet stehen, wo das
   .pt-System nicht greift: Shop, Warenkorb, Kasse, Mein Konto.
   ========================================================================== */

body, input, textarea, select, button,
.et_pb_module, .woocommerce, .woocommerce-page {
  font-family: 'Instrument PT', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
}
body h1, body h2, body h3, body h4, body h5, body h6,
.woocommerce h1, .woocommerce h2, .woocommerce h3 {
  font-family: 'Bricolage PT', ui-sans-serif, system-ui, sans-serif;
  letter-spacing: -0.025em;
  color: var(--pt-ink);
}

/* ==========================================================================
   23 · WooCommerce
   --------------------------------------------------------------------------
   Shop, Warenkorb und Kasse laufen über Divis Styles, nicht über .pt –
   deshalb hier eigene Regeln, damit der Auftritt durchgehend gleich bleibt.
   ========================================================================== */

/* Volle Breite auch im Shop, keine Sidebar */
.woocommerce-page #sidebar { display: none !important; }
.woocommerce-page #left-area { width: 100% !important; padding-right: 0 !important; }
.woocommerce-page #main-content .container::before { display: none !important; }

/* Angebots-Kennzeichnung */
.woocommerce span.onsale {
  background: var(--pt-accent) !important;
  color: var(--pt-ink) !important;
  font-family: 'Instrument PT', sans-serif;
  font-size: .78rem; font-weight: 700; letter-spacing: .03em;
  border-radius: 100px; padding: .5em 1em; line-height: 1;
  min-height: 0; min-width: 0; top: 12px; left: 12px; right: auto;
  box-shadow: none;
}

/* Produktkacheln */
.woocommerce ul.products li.product {
  border: 1px solid var(--pt-line); border-radius: 20px; overflow: hidden;
  padding: 0 0 1.5rem; background: #fff;
  transition: border-color .3s, box-shadow .3s, transform .3s cubic-bezier(.22,1,.36,1);
}
.woocommerce ul.products li.product:hover {
  border-color: #C3CDCA; transform: translateY(-3px);
  box-shadow: 0 2px 6px rgba(20,24,26,.06), 0 18px 44px rgba(20,24,26,.09);
}
.woocommerce ul.products li.product a img { margin-bottom: 1.25rem; border-radius: 0; }
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product h2 {
  font-family: 'Bricolage PT', sans-serif !important;
  font-size: 1.15rem !important; font-weight: 600; line-height: 1.25;
  letter-spacing: -.015em; color: var(--pt-ink); padding: 0 1.5rem !important;
}
.woocommerce ul.products li.product .price,
.woocommerce ul.products li.product .button { margin-inline: 1.5rem; }

/* Preise */
.woocommerce .price, .woocommerce div.product p.price, .woocommerce div.product span.price {
  font-family: 'Bricolage PT', sans-serif; color: var(--pt-ink) !important;
  font-weight: 600; letter-spacing: -.02em;
}
.woocommerce .price del { color: var(--pt-ink3) !important; font-weight: 400; opacity: 1; }
.woocommerce .price ins { text-decoration: none; color: var(--pt-ink) !important; }

/* Hinweisboxen (Warenkorb, Kasse) */
.woocommerce-message, .woocommerce-info, .woocommerce-error {
  border-top-color: var(--pt-accent) !important; background: var(--pt-surface2);
  font-size: .95rem; border-radius: 0 0 6px 6px;
}
.woocommerce-message::before, .woocommerce-info::before { color: var(--pt-accent-ink) !important; }

/* Formularfelder in Warenkorb und Kasse */
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce table.cart td.actions .coupon .input-text {
  border: 1px solid #C3CDCA; border-radius: 6px; padding: .85rem 1rem;
  min-height: 48px; font-size: 1rem; font-family: 'Instrument PT', sans-serif;
}
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus {
  outline: none; border-color: var(--pt-accent-ink); box-shadow: 0 0 0 3px #E2F5EE;
}
.woocommerce form .form-row label { font-weight: 600; font-size: .925rem; color: var(--pt-ink); }

/* Tabellen in Warenkorb und Bestellübersicht */
.woocommerce table.shop_table { border-radius: 12px; border-color: var(--pt-line); }
.woocommerce table.shop_table th { font-family: 'Instrument PT', sans-serif; font-weight: 600; color: var(--pt-ink); }

/* Sternebewertungen in der Markenfarbe */
.woocommerce .star-rating span::before, .woocommerce p.stars a::before { color: var(--pt-accent-ink); }

/* ==========================================================================
   24 · Sicherheitsnetz gegen waagerechtes Scrollen
   --------------------------------------------------------------------------
   Grid-Spalten mit 1fr schrumpfen nicht unter ihren Mindestinhalt. Wo ein
   langes Wort steht, spreizt es die Spalte auf. Diese Regeln fangen das ab.
   ========================================================================== */
.pt-grid > * { min-width: 0; }
.pt-card, .pt-card * { min-width: 0; }
.pt-card h3, .pt-post h3, .pt-feature h2 { overflow-wrap: break-word; hyphens: auto; }
.pt-price { min-width: 0; }
.pt-dl dd, .pt-list li span { overflow-wrap: break-word; }
