/* ------------------------------------------------- */
/* Familienzeit Pur – Minimalist Brand CSS           */
/* ------------------------------------------------- */

/* --- CSS RESET & BASE NORMALIZATION --- */
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, 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, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
body {
  background: #fff;
  color: #232323;
  min-height: 100vh;
  line-height: 1.5;
  font-family: 'Nunito', Arial, sans-serif;
  font-size: 16px;
}
*, *:before, *:after { box-sizing: inherit; }
img { max-width: 100%; display: block; height: auto; }
input, button, textarea, select { font: inherit; }
a { color: #387080; text-decoration: none; transition: color 0.15s; }
a:hover, a:focus { color: #F2B134; outline: none; }
button, .cta-primary, .cta-secondary { cursor: pointer; border: none; outline: none; background: none; font: inherit; transition: all 0.2s; }
ul, ol { margin-left: 1.5em; margin-bottom: 20px; }
li { margin-bottom: 8px; }

/* --- FONT FACE --- */
@import url('https://fonts.googleapis.com/css?family=Fira+Sans:700,500&display=swap');
@import url('https://fonts.googleapis.com/css?family=Nunito:400,600,700&display=swap');

h1, h2, h3, h4, h5 {
  font-family: 'Fira Sans', 'Nunito', Arial, sans-serif;
  color: #1C2B2D;
  margin-bottom: 16px;
}
h1 { font-size: 2.5rem; font-weight: 700; margin-bottom: 24px; letter-spacing: -1px; }
h2 { font-size: 2rem; font-weight: 600; margin-bottom: 20px; letter-spacing: -0.5px; }
h3 { font-size: 1.2rem; font-weight: 500; margin-bottom: 12px; }
h4, h5 { font-size: 1rem; font-weight: 600; margin-bottom: 10px; }
p, ul, ol, blockquote { font-size: 1rem; color: #232323; margin-bottom: 14px; }
blockquote {
  font-style: italic;
  color: #387080;
  margin-bottom: 12px;
  margin-top: 4px;
  padding-left: 1.2em;
  border-left: 3px solid #F2B134;
  background: #f9f9f7;
}

strong { color: #387080; font-weight: 700; }

/* --- LAYOUT CONTAINERS --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* --- SECTIONS, CARDS, FEATURE GRIDS --- */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 10px 0 rgba(56,112,128,0.06);
  padding: 28px 24px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 6px 32px 0 rgba(56,112,128,0.10);
  transform: translateY(-2px);
}
.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;
}

.feature-grid, .features {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
}
.feature-grid > div, .features > div {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px 0 rgba(56,112,128,0.06);
  flex: 1 1 240px;
  min-width: 210px;
  padding: 20px 20px 16px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.18s;
}
.feature-grid > div:hover {
  box-shadow: 0 6px 24px 0 rgba(56,112,128,0.10);
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 16px;
  border-radius: 10px;
  background: #fcfcfa;
  margin-bottom: 20px;
}

/* --- TESTIMONIALS --- */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 20px 28px;
  margin-bottom: 20px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 2px 10px 0 rgba(56,112,128,0.07);
}
.testimonial-card blockquote {
  color: #1C2B2D;
  font-size: 1.12rem;
  line-height: 1.6;
  margin-bottom: 4px;
  padding-left: 1.1em;
  border-left: 3px solid #387080;
  background: none;
}
.testimonial-info {
  color: #387080;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* --- BUTTONS/CTAS --- */
.cta-primary, .cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 144px;
  padding: 12px 28px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 30px;
  background-color: #387080;
  color: #fff;
  box-shadow: 0 2px 8px 0 rgba(56,112,128,0.09);
  margin: 10px 0;
  transition: background 0.18s, color 0.16s, box-shadow 0.23s;
  border: none;
  outline: none;
}
.cta-primary:hover, .cta-primary:focus {
  background-color: #2b555f;
  color: #F2B134;
  box-shadow: 0 6px 16px 0 rgba(56,112,128,0.12);
}
.cta-secondary {
  background: #fff;
  border: 1px solid #387080;
  color: #387080;
  font-weight: 600;
}
.cta-secondary:hover, .cta-secondary:focus {
  background: #F2B134;
  color: #1C2B2D;
}

/* --- HEADER & NAV --- */
header {
  width: 100%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 20px 14px 20px;
  box-shadow: 0 1px 12px rgba(56,112,128,0.04);
  position: relative;
  z-index: 200;
}
header img {
  height: 44px;
  width: auto;
}
header nav {
  display: flex;
  align-items: center;
  gap: 18px;
}
header nav a {
  color: #387080;
  font-family: 'Fira Sans', 'Nunito', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 6px;
  transition: background 0.14s, color 0.14s;
}
header nav a:hover, header nav a.active {
  background: #F2B134;
  color: #1C2B2D;
}
header .cta-primary {
  margin-left: 18px;
}

/* --- MOBILE MENU --- */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 22px;
  right: 22px;
  z-index: 301;
  background: #387080;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-size: 1.8rem;
  border: none;
  box-shadow: 0 2px 10px rgba(56,112,128,0.07);
  transition: background 0.18s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #2b555f;
}
.mobile-menu {
  display: none;
  flex-direction: column;
  position: fixed;
  z-index: 400;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: 0 6px 40px rgba(56,112,128,0.13);
  transform: translateX(-120%);
  transition: transform 0.32s cubic-bezier(.68,-0.55,.27,1.55);
}
.mobile-menu.active {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 16px;
  right: 18px;
  font-size: 2rem;
  color: #387080;
  background: none;
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s;
  z-index: 410;
}
.mobile-menu-close:hover {
  background: #F2B134;
  color: #232323;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  margin-top: 80px;
  margin-left: 30px;
}
.mobile-nav a {
  font-size: 1.18rem;
  color: #387080;
  font-family: 'Fira Sans', 'Nunito', Arial, sans-serif;
  font-weight: 600;
  padding: 10px 0;
  border-radius: 8px;
  width: 100%;
  transition: background 0.15s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a.active {
  background: #F2B134;
  color: #1C2B2D;
}

/* --- FOOTER --- */
footer {
  background: #F5FAFB;
  padding: 42px 0 24px 0;
  margin-top: 60px;
  border-top: 1px solid #dbeaec;
  color: #387080;
}
.footer-menu {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 16px;
}
.footer-menu nav {
  display: flex;
  flex-direction: row;
  gap: 20px;
}
.footer-menu nav a {
  color: #387080;
  font-size: 0.98rem;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 5px;
  transition: background 0.14s, color 0.13s;
}
.footer-menu nav a:hover {
  background: #F2B134;
  color: #1C2B2D;
}
.footer-brand {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 12px 0 22px 0;
}
.footer-brand img {
  height: 42px;
  width: auto;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 0.98rem;
  color: #336871;
}
.footer-contact div {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-contact img {
  height: 18px;
  width: 18px;
}

/* --- SPECIAL LISTS AND TEXT SECTIONS --- */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 10px;
}
.text-section > div {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  background: #fff;
  color: #232323;
  box-shadow: 0 -2px 24px rgba(56,112,128,0.13);
  padding: 18px 20px 18px 20px;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  font-size: 1rem;
  animation: cookie-slide-up 0.6s cubic-bezier(.7,-0.09,.57,1.09);
}
@keyframes cookie-slide-up {
  from { transform: translateY(100%); opacity: 0; }
  to {   transform: translateY(0); opacity: 1; }
}
.cookie-consent-banner-buttons {
  display: flex;
  gap: 14px;
  align-items: center;
}
.cookie-consent-banner .cta-primary,
.cookie-consent-banner .cta-secondary {
  min-width: 90px;
  padding: 8px 20px;
  font-size: 0.98rem;
  box-shadow: none;
}
.cookie-consent-banner .cta-primary {
  background: #387080;
  color: #fff;
}
.cookie-consent-banner .cta-secondary {
  background: #fff;
  border: 1px solid #387080;
  color: #387080;
}
.cookie-consent-banner .cta-primary:focus,
.cookie-consent-banner .cta-primary:hover {
  background: #2b555f;
  color: #F2B134;
}
.cookie-consent-banner .cta-secondary:focus,
.cookie-consent-banner .cta-secondary:hover {
  background: #F2B134;
  color: #1C2B2D;
}

/* --- COOKIE SETTINGS MODAL --- */
.cookie-modal {
  display: none;
  position: fixed;
  z-index: 10010;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(44, 60, 67, 0.17);
  align-items: center;
  justify-content: center;
  animation: fadein 0.50s;
}
@keyframes fadein {
  from { opacity: 0; } to { opacity: 1; }
}
.cookie-modal.active {
  display: flex;
}
.cookie-modal-content {
  width: 95vw;
  max-width: 418px;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 12px 48px rgba(56,112,128,0.13);
  padding: 30px 24px 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: modal-bounce-in 0.37s cubic-bezier(.62,-0.17,.46,1.35);
}
@keyframes modal-bounce-in {
  from { transform: scale(0.82) translateY(25px); opacity: 0; } 
  to { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal-title {
  font-size: 1.35rem;
  font-family: 'Fira Sans', 'Nunito', Arial, sans-serif;
  font-weight: 700;
  margin-bottom: 12px;
  color: #387080;
}
.cookie-modal-close {
  position: absolute;
  top: 18px; right: 22px;
  color: #387080;
  border-radius: 50%;
  font-size: 1.6rem;
  background: none;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border: none;
  transition: background 0.18s;
}
.cookie-modal-close:hover { background: #F2B134; color: #1C2B2D; }
.cookie-modal-categories {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cookie-modal-category {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #F8FCFD;
  border-radius: 8px;
  padding: 11px 12px;
  font-size: 1rem;
}
.cookie-modal-category-label {
  flex: 1;
}
.cookie-toggle {
  width: 36px;
  height: 20px;
  border-radius: 10px;
  background: #dbeaec;
  position: relative;
  border: none;
}
.cookie-toggle input[type="checkbox"] {
  appearance: none;
  width: 36px;
  height: 20px;
  margin: 0;
  outline: none;
  cursor: pointer;
}
.cookie-toggle input[type="checkbox"]:checked {
  background: #387080;
}
.cookie-toggle span {
  content: '';
  display: block;
  position: absolute;
  width: 18px;
  height: 18px;
  left: 1px; top: 1px;
  background: #fff;
  border-radius: 50%;
  transition: left 0.15s;
}
.cookie-toggle input[type="checkbox"]:checked + span {
  left: 17px;
  background: #F2B134;
}
.cookie-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 10px;
}

/* --- RESPONSIVENESS --- */
@media (max-width: 1100px) {
  .container { max-width: 100vw; }
}
@media (max-width: 900px) {
  .footer-menu, .footer-contact { flex-direction: column; gap: 20px; }
  .footer-menu { align-items: flex-start; }
}
@media (max-width: 800px) {
  .feature-grid, .features, .content-grid { flex-direction: column; gap: 24px; }
}
@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 12px 10px 10px 10px;
  }
  header nav { display: none !important; }
  header .cta-primary { display: none !important; }
  .mobile-menu-toggle { display: flex; }
  .feature-grid, .features, .content-grid, .card-container, .section {
    flex-direction: column;
    gap: 18px !important;
  }
  .section {
    padding: 28px 10px;
    margin-bottom: 36px;
  }
  .testimonial-card {
    padding: 16px 10px;
  }
  .footer-menu {
    gap: 16px;
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: 12px;
  }
  .footer-contact { gap: 8px; }
  .content-wrapper { gap: 18px; }
  .text-image-section { flex-direction: column; gap: 20px; }
}
@media (max-width: 540px) {
  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.23rem; }
  .cta-primary, .cta-secondary, .cookie-consent-banner .cta-primary,.cookie-consent-banner .cta-secondary {
    font-size: 0.98rem;
    padding: 10px 10px;
  }
  .cookie-consent-banner { flex-direction: column; padding: 11px 8px 11px 10px; gap: 11px; font-size: 0.98rem; }
  .section { margin-bottom: 28px; padding: 18px 2px; }
}

/* --- UTILITIES --- */
.gap-20 { gap: 20px !important; }
.flex-start { align-items: flex-start !important; }
.center { justify-content: center !important; }

/* --- MICRO-INTERACTIONS --- */
a,
.cta-primary, .cta-secondary,
.mobile-menu-toggle,
.mobile-menu-close, .cookie-modal-close {
  transition: background 0.18s, color 0.16s, box-shadow 0.17s, transform 0.14s;
}
a:active, .cta-primary:active, .cta-secondary:active,
.mobile-menu-toggle:active,
.mobile-menu-close:active,
.cookie-modal-close:active {
  transform: scale(0.96);
}

/* --- MISC --- */
::-webkit-input-placeholder { color: #bbb; }
::-moz-placeholder { color: #bbb; }
:-ms-input-placeholder { color: #bbb; }
::placeholder { color: #bbb; }

/* --- FOCUS STYLES --- */
a:focus, button:focus, .cta-primary:focus, .cta-secondary:focus {
  outline: 2px solid #F2B134;
  outline-offset: 1px;
}

/* --- END OF CSS --- */
