/* style.css for Pocket Pinnacle (Geometric Structured) */

/* === CSS Reset & Normalize === */
html {
  box-sizing: border-box;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
html, body {
  width: 100%;
  min-height: 100%;
  font-size: 16px;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  background: #fff;
  color: #222;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg {
  display: block;
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}
a {
  color: #3E5B85;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #F2B13E;
}
ul, ol {
  margin-left: 24px;
}
address {
  font-style: normal;
}

/* === Typography (Geometric Structured) === */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #3E5B85;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
h1 { font-size: 2.5rem; line-height: 1.12; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.3rem; color: #222; }
h4 { font-size: 1.1rem; }
strong { font-weight: 700; }
p, li {
  font-size: 1rem;
  color: #222;
}

/* === Structured Containers & Layout === */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(62,91,133,0.05);
}

/* Feature Grid (Geometric/Structured) */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature-grid > div {
  flex: 1 1 220px;
  min-width: 220px;
  background: #F9FAFB;
  border-radius: 18px;
  box-shadow: 0 1px 8px rgba(62,91,133,0.07);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 32px 20px 28px 20px;
  text-align: center;
  gap: 15px;
  border: 2.5px solid #E3EAF3;
  transition: border 0.2s;
}
.feature-grid > div:hover {
  border-color: #F2B13E;
}
.feature-grid img {
  width: 44px;
  height: 44px;
  margin-bottom: 10px;
}

/* === Main Cards, Testimonials, etc. === */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 24px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 32px rgba(62,91,133,0.07);
  margin-bottom: 20px;
  position: relative;
  border-left: 5px solid #F2B13E;
}
.testimonial-card p {
  font-size: 1.1rem;
  color: #222;
  margin-bottom: 0;
  flex: 1;
}
.testimonial-card span {
  color: #3E5B85;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
}
/* Accessibility: strong contrast */
.testimonial-card {
  background: #fff;
}

/* === Buttons / CTA === */
.cta {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.08rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 13px 32px;
  border-radius: 34px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, border 0.2s;
  margin-top: 8px;
  margin-bottom: 8px;
  box-shadow: 0 2px 10px rgba(62,91,133,0.09);
  text-align: center;
}
.cta.primary {
  background: #3E5B85;
  color: #fff;
  border: 2.5px solid #3E5B85;
}
.cta.primary:hover, .cta.primary:focus {
  background: #253754;
  color: #F2B13E;
  border-color: #F2B13E;
}
.cta.secondary {
  background: #fff;
  color: #3E5B85;
  border: 2.5px solid #3E5B85;
}
.cta.secondary:hover, .cta.secondary:focus {
  background: #F2B13E;
  color: #253754;
  border-color: #F2B13E;
}

/* === Structured Cards Containers === */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 18px;
  margin-bottom: 20px;
  box-shadow: 0 1px 6px rgba(62,91,133,0.09);
  position: relative;
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 210px;
  border: 2.2px solid #E3EAF3;
  transition: box-shadow 0.2s, border 0.2s;
}
.card:hover {
  box-shadow: 0 6px 30px #F2B13E11;
  border-color: #F2B13E;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

/* === Section and Spacing Patterns === */
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* === Header & Navigation === */
header {
  background: #fff;
  border-bottom: 2px solid #E3EAF3;
  box-shadow: 0 2px 6px rgba(62,91,133,0.08);
  position: sticky;
  top: 0;
  z-index: 30;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  padding: 0 20px;
  min-height: 72px;
}
header nav {
  display: flex;
  gap: 20px;
  align-items: center;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 8px 14px;
  border-radius: 10px;
  font-weight: 600;
  transition: background 0.16s, color 0.16s;
}
header nav a:hover,
header nav a:focus {
  background: #F2B13E44;
  color: #3E5B85;
}
header img {
  width: 138px;
  height: auto;
}

/* Hamburger Mobile Menu Button (always present but hidden on desktop) */
.mobile-menu-toggle {
  display: none;
  background: #F2B13E;
  color: #3E5B85;
  font-size: 2rem;
  border: none;
  border-radius: 10px;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 150;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(62,91,133,0.11);
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #3E5B85;
  color: #fff;
}

/* Responsive Header/Navigation
   Hide desktop nav/show hamburger on <=982px */
@media (max-width: 982px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

/* === Mobile Overlay Menu === */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(62,91,133,0.97);
  transition: transform 0.35s cubic-bezier(.6,.1,.35,1);
  transform: translateX(100%);
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  width: 100vw;
  height: 100vh;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: #fff;
  color: #3E5B85;
  font-size: 2.1rem;
  border: none;
  border-radius: 16px;
  width: 48px; height: 48px;
  position: absolute;
  right: 24px; top: 30px;
  z-index: 210;
  cursor: pointer;
  box-shadow: 0 2px 8px #F2B13E22;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #F2B13E;
  color: #222;
}
.mobile-nav {
  margin-top: 105px;
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 16px;
  align-items: stretch;
  padding: 0 40px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.3rem;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 16px 0 12px 6px;
  border-radius: 10px;
  font-weight: 700;
  display: block;
  transition: background 0.2s, color 0.2s;
  border-left: 4px solid transparent;
}
.mobile-nav a:active, .mobile-nav a:focus, .mobile-nav a:hover {
  background: #253754cc;
  color: #F2B13E;
  border-left: 4px solid #F2B13E;
}

/* === Footer Menu === */
footer {
  background: #F9FAFB;
  border-top: 2.5px solid #E3EAF3;
  padding: 28px 0 22px 0;
}
footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
}
.footer-menu {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  align-items: center;
}
.footer-menu a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #3E5B85;
  text-transform: uppercase;
  font-weight: 600;
  transition: color 0.18s;
}
.footer-menu a:hover {
  color: #F2B13E;
}
.brand-logo img {
  height: 44px;
  width: auto;
}

