/* =========================================================
   BriskBay Baukonzepte – Monochrome Sophisticated CSS
   Author: Professional CSS/UI Specialist
   ========================================================= */

/* ===== 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%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  background: #111;
}
body {
  min-height: 100vh;
  color: #191919;
  background: #fff;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s cubic-bezier(.7,.3,.14,1.01);
}
a:focus {
  outline: 2px solid #191919;
  outline-offset: 2px;
}

/* ====== Root Variables for Monochrome Sophisticated ====== */
:root {
  --primary: #111111;
  --primary-dark: #191919;
  --secondary: #d7d7d3;
  --secondary-dark: #b1b1ad;
  --white: #fff;
  --gray: #dedede;
  --gray-mid: #bbbbbb;
  --accent: #222;
  --highlight: #e9c46a; /* Brand Secondary, used as a callout only */

  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Roboto', Arial, Helvetica, sans-serif;

  --radius: 12px;
  --shadow-card: 0 2px 8px 0 rgba(34,34,34,0.08), 0 1.5px 5px 0 rgba(0,0,0,0.08);
  --shadow-elevated: 0 6px 32px rgba(0,0,0,0.16);
  --transition: 0.32s cubic-bezier(.7,.3,.14,1.01);
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  color: #111;
  letter-spacing: -0.02em;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.15;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
  line-height: 1.15;
}
h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  line-height: 1.2;
}
h4, h5, h6 {
  font-size: 1.125rem;
  margin-bottom: 8px;
  line-height: 1.25;
}
p, ul, ol, li, span, label {
  font-family: var(--font-body);
  color: #222;
  font-size: 1rem;
  line-height: 1.85;
}
p, ul, ol {
  margin-bottom: 16px;
}
strong {
  font-weight: 700;
  color: #111;
}
.subtitle {
  font-size: 1.25rem;
  color: #353535;
  font-weight: 400;
  font-family: var(--font-body);
  margin-bottom: 18px;
}
@media (min-width: 769px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2.25rem; }
  .subtitle { font-size: 1.35rem; }
}

/* ============= Containers & Layout ============= */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 18px;
}
.content-wrapper {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width: 768px) {
  .section {
    padding: 28px 8px;
    margin-bottom: 30px;
  }
  .container {
    padding: 0 8px;
  }
}

.card-container,
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.card {
  background: #fff;
  box-shadow: var(--shadow-card);
  border-radius: var(--radius);
  margin-bottom: 20px;
  position: relative;
  padding: 24px;
  flex: 1 1 280px;
  min-width: 270px;
  transition: box-shadow var(--transition), transform var(--transition);
  border: 1px solid #ededed;
}
.card:hover {
  box-shadow: var(--shadow-elevated);
  transform: translateY(-8px) scale(1.02);
  z-index: 2;
}
.text-image-section, .feature-item {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.feature-item {
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
@media (max-width: 768px) {
  .text-image-section, .feature-item {
    flex-direction: column;
    gap: 20px;
  }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 20px;
  }
}

/* =========== Header & Navigation =========== */
header {
  width: 100%;
  background: #fff;
  border-bottom: 2px solid #eee;
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: space-between;
  min-height: 84px;
}
header img[alt="BriskBay Baukonzepte"] {
  height: 42px;
}
nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
nav a {
  color: #111;
  opacity: 0.89;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.02em;
  font-size: 1rem;
  padding: 8px 10px;
  border-radius: 8px;
  transition: background var(--transition), color var(--transition);
}
nav a:hover, nav a:focus {
  background: #191919;
  color: #fff;
}
.header .button-primary {
  margin-left: auto;
}
.button-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #111;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.09rem;
  letter-spacing: -.005em;
  border-radius: 7px;
  border: none;
  padding: 14px 26px;
  margin-left: 14px;
  min-width: 180px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  cursor: pointer;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition), transform var(--transition);
  text-shadow: none;
  white-space: nowrap;
}
.button-primary:hover, .button-primary:focus {
  background: #fff;
  color: #111;
  border: 2px solid #111;
  box-shadow: var(--shadow-elevated);
  transform: translateY(-3px) scale(1.02);
  outline: none;
}

