/*
Theme Name: Fischkopp GreyGlass (Elementor)
Theme URI: https://fischkopp.eu
Author: Fischkopp
Description: Transparentes Grey-Glass Theme für Elementor mit Background-Image, Logo-Header, grauen Bars & Content-Box.
Version: 1.0.4
Text Domain: fischkopp-greyglass
*/

/* ========= Harmonische “GreyGlass” Tokens (warm + slate) ========= */
:root{
  --page-max: 1200px;

  /* harmonischer: “Smoky Slate” mit warmem Sunset-Touch */
  --glass-a: rgba(34, 40, 48, 0.76);
  --glass-b: rgba(17, 20, 26, 0.60);

  --bar-a: rgba(40, 46, 54, 0.70);
  --bar-b: rgba(20, 24, 30, 0.58);

  --stroke: rgba(255,255,255,0.13);
  --stroke-soft: rgba(255,255,255,0.08);

  --text: rgba(246, 247, 250, 0.92);
  --muted: rgba(246, 247, 250, 0.72);

  --radius: 12px;  /* leicht abgerundet, eher eckig */
  --shadow: 0 18px 60px rgba(0,0,0,0.38);
  --shadow-soft: 0 10px 30px rgba(0,0,0,0.26);

  /* angenehmes Web-Blau */
  --accent: #3AA2FF;
  --accent-soft: rgba(58, 162, 255, 0.25);
}

/* ========== Base ========== */
*{ box-sizing: border-box; }
html, body{ height: 100%; }

body{
  margin: 0;
  color: var(--text);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Arial, "Apple Color Emoji","Segoe UI Emoji";
  line-height: 1.55;

  background-image: url("assets/img/bg.avif");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

/* leichtes Overlay für bessere Lesbarkeit */
body::before{
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(1200px 700px at 18% 10%, rgba(0,0,0,0.10), transparent 55%),
    radial-gradient(900px 600px at 80% 18%, rgba(0,0,0,0.12), transparent 52%),
    linear-gradient(180deg, rgba(0,0,0,0.16), rgba(0,0,0,0.30));
  z-index: 0;
}

#page{ position: relative; z-index: 1; }

a{ color: rgba(255,255,255,0.92); text-decoration: none; }
a:hover{ color: rgba(255,255,255,1); }

/* ========== Layout Wrappers ========== */
.site-wrap{
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 22px 18px 26px;
}

/* ========== Header ========== */
.site-header{
  padding: 18px 0 14px;
  text-align: center;
}
.site-logo{
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* leichtes Bounce */
@keyframes fk-bounce {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-4px); }
}
.site-logo img{
  max-width: min(520px, 92vw);
  height: auto;
  display: block;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.35));
  animation: fk-bounce 3.2s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce){
  .site-logo img{ animation: none; }
}

/* ========== Glass Surfaces ========== */
.glass-bar{
  border-radius: var(--radius);
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow-soft);

  /* warmes Highlight + Slate Basis */
  background:
    radial-gradient(900px 240px at 30% 10%, rgba(255, 190, 120, 0.10), transparent 55%),
    radial-gradient(700px 220px at 85% 0%, rgba(255,255,255,0.06), transparent 55%),
    linear-gradient(135deg, var(--bar-a), var(--bar-b));

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.content-box{
  border-radius: var(--radius);
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow);

  background:
    radial-gradient(900px 420px at 22% 0%, rgba(255, 190, 120, 0.10), transparent 60%),
    radial-gradient(700px 380px at 90% 18%, rgba(255,255,255,0.07), transparent 55%),
    linear-gradient(135deg, var(--glass-a), var(--glass-b));

  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  padding: clamp(18px, 3vw, 30px);
  min-height: 320px;
}

/* ========== Navigation (nur Text, keine Einzel-Kästchen) ========== */
.site-nav{
  padding: 10px 14px;
  margin: 10px 0 18px;
}

.site-nav .menu,
.site-nav ul{
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
}

.site-nav li{ display: block; }

.site-nav a{
  position: relative;
  display: inline-block;
  padding: 8px 2px;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  text-decoration: none !important;
  color: rgba(246,247,250,0.90);
  transition: color .12s ease;
}

/* Hover: Text wird angenehm blau */
.site-nav a:hover{
  color: var(--accent);
}

/* Active: Unterstrichen (clean) */
.site-nav .current-menu-item > a,
.site-nav .current_page_item > a,
.site-nav .current-menu-ancestor > a{
  color: rgba(246,247,250,0.98);
}

.site-nav .current-menu-item > a::after,
.site-nav .current_page_item > a::after,
.site-nav .current-menu-ancestor > a::after{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  box-shadow: 0 0 18px var(--accent-soft);
  border-radius: 2px;
}

/* WordPress Default Content */
.entry-title{ margin: 0 0 14px; line-height: 1.2; }
.entry-content{ margin: 0; }
.entry-content p{ color: var(--text); }
.muted{ color: var(--muted); }

/* Footer */
.site-footer{
  margin-top: 18px;
  padding: 12px 14px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}

/* ========== Responsive ========== */
@media (max-width: 520px){
  .site-nav .menu, .site-nav ul{ gap: 12px; }
}
