/* =====================================================
   FREIZEITTRAUM – creative_artistic CSS
   Modern, vibrant, artistic, fully responsive, FLEX ONLY
   ===================================================== */

/* ==== Reset & Normalize ==== */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, menu, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
main, menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  font-size: 100%;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  min-height: 100vh;
  background: #F9F7F2;
  color: #22253c;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: hidden;
}
a {
  color: #25518C;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #F4B942;
  outline: none;
}
ul, ol {
  margin-left: 1.4em;
  margin-bottom: 1.2em;
}
li {
  margin-bottom: 0.4em;
  line-height: 1.5;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  margin-bottom: 16px;
  font-weight: 700;
  color: #25518C;
  letter-spacing: 0.02em;
}
h1 {
  font-size: 2.25rem;
  margin-bottom: 18px;
  line-height: 1.1;
}
h2 {
  font-size: 1.75rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.25rem;
  color: #F4B942;
  margin-bottom: 10px;
}
p {
  margin-bottom: 1.2em;
  font-size: 1rem;
}
strong {
  font-weight: 700;
}
section {
  width: 100%;
}
img {
  max-width: 100%;
  display: block;
}

/* ==== Brand Colors ==== */
:root {
  --primary: #25518C;
  --primary-rgb: 37,81,140;
  --secondary: #F4B942;
  --secondary-rgb: 244,185,66;
  --accent: #F9F7F2;
  --accent-dark: #f0eada;
  --white: #FFF;
  --black: #22253c;
}

/* ==== Container ==== */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 18px;
}

.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}

/* ==== Section Spacing (MANDATORY PATTERNS) ==== */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: rgba(var(--secondary-rgb),0.03);
  border-radius: 20px;
  box-shadow: 0 4px 24px rgba(var(--primary-rgb),0.03);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--white);
  border-radius: 18px;
  box-shadow: 0 2px 8px rgba(var(--secondary-rgb),0.17), 0 4px 36px rgba(var(--primary-rgb),0.04);
  padding: 28px 20px;
  flex: 1 1 300px;
  min-width: 260px;
  transition: transform 0.18s, box-shadow 0.18s;
}
.card:hover {
  transform: translateY(-4px) scale(1.025) rotate(-1.1deg);
  box-shadow: 0 8px 36px rgba(var(--secondary-rgb),0.17), 0 8px 64px rgba(var(--primary-rgb),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: stretch;
  }
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: var(--accent-dark);
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(var(--primary-rgb),0.06);
  margin-bottom: 20px;
  max-width: 520px;
}
.testimonial-card blockquote {
  margin: 0 0 6px 0;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.15rem;
  color: #22253c;
  font-weight: 600;
  line-height: 1.45;
  quotes: "\201C" "\201D" "\2018" "\2019";
  position: relative;
  text-shadow: 0 2px 10px #fff8;
}
.testimonial-card blockquote:before {
  color: var(--primary);
  content: open-quote;
  font-size: 2em;
  font-style: italic;
  margin-right: 4px;
  vertical-align: bottom;
  font-family: serif;
}
.testimonial-card span {
  font-size: 0.98rem;
  color: var(--primary);
  font-style: italic;
  font-weight: 500;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--accent);
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(var(--primary-rgb),0.05);
  padding: 16px 18px;
  margin-bottom: 20px;
}

/* ==== Navigation - Desktop ==== */
header {
  background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 60%, #46aac7 100%);
  box-shadow: 0 2px 18px rgba(var(--primary-rgb),0.08);
  z-index: 20;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  position: relative;
  gap: 18px;
}
.main-nav ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav li {
  margin: 0;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--accent);
  transition: background 0.17s, color 0.18s;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--secondary);
  color: var(--primary);
}
.main-nav .btn-primary {
  margin-left: 24px;
}

/* Logo size */
.main-nav > a img {
  width: 135px;
  height: auto;
  margin-right: 10px;
}

