/* ==== CSS Reset and 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, 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 {
  font-size: 16px;
}
body {
  line-height: 1.5;
  font-family: 'Open Sans', Arial, sans-serif;
  background: #fafbff;
  color: #24344d;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
ol, ul {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
  border: 0;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: 1em;
  box-sizing: border-box;
}

/* ==== Base Layouts and Containers ==== */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.text-section {
  background: #fff6de;
  border-radius: 16px;
  box-shadow: 0 4px 16px 0 rgba(36,52,77,0.06);
  padding: 32px 24px;
  margin-bottom: 60px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 16px 0 rgba(227,163,36,0.07),0 1.5px 8px 0 rgba(36,52,77,0.06);
  padding: 32px 24px;
  margin-bottom: 20px;
  position: relative;
  transition: transform 0.15s cubic-bezier(.56,1.57,.29,.91), box-shadow 0.2s;
}
.card:hover {
  transform: translateY(-8px) scale(1.03) rotate(-1deg);
  box-shadow: 0 8px 30px 0 rgba(36,52,77,0.13);
}

.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;
}

/* ==== Typography ==== */
h1, .display {
  font-family: 'Roboto Slab', Georgia, serif;
  font-size: 2.5rem;
  line-height: 1.14;
  font-weight: 800;
  color: #24344d;
  letter-spacing: -0.02em;
}
h2 {
  font-family: 'Roboto Slab', Georgia, serif;
  font-size: 2rem;
  line-height: 1.18;
  font-weight: 700;
  color: #e3a324;
  margin-bottom: 12px;
}
h3 {
  font-family: 'Roboto Slab', Georgia, serif;
  font-size: 1.25rem;
  line-height: 1.22;
  font-weight: 700;
  color: #24344d;
  margin-bottom: 8px;
}
.subheadline {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1.25rem;
  color: #2687ff;
  font-weight: 600;
  margin-bottom: 8px;
}
p, ul li, ol li, dd {
  font-size: 1rem;
  color: #24344d;
  margin-bottom: 8px;
}
strong {
  color: #e3a324;
  font-weight: bold;
}

dt {
  font-family: 'Roboto Slab', Georgia, serif;
  font-size: 1.15rem;
  color: #2687ff;
  font-weight: 700;
  margin-top: 16px;
}
dd {
  margin-left: 0;
  padding-left: 18px;
  border-left: 4px solid #fff6de;
}

/* ==== Header & Nav ==== */
header {
  background: #24344d;
  color: #fff;
  position: relative;
  box-shadow: 0 4px 16px 0 rgba(36,52,77,0.07);
  z-index: 12;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  padding-top: 16px;
  padding-bottom: 16px;
}
nav {
  display: flex;
  gap: 20px;
  align-items: center;
}
header nav a {
  color: #ffe7b1;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 8px;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  transition: background 0.16s, color 0.16s, box-shadow 0.18s;
  position: relative;
  z-index: 1;
}
header nav a:hover, header nav a:focus {
  background: #e3a324;
  color: #24344d;
  box-shadow: 0 2px 7px 0 rgba(227,163,36,0.13);
  outline: none;
}
header img {
  height: 52px;
  margin-right: 12px;
}
.cta-btn {
  background: #e3a324;
  color: #24344d;
  font-family: 'Roboto Slab', serif;
  font-weight: bold;
  border: none;
  font-size: 1rem;
  padding: 12px 28px;
  border-radius: 999px;
  margin-left: 24px;
  box-shadow: 0 2px 10px 0 rgba(227,163,36,0.07);
  cursor: pointer;
  transition: background 0.22s, color 0.22s, transform 0.15s;
  position: relative;
}
.cta-btn:hover, .cta-btn:focus {
  background: #2687ff;
  color: #fff;
  transform: scale(1.06) rotate(-1deg);
  outline: none;
}

/* Hamburger */
.mobile-menu-toggle {
  background: #fff6de;
  color: #24344d;
  border: none;
  font-size: 2rem;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  line-height: 46px;
  display: none;
  align-items: center;
  justify-content: center;
  margin-left: 20px;
  box-shadow: 0 2px 12px 0 rgba(36,52,77,0.14);
  transition: background 0.2s, color 0.2s, transform 0.18s;
  cursor: pointer;
  z-index: 25;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #e3a324;
  color: #fff;
  outline: none;
}

/* ==== Mobile Menu Overlay ==== */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #24344d;
  color: #fff;
  z-index: 40;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding: 0;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(.71,1.6,.36,1);
  will-change: transform;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  margin: 32px 28px 12px 0;
  background: #e3a324;
  color: #24344d;
  font-size: 2.1rem;
  border: none;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 1.5px 8px 0 rgba(227,163,36,0.10);
  transition: background 0.2s, color 0.2s, transform 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #2687ff;
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  align-items: center;
  margin-top: 48px;
  gap: 14px;
}
.mobile-nav a {
  font-family: 'Roboto Slab', serif;
  font-size: 1.25rem;
  color: #ffe7b1;
  padding: 14px 28px;
  border-radius: 30px;
  transition: background 0.22s, color 0.22s;
  text-align: center;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #e3a324;
  color: #24344d;
}

