/* ===== CSS RESET & BASE ===== */
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;
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.55;
  background: #F8FAFF;
  color: #283445;
  font-family: 'Open Sans', Arial, sans-serif;
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; transition: color 0.2s; }
img { max-width: 100%; display: block; height: auto; }
ul, ol { list-style: none; }
button, input, select, textarea { font-family: inherit; }

/* ===== BRAND VARIABLES (with fallbacks for solid use) ===== */
:root {
  --color-primary: #32698C;
  --color-secondary: #EDE27A;
  --color-accent: #FFFFFF;
  --color-bg-light: #F8FAFF;
  --color-bg-extra: #DEF1EC;
  --color-text-main: #283445;
  --color-text-muted: #4A6173;
  --color-pink: #FF6CAB;
  --color-green: #4CC68F;
  --color-orange: #FFA936;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 8px;
  --shadow-lg: 0 4px 24px rgba(86,124,153,0.08), 0 1.5px 4px rgba(150, 83, 215, 0.07);
  --shadow-md: 0 2px 10px rgba(50,105,140,0.10);
  --transition: 0.2s cubic-bezier(0.7,0.2,0.42,1.1);
}

/* ===== FONTS ===== */
@import url('https://fonts.googleapis.com/css?family=Montserrat:800,700,600,500,400|Open+Sans:400,600,700&display=swap');
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 16px;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.5rem; line-height: 1.2; }
h2 { font-size: 2rem; font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 700; color: var(--color-pink); }
h4, h5, h6 { font-size: 1rem; font-weight: 600; }
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
  h3 { font-size: 1.1rem; }
}
p, ul, ol, li {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1.12rem;
  color: var(--color-text-main);
  margin-bottom: 1em;
}
strong { color: var(--color-primary); font-weight: 700; }
.subheadline {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--color-green);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}
.text-section ul li:before {
  content: '• ';
  color: var(--color-pink);
  font-weight: bold;
  margin-right: 2px;
}
.text-section ul li {
  margin-bottom: 10px;
}

/* ===== LAYOUT CONTAINERS & SPACING ===== */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}
.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width: 768px) {
  .section, section { padding: 32px 8px; margin-bottom: 40px; }
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  margin: 0 auto;
  align-items: flex-start;
}
.text-section {
  margin: 0 auto;
  max-width: 820px;
  background: var(--color-accent);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 36px 36px 28px 36px;
  gap: 18px;
}
@media (max-width: 768px) {
  .text-section { padding: 24px 10px 18px 14px; }
}

/* ===== FLEX PATTERNS & UTILS ===== */
.card-container, .card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.card {
  background: var(--color-accent);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 22px;
  min-width: 240px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px) scale(1.02) rotate(-0.5deg);
}
.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: 20px; }
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: var(--color-secondary);
  color: #2A2A2A;
  box-shadow: var(--shadow-md);
  border-radius: 18px;
  margin-bottom: 20px;
  max-width: 520px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.testimonial-card p {
  color: #1a232c;
  font-size: 1.06rem;
  font-style: italic;
}
.testimonial-card strong {
  color: var(--color-pink);
}
.testimonial-card:hover {
  box-shadow: var(--shadow-lg);
  background: #fff8d3;
  transform: scale(1.018) rotate(1.2deg);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--color-accent);
  padding: 24px 20px 16px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  margin-bottom: 20px;
  min-width: 220px;
  max-width: 340px;
  transition: box-shadow var(--transition), transform var(--transition), background 0.2s;
}
.feature-item:hover {
  background: #eafdfa;
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px) scale(1.025) rotate(-0.8deg);
}
@media (max-width: 1100px) {
  .feature-item { max-width: 100%; min-width: unset; width: 100%; }
}

