/*
Theme Name: Objektoptimierung Child
Template: twentytwentyfour
Version: 1.0
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --background: 0 0% 100%;
  --foreground: 0 0% 7%;
  --primary: 215 100% 50%;
  --primary-foreground: 0 0% 100%;
  --secondary: 0 0% 96%;
  --muted: 0 0% 96%;
  --muted-foreground: 0 0% 45%;
  --border: 0 0% 92%;
  --radius: 0.75rem;
  --hero-gradient: linear-gradient(180deg, hsl(240 5% 96%) 0%, hsl(240 5% 97%) 100%);
  --glass-bg: hsla(0, 0%, 100%, 1);
  --glass-border: hsla(0, 0%, 0%, 0.08);
  --shadow-subtle: 0 2px 40px hsla(0, 0%, 0%, 0.06);
  --shadow-elevated: 0 8px 60px hsla(0, 0%, 0%, 0.1);
  --text-gradient: linear-gradient(135deg, hsl(0 0% 7%) 0%, hsl(0 0% 35%) 100%);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

h1,h2,h3,h4,h5,h6 {
  font-family: 'Inter', -apple-system, sans-serif;
  letter-spacing: -0.025em;
}

.text-gradient {
  background: var(--text-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-gradient { background: var(--hero-gradient); }

.glass {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.shadow-subtle { box-shadow: var(--shadow-subtle); }
.shadow-elevated { box-shadow: var(--shadow-elevated); }

/* Navigation */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--glass-bg);
  border-bottom: 1px solid var(--glass-border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.nav-container {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-weight: 700;
  font-size: 1.125rem;
  color: hsl(var(--foreground));
  text-decoration: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--muted-foreground));
  text-decoration: none;
  transition: color 0.15s;
}

.nav-links a:hover { color: hsl(var(--foreground)); }

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  padding: 0.625rem 1.25rem;
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.15s, opacity 0.15s;
  border: none;
  cursor: pointer;
}

.btn-primary:hover { opacity: 0.9; }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  padding: 0.625rem 1.25rem;
  background: hsl(var(--secondary));
  color: hsl(var(--foreground));
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.15s;
  border: 1px solid hsl(var(--border));
  cursor: pointer;
}

.btn-secondary:hover { background: hsl(var(--muted)); }

/* Cards */
.card {
  background: hsl(0 0% 98%);
  border: 1px solid hsl(var(--border));
  border-radius: calc(var(--radius) + 4px);
  padding: 1.5rem;
  box-shadow: var(--shadow-subtle);
  transition: box-shadow 0.2s;
}

.card:hover { box-shadow: var(--shadow-elevated); }

/* Sections */
.section { padding: 5rem 1.5rem; }
.section-sm { padding: 3rem 1.5rem; }

.container {
  max-width: 72rem;
  margin: 0 auto;
}

.container-sm {
  max-width: 48rem;
  margin: 0 auto;
}

/* Hero */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  background: var(--hero-gradient);
  padding-top: 4rem;
}

/* Page content padding for fixed nav */
.site-main { padding-top: 4rem; }

/* Footer */
.site-footer {
  border-top: 1px solid hsl(var(--border));
  padding: 3rem 1.5rem;
  background: hsl(var(--secondary));
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .section { padding: 3rem 1rem; }
  .hero { padding: 6rem 1rem 3rem; }
}

/* Fix page layout */
.page-content-full {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
}
.wp-block-post-title,
.entry-title,
h1.page-title {
  display: none !important;
}

/* Full width page content */
.wp-site-blocks,
.wp-block-group,
.entry-content,
.wp-block-post-content {
  padding: 0 !important;
  margin: 0 !important;
  max-width: 100% !important;
}
.wp-block-post-content > * {
  max-width: 100% !important;
}
body.page .wp-block-template-part,
body.page .wp-block-post-title {
  display: none !important;
}

/* Full width fix */
.wp-block-post-content {
  max-width: 100% !important;
  padding: 0 !important;
}
.wp-block-post-content .wp-block {
  max-width: 100% !important;
}

/* Full width fix */
.wp-block-post-content {
  max-width: 100% !important;
  padding: 0 !important;
}
.wp-block-post-content .wp-block {
  max-width: 100% !important;
}
