/* CSS 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, 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 {
  height: 100%;
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  line-height: 1.5;
  background: #F7FAFC;
  color: #171F26;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  min-height: 100%;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #24B9D7;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #121E28;
  outline: none;
}
ul, ol {
  margin-left: 20px;
  margin-bottom: 20px;
}

/* BRAND TYPOGRAPHY HIERARCHY */
h1, .h1 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 2.5rem;
  color: #121E28;
  margin-bottom: 24px;
  line-height: 1.18;
}
h2, .h2 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 2rem;
  color: #121E28;
  margin-bottom: 20px;
  line-height: 1.2;
}
h3, .h3 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 1.25rem;
  color: #121E28;
  margin-bottom: 12px;
  line-height: 1.25;
}
h4, .h4 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 1.1rem;
  color: #171F26;
  margin-bottom: 8px;
}
p, li {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #222C36;
  margin-bottom: 12px;
}
strong, b {
  font-weight: 700;
  color: #121E28;
}

/* CONTAINER & GENERAL LAYOUT */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}
main {
  flex: 1 1 auto;
  width: 100%;
}
.content-wrapper {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

/* SECTIONS & SPACING */
section {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px 0 rgba(18,30,40,0.04);
  margin-bottom: 60px;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
@media (max-width: 768px) {
  section {
    padding: 26px 8px;
    margin-bottom: 36px;
  }
}

.text-section {
  padding-top: 0;
}

/* FLEXBOX LAYOUTS */
.feature-grid, .feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature-grid > div, .feature-list > div {
  background: #F5F9FB;
  border-radius: 10px;
  box-shadow: 0 2px 8px 0 rgba(18,30,40,0.04);
  padding: 26px 20px;
  flex: 1 1 210px;
  min-width: 220px;
  text-align: left;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  transition: box-shadow 0.20s, transform 0.20s;
}
.feature-grid > div:hover, .feature-list > div:hover {
  box-shadow: 0 8px 24px 0 rgba(36,185,215,0.13);
  transform: translateY(-4px) scale(1.03);
}

.hack-list, .tip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: flex-start;
}
.hack-list > div, .tip-list > div, .hack-item {
  background: #f7fafc;
  border-left: 4px solid #24B9D7;
  border-radius: 8px;
  padding: 18px 16px;
  min-width: 210px;
  flex: 1 1 230px;
  margin-bottom: 20px;
}

.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: 18px;
  }
}

.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: flex-start;
}
.testimonial-card {
  background: #E1FFF2;
  color: #07111a;
  border-radius: 10px;
  box-shadow: 0 2px 8px 0 rgba(18,30,40,0.08);
  padding: 20px;
  min-width: 220px;
  flex: 1 1 280px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
  font-size: 1.1rem;
}
.testimonial-card p {
  color: #222C36;
  font-size: 1.05rem;
  font-style: italic;
}
.testimonial-card strong {
  font-size: 1rem;
  color: #121E28;
  margin-top: 6px;
}

/* CTA BUTTONS & LINKS */
.cta-primary,
.cta-secondary {
  display: inline-block;
  min-width: 134px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  border: none;
  border-radius: 24px;
  padding: 12px 28px;
  font-size: 1.12rem;
  line-height: 1.3;
  text-align: center;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.16s;
  box-shadow: 0 2px 8px 0 rgba(18,30,40,0.05);
  margin-top: 12px;
  margin-bottom: 4px;
}
.cta-primary {
  background: #24B9D7;
  color: #fff;
}
.cta-primary:hover, .cta-primary:focus {
  background: #121E28;
  color: #E1FFF2;
  transform: translateY(-2px) scale(1.04);
  outline: none;
}
.cta-secondary {
  background: transparent;
  color: #24B9D7;
  border: 2px solid #24B9D7;
}
.cta-secondary:hover, .cta-secondary:focus {
  background: #24B9D7;
  color: #fff;
  border-color: #121E28;
  outline: none;
  transform: translateY(-2px) scale(1.04);
}