/* ==== Buttons ==== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--secondary);
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.08rem;
  letter-spacing: 0.03em;
  padding: 11px 32px;
  border-radius: 28px;
  border: none;
  box-shadow: 0 2px 14px rgba(var(--secondary-rgb),0.09);
  cursor: pointer;
  transition: background 0.17s, color 0.17s, transform 0.19s, box-shadow 0.19s;
  text-shadow: 0 2px 8px #fff4;
  text-decoration: none;
  outline: none;
  margin-top: 10px;
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px) scale(1.04) rotate(-1deg);
  box-shadow: 0 6px 22px rgba(var(--primary-rgb),0.20),0 1px 12px rgba(var(--secondary-rgb),0.10);
  outline: none;
}

/* ==== Footer ==== */
footer {
  background: linear-gradient(90deg, var(--primary) 0%, #3c82a8 60%, var(--secondary) 100%);
  color: var(--accent);
  margin-top: 60px;
  padding: 0 0 24px 0;
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 32px 0 15px 0;
  border-bottom: 1px solid rgba(249,247,242,0.26);
}
.footer-top a img {
  width: 125px;
  height: auto;
}
.footer-nav {
  display: flex;
  font-family: 'Montserrat', Arial, sans-serif;
  gap: 15px;
}
.footer-nav a {
  color: var(--accent);
  font-weight: 600;
  opacity: 0.87;
  font-size: 1rem;
  border-radius: 6px;
  padding: 4px 10px;
  transition: background 0.2s, color 0.2s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: var(--secondary);
  color: var(--primary);
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 18px 0 0 0;
}
.contact-info {
  font-size: 0.98rem;
  color: var(--accent);
  opacity: 0.95;
}
.social-links {
  display: flex;
  gap: 14px;
}
.social-links a img {
  width: 30px;
  height: 30px;
  filter: drop-shadow(0 2px 6px #4442);
  transition: transform 0.16s;
}
.social-links a:hover img {
  transform: scale(1.14) rotate(-4deg);
}

/* ==== Forms & Contact / Map ==== */
.address-map {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
  background: var(--accent);
  border-radius: 10px;
  padding: 12px 18px;
  box-shadow: 0 1px 6px rgba(var(--primary-rgb),0.07);
}

/* ==== Pricing, Info & Benefits ==== */
.pricing-info {
  background: var(--secondary);
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  border-radius: 10px;
  padding: 8px 18px;
  font-weight: 700;
  margin: 12px 0 18px 0;
  box-shadow: 0 2px 10px rgba(var(--secondary-rgb),0.09);
  display: inline-flex;
}

/* ==== List Style Artistic ==== */
.content-wrapper ul > li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 8px;
  list-style: none;
  font-size: 1.06rem;
}
.content-wrapper ul > li::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  background: var(--secondary);
  border-radius: 50%;
  position: absolute;
  left: 0px;
  top: 50%;
  transform: translateY(-50%);
  box-shadow: 0 2px 8px rgba(var(--primary-rgb),0.10), 0 0 0 3px #fff;
}
.content-wrapper ul > li img {
  width: 20px;
  height: 20px;
  vertical-align: middle;
  margin-right: 10px;
  margin-left: -24px;
  background: #fff;
  border-radius: 50%;
}
.content-wrapper ol > li {
  list-style-type: decimal;
  padding-left: 0;
  margin-left: 20px;
}