/* ===== HERO & CTA SECTIONS ===== */
.hero {
  background: linear-gradient(rgba(237,226,122, 0.28),rgba(50,105,140,0.14)), var(--color-bg-light);
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0;
  border-radius: 0 0 48px 48px;
  box-shadow: 0 12px 48px 0 rgba(86,124,153,0.11);
  overflow: hidden;
}
.hero .container {
  align-items: center;
  justify-content: center;
  flex-direction: row;
}
.hero h1 {
  color: var(--color-primary);
  font-size: 2.6rem;
  font-weight: 800;
  text-shadow: 2px 6px 0px #fff8d3;
  margin-bottom: 12px;
}
.hero .cta-button{
  margin-top: 24px;
}
@media (max-width: 850px) {
  .hero { border-radius: 0 0 32px 32px; min-height: 210px; }
  .hero h1 { font-size: 2rem; }
}
@media (max-width: 600px) {
  .hero { border-radius: 0 0 0 0; min-height: 120px; padding: 22px 0; }
  .hero .container { padding: 0 6px; }
}
.cta {
  background: linear-gradient(90deg,var(--color-primary) 67%, #4CC68F 100%);
  border-radius: 30px;
  box-shadow: var(--shadow-lg);
  color: var(--color-accent);
  margin-bottom: 40px;
}
.cta h2 {
  color: var(--color-accent);
  font-size: 2rem;
  text-shadow: 0 4px 24px #23517d90;
}
.cta .cta-button {
  margin-top: 16px;
}
@media (max-width: 768px) {
  .cta { padding: 28px 8px; }
}

/* ===== BUTTONS ===== */
.btn-primary, .cta-button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.17rem;
  background: var(--color-secondary);
  color: var(--color-primary);
  border: none;
  padding: 14px 34px 13px 34px;
  border-radius: 999px;
  box-shadow: 0 2px 12px rgba(205,205,21,0.08);
  cursor: pointer;
  transition: background var(--transition), color var(--transition), transform var(--transition), box-shadow var(--transition);
  outline: none;
  margin-left: 18px;
  margin-bottom: 0;
  letter-spacing: 0.02em;
}
.btn-primary:hover, .cta-button:hover {
  background: var(--color-pink);
  color: #fff;
  box-shadow: 0 6px 24px rgba(255,104,171,0.11);
  transform: scale(1.045) rotate(-2.5deg);
}
.btn-primary:active, .cta-button:active {
  background: var(--color-primary);
  color: var(--color-accent);
}

/* ===== HEADER & NAVIGATION ===== */
header {
  background: var(--color-bg-light);
  box-shadow: 0 2px 8px rgba(50,105,140,0.07);
  position: sticky;
  top: 0;
  z-index: 1020;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  min-height: 64px;
}
.logo img {
  height: 48px;
  width: auto;
  margin-right: 18px;
  filter: none;
  transition: filter 0.2s;
}
nav {
  display: flex;
  align-items: center;
  gap: 18px;
}
nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--color-primary);
  border-radius: 999px;
  padding: 9px 18px;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}
nav a:hover, nav a.active {
  background: var(--color-secondary);
  color: var(--color-green);
  transform: scale(1.055) rotate(-2deg);
}
@media (max-width: 980px) {
  nav { gap: 10px; }
  .logo img { height: 38px; }
}

/* ===== MOBILE MENU ===== */
.mobile-menu-toggle {
  display: none;
  background: var(--color-pink);
  color: #fff;
  font-size: 2rem;
  border: none;
  border-radius: 10px;
  width: 52px;
  height: 52px;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 14px;
  right: 18px;
  z-index: 1301;
  box-shadow: 0 2px 6px rgba(255,104,171,0.07);
  transition: background var(--transition), color var(--transition);
  cursor: pointer;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--color-green);
  color: #fff;
}
.mobile-menu {
  position: fixed;
  top: 0; right: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(50,105,140,0.97);
  transform: translateX(100vw);
  transition: transform 0.35s var(--transition);
  display: flex;
  flex-direction: column;
  z-index: 3000;
  pointer-events: none;
}
.mobile-menu.active {
  transform: translateX(0);
  pointer-events: all;
}
.mobile-menu-close {
  background: none;
  color: var(--color-secondary);
  font-size: 2rem;
  border: none;
  align-self: flex-end;
  padding: 24px 32px 0 0;
  cursor: pointer;
  transition: color var(--transition);
  z-index: 3100;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  color: var(--color-pink);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 20px;
  margin: 40px 0 0 0;
  width: 100%;
}
.mobile-nav a {
  padding: 16px 28px;
  font-size: 1.5rem;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  border-radius: 12px;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-pink);
  color: var(--color-secondary);
  transform: scale(1.06) skewX(-3deg);
}
@media (max-width: 1100px) {
  nav { display: none; }
  .mobile-menu-toggle { display: flex; }
}
@media (min-width: 1101px) {
  .mobile-menu, .mobile-menu-toggle { display: none!important; }
}

