/* --- CSS RESET & NORMALIZE --- */
html { box-sizing: border-box; height: 100%; }
*, *:before, *:after { box-sizing: inherit; }
body, h1, h2, h3, h4, h5, h6, p, ul, ol, li, figure, figcaption, blockquote, dl, dd { margin: 0; padding: 0; font-weight: normal; }
ul, ol { list-style: none; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font: inherit; border: none; background: none; }
button { cursor: pointer; background: none; }
:root {
  --primary: #285280;
  --secondary: #F2E5D7;
  --accent: #86A367;
  --bg: #ffffff;
  --text: #232425;
  --grey: #ecf0f3;
  --border: #e1e5ea;
  --radius-lg: 24px;
  --radius: 16px;
  --shadow: 0 4px 24px rgba(40, 82, 128, 0.08), 0 1.5px 6px rgba(40,82,128,0.12);
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  line-height: 1.6;
  letter-spacing: 0.02em;
}

/* --- TYPOGRAPHY (modern_bold) --- */
h1, h2, h3, h4 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 0.01em;
}
h1 { font-size: 2.25rem; line-height: 1.2; margin-bottom: 24px; }
h2 { font-size: 1.75rem; line-height: 1.2; margin-bottom: 18px; }
h3 { font-size: 1.25rem; line-height: 1.3; margin-bottom: 12px; }
h4 { font-size: 1.125rem; }
p, ul, li, span { font-size: 1rem; color: var(--text); }
strong { font-weight: 700; }

@media (min-width: 768px) {
  h1 { font-size: 2.8rem; }
  h2 { font-size: 2rem; }
}

/* --- UTILITY SPACING --- */
.container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  max-width: 1180px;
  box-sizing: border-box;
}
.content-wrapper {
  width: 100%;
  margin: 0 auto;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}

@media (min-width:768px) {
  .section { padding: 60px 0; }
}

/* ---------- HEADER & NAVIGATION ---------- */
header {
  width: 100%;
  background: var(--bg);
  box-shadow: 0 2.5px 26px 0 rgba(40,82,128,0.07);
  z-index: 51;
  position: relative;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
  gap: 24px;
}
.main-nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
  color: var(--primary);
  padding: 8px 0 8px 0;
  transition: color 0.2s;
  position: relative;
}
.main-nav a::after {
  content: "";
  display: block;
  height: 3px;
  width: 0;
  background: var(--accent);
  border-radius: 2px;
  transition: width 0.18s cubic-bezier(.6,.24,.6,.97);
  position: absolute;
  left: 0; bottom: 2px;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--accent);
}
.main-nav a:hover::after, .main-nav a:focus::after {
  width: 80%;
}

.btn-primary {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  font-size: 1.08rem;
  letter-spacing: 0.02em;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius);
  padding: 14px 32px;
  box-shadow: 0 2px 12px rgba(40,82,128,0.09);
  transition: background 0.2s, transform 0.17s, box-shadow 0.21s;
  border: none;
  outline: none;
  display: inline-block;
  margin-left: 12px;
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--accent);
  color: #fff;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 7px 28px rgba(86,163,103,0.18);
}

.btn-secondary {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  padding: 11px 26px;
  border-radius: var(--radius);
  background: var(--secondary);
  color: var(--primary);
  border: 2px solid var(--primary);
  transition: background 0.18s, border-color 0.18s;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

/* ---------- MOBILE MENU ---------- */
.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  right: 18px;
  top: 18px;
  width: 48px;
  height: 48px;
  z-index: 200;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 2rem;
  box-shadow: 0 2px 10px rgba(40,82,128,0.12);
  transition: background 0.23s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--accent);
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--primary);
  color: #fff;
  z-index: 300;
  transform: translateX(-100vw);
  transition: transform 0.34s cubic-bezier(.73,.25,.49,.98);
  box-shadow: 0 2px 36px 0 rgba(40,82,128,0.18);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  right: 20px;
  top: 22px;
  background: transparent;
  font-size: 2.1rem;
  color: #fff;
  z-index: 999;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 80px 0 0 36px;
  gap: 32px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  padding: 7px 0;
  border-radius: 4px;
  transition: color 0.15s, background 0.15s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--accent);
  color: #fff;
  padding-left: 12px;
}

