@font-face {
  font-family: 'Nunito Sans';
  src: url('../fonts/NunitoSans-VariableFont_YTLC,opsz,wdth,wght.ttf?v=1.0.1') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Nunito Sans';
  src: url('../fonts/NunitoSans-Italic-VariableFont_YTLC,opsz,wdth,wght.ttf?v=1.0.1') format('truetype');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Nunito';
  src: url('../fonts/Nunito-VariableFont_wght.ttf?v=1.0.1') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Nunito', sans-serif;
  font-weight: 400;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

.nunito-sans {
  font-family: 'Nunito Sans', 'Nunito', sans-serif;
}

header {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2vh;
  margin-bottom: 10px;
}

.contact {
  width: min(90vw, 1280px);
  height: 5vh;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  box-shadow: inset 0 -1px 0 rgba(0,0,0,0.04);
}

.icon1 {
  width: 20px;
  height: auto;
  margin-right: 0.8vw;
}

.contacttext { 
    margin-right: 0.8vw; 
}

.navbar {
  width: min(90vw, 1280px);
  height: 8vh;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 48px 1fr auto;
  align-items: center;
  column-gap: 12px;
}

.navbarleft {
  display: flex;
  align-items: center;
  justify-content: center;
  grid-column: 1 / 3;
  gap: 2.5vw;
  font-size: 1.2rem;
}

.logo { 
    width: 150px; 
    height: auto; 
}

.navlinks {
  margin: 0 10px;
  text-decoration: none;
  color: #2C3348;
  font-weight: 600;
  transition: transform .15s ease, color .15s ease;
}

.navlinks:hover {
  color: black;
  transform: scale(1.1);
}

.button {
  background-color: #a68c7c;
  color: white;
  border: none;
  border-radius: 6px;
  padding: 8px 20px;
  font-size: 16px;
  font-family: inherit;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  transition: all 0.2s ease;
  text-decoration: none;
  display: inline-block;
}

.button:hover {
  background-color: #967c6b;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.5);
}

.burger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  background: transparent;
  border: none;
  cursor: pointer;
}

.burger img { 
    width: 24px; 
    height: 24px; 
}

.navcenter { 
    display: none; 
    justify-content: center; 
}

.navdrawer {
  position: fixed;
  z-index: 1100;
  top: 0;
  left: 0;
  height: 100dvh;
  width: min(78vw, 320px);
  max-width: 95vw;
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: linear-gradient(180deg,#ffffff,#fbfbfb);
  box-shadow: 6px 24px 48px rgba(16,24,40,.24);
  transform: translateX(-110%);
  transition: transform .28s cubic-bezier(.2,.9,.2,1);
  border-right: 1px solid rgba(0,0,0,.04);
  border-radius: 0 12px 12px 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.navbackdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.42);
  z-index: 1050;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}

@media (max-width: 1250px) {
  .navbarleft { 
    font-size: 1.0rem; 
}
}

@media (max-width: 950px) {
  .contact { justify-content: center; }
  .navbarleft { display: none; }
  .burger { display: inline-flex; }
  .navcenter { display: flex; }
  .logo { width: 130px; }
}

html.nav-open #nav-drawer { 
  transform: translateX(0);
}

html.nav-open .navbackdrop {
  opacity: 1;
  pointer-events: auto;
}

html.nav-open .navdrawer .navlinks {
  border-bottom: 1px solid #e6e6e6;
  margin-bottom: 8px;
  padding-bottom: 8px;
}

.navdrawer .navlinks {
  display: block;
  font-size: 1.05rem;
  padding: 10px 14px;
  color: #2C3348;
  text-decoration: none;
  border-radius: 8px;
  transition: background .15s ease, color .12s ease, transform .12s ease;
}

.navdrawer .navlinks:hover,
.navdrawer .navlinks:focus {
  background: rgba(166,140,124,0.08);
  color: #2C3348;
  transform: none;
}

.navdrawer .navlinks:not(:last-of-type) {
  border-bottom: 1px solid #e6e6e6;
  margin-bottom: 8px; 
  padding-bottom: 8px; 
}

.drawer-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: transparent;
  border: none;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  color: #2C3348;
}
.drawer-close:focus { 
  outline: 2px solid rgba(0,0,0,.12); 
  border-radius: 6px; }

