/*
Theme Name: AI Creative Hub
Theme URI: https://example.com/ai-creative-hub
Author: OpenAI
Description: Modernes WordPress-Theme für KI-Bilder, Bilderwelten, Tutorials und kreative Tipps.
Version: 1.2.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: ai-creative-hub
*/

:root {
  --bg: #0b1020;
  --surface: #121a2e;
  --surface-2: #18233d;
  --text: #f7f9ff;
  --muted: #aab6cf;
  --primary: #7c5cff;
  --secondary: #00d2ff;
  --accent: #ff5ea8;
  --border: rgba(255,255,255,.1);
  --shadow: 0 20px 60px rgba(0,0,0,.28);
  --radius: 22px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: radial-gradient(circle at top right, rgba(124,92,255,.16), transparent 35%), var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
.container { width: min(calc(100% - 32px), var(--container)); margin-inline: auto; }
.site-main { min-height: 60vh; }

.site-header {
  position: sticky; top: 0; z-index: 1000;
  backdrop-filter: blur(18px);
  background: rgba(11,16,32,.76);
  border-bottom: 1px solid var(--border);
}
.header-inner { display:flex; align-items:center; justify-content:space-between; gap:24px; min-height:76px; }
.brand { display:flex; align-items:center; gap:12px; font-weight:800; letter-spacing:-.02em; }
.brand-mark { width:42px; height:42px; border-radius:14px; display:grid; place-items:center; background:linear-gradient(135deg,var(--primary),var(--secondary)); box-shadow:0 10px 30px rgba(124,92,255,.35); }
.brand-mark span { font-size:20px; }
.custom-logo { max-height:48px; width:auto; }
.primary-nav ul { display:flex; gap:22px; list-style:none; margin:0; padding:0; align-items:center; }
.primary-nav a { color:var(--muted); font-weight:600; }
.primary-nav a:hover { color:#fff; }
.menu-toggle { display:none; border:1px solid var(--border); background:var(--surface); color:white; border-radius:12px; padding:10px 12px; }

.hero { padding:90px 0 56px; }
.hero-grid { display:grid; grid-template-columns:1.15fr .85fr; gap:48px; align-items:center; }
.eyebrow { display:inline-flex; gap:8px; align-items:center; padding:8px 12px; border:1px solid var(--border); border-radius:999px; color:#dbe3ff; background:rgba(255,255,255,.04); font-size:.9rem; }
h1,h2,h3 { line-height:1.15; letter-spacing:-.035em; margin-top:0; }
h1 { font-size:clamp(2.8rem,7vw,5.7rem); margin-bottom:22px; }
h2 { font-size:clamp(2rem,4vw,3.35rem); margin-bottom:14px; }
h3 { font-size:1.25rem; }
.gradient-text { background:linear-gradient(90deg,#fff,var(--secondary),#c9b8ff); -webkit-background-clip:text; background-clip:text; color:transparent; }
.hero p { color:var(--muted); font-size:1.12rem; max-width:680px; }
.button-row { display:flex; flex-wrap:wrap; gap:14px; margin-top:28px; }
.button, .wp-block-button__link, button, input[type=submit] {
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  border:0; border-radius:14px; padding:13px 18px; font-weight:800; cursor:pointer;
  background:linear-gradient(135deg,var(--primary),var(--secondary)); color:#fff;
  box-shadow:0 12px 28px rgba(124,92,255,.25);
}
.button.secondary { background:rgba(255,255,255,.06); border:1px solid var(--border); box-shadow:none; }
.hero-card { min-height:430px; padding:18px; border-radius:32px; background:linear-gradient(145deg,rgba(255,255,255,.08),rgba(255,255,255,.02)); border:1px solid var(--border); box-shadow:var(--shadow); transform:rotate(1.5deg); }
.hero-card-inner { height:100%; border-radius:24px; overflow:hidden; background:linear-gradient(145deg,#1f2b4a,#10162a); display:grid; place-items:center; position:relative; }
.hero-card img { width:100%; height:100%; object-fit:cover; }
.hero-orb { width:220px; aspect-ratio:1; border-radius:50%; background:radial-gradient(circle at 30% 30%,#fff,var(--secondary) 20%,var(--primary) 55%,transparent 72%); filter:drop-shadow(0 0 45px rgba(0,210,255,.45)); }

.section { padding:72px 0; }
.section-head { display:flex; justify-content:space-between; align-items:end; gap:24px; margin-bottom:28px; }
.section-head p { color:var(--muted); max-width:620px; margin:0; }
.grid { display:grid; gap:22px; }
.grid-3 { grid-template-columns:repeat(3,1fr); }
.grid-4 { grid-template-columns:repeat(4,1fr); }
.card { background:linear-gradient(180deg,rgba(255,255,255,.055),rgba(255,255,255,.025)); border:1px solid var(--border); border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow); }
.card-media { aspect-ratio:4/3; overflow:hidden; background:var(--surface-2); }
.card-media img { width:100%; height:100%; object-fit:cover; transition:transform .35s ease; }
.card:hover .card-media img { transform:scale(1.04); }
.card-body { padding:20px; }
.card-meta { display:flex; gap:10px; flex-wrap:wrap; color:var(--muted); font-size:.86rem; margin-bottom:10px; }
.pill { padding:5px 9px; border-radius:999px; background:rgba(124,92,255,.16); color:#d9d1ff; }
.card p { color:var(--muted); }

.search-form input[type=search], .contact-form input, .contact-form textarea {
  width:100%; background:rgba(255,255,255,.045); color:#fff; border:1px solid var(--border); border-radius:14px; padding:13px 14px;
}

.feature-strip { display:grid; grid-template-columns:repeat(4,1fr); gap:16px; }
.feature-item { padding:20px; border-radius:18px; background:rgba(255,255,255,.035); border:1px solid var(--border); }
.feature-item strong { display:block; margin-bottom:5px; }
.feature-item span { color:var(--muted); font-size:.93rem; }

.content-wrap { display:grid; grid-template-columns:minmax(0,1fr) 320px; gap:34px; padding:64px 0; }
.entry-content, .sidebar-widget { background:rgba(255,255,255,.035); border:1px solid var(--border); border-radius:var(--radius); padding:28px; }
.entry-content p, .entry-content li { color:#d8e0f1; }
.entry-content h2, .entry-content h3 { margin-top:1.4em; }
.sidebar-widget { margin-bottom:20px; }
.sidebar-widget ul { list-style:none; padding:0; margin:0; }
.sidebar-widget li { padding:8px 0; border-bottom:1px solid var(--border); }

.archive-header { padding:70px 0 30px; }
.pagination { margin:34px 0; }
.page-numbers { display:inline-flex; padding:10px 14px; margin-right:7px; border:1px solid var(--border); border-radius:10px; }
.current.page-numbers { background:var(--primary); }

.contact-form { display:grid; gap:14px; }
.contact-form textarea { min-height:150px; resize:vertical; }
.notice { padding:14px 16px; border-radius:12px; background:rgba(0,210,255,.1); border:1px solid rgba(0,210,255,.25); }

.site-footer { border-top:1px solid var(--border); padding:44px 0; margin-top:50px; color:var(--muted); }
.footer-grid { display:grid; grid-template-columns:2fr 1fr 1fr; gap:28px; }
.site-footer ul { list-style:none; padding:0; }
.site-footer li { margin:7px 0; }
.footer-bottom { margin-top:24px; padding-top:20px; border-top:1px solid var(--border); font-size:.9rem; }

@media (max-width: 920px) {
  .hero-grid, .content-wrap, .footer-grid { grid-template-columns:1fr; }
  .grid-3, .grid-4, .feature-strip { grid-template-columns:repeat(2,1fr); }
  .menu-toggle { display:block; }
  .primary-nav { display:none; position:absolute; top:76px; left:16px; right:16px; background:#10172a; border:1px solid var(--border); border-radius:18px; padding:16px; }
  .primary-nav.open { display:block; }
  .primary-nav ul { flex-direction:column; align-items:flex-start; }
}
@media (max-width: 620px) {
  .grid-3, .grid-4, .feature-strip { grid-template-columns:1fr; }
  .hero { padding-top:58px; }
  .hero-card { min-height:320px; }
  .section-head { align-items:start; flex-direction:column; }
  .button-row .button { width:100%; }
}

/* Galerie-Einzelansicht ohne Blog-Seitenleiste */
.content-wrap.artwork-single {
  grid-template-columns: minmax(0, 1fr);
  max-width: 1100px;
}
