@import url('fonts.css');

:root {
  --red:       #cf2e2e;
  --red-dark:  #a82424;
  --white:     #ffffff;
  --off-white: #FBFAF3;
  --black:     #111111;
  --gray-1:    #686868;
  --gray-3:    #e8e6e0;
  --font:      'Manrope', system-ui, sans-serif;
  --mono:      'Fira Code', monospace;
  --ease:      cubic-bezier(0.16, 1, 0.3, 1);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--white); color: var(--black); font-family: var(--font); font-weight: 400; line-height: 1.65; overflow-x: hidden; }
a { color: var(--red); text-decoration: none; }
a:hover { color: var(--red-dark); }
img { max-width: 100%; display: block; }

.wq-bg-white    { background: var(--white); }
.wq-bg-offwhite { background: var(--off-white); }
.wq-bg-black    { background: var(--black); }
.wq-container   { max-width: 1180px; margin: 0 auto; padding: 0 clamp(20px,5vw,64px); }
.wq-section     { padding: clamp(72px,10vw,120px) 0; }

.wq-tag { font-family: var(--mono); font-size: 11px; font-weight: 400; letter-spacing: .18em; text-transform: uppercase; color: var(--red); display: inline-flex; align-items: center; gap: 10px; }
.wq-tag::before { content: ''; width: 24px; height: 1px; background: var(--red); flex-shrink: 0; }
.wq-tag-dim { color: rgba(255,255,255,.45); }
.wq-tag-dim::before { background: rgba(255,255,255,.35); }
.wq-section-head { margin-bottom: clamp(48px,6vw,72px); }
.wq-section-head .wq-tag { margin-bottom: 16px; }
.wq-section-title { font-size: clamp(30px,4vw,52px); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.wq-section-title em { color: var(--red); font-style: normal; }
.wq-title-white { color: #fff; }
.wq-section-sub { font-size: 16px; color: var(--gray-1); margin-top: 14px; max-width: 500px; }
.wq-sub-dim { color: rgba(255,255,255,.45); }

.wq-btn { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: 16px 32px; border: none; cursor: pointer; transition: background .22s, color .22s, transform .22s; white-space: nowrap; }
.wq-btn-red { background: var(--red); color: #fff; }
.wq-btn-red:hover { background: var(--red-dark); color: #fff; transform: translateY(-1px); }
.wq-btn-outline { background: transparent; color: var(--black); border: 1.5px solid var(--black); }
.wq-btn-outline:hover { background: var(--black); color: #fff; }
.wq-btn-white { background: #fff; color: var(--red); }
.wq-btn-white:hover { background: var(--off-white); }
.wq-arrow { display: inline-block; width: 18px; height: 1px; background: currentColor; position: relative; transition: width .2s; }
.wq-arrow::after { content: ''; position: absolute; right: 0; top: -3px; width: 7px; height: 7px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); }
.wq-btn:hover .wq-arrow { width: 26px; }

.wq-nav { position: fixed; top: 0; left: 0; right: 0; z-index: 200; background: rgba(255,255,255,.96); backdrop-filter: blur(14px); border-bottom: 1px solid var(--gray-3); padding: 0 clamp(20px,5vw,64px); display: flex; align-items: center; justify-content: space-between; height: 68px; transition: box-shadow .3s; }
.wq-nav.wq-shadow { box-shadow: 0 2px 20px rgba(0,0,0,.07); }
.wq-nav-logo { height: 34px; width: auto; display: block; }
.wq-nav .custom-logo-link img { height: 34px; width: auto; display: block; }
.wq-nav-logo-text { font-family: var(--mono); font-size: 16px; font-weight: 700; color: var(--black); }
.wq-footer-logo-text { font-family: var(--mono); font-size: 15px; font-weight: 700; color: #fff; }
.wq-nav-links { display: flex; gap: 36px; list-style: none; }
.wq-nav-links a { font-size: 13px; font-weight: 500; color: var(--black); letter-spacing: .04em; transition: color .2s; }
.wq-nav-links a:hover { color: var(--red); }
.wq-nav-wa { display: none; color: #25D366; line-height: 0; }
.wq-nav-wa:hover { color: #1ebe57; }
@media (max-width:860px) {
  .wq-nav-links { display: none; }
  .wq-nav-cta   { display: none; }
  .wq-nav-wa    { display: flex; align-items: center; }
}

.wq-hero { min-height: 100vh; background: var(--off-white); display: flex; flex-direction: column; justify-content: center; padding-top: 68px; position: relative; overflow: hidden; }
.wq-hero::before { content: ''; position: absolute; top: 0; right: 0; width: 45%; height: 100%; background: var(--red); clip-path: polygon(15% 0%,100% 0%,100% 100%,0% 100%); pointer-events: none; }
.wq-hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; min-height: calc(100vh - 68px); padding: clamp(48px,8vw,96px) clamp(20px,5vw,64px); max-width: 1180px; margin: 0 auto; width: 100%; }
.wq-hero-title { font-size: clamp(38px,5.5vw,72px); font-weight: 800; line-height: 1.08; letter-spacing: -.03em; margin-bottom: 28px; color: var(--black); }
.wq-hero-title em { color: var(--red); font-style: normal; }
.wq-hero-text { font-size: clamp(15px,1.3vw,17px); color: var(--gray-1); max-width: 440px; margin-bottom: 44px; line-height: 1.75; }
.wq-hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.wq-hero-stats { display: flex; gap: 40px; flex-wrap: wrap; margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--gray-3); }
.wq-stat-num { display: block; font-family: var(--mono); font-size: 28px; font-weight: 500; color: var(--red); line-height: 1; }
.wq-stat-lbl { font-size: 12px; color: var(--gray-1); margin-top: 4px; font-weight: 500; }
.wq-hero-visual { display: flex; align-items: center; justify-content: center; }
@media (max-width:860px) { .wq-hero-inner { grid-template-columns: 1fr; } .wq-hero::before { display: none; } .wq-hero-visual { margin-top: 16px; } }

.wq-code-card { background: var(--white); border: 1px solid var(--gray-3); border-radius: 8px; overflow: hidden; width: 100%; max-width: 460px; box-shadow: 0 20px 60px rgba(0,0,0,.12); }
.wq-code-bar { background: var(--black); padding: 12px 16px; display: flex; align-items: center; gap: 8px; }
.wq-dot { width: 10px; height: 10px; border-radius: 50%; }
.wq-dot:nth-child(1) { background: #ff5f57; }
.wq-dot:nth-child(2) { background: #febc2e; }
.wq-dot:nth-child(3) { background: #28c840; }
.wq-code-file { font-family: var(--mono); font-size: 11px; color: rgba(255,255,255,.4); margin-left: 8px; }
.wq-code-body { padding: 24px; background: #1a1a2e; font-family: var(--mono); font-size: 13px; line-height: 1.8; }
.wq-code-body > span { display: block; }
.cc { color: #6a9955; } .ck { color: #9cdcfe; } .cv { color: #ce9178; } .cf { color: #dcdcaa; } .cw { color: #c586c0; } .co { color: #ffffff; }
.wq-code-stack { padding: 16px 24px; background: var(--off-white); border-top: 1px solid var(--gray-3); display: flex; gap: 8px; flex-wrap: wrap; }
.wq-badge { font-family: var(--mono); font-size: 10px; font-weight: 500; letter-spacing: .06em; padding: 4px 10px; border-radius: 3px; background: var(--white); border: 1px solid var(--gray-3); color: var(--black); }
.wq-badge-red { background: var(--red); color: #fff; border-color: var(--red); }

.wq-marquee { overflow: hidden; border-top: 1px solid var(--gray-3); border-bottom: 1px solid var(--gray-3); padding: 18px 0; background: var(--white); }
.wq-marquee-track { display: flex; animation: wqMarquee 22s linear infinite; white-space: nowrap; width: max-content; }
.wq-mi { font-family: var(--mono); font-size: 12px; letter-spacing: .15em; text-transform: uppercase; padding: 0 32px; color: var(--gray-1); border-right: 1px solid var(--gray-3); }
.wq-mi strong { color: var(--red); }
@keyframes wqMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.wq-services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2px; background: var(--gray-3); }
.wq-service-card { background: var(--white); padding: clamp(28px,3.5vw,48px); position: relative; overflow: hidden; transition: background .2s; }
.wq-service-card:hover { background: var(--off-white); }
.wq-service-card::after { content: ''; position: absolute; top: 0; left: 0; width: 3px; height: 0; background: var(--red); transition: height .35s; }
.wq-service-card:hover::after { height: 100%; }
.wq-svc-num { font-family: var(--mono); font-size: 10px; color: var(--red); letter-spacing: .2em; margin-bottom: 20px; opacity: .7; }
.wq-svc-icon { width: 40px; height: 40px; color: var(--red); margin-bottom: 18px; }
.wq-service-card h3 { font-size: 19px; font-weight: 700; margin-bottom: 12px; }
.wq-service-card p  { font-size: 14px; color: var(--gray-1); line-height: 1.75; }
@media (max-width:860px) { .wq-services-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width:560px) { .wq-services-grid { grid-template-columns: 1fr; } }

.wq-stack-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: rgba(255,255,255,.08); margin-top: clamp(40px,5vw,64px); }
.wq-stack-item { background: var(--black); padding: 36px 28px; transition: background .2s; }
.wq-stack-item:hover { background: #1a1a1a; }
.wq-stack-cat { font-family: var(--mono); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--red); margin-bottom: 14px; }
.wq-stack-item h3 { font-size: 17px; font-weight: 700; color: #fff; margin-bottom: 10px; }
.wq-stack-item p  { font-size: 13px; color: rgba(255,255,255,.45); line-height: 1.6; margin-bottom: 14px; }
.wq-stack-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.wq-st { font-family: var(--mono); font-size: 10px; letter-spacing: .06em; padding: 3px 8px; border: 1px solid rgba(255,255,255,.15); color: rgba(255,255,255,.55); border-radius: 2px; }
@media (max-width:860px) { .wq-stack-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width:500px) { .wq-stack-grid { grid-template-columns: 1fr; } }

.wq-process { margin-top: clamp(48px,6vw,72px); }
.wq-process-step { display: grid; grid-template-columns: 100px 1fr; gap: 40px; padding: 44px 0; border-bottom: 1px solid var(--gray-3); }
.wq-process-step:first-child { border-top: 1px solid var(--gray-3); }
.wq-process-step:hover .wq-ps-num { color: var(--red); }
.wq-ps-num { font-family: var(--mono); font-size: clamp(48px,6vw,80px); font-weight: 300; color: var(--gray-3); line-height: 1; transition: color .25s; padding-top: 4px; }
.wq-process-step h3 { font-size: clamp(20px,2.2vw,28px); font-weight: 700; margin-bottom: 12px; }
.wq-process-step p  { font-size: 15px; color: var(--gray-1); max-width: 500px; line-height: 1.8; }
@media (max-width:600px) { .wq-process-step { grid-template-columns: 1fr; gap: 8px; } }

.wq-projects-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: clamp(48px,6vw,72px); }
.wq-project-card { border: 1px solid var(--gray-3); overflow: hidden; transition: box-shadow .3s, transform .3s; }
.wq-project-card:hover { box-shadow: 0 12px 40px rgba(0,0,0,.1); transform: translateY(-3px); }
.wq-project-thumb { height: 180px; display: flex; align-items: center; justify-content: center; }
.t-red   { background: linear-gradient(135deg,var(--red),var(--red-dark)); }
.t-dark  { background: linear-gradient(135deg,#1a1a2e,#2d2d4a); }
.t-light { background: linear-gradient(135deg,#f0eeea,#e0ddd5); }
.wq-pt-icon { width: 64px; height: 64px; border-radius: 50%; background: rgba(255,255,255,.15); display: flex; align-items: center; justify-content: center; }
.wq-pt-icon svg { color: #fff; width: 28px; height: 28px; }
.t-light .wq-pt-icon svg { color: var(--red); }
.wq-project-info { padding: 24px; }
.wq-project-info h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.wq-project-info p  { font-size: 13px; color: var(--gray-1); margin-bottom: 14px; line-height: 1.65; }
.wq-project-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.wq-ptag { font-family: var(--mono); font-size: 10px; letter-spacing: .08em; padding: 3px 8px; background: var(--off-white); border: 1px solid var(--gray-3); color: var(--black); }
.wq-ptag-red { background: var(--red); color: #fff; border-color: var(--red); }
@media (max-width:860px) { .wq-projects-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width:560px) { .wq-projects-grid { grid-template-columns: 1fr; } }

.wq-cta { background: var(--red); color: #fff; position: relative; overflow: hidden; }
.wq-cta::before { content: ''; position: absolute; top: -80px; right: -80px; width: 360px; height: 360px; border-radius: 50%; background: rgba(255,255,255,.06); pointer-events: none; }
.wq-cta-inner { max-width: 1180px; margin: 0 auto; padding: clamp(64px,9vw,120px) clamp(20px,5vw,64px); display: flex; align-items: center; justify-content: space-between; gap: 48px; position: relative; z-index: 1; }
.wq-cta-title { font-size: clamp(30px,4vw,52px); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; max-width: 540px; }
.wq-cta-right { flex-shrink: 0; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.wq-cta-note  { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; opacity: .65; text-transform: uppercase; }
@media (max-width:768px) { .wq-cta-inner { flex-direction: column; } }

.wq-contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; margin-top: clamp(48px,6vw,72px); }
.wq-contact-item { display: flex; gap: 18px; padding: 24px 0; border-bottom: 1px solid var(--gray-3); }
.wq-contact-item:last-child { border-bottom: none; }
.wq-contact-icon { width: 40px; height: 40px; border: 1px solid var(--gray-3); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--red); background: var(--white); }
.wq-contact-label { font-family: var(--mono); font-size: 10px; letter-spacing: .15em; text-transform: uppercase; color: var(--gray-1); margin-bottom: 3px; }
.wq-contact-val   { font-size: 15px; font-weight: 500; }
@media (max-width:768px) { .wq-contact-grid { grid-template-columns: 1fr; gap: 40px; } }

.wq-form  { display: flex; flex-direction: column; gap: 18px; }
.wq-field { display: flex; flex-direction: column; gap: 7px; }
.wq-field label { font-family: var(--mono); font-size: 10px; letter-spacing: .15em; text-transform: uppercase; color: var(--gray-1); font-weight: 500; }
.wq-field input, .wq-field textarea, .wq-field select { background: var(--white); border: 1.5px solid var(--gray-3); color: var(--black); font-family: var(--font); font-size: 15px; padding: 14px 18px; outline: none; transition: border-color .2s; width: 100%; border-radius: 0; -webkit-appearance: none; appearance: none; }
.wq-field input:focus, .wq-field textarea:focus, .wq-field select:focus { border-color: var(--red); }
.wq-field textarea { min-height: 130px; resize: vertical; }

.wq-footer { background: var(--black); color: rgba(255,255,255,.55); border-top: 3px solid var(--red); }
.wq-footer-inner { max-width: 1180px; margin: 0 auto; padding: clamp(48px,7vw,80px) clamp(20px,5vw,64px) 0; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; }
.wq-footer-logo    { height: 28px; width: auto; filter: brightness(10); margin-bottom: 16px; }
.wq-footer-tagline { font-size: 13px; line-height: 1.7; max-width: 240px; margin-top: 16px; }
.wq-footer-col h4  { font-family: var(--mono); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--red); margin-bottom: 18px; }
.wq-footer-col ul  { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.wq-footer-col a   { font-size: 13px; color: rgba(255,255,255,.45); transition: color .2s; }
.wq-footer-col a:hover { color: #fff; }
.wq-footer-bottom { max-width: 1180px; margin: 48px auto 0; padding: 24px clamp(20px,5vw,64px); display: flex; align-items: center; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.08); font-family: var(--mono); font-size: 11px; letter-spacing: .05em; }
@media (max-width:860px) { .wq-footer-inner { grid-template-columns: 1fr 1fr; } }
@media (max-width:500px) { .wq-footer-inner { grid-template-columns: 1fr; } .wq-footer-bottom { flex-direction: column; gap: 10px; } }

.wq-reveal { opacity: 0; transform: translateY(32px); transition: opacity .75s, transform .75s; }
.wq-reveal.d1 { transition-delay: .1s; }
.wq-reveal.d2 { transition-delay: .2s; }
.wq-reveal.d3 { transition-delay: .3s; }
.wq-reveal.visible { opacity: 1; transform: none; }

@keyframes wqFadeUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }
@keyframes wqFadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ── HUBSPOT FORM STYLING ── */
.wq-hubspot-form .hs-form fieldset { max-width: 100% !important; }
.wq-hubspot-form .hs-form .hs-input {
  background: var(--white) !important;
  border: 1.5px solid var(--gray-3) !important;
  border-radius: 0 !important;
  color: var(--black) !important;
  font-family: var(--font) !important;
  font-size: 15px !important;
  padding: 14px 18px !important;
  width: 100% !important;
  outline: none !important;
  transition: border-color .2s !important;
}
.wq-hubspot-form .hs-form .hs-input:focus { border-color: var(--red) !important; }
.wq-hubspot-form .hs-form .hs-button {
  background: var(--red) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 0 !important;
  font-family: var(--font) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
  padding: 16px 32px !important;
  cursor: pointer !important;
  transition: background .22s !important;
}
.wq-hubspot-form .hs-form .hs-button:hover { background: var(--red-dark) !important; }
.wq-hubspot-form .hs-form label {
  font-family: var(--mono) !important;
  font-size: 10px !important;
  letter-spacing: .15em !important;
  text-transform: uppercase !important;
  color: var(--gray-1) !important;
  font-weight: 500 !important;
}
.wq-hubspot-form .hs-error-msgs { color: var(--red) !important; font-size: 12px !important; }

/* ── Normale WordPress-Seiten (page.php) ── */
.wq-page-main { padding-top: 68px; min-height: 60vh; }
.wq-page-header { padding: clamp(48px,7vw,96px) 0 clamp(32px,4vw,56px); border-bottom: 1px solid var(--gray-3); margin-bottom: clamp(40px,5vw,64px); }
.wq-page-header .wq-tag { margin-bottom: 16px; }
.wq-page-title { font-size: clamp(32px,5vw,64px); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }

.wq-entry-content { padding-bottom: clamp(64px,9vw,120px); max-width: 760px; }
.wq-entry-content h2 { font-size: clamp(22px,3vw,36px); font-weight: 700; letter-spacing: -.02em; margin: 2em 0 .6em; }
.wq-entry-content h3 { font-size: clamp(18px,2.2vw,26px); font-weight: 700; margin: 1.8em 0 .5em; }
.wq-entry-content p  { font-size: 16px; color: var(--gray-1); line-height: 1.8; margin-bottom: 1.2em; }
.wq-entry-content a  { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.wq-entry-content ul,
.wq-entry-content ol { padding-left: 1.4em; margin-bottom: 1.2em; }
.wq-entry-content li { font-size: 16px; color: var(--gray-1); line-height: 1.8; margin-bottom: .4em; }
.wq-entry-content strong { color: var(--black); font-weight: 700; }
.wq-entry-content img { max-width: 100%; height: auto; margin: 2em 0; }
.wq-entry-content hr { border: none; border-top: 1px solid var(--gray-3); margin: 2.5em 0; }
.wq-entry-content blockquote { border-left: 3px solid var(--red); padding-left: 20px; margin: 1.5em 0; color: var(--gray-1); font-style: italic; }
.wq-entry-content code { font-family: var(--mono); font-size: .875em; background: var(--off-white); padding: 2px 6px; border: 1px solid var(--gray-3); }
.wq-entry-content pre { font-family: var(--mono); font-size: 13px; background: var(--black); color: #fff; padding: 24px; overflow-x: auto; margin: 1.5em 0; line-height: 1.7; }