/* ===== MOBILE NAVIGATION ===== */
.mobile-menu-toggle {
  display: none;
  background: #fff;
  color: #111;
  border: 1px solid #dedede;
  border-radius: 8px;
  padding: 8px 18px;
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
  transition: background var(--transition);
  z-index: 301;
}
.mobile-menu {
  display: none;
}
@media (max-width: 1000px) {
  nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
}
@media (max-width: 1000px) {
  .mobile-menu {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100vw;
    height: 100vh;
    background: #fff;
    z-index: 400;
    box-shadow: 0 0 24px 2px rgba(0,0,0,0.22);
    transform: translateX(100%);
    opacity: 0;
    pointer-events: none;
    transition: transform .33s cubic-bezier(.8,.13,.23,1.06), opacity .22s;
  }
  .mobile-menu.open { /* Should be toggled via JS */
    transform: translateX(0);
    opacity: 1;
    pointer-events: all;
  }
  .mobile-menu-close {
    align-self: flex-end;
    margin-top: 28px;
    margin-right: 28px;
    font-size: 2.2rem;
    background: none;
    border: none;
    color: #111;
    border-radius: 8px;
    line-height: 1;
    cursor: pointer;
    transition: color var(--transition);
    z-index: 501;
  }
  .mobile-menu-close:hover {
    color: #fff;
    background: #111;
  }
  .mobile-nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-top: 50px;
    margin-left: 44px;
  }
  .mobile-nav a {
    font-size: 1.25rem;
    font-family: var(--font-display);
    background: none;
    color: #111;
    padding: 14px 3px 10px 0px;
    border-radius: 0;
    transition: color var(--transition);
    min-width: 180px;
  }
  .mobile-nav a:hover {
    color: #b1b1ad;
  }
}

/* ============= Hero Section ============= */
.hero {
  background: #fff;
  border-bottom: 2px solid #eee;
  padding: 48px 0 48px 0;
}
.hero .container, .cta .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.hero h1 {
  font-size: 2.5rem;
  color: #111;
  font-family: var(--font-display);
  margin-bottom: 18px;
  text-align: left;
}
.hero p.subtitle {
  color: #232323;
  max-width: 530px;
  margin-bottom: 28px;
  font-size: 1.19rem;
}
@media (min-width: 850px) {
  .hero .content-wrapper {
    padding: 26px 0;
    gap: 36px;
    max-width: 800px;
  }
}

/* ============= Lists & Icons ============= */
ul li, ol li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
  background: none;
  color: #232323;
  border-radius: 8px;
  font-size: 1.03rem;
  line-height: 1.7;
  font-family: var(--font-body);
  padding: 7px 0 7px 0;
}
ul li img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}
ul ul {
  margin-left: 20px;
  margin-top: 7px;
}

/* ============= Testimonial Cards ============= */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #fafafa;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  border: 1.5px solid #e4e4e4;
  margin-bottom: 24px;
  max-width: 640px;
  transition: box-shadow var(--transition), border-color var(--transition);
}
.testimonial-card:hover {
  box-shadow: 0 6px 28px rgba(0,0,0,.13);
  border-color: #bcbcbc;
}
.testimonial-card p {
  color: #232323;
  font-style: italic;
  font-size: 1.08rem;
  margin-bottom: 6px;
}
.testimonial-card strong {
  color: #111;
  letter-spacing: 1px;
  font-size: 1rem;
}