/* ==== Responsive Typography ==== */
@media (max-width: 1100px) {
  .container {
    max-width: 98vw;
    padding: 0 5vw;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.27rem; }
  h3 { font-size: 1.09rem; }
  body { font-size: 0.99rem; }
  .container { padding: 0 8px; }
}
@media (max-width: 500px) {
  h1 { font-size: 1.19rem; }
  h2 { font-size: 1.07rem; }
  .footer-top, .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ==== Artistic/Creative Effects ==== */
.section {
  border: none;
  position: relative;
  overflow: hidden;
}
.section:before {
  content: '';
  position: absolute;
  z-index: 0;
  top: -50px; left: -70px;
  right: -40px; bottom: -50px;
  background: radial-gradient(circle at 18% 91%, #F4B942 0%, #fff0 70%),
              radial-gradient(circle at 75% 12%, #25518C22 0%, #fff0 80%);
  pointer-events: none;
  opacity: 0.25;
}
.content-wrapper, .section > .container {
  position: relative;
  z-index: 2;
}


/* ====== MOBILE FIRST: Burger Menu ====== */
.mobile-menu-toggle {
  position: fixed;
  top: 24px;
  right: 22px;
  z-index: 120;
  width: 44px;
  height: 44px;
  background: var(--secondary);
  color: var(--primary);
  font-size: 2rem;
  border: none;
  border-radius: 50%;
  box-shadow: 0 2px 12px rgba(var(--primary-rgb),0.13);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, box-shadow 0.17s, color 0.17s;
  outline: none;
  opacity: 0;
  pointer-events: none;
}
@media (max-width: 990px) {
  .mobile-menu-toggle {
    opacity: 1;
    pointer-events: auto;
  }
  .main-nav ul, .main-nav .btn-primary {
    display: none !important;
  }
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--primary);
  color: var(--accent);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  transform: translateX(-110vw);
  transition: transform 0.37s cubic-bezier(.72,-0.33,.44,1.27);
  box-shadow: 6px 0 24px rgba(37,81,140,0.18);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 22px;
  right: 28px;
  z-index: 10001;
  background: var(--secondary);
  color: var(--primary);
  border: none;
  border-radius: 50%;
  width: 40px; height: 40px;
  font-size: 1.7rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 8px rgba(244,185,66,0.19);
  cursor: pointer;
  transition: background 0.18s, color 0.17s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: var(--primary);
  color: var(--accent);
}
.mobile-nav {
  margin-top: 90px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  padding: 0 36px;
}
.mobile-nav a {
  color: var(--accent);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.23rem;
  font-weight: 700;
  padding: 12px 0;
  transition: color 0.18s, background 0.18s, padding-left 0.18s;
  border-radius: 5px;
  width: 100%;
  display: block;
}
.mobile-nav a:active, .mobile-nav a:focus, .mobile-nav a:hover {
  background: var(--secondary);
  color: var(--primary);
  padding-left: 12px;
}

/* Hide desktop header when menu open */
@media (max-width: 990px) {
  body.mobile-menu-open header {
    filter: blur(1.5px) grayscale(20%);
  }
}

/* ==== Cookie Consent Banner (Fixed Bottom) ==== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 15000;
  background: var(--accent);
  color: var(--primary);
  box-shadow: 0 -5px 24px rgba(var(--primary-rgb),0.17);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  padding: 22px 28px;
  font-size: 1rem;
  font-family: 'Open Sans', Arial, sans-serif;
  transition: transform 0.41s cubic-bezier(.3,1.4,.44,1), opacity 0.17s;
}
.cookie-banner.hide {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner .cookie-text {
  flex: 1 1 240px;
  margin-right: 30px;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 16px;
  align-items: center;
}
.cookie-banner button, .cookie-banner .btn-cookie {
  background: var(--secondary);
  color: var(--primary);
  border: none;
  border-radius: 8px;
  padding: 8px 18px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 0.99rem;
  margin: 0;
  cursor: pointer;
  transition: background 0.16s, color 0.16s, box-shadow 0.18s;
  box-shadow: 0 2px 8px rgba(var(--secondary-rgb),0.07);
}
.cookie-banner button:hover, .cookie-banner .btn-cookie:hover {
  background: var(--primary);
  color: var(--accent);
}
.btn-cookie-settings {
  background: var(--primary);
  color: var(--accent);
  border: 1px solid var(--secondary);
  margin-left: 6px;
}
.btn-cookie-settings:hover {
  background: var(--secondary);
  color: var(--primary);
}

@media (max-width: 720px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 20px 14px 16px 14px;
    font-size: 0.97rem;
  }
  .cookie-banner .cookie-text { margin-right: 0; }
}

/* ==== Cookie Modal ==== */
.cookie-modal-overlay {
  position: fixed;
  z-index: 20000;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(37,81,140,0.18);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.26s;
  opacity: 1;
}
.cookie-modal-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: var(--accent);
  box-shadow: 0 6px 48px rgba(var(--primary-rgb),0.17);
  border-radius: 18px;
  padding: 32px 30px 28px 30px;
  max-width: 420px;
  width: 90vw;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  z-index: 22000;
  animation: modal-popin 0.38s cubic-bezier(.53,1.62,.44,1) 1;
}
@keyframes modal-popin {
  from { opacity:0;transform:scale(0.79) translateY(35px);}
  to { opacity:1;transform:scale(1) translateY(0);}
}
.cookie-modal h2 {
  font-size: 1.22rem;
  color: var(--primary);
  margin-bottom: 18px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--accent-dark);
  border-radius: 8px;
  padding: 12px 18px;
  margin-bottom: 12px;
}
.cookie-category label {
  font-weight: 600;
  color: var(--primary);
  font-size: 1.05rem;
}
/* Essential cookie toggle - always checked but disabled */
.cookie-category input[type='checkbox'][disabled] {
  accent-color: var(--secondary);
  opacity: 0.6;
  cursor: not-allowed;
}
/* Toggle style */
.cookie-switch {
  width: 40px;
  height: 24px;
  background: #ddd;
  border-radius: 12px;
  position: relative;
  transition: background 0.16s;
  margin-left: 15px;
}
.cookie-switch input[type="checkbox"] {
  opacity: 0;
  width: 40px;
  height: 24px;
  position: absolute;
  left:0; top:0;
}
.cookie-switch .slider {
  position: absolute;
  left:2px; top:2px;
  width: 20px; height: 20px;
  background: var(--secondary);
  border-radius: 50%;
  transition: left 0.16s, background 0.17s;
}
.cookie-switch input[type="checkbox"]:checked ~ .slider {
  left: 18px;
  background: var(--primary);
}
/* Modal Buttons */
.cookie-modal .modal-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
  margin-top: 18px;
}
.cookie-modal .modal-actions button {
  border-radius: 8px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 0.98rem;
  padding: 8px 19px;
  border: none;
  background: var(--secondary);
  color: var(--primary);
  margin-right: 0;
  transition: background 0.18s, color 0.17s;
}
.cookie-modal .modal-actions button:last-child {
  background: var(--primary);
  color: var(--accent);
  margin-left: 6px;
}
.cookie-modal .modal-actions button:hover,
.cookie-modal .modal-actions button:focus {
  background: var(--primary);
  color: var(--accent);
}