@media (min-width: 1020px) {
  .mobile-menu-toggle, .mobile-menu { display: none !important; }
}

@media (max-width: 1019px) {
  .main-nav { display: none !important; }
  header .btn-primary { display: none; }
}

/* ---------- HERO & SECTIONS ---------- */
.hero, .about-story, .inspiration-hero, .blog-hero, .kontakt-hero, .thankyou-hero {
  background: var(--secondary);
  border-radius: var(--radius-lg);
  margin-top: 42px;
  margin-bottom: 44px;
  box-shadow: var(--shadow);
}
.hero .container, .about-story .container, .inspiration-hero .container, .blog-hero .container, .kontakt-hero .container, .thankyou-hero .container {
  min-height: 330px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero .content-wrapper, .about-story .content-wrapper, .inspiration-hero .content-wrapper, .blog-hero .content-wrapper, .kontakt-hero .content-wrapper, .thankyou-hero .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  max-width: 600px;
}

@media (max-width: 768px) {
  .hero, .about-story, .inspiration-hero, .blog-hero, .kontakt-hero, .thankyou-hero {
    margin-top: 17px;
    margin-bottom: 18px;
    border-radius: var(--radius);
  }
  .hero .container, .about-story .container, .inspiration-hero .container, .blog-hero .container, .kontakt-hero .container, .thankyou-hero .container {
    min-height: 190px;
    padding: 23px 0;
  }
}

/* ---- FEATURES SECTIONS, CARDS & FLEXBOX LAYOUTS ---- */
.features, .feature-grid, .tips-features, .blog-list, .service-list {
  width: 100%;
}
.features .content-wrapper, .feature-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px 20px 28px 20px;
  flex: 1 1 260px;
  min-width: 235px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  transition: transform 0.17s, box-shadow 0.17s;
}
.feature img {
  width: 48px;
  height: 48px;
}
.feature:hover {
  transform: translateY(-5px) scale(1.025);
  box-shadow: 0 10px 36px rgba(40,82,128,0.12);
}
.feature h3 {
  color: var(--accent);
  margin-bottom: 4px;
}

@media (max-width: 900px) {
  .feature-grid { flex-direction: column; gap: 22px; }
  .feature { min-width: 0; width: 100%; }
}

/* ---------- CARDS & CONTENT LAYOUTS ---------- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: #fff;
  padding: 32px 20px;
  min-width: 260px;
  flex: 1 1 280px;
  transition: transform 0.18s, box-shadow 0.17s;
}
.card:hover {
  transform: translateY(-4px) scale(1.025);
  box-shadow: 0 6px 32px 0 rgba(40,82,128,0.12);
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  flex-direction: column;
  align-items: flex-start;
  max-width: 430px;
  border-left: 7px solid var(--accent);
  transition: box-shadow 0.17s;
}
.testimonial-card:hover {
  box-shadow: 0 12px 32px 0 rgba(86,163,103,0.16);
}
.testimonial-client {
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  margin-top: 8px;
  margin-left: 2px;
}

.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.info-box {
  background: var(--secondary);
  border-radius: var(--radius);
  padding: 24px 20px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
}

/* ---------- BLOG PREVIEWS ---------- */
.blog-preview {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 24px 24px 24px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 220px;
  flex: 1 1 300px;
}
.blog-preview h3 {
  color: var(--primary);
  font-size: 1.25rem;
}

