/* ======================== 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,
main, 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 {
  scroll-behavior: smooth;
}
body {
  line-height: 1.5;
  min-height: 100vh;
  background: #181C1F;
  color: #F3F6F7;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg {
  vertical-align: middle;
  max-width: 100%;
  height: auto;
}
a {
  color: #FFD700;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover,
a:focus {
  color: #FFF7B2;
  outline: none;
}
ul, ol {
  list-style: none;
}
button {
  font-family: inherit;
  font-size: inherit;
  background: none;
  border: none;
  cursor: pointer;
  color: inherit;
}
input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  background: #24282b;
  border: 1px solid #353a3d;
  color: #F3F6F7;
  outline: none;
  border-radius: 4px;
  transition: border 0.2s;
}
input:focus, textarea:focus, select:focus {
  border-color: #FFD700;
}
/* ===================== TYPOGRAPHY & INDUSTRIAL FONTS ===================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Arial Narrow', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #FFD700;
  line-height: 1.1;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.3rem; margin-bottom: 12px; color: #c2c7c8; }
h4, h5, h6 { color: #c2c7c8; font-size: 1rem; margin-bottom: 6px; }
p, li, address {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  color: #F3F6F7;
  font-size: 1rem;
  margin-bottom: 12px;
}
strong { color: #FFD700; font-weight: 700; }
/* =============== CONTAINER & LAYOUT =============== */
.container {
  width: 100%;
  max-width: 1200px;
  padding: 0 20px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.text-section {
  max-width: 700px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #23272b;
  border: 1px solid #2f3336;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(40,40,40,0.11);
  margin-bottom: 20px;
  position: relative;
  padding: 24px 20px;
  min-width: 250px;
  transition: box-shadow 0.23s, transform 0.18s;
}
.card:hover {
  box-shadow: 0 8px 24px rgba(250,220,30,0.13),0 1.5px 3px 0 #FFD70033;
  transform: translateY(-3px) scale(1.018);
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: stretch;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  background: #F9FAFB;
  color: #243133;
  border-radius: 12px;
  border: 1.5px solid #E5E7EB;
  box-shadow: 0 4px 12px rgba(51,56,63,0.07);
  display: flex;
  align-items: center;
  flex: 1 1 0;
  gap: 20px;
  padding: 20px;
  min-width: 260px;
  margin-bottom: 20px;
  transition: box-shadow 0.22s;
}
.testimonial-card p {
  font-size: 1.05rem;
  font-style: italic;
  font-weight: 500;
  margin-bottom: 0;
}
.testimonial-card span {
  font-size: 0.98rem;
  color: #3b3e41;
  margin-left: 15px;
}
.testimonial-card:hover {
  box-shadow: 0 7px 20px #FFD70025;
}
.customer-rating-summary {
  color: #FFD700;
  font-weight:700;
  font-size: 1.13rem;
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap:8px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* =============== MAIN STRUCTURE: HEADER/NAV =============== */
header {
  background: linear-gradient(90deg,#1A2125 95%, #232a2e 100%);
  padding: 0;
  border-bottom: 3px solid #22292c;
  position: relative;
  z-index: 9;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 88px;
}
header a img[alt="SonnenKalkulatur"] {
  height: 48px;
  transition: filter 0.2s;
}
header a img[alt="SonnenKalkulatur"]:hover {
  filter: brightness(1.24)
}
.main-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
.main-nav a {
  color: #CED1D3;
  font-family: 'Montserrat', 'Arial Narrow', Arial, sans-serif;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.02em;
  font-size: 1.08rem;
  padding: 6px 0;
  position: relative;
}
.main-nav a::after {
  content: '';
  display: block;
  height: 2px;
  width: 0;
  background: #FFD700;
  transition: width 0.18s;
  margin: 0 auto;
}
.main-nav a:hover::after,
.main-nav a:focus::after {
  width: 100%;
}
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 28px;
  font-size: 1.15rem;
  font-family: 'Montserrat', 'Arial Narrow', Arial, sans-serif;
  font-weight: 700;
  color: #23272b;
  background: linear-gradient(90deg,#FFD700 60%,#C5B300 100%);
  border: none;
  border-radius: 38px;
  box-shadow: 0 2.5px 13px #FFD70022;
  cursor: pointer;
  transition: background 0.19s, box-shadow 0.18s, color 0.16s, transform 0.14s;
  outline: none;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-left: 16px;
}
.cta-btn:hover, .cta-btn:focus {
  background: linear-gradient(90deg,#FFF8B0 50%, #FFD700 92%);
  color: #0F1719;
  box-shadow: 0 8px 34px #FFD70044, 0 1.5px 3px 0 #FFD70011;
  transform: translateY(-2px) scale(1.025);
}

/* ====== HAMBURGER MENU (Mobile) ====== */
.mobile-menu-toggle {
  display: none;
  background: #FFD700;
  color: #243133;
  font-size: 2rem;
  border-radius: 50%;
  padding: 7px 15px;
  border: none;
  box-shadow: 0 1.5px 4px #FFD70022;
  align-items: center;
  justify-content: center;
  z-index: 22;
  position: absolute;
  right: 24px;
  top: 19px;
  transition: background 0.19s, color 0.2s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #C5B300;
  color: #fff;
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #181C1Fcc;
  backdrop-filter: blur(2.5px);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(-110%);
  transition: transform .33s cubic-bezier(.77,0,.18,1);
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: #FFD700;
  color: #181C1F;
  font-size: 2.15rem;
  border-radius: 43px;
  padding: 7px 16px 9px 16px;
  position: absolute;
  top: 22px;
  right: 22px;
  box-shadow: 0 2px 12px #FFD70033;
  z-index: 1001;
  border: none;
  outline: none;
  transition: background 0.16s, color 0.15s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #C5B300;
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: flex-start;
  margin-top: 80px;
  padding-left: 38px;
  width: 96vw;
}
.mobile-nav a {
  font-family: 'Montserrat', 'Arial Narrow', Arial, sans-serif;
  font-size: 1.13rem;
  color: #FFD700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 12px 0;
  border-bottom: 1px solid #FFD70011;
  width: 100%;
  transition: background 0.19s, color 0.16s;
  border-radius: 6px;
  display: block;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: #25282b;
  color: #fff;
}

/* ===================== HERO SECTIONS & CALL TO ACTIONS ===================== */
.hero-section {
  background: linear-gradient(97deg, #23292a 0%, #181C1F 100%);
  border-bottom: 1px solid #272a2d;
  padding: 60px 0 50px 0;
  margin-bottom: 60px;
}
.hero-section .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 30px;
}
.hero-section h1 {
  font-size: 2.8rem;
  color: #FFD700;
  line-height: 1.08;
  margin-bottom: 16px;
}
.hero-section p {
  font-size: 1.18rem;
  color: #F3F6F7;
  margin-bottom: 20px;
}
.hero-section .cta-btn {
  font-size: 1.15rem;
  padding: 13px 32px;
  margin-left: 0;
  margin-top: 7px;
}

.cta-section {
  background: #282e31;
  border-radius: 15px;
  box-shadow: 0 6px 26px #FFD70011;
  margin-top: 40px;
  margin-bottom: 60px;
  padding: 40px 18px 32px 18px;
  display: flex;
  align-items: center;
}
.cta-section h2 {
  color: #FFD700;
  margin-bottom: 16px;
}
.cta-section .content-wrapper {
  justify-content: center;
  align-items: flex-start;
}
.cta-section .cta-btn { margin-left: 0; margin-top:15px; }

/* ===================== SECTION STYLES ===================== */
.feature-section, .services-section, .testimonials-section {
  background: #23292a;
  border-radius: 8px;
  margin-bottom: 60px;
  padding: 40px 0;
  box-shadow: 0 8px 42px #FFD70006;
}
.services-section h3 {
  color: #FFD700;
  font-size: 1.13rem;
  letter-spacing: 0.01em;
}
.services-section .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: stretch;
}
.services-section .content-wrapper > div {
  background: #262c2d;
  border-radius: 8px;
  padding: 22px 18px;
  border: 1px solid #2b3234;
  min-width: 240px;
  flex: 1 1 220px;
}
.services-section .cta-btn {
  margin-top: 26px;
  margin-left: 0;
}
.testimonials-section .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: stretch;
}

/* ===================== LISTS & ICON LISTS ===================== */
ol, ul {
  padding-left: 0;
  margin-left: 0;
  list-style: none;
}
.feature-section ul, .services-section ul, .testimonials-section ul, .content-wrapper ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.feature-section ul li,
.services-section ul li,
.content-wrapper ul li {
  background: transparent;
  color: #F3F6F7;
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 1.08rem;
  border-radius: 5px;
}
.feature-section ul li img, .services-section ul li img, .content-wrapper ul li img {
  width: 28px;
  height: 28px;
  filter: grayscale(30%) brightness(1.17) contrast(1.07) drop-shadow(0 1px 1px #FFD70044);
}
/* =================== MAP/LOCATION SPECIALS =================== */
.location-details{
  margin-top:14px;
  margin-bottom:12px;
}
.location-details ul {
  gap:9px;
}
.location-details li img {
  width:20px;
  margin-right:4px;
  filter: grayscale(40%) brightness(1.07) contrast(1.0);
}
.map-snippet p img {
  width:26px; margin-right:10px; display:inline-block;
  filter: grayscale(55%) drop-shadow(0 1px 1px #FFD70033);
}
/* ================= FOOTER ================= */
footer {
  background: #1A2125;
  border-top: 3px solid #FFD70022;
  padding: 36px 0 24px 0;
}
footer .container {
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
.footer-nav {
  display: flex;
  gap: 26px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.footer-nav a {
  font-family: 'Montserrat', 'Arial Narrow', Arial, sans-serif;
  color: #FFD700;
  letter-spacing: 0.02em;
  font-size: .96rem;
  text-transform: uppercase;
  margin-right: 6px;
}
.footer-nav a:hover,
.footer-nav a:focus {
  color: #fff;
}
footer address {
  color: #EDEDED;
  font-size: .96rem;
  font-style: normal;
}
footer address strong {
  color: #FFD700;
}
footer address img {
  margin-right: 3px;
  filter: grayscale(55%) brightness(1.1) drop-shadow(0 1px 1px #FFD70033);
  vertical-align: middle;
  width:21px; height:21px;
}
footer address a {
  color: #FFD700;
  text-decoration: underline dotted #FFD70033;
}
footer address a:hover{
  color: #fff;
  text-decoration: underline solid #FFD70099;
}

/* ================== RESPONSIVE DESIGN (Mobile First) ================== */
@media (max-width: 1150px) {
  .container { max-width: 95vw; }
  .main-nav { gap: 13px; }
  .footer-nav { gap: 8px; }
}
@media (max-width: 900px) {
  .main-nav { gap: 6px; }
  .container{padding: 0 8px;}
}
@media (max-width: 768px) {
  html { font-size: 15px; }
  h1 { font-size: 2.0rem; }
  h2 { font-size: 1.44rem; }
  .main-nav { display: none; }
  .mobile-menu-toggle {
    display: flex;
  }
  .cta-btn{ margin-left: 0; }
  .container { padding: 0 5px; }
  .services-section .content-wrapper,
  .content-wrapper,
  .section .content-wrapper,
  .card-container,
  .feature-section .content-wrapper {
    flex-direction: column !important;
    gap: 18px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  .footer-nav { flex-direction: column; gap: 4px; }
  .cta-section { padding: 26px 8px 22px 8px; }
}
@media (max-width:480px) {
  html{font-size:14px;}
  .testimonial-card,
  .card {
    padding: 13px 7px;
    border-radius: 7.5px;
  }
  .section { padding: 22px 5px; }
  .hero-section { padding: 24px 0 12px 0;}
}
/* ========== SPACING & FLEXBOX MANDATES ========== */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; }
.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; align-items: center; gap: 20px; padding: 20px; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

/* =====================================
   ANIMATIONS & MICROINTERACTIONS
====================================== */
.cta-btn, .main-nav a, .footer-nav a, .card {
  transition: color 0.19s, background 0.23s, box-shadow 0.19s, transform 0.13s;
}
.card:hover,
.services-section .content-wrapper > div:hover {
  box-shadow: 0 10px 36px #FFD70011, 0 1.5px 5px 0 #FFD70022;
  transform: translateY(-3.5px) scale(1.0128);
}
a:active,
.cta-btn:active {
  transform: scale(0.96);
}
/* ===== Miscellaneous ============= */
::-webkit-scrollbar { width: 10px; background: #181C1F; }
::-webkit-scrollbar-thumb { background: #23292a; border-radius: 7px; }

/* =================== COOKIE CONSENT BANNER =================== */
#cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  z-index: 2199;
  background: #23292a;
  color: #F3F6F7;
  box-shadow: 0 -2px 18px #181C1F55;
  padding: 20px 18px 20px 18px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 28px;
  justify-content: space-between;
  transition: transform 0.33s cubic-bezier(.23,1.13,.68,1.12), opacity 0.22s;
  opacity: 1;
  transform: translateY(0);
}
#cookie-banner.hide {
  opacity: 0;
  transform: translateY(160px);
  pointer-events: none;
}
#cookie-banner .cookie-text {
  flex: 1 1 auto;
  color: #F3F6F7;
  font-size: 1rem;
  margin-right: 24px;
}
#cookie-banner .cookie-btns {
  display: flex;
  gap: 16px;
  align-items: center;
}
#cookie-banner button {
  padding: 8px 19px;
  border-radius: 30px;
  font-family: 'Montserrat', 'Arial Narrow', Arial, sans-serif;
  font-weight: 600;
  border: none;
  outline: none;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.14s, color 0.16s;
  margin: 0;
}
#cookie-banner .accept {
  background: #FFD700;
  color: #243133;
}
#cookie-banner .reject {
  background: #32594E;
  color: #FFD700;
}
#cookie-banner .settings {
  background: #23272b;
  color: #FFD700;
  border: 1px solid #FFD70055;
}
#cookie-banner .accept:hover, #cookie-banner .accept:focus {
  background: #FFF8B0;
  color: #181C1F;
}
#cookie-banner .reject:hover, #cookie-banner .reject:focus {
  background: #FFD70022;
  color: #FFD700;
}
#cookie-banner .settings:hover, #cookie-banner .settings:focus {
  background: #FFD70044;
  color: #243133;
}

