/*
Theme Name: MMT Block Theme
Theme URI: https://mindmoneytrading.com/
Author: Mind Money Trading UG (haftungsbeschränkt)
Author URI: https://mindmoneytrading.com/
Description: Individuelles Full-Site-Editing-Theme für Mind Money Trading.
Requires at least: 6.5
Tested up to: 7.0
Requires PHP: 8.0
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mmt
*/

:root {
  --mmt-navy: #08111f;
  --mmt-navy-soft: #111c33;
  --mmt-navy-mid: #243856;
  --mmt-gold: #c8a451;
  --mmt-gold-light: #e3c878;
  --mmt-cream: #f4efe6;
  --mmt-ink: #1c2430;
  --mmt-muted: #5d6b63;
  --mmt-line: #d9d1c3;
  --mmt-white: #ffffff;
  --mmt-success: #2e7d66;
  --mmt-shadow: 0 24px 70px rgba(7, 20, 38, .12);
  --mmt-radius: 24px;
}

html { scroll-behavior: smooth; }
body { overflow-x: hidden; }
a { text-underline-offset: .2em; }

.mmt-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(8, 17, 31, .96);
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.mmt-header__inner,
.mmt-footer__inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px;
}

.mmt-header__inner { min-height: 78px; }
.mmt-logo { letter-spacing: .14em; text-decoration: none; }
.mmt-logo strong { color: var(--mmt-gold); }
.mmt-header .mmt-logo { color: white; font-size: 1.04rem; font-weight: 800; }
.mmt-header .wp-block-navigation-item__content { text-decoration: none; }
.mmt-header .wp-block-navigation-item__content:hover { color: var(--mmt-gold-light) !important; }
.mmt-header .mmt-button--gold .wp-block-navigation-item__content { color: #111b27 !important; }
.mmt-header .wp-block-navigation__responsive-container.is-menu-open { color: white; background: var(--mmt-navy); }

.mmt-hero {
  position: relative;
  overflow: hidden;
  min-height: 720px;
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at 79% 23%, rgba(200,164,81,.22), transparent 27%),
    radial-gradient(circle at 14% 84%, rgba(35,59,93,.55), transparent 32%),
    linear-gradient(145deg, #08111f 0%, #111c33 56%, #171a1f 100%);
}

.mmt-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black, transparent 88%);
}

