/*
Theme Name: Mats Gitarren Kurse
Theme URI: https://matsgitarrenkurse.de
Author: Matthias Gloe
Description: Individuelles Theme fuer Mats Gitarren Kurse. Schwarz/Weiss/Rot (#dd3333), eigener Post-Type "Kurse" plus normaler WordPress-Blog.
Version: 1.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: mats-gitarren-kurse
*/

:root{
  --black:#111111;
  --white:#ffffff;
  --red:#dd3333;
  --red-dark:#b82727;
  --grey:#6f6f6f;
  --grey-light:#f4f4f4;
  --line:#e6e6e6;
  --font-head: 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
}
*{margin:0;padding:0;box-sizing:border-box;}
html,body{height:auto;overflow-y:auto;}
body{
  font-family:var(--font-body);
  color:var(--black);
  background:var(--white);
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;display:block;}
a{text-decoration:none;color:inherit;}
.wrap{max-width:1120px;margin:0 auto;padding:0 24px;}

/* ---------- HEADER ---------- */
.site-header{
  display:flex;align-items:center;justify-content:space-between;
  padding:16px 24px;
  border-bottom:1px solid var(--line);
  gap:24px;flex-wrap:wrap;
}
.site-header .logo img{height:44px;}
.nav-menu{display:flex;align-items:center;gap:28px;margin-left:8px;}
.nav-menu ul{list-style:none;display:flex;gap:28px;}
.nav-menu a{
  font-family:var(--font-head);font-weight:700;font-size:14px;color:var(--black);
  transition:color .2s ease;
}
.nav-menu a:hover{color:var(--red);}
.nav-menu .current-menu-item > a{color:var(--red);}
.nav-icons{display:flex;align-items:center;gap:12px;margin-left:auto;}
.icon-circle{
  width:32px;height:32px;border-radius:50%;
  background:var(--red);color:var(--white);
  display:flex;align-items:center;justify-content:center;
  font-size:14px;transition:background .2s ease;
}
.icon-circle:hover{background:var(--red-dark);}

/* ---------- HERO ---------- */
.hero{
  position:relative;
  min-height:520px;
  display:flex;align-items:center;
  padding-left:max(24px, calc((100vw - 1120px)/2 + 24px));
  padding-right:24px;
  background:
    linear-gradient(100deg, rgba(0,0,0,.72) 22%, rgba(0,0,0,.35) 60%, rgba(0,0,0,.08) 100%),
    url("assets/img/hero.jpg");
  background-size:cover;
  background-position:center 42%;
  color:var(--white);
  overflow:hidden;
}
.hero-inner{
  position:relative;z-index:1;
  width:min(640px, calc(100vw - 96px));
  padding:64px 0;
}
.hero h1{
  font-family:var(--font-head);font-weight:800;
  font-size:clamp(26px,4.2vw,46px);line-height:1.15;margin-bottom:20px;
  width:100%;
}
.hero h1 span{color:var(--red);}
.hero p{font-size:17px;line-height:1.6;color:rgba(255,255,255,.85);width:100%;}

/* ---------- SECTION LABEL ---------- */
.section-title{text-align:center;padding:56px 24px 8px;}
.section-title .eyebrow{
  font-family:var(--font-head);font-weight:700;font-size:13px;
  letter-spacing:2px;color:var(--red);text-transform:uppercase;
}
.section-title h2{font-family:var(--font-head);font-weight:800;font-size:26px;margin-top:6px;}
.section-title .tag{
  display:inline-block;margin-top:14px;
  font-family:var(--font-head);font-weight:800;font-size:14px;letter-spacing:1px;
  color:var(--white);background:var(--black);padding:4px 14px;border-radius:3px;
}

/* ---------- PRODUCT ROW ---------- */
.product-list{max-width:920px;margin:32px auto 0;padding:0 24px;}
.product-row{
  display:flex;align-items:center;gap:20px;padding:22px 0;
  border-bottom:1px solid var(--line);
}
.product-row .thumb{
  flex:0 0 84px;width:84px;height:84px;border-radius:4px;overflow:hidden;
  background:var(--black);position:relative;
}
.product-row .thumb img{width:100%;height:100%;object-fit:cover;object-position:center;}
.product-row .info{flex:1;min-width:0;}
.product-row .info h3{font-family:var(--font-head);font-weight:700;font-size:16px;margin-bottom:6px;}
.product-row .info p{
  font-size:13.5px;color:var(--grey);line-height:1.5;max-width:520px;
  overflow:hidden;text-overflow:ellipsis;display:-webkit-box;
  -webkit-line-clamp:2;-webkit-box-orient:vertical;
}
.product-row .cta{flex:0 0 auto;text-align:right;}
.product-row .price{font-family:var(--font-head);font-weight:800;font-size:19px;margin-bottom:10px;white-space:nowrap;}
.product-row .price-alt{
  font-family:var(--font-body);font-weight:600;font-size:14px;color:#999;
  text-decoration:line-through;margin-bottom:2px;white-space:nowrap;
}
.btn{
  display:inline-block;background:var(--red);color:var(--white);
  font-family:var(--font-body);font-weight:600;font-size:13.5px;
  padding:11px 22px;border-radius:4px;border:none;cursor:pointer;
  white-space:nowrap;transition:background .2s ease;
}
.btn:hover{background:var(--red-dark);}

