/* =========================
   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%;
  vertical-align: baseline;
  box-sizing: border-box;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  background: #FFFBF5;
  color: #204060;
  font-family: 'Open Sans', Arial, sans-serif;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
img {
  max-width: 100%;
  display: block;
}
button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
  outline: none;
}

/* =========================
   Custom Properties
========================= */
:root {
  --primary: #204060;
  --secondary: #7D1522;
  --accent: #FFFBF5;
  --grey-100: #F5F7FA;
  --grey-200: #E3E7EE;
  --grey-300: #C0C5CE;
  --black: #141923;
  --white: #fff;
  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Open Sans', Arial, sans-serif;
  --radius: 16px;
  --shadow-card: 0 4px 24px rgba(32,64,96,0.10);
  --shadow-hover: 0 8px 32px rgba(32,64,96,0.16);
  --transition: 0.25s cubic-bezier(0.47,0,0.75,0.72);
  --focus-outline: 2px solid var(--secondary);
}

/* =========================
   Typography
========================= */
h1, .hero h1, .section h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.5rem;
  letter-spacing: -1px;
  line-height: 1.15;
  color: var(--primary);
  margin-bottom: 16px;
  text-transform: none;
}
h2, .section h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 2rem;
  letter-spacing: -0.5px;
  line-height: 1.2;
  color: var(--secondary);
  margin-bottom: 12px;
  text-transform: none;
}
h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.3rem;
  color: var(--primary);
  letter-spacing: 0.4px;
  margin-bottom: 8px;
}
strong {
  font-weight: 600;
  color: var(--primary);
}
p, li, blockquote, span, label {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--black);
}
blockquote {
  font-style: italic;
  position: relative;
  padding-left: 32px;
  border-left: 4px solid var(--primary);
  margin-bottom: 6px;
}
@media (max-width: 768px) {
  h1, .hero h1, .section h1 {
    font-size: 2rem;
  }
  h2, .section h2 {
    font-size: 1.4rem;
  }
}

/* =========================
   Containers & Layout
========================= */
.container {
  width: 100%;
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  padding-right: 20px;
  padding-left: 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  position: relative;
}
@media (max-width: 768px) {
  .section {
    padding: 24px 8px;
    margin-bottom: 36px;
  }
}

/* =============
   Header & Nav
============== */
header {
  background: var(--white);
  box-shadow: 0 2px 8px rgba(32,64,96,0.05);
  position: sticky;
  top: 0;
  z-index: 50;
}
header .container {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
header img[alt="Pinnacle Kunstpfade"] {
  height: 40px;
}
.main-nav {
  display: flex;
  gap: 32px;
  align-items: center;
  font-family: var(--font-display);
}
.main-nav a {
  padding: 8px 6px;
  border-radius: 6px;
  font-weight: 500;
  color: var(--primary);
  transition: background 0.2s, color 0.2s;
  letter-spacing: 0.2px;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--secondary);
  color: var(--white);
}
.main-cta {
  margin-left: 28px;
  display: inline-flex;
  align-items: center;
  padding: 10px 26px;
  border-radius: 32px;
  background: var(--secondary);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.5px;
  font-size: 1.05rem;
  transition: background var(--transition), box-shadow var(--transition);
  box-shadow: var(--shadow-card);
  border: 2px solid var(--secondary);
}
.main-cta:hover, .main-cta:focus {
  background: var(--white);
  color: var(--secondary);
  box-shadow: var(--shadow-hover);
}

/* Hamburger button */
.mobile-menu-toggle {
  display: none;
  margin-left: 16px;
  font-size: 2rem;
  background: var(--secondary);
  color: var(--white);
  width: 44px;
  height: 44px;
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 120;
  outline: none;
  border: none;
}
.mobile-menu-toggle:focus {
  outline: var(--focus-outline);
}
@media (max-width: 900px) {
  .main-nav, .main-cta {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

/* Mobile menu overlay */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(32,64,96,0.97);
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(0.6,0,0.4,1);
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding-top: 0;
  padding-right: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2rem;
  background: none;
  color: var(--white);
  margin: 24px 28px 8px 0;
  padding: 4px 8px;
  align-self: flex-end;
  border-radius: 4px;
  transition: background 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--secondary);
  color: var(--accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 20vh;
  width: 100%;
  align-items: flex-start;
  padding-left: 48px;
}
.mobile-nav a {
  font-family: var(--font-display);
  color: var(--white);
  font-size: 1.5rem;
  padding: 8px 0;
  border-radius: 6px;
  transition: background 0.18s, color 0.2s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--secondary);
  color: var(--accent);
}
@media (min-width: 901px) {
  .mobile-menu,
  .mobile-menu-toggle {
    display: none;
  }
}

