/* ==============================
   style.css — generische, moderne Basis
   Für l-reichardt.de (angepasst werden kann)
   ============================== */

/* --------- Reset / Box-sizing --------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* --------- CSS-Variablen (Theming) --------- */
:root{
  --bg: #ffffff;
  --surface: #fafafa;
  --text: #222222;
  --muted: #6b7280;
  --accent: #0077cc;        /* Primärfarbe */
  --accent-2: #0b76d1;
  --success: #16a34a;
  --danger: #dc2626;
  --shadow: 0 6px 18px rgba(16,24,40,0.08);
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;
  --max-width: 1200px;
  --site-padding: 1.25rem;
  --header-height: 72px;
  --ff-base: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}


/* Optional dark mode */
@media (prefers-color-scheme: dark){
  :root{
    --bg: #0b0f14;
    --surface: #0f1720;
    --text: #e6eef8;
    --muted: #98a0b3;
    --accent: #59a6ff;
    --shadow: 0 8px 24px rgba(2,6,23,0.6);
  }
}

/* --------- Global --------- */
html,body{
  background: url("BCKGRND.gif") no-repeat center center fixed;
  background-size: cover;         /* füllt die gesamte Seite aus */
  background-attachment: fixed;   /* bleibt beim Scrollen stehen */
}

.container{
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--site-padding);
}

/* --------- Header / Navigation --------- */
.site-header{
  height: var(--header-height);
  display: flex;
  align-items: center;
  background: linear-gradient(90deg, rgba(255,255,255,0.02), rgba(255,255,255,0));
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(100,100,120,0.04);
}

.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  width:100%;
}

/* Logo */
.site-logo{
  display:flex;
  gap: 0.75rem;
  align-items:center;
  font-weight:700;
  font-size:1.05rem;
  letter-spacing:0.2px;
  color:var(--text);
}
.site-logo img{ height:40px; width:auto; display:block; }

/* --- Navigation genau wie auf l-reichardt.de (angenommen: schlicht, horizontal) --- */
.navbar {
  width: 100%;
  background: transparent;        /* <<< transparent! */
  border: none;                   /* keine Linien */
  display: flex;
  justify-content: center;
  padding: 0.75rem 0;
  position: relative;
  z-index: 50;
}

.navbar ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.navbar li {
  margin: 0;
}

.navbar a {
  text-decoration: none;
  color: #000000;                 /* Weiß empfohlen wegen GIF-Hintergrund */
  font-weight: 600;
  font-size: 1rem;
  padding: 0.5rem 0.25rem;
  position: relative;
  transition: color 0.25s ease;
}

/* Hover / Aktiver Zustand */
.navbar a:hover,
.navbar a:focus {
  color: var(--accent);
}

/* Option: Unterstreichung beim Hover (Linie unten) */
.navbar a::after {
  content: "";
  display: block;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s;
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
}

.navbar a:hover::after,
.navbar a:focus::after {
  width: 100%;
}
/* Responsive: Mobile Navigation */
@media (max-width: 768px) {
  .navbar {
    padding: 0.5rem 0;
  }
  .navbar ul {
    flex-direction: column;
    gap: 1.2rem;
  }
}

/* Call to action */
.btn{
  display:inline-flex;
  align-items:center;
  gap:0.5rem;
  padding:0.5rem 0.9rem;
  border-radius:10px;
  background:var(--accent);
  color:#fff;
  text-decoration:none;
  font-weight:600;
  box-shadow: var(--shadow);
  transition: transform .12s ease, box-shadow .12s ease;
}
.btn:hover{ transform: translateY(-2px); box-shadow: 0 10px 30px rgba(11,119,204,0.14); }

/* --------- Hero / Banner --------- */
.hero{
  padding: 3.25rem 0;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 2rem;
  align-items: center;
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.02) 100%);
}
.hero .kicker{
  text-transform:uppercase;
  color:var(--accent);
  font-weight:700;
  font-size:0.8rem;
  letter-spacing:1px;
  margin-bottom:0.5rem;
}
.hero h1{
  font-size:2.25rem;
  line-height:1.05;
  margin-bottom:0.6rem;
}
.hero p.lead{
  color:var(--muted);
  font-size:1.05rem;
  margin-bottom:1.25rem;
}

