/*
Theme Name: DAIZ PADEL Shop
Theme URI: https://daizpadel-shop.ch
Description: Schlankes MVP-Theme für den DAIZ PADEL Webshop Schweiz/Liechtenstein. Dark-Brand-Style (Teal/Poppins). Shop via eigenes Plugin daiz-shop (kein WooCommerce). Entwicklung: TB-Software.
Author: TB-Software (Timo Böhme)
Version: 0.1.0
Requires at least: 6.4
Requires PHP: 8.1
Text Domain: daizpadel-shop
*/

:root{
  --dp-primary:#18988B;      /* Teal (Brand, aus Original-Theme) */
  --dp-primary-2:#2FA390;    /* Teal-Variante (Logo-SVG) */
  --dp-bg:#0F0F0F;           /* Dark Background */
  --dp-surface:#171717;      /* Cards/Flächen */
  --dp-fg:#ffffff;           /* Text */
  --dp-muted:#b8bcc2;
  --dp-border:#ffffff2e;
  --dp-maxw:1200px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;background:var(--dp-bg);color:var(--dp-fg);
  font-family:"Poppins","Segoe UI",system-ui,-apple-system,Arial,sans-serif;
  line-height:1.6;-webkit-font-smoothing:antialiased;
}
a{color:var(--dp-primary);text-decoration:none}
a:hover{text-decoration:underline}
img{max-width:100%;height:auto}
.dp-wrap{max-width:var(--dp-maxw);margin:0 auto;padding:0 20px}

h1,h2,h3{font-weight:800;letter-spacing:-.01em;line-height:1.15;margin:.2em 0 .5em}
h1{font-size:clamp(2rem,5vw,3.2rem);text-transform:uppercase}

.dp-btn{display:inline-block;background:var(--dp-primary);color:#04110f;font-weight:700;
  padding:12px 22px;border-radius:10px;border:0;cursor:pointer}
.dp-btn:hover{filter:brightness(1.08);text-decoration:none}

/* Header */
.dp-header{position:sticky;top:0;z-index:20;background:#0f0f0fe6;backdrop-filter:blur(8px);
  border-bottom:1px solid var(--dp-border)}
.dp-header .dp-wrap{display:flex;align-items:center;justify-content:space-between;height:70px;gap:20px}
.dp-logo{font-weight:800;font-size:22px;letter-spacing:1px}
.dp-logo .p{color:#c7c9cc}
.dp-nav a{color:var(--dp-fg);margin-left:22px;font-weight:600;font-size:15px}
.dp-nav a:hover{color:var(--dp-primary);text-decoration:none}

/* Footer */
.dp-footer{border-top:1px solid var(--dp-border);margin-top:60px;padding:34px 0;color:var(--dp-muted);font-size:14px}
.dp-footer a{color:var(--dp-muted)} .dp-footer a:hover{color:var(--dp-primary)}
.dp-credit{font-size:12px;opacity:.75;margin-top:6px}

/* Content */
.dp-main{min-height:50vh;padding:40px 0}
.dp-hero{padding:70px 0}
.dp-hero p{color:var(--dp-muted);font-size:1.15rem;max-width:52ch}

/* Shop (daiz-shop Plugin) */
.daiz-products{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:22px;margin:24px 0}
.daiz-product{background:var(--dp-surface);border:1px solid var(--dp-border);border-radius:14px;overflow:hidden}
.daiz-product img{width:100%;aspect-ratio:1/1;object-fit:contain;background:#fff;padding:12px}
.daiz-product .body{padding:14px}
.daiz-product .title{font-weight:700;font-size:15px;margin:0 0 6px}
.daiz-product .price{color:var(--dp-primary);font-weight:800}

/* ── Dezente Animationen (Elementor-artig) ── */
.reveal{opacity:0;transform:translateY(20px);
  transition:opacity .7s cubic-bezier(.22,.61,.36,1),transform .7s cubic-bezier(.22,.61,.36,1)}
.reveal.reveal-in{opacity:1;transform:none}
.daiz-product{transition:transform .28s ease,box-shadow .28s ease,border-color .28s ease}
.daiz-product:hover{transform:translateY(-5px);box-shadow:0 14px 34px rgba(0,0,0,.4);border-color:var(--dp-primary)}
.dp-btn{transition:transform .15s ease,filter .15s ease,background .15s ease}
.dp-btn:hover{transform:translateY(-1px)}
.daiz-catnav a{transition:background .2s ease,color .2s ease,border-color .2s ease}
.dp-nav a{transition:color .2s ease}
@media(prefers-reduced-motion:reduce){
  .reveal,.reveal.reveal-in{opacity:1;transform:none;transition:none}
  .daiz-product:hover{transform:none}
}
