:root {
  --orange: #ff8a2b;
  --orange-dark: #b55a00;
  --sky: #00a6ff;
  --white: #ffffff;
  --bg: #f7f7f7;
  --gradient: linear-gradient(90deg, #ff8a2b, #00a6ff);
  --radius: 12px;
  --max-width: 1100px;
  font-family: "Inter", Arial, sans-serif;
}

/* ----------------------- BASIC ----------------------- */
* { box-sizing: border-box; }
html,body { height: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: #222;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* simple hidden helper */
.hidden { display: none !important; }

/* ----------------------- HEADER / NAV ----------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: #fff;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 6px 18px rgba(0,0,0,0.05);
}

.header-inner {
  max-width: var(--max-width);
  margin: auto;
  padding: 1rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

/* Logo */
.logo-area { display:flex; align-items:center; gap:0.5rem; }
.logo-img {
  width: 92px;
  height: auto;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(255,255,255,0.6));
  padding: 6px;
  box-shadow: 0 8px 22px rgba(0,0,0,0.09);
  object-fit: contain;
}
.logo-fallback { width:92px; height:92px; }

/* nav bigger, pill style items */
.nav {
  display:flex;
  align-items:center;
  gap: 0.2rem;
}
.nav a {
  margin-left: 0.6rem;
  text-decoration: none;
  color: #333;
  font-weight: 700;
  padding: 0.6rem 0.9rem;
  border-radius: 999px;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  background: rgba(0,0,0,0.02);
}
.nav a:hover, .nav a:focus {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  background: var(--gradient);
  color: #fff;
}

/* header right side */
.header-right { display:flex; align-items:center; gap:0.6rem; }
.header-right .decor { opacity:0.95; padding:2px; }

/* admin small ghost button */
.btn.small.ghost {
  padding: 0.35rem 0.6rem;
  font-size: 0.9rem;
}

/* ----------------------- HERO ----------------------- */
.hero {
  padding: 3rem 0 2.5rem;
  text-align: center;
  background: linear-gradient(180deg, rgba(0,166,255,0.02), rgba(255,138,43,0.02));
}

.hero-inner { max-width: var(--max-width); margin: auto; padding: 0 1.25rem; }

.hero h1 {
  font-size: 2.8rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  color: transparent;
  font-weight: 900;
  margin: 0;
}

.lead {
  color: #555;
  margin: 0.8rem 0 1.25rem;
}

/* CTA */
.cta {
  background: var(--gradient);
  color: white;
  text-decoration: none;
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  font-weight: 800;
  box-shadow: 0 10px 26px rgba(0,0,0,0.12);
}

/* ----------------------- SECTIONS ----------------------- */
.section { padding: 2.5rem 0; }
.section.alt { background: #fff; }
.section.small { padding: 1.5rem 0; }

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* headings with gradient text */
h2 {
  font-size: 2.1rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  color: transparent;
  margin: 0 0 1rem;
}
h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 0.6rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  color: transparent;
}

/* ----------------------- CARDS ----------------------- */
.card {
  background: #fff;
  padding: 1.05rem;
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  margin-bottom: 1rem;
}

.card-body p { margin: 0 0 0.6rem; color: #333; }

/* card actions spacing */
.card-actions {
  margin-top: 0.6rem;
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

/* staff area: visually subdued */
.staff-area .muted { display:block; margin-bottom:0.4rem; color:#6b6b6b; }

/* ----------------------- BUTTONS ----------------------- */
.btn {
  background: var(--sky);
  border: none;
  padding: 0.55rem 1rem;
  border-radius: 10px;
  color: white;
  cursor: pointer;
  font-weight: 700;
  transition: transform .14s ease, box-shadow .14s ease;
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(0,0,0,0.08); }

.btn.ghost {
  background: transparent;
  border: 1px solid rgba(0,0,0,0.08);
  color: #333;
}

/* ----------------------- FORMS / CONTACT (mehr Luft) ----------------------- */
.contact-card input,
.contact-card textarea,
.edit-form input,
.edit-form textarea {
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,0.12);
  padding: 0.75rem;
  margin-bottom: 0.65rem;
  font-size: 0.98rem;
  background: #fbfbfb;
}

/* smaller helper notes */
.small { font-size: 0.9rem; }

/* staff-only elements hidden by default */
.staff-only { display: none; }

/* position staff toggle note subtly */
.staff-toggle-note { margin-top: 0.5rem; }

/* ----------------------- GRID ----------------------- */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* ----------------------- FOOTER ----------------------- */
.site-footer {
  text-align: center;
  padding: 1rem 0;
  color: #666;
  background: #fff;
  margin-top: 2rem;
}

/* ----------------------- RESPONSIVE ----------------------- */
@media (max-width: 900px) {
  .grid-2 { grid-template-columns: 1fr; }
  .nav { display: none; }
  .logo-img, .logo-fallback { width: 72px; height: auto; }
  .header-inner { padding: 0.6rem 0.9rem; }
  .hero h1 { font-size: 2.2rem; }
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  background: white;
  padding: 1rem;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  z-index: 9999;
}

.staff-zone {
  margin-top: 1.2rem;
  padding-top: 0.8rem;
  border-top: 1px dashed rgba(0,0,0,0.15);
}

.contact-card input,
.contact-card textarea {
  margin-bottom: 1rem;
}

/* COOKIE BANNER */
.cookie-banner {
  position: fixed;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  background: white;
  padding: 0.8rem 1rem;
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.2);
  display: flex;
  gap: 1rem;
  align-items: center;
  z-index: 9999;
  font-size: 0.9rem;
}

.cookie-banner a {
  color: var(--sky);
  font-weight: 600;
  text-decoration: none;
}

.btn.small {
  padding: 0.4rem 0.8rem;
  font-size: 0.85rem;
}