@media (max-width: 768px) {
  #cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 4px 12px 8px;
  }
  #cookie-banner .cookie-text {
    margin-right: 0;
  }
  #cookie-banner .cookie-btns {
    width: 100%;
    gap: 12px;
    flex-wrap: wrap;
  }
}
/* ============= COOKIE PREFERENCES MODAL ============= */
#cookie-modal {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: #23292adc;
  z-index: 2299;
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s;
}
#cookie-modal.open {
  visibility: visible;
  opacity: 1;
}
#cookie-modal .cookie-dialog {
  background: #23272b;
  color: #F3F6F7;
  border-radius: 14px;
  box-shadow: 0 8px 50px #FFD70022, 0 1.5px 5px 0 #FFD70011;
  min-width: 320px;
  max-width: 90vw;
  padding: 28px 24px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  animation: modalScaleIn .38s cubic-bezier(.23,1.13,.68,1.12);
}
@keyframes modalScaleIn {
  0% { transform: scale(0.88); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
#cookie-modal h3 {
  font-family: 'Montserrat', 'Arial Narrow', Arial, sans-serif;
  color: #FFD700;
  font-size: 1.21rem;
}
#cookie-modal ul {
  display: flex; flex-direction: column; gap: 13px;
}
#cookie-modal label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.04rem;
  color: #FFD700;
  cursor: pointer;
}
#cookie-modal input[type="checkbox"] {
  accent-color: #FFD700;
  width: 18px; height: 18px;
  margin: 0;
}
#cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 14px;
  margin-top: 13px;
  justify-content: flex-end;
}
#cookie-modal .cookie-modal-actions button {
  padding: 9px 20px;
}
#cookie-modal .cookie-modal-close {
  background: transparent;
  color: #FFD700;
  font-size: 1.45rem;
  position: absolute;
  right: 12px; top: 7px;
  border: none;
  border-radius: 10px;
  transition: background 0.15s, color 0.13s;
  line-height: 1;
}
#cookie-modal .cookie-modal-close:hover,
#cookie-modal .cookie-modal-close:focus {
  background: #FFD70055;
  color: #181C1F;
}