/* ---------- BUNDLE ---------- */
.bundle-section{background:var(--grey-light);padding:8px 0 48px;margin-top:16px;}
.bundle-section .product-list{margin-top:0;padding-top:24px;}
.bundle-section .product-row{border-bottom:none;}

/* ---------- WEITERE KURSE ---------- */
.card-grid{
  display:grid;grid-template-columns:repeat(3, 180px);gap:20px;
  max-width:1000px;margin:32px auto 0;padding:0 24px 56px;justify-content:center;
}
.card{text-align:center;}
.card .cover{aspect-ratio:1/1;border-radius:6px;overflow:hidden;margin-bottom:12px;}
.card .cover img{width:100%;height:100%;object-fit:cover;display:block;}
.card h4{font-family:var(--font-head);font-weight:700;font-size:13px;line-height:1.35;margin-bottom:10px;text-align:left;}
.card-cta{display:flex;flex-direction:column;align-items:flex-end;gap:6px;}
.card-cta .price{font-family:var(--font-head);font-weight:800;font-size:14px;}
.card-cta .price-alt{
  font-family:var(--font-body);font-weight:600;font-size:11px;color:#999;
  text-decoration:line-through;
}
.card .btn{font-size:11.5px;padding:7px 12px;}

/* ---------- TESTIMONIALS ---------- */
.testimonials-heading{
  background:var(--white);
  text-align:center;
  padding:40px 24px 8px;
}
.testimonials-heading h2{
  font-family:var(--font-head);font-weight:800;font-size:26px;color:var(--black);
}
.testimonials{
  background:
    linear-gradient(rgba(0,0,0,.25),rgba(0,0,0,.25)),
    url("assets/img/rain-tile.jpg");
  background-size:200px auto;background-repeat:repeat;background-position:center;
  color:var(--white);padding:56px 24px;text-align:center;position:relative;
}
.testimonials .quote-nav{display:flex;align-items:center;justify-content:center;gap:36px;}
.testimonials .arrow{
  font-family:Arial, sans-serif;font-size:26px;line-height:1;
  color:rgba(255,255,255,.7);cursor:pointer;user-select:none;
}
.testimonials .arrow:hover{color:var(--red);}
.guitar-icon{display:flex;align-items:center;justify-content:center;margin:0 auto 16px;}
.avatar img{width:100%;height:100%;object-fit:cover;}
.testimonials h4{font-family:var(--font-head);font-weight:700;margin-bottom:10px;}
.testimonials p{font-style:italic;max-width:440px;margin:0 auto;color:rgba(255,255,255,.92);line-height:1.6;font-size:15px;}

