/* 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%;
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  min-height: 100vh;
  background: #fff;
  font-family: 'Roboto', Arial, sans-serif;
  color: #222F3E;
  line-height: 1.6;
  font-size: 16px;
  letter-spacing: 0.01em;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: #222F3E;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus {
  outline: 2px solid #F6C700;
  outline-offset: 2px;
}
ul, ol {
  list-style: none;
}
strong {
  font-weight: 600;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #222F3E;
  line-height: 1.2;
  margin-bottom: 16px;
}
h1 { font-size: 2.75rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 16px; }
h3 { font-size: 1.25rem; margin-bottom: 12px; }
h4 { font-size: 1.125rem; }

/* LAYOUT CONTAINER */
.container {
  width: 100%;
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

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

/* HEADER */
header {
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #E8EAF6;
  position: relative;
  z-index: 10;
}
header > .container {
  min-height: 76px;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 12px;
  padding-bottom: 12px;
}
header a img {
  height: 36px;
  width: auto;
}
header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #222F3E;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.18s, color 0.18s;
}
header nav a:hover, header nav a:active {
  color: #F6C700;
  border-bottom: 2px solid #F6C700;
}
.cta-btn {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: #222F3E;
  background: #F6C700;
  padding: 12px 30px;
  border-radius: 32px;
  border: none;
  box-shadow: 0 2px 8px 0 rgba(34,47,62, 0.07);
  font-size: 1rem;
  letter-spacing: 0.02em;
  transition: background 0.20s, color 0.20s, box-shadow 0.20s, transform 0.18s;
  cursor: pointer;
}
.cta-btn:hover,
.cta-btn:focus {
  background: #222F3E;
  color: #fff;
  box-shadow: 0 4px 16px 0 rgba(34,47,62, 0.14);
  transform: translateY(-1px) scale(1.02);
}

/* MOBILE MENU */
.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 2.1rem;
  margin-left: 12px;
  color: #222F3E;
  cursor: pointer;
  z-index: 101;
  transition: color 0.18s;
}
.mobile-menu-toggle:focus {
  color: #F6C700;
  outline: 2px solid #F6C700;
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100vw;
  max-width: 410px;
  height: 100vh;
  background: #fff;
  box-shadow: -4px 0 24px rgba(34,47,62,0.10);
  z-index: 200;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.75,0,0.30,1);
  will-change: transform;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  margin: 20px 20px 0 auto;
  font-size: 2rem;
  background: transparent;
  border: none;
  color: #222F3E;
  cursor: pointer;
  transition: color 0.18s;
}
.mobile-menu-close:focus {
  color: #F6C700;
  outline: 2px solid #F6C700;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 40px 40px;
  margin-top: 30px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.14rem;
  color: #222F3E;
  padding: 12px 0;
  border-radius: 6px;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #E8EAF6;
  color: #F6C700;
}