/* =========================
   Hero Section
========================= */
.hero {
  display: flex;
  align-items: stretch;
  min-height: 340px;
  background: var(--primary);
  color: var(--accent);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow-card);
  margin-bottom: 60px;
  position: relative;
}
.hero .container {
  display: flex;
  align-items: center;
  min-height: 340px;
  justify-content: flex-start;
}
.hero .content-wrapper {
  gap: 18px;
  max-width: 560px;
  padding: 36px 0;
}
.hero h1 {
  color: var(--accent);
  font-size: 2.6rem;
  line-height: 1.13;
}
.hero p {
  color: var(--accent);
  font-size: 1.18rem;
}
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 180px;
  padding: 13px 34px;
  border: none;
  border-radius: 23px;
  background: var(--secondary);
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.55px;
  box-shadow: var(--shadow-card);
  transition: background var(--transition), color var(--transition), box-shadow var(--transition), transform var(--transition);
  margin-top: 10px;
  cursor: pointer;
}
.cta-btn:hover,
.cta-btn:focus {
  background: var(--white);
  color: var(--secondary);
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px) scale(1.03);
}

/* =========================
   Features Section
========================= */
.features .content-wrapper {
  gap: 32px;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  width: 100%;
}
.feature {
  flex: 1 1 250px;
  min-width: 230px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 32px 24px 27px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  transition: box-shadow var(--transition), transform var(--transition);
  margin-bottom: 20px;
  position: relative;
}
.feature img {
  height: 48px;
  width: 48px;
  object-fit: contain;
}
.feature:hover, .feature:focus-within {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px) scale(1.02);
}
@media (max-width: 900px) {
  .feature-grid {
    flex-direction: column;
    gap: 24px;
  }
}

/* =========================
   Card Containers
========================= */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  flex: 1 1 260px;
  min-width: 220px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover, .card:focus-within {
  box-shadow: var(--shadow-hover);
  transform: scale(1.03);
}

/* =========================
   Content Grids & Lists
========================= */
.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;
    gap: 18px;
  }
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* =========================
   About, Team, Values
========================= */
.team-profiles h2 {
  margin-bottom: 12px;
}
.team-profiles ul,
.value-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 10px;
}
.value-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--grey-100);
  padding: 14px 16px;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--primary);
}
.value-list img {
  width: 26px;
  height: 26px;
}

/* =========================
   Cards for Museums/Galleries
========================= */
.museum-cards, .gallery-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 10px;
}
.museum-card, .gallery-card {
  flex: 1 1 250px;
  min-width: 215px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 28px 20px 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
  border-left: 5px solid var(--secondary);
  transition: box-shadow var(--transition), transform var(--transition);
}
.museum-card:hover, .gallery-card:hover {
  box-shadow: var(--shadow-hover);
  transform: scale(1.04);
}

/* =========================
   Testimonials
========================= */
.testimonials .content-wrapper {
  gap: 28px;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: var(--grey-100);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  margin-bottom: 20px;
  border-left: 6px solid var(--secondary);
  transition: box-shadow var(--transition), border-color var(--transition);
}
.testimonial-card blockquote {
  color: var(--black);
  font-size: 1.09rem;
  margin-bottom: 0;
}
.testimonial-card span {
  color: var(--secondary);
  font-family: var(--font-display);
  font-style: normal;
  font-size: 1rem;
  margin-left: auto;
}
.testimonial-card:hover {
  border-left: 6px solid var(--primary);
  box-shadow: var(--shadow-hover);
}