/* ===== FOOTER ===== */
footer {
  margin-top: 36px;
  background: var(--color-primary);
  color: #fff;
  font-size: 1.05rem;
  border-radius: 32px 32px 0 0;
  box-shadow: 0 -8px 32px 0 rgba(50,105,140,0.07);
}
.footer-top {
  padding: 44px 0 22px 0;
}
.footer-top .container {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 2;
  min-width: 220px;
}
.footer-brand img {
  width: 50px;
  height: 50px;
  margin-right: 14px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  min-width: 180px;
}
.footer-nav a {
  color: #fffbd3;
  font-weight: 600;
  border-radius: 8px;
  padding: 6px 0 6px 8px;
  font-size: 1.01rem;
  transition: background 0.2s, color 0.2s;
}
.footer-nav a:hover { background: var(--color-pink); color: #fff; }
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 2;
  min-width: 210px;
}
.footer-contact h3 { color: var(--color-secondary); font-size: 1.1rem; }
.footer-contact img { height: 18px; width: 18px; vertical-align: middle; margin-right: 6px; }
.footer-bottom {
  background: #29546f;
  padding: 8px 0;
  text-align: center;
  border-radius: 0 0 32px 32px;
  box-shadow: 0 -2px 10px 0 rgba(50,105,140,0.09);
}
.footer-bottom .container {
  flex-direction: row;
  justify-content: center;
  align-items: center;
}
@media (max-width: 980px) {
  .footer-top .container { flex-direction: column; gap: 28px; }
  .footer-top, .footer-bottom { border-radius: 0; }
}
@media (max-width: 600px) {
  footer { border-radius: 0; }
}

/* ===== FEATURES & GRIDS ===== */
.features {
  background: #e7f3ff;
  border-radius: var(--radius-lg);
  margin-bottom: 58px;
  box-shadow: 0 2px 18px rgba(78,172,197,0.07);
}
.features .feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 20px;
  align-items: stretch;
  justify-content: flex-start;
}
@media (max-width: 980px) {
  .features .feature-grid { flex-direction: column; gap: 18px; }
  .features { padding: 30px 8px; border-radius: 12px; }
}

/* Weather Widget (on wetter-planung.html) */
.weather-widget {
  background: #cdf7fa;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
  padding: 18px 18px;
  border-radius: var(--radius-md);
  box-shadow: 0 1.5px 7px 0 rgba(79,156,182,0.08);
  margin-bottom: 20px;
  font-size: 1.08rem;
}
.weather-widget img { width: 38px; height: 38px; }
@media (max-width: 650px) {
  .weather-widget { flex-direction: column; gap: 8px; padding: 12px 7px; }
}

/* ===== SERVICE LISTS & ICONS ===== */
.services ul li, .features ul li, .text-section ul li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 13px;
  line-height: 1.62;
  font-size: 1.08rem;
}
.services ul li:before, .features ul li:before {
  content: '';
  display: inline-block;
  background: var(--color-green);
  width: 13px; height: 13px;
  border-radius: 50%;
  position: absolute;
  left: 4px;
  top: 2px;
}
.services ul li img, .features ul li img { height: 18px; width: 18px; margin-right: 8px; position: relative; left: -6px; vertical-align: middle; }

/* ===== TESTIMONIALS ===== */
.testimonials {
  background: #eafdfa;
  border-radius: var(--radius-lg);
  box-shadow: 0 3px 14px 0 rgba(76,198,143,0.10);
}
.testimonials h2 {
  color: var(--color-green);
  margin-bottom: 22px;
}
.testimonials .content-wrapper {
  gap: 0;
  align-items: flex-start;
}
@media (max-width: 900px) {
  .testimonial-card { max-width: 100%; }
  .testimonials { border-radius: 10px; }
}

