/* 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,font,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,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,main,nav,section {
  display: block;
}
body {
  line-height: 1.5;
  background: #F4F6F8;
  color: #264653;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
}
*, *:before, *:after { box-sizing: inherit; }
img { max-width: 100%; height: auto; display: block; }
a { color: #2A9D8F; text-decoration: none; transition: color .2s; }
a:hover, a:focus { color: #E76F51; }
ul,ol { padding-left: 1.5em; margin-bottom: 16px; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* BRAND FONTS & HEADINGS */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;900&family=Open+Sans:wght@400;600&display=swap');
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #264653;
  font-weight: 900;
  letter-spacing: -0.01em;
}
h1 {
  font-size: 2.3rem;
  margin-bottom: 16px;
  line-height: 1.13;
}
h2 {
  font-size: 1.8rem;
  margin-bottom: 14px;
  line-height: 1.2;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}
h4, h5, h6 {
  font-size: 1rem;
  margin-bottom: 8px;
}
p, li, blockquote {
  font-size: 1rem;
  line-height: 1.7;
  color: #353749;
  margin-bottom: 12px;
}
strong {
  color: #E76F51;
}
blockquote {
  background: #FFF7E0;
  border-left: 5px solid #E9C46A;
  border-radius: 12px;
  padding: 20px 24px;
  margin-bottom: 20px;
  font-style: italic;
  color: #264653;
  position: relative;
  box-shadow: 0 2px 8px rgba(39, 49, 64, 0.05);
  transition: box-shadow .2s;
  animation: bop 1.2s cubic-bezier(.6,.9,.1,1.1);
}
blockquote span {
  display: block;
  margin-top: 10px;
  font-weight: 700;
  font-family: 'Montserrat';
  color: #2A9D8F;
}
.tagline {
  color: #E76F51;
  font-size: 1.1rem;
  font-family: 'Montserrat';
  margin-top: 14px;
  font-weight: 700;
}

/* CONTAINER + FLEX LAYOUTS */
.container {
  max-width: 1164px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
  width: 100%;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* HEADER & NAVIGATION */
header {
  background: #264653;
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 4px 14px rgba(0,0,0,0.07);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 12px;
  padding-bottom: 12px;
}
header img[alt="Architektur Panorama Deutschland"] {
  height: 52px;
  margin-right: 16px;
  transition: transform .3s cubic-bezier(.620,1.22,.355,1.025);
}
header img[alt="Architektur Panorama Deutschland"]:hover {
  transform: rotate(-4deg) scale(1.07);
}
.main-nav {
  display: flex;
  gap: 22px;
  align-items: center;
}
.main-nav a {
  color: #FFF;
  font-family: 'Montserrat';
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.04em;
  padding: 5px 2px;
  border-bottom: 2px solid transparent;
  border-radius: 6px 6px 0 0;
  transition: color .23s, border-bottom .2s;
}
.main-nav a:hover, .main-nav a:focus {
  color: #E9C46A;
  border-bottom: 2.8px solid #E9C46A;
  background: rgba(39, 77, 67, 0.10);
}

/* MOBILE BURGER MENU BUTTON */
.mobile-menu-toggle {
  font-size: 2.3rem;
  color: #E9C46A;
  background: none;
  border: none;
  outline: none;
  padding: 7px 14px;
  border-radius: 8px;
  transition: background 0.2s, color 0.12s;
  display: none;
  z-index: 202;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #FFF7E0;
  color: #E76F51;
}

/* MOBILE NAVIGATION OVERLAY */
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  position: fixed;
  top: 0;
  right: 0;
  width: 100vw;
  height: 100vh;
  background: #FFF7E0;
  box-shadow: -2px 0 22px rgba(39,49,64,.09);
  z-index: 210;
  transform: translateX(100%);
  transition: transform .38s cubic-bezier(.32,.72,.32,1.2);
  overflow-y: auto;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2rem;
  color: #E76F51;
  background: none;
  border: none;
  margin: 20px 18px 6px 0;
  padding: 3px 10px;
  cursor: pointer;
  z-index: 212;
  border-radius: 50%;
  transition: background .2s, color .2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #e9c46aa1;
  color: #264653;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  gap: 8px;
  padding: 18px 22px 30px 32px;
}
.mobile-nav a {
  font-family: 'Montserrat';
  font-weight: 800;
  font-size: 1.18rem;
  color: #264653;
  padding: 13px 4px 13px 3px;
  width: 100%;
  border-radius: 8px;
  margin-bottom: 7px;
  transition: background .2s, color .2s;
  position: relative;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #e9c46a49;
  color: #E76F51;
}