/* Hide desktop nav & show mobile burger on mobile */
@media (max-width: 950px) {
  header .container { flex-direction: row; gap: 0; }
  nav { display: none; }
  .cta-btn { margin-left: 12px; }
  .mobile-menu-toggle { display: flex; }
}
@media (min-width: 951px) {
  .mobile-menu { display: none !important; }
}

/* ==== Hero Area & Section Headings ==== */
section > .container {
  padding-top: 20px;
  padding-bottom: 20px;
}
section:first-of-type {
  background: #e3a324;
  background: linear-gradient(135deg, #fff6de 80%, #ffeab3 100%);
  position: relative;
  border-bottom-left-radius: 48px;
  border-bottom-right-radius: 48px;
}
section:first-of-type h1, section:first-of-type .display {
  color: #24344d;
}

/* ==== Features Section ==== */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 12px;
  margin-bottom: 12px;
}
.feature-grid li {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 12px 0 rgba(36,52,77,0.13);
  padding: 26px 22px 24px 22px;
  min-width: 220px;
  flex: 1 1 200px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  transition: box-shadow 0.22s, transform 0.16s;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}
.feature-grid li:hover {
  box-shadow: 0 8px 32px 0 rgba(36,52,77,0.19);
  transform: scale(1.04) rotate(-2deg);
}
.feature-grid img {
  width: 44px;
  height: 44px;
  margin-bottom: 8px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ==== Testimonial Cards ==== */
.testimonial-card {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 4px 16px 0 rgba(36,52,77,0.12), 0 2px 10px 0 rgba(227,163,36,0.09);
  padding: 20px;
  margin-bottom: 24px;
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  min-width: 0;
  border: 4px solid #fff6de;
  position: relative;
  transition: box-shadow 0.18s, transform 0.13s;
}
.testimonial-card p {
  color: #18243a;
  font-size: 1.09rem;
  text-align: center;
}
.testimonial-footer {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: center;
}
.testimonial-footer span {
  color: #24344d;
  font-weight: 700;
  font-size: 1rem;
}

/* ==== Tables (Preise) ==== */
table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #ffeab3;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px 0 rgba(36,52,77,0.10);
  margin-bottom: 24px;
}
thead {
  background: #e3a324;
  color: #24344d;
}
th, td {
  font-size: 1rem;
  padding: 16px 8px;
  color: #24344d;
  text-align: left;
}
th {
  font-family: 'Roboto Slab', serif;
  font-weight: 700;
}
tr:nth-child(even) td {
  background: #fff6de;
}

/* ==== Footer ==== */
footer {
  background: #24344d;
  color: #ffeab3;
  padding: 36px 0 16px 0;
  border-top-left-radius: 42px;
  border-top-right-radius: 42px;
  margin-top: 48px;
  font-size: 1rem;
}
footer .container {
  flex-direction: row;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
}
footer nav {
  gap: 18px;
}
footer .footer-logo img {
  height: 38px;
}
footer nav a {
  color: #ffe7b1;
  font-weight: 500;
  font-size: 1rem;
  border-radius: 6px;
  padding: 3px 10px;
  transition: background 0.13s, color 0.13s;
}
footer nav a:hover, footer nav a:focus {
  background: #e3a324;
  color: #24344d;
}

footer p {
  color: #ffe7b1;
  margin-top: 10px;
}

/* ==== MAP EMBED / ICON-LIST ==== */
.map-embed {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-top: 18px;
  margin-bottom: 8px;
}
.map-embed img {
  width: 100%;
  max-width: 320px;
  border-radius: 14px;
  border: 2px solid #e3a324;
}
ul li img {
  width: 26px;
  height: 26px;
  margin-right: 10px;
  vertical-align: middle;
  display: inline-block;
}
ul li {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ==== Cookie Consent ==== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 200;
  background: #fff6de;
  color: #24344d;
  box-shadow: 0 -2px 18px 0 rgba(36,52,77,0.17);
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px 18px 18px 18px;
  align-items: center;
  animation: slideUpCookie 0.45s cubic-bezier(.63,1.47,.33,1.15);
}
@keyframes slideUpCookie {
  from { transform: translateY(160px); opacity: 0; }
  to { transform: translateY(0px); opacity: 1; }
}
.cookie-banner p {
  color: #24344d;
  text-align: center;
  font-size: 1.08rem;
  font-weight: 500;
}
.cookie-banner .cookie-btns {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
}
.cookie-btn, .cookie-settings-btn {
  background: #e3a324;
  color: #24344d;
  font-weight: bold;
  border: none;
  font-size: 1rem;
  padding: 9px 28px;
  border-radius: 999px;
  margin: 0;
  cursor: pointer;
  box-shadow: 0 2px 12px 0 rgba(227,163,36,0.06);
  transition: background 0.18s, color 0.18s, transform 0.09s;
}
.cookie-btn.reject {
  background: #24344d;
  color: #ffeab3;
}
.cookie-btn:hover, .cookie-btn:focus, .cookie-settings-btn:hover, .cookie-settings-btn:focus {
  background: #2687ff;
  color: #fff;
  outline: none;
  transform: scale(1.04);
}