/* =========================
   FAQ Accordion
========================= */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 16px 20px;
  margin-bottom: 8px;
  transition: box-shadow var(--transition);
}
.faq-item h3 {
  font-size: 1.05rem;
  color: var(--primary);
}
.faq-answer {
  font-size: 1rem;
  color: var(--black);
  margin-top: 10px;
}
.faq-item:hover, .faq-item:focus-within {
  box-shadow: var(--shadow-hover);
}

/* =========================
   Kontakt & Info Sections
========================= */
.kontakt-info ul,
.contact-teaser ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.kontakt-info li,
.contact-teaser li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.03rem;
}
.kontakt-info img,
.contact-teaser img {
  width: 24px;
  height: 24px;
}
.map-placeholder {
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--grey-200);
  border-radius: 10px;
  padding: 38px 0;
  margin-top: 12px;
}

/* =========================
   Services List & Pricing
========================= */
.services-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.service-price {
  display: inline-block;
  font-family: var(--font-display);
  background: var(--primary);
  color: var(--accent);
  border-radius: 8px;
  padding: 3px 12px;
  font-size: 1rem;
  font-weight: 600;
  margin-left: 10px;
}

/* =========================
   Call-to-Action Sections
========================= */
.call-to-action, .cta, .gallery-cta, .museum-cta, .beratung-cta {
  background: var(--primary);
  color: var(--accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}
.call-to-action h2, .cta h2, .gallery-cta h2, .museum-cta h2, .beratung-cta h2 {
  color: var(--accent);
}
.call-to-action .cta-btn,
.cta .cta-btn,
.gallery-cta .cta-btn,
.museum-cta .cta-btn,
.beratung-cta .cta-btn {
  background: var(--secondary);
  color: var(--accent);
}

/* =========================
   Footer
========================= */
footer {
  background: var(--primary);
  color: var(--accent);
  padding: 42px 0 22px 0;
  border-radius: var(--radius) var(--radius) 0 0;
  margin-top: 70px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
  justify-content: space-between;
}
footer img[alt="Pinnacle Kunstpfade"] {
  height: 36px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  font-family: var(--font-display);
}
.footer-nav a {
  color: var(--accent);
  padding: 6px 8px;
  border-radius: 6px;
  font-weight: 500;
  font-size: 1rem;
  transition: background 0.15s, color 0.18s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: var(--accent);
  color: var(--primary);
}
.footer-info {
  font-size: 0.97rem;
  color: var(--accent);
  opacity: 0.85;
  margin-top: 12px;
}
@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}

/* =========================
   Cookie Consent Banner
========================= */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  background: var(--primary);
  color: var(--accent);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 22px 16px 16px 16px;
  box-shadow: 0 -4px 30px rgba(32,64,96,0.13);
  border-radius: var(--radius) var(--radius) 0 0;
  transition: transform 0.32s cubic-bezier(0.49,0,0.75,0.72);
  transform: translateY(110%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner.visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.cookie-banner .cookie-banner-content {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 900px;
  width: 100%;
  align-items: center;
  justify-content: center;
}
.cookie-banner-buttons {
  display: flex;
  gap: 20px;
  margin-top: 8px;
}
.cookie-banner button {
  font-family: var(--font-display);
  font-size: 1rem;
  padding: 10px 26px;
  border-radius: 12px;
  border: none;
  transition: background 0.2s, color 0.25s, outline var(--transition);
}
.cookie-accept {
  background: var(--secondary);
  color: var(--accent);
  font-weight: 700;
}
.cookie-accept:hover, .cookie-accept:focus {
  background: var(--white);
  color: var(--secondary);
}
.cookie-reject {
  background: var(--grey-300);
  color: var(--primary);
  font-weight: 600;
}
.cookie-reject:hover, .cookie-reject:focus {
  background: var(--secondary);
  color: var(--accent);
}
.cookie-settings {
  background: var(--accent);
  color: var(--primary);
  border: 1px solid var(--grey-300);
  font-weight: 500;
}
.cookie-settings:hover, .cookie-settings:focus {
  background: var(--secondary);
  color: var(--accent);
}

/* Cookie modal */
.cookie-modal-overlay {
  position: fixed;
  z-index: 1250;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background: rgba(32,64,96,0.82);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s cubic-bezier(0.48,0,0.6,1);
}
.cookie-modal-overlay.visible {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: var(--accent);
  color: var(--primary);
  border-radius: var(--radius);
  box-shadow: var(--shadow-hover);
  padding: 40px 30px 30px 30px;
  min-width: 320px;
  max-width: 99vw;
  max-width: 440px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  position: relative;
}
.cookie-modal-close {
  position: absolute;
  top: 18px;
  right: 16px;
  background: none;
  color: var(--secondary);
  font-size: 2rem;
  border: none;
  cursor: pointer;
  padding: 2px 8px;
  border-radius: 6px;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: var(--secondary);
  color: var(--accent);
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 10px 0 14px 0;
  width: 100%;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  font-family: var(--font-body);
}
.cookie-modal input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--secondary);
}
.cookie-modal .category-essential {
  opacity: 0.67;
}
.cookie-modal-actions {
  display: flex;
  gap: 18px;
  margin-top: 10px;
}
.cookie-modal button {
  font-size: 1rem;
  padding: 8px 22px;
  border-radius: 8px;
  border: none;
  background: var(--secondary);
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 600;
  transition: background 0.18s, color 0.18s;
}
.cookie-modal button:hover,
.cookie-modal button:focus {
  background: var(--primary);
  color: var(--accent);
}