/* ---------- DETAIL PAGE (single Kurs) ---------- */
.breadcrumb{max-width:1000px;margin:24px auto 0;padding:0 24px;}
.breadcrumb a{font-family:var(--font-head);font-weight:700;font-size:13px;color:var(--red);}
.breadcrumb a:hover{color:var(--red-dark);}
.detail-title{max-width:1000px;margin:14px auto 0;padding:0 24px;}
.detail-title h1{font-family:var(--font-head);font-weight:700;font-size:26px;}
.detail-main{max-width:1000px;margin:28px auto 0;padding:0 24px;display:flex;gap:40px;flex-wrap:wrap;}
.detail-cover{flex:0 0 320px;width:320px;aspect-ratio:1/1;border-radius:6px;overflow:hidden;}
.detail-cover img{width:100%;height:100%;object-fit:cover;}
.detail-buy{flex:1;min-width:220px;padding-top:8px;}
.detail-buy .price-alt-large{
  font-family:var(--font-body);font-weight:600;font-size:18px;color:#999;
  text-decoration:line-through;margin-bottom:2px;
}
.detail-buy .price{font-family:var(--font-head);font-weight:800;font-size:34px;}
.detail-buy .price-note{font-size:12px;color:var(--grey);margin-top:4px;margin-bottom:22px;}
.btn-checkout{
  display:inline-block;background:var(--red);color:var(--white);
  font-family:var(--font-head);font-weight:700;font-size:13px;letter-spacing:.5px;
  text-transform:uppercase;padding:14px 26px;border-radius:4px;transition:background .2s ease;
}
.btn-checkout:hover{background:var(--red-dark);}
.detail-body{max-width:1000px;margin:40px auto 0;padding:0 24px 56px;}
.detail-body p{font-size:14.5px;line-height:1.7;color:#333;margin-bottom:16px;max-width:760px;}
.detail-body ul{margin:18px 0 0 20px;max-width:760px;}
.detail-body li{font-size:14.5px;line-height:1.8;color:#333;}

/* ---------- BLOG ---------- */
.blog-hero{background:var(--black);color:var(--white);padding:56px 24px 48px;text-align:center;}
.blog-hero .eyebrow{font-family:var(--font-head);font-weight:700;font-size:13px;letter-spacing:2px;color:var(--red);text-transform:uppercase;}
.blog-hero h1{font-family:var(--font-head);font-weight:800;font-size:clamp(28px,4vw,38px);margin-top:10px;}
.blog-hero p{margin-top:14px;max-width:520px;margin-left:auto;margin-right:auto;color:rgba(255,255,255,.75);font-size:15px;line-height:1.6;}
.article-grid{
  display:grid;grid-template-columns:repeat(3,1fr);gap:28px;
  max-width:1080px;margin:0 auto;padding:48px 24px 64px;
}
.article-card{display:flex;flex-direction:column;border:1px solid var(--line);border-radius:8px;overflow:hidden;transition:box-shadow .2s ease, transform .2s ease;}
.article-card:hover{box-shadow:0 8px 24px rgba(0,0,0,.08);transform:translateY(-2px);}
.article-card .art-cover{aspect-ratio:16/10;overflow:hidden;background:linear-gradient(150deg, var(--black) 0%, #2c2c2c 60%, var(--red) 145%);}
.article-card .art-cover img{width:100%;height:100%;object-fit:cover;}
.article-card .art-body{padding:20px 20px 22px;display:flex;flex-direction:column;flex:1;}
.article-card .art-tag{font-family:var(--font-head);font-weight:700;font-size:11px;letter-spacing:1px;text-transform:uppercase;color:var(--red);margin-bottom:8px;}
.article-card h3{font-family:var(--font-head);font-weight:700;font-size:16.5px;line-height:1.35;margin-bottom:10px;}
.article-card p{font-size:13.5px;color:var(--grey);line-height:1.6;flex:1;margin-bottom:16px;}
.article-card .art-link{font-family:var(--font-body);font-weight:600;font-size:13.5px;color:var(--red);align-self:flex-start;}
.article-card .art-link:hover{color:var(--red-dark);}

/* single blog post */
.single-post{max-width:760px;margin:40px auto 64px;padding:0 24px;}
.single-post .post-title{font-family:var(--font-head);font-weight:800;font-size:30px;margin-bottom:18px;}
.single-post .post-meta{font-size:12.5px;color:var(--grey);margin-bottom:24px;}
.single-post .post-cover{border-radius:8px;overflow:hidden;margin-bottom:28px;}
.single-post .post-content p{font-size:15px;line-height:1.75;color:#333;margin-bottom:18px;}
.single-post .post-content h2{font-family:var(--font-head);font-weight:700;font-size:20px;margin:28px 0 12px;}

/* ---------- FOOTER ---------- */
.site-footer{padding:32px 24px;}
.footer-social{text-align:center;margin-bottom:24px;}
.footer-social .label{display:block;font-size:11px;letter-spacing:1px;color:var(--grey);margin-bottom:10px;}
.footer-social .icons{display:flex;justify-content:center;gap:12px;}
.footer-links{
  display:flex;justify-content:center;flex-wrap:wrap;gap:20px;
  border-top:1px solid var(--line);padding-top:20px;font-size:13px;color:var(--grey);
}
.footer-links a:hover{color:var(--red);}

@media (max-width:720px){
  .card-grid{grid-template-columns:repeat(3,minmax(0,110px));gap:10px;}
  .card h4{font-size:11px;}
  .card-cta .price{font-size:11px;}
  .card .btn{padding:6px 8px;font-size:10px;}
  .product-row{flex-wrap:wrap;}
  .product-row .cta{flex:1 0 100%;text-align:left;margin-top:8px;}
  .product-row .price{margin-bottom:8px;}
  .article-grid{grid-template-columns:1fr;}
  .detail-cover{flex:0 0 100%;width:100%;}
}
