/*
Theme Name: Barczy Platzhalter
Theme URI: https://www.barczy.de/
Author: Design-Barczy
Description: Schlankes Übergangs-Theme für barczy.de im Design der Landingpage. Startseite fest im Theme, Impressum und Datenschutz als WordPress-Seiten. Keine Skripte, keine externen Inhalte.
Version: 0.1.0
Requires at least: 6.5
Requires PHP: 8.1
Text Domain: barczy
*/

/* Farben und Schrift aus der Landingpage (sites/landingpage/src/app/globals.css, Design.md 22.06.2026).
   Blau primär, Beige Fläche, Orange sparsamer Akzent. Schrift Geist, lokal eingebunden (OFL, fonts/OFL.txt). */

@font-face {
  font-family: "Geist";
  src: url("fonts/Geist-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --background: #ffffff;
  --foreground: #14171c;
  --primary: #1c4fb0;
  --primary-dark: #0e2a63;
  --surface: #f4eee1;
  --muted-foreground: #5b6470;
  --accent-brand: #e8761e;
  --border: #e3decf;
}

* { box-sizing: border-box; }

html { font-size: 17px; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--background);
  color: var(--foreground);
  font-family: "Geist", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.site-header {
  border-bottom: 1px solid var(--border);
}

.bar {
  max-width: 1200px;
  margin: 0 auto;
  padding: .85rem 1.5rem;
  display: flex;
  align-items: center;
}

.bar img { height: 42px; width: auto; display: block; }

main {
  flex: 1;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 4rem 1.5rem 3rem;
}

/* Startseite: Punktraster wie im Hero der Landingpage */
.start main {
  max-width: 1200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.start main::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(28, 79, 176, .05) 1.4px, transparent 1.4px);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 70%);
  mask-image: linear-gradient(180deg, #000, transparent 70%);
}

.hero { position: relative; max-width: 720px; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .45rem .9rem;
  border: 1px solid rgba(28, 79, 176, .18);
  border-radius: 999px;
  background: rgba(28, 79, 176, .07);
  color: var(--primary);
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-brand); }
.badge .x { color: var(--accent-brand); }

h1 {
  margin: 1.3rem 0 1.4rem;
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.07;
  letter-spacing: -.025em;
  text-wrap: balance;
}

h1 .blue { color: var(--primary); }

.legal h1 { font-size: 2rem; margin-top: 0; }

h2 { margin: 2rem 0 .5rem; font-size: 1.1rem; font-weight: 600; }
p { margin: 0 0 1rem; }

/* Inhalte aus dem WordPress-Editor */
.entry ul, .entry ol { margin: 0 0 1rem; padding-left: 1.4rem; }
.entry li { margin-bottom: .3rem; }
.entry img { max-width: 100%; height: auto; }

.lead {
  max-width: 560px;
  color: var(--muted-foreground);
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
}

.button {
  display: inline-flex;
  align-items: center;
  margin-top: .8rem;
  padding: .85rem 1.5rem;
  border-radius: .625rem;
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(28, 79, 176, .24);
}

.button:hover { background: var(--primary-dark); color: #fff; }

a { color: var(--primary); }
a:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: 4px; }

.back { margin-top: 2.5rem; }

.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 1.25rem 1.5rem;
  text-align: center;
  color: var(--muted-foreground);
  font-size: .9rem;
}

.site-footer a { margin: 0 .6rem; color: var(--muted-foreground); }
.site-footer a:hover { color: var(--primary); }

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

@media (prefers-reduced-motion: no-preference) {
  .button { transition: background-color .15s ease; }
}