@media (max-width: 480px) {
  #cookie-modal .cookie-dialog { min-width: 99vw; padding: 16px 3px 10px 7px; }
}

/* ========== INDUSTRIAL, URBAN, MODERN AESTHETIC ENHANCEMENTS ========== */
body, .card, header, section, .cta-section, .services-section, .feature-section {
  /* Add metallic feel via subtle gradients, tints, borders */
  --urban-steel: linear-gradient(93deg, #23292a, #262F32 90%);
  --metal-border: 1.5px solid #353a3d;
}
.card, .services-section .content-wrapper > div, .feature-section, .cta-section{
  background: var(--urban-steel), #23292a;
  border: var(--metal-border);
}
.card{
  background-clip: padding-box;
}
header, footer {
  box-shadow: 0 1px 8px #22292a40;
}
.cta-btn, #cookie-banner .accept {
  box-shadow: 0 0 0px 1.5px #FFD70088, 0 5px 22px 0 #FFD70013;
}
section:not(.hero-section):not(.cta-section) h2 {
  border-left: 6.5px solid #FFD700;
  padding-left: 13px;
  font-size: 2rem;
  margin-bottom: 20px;
}
.card, .services-section .content-wrapper > div {
  border-radius: 12px 26px 12px 12px;
}
.testimonial-card {
  border-radius: 10px 18px 10px 10px;
  border-left: 6px solid #FFD700;
  box-shadow: 0 3px 16px #FFD70018, 0 1.5px 2.5px #FFD70005;
  background: #F3F6F7;
  color: #23272b;
}

/* ========== FOCUS VISIBLE STATE FOR KEYBOARD NAV ========== */
*:focus-visible {
  outline: 2.2px solid #FFD700;
  outline-offset: 2.5px;
}

/* =====================================
   FLEXBOX LAYOUTS ONLY ENFORCED
====================================== */
/* All major containers (already set above) use display:flex, flex-wrap, gap as required */
