/* ==========================================================================
   Unternehmenspark – Main stylesheet
   Struktur: Tokens/Base → Layout → Components → Responsive
   ========================================================================== */



/* --------------------------------------------------------------------------
   Tokens & Base
   -------------------------------------------------------------------------- */

:root {
  --ink: #18211f;
  --muted: #697572;
  --red: #a81f2b;
  --red2: #c62e3a;
  --cream: #f5f2ed;
  --line: #dfe4e1;
  --white: #fff;
  --radius: 20px;
  --shadow: 0 20px 60px rgba(19,32,29,.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter,Arial,sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.6;
}

h1,h2,h3 {
  font-family: Manrope,Inter,sans-serif;
  line-height: 1.08;
  margin: 0 0 20px;
}

h1 {
  font-size: clamp(3rem,8vw,7.5rem);
  letter-spacing: -.06em;
  color: #fff;
  max-width: 900px;
}

h1 em {
  font-style: normal;
  color: #f0b9bd;
}

h2 {
  font-size: clamp(2rem,4.5vw,4.4rem);
  letter-spacing: -.045em;
}

h3 {
  font-size: 1.3rem;
  margin-top: 28px;
}

p {
  margin: 0 0 18px;
}


/* --------------------------------------------------------------------------
   Layout
   -------------------------------------------------------------------------- */

.container {
  width: min(1180px,calc(100% - 40px));
  margin: auto;
}

.section {
  padding: 110px 0;
}


.section-soft {
  background: var(--cream);
}


/* --------------------------------------------------------------------------
   Header & Navigation
   -------------------------------------------------------------------------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0,0,0,.06);
}

.nav-wrap {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
  color: var(--ink);
  line-height: 1;
}

.brand strong {
  display: block;
  font: 800 14px/1 Manrope;
  letter-spacing: .08em;
}

.brand small {
  display: block;
  font-size: 10px;
  letter-spacing: .25em;
  margin-top: 5px;
}

.brand-mark {
  width: 48px;
  height: 32px;
  display: flex;
  align-items: flex-end;
  gap: 3px;
}

.brand-mark i {
  display: block;
  width: 5px;
  background: var(--red);
  transform: skewY(-12deg);
}

.brand-mark i:nth-child(1) {
  height: 17px;
}

.brand-mark i:nth-child(2) {
  height: 22px;
}

.brand-mark i:nth-child(3) {
  height: 27px;
}

.brand-mark i:nth-child(4) {
  height: 30px;
}

.brand-mark i:nth-child(5) {
  height: 26px;
}

.brand-mark i:nth-child(6) {
  height: 21px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

.nav-toggle {
  display: none;
  border: 0;
  background: none;
  font-size: 27px;
}


/* --------------------------------------------------------------------------
   Buttons & Links
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 15px 23px;
  background: var(--red);
  color: white;
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
  transition: .2s;
}

.btn:hover {
  transform: translateY(-2px);
  background: var(--red2);
}

.btn-small {
  padding: 11px 17px !important;
  color: white !important;
}

.btn-ghost {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.5);
}


/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  min-height: 780px;
  height: 92vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  background: url("https://www.unternehmenspark.de/Redesign/assets/images/hero/hero.jpg") center/cover no-repeat;
  transform: scale(1.03);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,rgba(15,25,23,.86) 0%,rgba(15,25,23,.58) 48%,rgba(15,25,23,.2) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 80px;
}

.hero-content>p {
  color: #e7ecea;
  font-size: 20px;
  max-width: 650px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 30px;
}

.hero-facts {
  display: flex;
  gap: 58px;
  color: #fff;
  margin-top: 65px;
}

.hero-facts div {
  display: flex;
  flex-direction: column;
}

.hero-facts b {
  font: 700 23px Manrope;
}

.hero-facts span {
  font-size: 12px;
  opacity: .7;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.eyebrow {
  display: block;
  color: var(--red);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.eyebrow.light {
  color: #f2c4c7;
}


/* --------------------------------------------------------------------------
   Layout
   -------------------------------------------------------------------------- */

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


/* --------------------------------------------------------------------------
   Components
   -------------------------------------------------------------------------- */

.lead {
  font-size: 20px;
  line-height: 1.5;
  color: #34423e;
}


/* --------------------------------------------------------------------------
   Layout
   -------------------------------------------------------------------------- */

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 40px;
  margin-bottom: 42px;
}

