/*
Theme Name: PC Picker Service
Theme URI: https://pc-picker.de
Author: OpenAI
Author URI: https://openai.com
Description: Schlankes WordPress-Theme für einen mobilen PC- und IT-Reparaturservice in Reutlingen und Umgebung.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: pc-picker-service
*/

:root {
  --bg: #0b1220;
  --bg-soft: #111a2b;
  --surface: #ffffff;
  --surface-soft: #f5f7fb;
  --text: #18212f;
  --text-soft: #566074;
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --accent: #10b981;
  --border: #e7ebf3;
  --shadow: 0 18px 45px rgba(12, 20, 35, 0.10);
  --radius: 18px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--surface);
  line-height: 1.6;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  color: var(--primary-dark);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: min(calc(100% - 32px), var(--max-width));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 18, 32, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 74px;
}

.branding a {
  color: #fff;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}

.site-nav ul {
  list-style: none;
  display: flex;
  gap: 22px;
  margin: 0;
  padding: 0;
}

.site-nav a {
  color: rgba(255,255,255,0.88);
  font-weight: 600;
  font-size: 0.96rem;
}

.site-nav a:hover,
.site-nav .current-menu-item > a {
  color: #fff;
}

.header-contact {
  display: flex;
  align-items: center;
  gap: 12px;
}

.button,
.wp-block-button__link,
button,
input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  box-shadow: var(--shadow);
  transition: transform .18s ease, background .18s ease;
}

.button:hover,
.wp-block-button__link:hover,
button:hover,
input[type="submit"]:hover {
  transform: translateY(-1px);
  background: var(--primary-dark);
  color: #fff;
}

.button.secondary {
  background: rgba(255,255,255,0.12);
  color: #fff;
  box-shadow: none;
  border: 1px solid rgba(255,255,255,0.18);
}

.hero {
  background:
    radial-gradient(circle at top right, rgba(37,99,235,0.32), transparent 28%),
    radial-gradient(circle at left center, rgba(16,185,129,0.18), transparent 30%),
    linear-gradient(180deg, #0b1220 0%, #111a2b 100%);
  color: #fff;
  padding: 84px 0 72px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 42px;
  align-items: center;
}

.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(2.2rem, 4vw, 4.25rem);
  line-height: 1.06;
}

.hero p {
  font-size: 1.08rem;
  color: rgba(255,255,255,0.82);
  max-width: 720px;
}

.hero-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 26px 0;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.09);
  color: #fff;
  font-weight: 600;
  border: 1px solid rgba(255,255,255,0.12);
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.hero-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.hero-card h3,
.hero-card p,
.hero-card li {
  color: #fff;
}

.hero-card ul {
  margin: 16px 0 0;
  padding-left: 18px;
}

.section {
  padding: 82px 0;
}

.section.alt {
  background: var(--surface-soft);
}

.section-header {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-kicker {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
}

.section h2 {
  margin: 0 0 12px;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.1;
}

.section p {
  margin: 0;
  color: var(--text-soft);
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.card {
  background: #fff;
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 1.15rem;
}

.card p,
.card li {
  color: var(--text-soft);
}

.card ul {
  margin: 12px 0 0;
  padding-left: 18px;
}

.two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}

.highlight-box {
  background: linear-gradient(180deg, #fff, #fbfcff);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.highlight-box ul {
  margin: 14px 0 0;
  padding-left: 18px;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.price-card {
  padding: 30px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.price-card.featured {
  background: linear-gradient(180deg, #2563eb, #1d4ed8);
  color: #fff;
  border-color: transparent;
}

.price-card.featured p,
.price-card.featured li,
.price-card.featured .price-value {
  color: #fff;
}

.price-value {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  margin: 16px 0 12px;
}

.cta-banner {
  background: linear-gradient(135deg, #0b1220 0%, #1d4ed8 100%);
  color: #fff;
  border-radius: 30px;
  padding: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cta-banner h2,
.cta-banner p {
  color: #fff;
  margin: 0;
}

.site-content {
  min-height: 50vh;
}

.content-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 34px;
}

.entry-title {
  margin-top: 0;
  line-height: 1.15;
}

.entry-meta {
  color: var(--text-soft);
  margin-bottom: 18px;
  font-size: 0.95rem;
}

.site-footer {
  background: #0b1220;
  color: rgba(255,255,255,0.78);
  padding: 26px 0;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-grid a {
  color: #fff;
}

.footer-menu {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.mobile-toggle {
  display: none;
  background: transparent;
  box-shadow: none;
  padding: 8px;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  margin: 5px 0;
}

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
}

.whatsapp-float a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  font-weight: 800;
  box-shadow: var(--shadow);
}

@media (max-width: 1024px) {
  .hero-grid,
  .cards,
  .price-grid,
  .two-col {
    grid-template-columns: 1fr 1fr;
  }

  .hero-grid > :first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 820px) {
  .mobile-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #0f172a;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding: 18px 16px;
    display: none;
  }

  .site-nav.open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    gap: 12px;
  }

  .header-contact {
    display: none;
  }

  .hero,
  .section {
    padding: 68px 0;
  }

  .cards,
  .price-grid,
  .two-col,
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .cta-banner,
  .footer-grid {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  .content-card,
  .card,
  .price-card,
  .hero-card,
  .highlight-box,
  .cta-banner {
    padding: 22px;
  }

  .hero h1 {
    font-size: 2rem;
  }
}


.mobile-toggle {
  display: none;
  background: transparent;
  box-shadow: none;
  padding: 8px;
  border-radius: 12px;
}
.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  margin: 5px 0;
}
.two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}
.content-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 34px;
}
.cards,
.price-grid,
.footer-grid {
  display: grid;
  gap: 22px;
}
.cards {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.price-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.footer-grid { grid-template-columns: 1.2fr 0.8fr; align-items: start; }
.card,
.price-card,
.highlight-box,
.cta-banner {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--shadow);
}
.price-card.featured {
  background: linear-gradient(180deg, #eff6ff 0%, #ffffff 100%);
  border-color: #bfd5ff;
}
.price-value {
  display: inline-block;
  font-size: 1.9rem;
  font-weight: 800;
  margin: 12px 0;
}
.cta-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.site-footer {
  background: #0b1220;
  color: rgba(255,255,255,0.82);
  padding: 46px 0;
}
.site-footer a { color: #fff; }
.footer-menu ul { list-style: none; margin: 0; padding: 0; }
.footer-menu li + li { margin-top: 8px; }
.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 60;
}
.whatsapp-float a {
  background: #25D366;
  color: #fff;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: var(--shadow);
}
.entry-title { margin-top: 0; }
@media (max-width: 980px) {
  .hero-grid,
  .two-col,
  .cards,
  .price-grid,
  .footer-grid,
  .cta-banner {
    grid-template-columns: 1fr;
    display: grid;
  }
  .mobile-toggle { display: inline-block; }
  .site-nav {
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    background: #0b1220;
    padding: 16px;
    display: none;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; }
  .header-contact { display: none; }
}
