/*
Theme Name: WP-Simple Theme
Theme URI: https://klaushuber.de
Author: Klaus Huber
Author URI: https://klaushuber.de
Description: Ein leichtgewichtiges, modernes und DSGVO-konformes WordPress-Theme mit anpassbarer Content-Breite, lokalen Google Fonts, 2-zeiligem Header mit rechts einklappendem Mobile-Menü und flexiblem Multi-Spalten-Footer mit Prozentangaben.
Version: 1.0.0
Tested up to: 6.7
Requires at least: 5.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wp-simple-theme
Tags: custom-background, custom-colors, custom-header, custom-logo, custom-menu, featured-images, full-width-template, theme-options
*/

/* 
 * Basis-Variablen & CSS Resets 
 * Zusätzliche dynamische Variablen werden via inc/custom-css.php über den Customizer injiziert.
 */
:root {
  --site-max-width: 1200px;
  --site-padding: 24px;
  --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-accent: 'Caveat', cursive, Georgia, serif;
  
  --color-primary: #2563eb;
  --color-primary-hover: #1d4ed8;
  --color-heading: #0f172a;
  --color-text: #334155;
  --color-bg: #ffffff;
  --color-border: #e2e8f0;
  --color-light: #f8fafc;
  
  --topbar-bg: #1e293b;
  --topbar-color: #f8fafc;
  --header-bg: #ffffff;
  --header-color: #0f172a;
  --footer-bg: #0f172a;
  --footer-color: #94a3b8;
  --footer-heading: #f8fafc;
  --footer-bottom-bg: #020617;
  --footer-bottom-color: #64748b;
  
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.08), 0 2px 4px -1px rgba(0,0,0,0.04);
  --shadow-lg: 0 10px 25px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-heading);
  font-weight: 700;
  line-height: 1.25;
  margin-top: 0;
  margin-bottom: 0.75rem;
}

h1 { font-size: 2.25rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.15rem; }
h5 { font-size: 1rem; }
h6 { font-size: 0.875rem; }

p {
  margin-top: 0;
  margin-bottom: 1.25rem;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover, a:focus {
  color: var(--color-primary-hover);
  text-decoration: underline;
}

/* Sondertext / Accent Font Klasse */
.special-text,
.accent-font,
.lead-quote,
blockquote {
  font-family: var(--font-accent);
}

blockquote {
  margin: 1.5rem 0;
  padding: 1rem 1.5rem;
  border-left: 4px solid var(--color-primary);
  background-color: var(--color-light);
  font-size: 1.25rem;
  font-style: italic;
}

/* Container mit konfigurierbarer maximaler Breite */
.site-container {
  width: 100%;
  max-width: var(--site-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--site-padding);
  padding-right: var(--site-padding);
}