/* ---------- SERVICE CARDS ---------- */
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-bottom: 20px;
}
.service {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 20px;
  flex: 1 1 270px;
  min-width: 230px;
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-bottom: 20px;
  transition: transform 0.14s;
}
.service h2 {
  display: flex;
  align-items: center;
  font-size: 1.25rem;
  justify-content: space-between;
  color: var(--primary);
}
.service-price {
  background: var(--accent);
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  border-radius: 8px;
  padding: 3px 14px 2px 14px;
  margin-left: 10px;
  font-weight: 800;
  letter-spacing: 0.01em;
}
.service:hover {
  transform: translateY(-4px) scale(1.018);
  box-shadow: 0 8px 32px rgba(86,163,103,0.10);
}

@media (max-width: 900px) {
  .service-list { flex-direction: column; gap: 20px; }
}

/* ---------- CTA BANNER ---------- */
.cta-banner, .tips-cta, .thankyou-cta, .kontakt-cta {
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius-lg);
  margin-bottom: 44px;
  box-shadow: var(--shadow);
}
.cta-banner .container, .tips-cta .container, .thankyou-cta .container, .kontakt-cta .container {
  padding: 30px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
}
.cta-banner .content-wrapper, .tips-cta .content-wrapper, .thankyou-cta .content-wrapper, .kontakt-cta .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
  justify-content: center;
}
.cta-banner h2, .tips-cta h3, .thankyou-cta h1, .kontakt-cta h2 {
  color: #fff;
}
@media (max-width: 768px) {
  .cta-banner, .tips-cta, .thankyou-cta, .kontakt-cta { border-radius: var(--radius); }
}

/* ------------- TEXT SECTION PAGE (Datenschutz, GDPR, Cookies etc) ------------- */
.text-section {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 60px;
  padding: 40px 20px;
}
.text-section h1, .text-section h2 {
  margin-bottom: 18px;
}
.text-section ul {
  list-style: disc inside;
  margin-bottom: 16px;
}
.text-section ul li {
  margin-left: 21px;
  margin-bottom: 6px;
}
.text-section p {
  margin-bottom: 15px;
}

/* ------------- CONTACT PAGE -------------- */
.contact-info, .footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
}

/* ---------- FOOTER ---------- */
footer {
  background: var(--primary);
  color: #fff;
  padding: 36px 0 22px 0;
  margin-top: 64px;
  border-radius: var(--radius) var(--radius) 0 0;
  box-shadow: 0 -3px 28px 0 rgba(40,82,128,0.08);
  position: relative;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
}
.footer-links, .footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  color: #fff;
  font-weight: 600;
  opacity: 0.88;
  font-size: 0.97rem;
  transition: opacity 0.2s;
}
.footer-links a:hover {
  opacity: 1;
  color: var(--accent);
}
.footer-contact span {
  font-size: 0.98rem;
  color: #fff;
  opacity: 0.93;
}
.footer-brand img {
  width: 58px;
  height: 58px;
  display: block;
}
@media (max-width: 880px) {
  footer .container { flex-direction: column; gap: 22px; align-items: flex-start; }
}