/* ==== Misc/Extra Artistic Elements (Brush Strokes) ==== */
.section > .container {
  position: relative;
}
.section .brush-stroke {
  position: absolute;
  z-index: 1;
  top: -22px;
  left: -28px;
  width: 120px;
  height: 44px;
  background: var(--secondary);
  opacity: 0.18;
  border-radius: 30px 50px 28px 50px / 30px 28px 50px 35px;
  filter: blur(2px);
  pointer-events: none;
}

/* ==== Artistic Font Weights and Styles ==== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;600;400&family=Open+Sans:wght@400;600;700&display=swap');

h1, h2, .btn-primary, .footer-nav a, .main-nav a, .pricing-info {
  font-family: 'Montserrat', Arial, sans-serif;
}
body, p, li, blockquote, .cookie-banner, .cookie-modal {
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 400;
}

/* ==== Spacing for All Cards and Sections ==== */
.content-wrapper > * {
  margin-bottom: 16px;
}
.content-wrapper > *:last-child {
  margin-bottom: 0;
}
.card + .card, .testimonial-card + .testimonial-card, .feature-item + .feature-item {
  margin-top: 20px;
}

/* ==== Responsive - Flex Direction for Content ==== */
@media (max-width: 1100px) {
  .footer-top, .footer-bottom {
    gap: 12px;
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 900px) {
  .content-grid, .card-container {
    flex-direction: column;
  }
}
@media (max-width: 700px) {
  main,
  .main-nav,
  .footer-nav,
  .footer-top, .footer-bottom {
    flex-direction: column;
    align-items: stretch;
  }
  .section {
    padding: 26px 6px;
    margin-bottom: 28px;
  }
  .card, .testimonial-card, .feature-item {
    min-width: 0;
    width: 100%;
    padding-left: 12px;
    padding-right: 12px;
  }
}
/* Hide address map on small mobile for brevity */
@media (max-width: 500px) {
  .address-map {
    flex-direction: column;
    gap: 6px;
    padding: 8px 6px;
  }
}

/* ==== micro-interactions ==== */
.btn-primary:active,
.footer-nav a:active {
  transform: scale(0.97);
  box-shadow: 0 1px 6px rgba(37,81,140,0.08);
}
.mobile-menu-toggle:active,.mobile-menu-close:active {
  transform: scale(0.95);
}

/* Accessible focus states */
a:focus, .btn-primary:focus, .footer-nav a:focus, .mobile-nav a:focus, .mobile-menu-close:focus {
  outline: 2px dashed var(--secondary);
  outline-offset: 2px;
}

/* ==== Scrollbar Styling ==== */
body::-webkit-scrollbar {
  width: 10px;
}
body::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 10px;
}
body::-webkit-scrollbar-track {
  background: var(--accent);
}

/* ==== Accessibility: Ensure proper contrast ==== */
.testimonial-card, .testimonial-card blockquote, .testimonial-card span {
  color: #22253c;
  background: none;
}

/* =========== END =========== */