/* ============= CTA Section ============= */
.cta {
  padding: 48px 0 48px 0;
  background: #111;
  color: #fff;
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: 0 -1.5px 12px 0 rgba(0,0,0,0.04);
  margin-bottom: 0px;
}
.cta h2, .cta h1 {
  color: #fff;
}
.cta p {
  color: #dedede;
}
.cta .button-primary {
  background: #fff;
  color: #111;
  border: 2px solid #fff;
}
.cta .button-primary:hover, .cta .button-primary:focus {
  background: #111;
  color: #fff;
  border: 2px solid #dedede;
}

/* ============= Footer ============= */
footer {
  width: 100%;
  background: #191919;
  color: #fff;
  padding: 40px 0 16px 0;
  border-top: 3.5px solid #eee;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
footer nav {
  gap: 16px;
  display: flex;
  flex-wrap: wrap;
}
footer nav a {
  color: #ededed;
  font-family: var(--font-display);
  font-size: 1.1rem;
  opacity: .82;
  border-radius: 7px;
  padding: 7px 9px;
  transition: color var(--transition), background var(--transition);
}
footer nav a:hover {
  color: #fff;
  background: #111;
}
.footer-contact {
  font-size: 0.98rem;
  color: #ededed;
  opacity: .95;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.footer-contact p{
	color: #fff
}
.footer-contact img {
  margin: 0 5px -3px 4px;
  vertical-align: middle;
}
@media (max-width: 768px) {
  footer .container {
    gap: 15px;
    padding: 0 8px;
  }
}

/* ============= Page Specific ============= */
.text-section {
  margin-bottom: 28px;
  background: #fff;
  border-radius: var(--radius);
  padding: 18px 22px;
  box-shadow: 0 1px 7px 0 rgba(0,0,0,0.03);
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.text-section h2, .text-section h3 {
  margin-top: 10px;
  margin-bottom: 8px;
}

/* ============= Cookie Consent Banner ============= */
.cookie-banner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  width: 100vw;
  background: #191919;
  color: #fff;
  font-size: 1rem;
  z-index: 5000;
  box-shadow: 0 -3px 24px 0 rgba(0,0,0,0.13);
  padding: 18px 12px 18px 18px;
  transition: transform .37s, opacity .22s;
  opacity: 1;
  transform: translateY(0);
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
}
.cookie-banner p { color: #fff; margin-bottom: 0; }
.cookie-banner .cookie-actions {
  display: flex;
  gap: 17px;
  margin-top: 7px;
}
.cookie-banner button {
  padding: 8px 18px;
  border: none;
  border-radius: 7px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  margin: 0 2px;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
  box-shadow: 0 2px 7px rgba(12,12,12,0.07);
}
.cookie-banner .accept {
  background: #fff;
  color: #111;
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: #111;
  color: #fff;
  outline: 2px solid #fff;
}
.cookie-banner .reject {
  background: transparent;
  border: 1.5px solid #fff;
  color: #fff;
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: #fff;
  color: #111;
}
.cookie-banner .settings {
  background: #232323;
  color: #fff;
  border: none;
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: #dedede;
  color: #191919;
}

/* Cookie Modal */
.cookie-modal {
  display: none;
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(.96);
  background: #fff;
  color: #191919;
  border-radius: var(--radius);
  box-shadow: 0 4px 42px rgba(0,0,0,.23);
  z-index: 5010;
  padding: 32px 30px 20px 30px;
  min-width: 340px;
  max-width: 98vw;
  transition: opacity .22s, transform .24s;
}
.cookie-modal.open {
  display: flex;
  flex-direction: column;
  gap: 16px;
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
.cookie-modal-header {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 13px;
  margin-bottom: 9px;
}
.cookie-category label {
  color: #191919;
}
.cookie-modal-actions {
  display: flex;
  gap: 14px;
  margin-top: 5px;
}
.cookie-modal-close {
  background: #191919;
  color: #fff;
  border: none;
  border-radius: 7px;
  padding: 6px 14px;
  font-size: 1.06rem;
  font-family: var(--font-display);
  cursor: pointer;
  align-self: flex-end;
  transition: background var(--transition), color var(--transition);
}
.cookie-modal-close:hover {
  background: #dedede;
  color: #232323;
}
.cookie-toggle-switch {
  display: inline-block;
  width: 36px; height: 18px;
  background: #ededed;
  border-radius: 10px;
  position: relative;
  margin-left: 8px;
  vertical-align: middle;
}
.cookie-toggle-switch input {
  display: none;
}
.cookie-toggle-slider {
  position: absolute;
  left: 2px; top: 2px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: #191919;
  transition: all .21s;
}
.cookie-toggle-switch input:checked + .cookie-toggle-slider {
  background: #e9c46a;
  left: 20px;
}
.cookie-modal .cookie-essential {
  opacity: 0.6;
  pointer-events: none;
}
/* Overlay for modal */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  left: 0; top: 0; right:0; bottom:0;
  width: 100vw;
  height: 100vh;
  background: rgba(20,20,20,0.17);
  z-index: 5009;
}
.cookie-modal.open ~ .cookie-modal-overlay {
  display: block;
}
@media (max-width: 480px) {
  .cookie-modal {
    min-width: 96vw;
    padding: 18px 6px;
  }
}

/* ============= Utilities & Micro Interactions ============= */
.shadow-hover {
  transition: box-shadow var(--transition), transform var(--transition);
  box-shadow: 0 2px 8px rgba(17,17,17,0.07);
}
.shadow-hover:hover, .shadow-hover:focus {
  box-shadow: 0 8px 32px rgba(17,17,17,.15);
  transform: scale(1.01);
}
.rounded {
  border-radius: var(--radius);
}
.flex {
  display: flex;
}
.flex-center {
  align-items: center;
  justify-content: center;
}
.gap-20 {
  gap: 20px;
}

/* Spacing helpers */
.mb-20 { margin-bottom: 20px !important; }
.mb-40 { margin-bottom: 40px !important; }
.mt-24 { margin-top: 24px !important; }

/* Avoid overflow & overlapping at all times */
* { box-sizing: border-box; }

/* Responsive: Typography & Layout */
@media (max-width: 992px) {
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.65rem; }
  .cta, .hero { padding: 30px 0; }
  .content-wrapper { gap: 18px; }
}
@media (max-width: 768px) {
  h1, .cta h1 { font-size: 1.5rem; }
  h2, .cta h2 { font-size: 1.17rem; }
  .footer-contact { font-size: 0.965rem; }
  .card {
    padding: 18px 8px;
    min-width: unset;
    width: 100%;
  }
}

/* ============= Form Inputs ============= */
input[type="text"], input[type="email"], textarea {
  width: 100%;
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid #bbb;
  border-radius: 7px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: #191919;
  margin-bottom: 18px;
  background: #fafafa;
  transition: border var(--transition), box-shadow var(--transition);
}
input[type="text"]:focus, input[type="email"]:focus, textarea:focus {
  outline: none;
  border: 1.5px solid #111;
  box-shadow: 0 2px 10px 0 rgba(34,34,34,0.07);
}
::placeholder {
  color: #b1b1ad;
  opacity: 1;
}

/* ============= Animations ============= */
@media (prefers-reduced-motion: no-preference) {
  .fade-in {
    opacity: 0;
    transform: translateY(24px);
    animation: fadeInUp 0.7s cubic-bezier(.41,1.11,.63,.99) 0.13s forwards;
  }
  @keyframes fadeInUp {
    to {
      opacity: 1;
      transform: none;
    }
  }
}

/* ========== Miscellaneous ========== */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-thumb { background: #dedede; border-radius: 6px; }
::-webkit-scrollbar-track { background: #fff; }

/* Accessibility */
:focus-visible {
  outline: 2px solid #e9c46a;
  outline-offset: 2px;
}

/* ========== Demo: Hide & Show cookie/modal classes (JS toggled) ========== */
/* Use class .hide or .open as per JS cookie/banner/modal logic */