/* Guettler Webinare – Frontend
   Design: Waldgruen #467C45, Montserrat, ruhig/natuerlich, viel Weissraum, weiche Rundungen.
   Alle Klassen mit Praefix gw- (keine Theme-Konflikte). */

.gw {
	--gw-primary: #467C45;
	--gw-primary-dark: #355e34;
	--gw-bg: #f6f8f5;
	--gw-bg-alt: #eef2ec;
	--gw-text: #2b332b;
	--gw-muted: #6a756a;
	--gw-border: #dde4da;
	--gw-radius: 16px;
	--gw-shadow: 0 6px 22px rgba(38, 70, 38, 0.08);
	font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
	color: var(--gw-text);
	line-height: 1.6;
}

.gw * { box-sizing: border-box; }

.gw-container { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.gw-narrow { max-width: 560px; }
.gw-section { padding: 56px 0; }
.gw-section--alt { background: var(--gw-bg-alt); }
.gw-muted { color: var(--gw-muted); }

/* Typografie */
.gw-h1 { font-size: 2.1rem; line-height: 1.2; margin: 0 0 12px; font-weight: 700; }
.gw-h2 { font-size: 1.6rem; margin: 0 0 14px; font-weight: 700; }
.gw-h3 { font-size: 1.2rem; margin: 0 0 10px; font-weight: 700; }

/* Hero */
.gw-hero {
	background: linear-gradient(180deg, var(--gw-bg) 0%, var(--gw-bg-alt) 100%);
	padding: 84px 20px;
	text-align: center;
}
.gw-hero__inner { max-width: 760px; margin: 0 auto; }
.gw-hero__eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .85rem; color: var(--gw-primary); font-weight: 600; margin: 0 0 10px; }
.gw-hero__title { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 700; margin: 0 0 26px; }
.gw-hero__cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Buttons */
.gw-btn {
	display: inline-block; padding: 13px 26px; border-radius: 12px;
	font-weight: 600; text-decoration: none; cursor: pointer; border: 2px solid transparent;
	transition: transform .08s ease, background .15s ease; font-size: 1rem; line-height: 1.2;
}
.gw-btn:hover { transform: translateY(-1px); }
.gw-btn--primary { background: var(--gw-primary); color: #fff; }
.gw-btn--primary:hover { background: var(--gw-primary-dark); color: #fff; }
.gw-btn--ghost { background: #fff; color: var(--gw-primary); border-color: var(--gw-primary); }
.gw-btn--block { display: block; width: 100%; text-align: center; }

/* Intro + Features */
.gw-intro__text { font-size: 1.15rem; max-width: 760px; margin: 0 auto 8px; text-align: center; }
.gw-features { list-style: none; padding: 0; margin: 32px auto 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; max-width: 900px; }
.gw-feature { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--gw-border); border-radius: var(--gw-radius); padding: 16px 18px; box-shadow: var(--gw-shadow); }
.gw-feature__icon { font-size: 1.5rem; }

/* Grid + Cards */
.gw-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; margin-top: 28px; }
.gw-card { background: #fff; border: 1px solid var(--gw-border); border-radius: var(--gw-radius); overflow: hidden; box-shadow: var(--gw-shadow); display: flex; flex-direction: column; }
.gw-card__media { aspect-ratio: 16/9; background: #d9e2d6; }
.gw-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gw-card__media--placeholder { background: linear-gradient(135deg, #d9e2d6, #c4d2bf); }
.gw-card__body { padding: 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.gw-card__reihe { text-transform: uppercase; letter-spacing: .08em; font-size: .72rem; color: var(--gw-primary); font-weight: 600; margin: 0; }
.gw-card__title { font-size: 1.25rem; font-weight: 700; margin: 0; }
.gw-card__sub { color: var(--gw-muted); margin: 0; }
.gw-card__desc { font-size: .95rem; margin: 4px 0; }
.gw-card__price { font-weight: 700; font-size: 1.1rem; margin: 6px 0 12px; }
.gw-card .gw-btn { margin-top: auto; }

/* Detailseite */
.gw-detail { display: grid; grid-template-columns: 1fr 320px; gap: 36px; align-items: start; }
.gw-detail__sub { font-size: 1.2rem; color: var(--gw-muted); margin: 0 0 16px; }
.gw-rating { color: #caa54b; margin-bottom: 18px; }
.gw-checklist { list-style: none; padding: 0; }
.gw-checklist li { padding: 8px 0 8px 28px; position: relative; }
.gw-checklist li::before { content: "\2713"; color: var(--gw-primary); position: absolute; left: 0; font-weight: 700; }
.gw-quote { border-left: 4px solid var(--gw-primary); margin: 0; padding: 8px 0 8px 18px; color: var(--gw-muted); font-style: italic; }
.gw-pricebox { background: #fff; border: 1px solid var(--gw-border); border-radius: var(--gw-radius); padding: 22px; box-shadow: var(--gw-shadow); position: sticky; top: 20px; }
.gw-pricebox__title { margin: 0 0 14px; }
.gw-pricebox__option { display: block; margin-bottom: 12px; }
.gw-pricebox__plus { font-size: .8rem; opacity: .85; }
.gw-pricebox__note { font-size: .85rem; color: var(--gw-muted); margin: 12px 0 0; }

/* Forms */
.gw-form { display: flex; flex-direction: column; gap: 14px; margin: 18px 0; }
.gw-card-form { background: #fff; border: 1px solid var(--gw-border); border-radius: var(--gw-radius); padding: 24px; box-shadow: var(--gw-shadow); }
.gw-label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: .95rem; }
.gw-input { padding: 12px 14px; border: 1px solid var(--gw-border); border-radius: 10px; font-size: 1rem; font-family: inherit; width: 100%; }
.gw-input:focus { outline: 2px solid var(--gw-primary); border-color: var(--gw-primary); }
.gw-check, .gw-radio { display: flex; align-items: center; gap: 8px; font-weight: 500; font-size: .95rem; }
.gw-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.gw-fieldset { border: 1px solid var(--gw-border); border-radius: 12px; padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.gw-fieldset legend { font-weight: 700; padding: 0 6px; }
.gw-form--inline { flex-direction: row; flex-wrap: wrap; align-items: center; }
.gw-divider { text-align: center; position: relative; margin: 22px 0; color: var(--gw-muted); }
.gw-divider span { background: var(--gw-bg-alt); padding: 0 12px; position: relative; z-index: 1; }
.gw-divider::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--gw-border); }
.gw-details { background: #fff; border: 1px solid var(--gw-border); border-radius: 12px; padding: 12px 16px; margin: 16px 0; }
.gw-details summary { cursor: pointer; font-weight: 600; }

/* Notices */
.gw-notice { background: #fff; border: 1px solid var(--gw-border); border-left: 4px solid var(--gw-primary); border-radius: 10px; padding: 14px 16px; margin: 16px 0; }
.gw-notice--error { border-left-color: #b3261e; }
.gw-notice--ok { border-left-color: var(--gw-primary); }
.gw-notice--locked { border-left-color: #b88a00; }

/* Mein Bereich */
.gw-dashhead { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.gw-dashgrid { display: grid; grid-template-columns: 280px 1fr; gap: 28px; align-items: start; }
.gw-roomlist { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.gw-roomlist__item a { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; background: #fff; border: 1px solid var(--gw-border); border-radius: 10px; text-decoration: none; color: var(--gw-text); }
.gw-roomlist__item.is-active a { border-color: var(--gw-primary); background: var(--gw-bg-alt); }
.gw-roomlist__title { font-weight: 600; }
.gw-roomlist__rest { font-size: .82rem; color: var(--gw-muted); }
.gw-material { padding-left: 18px; }

/* Player + Schutz */
.gw-player__frame { position: relative; aspect-ratio: 16/9; border-radius: var(--gw-radius); overflow: hidden; background: #000; box-shadow: var(--gw-shadow); }
.gw-player__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.gw-player__shield { position: absolute; top: 0; right: 0; width: 64px; height: 56px; } /* deckt nichts Bedienbares ab, erschwert direkten Frame-Kontext */
.gw-player__hint { font-size: .82rem; color: var(--gw-muted); margin-top: 8px; }
.gw-chapters { list-style: none; padding: 0; }
.gw-chapters li { padding: 6px 0; border-bottom: 1px solid var(--gw-border); }
.gw-chapters__time { color: var(--gw-primary); font-weight: 600; margin-right: 8px; }

/* Community */
.gw-posts { display: flex; flex-direction: column; gap: 18px; margin-top: 20px; }
.gw-post { background: #fff; border: 1px solid var(--gw-border); border-radius: var(--gw-radius); padding: 20px; box-shadow: var(--gw-shadow); }
.gw-post__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.gw-post__title { margin: 0; }
.gw-post__replies { margin: 12px 0; padding-left: 14px; border-left: 2px solid var(--gw-border); display: flex; flex-direction: column; gap: 8px; }
.gw-form--reply { flex-direction: row; }

/* About + Stats */
.gw-about { text-align: center; }
.gw-about__text { max-width: 720px; margin: 0 auto 20px; }
.gw-stats { list-style: none; padding: 0; display: flex; gap: 28px; justify-content: center; flex-wrap: wrap; }
.gw-stats li { display: flex; flex-direction: column; }
.gw-stats strong { font-size: 1.8rem; color: var(--gw-primary); }

/* Summary (Checkout) */
.gw-summary { background: var(--gw-bg-alt); border-radius: var(--gw-radius); padding: 18px 20px; margin: 16px 0; }
.gw-summary__price { font-weight: 700; font-size: 1.2rem; margin: 8px 0 0; }

/* Cookie-Banner */
.gw-cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; max-width: 720px; margin: 0 auto; background: #fff; border: 1px solid var(--gw-border); border-radius: var(--gw-radius); box-shadow: 0 10px 40px rgba(0,0,0,.18); padding: 16px 20px; display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; z-index: 9999; font-family: 'Montserrat', Arial, sans-serif; }
.gw-cookie__text { margin: 0; font-size: .9rem; flex: 1 1 320px; }
.gw-cookie__actions { display: flex; gap: 10px; }

/* Frontend-Dashboard (Studio) */
.gw-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--gw-border); border-radius: var(--gw-radius); overflow: hidden; }
.gw-table th, .gw-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--gw-border); vertical-align: middle; }
.gw-table th { background: var(--gw-bg-alt); font-size: .85rem; }
.gw-table tr:last-child td { border-bottom: 0; }
.gw-fechart { display: flex; align-items: flex-end; gap: 16px; height: 190px; background: #fff; border: 1px solid var(--gw-border); border-radius: var(--gw-radius); padding: 18px; max-width: 620px; }
.gw-fechart__col { display: flex; flex-direction: column; align-items: center; gap: 6px; flex: 1; justify-content: flex-end; height: 100%; }
.gw-fechart__bar { width: 64%; background: linear-gradient(180deg, #5a9458, var(--gw-primary)); border-radius: 6px 6px 0 0; min-height: 3px; }
.gw-credit { text-align: center; color: var(--gw-muted); font-size: .8rem; margin-top: 18px; }

/* Responsive */
@media (max-width: 860px) {
	.gw-detail { grid-template-columns: 1fr; }
	.gw-dashgrid { grid-template-columns: 1fr; }
	.gw-pricebox { position: static; }
}
@media (max-width: 520px) {
	.gw-row2 { grid-template-columns: 1fr; }
	.gw-section { padding: 40px 0; }
}
