/*
Theme Name: Hauswartung Reinigung Child
Theme URI: https://hauswartung-reinigung.ch
Description: Child Theme für GeneratePress – Design für hauswartung-reinigung.ch Blog
Author: hauswartung-reinigung.ch
Author URI: https://hauswartung-reinigung.ch
Template: generatepress
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hauswartung-reinigung
*/

/* =============================================================
   Hinweis:
   Die umfangreichen Custom-Styles sind in assets/css/custom.css
   ausgelagert und werden ueber functions.php geladen.
   Diese Datei enthaelt den Theme-Header (Pflicht) sowie
   grundlegende Basis-Stile und Ueberschreibungen fuer GeneratePress.
   ============================================================= */

/* ===== Design Tokens (Farbvariablen) ===== */
:root {
  --primary: #1a6b8a;
  --primary-dark: #145570;
  --accent: #3aaf5c;
  --accent-dark: #2d9149;
  --text: #2c3e50;
  --text-light: #6c757d;
  --bg-light: #f8f9fa;
  --white: #ffffff;
  --dark: #1a252f;
  --border: #e4e9ed;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-hover: 0 14px 36px rgba(26,107,138,0.16);
  --radius: 12px;
  --maxw: 1140px;
}

/* ===== Basis-Typografie ===== */
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6,
.entry-title,
.site-title {
  font-family: 'Poppins', sans-serif;
  line-height: 1.25;
  color: var(--dark);
}
h1 { font-size: 2.5rem; font-weight: 700; }
h2 { font-size: 2rem; font-weight: 600; }
h3 { font-size: 1.5rem; font-weight: 600; }

a { color: var(--primary); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--accent); }

/* ===== GeneratePress Header / Navigation Ueberschreibungen ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  box-shadow: var(--shadow);
}
.main-navigation,
.main-navigation ul {
  background: transparent;
}
.main-navigation .main-nav ul li a {
  color: var(--primary);
  font-weight: 500;
  transition: color .2s ease;
}
.main-navigation .main-nav ul li a:hover,
.main-navigation .main-nav ul li.current-menu-item a {
  color: var(--accent);
}

/* ===== WordPress Block-Buttons ===== */
.wp-block-button__link,
.wp-block-button__link:visited {
  background-color: var(--accent);
  color: var(--white);
  border-radius: 50px;
  padding: 14px 32px;
  font-weight: 600;
  transition: transform .2s ease, background .2s ease;
}
.wp-block-button__link:hover {
  background-color: var(--accent-dark);
  color: var(--white);
  transform: translateY(-2px);
}

/* ===== Beitragstitel ===== */
.entry-title,
.entry-title a {
  font-family: 'Poppins', sans-serif;
  color: var(--dark);
}
.entry-title a:hover { color: var(--primary); }
