/*
Theme Name: PerfectByte Relaunch
Theme URI: https://perfectbyte.at/
Author: PerfectByte GmbH
Description: Minimalistische Relaunch-Seite für PerfectByte. Sofort nach Aktivierung einsatzbereit, ohne Plugins oder Page Builder.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: perfectbyte-relaunch
*/

:root {
  --pb-bg: #f5f1e8;
  --pb-surface: rgba(255,255,255,.62);
  --pb-text: #171918;
  --pb-muted: #5b625f;
  --pb-accent: #9a5b36;
  --pb-line: rgba(23,25,24,.14);
  --pb-max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--pb-bg);
  color: var(--pb-text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.pb-shell { min-height: 100vh; position: relative; overflow: hidden; }
.pb-shell::before {
  content: "";
  position: absolute;
  width: 720px;
  height: 720px;
  top: -360px;
  right: -260px;
  border: 1px solid var(--pb-line);
  border-radius: 50%;
  box-shadow: 0 0 0 90px rgba(154,91,54,.035), 0 0 0 180px rgba(154,91,54,.025);
  pointer-events: none;
}
.pb-container { width: min(calc(100% - 40px), var(--pb-max)); margin-inline: auto; }
.pb-header { padding: 30px 0; position: relative; z-index: 2; }
.pb-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.pb-brand { font-size: 20px; font-weight: 750; letter-spacing: -.03em; text-decoration: none; }
.pb-status { color: var(--pb-muted); font-size: 14px; letter-spacing: .04em; text-transform: uppercase; }
.pb-main { position: relative; z-index: 1; }
.pb-hero { min-height: calc(100vh - 100px); display: grid; align-items: center; padding: 72px 0 110px; }
.pb-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(290px, .65fr); gap: clamp(48px, 8vw, 120px); align-items: end; }
.pb-kicker { margin: 0 0 22px; color: var(--pb-accent); font-size: 14px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
h1 { margin: 0; max-width: 900px; font-size: clamp(54px, 8vw, 112px); line-height: .94; letter-spacing: -.065em; font-weight: 720; }
.pb-intro { max-width: 760px; margin: 34px 0 0; color: var(--pb-muted); font-size: clamp(20px, 2vw, 28px); line-height: 1.45; letter-spacing: -.02em; }
.pb-intro strong { color: var(--pb-text); font-weight: 650; }
.pb-card { padding: 28px; border: 1px solid var(--pb-line); background: var(--pb-surface); backdrop-filter: blur(12px); border-radius: 18px; }
.pb-card h2 { margin: 0 0 12px; font-size: 25px; line-height: 1.2; letter-spacing: -.03em; }
.pb-card p { margin: 0 0 24px; color: var(--pb-muted); font-size: 16px; }
.pb-button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 52px; padding: 12px 20px; border-radius: 999px; background: var(--pb-text); color: #fff; font-weight: 700; text-decoration: none; transition: transform .2s ease, opacity .2s ease; }
.pb-button:hover { transform: translateY(-2px); opacity: .92; }
.pb-contact-line { margin-top: 15px; text-align: center; font-size: 14px; color: var(--pb-muted); }
.pb-contact-line a { text-underline-offset: 4px; }
.pb-footer { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 0; border-top: 1px solid var(--pb-line); z-index: 2; }
.pb-footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; color: var(--pb-muted); font-size: 14px; }
.pb-footer-links { display: flex; gap: 20px; }
.pb-footer-links a { text-decoration: none; }
.pb-footer-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

@media (max-width: 800px) {
  body { font-size: 17px; }
  .pb-shell::before { width: 480px; height: 480px; top: -260px; right: -250px; }
  .pb-header { padding: 22px 0; }
  .pb-status { display: none; }
  .pb-hero { min-height: auto; padding: 72px 0 140px; }
  .pb-grid { grid-template-columns: 1fr; gap: 54px; }
  h1 { font-size: clamp(52px, 16vw, 78px); }
  .pb-intro { margin-top: 26px; }
  .pb-footer { position: absolute; }
  .pb-footer-inner { align-items: flex-start; flex-direction: column; gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pb-button { transition: none; }
}