@media (max-width: 1023px) {
  header > .container nav {
    display: none;
  }
  header > .container .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 1024px) {
  .mobile-menu {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* HERO / TOP SECTIONS */
.hero {
  background: #E8EAF6;
  min-height: 340px;
  display: flex;
  align-items: center;
  margin-bottom: 60px;
  padding: 60px 0 40px 0;
}
.hero .container {
  flex-direction: column;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 24px;
  max-width: 520px;
}
.hero h1 {
  color: #222F3E;
}
.hero p {
  color: #222F3E;
  font-size: 1.1rem;
}
.hero .cta-btn {
  margin-top: 16px;
}

/* FLEX/GRID CLASSES (by spec) */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.card {
  margin-bottom: 20px;
  position: relative;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 1px 8px 0 rgba(34,47,62, 0.07);
  padding: 32px;
  flex: 1 1 340px;
  min-width: 260px;
  transition: box-shadow 0.20s, transform 0.18s;
}
.card:hover {
  box-shadow: 0 4px 18px 0 rgba(34,47,62, 0.16);
  transform: translateY(-2px) scale(1.011);
}
.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;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #fff;
  border-radius: 18px;
  padding: 20px 32px;
  box-shadow: 0 2px 12px 0 rgba(34,47,62,0.085);
  margin-bottom: 20px;
  color: #222F3E;
  min-width: 210px;
  max-width: 580px;
  border: 1px solid #E8EAF6;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Feature Grid (Startseite) */
.features {
  background: #fff;
  margin-bottom: 60px;
  padding: 40px 0;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: flex-start;
  margin-top: 16px;
}
.feature-grid li {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 10px 0 rgba(34,47,62,0.055);
  padding: 32px 24px;
  flex: 1 1 225px;
  min-width: 200px;
  max-width: 310px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.18s, transform 0.17s;
  margin-bottom: 20px;
  gap: 10px;
}
.feature-grid li img {
  height: 36px;
  width: 36px;
  margin-bottom: 12px;
}
.feature-grid li h3 {
  font-size: 1.18rem;
  margin-bottom: 8px;
}
.feature-grid li:hover {
  box-shadow: 0 4px 20px 0 rgba(34,47,62,0.12);
  transform: translateY(-2px) scale(1.013);
}

/* About-Preview section on Home */
.about-preview {
  background: #fff;
  margin-bottom: 60px;
  padding: 44px 0 40px 0;
}
.about-preview .content-wrapper {
  max-width: 700px;
}
.about-preview a {
  margin-top: 8px;
  color: #222F3E;
  font-weight: 500;
  border-bottom: 2px solid #F6C700;
  transition: color 0.15s, border-color 0.15s;
  display: inline-block;
}
.about-preview a:hover,
.about-preview a:focus {
  color: #F6C700;
  border-color: #222F3E;
}

/* Services Overview */
.services-overview {
  background: #E8EAF6;
  margin-bottom: 60px;
  padding: 44px 0 40px 0;
}
.services-overview ul {
  margin-bottom: 26px;
}
.services-overview li {
  margin-bottom: 12px;
  font-size: 1.08rem;
  padding-left: 0.6em;
}

/* CTA BLOCKS */
.cta,
.callout {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 10px 0 rgba(34,47,62, 0.05);
  margin-bottom: 60px;
  padding: 40px 0;
}
.cta .content-wrapper,
.callout .content-wrapper {
  align-items: center;
  text-align: center;
  gap: 20px;
}
.cta .cta-btn,
.callout .cta-btn {
  margin-top: 16px;
}

/* TIPS & VALUES (Fototipps) */
.tips-list,
.feature-topic,
.project-ideas,
.values,
.services {
  background: #fff;
  margin-bottom: 60px;
  padding: 32px 0 28px 0;
}
.tips-list ul,
.feature-topic ul,
.services ul,
.values ul,
.project-ideas ul {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 0;
}
.tips-list li,
.feature-topic li,
.services li,
.values li,
.project-ideas li {
  font-size: 1.03rem;
  background: #F9FAFC;
  border-radius: 8px;
  padding: 16px 18px;
  margin-bottom: 0;
  border-left: 4px solid #F6C700;
  color: #222F3E;
}

/* STEPS, FAQ, ADDRESS BLOCKS */
.steps, .legal {
  background: #fff;
  margin-bottom: 60px;
  padding: 32px 0 26px 0;
}
.steps ol {
  margin-left: 18px;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.steps li {
  font-size: 1.03rem;
  margin-bottom: 0;
  color: #222F3E;
}
.faq-snippet {
  background: #E8EAF6;
  border-radius: 9px;
  padding: 20px 24px;
  margin-top: 18px;
  box-shadow: 0 1px 6px 0 rgba(34,47,62, 0.04);
}
.faq-snippet h3 {
  font-size: 1.14rem;
  margin-bottom: 8px;
}
.faq-snippet ul {
  gap: 8px;
}
.faq-snippet li {
  font-size: 0.98rem;
}
.address-block {
  background: #E8EAF6;
  border-radius: 10px;
  padding: 20px 24px;
  margin: 24px 0 0 0;
  box-shadow: 0 1px 4px 0 rgba(34,47,62,0.04);
}
.address-block ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.address-block li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  color: #222F3E;
}
.address-block img {
  height: 19px;
  width: 19px;
}
.location-map {
  margin-top: 20px;
  padding: 16px 0 0 0;
  color: #222F3E;
}

/* Confirmation page - Thank you */
.confirmation .content-wrapper {
  align-items: center;
  text-align: center;
  gap: 24px;
}
.next-steps {
  background: #E8EAF6;
  border-radius: 8px;
  padding: 18px 22px;
  margin: 8px 0 0 0;
}

/* FOOTER */
footer {
  background: #fff;
  border-top: 1px solid #E8EAF6;
  padding: 32px 0 18px 0;
  margin-top: 60px;
}
footer .container {
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
footer a img {
  height: 32px;
  margin-bottom: 8px;
}
footer nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin: 10px 0;
}
footer nav a {
  color: #222F3E;
  font-size: 1rem;
  opacity: 0.9;
  transition: color 0.20s;
  padding: 5px 0;
}
footer nav a:hover,
footer nav a:focus {
  color: #F6C700;
}
footer .contact-info {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 0.97rem;
  opacity: 0.92;
  color: #222F3E;
  text-align: center;
}
footer .contact-info img {
  height: 17px; width: 17px;
  vertical-align: middle;
  margin: 0 3px 0 0;
}

/* ----- RESPONSIVE DESIGN (MOBILE-FIRST) ----- */
@media (max-width: 900px) {
  .container { max-width: 98%; }
  .feature-grid, .card-container, .content-grid {
    flex-direction: column;
    gap: 20px;
  }
  .feature-grid li, .card {
    min-width: 0;
    width: 100%;
    max-width: 99vw;
  }
}
@media (max-width: 768px) {
  html { font-size: 15px; }
  body { font-size: 15px; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
  .section, .feature-topic, .features, .about-preview, .services-overview, .tips-list, .steps, .values, .services, .cta, .callout {
    padding: 28px 0 22px 0;
    margin-bottom: 32px;
  }
  .hero {
    min-height: 220px;
    padding: 34px 0 20px 0;
    margin-bottom: 32px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .testimonial-card {
    padding: 16px 14px;
    font-size: 0.98rem;
  }
  .content-wrapper {
    gap: 16px;
  }
  .card {
    padding: 20px 12px;
    font-size: 1rem;
  }
  .feature-grid li {
    padding: 20px 12px;
    margin-bottom: 16px;
  }
  .cta,.callout { border-radius: 12px; }
  footer { padding-top: 22px; }
  footer .container { gap: 11px; }
  .mobile-menu {
    max-width: 100vw;
  }
  .mobile-nav {
    padding: 30px 18px;
  }
}

/* ----- TRANSITIONS & MICRO-INTERACTIONS ----- */
.button, button, .cta-btn, a {
  transition: background 0.14s, color 0.14s, box-shadow 0.14s, border 0.14s, transform 0.13s;
}
li,
.card,
.testimonial-card {
  transition: box-shadow 0.18s, transform 0.16s, background 0.11s;
}

/* ----- COOKIE CONSENT BANNER AND MODAL ----- */
.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #222F3E;
  color: #fff;
  box-shadow: 0 -2px 16px 0 rgba(34,47,62,0.11);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 5000;
  font-size: 1rem;
  gap: 14px;
  animation: cocookiebanner-slidein 0.51s cubic-bezier(0.55, 0, 0.3, 1);
}
@keyframes cocookiebanner-slidein { from { transform: translateY(100%); } to { transform: translateY(0); } }
.cookie-consent-banner strong {
  color: #F6C700;
}
.cookie-consent-buttons {
  display: flex;
  gap: 13px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  color: #222F3E;
  background: #F6C700;
  border-radius: 24px;
  border: none;
  cursor: pointer;
  padding: 10px 22px;
  font-size: 1rem;
  margin-bottom: 0;
  transition: background 0.14s, color 0.13s, box-shadow 0.17s;
  box-shadow: 0 1px 6px 0 rgba(34,47,62,0.1);
}
.cookie-btn.settings-btn {
  background: #fff;
  color: #222F3E;
  border: 1px solid #E8EAF6;
}
.cookie-btn:hover,
.cookie-btn:focus {
  background: #222F3E;
  color: #fff;
}
.cookie-btn.settings-btn:hover,
.cookie-btn.settings-btn:focus {
  background: #F6C700;
  color: #222F3E;
}

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(34,47,62,0.40);
  z-index: 7000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cookiemodal-fadein 0.25s ease;
}
@keyframes cookiemodal-fadein { from { opacity:0; } to { opacity: 1; } }
.cookie-modal {
  background: #fff;
  border-radius: 14px;
  max-width: 410px;
  width: 96vw;
  padding: 34px 28px 26px 28px;
  box-shadow: 0 10px 36px 0 rgba(34,47,62,0.21);
  color: #222F3E;
  font-size: 1rem;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: cookiemodal-slideup 0.33s cubic-bezier(0.55,0,0.3,1);
}
@keyframes cookiemodal-slideup { from { transform: translateY(90px); opacity:0; } to { transform: translateY(0); opacity:1; } }
.cookie-modal h2 {
  font-size: 1.2rem;
  margin-bottom: 5px;
}
.cookie-modal .modal-section {
  margin-top: 7px;
  margin-bottom: 7px;
  padding: 10px 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  font-size: 1.01rem;
  color: #222F3E;
}
.cookie-toggle {
  appearance: none;
  width: 34px;
  height: 18px;
  border-radius: 18px;
  background: #E8EAF6;
  position: relative;
  outline: none;
  transition: background 0.19s;
  margin-left: auto;
}
.cookie-toggle:checked {
  background: #F6C700;
}
.cookie-toggle::before {
  content: '';
  display: block;
  width: 16px;
  height: 16px;
  border-radius: 100%;
  background: #fff;
  position: absolute;
  left: 1px;
  top: 1px;
  transition: transform 0.16s cubic-bezier(.5,1.4,.4,1), background 0.14s;
  box-shadow: 0 1px 3px 0 rgba(34,47,62,0.10);
}
.cookie-toggle:checked::before {
  transform: translateX(16px);
  background: #fff8c1;
}
.cookie-modal .modal-footer {
  display: flex;
  gap: 13px;
  justify-content: flex-end;
  margin-top: 14px;
}
.cookie-modal .cookie-btn {
  min-width: 100px;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 14px;
  right: 16px;
  background: transparent;
  border: none;
  font-size: 1.2rem;
  color: #222F3E;
  cursor: pointer;
  transition: color 0.14s;
}
.cookie-modal .close-modal:focus,
.cookie-modal .close-modal:hover {
  color: #F6C700;
}

@media (max-width: 480px) {
  .cookie-modal {
    padding: 21px 8px 14px 8px;
    max-width: 97vw;
  }
}

/* ----- SCROLLBAR STYLING (subtle/minimal) ----- */
html {
  scrollbar-width: thin;
  scrollbar-color: #E8EAF6 #fff;
}
::-webkit-scrollbar {
  width: 8px;
  background: #fff;
}
::-webkit-scrollbar-thumb {
  background: #E8EAF6;
  border-radius: 7px;
}
::-webkit-scrollbar-thumb:hover {
  background: #F6C700;
}

/* ----- MISC. ----- */
::-moz-selection { background: #F6C700; color: #222F3E; }
::selection { background: #F6C700; color: #222F3E; }

/* Minimal icon alignment */
img[alt*='Icon'], img[alt*='icon'], img[alt*='E-Mail'], img[alt*='Adresse'], img[alt*='Telefon'], img[alt*='Öffnungszeiten'] {
  display: inline-block;
  vertical-align: middle;
  margin-right: 8px;
}

/* Prevent content overlapping */
.card,.feature-grid li,.testimonial-card,.section,.content-wrapper,footer .contact-info,.faq-snippet,.address-block {
  box-sizing: border-box;
}

/* Accessibility: focus ring on all interactive */
a:focus, button:focus, .cta-btn:focus, .cookie-btn:focus {
  outline: 2px solid #F6C700;
  outline-offset: 2px;
}

/* Hide visually if hidden */
.hidden { display: none !important; visibility: hidden !important; }