/* === Form Elements (for Kontakt etc) === */
input, select, textarea, button {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
}
input, select, textarea {
  border: 2.3px solid #E3EAF3;
  border-radius: 9px;
  padding: 12px 14px;
  outline: none;
  margin-bottom: 16px;
  background: #fff;
  transition: border .15s;
  width: 100%;
  color: #222;
}
input:focus, textarea:focus, select:focus {
  border-color: #3E5B85;
}
label {
  display: block;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  margin-bottom: 6px;
  color: #3E5B85;
}

/* === Cookie Consent Banner === */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #fffbea;
  border-top: 3px solid #F2B13E;
  box-shadow: 0 -2px 24px #3E5B8533;
  z-index: 5000;
  padding: 26px 14px 18px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  transition: transform 0.28s cubic-bezier(.47,.13,.11,.97), opacity 0.2s;
}
.cookie-consent-banner.hidden {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.cookie-consent-banner p {
  flex: 1 1 200px;
  font-size: 1rem;
  color: #222;
}
.cookie-banner-actions {
  display: flex;
  gap: 14px;
}
.cookie-btn {
  border: none;
  background: #E3EAF3;
  color: #3E5B85;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  border-radius: 13px;
  padding: 10px 22px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.cookie-btn.accept {
  background: #F2B13E;
  color: #3E5B85;
}
.cookie-btn.accept:hover {
  background: #3E5B85;
  color: #fff;
}
.cookie-btn.reject:hover {
  background: #F2B13E99;
  color: #222;
}
.cookie-btn.settings {
  background: #fff;
  border: 2px solid #3E5B85;
  color: #3E5B85;
}
.cookie-btn.settings:hover {
  background: #F2B13E;
  border-color: #F2B13E;
  color: #3E5B85;
}

/* Cookie Modal Preference Popup */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(62,91,133, 0.85);
  z-index: 5100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.28s;
}
.cookie-modal-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #fff;
  border-radius: 18px;
  padding: 38px 32px 32px 32px;
  min-width: 320px;
  max-width: 96vw;
  box-shadow: 0 10px 40px #3E5B853a;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
}
.cookie-modal h3 {
  color: #3E5B85;
  margin-bottom: 14px;
}
.cookie-modal ul {
  list-style: square;
  margin-left: 18px;
  margin-bottom: 0;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 11px;
}
.cookie-category input[type="checkbox"] {
  width: 22px;
  height: 22px;
  accent-color: #F2B13E;
  margin: 0 6px 0 0;
}
.cookie-category label {
  font-weight: 500;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #3E5B85;
}
.cookie-modal .cookie-btn {
  margin-top: 8px;
}
.cookie-modal-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.cookie-modal-close {
  background: #fff;
  color: #3E5B85;
  border: none;
  font-size: 2rem;
  border-radius: 9px;
  width: 44px;
  height: 44px;
  box-shadow: 0 1px 8px #F2B13E18;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #F2B13E;
  color: #222;
}

/* === Responsive: Mobile First === */
@media (max-width: 900px) {
  .feature-grid {
    flex-direction: column;
  }
  .content-grid {
    flex-direction: column;
  }
  .container {
    padding: 0 12px;
  }
  .card-container {
    flex-direction: column;
  }
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
  }
  .feature-grid {
    gap: 14px;
  }
  header .container {
    min-height: 58px;
    gap: 10px;
  }
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.45rem;
  }
  h3 {
    font-size: 1.05rem;
  }
  .section {
    padding: 22px 8px;
    margin-bottom: 36px;
  }
  .testimonial-card {
    flex-direction: column;
    padding: 16px 11px;
    gap: 9px;
  }
  footer .container {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
  .footer-menu {
    gap: 12px;
  }
  .brand-logo img {
    height: 32px;
  }
  .cookie-modal {
    padding: 17vw 5vw 11vw 5vw;
    min-width: 0;
    width: 98vw;
  }
}

/* === Micro-interactions & Effects === */
button, .cta, .mobile-menu-toggle, .cookie-btn, .cookie-modal-close {
  transition: background 0.18s, color 0.18s, box-shadow 0.21s, border 0.21s;
}
input, select, textarea {
  transition: border 0.18s, box-shadow 0.19s;
}
.card, .feature-grid > div {
  will-change: box-shadow, border;
}
.card:hover, .feature-grid > div:hover {
  box-shadow: 0 5px 30px #F2B13E18;
}

/* === Lists & Links === */
ul, ol {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1rem;
  color: #222;
}
ul li, ol li {
  margin-bottom: 8px;
  line-height: 1.7;
}
ul li:last-child, ol li:last-child {
  margin-bottom: 0;
}

/* === Utility: Hide visually === */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* === Misc Layout utility classes === */
.d-flex { display: flex !important; }
.flex-col { flex-direction: column !important; }
.flex-row { flex-direction: row !important; }
.align-center { align-items: center !important; }
.justify-between { justify-content: space-between !important; }
.gap-20 { gap: 20px !important; }

/* === Ensure No Overlap or Grid === */
/* No display: grid! All layout is flexbox with margin/gap spacing. */

/* === Angular/Geometric Font Treatment === */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,600,400&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');

body, html {
  background: #F9FAFB;
}
.section {
  padding: 20px 0;
}

/* === End of CSS === */