.navdrawer .drawer-logo {
  display: block;
  margin: 6px auto 12px;
  width: 160px;
  max-width: 60%;
  height: auto;
}

@media (min-width: 960px) {
  .navdrawer .drawer-logo { 
    width: 120px; 
    max-width: 45%; 
  }
}

.welcome-background {
  position: relative;
  width: 100%;
  min-height: 95vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
}

.welcome-background .bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: auto;
  height: 110%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0;
  pointer-events: none; 
}

.welcome-background .welcome {
  position: relative;
  z-index: 4;
  width: 100%;
  max-width: 1200px;
  padding: 48px 20px;
  color: #fff;
}

.welcome {
  max-width: 90vw;
}

.hero-content { 
  text-align: center; 
  margin: 0 auto; 
}

.hero-content h1 {
  font-family: inherit;
  font-size: clamp(1.7rem, 4.8vw, 3.6rem);
  line-height: 1.04;
  margin: 0 0 12px;
  font-weight: 600;
  text-shadow: 0 18px 40px rgba(0,0,0,0.65);
  -webkit-font-smoothing: antialiased;
}

.intro-header h2,
.ways-intro h2 {
  font-family: inherit;
  font-size: clamp(2rem, 4.8vw, 3rem);
  line-height: 1.04;
  margin: 0 0 30px;
  font-weight: 500;
  color: #2C3348;
  -webkit-font-smoothing: antialiased;
}

.hero-content h1 .design-target {
  position: relative;
  display: inline-block;
}

.hero-content h1 .design-target::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -18px;
  transform: translateX(-50%);
  width: 100px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  opacity: 0.5;
}

.hero-sub { 
  max-width: 775px; 
  margin: 0 auto 30px; 
  color: rgba(255,255,255,0.95); 
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  line-height: 1.25;
}

.hero-sub .backdrop {
  display: inline-block;
  background: rgba(0, 0, 0, 0.30);
  border-radius: 6px;
}

.welcome-background::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.20) 0%, rgba(0,0,0,0.15) 40%, rgba(0,0,0,0.10) 100%);
  z-index: 1;
  pointer-events: none;
}

.welcome-background::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 75px;
  background: #fff;
  clip-path: polygon(
    0% 100%,
    0% 30%,
    69.5% 0%,
    70.5% 0%,
    100% 50%,
    100% 100%
  );
  z-index: 2;
}

html.nav-open .burger[aria-expanded="true"] { 
    outline: none; 
}

@media (max-width: 600px) {
  .logo { 
    width: 100px; 
    height: auto; 
}

.button {
    padding: 6px 16px;
    font-size: 14px;
}

.icon1 {
    width: 15px;
    height: auto;
}
}

@media (max-width: 600px) {
    .contact {
    font-size: 0.8rem;
    }
}

.intro1 {
  width: 100%;
  background: #fff;
  padding: 80px 0;
}

.intro2 {
  width: min(90vw, 1280px);
  margin: 0 auto;
}

.intro-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  margin-bottom: 60px;
}

.intro-header {
  text-align: left;
}

.intro-header h2 {
  font-family: inherit;
  font-size: clamp(1.7rem, 4.2vw, 2.6rem);
  line-height: 1.04;
  margin: 0 0 30px;
  font-weight: 500;
  color: #2C3348;
  -webkit-font-smoothing: antialiased;
}

.intro-top > * {
  align-self: start;
}

.intro-header,
.intro-text {
  margin-top: 0;
  padding-top: 0;
}

.intro-text p:first-child {
  margin-top: 0;
}

.intro-logo {
  width: 200px;
  height: auto;
  opacity: 0.9;
  display: block;
  margin-top: 8px;
}

.intro-text {
  color: #2C3348;
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  line-height: 1.35;
}

@media (max-width: 768px) {
  .intro-top {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .intro-header, .intro-text { 
    text-align: center; 
  }
  .intro-header .intro-logo {
    margin: 8px auto 0;
    display: block;
  }
}

.intro-text p:not(:last-child) {
  margin-bottom: 16px;
}

.intro-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
  gap: 30px;
  margin-top: 40px;
}

