/*
Theme Name: Mini & Money Theme
Theme URI: https://miniandmoney.de
Description: Ein modernes, elegantes Theme für die Mini & Money Webseite
Author: Babett Birnbaum
Author URI: https://www.miniandmoney.de
Version: 1.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mini-money-theme
Domain Path: /languages
*/

/* ===================================
   CSS Variables / Farben
   =================================== */
:root {
  --primary-blue: #4A90A4;
  --secondary-pink: #E8A8A8;
  --brown: #8B6F47;
  --green-gray: #6B8E7F;
  --light-gray: #F5F3F0;
  --dark-gray: #333333;
}

/* ===================================
   Global Styles
   =================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--dark-gray);
  background-color: #ffffff;
}

/* ===================================
   Container
   =================================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===================================
   Navigation / Header
   =================================== */
nav {
  background-color: #ffffff;
  padding: 1rem 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav .logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary-blue);
}

nav .logo span {
  color: var(--secondary-pink);
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}

nav a {
  text-decoration: none;
  color: var(--dark-gray);
  font-weight: 500;
  transition: color 0.3s ease;
}

nav a:hover {
  color: var(--primary-blue);
}

/* ===================================
   Hero Section
   =================================== */
.hero {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--green-gray) 100%);
  color: #ffffff;
  padding: 4rem 0;
  min-height: 600px;
  display: flex;
  align-items: center;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.hero-content .tagline {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--secondary-pink);
  font-style: italic;
}

.hero-content .subtitle {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  padding: 12px 24px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background-color: var(--secondary-pink);
  color: #ffffff;
}

.btn-primary:hover {
  background-color: #d69898;
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.hero-image {
  text-align: center;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

/* ===================================
   Section Styles
   =================================== */
section {
  padding: 4rem 0;
}

section:nth-child(even) {
  background-color: var(--light-gray);
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  font-size: 2.5rem;
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

/* ===================================
   Why Section
   =================================== */
.why-section .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.why-text h3 {
  font-size: 1.5rem;
  color: var(--brown);
  margin-bottom: 1rem;
}

.why-text ul {
  list-style: none;
  padding-left: 0;
}

.why-text li {
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  position: relative;
}

.why-text li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green-gray);
  font-weight: bold;
}

/* ===================================
   About Section
   =================================== */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

.about-text h3 {
  font-size: 2rem;
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

.about-text p {
  margin-bottom: 1rem;
  line-height: 1.8;
}

.highlight {
  color: var(--brown);
  font-weight: 600;
}

/* ===================================
   Cards Grid
   =================================== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.card {
  background-color: #ffffff;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
}

.card-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.card h3 {
  font-size: 1.3rem;
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

.card p {
  color: #666;
  margin-bottom: 0.5rem;
}

.card ul {
  list-style: none;
  padding-left: 0;
}

.card li {
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  position: relative;
}

.card li:before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--green-gray);
  font-weight: bold;
}

/* ===================================
   Contact Section
   =================================== */
#contact .container > div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

#contact h3 {
  font-size: 1.5rem;
  color: var(--primary-blue);
  margin-bottom: 1.5rem;
}

#contact p {
  margin-bottom: 1rem;
}

#contact a {
  color: var(--primary-blue);
  text-decoration: none;
}

#contact a:hover {
  text-decoration: underline;
}

/* ===================================
   Footer
   =================================== */
footer {
  background-color: var(--dark-gray);
  color: #ffffff;
  padding: 3rem 0 1rem;
}

footer .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

footer h4 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: var(--secondary-pink);
}

footer p {
  line-height: 1.8;
  color: #ccc;
}

footer ul {
  list-style: none;
}

footer li {
  margin-bottom: 0.5rem;
}

footer a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

footer a:hover {
  color: var(--secondary-pink);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #999;
}

/* ===================================
   Animations
   =================================== */
.fade-in {
  animation: fadeIn 0.8s ease-in;
}

.fade-in-left {
  animation: fadeInLeft 0.8s ease-in;
}

.fade-in-right {
  animation: fadeInRight 0.8s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
    gap: 1rem;
  }

  .hero .container {
    grid-template-columns: 1fr;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .about-content,
  .why-section .container,
  #contact .container > div {
    grid-template-columns: 1fr;
  }

  .cards-grid {
    grid-template-columns: 1fr;
  }

  section {
    padding: 2rem 0;
  }
}