/* --- COOKIE CONSENT BANNER & MODAL --- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  z-index: 9999;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 18px;
  box-shadow: 0 -4px 12px 0 rgba(40,82,128,0.15);
  gap: 18px;
  font-size: 1rem;
  min-height: 70px;
}
.cookie-banner p {
  margin-right: 18px;
  flex: 1;
  color: white;
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 16px;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border-radius: 10px;
  padding: 10px 20px;
  font-size: 1rem;
  transition: background 0.19s, color 0.14s;
  outline: none;
  border: none;
}
.cookie-btn.accept {
  background: var(--accent);
  color: #fff;
}
.cookie-btn.accept:hover {
  background: #3f8249;
}
.cookie-btn.reject {
  background: #fff;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.cookie-btn.reject:hover {
  background: var(--secondary);
}
.cookie-btn.settings {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}
.cookie-btn.settings:hover {
  background: #fff;
  color: var(--primary);
}
/* Cookie modal overlay */
.cookie-modal-overlay {
  position: fixed;
  z-index: 10001;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(40,82,128,0.68);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.38s cubic-bezier(.45,.2,.55,1);
}
@keyframes fadeIn {
  from { opacity: 0; }
  to {opacity: 1;}
}
.cookie-modal {
  background: #fff;
  color: var(--text);
  min-width: 320px;
  max-width: 98vw;
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 44px rgba(40,82,128,0.12);
  padding: 34px 22px 24px 30px;
  display: flex;
  flex-direction: column;
  gap: 19px;
  position: relative;
  animation: modalSlideIn 0.31s cubic-bezier(.71,.13,.32,1);
}
@keyframes modalSlideIn {
  from { transform: translateY(80px) scale(0.94); opacity: 0; }
  to   { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal h2 {
  color: var(--primary);
  font-size: 1.3rem;
  margin-bottom: 12px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 17px;
}
.cookie-category-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 7px;
}
.cookie-category-row label {
  font-weight: 700;
}
.cookie-category-row .cookie-toggle {
  width: 46px;
  height: 24px;
  border-radius: 22px;
  background: var(--grey);
  position: relative;
  cursor: pointer;
  transition: background 0.17s;
  margin-left: 10px;
  flex-shrink: 0;
}
.cookie-category-row .cookie-toggle.enabled {
  background: var(--accent);
}
.cookie-category-row .cookie-toggle .toggle-knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 6px rgba(56,56,64,0.16);
  transition: left 0.19s;
}
.cookie-category-row .cookie-toggle.enabled .toggle-knob {
  left: 25px;
}
.cookie-modal .cookie-btn-row {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
  margin-top: 18px;
}
.cookie-modal .cookie-btn {
  min-width: 80px;
}
.cookie-modal .cookie-close {
  position: absolute;
  right: 16px;
  top: 17px;
  background: transparent;
  color: var(--primary);
  font-size: 1.7rem;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  transition: background 0.18s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cookie-modal .cookie-close:hover {
  background: var(--secondary);
}
@media(max-width: 600px){
  .cookie-modal { padding: 22px 10px 16px 14px; min-width: 0; }
  .cookie-banner { flex-direction: column; gap: 20px; align-items: flex-start; }
}

/* ---- ANIMATIONS ----*/
.section, .card, .feature, .cta-banner, .blog-preview, .testimonial-card, .service {
  animation: fadeUp 0.7s cubic-bezier(.31,.56,.38,.97) both;
}
@keyframes fadeUp {
  from {transform: translateY(40px);opacity:0;}
  to{transform:translateY(0);opacity:1;}
}

/* ---- MISC AND RESPONSIVENESS ---- */
main {
  flex: 1 0 auto;
  margin-bottom: 40px;
}
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .feature, .card, .service, .blog-preview, .testimonial-card {
    min-width: 0;
    width: 100%;
  }
  .footer-links, .footer-contact { gap: 7px; }
  .hero .content-wrapper, .about-story .content-wrapper, .inspiration-hero .content-wrapper {
    gap: 13px; max-width: 97vw; padding-left: 0; padding-right: 0;
  }
}
@media (max-width: 480px) {
  .container { padding-left: 8px; padding-right: 8px; }
  header .container { padding-left: 10px; padding-right: 10px; }
  .cta-banner .container { padding: 14px 0; }
}

/* ---- A11Y FOCUS STYLES ---- */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  z-index: 60;
}

/* ---- GEOMETRIC SHAPES / BOLD ACCENTS (decorative only) ---- */
.feature::before {
  content: '';
  display: block;
  width: 32px;
  height: 5px;
  background: var(--accent);
  border-radius: 3px;
  margin-bottom: 10px;
  opacity: 0.18;
}

/* Prevent overlapping / SCALING on hover for all cards */
.feature, .testimonial-card, .card, .service, .blog-preview {
  will-change: transform, box-shadow;
}

/* Remove bullets from ul but allow in text-section */
ul { list-style: none; }
.text-section ul { list-style: disc inside; }

/* Hide scrollbars for modal overlay on mobile */
.cookie-modal-overlay {
  -webkit-overflow-scrolling: touch;
  overflow-y: auto;
}

/* --- END OF STYLE --- */