/* HERO SECTION */
.hero {
  background: #FFF7E0;
  border-radius: 0 0 36px 36px;
  box-shadow: 0 8px 32px rgba(230,180,71,0.08);
  margin-bottom: 60px;
  padding: 40px 0 40px 0;
  animation: fadeInDown .8s cubic-bezier(.9,.9,.05,1.13);
}
.hero .container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 250px;
}
.hero h1 {
  color: #264653;
  font-family: 'Montserrat';
  font-size: 2.4rem;
  text-shadow: 0 4px 32px #eed39a1c;
}
.hero p {
  font-size: 1.23rem;
  margin-bottom: 26px;
  color: #544f4f;
}

/* PLAYFUL CTA BUTTONS */
.cta-button {
  display: inline-block;
  background: #E9C46A;
  color: #264653;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  padding: 13px 36px 13px 32px;
  border-radius: 36px;
  box-shadow: 0 4px 22px #ebb91236;
  margin-top: 18px;
  letter-spacing: .03em;
  transition: background .24s, color .2s, transform .18s;
  border: 2.5px solid #26465300;
  position: relative;
  overflow: hidden;
  outline: none;
  animation: bop 1.1s cubic-bezier(.7,1.36,0,1.1);
}
.cta-button:hover, .cta-button:focus {
  background: #E76F51;
  color: #fff;
  transform: translateY(-3px) scale(1.04) rotate(-1.3deg);
  border: 2.5px solid #E9C46A;
}

/* SECTION SPACING */
section, .section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 1px 11px 0 rgba(38,70,83,.08);
  animation: fadeInUp 1s;
}
section.hero {
  background: #FFF7E0;
  box-shadow: 0 10px 34px 0 rgba(244,196,106,0.10);
  border-radius: 0 0 36px 36px;
  margin-bottom: 60px;
  padding: 40px 0 40px 0;
}
/* CARDS & FLEX CONTAINERS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: #FFF;
  border-radius: 20px;
  box-shadow: 0 2px 14px rgba(233,196,106,0.24), 0 1.5px 6px rgba(38,70,83,.08);
  position: relative;
  transition: box-shadow .2s, transform .18s;
  overflow: hidden;
}
.card:hover, .card:focus {
  box-shadow: 0 6px 28px rgba(231,111,81,0.18), 0 4px 10px rgba(38,70,83,0.12);
  transform: translateY(-3px) scale(1.03) rotate(-1deg);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 22px 20px 18px 20px;
  gap: 12px;
}

.content-grid, .feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.feature-grid > div {
  background: #FFF7E0;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(38,70,83,0.04);
  flex: 1 1 240px;
  min-width: 220px;
  max-width: 310px;
  padding: 24px 16px 15px 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  transition: transform .20s, box-shadow .16s;
  margin-bottom: 20px;
  position: relative;
  font-family: 'Open Sans';
}
.feature-grid > div:hover {
  box-shadow: 0 10px 28px #e76f513a, 0 8px 18px #e9c46a63;
  transform: scale(1.04) rotate(-2.8deg);
  z-index: 2;
}
.feature-grid img, .feature-grid svg {
  height: 48px; width: 48px;
  margin-bottom: 12px;
}
.feature-grid h3 {
  font-size: 1.12rem;
  color: #264653;
  margin-bottom: 7px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #FFF;
  border-radius: 18px;
  box-shadow: 0 1px 23px #e9c46a12, 0 3px 16px #26465315;
  padding: 20px;
  margin-bottom: 20px;
  max-width: 600px;
}
.testimonial-card blockquote {
  background: #FFF7E0;
  border-left: 4px solid #E9C46A;
  font-size: 1.06rem;
  color: #262b34;
  margin-bottom: 0;
}
.testimonial-card span {
  color: #2A9D8F;
  font-family: 'Montserrat';
}

/* TABLES IN COMPARISON */
.comparison-table {
  width: 100%;
  overflow-x: auto;
  margin-bottom: 28px;
}
.comparison-table table {
  width: 100%;
  border-spacing: 0;
  background: #FFF7E0;
  border-radius: 16px;
  margin-bottom: 18px;
  font-size: 1rem;
  box-shadow: 0 2px 12px #e9c46a18;
}
.comparison-table th, .comparison-table td {
  padding: 18px 10px;
  border-bottom: 2px solid #E9C46A;
  text-align: left;
}
.comparison-table th {
  background: #E9C46A;
  color: #264653;
  font-family: 'Montserrat';
  font-size: 1.08rem;
}
.comparison-table tr:last-child td {
  border-bottom: none;
}

