/*
Theme Name: Swiss-Ankauf24
Theme URI: https://www.swiss-ankauf24.ch
Author: MarketingPower4You
Author URI: https://marketingpower4you.ch
Description: Heritage-Vault-Theme fuer Swiss-Ankauf24 - Ankauf von Uhren, Schmuck, Gold & Silber. 1:1 mit der statischen Website, plugin-frei: alle Texte, Bilder und Listen ueber Meta-Boxen der Seiten (Repeater, Mediathek) und den Customizer, Menues unter Design > Menues, natives SEO (Schema.org), XML-Sitemap, llms.txt.
Version: 2.1.0
Requires at least: 6.0
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: swiss-ankauf24
*/

/* The design system is assets/css/styles.css (1:1 copy of the static site).
   This file only holds WordPress additions and house-rule overrides. */

/* ---------- house rules: photos never move ---------- */
.hero__media img{ transform:none; }
.gallery__item img{ transition:none; }
.gallery__item:hover img{ transform:none; }

/* ---------- WordPress admin bar ---------- */
body.admin-bar .site-header{ top:32px; }
body.admin-bar .mobile-nav{ top:32px; }
@media (max-width:782px){
  body.admin-bar .site-header{ top:46px; }
  body.admin-bar .mobile-nav{ top:46px; }
}

/* ---------- legal / normal pages (inline <style> of the static legal pages) ---------- */
.legal{ padding:56px 0 96px; }
.legal__inner{ max-width:840px; margin-inline:auto; }
.legal__lede{ opacity:.7; margin:0 0 8px; }
.legal h2{ font-family:var(--f-display); font-weight:600; font-size:28px; line-height:1.25; color:var(--gold-bright); margin:52px 0 14px; }
.legal h2:first-of-type{ margin-top:8px; }
.legal h3{ font-size:20px; margin:30px 0 10px; }
.legal p{ margin:0 0 16px; line-height:1.75; }
.legal ul{ margin:0 0 20px; padding-left:22px; }
.legal li{ margin:0 0 8px; line-height:1.7; }
.legal a{ color:var(--gold-bright); text-decoration:underline; }
.legal__contact{ margin-top:44px; padding-top:26px; border-top:1px solid rgba(255,255,255,.14); }
.legal__contact p{ margin:0; line-height:1.9; }
/* long German compounds (e.g. «Gewährleistungsansprüchen») must not push the page wider on phones */
.legal h2, .legal h3{ overflow-wrap:break-word; }
.legal img{ max-width:100%; height:auto; }

/* ---------- footer social icons (only shown when filled in the Customizer) ---------- */
.footer__social{ display:flex; gap:16px; margin-top:20px; }
.footer__social a{ color:var(--gold); transition:color .25s var(--ease); }
.footer__social a:hover{ color:var(--gold-bright); }

/* ---------- hero fits one phone screen (≤100vh); trust line repeats in the .trust band below ---------- */
@media (max-width:600px){
  .hero{ padding-top:88px; padding-bottom:24px; }
  .hero__lead{ font-size:18px; }
  .hero__trust{ display:none; }
  .subhero{ padding-top:104px; padding-bottom:40px; }
}

/* ---------- WordPress core helpers ---------- */
.alignleft{ float:left; margin:6px 24px 12px 0; }
.alignright{ float:right; margin:6px 0 12px 24px; }
.aligncenter{ display:block; margin-inline:auto; }
.screen-reader-text{ position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(1px,1px,1px,1px); clip-path:inset(50%); white-space:nowrap; border:0; }