/* HERO SECTION */
.hero {
  background: linear-gradient(96deg, #F7FAFC 80%, #E1FFF2 100%);
  box-shadow: none;
  border-radius: 0 0 24px 24px;
  min-height: 300px;
  display: flex;
  align-items: center;
  margin-bottom: 44px;
  padding: 60px 0 44px 0;
}
.hero .container, .hero .content-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  align-items: flex-start;
}
.hero h1 {
  color: #121E28;
  margin-bottom: 12px;
}
@media (max-width: 768px) {
  .hero {
    padding: 34px 0 26px 0;
    min-height: 160px;
    border-radius: 0 0 14px 14px;
  }
}

/* FILTERS/TAGS/SEARCHBOX */
.filters, .popular-tags, .filter-by-device {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
  align-items: center;
}
.filters .filter, .popular-tags span, .filter-by-device span {
  background: #E1FFF2;
  color: #24B9D7;
  padding: 5px 18px;
  border-radius: 16px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  margin-right: 2px;
  margin-bottom: 4px;
}
.filters .filter:hover, .filter-by-device span:hover {
  background: #24B9D7;
  color: #fff;
  cursor: pointer;
}
.search-bar {
  margin: 18px 0 0 0;
  display: flex;
}
.search-bar input[type="text"] {
  width: 100%;
  padding: 9px 14px;
  border: 1.5px solid #bfdce8;
  border-radius: 24px;
  outline: none;
  font-size: 1rem;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  background: #f7fafc;
  color: #121E28;
  transition: border 0.16s;
  margin-top: 0;
  opacity: 0.65;
}
.search-bar input[type="text"]:focus {
  border: 1.5px solid #24B9D7;
}