.ways1 { 
  padding: 60px 0; 
}

.ways2 { 
  width: min(90vw, 1280px); 
  margin: 0 auto; 
}

.ways-text { 
  padding-bottom: 60px;
}

.ways-intro { 
  text-align: center; 
  max-width: 900px; 
  margin: 0 auto 26px; 
}

.ways-intro h2 { 
  font-size: clamp(1.7rem, 4.2vw, 2.6rem);
  line-height: 1.04;
  margin: 0 0 30px;
  font-weight: 500;
  color: #2C3348;
  -webkit-font-smoothing: antialiased;
}

.ways-intro p { 
  color: #2C3348; 
  margin: 0 auto; 
  max-width: 900px;  
  font-size: clamp(1rem, 1.6vw, 1.2rem); 
  line-height: 1.25; 
}

.ways-top { 
  display: grid; 
  grid-template-columns: repeat(2, 1fr); 
  gap: 24px; 
  margin-bottom: 28px; 
}

.way-card { 
    background: #F7F4F4; 
    border-radius: 12px; 
    overflow: hidden; 
    box-shadow: 0 2px 18px rgba(0,0,0,0.06); 
    display: flex; 
    flex-direction: column; 
    padding: 24px;
}

.way-card img:not(.way-logo):not([alt="check"]) { 
    width: 100%; 
    height: 280px; 
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 8px;
}

.way-body { 
    padding: 0; 
    position: relative;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.way-body p {
    flex: 1;
    margin-bottom: 0;
}

.way-body::before {
  content: "Leistungsbereich";
  position: absolute;
  top: 0;
  left: 0;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.05em;
  background: #2C3348;
  padding: 6px 16px;
  border-radius: 6px;
}

.way-logo { 
    width: 80px; 
    height: auto; 
    position: absolute;
    top: 0;
    right: 0;
    opacity: 0.9; 
}

.way-logo.small { 
    position: static;
    width: 48px; 
    display: block; 
    margin-bottom: 12px; 
}

.way-card h3 { 
  margin: 48px 0 24px; 
  color: #2C3348; 
  font-size: 20px;
  font-weight: 600;
}

.way-card p {
  margin: 0 0 24px;
  color: #2C3348;
  font-size: 16px;
  line-height: 1.25;
}

.checks { 
  list-style: none; 
  padding: 0; 
  margin: 24px 0 0; 
}

.checks li { 
  display: flex; 
  gap: 10px; 
  align-items: center; 
  margin-bottom: 8px; 
  color: #2C3348; 
}

.checks img { 
  width: 18px; 
  height: 18px; 
  margin-top: 0; 
}

.ways-video { 
  position: relative; 
  margin: 20px 0 28px; 
  border-radius: 12px; 
  overflow: hidden; 
  height: 360px; 
}

.ways-bg-video { 
  width: 100%; 
  height: 100%; 
  object-fit: cover; 
  display: block; 
  position: absolute; 
  inset: 0; 
}

.ways-video-caption { 
  position: absolute; 
  left: 20px; 
  bottom: 18px; 
  color: #fff; 
  font-weight: 600; 
  background: rgba(0,0,0,0.35); 
  padding: 8px 12px; 
  border-radius: 6px; 
  z-index: 2;
  font-size: clamp(0.75rem, 2.5vw, 1rem);
}

.ways-bottom { 
  display: grid; 
  grid-template-columns: 1fr; 
  gap: 24px; 
  align-items: start; 
  margin-bottom: 32px; 
}

.way-card-horizontal {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
  padding: 24px;
}

.way-card-horizontal .way-body {
  padding-right: 24px;
  display: flex;
  flex-direction: column;
}

.way-card-horizontal .way-body h3 {
  margin: 48px 0 24px;
}

.way-card-horizontal .way-body p {
  flex: initial; 
  margin-bottom: 0;
}

.way-card-horizontal .way-body .checks {
  margin-top: 24px;
  margin-bottom: 0;
}

.way-card-horizontal .way-card-image {
  display: flex;          
  align-items: stretch;    
  padding-left: 24px;
  align-self: stretch;     
}

.way-card-horizontal .way-card-image img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 100%;        
  object-fit: cover;
  margin-bottom: 0; 
  border-radius: 8px;
}