.mmt-shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.mmt-hero__grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr .85fr; gap: 80px; align-items: center; padding: 118px 0 122px; }
.mmt-eyebrow { color: var(--mmt-gold-light); font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.mmt-hero h1 { max-width: 820px; color: white; font-size: clamp(3rem, 6vw, 5.8rem); line-height: .98; letter-spacing: -.045em; margin: 20px 0 28px; }
.mmt-hero__lead { max-width: 700px; color: #d3dce7; font-size: clamp(1.1rem, 2vw, 1.35rem); line-height: 1.65; }
.mmt-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.wp-element-button, .mmt-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 52px;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.wp-element-button:hover, .mmt-button:hover { transform: translateY(-2px); box-shadow: 0 14px 35px rgba(0,0,0,.18); }
.mmt-button--gold { color: #111b27; background: var(--mmt-gold); }
.mmt-button--ghost { color: white; border: 1px solid rgba(255,255,255,.34); background: rgba(255,255,255,.04); }
.mmt-button--dark { color: white; background: var(--mmt-navy); }

.mmt-result-card {
  position: relative;
  padding: 30px;
  border: 1px solid rgba(227,200,120,.34);
  border-radius: 30px;
  background: linear-gradient(145deg, rgba(255,255,255,.10), rgba(255,255,255,.035));
  box-shadow: 0 30px 90px rgba(0,0,0,.25);
  backdrop-filter: blur(12px);
}
.mmt-result-card__label { color: #c9d4df; font-size: .82rem; }
.mmt-result-card h2 { color: white; font-size: 1.7rem; margin: 10px 0 26px; }
.mmt-result { display: grid; grid-template-columns: 38px 1fr; gap: 14px; align-items: start; padding: 18px 0; border-top: 1px solid rgba(255,255,255,.1); }
.mmt-result__number { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: var(--mmt-gold-light); border: 1px solid rgba(214,170,77,.5); font-size: .76rem; font-weight: 800; }
.mmt-result p { margin: 0; color: #e5ebf2; line-height: 1.5; }

.mmt-proofbar { background: #f4efe6; border-bottom: 1px solid #d9d1c3; }
.mmt-proofbar__inner { display: flex; align-items: center; justify-content: center; gap: 28px; padding: 20px 0; color: #243246; text-align: center; }
.mmt-proofbar strong { color: var(--mmt-navy); }
.mmt-proofbar a { color: #4d3b14; font-weight: 700; }

.mmt-section { padding: 112px 0; }
.mmt-section--soft { background: #f5f7f8; }
.mmt-section--cream { background: var(--mmt-cream); }
.mmt-section--navy { color: white; background: var(--mmt-navy); }
.mmt-section--navy h2, .mmt-section--navy h3 { color: white; }
.mmt-section__head { display: grid; grid-template-columns: .78fr 1.22fr; gap: 70px; align-items: end; margin-bottom: 54px; }
.mmt-section__head h2 { margin: 0; font-size: clamp(2.3rem, 4vw, 4.2rem); line-height: 1.05; letter-spacing: -.04em; }
.mmt-section__intro { color: var(--mmt-muted); font-size: 1.12rem; line-height: 1.75; }
.mmt-section--navy .mmt-section__intro { color: #cbd5df; }

.mmt-outcomes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.mmt-outcome { padding: 32px; border: 1px solid var(--mmt-line); border-radius: 8px 24px 24px 24px; background: white; box-shadow: 0 16px 42px rgba(8,17,31,.05); }
.mmt-outcome__icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; color: var(--mmt-navy); background: #efe4c8; font-weight: 800; }
.mmt-outcome h3 { margin: 24px 0 10px; font-size: 1.3rem; }
.mmt-outcome p { margin: 0; color: var(--mmt-muted); line-height: 1.65; }

.mmt-ladder { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: ladder; }
.mmt-offer-card { position: relative; display: flex; flex-direction: column; min-height: 530px; padding: 38px 34px 34px; overflow: hidden; border: 1px solid #d9d1c3; border-radius: 8px 28px 28px 28px; background: white; box-shadow: 0 18px 54px rgba(8,17,31,.08); }
.mmt-offer-card::after { content:""; position:absolute; top:0; left:0; right:0; height:5px; background:linear-gradient(90deg, var(--mmt-gold), transparent 72%); }
.mmt-offer-card::before { counter-increment: ladder; content: "0" counter(ladder); position: absolute; top: 20px; right: 24px; color: #e9edf1; font-size: 4.2rem; font-weight: 800; line-height: 1; }
.mmt-offer-card--featured { color: white; border-color: #384b69; background: linear-gradient(160deg, #111c33, #08111f 62%, #171a1f); transform: translateY(-12px); }
.mmt-offer-card--featured::after { background: linear-gradient(90deg, var(--mmt-gold), var(--mmt-gold-light), transparent); }
.mmt-offer-card:first-child { background: linear-gradient(145deg, #f4efe6, #ffffff); }
.mmt-offer-card:nth-child(3) { color: white; border-color: #2d3036; background: linear-gradient(145deg, #171a1f, #242a31); }
.mmt-offer-card:nth-child(3)::before { color: rgba(255,255,255,.08); }
.mmt-offer-card:nth-child(3) .mmt-offer-card__tag { color: var(--mmt-gold-light); }
.mmt-offer-card:nth-child(3) .mmt-offer-card__promise, .mmt-offer-card:nth-child(3) li { color: #d5d9dd; }
.mmt-offer-card:nth-child(3) li::before { color: var(--mmt-gold-light); }
.mmt-offer-card--featured::before { color: rgba(255,255,255,.09); }
.mmt-offer-card__tag { position: relative; z-index: 1; color: #856518; font-size: .76rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.mmt-offer-card--featured .mmt-offer-card__tag { color: var(--mmt-gold-light); }
.mmt-offer-card h3 { position: relative; z-index: 1; margin: 18px 0 6px; font-size: 2.15rem; }
.mmt-offer-card__promise { position: relative; z-index: 1; min-height: 76px; color: var(--mmt-muted); font-size: 1.05rem; line-height: 1.55; }
.mmt-offer-card--featured .mmt-offer-card__promise { color: #d7e0e9; }
.mmt-offer-card ul { margin: 24px 0 30px; padding: 0; list-style: none; }
.mmt-offer-card li { position: relative; padding: 9px 0 9px 25px; color: #465363; }
.mmt-offer-card li::before { content: "✓"; position: absolute; left: 0; color: var(--mmt-success); font-weight: 800; }
.mmt-offer-card--featured li { color: #e3e9ef; }
.mmt-offer-card--featured li::before { color: var(--mmt-gold-light); }
.mmt-offer-card .mmt-button { margin-top: auto; }

.mmt-methods { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.mmt-method { padding: 26px 20px; border-top: 3px solid var(--mmt-gold); border-right: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.035); }
.mmt-method h3 { font-size: 1.05rem; margin: 0 0 10px; }
.mmt-method p { margin: 0; color: #bdc8d4; font-size: .91rem; line-height: 1.55; }

.mmt-artifacts { display: grid; grid-template-columns: .86fr 1.14fr; gap: 70px; align-items: center; }
.mmt-artifact-stack { position: relative; min-height: 450px; }
.mmt-paper { position: absolute; width: 78%; padding: 28px; border-radius: 18px; background: white; box-shadow: var(--mmt-shadow); }
.mmt-paper:nth-child(1) { top: 8px; left: 0; transform: rotate(-4deg); }
.mmt-paper:nth-child(2) { top: 112px; right: 0; transform: rotate(4deg); }
.mmt-paper:nth-child(3) { top: 236px; left: 8%; transform: rotate(-1deg); }
.mmt-paper__bar { height: 8px; margin-bottom: 12px; border-radius: 9px; background: #e8ecf0; }
.mmt-paper__bar--gold { width: 42%; background: var(--mmt-gold); }
.mmt-paper__bar--short { width: 63%; }
.mmt-paper strong { display: block; margin-bottom: 14px; color: var(--mmt-navy); }
.mmt-artifacts h2 { font-size: clamp(2.2rem, 3.5vw, 3.8rem); line-height: 1.08; letter-spacing: -.035em; }
.mmt-artifacts p { color: var(--mmt-muted); line-height: 1.75; }

.mmt-knowledge-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 22px; }
.mmt-knowledge-card { display: flex; min-height: 320px; padding: 38px; flex-direction: column; border: 1px solid var(--mmt-line); border-radius: 8px 28px 28px 28px; background: white; }
.mmt-knowledge-card--dark { color: white; border-color: var(--mmt-navy-mid); background: var(--mmt-navy-soft); }
.mmt-knowledge-card__meta { color: #8b6720; font-size: .76rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.mmt-knowledge-card--dark .mmt-knowledge-card__meta { color: var(--mmt-gold-light); }
.mmt-knowledge-card h3 { margin: auto 0 14px; font-size: clamp(1.7rem, 2.5vw, 2.8rem); line-height: 1.12; }
.mmt-knowledge-card p { color: var(--mmt-muted); }
.mmt-knowledge-card--dark p { color: #c5d0db; }
.mmt-textlink { color: inherit; font-weight: 800; }

.mmt-cta { padding: 100px 0; text-align: center; color: white; background: radial-gradient(circle at 50% 0, rgba(200,164,81,.18), transparent 35%), linear-gradient(135deg, #08111f, #111c33 58%, #171a1f); }
.mmt-cta h2 { max-width: 780px; margin: 0 auto 18px; font-size: clamp(2.2rem, 4vw, 4.3rem); letter-spacing: -.04em; }
.mmt-cta p { max-width: 690px; margin: 0 auto; color: #ced9e4; font-size: 1.08rem; }
.mmt-cta .mmt-actions { justify-content: center; }

.mmt-content { width: min(820px, calc(100% - 48px)); margin: 0 auto; padding: 84px 0 120px; }
.mmt-content--wide { width: min(1180px, calc(100% - 48px)); }
.mmt-page-hero { padding: 96px 0 76px; color: white; background: linear-gradient(145deg, #071426, #123656); }
.mmt-page-hero h1 { font-size: clamp(2.8rem, 5vw, 5rem); letter-spacing: -.045em; }
.mmt-entry-content { font-size: 1.05rem; line-height: 1.8; }
.mmt-entry-content h2 { margin-top: 2.4em; font-size: 2rem; }
.mmt-entry-content h3 { margin-top: 2em; }
.mmt-entry-content a { color: #765714; }

.mmt-query-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; list-style: none; padding: 0; }
.mmt-query-card { height: 100%; padding: 28px; border: 1px solid var(--mmt-line); border-radius: 20px; background: white; }

.mmt-contact { display: grid; grid-template-columns: .75fr 1.25fr; gap: 60px; align-items: start; }
.mmt-form { padding: 34px; border: 1px solid var(--mmt-line); border-radius: 24px; background: white; box-shadow: var(--mmt-shadow); }
.mmt-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mmt-form label { display: block; margin: 0 0 18px; color: var(--mmt-ink); font-weight: 700; }
.mmt-form input:not([type="checkbox"]), .mmt-form select, .mmt-form textarea { width: 100%; box-sizing: border-box; margin-top: 8px; padding: 13px 14px; border: 1px solid #cdd4dc; border-radius: 10px; color: var(--mmt-ink); background: white; font: inherit; }
.mmt-form input:focus, .mmt-form select:focus, .mmt-form textarea:focus { outline: 3px solid rgba(214,170,77,.28); border-color: #a77d22; }
.mmt-form__consent { display: grid !important; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; font-weight: 400 !important; }
.mmt-form__notice { padding: 14px 16px; margin-bottom: 20px; border-radius: 10px; background: #e5f3ed; color: #185c49; }
.mmt-form__notice--error { background: #fae7e6; color: #842723; }
.mmt-hp { position: absolute !important; left: -9999px !important; }

.mmt-footer { padding: 70px 0 28px; color: #d4dde6; background: #050d18; }
.mmt-footer h2, .mmt-footer h3 { color: white; }
.mmt-footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 50px; padding-bottom: 48px; }
.mmt-footer h2, .mmt-footer h3 { color: white; }
.mmt-footer p { color: #aebbc8; }
.mmt-footer a { color: #d9e1e8; text-decoration: none; }
.mmt-footer a:hover { color: var(--mmt-gold-light); }
.mmt-footer ul { margin: 0; padding: 0; list-style: none; }
.mmt-footer li { padding: 5px 0; }
.mmt-footer__bottom { padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); color: #8fa0af; font-size: .88rem; }

.mmt-skip-link { position: absolute; left: -9999px; top: 8px; z-index: 999; padding: 10px 14px; background: white; color: black; }
.mmt-skip-link:focus { left: 8px; }

@media (max-width: 980px) {
  .mmt-hero__grid, .mmt-section__head, .mmt-artifacts, .mmt-contact { grid-template-columns: 1fr; gap: 42px; }
  .mmt-hero { min-height: auto; }
  .mmt-ladder, .mmt-outcomes { grid-template-columns: 1fr; }
  .mmt-offer-card { min-height: auto; }
  .mmt-offer-card--featured { transform: none; }
  .mmt-methods { grid-template-columns: repeat(2, 1fr); }
  .mmt-knowledge-grid { grid-template-columns: 1fr; }
  .mmt-query-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 700px) {
  .mmt-shell, .mmt-content, .mmt-content--wide { width: min(100% - 34px, 1180px); }
  .mmt-header__inner, .mmt-footer__inner { padding: 0 17px; }
  .mmt-header__inner { min-height: 68px; }
  .mmt-header .wp-block-navigation__responsive-container-open { color: white; }
  .mmt-section { padding: 78px 0; }
  .mmt-hero__grid { padding: 76px 0 84px; }
  .mmt-hero h1 { font-size: clamp(2.7rem, 14vw, 4.2rem); }
  .mmt-result-card { padding: 22px; }
  .mmt-proofbar__inner { flex-direction: column; gap: 8px; }
  .mmt-methods, .mmt-query-grid, .mmt-footer__grid, .mmt-form__row { grid-template-columns: 1fr; }
  .mmt-artifact-stack { min-height: 390px; }
  .mmt-paper { width: 82%; padding: 22px; }
  .mmt-actions { flex-direction: column; }
  .mmt-actions .mmt-button { width: 100%; box-sizing: border-box; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