/* SOCIAL LINKS */
.social-links {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 6px;
}
.social-links a img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  transition: filter 0.16s, transform 0.16s;
}
.social-links a:hover img {
  filter: brightness(1.15) drop-shadow(0 2px 8px #24b9d71a);
  transform: scale(1.08);
}

/* GENERAL CARDS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.card {
  position: relative;
  background: #f7fafc;
  border-radius: 12px;
  box-shadow: 0 2px 8px 0 rgba(18,30,40,0.07);
  padding: 26px 20px;
  min-width: 220px;
  flex: 1 1 260px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

/* HIGHLIGHTED TIPS */
.highlighted-tip {
  background: #24B9D7;
  color: #fff;
  border-radius: 10px;
  padding: 18px 18px 14px 18px;
  font-size: 1rem;
  font-weight: 500;
  box-shadow: 0 4px 16px 0 rgba(18,30,40,0.13);
  margin-top: 24px;
  margin-bottom: 16px;
}
.highlighted-tip h3 {
  color: #fff;
}

/* FOOTER */
footer {
  background: #121E28;
  padding: 32px 0 24px 0;
  color: #E1FFF2;
  border-top: 4px solid #24B9D7;
  min-height: 170px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 18px;
  align-items: center;
}
.footer-nav a {
  color: #E1FFF2;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  text-decoration: none;
  opacity: 0.85;
  transition: opacity 0.16s;
}
.footer-nav a:hover, .footer-nav a:focus {
  opacity: 1;
}
.contact-info {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.contact-info img {
  width: 64px;
  height: auto;
  margin-right: 18px;
}
.contact-info p {
  color: #0fb16a;
  font-size: 1rem;
  margin-bottom: 0;
  line-height: 1.6;
}

/* MAP LOCATION IN KONTAKT */
.map-location {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #F5F9FB;
  border-radius: 10px;
  padding: 16px 20px;
  margin: 24px 0 16px 0;
  min-width: 220px;
}
.map-location img {
  width: 40px;
  height: 40px;
}

.cta {
  margin: 18px 0 0 0;
}

/* HEADER */
header {
  background: #fff;
  border-bottom: 2px solid #E1FFF2;
  box-shadow: 0 2px 8px 0 rgba(18,30,40,0.04);
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 110;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  min-height: 70px;
  max-width: 1120px;
}
header a img {
  width: 122px;
  height: auto;
  margin: 0 22px 0 0;
}
header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-right: 16px;
}
header nav a {
  color: #121E28;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  opacity: 0.85;
  font-size: 1rem;
  transition: opacity 0.16s, color 0.16s;
}
header nav a:hover, header nav a:focus {
  color: #24B9D7;
  opacity: 1;
}
.mobile-menu-toggle {
  display: none;
  background: #24B9D7;
  color: #fff;
  border: none;
  font-size: 1.7rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  margin-left: auto;
  transition: background 0.16s;
  z-index: 130;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #121E28;
  color: #E1FFF2;
  outline: none;
}
@media (max-width: 1000px) {
  header nav, .cta-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* MOBILE MENU OVERLAY */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(18,30,40,0.98);
  color: #fff;
  z-index: 1400;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 0;
  transform: translateX(100%);
  transition: transform 0.33s cubic-bezier(.7,-0.06,.37,1.28);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  margin: 18px 18px 8px 18px;
  font-size: 2.1rem;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  align-self: flex-end;
  z-index: 9;
  transition: color 0.15s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #24B9D7;
  outline: none;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 12px 32px 32px 32px;
  width: 100vw;
  max-width: 340px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.24rem;
  line-height: 1.5;
  opacity: 0.92;
  padding: 8px 0;
  border-bottom: 1px solid rgba(36,185,215,0.08);
  transition: color 0.16s, opacity 0.16s, background 0.16s;
  min-width: 200px;
  border-radius: 4px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #24B9D7;
  background: #192833;
  opacity: 1;
  outline: none;
}
@media (min-width: 1001px) {
  .mobile-menu {
    display: none !important;
  }
}
@media (max-width: 500px) {
  .mobile-nav {
    padding-left: 16px;
  }
}

/* RESPONSIVE FLEX STACKING */
@media (max-width: 900px) {
  .feature-grid, .feature-list, .card-container, .hack-list, .testimonial-list, .content-grid {
    gap: 14px;
  }
}
@media (max-width: 900px) {
  .feature-grid > div, .feature-list > div, .hack-list > div, .tip-list > div, .card {
    min-width: 160px;
    flex: 1 1 146px;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 0 7px;
  }
  .content-wrapper {
    padding-left: 0;
    padding-right: 0;
    max-width: 100%;
  }
}
@media (max-width: 540px) {
  .feature-grid, .feature-list, .card-container, .hack-list, .testimonial-list, .content-grid {
    flex-direction: column;
    gap: 12px;
  }
  .feature-grid > div, .feature-list > div, .hack-list > div, .tip-list > div, .card {
    min-width: 100%;
    flex: 1 1 100%;
  }
}

/* FORMS & INFO BLOCKS */
.contact-info {
  flex-direction: row;
  flex-wrap: wrap;
}
.contact-info img[alt^="Adresse"],
.contact-info img[alt^="Telefon"],
.contact-info img[alt^="E-Mail"],
.contact-info img[alt^="Öffnungszeiten"] {
  width: 24px;
  margin-top: 0;
  margin-bottom: 0;
}
.contact-info p {
  margin-left: 10px;
  margin-right: 22px;
  margin-bottom: 0;
}
@media (max-width: 700px) {
  .contact-info {
    flex-direction: column;
    gap: 8px;
  }
}

/* MISC */
ul li, ol li {
  margin-bottom: 8px;
  line-height: 1.5;
}

/* Animations / micro-interactions */
.card,
.feature-grid > div,
.feature-list > div,
.hack-list > div,
.testimonial-card,
.cta-primary,
.cta-secondary {
  transition: box-shadow 0.21s, transform 0.17s, background 0.14s, color 0.14s;
}
.card:hover,
.feature-grid > div:hover,
.feature-list > div:hover,
.hack-list > div:hover,
.testimonial-card:hover {
  box-shadow: 0 10px 28px 0 rgba(36,185,215,0.12);
  transform: translateY(-2px) scale(1.01);
}

/* ------------------------------------- */
/* COOKIE CONSENT BANNER + MODAL */
/* ------------------------------------- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1900;
  background: #121E28;
  color: #E1FFF2;
  padding: 26px 14px 18px 14px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  box-shadow: 0 -2px 12px 0 rgba(18,30,40,0.10);
  font-size: 1rem;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  transform: translateY(120%);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(.7,-0.06,.37,1.28), opacity 0.3s cubic-bezier(.7,-0.06,.37,1.28);
}
.cookie-banner.visible {
  transform: translateY(0);
  opacity: 1;
}
.cookie-banner p {
  flex: 1 1 340px;
  margin: 0;
  font-size: 1rem;
  color: #E1FFF2;
}
.cookie-banner .cookie-btn {
  min-width: 112px;
  margin: 0 6px 7px 0;
  background: #24B9D7;
  color: #fff;
  border: none;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  border-radius: 21px;
  padding: 10px 20px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, box-shadow 0.15s, transform 0.13s;
}
.cookie-banner .cookie-btn:hover, .cookie-banner .cookie-btn:focus {
  background: #121E28;
  color: #24B9D7;
  outline: none;
  transform: scale(1.07);
}
.cookie-banner .cookie-settings-btn {
  background: transparent;
  border: 2px solid #24B9D7;
  color: #24B9D7;
  margin-left: 5px;
  padding: 9px 17px;
}
.cookie-banner .cookie-settings-btn:hover, .cookie-banner .cookie-settings-btn:focus {
  background: #24B9D7;
  color: #fff;
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 6px 12px 6px;
    font-size: 0.97rem;
  }
  .cookie-banner .cookie-btn, .cookie-banner .cookie-settings-btn {
    width: 98%;
    margin-bottom: 8px;
  }
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(18,30,40,0.81);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(.7,-0.06,.37,1.28);
}
.cookie-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #fff;
  color: #121E28;
  border-radius: 14px;
  padding: 34px 28px 28px 28px;
  max-width: 410px;
  width: 95%;
  box-shadow: 0 4px 40px 0 rgba(18,30,40,0.21);
  display: flex;
  flex-direction: column;
  gap: 24px;
  transform: translateY(80px) scale(0.98);
  opacity: 0;
  transition: transform 0.33s cubic-bezier(.7,-0.06,.37,1.28), opacity 0.33s;
}
.cookie-modal-overlay.open .cookie-modal {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.cookie-modal h2 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.3rem;
  color: #121E28;
  margin-bottom: 0;
}
.cookie-modal ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cookie-modal li {
  display: flex;
  align-items: center;
  gap: 12px;
}
.cookie-modal .toggle {
  width: 42px;
  height: 22px;
  min-width: 42px;
  background: #F5F9FB;
  border-radius: 20px;
  position: relative;
  border: 1.5px solid #bfdce8;
  cursor: pointer;
  transition: background 0.16s;
}
.cookie-modal .toggle.active {
  background: #24B9D7;
  border-color: #24B9D7;
}
.cookie-modal .toggle-inner {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  transition: left 0.16s;
}
.cookie-modal .toggle.active .toggle-inner {
  left: 22px;
}
.cookie-modal .category-label {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #121E28;
  font-size: 1rem;
}
.cookie-modal .cookie-modal-close {
  background: none;
  border: none;
  color: #24B9D7;
  font-size: 1.45rem;
  position: absolute;
  top: 15px;
  right: 22px;
  cursor: pointer;
}
.cookie-modal .cookie-modal-close:focus, 
.cookie-modal .cookie-modal-close:hover {
  color: #121E28;
  background: none;
}
.cookie-modal-footer {
  display: flex;
  gap: 18px;
  margin-top: 8px;
  justify-content: flex-end;
  align-items: center;
}
.cookie-modal-footer .cookie-btn {
  min-width: 112px;
  padding: 10px 18px;
  border-radius: 18px;
}

/* Utility classes */
.d-none { display: none !important; }
.d-block { display: block !important; }

/* ACCESSIBILITY FOCUS OUTLINE */
a:focus, button:focus, input:focus {
  outline: 2px solid #24B9D7;
  outline-offset: 2px;
}

/* Media Queries: Small font-size scale down on tiny devices */
@media (max-width: 430px){
  html { font-size: 15px; }
  h1, .h1 { font-size: 2rem; }
  h2, .h2 { font-size: 1.5rem; }
}

/* END */