.checks li:last-child { 
  margin-bottom: 0; 
}

.ways-cta-wrapper {
  text-align: center;
  margin-top: 16px;
  margin-bottom: 32px;
}

.ways-cta { 
  display: inline-block; 
}

.ways-cta.button.cta {
  background-color: #A68C7C;
  color: #fff;
  padding: 8px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 16px;
  font-family: inherit;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  transition: all 0.2s ease;
}
.ways-cta.button.cta:hover {
  background-color: #967c6b;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.5);
}

@media (max-width: 900px) {
  .way-card-horizontal {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
  }
  
  .way-card-horizontal .way-card-image {
    order: -1;
    padding-left: 0;
    padding-top: 0;
    padding-bottom: 8px;
  }
  
  .way-card-horizontal .way-body {
    padding-right: 0;
    order: 1;
  }
}

@media (max-width: 900px) {
  .ways-top { grid-template-columns: 1fr; }
  .ways-bottom { grid-template-columns: 1fr; }
  .ways-video { height: 240px; }
  .ways-bg-video { height: 100%; }
}

.card {
  background: #f7f4f4;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: block;
}

.card-link {
  text-decoration: none;
  color: inherit;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 25px rgba(0,0,0,0.12);
}

.card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
  margin: 16px;
  display: block;
  width: calc(100% - 32px);
}

.card h3 {
  color: #2C3348;
  font-size: 20px;
  margin: 0 20px 12px;
  font-weight: 600;
}

.card p {
  color: #2C3348;
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  line-height: 1.5;
  margin: 0 20px 20px;
}

@media (max-width: 768px) {
  .intro1 {
    padding: 60px 0;
  }
  
  .intro-cards {
    gap: 20px;
  }
  
  .card img {
    height: 200px;
  }
}

.dresden-section { 
  padding: 80px 0; 
  padding-bottom: 0px; 
  background: #fff; 
}

.dresden-section .container { 
  width: min(90vw, 1280px); 
  margin: 0 auto; 
}

.dresden-grid { 
  display: grid; 
  grid-template-columns: 1fr 1fr; 
  gap: 60px; 
  align-items: start; 
}

.dresden-left h2 {
  font-family: inherit;
  font-size: clamp(1.7rem, 4.2vw, 2.6rem);
  line-height: 1.04;
  margin: 0 0 30px;
  font-weight: 500;
  color: #2C3348;
  -webkit-font-smoothing: antialiased;
}

.dresden-left p {
  color: #2C3348;
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  line-height: 1.35;
  margin-bottom: 16px;
}

.dresden-left p:last-child { 
  margin-bottom: 0; 
}

.dresden-right { 
  display: flex; 
  flex-direction: column; 
  justify-content: space-between; 
  height: 100%; 
}

.dresden-card {
  background: transparent;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  padding-top: 20px;
  padding-bottom: 20px;
  border-top: 2px solid #d6d6d6;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
}

.dresden-card h3 {
  margin: 0 0 12px;
  color: #2C3348;
  font-size: 20px;
  font-weight: 600;
}

.dresden-card p {
  margin: 0;
  color: #2C3348;
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  line-height: 1.35;
}

@media (max-width: 900px) {
  .dresden-grid { 
    grid-template-columns: 1fr; 
    gap: 40px; 
  }
  .dresden-left h2 { 
    text-align: center; 
  }
}

.skyline-section {
  position: relative;
  width: 100%;
  min-height: 600px;
  background-image: url('../bilder/dresden-skyline-illustration.png?v=1.0.1');
  background-size: cover;
  background-position: top;
  background-repeat: no-repeat;
}

.skyline-section::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 75px;
  background: #2C3348;
  clip-path: polygon(
    0% 100%,
    0% 30%,
    69.5% 0%,
    70.5% 0%,
    100% 50%,
    100% 100%
  );
  z-index: 1;
  pointer-events: none;
}

.skyline-section .container {
  width: min(90vw, 1280px);
  margin: 0 auto;
}

.skyline-content {
  text-align: left;
  z-index: 2;
  position: relative;
  padding-top: 40px;
}