/* ===== ANIMATIONS ===== */
@keyframes funBounce {
  0% { transform: translateY(0); }
  35% { transform: translateY(-8px) rotate(-2.5deg); }
  70% { transform: translateY(3px) rotate(1.5deg); }
  100% { transform: translateY(0); }
}
.logo img:hover, .footer-brand img:hover { animation: funBounce 0.83s cubic-bezier(.52,1.87,.5,1) 1; }
.feature-item:hover img { filter: brightness(1.25) drop-shadow(0 2px 10px #ffa93640); }
.cta-button, .btn-primary { animation: appearIn 0.8s cubic-bezier(.52,1.27,.34,1.4) 1; }
@keyframes appearIn {
  from { opacity: 0; transform: scale(0.7) translateY(24px); }
  to { opacity: 1; transform: none; }
}

/* ===== COOKIE CONSENT BANNER ===== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #fffde3;
  color: var(--color-primary);
  z-index: 3900;
  width: 100vw;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 36px;
  padding: 26px 16px 22px 16px;
  box-shadow: 0 -4px 28px rgba(237,226,122,0.13);
  font-size: 1rem;
  border-radius: 18px 18px 0 0;
  transition: transform 0.3s cubic-bezier(.7,1.46,.62,1), opacity 0.2s;
  opacity: 1;
  pointer-events: all;
  animation: appearIn 1s;
}
.cookie-banner.hide {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 18px;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.02rem;
  border: none;
  padding: 10px 22px;
  border-radius: 999px;
  margin: 0 2px;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}
.cookie-banner .accept {
  background: var(--color-green);
  color: #fff;
}
.cookie-banner .accept:hover { background: var(--color-pink); }
.cookie-banner .reject {
  background: var(--color-pink);
  color: #fffde3;
}
.cookie-banner .reject:hover { background: var(--color-green); }
.cookie-banner .settings {
  background: var(--color-secondary);
  color: var(--color-primary);
  border: 2px solid #aaa;
}
.cookie-banner .settings:hover { background: var(--color-primary); color: var(--color-accent); }
@media (max-width: 600px) {
  .cookie-banner { flex-direction: column; gap: 16px; align-items: flex-start; border-radius: 8px 8px 0 0; font-size: 0.98rem; }
}

/* ===== COOKIE CONSENT MODAL ===== */
.cookie-modal {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(40,50,61,0.48);
  z-index: 4000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 1;
  pointer-events: all;
  transition: opacity 0.25s cubic-bezier(.5,.7,.7,1);
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal-dialog {
  background: #FFF;
  border-radius: 20px;
  max-width: 430px;
  width: 96vw;
  padding: 34px 28px 22px 28px;
  box-shadow: 0 6px 36px 0 rgba(50,105,140,0.18);
  animation: appearIn 0.5s cubic-bezier(.53,1.3,.36,1.1) 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-modal-dialog h2 {
  color: var(--color-primary);
  font-size: 1.25rem;
  margin-bottom: 8px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 0;
  border-bottom: 1px solid #e8ecf2;
}
.cookie-category:last-child { border-bottom: none; }
.cookie-category label {
  font-size: 1.04rem;
}
.cookie-toggle {
  accent-color: var(--color-green);
  width: 22px; height: 22px;
}
.cookie-toggle[disabled] {
  opacity: 0.5;
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  margin-top: 16px;
}
.cookie-modal-actions button {
  border-radius: 999px;
  padding: 10px 22px;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.02rem;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}
.cookie-modal-actions .close {
  background: var(--color-secondary);
  color: var(--color-primary);
}
.cookie-modal-actions .close:hover {
  background: var(--color-pink);
  color: #fff;
}
.cookie-modal-actions .save {
  background: var(--color-green);
  color: #fff;
}
.cookie-modal-actions .save:hover {
  background: var(--color-primary);
}

/* ===== MEDIA QUERIES FOR RESPONSIVE ===== */
@media (max-width: 890px) {
  .container { max-width: 96vw; }
  .section, section { padding: 18px 4px; margin-bottom: 32px; }
}
@media (max-width: 600px) {
  main, .container, .content-wrapper { padding: 0; }
  h1, h2, h3 { margin-bottom: 12px; }
h1 { font-size: 1.5rem; }
}

/* ===== PLAYFUL EXTRAS ===== */
/* Fun decorative elements can use absolute/relative positioning only for decor, not content */
/* Wavy bottom border for hero */
.hero {
  position: relative;
  overflow: visible;
}
.hero:after {
  content: '';
  position: absolute;
  left: 0; bottom: -36px;
  width: 100%; height: 38px;
  background: url('data:image/svg+xml,%3Csvg width="100%25" height="34" viewBox="0 0 1440 34" fill="none" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath d="M0 34C77.6415 12.3935 210.613 -2.21354 365.076 5.97223C703.114 23.208 1002.48 2.21354 1440 17.7642V34H0V34Z" fill="%23ede27a"/%3E%3C/svg%3E');
  background-repeat: no-repeat;
  background-size: cover;
  z-index: 4;
}
@media (max-width: 600px) {
  .hero:after { height: 21px; bottom: -14px; }
}

/* ===== SELECTION COLOR ===== */
::selection {
  background: #EDE27A;
  color: #1a232c;
}

/* ===== ACCESSIBILITY: FOCUS STATES ===== */
button:focus, a:focus, .cta-button:focus, .btn-primary:focus {
  outline: 2.5px dashed var(--color-pink);
  outline-offset: 2px;
  z-index: 14;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
  width: 9px;
  background: #f4f7ff;
}
::-webkit-scrollbar-thumb {
  background: var(--color-secondary);
  border-radius: 8px;
}

/* ===== END-OF-FILE ===== */