.section-head p {
  max-width: 420px;
  color: var(--muted);
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(48px, 7vw, 90px);
  align-items: start;
}

.about-copy {

  max-width: 720px;

}

.company-section {
  display: contents;
}

.company-section h2 {
  margin: 0;
  text-align: left;
  align-self: start;
}

.company-logo-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 48px);
  width: 100%;
  margin-top: clamp(36px, 5vw, 64px);
  align-items: center;
}

.company-logo-grid img {

  display: block;

  width: 100%;

  max-width: 100%;

  height: clamp(75px, 8vw, 120px);

  object-fit: contain;

}

/* --------------------------------------------------------------------------
   Offers
   -------------------------------------------------------------------------- */

.filterbar {
  display: flex;
  gap: 8px;
  margin-bottom: 28px;
}

.filter {
  border: 1px solid #ced5d2;
  background: transparent;
  border-radius: 999px;
  padding: 9px 16px;
  cursor: pointer;
  font-weight: 600;
}

.filter.active {
  background: var(--ink);
  color: white;
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 22px;
}

.offer-card,.property-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(0,0,0,.06);
  transition: .25s;
}

.offer-card:hover,.property-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.offer-image,.property-image {
  height: 250px;
  background: #ddd center/cover no-repeat;
  position: relative;
}

.availability {
  position: absolute;
  top: 16px;
  left: 16px;
  background: #fff;
  border-radius: 999px;
  padding: 7px 11px;
  font-size: 11px;
  font-weight: 800;
}

.offer-body,.property-body {
  padding: 26px;
}

.offer-body h3,.property-body h3 {
  margin: 0 0 9px;
}

.offer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0;
}

.pill {
  background: #f0f2f1;
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 600;
}

.card-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 20px;
}


/* --------------------------------------------------------------------------
   Buttons & Links
   -------------------------------------------------------------------------- */

.text-button,.text-link {
  border: 0;
  background: none;
  color: var(--red);
  font-weight: 700;
  text-decoration: none;
  padding: 0;
  cursor: pointer;
  font-size: 14px;
}


/* --------------------------------------------------------------------------
   Properties
   -------------------------------------------------------------------------- */

.property-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 18px;
}

.property-image {
  height: 190px;
}

.property-body {
  padding: 20px;
}

.property-body p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}


/* --------------------------------------------------------------------------
   Location
   -------------------------------------------------------------------------- */

.location {
  background: var(--ink);
  color: white;
}

img {

  display: block;

  max-width: 85%;

  height: auto;

  margin: 0 auto;

}

.location-grid {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  gap: 65px;
  align-items: center;
}

.location-copy>p {
  color: #c6cecb;
}

.distance-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 18px;
  margin: 35px 0;
}

.distance-grid div {
  padding-top: 15px;
  border-top: 1px solid rgba(255,255,255,.18);
}

.distance-grid b {
  display: block;
  font: 700 23px Manrope;
}

.distance-grid span {
  font-size: 12px;
  color: #aeb9b5;
}

.location .text-link {
  color: #f4bdc2;
}

.map-wrap {
  height: 520px;
  border-radius: var(--radius);
  overflow: hidden;
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(.15);
}


/* --------------------------------------------------------------------------
   Founder
   -------------------------------------------------------------------------- */

.founder-grid {
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: 80px;
  align-items: center;
}

.founder-photo {
  height: 520px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--cream);
}

.founder-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* --------------------------------------------------------------------------
   Contact & Forms
   -------------------------------------------------------------------------- */

.contact-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 90px;
}

.contact-card {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: 38px;
  padding: 0;
  border: 0;
  border-radius: 0;
}

.contact-card a {
  color: var(--red);
  text-decoration: none;
}

.contact-card small {
  margin-top: 12px;
}

.form {
  background: #fff;
  padding: 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 16px;
}

.form input,.form textarea,.form select {
  width: 100%;
  border: 1px solid #ccd3d0;
  border-radius: 10px;
  padding: 13px 14px;
  font: inherit;
  background: #fff;
}