.skyline-section .skyline-content > a.button.cta {
  white-space: nowrap;
}

@media (max-width: 450px) {
  .skyline-section {
    padding-top: 0; 
    background-position: center 60px; 
    background-origin: border-box;
    background-clip: border-box;
  }
  .skyline-section .skyline-content { 
    padding-top: 0; 
    text-align: center;
  }
  .skyline-section .skyline-content > a.button.cta {
    position: absolute; 
    top: 10px; 
    left: 50%;
    transform: translateX(-50%);
    right: auto;
    margin: 0;
    z-index: 3;
    white-space: nowrap; 
  }
}

.empty {
  height: 100vh;
}

.site-footer {
  background: #2C3348;
  color: #e7ebf5;
  position: relative;
  margin-top: 0;
  padding: 0 0 48px; 
}

.site-footer .container { 
  width: min(90vw, 1280px); 
  margin: 0 auto; 
}

.footer-grid { 
  display: grid; 
  grid-template-columns: 2fr 1fr 1fr 1fr; 
  gap: 60px; 
  align-items: start; 
}

.site-footer a { 
  color: #e7ebf5; 
  text-decoration: none; 
}

.site-footer a:hover { 
  text-decoration: underline; 
}

.site-footer h4 { 
  margin: 0 0 16px; 
  font-size: 18px; 
  font-weight: 700; 
  color: #f2f4f8; 
  position: relative; 
  padding-top: 20px; 
  line-height: 24px; 
  background-image: linear-gradient(to bottom, rgba(255,255,255,0.25), rgba(255,255,255,0.25));
  background-repeat: no-repeat;
  background-position: top left;
  background-size: 100% 5px;
}

.footer-brand { 
  position: relative; 
  padding-top: 20px; 
  background-image: linear-gradient(to bottom, rgba(255,255,255,0.25), rgba(255,255,255,0.25));
  background-repeat: no-repeat;
  background-position: top left;
  background-size: 100% 5px;
}

.site-footer p { 
  margin: 0 0 10px; 
  color: #e7ebf5; 
  line-height: 24px; 
}
.site-footer ul { 
  list-style: none; 
  margin: 0; 
  padding: 0; 
}

.site-footer li { 
  margin: 0 0 10px; 
  line-height: 24px; 
}

@media (max-width: 900px) {
  .footer-grid { 
    grid-template-columns: 1fr 1fr; 
    gap: 30px; 
  }
  
  .footer-grid .footer-col:nth-child(3) h4,
  .footer-grid .footer-col:nth-child(4) h4 {
    background-size: 100% 4px;
  }
}

.legal-page {
  padding: 10px 0;
  background: #fff;
}

.legal-page .container {
  width: min(90vw, 1280px);
  margin: 0 auto;
}

.legal-page h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  color: #2C3348;
  margin: 0 0 40px;
  font-weight: 600;
  line-height: 1.2;
}

.legal-page h2 {
  font-size: 20px;
  color: #2C3348;
  margin: 40px 0 20px;
  font-weight: 600;
  line-height: 1.3;
}

.legal-page h3 {
  font-size: 18px;
  color: #2C3348;
  margin: 30px 0 15px;
  font-weight: 600;
  line-height: 1.3;
}

.legal-page h4 {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color: #2C3348;
  margin: 25px 0 12px;
  font-weight: 600;
  line-height: 1.3;
}

.legal-page p {
  color: #2C3348;
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  line-height: 1.6;
  margin-bottom: 16px;
}

.legal-page a {
  color: #2C3348;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  transition: color .15s ease, transform .15s ease;
  transform-origin: left bottom;
}
.legal-page a:visited { 
  color: #2C3348; 
}
.legal-page a:hover,
.legal-page a:focus {
  color: #000;
  text-decoration: none;
  transform: scale(1.05);
}

.legal-page .legal-footer {
  margin-top: 60px;
  padding-top: 30px;
  border-top: 2px solid #d6d6d6;
  font-style: italic;
  color: #666;
}

@media (max-width: 600px) {
  .legal-page h1 {
    font-size: clamp(1.6rem, 7vw, 2rem); 
    line-height: 1.2;
  }
  .legal-page h2 { 
    font-size: 18px; 
  }
  .legal-page h3 { 
    font-size: 16px; }
  .legal-page p { font-size: 15px; }
}