/* FOOTER */
footer {
  background: #264653;
  color: #fff;
  padding: 24px 0 8px 0;
  border-radius: 32px 32px 0 0;
  margin-top: 60px;
  box-shadow: 0 -8px 32px #e9c46a1c;
}
footer .container {
  display: flex;
}
.footer-menu {
  display: flex;
  gap: 18px;
  font-size: 1rem;
  margin-bottom: 8px;
}
.footer-menu a {
  color: #E9C46A;
  font-family: 'Montserrat';
  font-weight: 700;
  padding: 2px 3px;
  border-bottom: 2px solid transparent;
  border-radius: 6px 6px 0 0;
  transition: color .2s, border-bottom .2s;
}
.footer-menu a:hover, .footer-menu a:focus {
  color: #F4A261;
  border-bottom: 2px solid #F4A261;
}
.newsletter-signup a {
  color: #FFF7E0;
  font-weight: 800;
  font-family: 'Montserrat';
  text-decoration: underline;
}

/* MISC UTILITY */
ul, ol {
  margin-bottom: 10px;
}
li {
  margin-bottom: 4px;
}
hr {
  border: none;
  height: 1px;
  background: #E9C46A;
  margin: 24px 0;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
  .container { max-width: 98vw; }
}
@media (max-width: 992px) {
  .feature-grid {
    gap: 16px;
  }
}
@media (max-width: 820px) {
  section, .section { padding: 28px 7px; }
}
@media (max-width: 768px) {
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.25rem; }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .container {
    padding: 0 2vw;
  }
  .hero {
    padding: 32px 0 26px 0;
    border-radius: 0 0 22px 22px;
  }
  .feature-grid, .content-grid { gap: 13px; }
  .feature-grid > div,
  .card-container .card,
  .testimonial-card {
    min-width: 230px;
    max-width: 100%;
    flex: 1 1 100%;
  }
  .footer-menu {
    flex-direction: column;
    gap: 10px;
  }
  .content-wrapper { gap: 12px; }
  .text-image-section { flex-direction: column; gap: 20px; }
}
@media (max-width: 550px) {
  .feature-grid>div, .testimonial-card, .card {
    border-radius: 13px;
    padding: 14px 8px 10px 8px;
  }
  section, .section { padding: 16px 2px; }
  .footer-menu { font-size: .9rem; }
}

