/*
Theme Name: HEINE12
Theme URI: https://www.heine12.de
Author: HEINE12
Description: Ferienwohnung HEINE12 in Maisach-Gernlinden – helles, modernes One-Page-Theme (Design 2). Deutsch.
Version: 2.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: heine12
*/


/* ============================================================
   HEINE12 — Design Tokens  (spätere theme.json)
   ============================================================ */
:root{
  /* Farben */
  --color-bg:#FBF9F5;
  --color-sand:#F1EBE0;
  --color-sand-deep:#E7DDCC;
  --color-ink:#2C2B27;
  --color-ink-soft:#3A3833;
  --color-grey:#6E6C64;
  --color-accent:#9E8763;
  --color-accent-dk:#7E6949;
  --color-sage:#7E9488;
  --color-petrol:#A0C0CA;
  --color-petrol-dk:#5C8794;
  --color-line:#E7DDCC;
  --color-line-dark:#4A473F;
  --color-on-dark:#EDE6D8;
  --color-on-dark-soft:#B8B0A0;
  /* Typo */
  --font-head:"Playfair Display",Georgia,"Times New Roman",serif;
  --font-body:"Inter",system-ui,-apple-system,"Segoe UI",sans-serif;
  --fs-display:clamp(2.9rem,6vw,5rem);
  --fs-h2:clamp(2rem,3.6vw,3rem);
  --fs-h3:1.28rem;
  --fs-eyebrow:.86rem;
  --fs-body:1.05rem;
  --fs-small:.9rem;
  /* Layout */
  --maxw:1240px;
  --gutter:clamp(20px,5vw,40px);
  --sp-section:clamp(72px,9vw,128px);
  --radius:16px;
  --radius-sm:10px;
  --radius-pill:100px;
  /* Schatten */
  --shadow-sm:0 10px 30px -20px rgba(44,43,39,.4);
  --shadow-md:0 24px 60px -32px rgba(44,43,39,.5);
  --shadow-lg:0 40px 90px -40px rgba(44,43,39,.55);
  /* Motion */
  --ease:cubic-bezier(.22,.61,.36,1);
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:var(--font-body);color:var(--color-ink);background:var(--color-bg);line-height:1.65;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
h1,h2,h3,h4{font-family:var(--font-head);font-weight:500;line-height:1.08;letter-spacing:-.01em;color:var(--color-ink)}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
button{font-family:inherit}
::selection{background:var(--color-accent);color:#fff}
@keyframes h12-fade{from{opacity:0;transform:translateY(26px)}to{opacity:1;transform:none}}
@keyframes h12-marquee{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@keyframes h12-kenburns{from{transform:scale(1.08)}to{transform:scale(1)}}
.h12-anim .reveal{opacity:0}
.reveal.in{animation:h12-fade .9s var(--ease) forwards}
@media (prefers-reduced-motion:reduce){.reveal{opacity:1 !important;animation:none !important}}
#mapSlot iframe{position:absolute !important;inset:0 !important;width:100% !important;height:100% !important;border:0}
/* ---------- MotoPress Hotel Booking: Kalender an HEINE12-Palette anpassen ---------- */
[class*="mphb"]{ font-family:"Inter",system-ui,sans-serif !important; }
[class*="mphb"] table{ width:100%; border-collapse:separate !important; border-spacing:3px !important; }
[class*="mphb"] th{ color:#6E6C64 !important; font-weight:600 !important; font-size:.78rem !important; text-transform:uppercase; letter-spacing:.04em; background:transparent !important; border:0 !important; }
[class*="mphb"] td{ border-radius:8px !important; border:1px solid #E7DDCC !important; text-align:center !important; }
[class*="mphb"] caption, [class*="mphb"] .mphb-cal-header, [class*="mphb"] .ui-datepicker-title{ color:#2C2B27 !important; font-family:"Playfair Display",serif !important; font-weight:600 !important; }
/* Verfügbare Tage */
[class*="mphb"] td.mphb-available, [class*="mphb"] td[class*="available"], [class*="mphb"] td.available{ background:#FBF9F5 !important; color:#2C2B27 !important; }
/* Belegte / nicht verfügbare Tage */
[class*="mphb"] td.mphb-booked, [class*="mphb"] td[class*="booked"], [class*="mphb"] td[class*="not-available"], [class*="mphb"] td[class*="unavailable"], [class*="mphb"] td.ui-datepicker-unselectable{ background:#E7DDCC !important; color:#9A948A !important; text-decoration:line-through; }
/* Heute / ausgewählt / Hover */
[class*="mphb"] td.mphb-today, [class*="mphb"] td[class*="today"]{ border:1.5px solid #A0C0CA !important; }
[class*="mphb"] td:hover, [class*="mphb"] a:hover{ background:#A0C0CA !important; color:#fff !important; }
/* Buttons / Legende / Links im Plugin */
[class*="mphb"] .button, [class*="mphb"] button, [class*="mphb"] input[type="submit"]{ background:#9E8763 !important; border-color:#9E8763 !important; color:#fff !important; border-radius:999px !important; font-weight:600 !important; }
[class*="mphb"] .button:hover, [class*="mphb"] button:hover{ background:#7E6949 !important; }
[class*="mphb"] a{ color:#5C8794 !important; }
[class*="mphb"] .mphb-legend, [class*="mphb"] .legend{ font-size:.82rem !important; color:#6E6C64 !important; }

/* ---- Responsive (mobile-first Anpassungen) ---- */
@media(max-width:1000px){
  #navlinks{display:none !important}
  #burger{display:block !important}
  [style*="repeat(9,1fr)"]{grid-template-columns:repeat(6,1fr) !important}
  [style*="repeat(4,1fr)"]{grid-template-columns:repeat(2,1fr) !important}
  [style*="repeat(3,1fr)"]{grid-template-columns:repeat(2,1fr) !important}
  [style*="1.05fr .95fr"],[style*=".95fr 1.05fr"],[style*="1.1fr .9fr"],[style*="1.3fr .7fr"],[style*=".8fr 1.2fr"],[style*="1.1fr .9fr"]{grid-template-columns:1fr !important}
  [style*="1.4fr 1fr 1fr"]{grid-template-columns:1fr 1fr !important}
}
@media(max-width:640px){
  [style*="repeat(9,1fr)"]{grid-template-columns:repeat(4,1fr) !important}
  [style*="repeat(4,1fr)"]{grid-template-columns:1fr !important}
  [style*="repeat(3,1fr)"]{grid-template-columns:1fr !important}
  [style*="1.4fr 1fr 1fr"]{grid-template-columns:1fr !important}
  [style*="grid-template-columns:1fr 1fr"]{grid-template-columns:1fr !important}
}