.legal-page, .legal-page p, .legal-page li, .legal-page a {
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
}

@media (max-width: 450px) {
  .legal-page { 
    padding-bottom: 24px; 
  }
  .legal-page .container > *:last-child { 
    margin-bottom: 0; 
  }
}

.contact-section { 
  padding: 60px 0; 
  background: #f7f4f4; 
}

.contact-section .container { 
  width: min(90vw, 1280px); 
  margin: 0 auto; 
}

.contact-section .intro { 
  text-align: center; 
  max-width: 900px; 
  margin: 0 auto 26px; 
}

.contact-section .intro h2 {
  font-family: inherit;
  font-size: clamp(1.7rem, 4.2vw, 2.6rem);
  line-height: 1.04;
  margin: 0 0 30px;
  font-weight: 500;
  color: #2C3348;
  -webkit-font-smoothing: antialiased;
}

.contact-section .intro h2 .br-after-sie { display: none; }
@media (min-width: 451px) {
  .contact-section .intro h2 .br-after-sie { display: inline; }
}

@media (min-width: 450px) {
  .contact-section .intro h2 b {
    font-weight: inherit;
  }
}

.contact-section .intro p { 
  color: #2C3348; 
  margin: 0 auto; 
  max-width: 900px; 
  font-size: clamp(1rem, 1.6vw, 1.2rem); 
  line-height: 1.25; 
}

.contact-card {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  display: grid;
  grid-template-columns: 1fr 1fr; 
  gap: 28px;
  padding: 24px;
  align-items: stretch;
}

.contact-card > * { 
  min-width: 0; 
}

.contact-card > .image, .contact-card > .contact-form { 
  width: 100%; 
  justify-self: stretch; 
}

.contact-card .intro { 
  grid-column: 1 / -1; 
  text-align: center; 
  max-width: 900px; 
  margin: 0 auto 50px; 
}

.contact-card .intro h2 { 
  margin-bottom: 30px; 
}

.contact-card .image { 
  display: flex; 
  align-items: stretch; 
}

.contact-card .image img { 
  width: 100%; 
  height: auto; 
  min-height: 100%; 
  object-fit: cover; 
  border-radius: 8px; 
  display: block; 
}

.contact-form h3 { 
  margin: 4px 0 24px; 
  color: #2C3348; 
  font-size: 20px; 
  font-weight: 600; 
}

.contact-form p { 
  color: #2C3348; 
  font-size: clamp(1rem, 1.2vw, 1.05rem); 
  line-height: 1.25;
  margin: 0 0 30px; 
}

.contact-form { 
  display: flex; 
  flex-direction: column; 
  height: 100%; 
}

.contact-form form { 
  display: flex; 
  flex-direction: column; 
  height: 100%; 
  gap: 12px; 
}

.contact-form .row { 
  display: grid; 
  grid-template-columns: repeat(2, minmax(0, 1fr)); 
  gap: 24px; 
}

.contact-form .row .field { 
  width: 100%; 
}

.contact-form .field { 
  display: block; 
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],

.contact-form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #d6d6d6;
  border-radius: 8px;
  font-family: inherit;
  font-size: 16px;
  color: #2C3348;
  background: #fff;
  box-sizing: border-box;
}

.contact-form textarea { 
  min-height: 330px; 
  resize: none; 
  flex: 1; 
}

.contact-form .radios { 
  display: flex; 
  gap: 16px; 
  align-items: center; 
  border: 0; 
  padding: 0; 
}

.contact-form .radios label { 
  display: inline-flex; 
  gap: 6px; 
  align-items: center; 
  color: #2C3348; 
  font-size: 14px; 
}

.contact-form .checkbox { 
  display: flex; 
  gap: 8px; 
  align-items: center; 
  color: #2C3348; 
  font-size: 14px; 
}

.contact-form .checkbox { 
  margin-top: auto; 
}

.contact-form button.button.cta { 
  margin-top: 10px; 
}

.visually-hidden { 
  position: absolute !important; 
  width: 1px; 
  height: 1px; 
  padding: 0; 
  margin: -1px; 
  overflow: hidden; 
  clip: rect(0,0,0,0); 
  white-space: nowrap; 
  border: 0; 
}