/* =========================
   General Styles & Utility
========================= */
.cta-link {
  color: var(--secondary);
  font-weight: 600;
  font-size: 1.08rem;
  text-decoration: underline;
  transition: color 0.15s;
}
.cta-link:hover, .cta-link:focus {
  color: var(--primary);
}
.hidden {
  display: none !important;
}

/* Confirmation message */
.confirmation-message {
  background: var(--grey-100);
  color: var(--primary);
  border-radius: var(--radius);
  padding: 20px 24px;
  box-shadow: var(--shadow-card);
  font-size: 1rem;
  margin-bottom: 14px;
}

/* =========================
   Responsive Spacing
========================= */
@media (max-width: 900px) {
  .footer-nav {
    flex-direction: column;
    gap: 10px;
  }
  .main-nav {
    gap: 12px;
  }
}
@media (max-width: 650px) {
  .container {
    padding-right: 10px;
    padding-left: 10px;
  }
}
@media (max-width: 500px) {
  .footer-info {
    text-align: left;
  }
}

/* =========================
   Focus Styles
========================= */
a:focus, button:focus, .cta-btn:focus, .main-cta:focus {
  outline: var(--focus-outline);
  outline-offset: 2px;
}

/* ================
   Animations
================= */
@media (prefers-reduced-motion: no-preference) {
  .cta-btn, .main-cta, .feature, .museum-card, .gallery-card, .testimonial-card, .faq-item, button {
    transition: box-shadow var(--transition), background var(--transition), color var(--transition), transform var(--transition);
  }
  .cta-btn:hover, .main-cta:hover, .feature:hover, .museum-card:hover, .gallery-card:hover, .testimonial-card:hover, .faq-item:hover {
    will-change: box-shadow, transform;
  }
}

/* =========================
   Geometric/Structured Vis.
========================= */
.section, .card, .feature, .museum-card, .gallery-card, .testimonial-card {
  /* geometric visual cue: bottom angled line pseudo for decoration */
}
.card::after, .feature::after, .museum-card::after, .gallery-card::after, .testimonial-card::after {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  bottom: 0;
  width: 38%;
  height: 4px;
  background: var(--secondary);
  border-radius: 0 0 16px 0;
  opacity: 0.13;
}
/* Prevent overlap - always spacing */
.card, .feature, .museum-card, .gallery-card, .testimonial-card {
  margin-right: 0;
  margin-left: 0;
}

/* =========================
   Miscellaneous
========================= */
::-webkit-scrollbar {
  width: 10px;
  background: var(--grey-100);
  border-radius: 5px;
}
::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 5px;
}

/* =========================
   Accessibility
========================= */
@media (max-width:500px) {
  .feature-grid, .museum-cards, .gallery-cards, .card-container {
    gap: 14px;
  }
  .cta-btn, .main-cta {
    padding: 10px 10vw;
    font-size: 1rem;
  }
}

/* ========== END ========== */