/* Cookie Settings Modal */
.cookie-modal-bg {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  z-index: 220;
  background: rgba(36,52,77,0.50);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInModal 0.44s cubic-bezier(.47,1.66,.49,.77);
}
@keyframes fadeInModal {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  color: #24344d;
  border-radius: 20px;
  padding: 36px 26px 26px 26px;
  min-width: 320px;
  max-width: 95vw;
  box-shadow: 0 8px 40px 0 rgba(36,52,77,0.25);
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  animation: growModal 0.25s cubic-bezier(.62,1.97,.41,.94);
}
@keyframes growModal {
  from { transform: scale(0.86); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.25rem;
  color: #e3a324;
  font-weight: 800;
  margin-bottom: 8px;
}
.cookie-modal label {
  font-size: 1rem;
  font-weight: bold;
  color: #24344d;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.cookie-modal .toggle {
  width: 38px;
  height: 20px;
  background: #ffeab3;
  border-radius: 12px;
  margin-left: 8px;
  cursor: pointer;
  position: relative;
  transition: background 0.2s;
}
.cookie-modal .toggle input {
  display: none;
}
.cookie-modal .toggle span {
  display: block;
  width: 19px;
  height: 19px;
  background: #e3a324;
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 0.5px;
  transition: left 0.21s cubic-bezier(.61,1.42,.62,1.15);
}
.cookie-modal .toggle input:checked + span {
  left: 19px;
  background: #2687ff;
}
.cookie-modal .modal-actions {
  margin-top: 18px;
  display: flex;
  gap: 14px;
  justify-content: flex-end;
}
.cookie-modal .modal-actions .cookie-btn {
  min-width: 112px;
}
.cookie-modal .essential {
  color: #2687ff;
  font-weight: bold;
  font-size: 0.97rem;
}

/* ==== Animation/Micro-interactions ==== */
a, button, .cta-btn, .feature-grid li, .card, .mobile-menu-toggle, .cookie-btn, .cookie-settings-btn {
  transition: background 0.18s, color 0.18s, box-shadow 0.19s, transform 0.15s;
}

/* ==== Responsive Layouts ==== */
@media (max-width: 1200px) {
  .container { max-width: 98vw; }
}
@media (max-width: 950px) {
  .feature-grid, .card-container, .content-grid {
    flex-direction: column;
    gap: 20px;
  }
  .card { width: 100%; }
  .section { padding: 36px 10px; }
  .text-section { padding: 28px 10px; }
  footer .container { flex-direction: column; align-items: flex-start; gap: 12px; }
}
@media (max-width: 768px) {
  .container { padding: 0 12px; }
  h1 { font-size: 1.55rem; }
  h2 { font-size: 1.16rem; }
  .subheadline { font-size: 1rem; }
  .feature-grid li { min-width: 0; }
  .content-wrapper, .card-container, .content-grid {
    gap: 18px;
  }
  .section { padding: 28px 5px; margin-bottom: 38px; }
  .text-section { padding: 16px 5px; border-radius: 12px; }
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  .testimonial-card { padding: 13px; border-radius: 16px; }
  .mobile-menu nav { width: 100vw; }
}
@media (max-width: 480px) {
  .section { padding: 16px 2px; }
  .card, .text-section { padding: 12px 3px; border-radius: 8px; }
}

/* ==== Utility/Accessibility ==== */
:focus {
  outline: 2px solid #2687ff;
  outline-offset: 1px;
}
::-webkit-input-placeholder { color: #b6b6c0; }
::-moz-placeholder { color: #b6b6c0; }
:-ms-input-placeholder { color: #b6b6c0; }
::placeholder { color: #b6b6c0; }

/* ==== Playful Dynamic Micro-animations ==== */
@keyframes playful-pop {
  0% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.09) rotate(-3deg); }
  100% { transform: scale(1) rotate(0deg); }
}
.cta-btn:hover, .feature-grid li:hover, .mobile-menu-toggle:hover, .cookie-btn:hover {
  animation: playful-pop 0.22s linear 1;
}

/* ==== Custom Scrollbar ==== */
body {
  scrollbar-width: thin;
  scrollbar-color: #e3a324 #fff6de;
}
body::-webkit-scrollbar {
  width: 11px;
  background: #fff6de;
  border-radius: 999px;
}
body::-webkit-scrollbar-thumb {
  background: #e3a324;
  border-radius: 999px;
}

/* ==== Misc ==== */
hr {
  border: none;
  border-top: 2px solid #e3a324;
  margin: 32px 0 18px 0;
}

/* --- No grid, all flex! --- */
/* --- End of style.css --- */