/*
Theme Name: LetterForge Studio
Theme URI: https://letterforge.studio/
Description: Eigenständiges Corporate-Design-Child-Theme für LetterForge auf Basis von Twenty Twenty-Five.
Author: Craft & Design
Template: twentytwentyfive
Version: 0.2.3
Text Domain: letterforge-studio
*/

:root {
  --lf-orange: #f06a16;
  --lf-orange-dark: #b64208;
  --lf-orange-soft: #ffeadc;
  --lf-ink: #151819;
  --lf-ink-soft: #232829;
  --lf-muted: #667174;
  --lf-paper: #f7f5ef;
  --lf-white: #ffffff;
  --lf-line: #d8d6cf;
  --lf-radius-sm: 12px;
  --lf-radius-lg: 30px;
  --lf-shadow: 0 24px 70px rgba(10, 14, 15, 0.16);
  --lf-display: "Arial Black", "Helvetica Neue", Arial, sans-serif;
}

html { scroll-behavior: smooth; }
body { background: var(--lf-paper); color: var(--lf-ink); }
.lf-shell { width: min(1200px, calc(100% - 48px)); margin-inline: auto; }

.lf-site-header { position: sticky; top: 0; z-index: 50; background: rgba(21, 24, 25, 0.95); color: var(--lf-white); border-bottom: 1px solid rgba(255, 255, 255, 0.1); backdrop-filter: blur(16px); }
.admin-bar .lf-site-header { top: 32px; }
.lf-site-header > .wp-block-group { min-height: 78px; }
.lf-brand-lockup { gap: 0.7rem; }
.lf-brand-logo { width: 178px; height: 58px; display: block; background: url("assets/images/letterforge-logo.png") center / contain no-repeat; }
.lf-nav a { color: #dce1e1; font-size: 0.83rem; font-weight: 750; letter-spacing: 0.04em; text-decoration: none; text-transform: uppercase; }
.lf-nav a:hover { color: var(--lf-orange); }
.lf-nav .wp-block-navigation__responsive-container-open { color: var(--lf-white); }

.lf-hero { position: relative; overflow: hidden; min-height: min(820px, calc(100vh - 78px)); display: grid; align-items: center; padding-block: clamp(4.5rem, 9vw, 8rem); background: var(--lf-ink); color: var(--lf-white); isolation: isolate; }
.lf-hero::before { content: "Aa"; position: absolute; right: -0.05em; bottom: -0.35em; z-index: -1; color: rgba(255, 255, 255, 0.025); font-family: Georgia, serif; font-size: min(55vw, 46rem); font-weight: 900; line-height: 1; }
.lf-hero::after { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(circle at 73% 42%, rgba(240, 106, 22, 0.18), transparent 28%), linear-gradient(115deg, #111415 0 58%, #1c2122 58%); }
.lf-hero-grid { align-items: center; gap: clamp(3rem, 8vw, 7rem); }
.lf-kicker { display: inline-flex; align-items: center; gap: 0.7rem; margin: 0; color: #ffb17f; font-size: 0.72rem; font-weight: 850; letter-spacing: 0.16em; text-transform: uppercase; }
.lf-kicker::before { content: ""; width: 38px; height: 2px; background: var(--lf-orange); }
.lf-hero h1 { max-width: 780px; margin-block: 1.3rem 1.6rem; color: var(--lf-white); font-family: var(--lf-display); font-size: clamp(3.25rem, 7.2vw, 6.8rem); line-height: 0.88; letter-spacing: -0.075em; text-transform: uppercase; hyphens: none; overflow-wrap: normal; word-break: normal; }
.lf-hero h1 em { display: block; color: var(--lf-orange); font-family: Georgia, serif; font-weight: 700; letter-spacing: -0.06em; text-transform: none; }
.lf-lead { max-width: 650px; color: #c5cdce; font-size: clamp(1.05rem, 2vw, 1.22rem); line-height: 1.65; }
.lf-actions { margin-top: 2rem; gap: 0.75rem; }
.lf-actions .wp-block-button__link { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; padding-inline: 1.35rem; border-radius: 0; font-size: 0.82rem; font-weight: 850; letter-spacing: 0.06em; text-transform: uppercase; transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease; }
.lf-actions .wp-block-button__link:hover { transform: translateY(-3px); }
.lf-actions .is-style-fill .wp-block-button__link { background: var(--lf-orange); color: var(--lf-white); box-shadow: 7px 7px 0 rgba(255, 255, 255, 0.13); }
.lf-actions .is-style-fill .wp-block-button__link:hover { background: #ff7a25; }
.lf-actions .is-style-outline .wp-block-button__link { border: 1px solid rgba(255, 255, 255, 0.38); background: transparent; color: var(--lf-white); }
.lf-actions .is-style-outline .wp-block-button__link:hover { border-color: var(--lf-orange); color: #ffb17f; }

.lf-type-stage { position: relative; min-height: 470px; display: grid; align-content: center; padding: clamp(2rem, 5vw, 3.4rem); border: 1px solid rgba(255, 255, 255, 0.14); background: rgba(255, 255, 255, 0.035); box-shadow: var(--lf-shadow); }
.lf-type-stage::before { content: ""; position: absolute; inset: 16px -16px -16px 16px; z-index: -1; border: 2px solid var(--lf-orange); pointer-events: none; }
.lf-type-stage::after { content: ""; position: absolute; width: 82px; height: 82px; top: -22px; right: -22px; background: repeating-linear-gradient(45deg, var(--lf-orange) 0 4px, transparent 4px 9px); opacity: 0.75; pointer-events: none; }
.lf-stage-label { margin: 0 0 2rem; color: #aeb8ba; font-size: 0.68rem; font-weight: 800; letter-spacing: 0.15em; text-transform: uppercase; }
.lf-wordmark { display: grid; font-family: var(--lf-display); font-size: clamp(3rem, 5.8vw, 5.8rem); font-weight: 900; line-height: 0.76; letter-spacing: -0.09em; text-transform: uppercase; }
.lf-wordmark span { white-space: nowrap; }
.lf-wordmark span:first-child { color: var(--lf-white); }
.lf-wordmark span:last-child { color: var(--lf-orange); transform: translateX(0.18em); text-shadow: 3px 3px 0 #7a2a00, 7px 7px 0 rgba(255, 255, 255, 0.13); }
.lf-stage-meta { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2.5rem; padding-top: 1rem; border-top: 1px solid rgba(255, 255, 255, 0.14); color: #b5bec0; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; }

.lf-type-strip { overflow: hidden; border-block: 1px solid var(--lf-line); background: var(--lf-white); }
.lf-type-strip-inner { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; white-space: nowrap; }
.lf-type-strip strong { color: var(--lf-orange); font-family: Georgia, serif; font-size: 1.4rem; font-style: italic; }
.lf-type-strip span { color: #485254; font-size: 0.74rem; font-weight: 800; letter-spacing: 0.11em; text-transform: uppercase; }

.lf-section { padding-block: clamp(5rem, 10vw, 8rem); }
.lf-eyebrow { margin-bottom: 1rem; color: var(--lf-orange-dark); font-size: 0.72rem; font-weight: 850; letter-spacing: 0.15em; text-transform: uppercase; }
.lf-section h2 { max-width: 900px; margin: 0 0 1.35rem; font-family: var(--lf-display); font-size: clamp(2.5rem, 5.7vw, 5.2rem); line-height: 0.94; letter-spacing: -0.065em; text-transform: uppercase; }
.lf-section-lead { max-width: 680px; margin-bottom: 3rem; color: var(--lf-muted); font-size: clamp(1.05rem, 1.7vw, 1.18rem); line-height: 1.7; }

.lf-workflow { display: grid; grid-template-columns: minmax(230px, 0.75fr) minmax(0, 1.4fr); gap: clamp(3rem, 8vw, 7rem); align-items: start; }
.lf-workflow-intro { position: sticky; top: 120px; }
.lf-workflow-intro h2 { font-size: clamp(2.5rem, 4.8vw, 4.6rem); }
.lf-workflow-list { border-top: 2px solid var(--lf-ink); }
.lf-step { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 1.5rem; padding-block: 2rem; border-bottom: 1px solid var(--lf-line); }
.lf-step-number { color: var(--lf-orange); font-family: Georgia, serif; font-size: 2rem; font-style: italic; }
.lf-step h3 { margin: 0 0 0.55rem; font-size: clamp(1.35rem, 2.5vw, 2rem); letter-spacing: -0.035em; }
.lf-step p { margin: 0; color: var(--lf-muted); line-height: 1.65; }

.lf-demo { position: relative; overflow: hidden; background: var(--lf-orange); color: var(--lf-ink); }
.lf-demo::after { content: "LIVE"; position: absolute; right: -0.05em; bottom: -0.3em; color: rgba(255, 255, 255, 0.14); font-family: var(--lf-display); font-size: min(28vw, 22rem); line-height: 1; }
.lf-demo-grid { position: relative; z-index: 1; align-items: stretch; gap: clamp(2rem, 6vw, 5rem); }
.lf-demo-copy { align-self: center; }
.lf-demo h2 { color: var(--lf-ink); }
.lf-demo .lf-section-lead { color: #52260b; }
.lf-demo .lf-actions .is-style-fill .wp-block-button__link { background: var(--lf-ink); box-shadow: 7px 7px 0 rgba(255, 255, 255, 0.35); }
.lf-demo .lf-actions .is-style-outline .wp-block-button__link { border-color: rgba(21, 24, 25, 0.5); color: var(--lf-ink); }
.lf-preview-window { min-height: 460px; display: grid; grid-template-rows: auto 1fr auto; padding: 1rem; background: var(--lf-white); box-shadow: 18px 18px 0 rgba(21, 24, 25, 0.2); transform: rotate(1.2deg); }
.lf-preview-bar { display: flex; gap: 0.4rem; padding: 0.4rem; }
.lf-preview-bar i { width: 9px; height: 9px; display: block; border-radius: 50%; background: var(--lf-line); }
.lf-preview-canvas { display: grid; place-items: center; min-height: 290px; background: linear-gradient(135deg, #f7f5ef, #ece8df); }
.lf-preview-text { color: var(--lf-orange); font-family: var(--lf-display); font-size: clamp(2.8rem, 7vw, 6rem); letter-spacing: -0.08em; text-shadow: 4px 4px 0 #9c3904, 8px 8px 18px rgba(21, 24, 25, 0.2); }
.lf-preview-data { display: flex; justify-content: space-between; gap: 0.75rem; padding: 1rem 0.5rem 0.25rem; color: var(--lf-muted); font-size: 0.7rem; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase; }

.lf-versions { background: var(--lf-white); }
.lf-version-split { display: grid; grid-template-columns: 0.82fr 1.18fr; border: 1px solid var(--lf-line); }
.lf-version { min-height: 480px; display: flex; flex-direction: column; padding: clamp(2rem, 5vw, 4rem); }
.lf-version + .lf-version { border-left: 1px solid var(--lf-line); }
.lf-version-pro { background: var(--lf-ink); color: var(--lf-white); }
.lf-version-tag { align-self: flex-start; margin-bottom: auto; color: var(--lf-orange); font-size: 0.72rem; font-weight: 900; letter-spacing: 0.16em; text-transform: uppercase; }
.lf-version h3 { margin-block: 2rem 0.8rem; color: inherit; font-family: var(--lf-display); font-size: clamp(2.4rem, 4vw, 4rem); line-height: 0.95; letter-spacing: -0.06em; text-transform: uppercase; }
.lf-version p { max-width: 480px; color: var(--lf-muted); line-height: 1.65; }
.lf-version-pro p { color: #b8c1c2; }
.lf-version ul { padding: 1.5rem 0 0; margin: 0; border-top: 1px solid var(--lf-line); list-style: none; }
.lf-version-pro ul { border-color: rgba(255, 255, 255, 0.16); }
.lf-version li { position: relative; margin-block: 0.7rem; padding-left: 1.4rem; }
.lf-version li::before { content: "↗"; position: absolute; left: 0; color: var(--lf-orange); font-weight: 900; }
.lf-version-link { display: inline-flex; align-self: flex-start; margin-top: 1.25rem; color: var(--lf-orange-dark); font-weight: 850; text-decoration: none; }
.lf-version-pro .lf-version-link { color: #ff9a5a; }

.lf-family { background: var(--lf-paper); }
.lf-family-band { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: end; padding-top: 2.5rem; border-top: 2px solid var(--lf-ink); }
.lf-family-band p { max-width: 650px; margin: 0; color: var(--lf-muted); line-height: 1.65; }
.lf-family-mark { color: var(--lf-ink); font-family: var(--lf-display); font-size: clamp(1.2rem, 2.5vw, 2rem); letter-spacing: -0.04em; text-transform: uppercase; }
.lf-family-mark span { color: var(--lf-orange); }

.lf-site-footer { padding-block: 3.5rem; background: #0d1011; color: #aeb7b8; }
.lf-site-footer a { color: var(--lf-white); }
.lf-footer-logo { width: 230px; height: 86px; margin-bottom: 0.65rem; }

:where(a, button, input, select, textarea):focus-visible { outline: 3px solid var(--lf-orange); outline-offset: 3px; }

@media (prefers-reduced-motion: no-preference) {
  .lf-wordmark span:last-child { animation: lf-float 5s ease-in-out infinite; }
  @keyframes lf-float { 0%, 100% { transform: translate(0.18em, 0); } 50% { transform: translate(0.18em, -0.06em); } }
}

@media (max-width: 900px) {
  .lf-hero { min-height: auto; }
  .lf-hero::after { background: radial-gradient(circle at 70% 70%, rgba(240, 106, 22, 0.18), transparent 34%), var(--lf-ink); }
  .lf-hero-grid, .lf-demo-grid { grid-template-columns: 1fr !important; }
  .lf-type-stage { width: min(620px, calc(100% - 18px)); min-height: 390px; }
  .lf-workflow { grid-template-columns: 1fr; }
  .lf-workflow-intro { position: static; }
  .lf-version-split { grid-template-columns: 1fr; }
  .lf-version + .lf-version { border-top: 1px solid var(--lf-line); border-left: 0; }
  .lf-family-band { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .admin-bar .lf-site-header { top: 0; }
  .lf-shell { width: min(100% - 28px, 1200px); }
  .lf-site-header > .wp-block-group { min-height: 66px; }
  .lf-brand-logo { width: 142px; height: 48px; }
  .lf-footer-logo { width: 178px; height: 66px; }
  .lf-hero h1 { font-size: clamp(2.8rem, 16vw, 4.2rem); }
  .lf-actions { width: 100%; }
  .lf-actions .wp-block-button, .lf-actions .wp-block-button__link { width: 100%; }
  .lf-type-stage { min-height: 330px; padding: 1.5rem; }
  .lf-type-stage::before { inset: 9px -9px -9px 9px; }
  .lf-stage-meta, .lf-preview-data { flex-direction: column; }
  .lf-type-strip-inner { overflow-x: auto; justify-content: flex-start; }
  .lf-step { grid-template-columns: 48px minmax(0, 1fr); gap: 0.8rem; }
  .lf-preview-window { min-height: 390px; transform: none; box-shadow: 9px 9px 0 rgba(21, 24, 25, 0.2); }
  .lf-version { min-height: 420px; padding: 2rem 1.4rem; }
}
