/*
Theme Name: Lucky Machines Onepager
Author: Lucky Machines
Description: Klarer Onepager für die Aufstellung von Spielgeräten mit Gewinnmöglichkeit
Version: 5.7
*/

:root {
  --red: #cf2027;
  --red-dark: #ad161c;
  --ink: #151515;
  --muted: #626262;
  --paper: #ffffff;
  --soft: #f3f3f0;
  --line: #dededb;
  --radius: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
body.admin-bar .site-header { top: 32px; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { margin-bottom: 0; line-height: 1.08; letter-spacing: -.04em; }
.shell { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }
.section { padding: 104px 0; }
.skip-link { position: fixed; z-index: 999; top: 8px; left: 8px; padding: 10px 14px; background: #fff; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.eyebrow { margin-bottom: 18px; color: var(--red); font-size: 11px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow::before { content: ""; display: inline-block; width: 28px; height: 2px; margin: 0 11px 3px 0; background: currentColor; }

.site-header { position: sticky; z-index: 50; top: 0; border-top: 5px solid var(--red); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.97); backdrop-filter: blur(14px); }
.header-inner { min-height: 92px; display: flex; align-items: center; gap: 38px; }
.brand { flex: 0 0 auto; width: 190px; }
.main-nav { margin-left: auto; display: flex; align-items: center; gap: 30px; }
.main-nav a { color: #303030; font-size: 12px; font-weight: 850; letter-spacing: .04em; text-decoration: none; text-transform: uppercase; }
.main-nav a:hover, .main-nav a:focus-visible { color: var(--red); }
.header-instagram { width: 42px; height: 42px; flex: 0 0 42px; display: grid; place-items: center; border: 1px solid var(--line); color: #222; text-decoration: none; transition: border-color .2s ease, background .2s ease, color .2s ease; }
.header-instagram .dashicons { width: 21px; height: 21px; font-size: 21px; }
.header-instagram:hover, .header-instagram:focus-visible { border-color: var(--red); background: var(--red); color: #fff; }
.header-call { min-height: 42px; padding: 0 17px; display: inline-flex; align-items: center; justify-content: center; background: var(--red); color: #fff; font-size: 12px; font-weight: 850; text-decoration: none; text-transform: uppercase; }

.hero { padding: 0; background: #111; }
.hero-copy { max-width: 720px; }
.hero-headline { position: relative; padding: 28px 34px 31px; border-left: 5px solid var(--red); }
.hero-headline .eyebrow { margin-bottom: 16px; }
.hero h1 { max-width: 680px; color: #fff; font-size: clamp(48px, 5.25vw, 72px); line-height: 1.02; letter-spacing: -.045em; text-wrap: balance; text-shadow: 0 2px 18px rgba(0,0,0,.22); }
.hero-lead { max-width: 650px; margin: 24px 0 30px; color: rgba(255,255,255,.78); font-size: 18px; }
.button-row { display: flex; flex-wrap: wrap; gap: 11px; }
.button { min-height: 52px; padding: 0 21px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: 4px; font-size: 13px; font-weight: 850; text-decoration: none; cursor: pointer; transition: background .2s ease, color .2s ease, border-color .2s ease; }
.button-primary { background: var(--red); color: #fff; }
.button-primary:hover { background: var(--red-dark); }
.button-secondary { border-color: #1c1c1c; background: #fff; color: #111; }
.button-secondary:hover { background: #111; color: #fff; }
.hero-photo { position: relative; height: 620px; overflow: hidden; background: #111; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,9,12,.9) 0%, rgba(7,9,12,.7) 34%, rgba(7,9,12,.12) 68%, rgba(7,9,12,0) 100%); }
.hero-banner-content { position: absolute; z-index: 2; inset: 0; display: flex; align-items: center; }
.hero-banner .eyebrow { color: #fff; }
.hero-banner .eyebrow::before { background: var(--red); }
.hero-banner .button-secondary { border-color: rgba(255,255,255,.8); background: transparent; color: #fff; }
.hero-banner .button-secondary:hover { background: #fff; color: #111; }

.audience { background: var(--soft); }
.section-head { margin-bottom: 44px; }
.section-head h2, .contact-copy h2 { max-width: 820px; font-size: clamp(40px, 5vw, 62px); }
.audience-head { max-width: 820px; }
.audience-columns { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 18px; }
.audience-columns article { min-height: 455px; display: flex; flex-direction: column; overflow: hidden; border-bottom: 4px solid var(--red); background: #fff; box-shadow: 0 18px 45px rgba(22,22,22,.07); transition: transform .25s ease, box-shadow .25s ease; }
.audience-columns article:hover { transform: translateY(-4px); box-shadow: 0 24px 55px rgba(22,22,22,.11); }
.audience-image { height: 250px; flex: 0 0 250px; margin: 0; overflow: hidden; background: #111; }
.audience-image-empty { background: linear-gradient(135deg, #242424, #111 58%, var(--red-dark)); }
.audience-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.audience-image-product { height: 310px; flex-basis: 310px; padding: 18px; background: #f7f7f4; }
.audience-image-product img { object-fit: contain; }
.audience-columns article:hover .audience-image img { transform: scale(1.035); }
.audience-card-copy { flex: 1; padding: 26px 30px 31px; }
.audience-columns h3 { margin: 0 0 13px; font-size: 27px; }
.audience-columns p { margin: 0; color: var(--muted); font-size: 15px; }

.services { background: #fff; }
.service-list { display: grid; gap: 12px; }
.service-list article { min-height: 145px; padding: 28px 30px; display: grid; grid-template-columns: 1fr 110px; gap: 28px; align-items: center; background: var(--soft); }
.service-list h3 { margin-bottom: 9px; font-size: 27px; }
.service-list p { max-width: 720px; margin: 0; color: var(--muted); }
.service-list a { justify-self: end; color: var(--red); font-size: 12px; font-weight: 900; text-decoration: none; }

.contact { background: var(--soft); }
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 82px; align-items: start; }
.contact-copy h2 { margin-bottom: 20px; }
.contact-copy > p:not(.eyebrow) { color: var(--muted); }
.contact-data { margin-top: 30px; display: grid; gap: 8px; }
.contact-data a { padding: 14px 16px; display: block; background: #fff; font-size: 14px; font-weight: 750; text-decoration: none; overflow-wrap: anywhere; }
.contact-data small { display: block; color: var(--red); font-size: 9px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.contact-form { padding: 38px; border-top: 4px solid var(--red); background: #fff; box-shadow: 0 18px 48px rgba(20,20,20,.07); }
.form-head { margin-bottom: 31px; }
.form-head p { margin: 0 0 7px; color: var(--red); font-size: 10px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.form-head h3 { max-width: 430px; font-size: 27px; letter-spacing: -.035em; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form label { display: block; margin-bottom: 20px; color: #292929; font-size: 11px; font-weight: 800; letter-spacing: .01em; }
.contact-form input:not([type=checkbox]), .contact-form textarea { width: 100%; margin-top: 8px; padding: 14px 15px; border: 1px solid #dadad6; border-radius: 4px; background: #fafaf8; color: var(--ink); outline: 0; transition: border-color .2s ease, background .2s ease, box-shadow .2s ease; }
.contact-form input:not([type=checkbox]) { min-height: 52px; }
.contact-form textarea { min-height: 150px; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--red); background: #fff; box-shadow: 0 0 0 3px rgba(207,32,39,.1); }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #858581; font-weight: 550; opacity: 1; }
.privacy-check { margin: 2px 0 18px !important; padding: 14px 15px; display: grid !important; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; border-radius: 4px; background: var(--soft); color: var(--muted) !important; font-weight: 500 !important; line-height: 1.5; }
.privacy-check input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--red); }
.privacy-check a { color: var(--red); }
.contact-form .button { width: 100%; min-height: 56px; border: 0; border-radius: 4px; }
.honeypot { position: absolute; left: -9999px; }
.form-message { padding: 12px 14px; background: var(--soft); font-size: 13px; font-weight: 700; }
.form-message.error { border-left: 3px solid var(--red); }
.form-message.success { border-left: 3px solid #111; }

.site-footer { padding: 52px 0 90px; border-top: 5px solid var(--red); background: #171717; color: #aaa; }
.footer-grid { display: grid; grid-template-columns: 180px 1fr auto; gap: 30px; align-items: center; }
.footer-grid img { width: 175px; filter: invert(1) grayscale(1) brightness(2); }
.footer-grid p { margin: 0; font-size: 13px; }
.footer-grid nav { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-grid a { color: #fff; font-size: 12px; font-weight: 750; text-decoration: none; }
.footer-instagram { display: inline-flex; align-items: center; gap: 6px; }
.footer-instagram .dashicons { width: 17px; height: 17px; font-size: 17px; }
.footer-grid small { grid-column: 1 / -1; padding-top: 18px; border-top: 1px solid #333; font-size: 10px; }
.mobile-actions { display: none; }

/* Legal pages use the same visual language as the onepager. */
.legal-page { background: var(--soft); }
.legal-hero { padding: 78px 0 70px; border-bottom: 1px solid var(--line); background: #fff; }
.legal-hero h1 { max-width: 850px; font-size: clamp(58px, 8vw, 96px); }
.legal-hero > .shell > p:last-child { max-width: 650px; margin: 22px 0 0; color: var(--muted); font-size: 17px; }
.legal-section { padding: 76px 0 104px; }
.legal-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 56px; align-items: start; }
.legal-aside { position: sticky; top: 125px; padding: 26px; display: grid; gap: 8px; background: #fff; font-size: 13px; }
.legal-aside-label { margin: 0 0 10px; color: var(--red); font-size: 10px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.legal-aside strong { font-size: 17px; }
.legal-aside address { margin: 4px 0 8px; color: var(--muted); font-style: normal; line-height: 1.55; }
.legal-aside > a { color: var(--ink); font-weight: 700; text-decoration: none; overflow-wrap: anywhere; }
.legal-aside nav { margin-top: 20px; padding-top: 16px; display: grid; border-top: 1px solid var(--line); }
.legal-aside nav a { padding: 9px 0; color: var(--muted); font-size: 11px; font-weight: 850; text-decoration: none; text-transform: uppercase; }
.legal-aside nav a.is-active { color: var(--red); }
.legal-copy { padding: clamp(30px, 5vw, 60px); background: #fff; }
.legal-copy > *:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.legal-copy h2 { margin: 44px 0 13px; padding-top: 35px; border-top: 1px solid var(--line); font-size: clamp(23px, 3vw, 30px); letter-spacing: -.035em; }
.legal-copy h3 { margin: 30px 0 10px; font-size: 19px; }
.legal-copy p, .legal-copy li { color: var(--muted); font-size: 15px; }
.legal-copy a { text-underline-offset: 3px; }
.legal-copy .notice { margin: 38px 0 0; padding: 19px 21px; border-left: 4px solid var(--red); background: var(--soft); color: #444; }
.legal-back { margin-top: 48px; padding-top: 24px; display: block; border-top: 1px solid var(--line); color: var(--red); font-size: 12px; font-weight: 900; text-decoration: none; text-transform: uppercase; }
.legal-footer { padding-bottom: 52px; }

@media (max-width: 980px) {
  .main-nav { display: none; }
  .header-instagram { margin-left: auto; }
  .header-call { margin-left: 0; }
  .audience-columns article { min-height: 455px; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-grid { grid-template-columns: 180px 1fr; }
  .footer-grid nav { grid-column: 1 / -1; }
  .legal-layout { grid-template-columns: 230px minmax(0, 1fr); gap: 28px; }
}

@media (max-width: 720px) {
  body { padding-bottom: 60px; font-size: 16px; }
  body.admin-bar .site-header { top: 46px; }
  .shell { width: min(100% - 30px, 1160px); }
  .section { padding: 74px 0; }
  .site-header { position: relative; }
  .header-inner { min-height: 74px; }
  .header-inner { gap: 10px; }
  .brand { width: 155px; }
  .header-call { width: 42px; padding: 0; overflow: hidden; color: transparent; }
  .header-call::after { content: "☎"; color: #fff; font-size: 17px; }
  .hero { padding: 0; }
  .hero-headline { padding: 22px 21px 24px; border-left-width: 4px; }
  .hero-headline .eyebrow { margin-bottom: 13px; }
  .hero h1 { font-size: clamp(39px, 11.5vw, 48px); }
  .hero-lead { font-size: 17px; }
  .button-row { display: grid; }
  .button { width: 100%; }
  .hero-photo { height: 590px; }
  .hero-photo img { object-position: 66% center; }
  .hero-banner::after { background: linear-gradient(90deg, rgba(7,9,12,.9) 0%, rgba(7,9,12,.72) 60%, rgba(7,9,12,.28) 100%); }
  .hero-banner-content { align-items: flex-end; padding-bottom: 34px; }
  .audience-columns { grid-template-columns: 1fr; }
  .section-head h2, .contact-copy h2 { font-size: 39px; }
  .audience-columns article { min-height: auto; }
  .audience-image { height: 220px; flex-basis: 220px; }
  .audience-image-product { height: 300px; flex-basis: 300px; }
  .audience-card-copy { padding: 23px 22px 27px; }
  .audience-columns h3 { font-size: 25px; }
  .service-list article { grid-template-columns: 1fr; gap: 18px; padding: 23px 20px; }
  .service-list a { justify-self: start; }
  .service-list h3 { font-size: 24px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form { padding: 24px 20px; }
  .footer-grid { display: block; }
  .footer-grid p { margin: 20px 0; }
  .footer-grid small { display: block; margin-top: 28px; }
  .mobile-actions { position: fixed; z-index: 90; left: 0; right: 0; bottom: 0; height: 60px; display: grid; grid-template-columns: repeat(3,1fr); background: #fff; box-shadow: 0 -8px 26px rgba(0,0,0,.12); }
  .mobile-actions a { display: grid; place-items: center; border-right: 1px solid var(--line); color: #111; font-size: 11px; font-weight: 850; text-decoration: none; }
  .mobile-actions a:last-child { border: 0; background: var(--red); color: #fff; }
  .legal-hero { padding: 55px 0 48px; }
  .legal-hero h1 { font-size: 55px; }
  .legal-section { padding: 0 0 74px; }
  .legal-layout { width: 100%; display: block; }
  .legal-aside { position: static; padding: 23px 20px; border-bottom: 1px solid var(--line); }
  .legal-aside nav { grid-template-columns: 1fr 1fr; gap: 18px; }
  .legal-copy { padding: 42px 20px 55px; }
  .legal-copy h2 { margin-top: 36px; padding-top: 29px; }
  .legal-footer { padding-bottom: 90px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