/* Cookie Consent Banner */
.cookie-consent-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #FFF7E0;
  color: #264653;
  z-index: 5000;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 32px;
  box-shadow: 0 -2px 18px #e9c46a9f;
  font-family: 'Open Sans';
  font-size: 1rem;
  transition: transform .5s, opacity .5s;
  animation: slideUp .8s cubic-bezier(.32,1.3,.32,1.13);
}
.cookie-consent-banner.hide {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.cookie-consent-text {
  flex: 1 1 240px;
  margin-bottom: 0;
  font-size: .98rem;
}
.cookie-actions {
  display: flex;
  gap: 14px;
  align-items: center;
}
.cookie-actions button {
  border-radius: 24px;
  font-family: 'Montserrat';
  font-weight: 700;
  font-size: 1rem;
  padding: 9px 23px;
  outline: none;
  transition: background .22s, color .14s, box-shadow .13s;
  border: 2px solid transparent;
  box-shadow: 0 2px 10px #e9c46a41;
}
.cookie-accept {
  background: #E9C46A;
  color: #264653;
}
.cookie-accept:hover, .cookie-accept:focus {
  background: #E76F51;
  color: #fff;
}
.cookie-reject {
  background: #fff;
  color: #264653;
  border: 2px solid #E9C46A;
}
.cookie-reject:hover, .cookie-reject:focus {
  background: #E9C46A;
  color: #264653;
}
.cookie-settings {
  background: #2A9D8F;
  color: #fff;
}
.cookie-settings:hover, .cookie-settings:focus {
  background: #264653;
  color: #E9C46A;
}
@media (max-width: 610px) {
  .cookie-consent-banner {
    flex-direction: column;
    gap: 12px;
    padding: 19px 7px 15px 7px;
  }
}

/* Cookie Preferences Modal */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: rgba(38,70,83,0.37);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 6000;
  animation: fadeIn 0.4s cubic-bezier(.5,1,0,1.1);
}
.cookie-modal {
  background: #FFF;
  color: #264653;
  border-radius: 26px;
  padding: 32px 26px;
  max-width: 400px;
  width: 97%;
  box-shadow: 0 8px 38px #e76f5116, 0 2px 8px #e9c46a22;
  position: relative;
  margin: 9vw auto 0 auto;
  animation: popIn .45s cubic-bezier(.26,1.38,.41,1.1);
}
.cookie-modal h3 {
  font-size: 1.25rem;
  font-family: 'Montserrat';
  color: #264653;
  margin-bottom: 18px;
}
.cookie-category {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  font-size: 1rem;
  gap: 10px;
  padding:6px 0;
}
.cookie-category input[type=checkbox] {
  accent-color: #E9C46A;
  width: 22px; height: 22px;
  margin-right: 7px;
  border-radius: 6px;
  border: 2px solid #E9C46A;
  background: #FFF7E0;
}
.cookie-category label {
  font-family: 'Open Sans';
  font-size: 1.01rem;
  cursor: pointer;
}
.cookie-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 18px;
}
.cookie-modal .close-cookie-modal {
  position: absolute;
  font-size: 2rem;
  top: 10px;
  right: 15px;
  color: #E76F51;
  background: none;
  border: none;
  z-index: 6050;
  border-radius: 50%;
  padding: 2px 10px;
  transition: background .2s, color .16s;
}
.cookie-modal .close-cookie-modal:hover, .cookie-modal .close-cookie-modal:focus {
  background: #FFF7E0;
  color: #264653;
}

/* Animations (Playful/Dynamic!) */
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-26px); }
  to   { opacity:1; transform: translateY(0); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity:1; transform: translateY(0); }
}
@keyframes bop {
  0% { transform: scale(.95) rotate(-2deg); }
  60% { transform: scale(1.04) rotate(2deg); }
  76% { transform: scale(.98) rotate(-1.2deg); }
  99% { transform: scale(1.02) rotate(1.2deg); }
  100%{ transform: none; }
}
@keyframes popIn {
  0% { transform: scale(.7) translateY(58px); opacity: 0.2; }
  60% { transform: scale(1.04) translateY(-10px); opacity:1; }
  99% { transform: scale(.97) translateY(0); }
  100%{ transform: none; }
}
@keyframes slideUp {
  0% { transform: translateY(110%); }
  70% { transform: translateY(-8px); }
  100% { transform: translateY(0); }
}

/* ------ HOVER EFFECTS & MICROS ------ */
.feature-grid > div:hover:after {
  content:'';
  position: absolute;
  top: -10px; right: -10px;
  width: 38px; height: 38px;
  background: #F4A261;
  border-radius: 50%;
  opacity: 0.21;
  z-index: 9;
  animation: fadeIn .9s;
  pointer-events: none;
}
.cta-button:hover:after {
  content: '';
  position: absolute;
  left: 30%; top: -8px;
  width: 37px; height: 20px;
  background: #E76F51;
  opacity: 0.21;
  border-radius: 24px;
  z-index: 2;
}

/* Misc icons in contact sections */
.text-section img[alt="Telefon"],
.text-section img[alt="E-Mail"] {
  width: 22px; height: 22px; vertical-align: middle;
  margin-right: 6px;
  filter: brightness(0.8) sepia(1) saturate(2.5) hue-rotate(330deg);
  opacity: 0.78;
}

/* MISC FIXES */
::-webkit-scrollbar {
  width: 10px; background: #F4F6F8;
}
::-webkit-scrollbar-thumb {
  background: #E9C46A;
  border-radius: 10px;
}

/* accessibility readable section for testimonials */
.testimonial-card, .testimonial-card blockquote {
  color: #262b34;
  background: #FFF7E0;
}

/* Accessibility, FOCUS INDICATORS */
a:focus, button:focus {
  outline: 2px dashed #E76F51;
  outline-offset: 2px;
  background: #fff7e09c;
}

/* END OF CSS */