/* Hero card (rechts) */
.hero-card{
  background:var(--surface);
  border-radius:var(--radius);
  padding:1.15rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0,0,0,0.04);
}

/* --------- Content grid --------- */
.layout{
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 2rem;
  padding: 2rem 0 4rem 0;
}

.article{
  background: transparent;
}
.article .card{
  background: var(--surface);
  padding:1.25rem;
  border-radius:var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(0,0,0,0.04);
  margin-bottom:1rem;
}
.article h2{
  margin-bottom:0.6rem;
  font-size:1.25rem;
}

/* Sidebar */
.sidebar{
  position:relative;
}
.widget{
  background:var(--surface);
  padding:0.9rem;
  border-radius: 12px;
  margin-bottom:1rem;
  border:1px solid rgba(0,0,0,0.04);
}

/* --------- Typography helpers --------- */
.lead { font-size:1.05rem; color:var(--muted); }
.small { font-size:0.85rem; color:var(--muted); }
.kv { font-weight:600; color:var(--accent); }

/* --------- Images & figure --------- */
.responsive-img{
  max-width:100%;
  height:auto;
  display:block;
  border-radius:8px;
}

/* --------- Buttons, links, badges --------- */
.badge{
  display:inline-block;
  padding:0.25rem 0.6rem;
  border-radius:999px;
  font-size:0.8rem;
  background: rgba(11,119,204,0.1);
  color: var(--accent);
  font-weight:700;
}

/* --------- Lists / article content --------- */
.article p { margin: 0 0 1rem 0; color: var(--text); }
.article ul { margin: 0 0 1rem 1.25rem; }
.article ol { margin: 0 0 1rem 1.25rem; }

/* Code blocks */
pre, code{
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, "Roboto Mono", "Noto Mono", monospace;
  background: rgba(0,0,0,0.03);
  padding: 0.5rem;
  border-radius:8px;
  font-size:0.9rem;
  overflow:auto;
}

/* --------- Forms --------- */
.input, input[type="text"], input[type="email"], textarea, select {
  width:100%;
  padding:0.65rem 0.8rem;
  border-radius:8px;
  border:1px solid rgba(0,0,0,0.08);
  background:transparent;
  color:var(--text);
  font-size:0.95rem;
}
.input:focus, input:focus, textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 6px 18px rgba(11,119,204,0.08);
}

/* --------- Footer --------- */
.site-footer{
  border-top:1px solid rgba(0,0,0,0.04);
  padding:2rem 0;
  color:var(--muted);
  font-size:0.95rem;
}

/* --------- Utility classes --------- */
.flex { display:flex; }
.items-center { align-items:center; }
.justify-between { justify-content:space-between; }
.mt-1 { margin-top:0.5rem; }
.mt-2 { margin-top:1rem; }
.mb-1 { margin-bottom:0.5rem; }
.pb-1 { padding-bottom:0.5rem; }

/* --------- Responsive --------- */
@media (max-width: 980px){
  .hero { grid-template-columns: 1fr; padding: 2rem 0; }
  .layout { grid-template-columns: 1fr; }
  .main-nav { display: none; } /* mobile: use hamburger */
  .header-inner { gap: 1rem; }
}

@media (max-width: 520px){
  :root{ font-size: 15px; }
  .site-logo { font-size: 1rem; }
  .hero h1 { font-size: 1.5rem; }
}

/* --------- Accessibility / Focus states --------- */
a:focus, button:focus, input:focus {
  outline: 3px solid rgba(11,119,204,0.12);
  outline-offset: 2px;
}

/* --------- Small components (cards, tables) --------- */
.table {
  width:100%;
  border-collapse: collapse;
  background: var(--surface);
  border-radius: 8px;
  overflow: hidden;
}
.table th, .table td {
  padding: 0.8rem;
  text-align:left;
  border-bottom: 1px solid rgba(0,0,0,0.04);
}
.table tr:last-child td { border-bottom: none; }

/* --------- End of file --------- */