@media (max-width: 900px) {
  .contact-card { 
    grid-template-columns: 1fr; 
  }
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  box-shadow: 0 -8px 16px rgba(0, 0, 0, 0.10);
  padding: 24px;
  z-index: 9999;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.cookie-banner--visible {
  transform: translateY(0);
}

.cookie-banner__content {
  max-width: 1200px;
  margin: 0 auto;
}

.cookie-banner__title {
  font-size: 20px;
  font-weight: 700;
  color: #2C3348;
  margin: 0 0 12px;
  font-family: inherit;
}

.cookie-banner__text {
  font-size: 15px;
  line-height: 1.5;
  color: #555;
  margin: 0 0 12px;
}

.cookie-banner__link {
  color: #2C3348;
  text-decoration: underline;
  font-weight: 600;
}

.cookie-banner__link:hover {
  color: #1a1f2e;
}

.cookie-banner__buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.cookie-banner__button {
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  border: none;
  font-family: inherit;
  transition: all 0.2s ease;
}

.cookie-banner__button--primary {
  background: #2C3348;
  color: #fff;
}

.cookie-banner__button--primary:hover {
  background: #1a1f2e;
  transform: translateY(-1px);
}

.cookie-banner__button--secondary {
  background: #f7f4f4;
  color: #2C3348;
  border: 2px solid #2C3348;
}

.cookie-banner__button--secondary:hover {
  background: #e7ebf5;
}

.cookie-banner__button--text {
  background: transparent;
  color: #666;
  padding: 12px 16px;
}

.cookie-banner__button--text:hover {
  color: #2C3348;
  text-decoration: underline;
}

.cookie-prefs { 
  display: none; 
  margin-top: 12px; 
  border-top: 1px solid rgba(0,0,0,0.06); 
  padding-top: 12px;
}
.cookie-prefs.is-open { display: block; }
.cookie-prefs__group { 
  display: flex; 
  align-items: center; 
  justify-content: flex-start; 
  gap: 12px; 
  padding: 8px 0; 
}
.cookie-prefs__label { font-weight: 600; color: #2C3348; }
.cookie-prefs__desc { color: #666; font-size: 14px; }
.cookie-prefs__text { cursor: pointer; }
.cookie-toggle input[type="checkbox"] { width: 18px; height: 18px; }
.cookie-prefs__actions { margin-top: 12px; display: flex; gap: 12px; flex-wrap: wrap; }

@media (max-width: 600px) {
  .cookie-banner {
    padding: 20px 16px;
  }
  
  .cookie-banner__buttons {
    flex-direction: column;
  }
  
  .cookie-banner__button {
    width: 100%;
    text-align: center;
  }
}

/* Success Notification Fly-in */
.success-notification {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 10000;
  max-width: 400px;
  width: calc(100% - 40px);
  opacity: 0;
  transform: translateY(-100px) scale(0.9);
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.success-notification[aria-hidden="false"] {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.success-notification__content {
  background: linear-gradient(135deg, #2C3348 0%, #1a1f2e 100%);
  color: #fff;
  padding: 20px 24px;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2),
              0 4px 12px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
  overflow: hidden;
}

.success-notification__content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #4CAF50, #45a049);
  animation: progress 5s linear forwards;
}

@keyframes progress {
  from {
    width: 100%;
  }
  to {
    width: 0%;
  }
}

.success-notification__icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: #4CAF50;
  stroke-width: 2.5;
  filter: drop-shadow(0 2px 4px rgba(76, 175, 80, 0.3));
}

.success-notification__text {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  color: #fff;
  font-family: 'Nunito Sans', 'Nunito', sans-serif;
}

.success-notification__close {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: all 0.2s ease;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
}

.success-notification__close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.success-notification__close svg {
  width: 18px;
  height: 18px;
}

@media (max-width: 600px) {
  .success-notification {
    top: 16px;
    right: 16px;
    left: 16px;
    width: calc(100% - 32px);
    max-width: none;
  }
  
  .success-notification__content {
    padding: 16px 20px;
  }
  
  .success-notification__text {
    font-size: 15px;
  }
}