.form input:focus,.form textarea:focus,.form select:focus {
  outline: 2px solid rgba(168,31,43,.25);
  border-color: var(--red);
}

.form .check {
  flex-direction: row;
  align-items: flex-start;
  font-weight: 500;
}

.check input {
  width: auto;
  margin-top: 5px;
}

.form-note {
  font-size: 11px;
  color: var(--muted);
  margin: 12px 0 0;
}

.compact {
  box-shadow: none;
  border: 1px solid var(--line);
}


/* --------------------------------------------------------------------------
   Tenants
   -------------------------------------------------------------------------- */

.tenant-strip {
  padding: 76px 0;
  background: #fff;
  border-top: 1px solid var(--line);
}

.tenant-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 60px;
  align-items: end;
  margin-bottom: 34px;
}

.tenant-head .eyebrow {
  grid-column: 1/-1;
}

.tenant-head h2 {
  font-size: clamp(1.8rem,3vw,3rem);
  margin-bottom: 0;
}

.tenant-head p {
  color: var(--muted);
  margin: 0;
}

.tenant-logos {
  display: grid;
  grid-template-columns: repeat(6,1fr);
  gap: 14px;
}

.tenant-logo {
  min-height: 104px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  text-decoration: none;
  transition: .2s;
  overflow: hidden;
}

.tenant-logo:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(19,32,29,.09);
  border-color: #c9d0cd;
}

.tenant-logo:focus-visible {
  outline: 3px solid rgba(168,31,43,.28);
  outline-offset: 3px;
}

.tenant-logo img {
  display: block;
  max-width: 100%;
  max-height: 72px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: saturate(.92);
  transition: .2s;
}

.tenant-logo:hover img {
  filter: saturate(1);
}


/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.footer {
  background: #111816;
  color: #d7dfdc;
  padding: 70px 0 22px;
}

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

.footer-grid>div {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-grid a,.footer-grid button {
  color: #d7dfdc;
  text-decoration: none;
  background: none;
  border: 0;
  padding: 0;
  text-align: left;
  font: inherit;
  cursor: pointer;
}

.footer-grid b {
  color: white;
  margin-bottom: 10px;
}

.footer-brand {
  color: white;
}

.footer-grid p {
  color: #889590;
  max-width: 320px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex;
  justify-content: space-between;
  margin-top: 50px;
  padding-top: 20px;
  font-size: 12px;
  color: #78847f;
}


/* --------------------------------------------------------------------------
   Modals
   -------------------------------------------------------------------------- */

.modal {
  width: min(860px,calc(100% - 30px));
  max-height: 88vh;
  border: 0;
  border-radius: 22px;
  padding: 0;
  box-shadow: 0 30px 100px rgba(0,0,0,.3);
}

.modal::backdrop {
  background: rgba(13,20,18,.72);
  backdrop-filter: blur(6px);
}

.modal-close {
  position: sticky;
  float: right;
  top: 18px;
  margin: 18px 18px -50px 0;
  z-index: 3;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 0;
  background: #fff;
  box-shadow: 0 4px 20px rgba(0,0,0,.15);
  font-size: 24px;
  cursor: pointer;
}

.modal-body {
  padding: 55px;
}

.modal-body ul {
  padding-left: 20px;
}

.modal-hero {
  height: 330px;
  background: center/cover no-repeat;
}

.modal-copy {
  padding: 42px;
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 10px;
  margin-top: 25px;
}

.spec-grid div {
  background: var(--cream);
  border-radius: 10px;
  padding: 13px;
  font-size: 14px;
}



/* --------------------------------------------------------------------------
   Property & rental slideshows
   -------------------------------------------------------------------------- */

#propertyModal,
#offerModal {
  width: min(1100px,calc(100% - 40px));
}

.property-slideshow {
  position: relative;
  width: 100%;
  height: 460px;
  overflow: hidden;
  background: #e8ecea;
}

.property-slide-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  transition: opacity .32s ease;
}

.property-slide-image.changing {
  opacity: .18;
}

.property-slide-counter {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 2;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(18,28,25,.78);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  backdrop-filter: blur(8px);
}

.property-slide-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-50%);
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.94);
  color: var(--ink);
  box-shadow: 0 6px 25px rgba(0,0,0,.18);
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  transition: transform .2s,background .2s;
}

.property-slide-arrow:hover {
  background: #fff;
}

.property-slide-prev { left: 20px; }
.property-slide-next { right: 20px; }

.property-slide-dots {
  position: absolute;
  left: 50%;
  bottom: 18px;
  z-index: 2;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(18,28,25,.38);
  backdrop-filter: blur(6px);
}

.property-slide-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.85);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: background .2s,transform .2s;
}

.property-slide-dot.active {
  background: #fff;
  transform: scale(1.2);
}

.offer-modal-facts {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 10px;
  margin: 26px 0 10px;
}

.offer-modal-facts div {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px;
  border-radius: 12px;
  background: var(--cream);
}

.offer-modal-facts b {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--muted);
}

.offer-modal-facts span {
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   Legal
   -------------------------------------------------------------------------- */

.legal {
  max-width: 760px;
}

.legal p,.legal li {
  color: #44514e;
}


/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width:900px) {
  .about-layout {
    grid-template-columns: 1fr;
    gap: 56px;
  }


  .tenant-logos {
    grid-template-columns: repeat(3,1fr);
  }

  .tenant-head {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .main-nav {
    display: none;
    position: absolute;
    left: 20px;
    right: 20px;
    top: 70px;
    background: #fff;
    box-shadow: var(--shadow);
    border-radius: 16px;
    padding: 24px;
    flex-direction: column;
    align-items: flex-start;
  }

  .main-nav.open {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }

  .hero {
    min-height: 720px;
  }

  .split,.location-grid,.founder-grid,.contact-grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .property-grid {
    grid-template-columns: repeat(2,1fr);
  }

  .section {
    padding: 80px 0;
  }

  .map-wrap {
    height: 380px;
  }

  .founder-photo {
    height: 430px;
  }

  .location-copy {
    order: 1;
  }

  .map-wrap {
    order: 2;
  }
}

@media (max-width:620px) {
  .tenant-strip {
    padding: 58px 0;
  }

  .tenant-logos {
    grid-template-columns: repeat(2,1fr);
  }

  .tenant-logo {
    min-height: 96px;
    padding: 16px;
  }

  .container {
    width: min(100% - 28px,1180px);
  }

  .hero {
    height: auto;
    min-height: 760px;
  }

  .hero-overlay {
    background: linear-gradient(90deg,rgba(15,25,23,.9),rgba(15,25,23,.55));
  }

  .hero-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 18px;
    margin-top: 42px;
    width: 100%;
  }

  .hero-facts div {
    min-width: 0;
  }

  .hero-facts b {
    font-size: 18px;
    line-height: 1.2;
  }

  .hero-facts span {
    font-size: 11px;
    line-height: 1.35;
    overflow-wrap: anywhere;
  }

  .hero-facts div:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .offer-grid,.property-grid,.form-row {
    grid-template-columns: 1fr;
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .distance-grid {
    grid-template-columns: repeat(2,1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .modal-body,.modal-copy {
    padding: 38px 24px;
  }

  .spec-grid {
    grid-template-columns: 1fr;
  }

  .property-slideshow {
    height: 280px;
  }

  .property-slide-arrow {
    width: 40px;
    height: 40px;
    font-size: 27px;
  }

  .property-slide-prev { left: 12px; }
  .property-slide-next { right: 12px; }

  .property-slide-counter {
    top: 14px;
    left: 14px;
  }

  .property-slide-dots {
    bottom: 12px;
  }

  .offer-modal-facts {
    grid-template-columns: 1fr;
  }

}
@media (max-width: 900px) {
  .company-logo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 32px;
  }

  .company-logo-grid img {
    width: auto;
    max-width: 170px;
    height: auto;
    max-height: 70px;
    justify-self: center;
    object-fit: contain;
  }
}

@media (max-width: 600px) {
  .company-section h2 {
    text-align: left;
    margin-bottom: 32px;
  }

  .company-logo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 18px;
    align-items: center;
  }

  .company-logo-grid img {
    width: auto;
    max-width: 125px;
    height: auto;
    max-height: 52px;
    justify-self: center;
    object-fit: contain;
  }

  

  .company-logo-grid img:nth-child(5) {
    grid-column: 1 / -1;
    justify-self: center;
  }
}
