/* ============================================
   GZ14 Coming Soon – Gesundheitszentrum Penzing
   Design aus Figma umgesetzt
   ============================================ */

/* Formale Grotesque – lokale WOFF-Dateien (Schriftarten/ im gleichen Ordner) */
@font-face {
  font-family: 'Formale Grotesque';
  src: url('fonts/FormaleGrotesque-N1.woff') format('woff');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Formale Grotesque';
  src: url('fonts/FormaleGrotesque-N3.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Formale Grotesque';
  src: url('fonts/FormaleGrotesque-B1.woff') format('woff');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Formale Grotesque';
  src: url('fonts/FormaleGrotesque-B3.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* PPPangramSansRounded – Condensed Bold */
@font-face {
  font-family: 'PPPangramSansRounded Condensed';
  src: url('fonts/PPPangramSansRounded-CondensedBold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Farben aus Figma */
  --color-bg: #e3f1f2;
  --color-label: #79bfb7;
  --color-headline: #2a2e2d;
  --color-pill-border: #5bbfaa;
  --color-button-bg: #c4706a;
  --color-button-text: #ffffff;
  --color-text: #000000;

  /* Abstände */
  --space-xs: 8px;
  --space-sm: 12px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 40px;
  --space-2xl: 48px;

  /* Radien */
  --radius-pill: 100px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Formale Grotesque', system-ui, sans-serif;
}

/* ========== Seite ========== */
.page {
  background-color: var(--color-bg);
  min-height: 100vh;
  width: 100%;
  position: relative;
  z-index: 0;
}

/* ========== Content-Block ========== */
.content {
  position: absolute;
  left: 250px;
  top: 150px;
  width: 624px;
  max-width: calc(100vw - 2 * 48px);
  padding: var(--space-xl) var(--space-2xl);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-xs);
  z-index: 1;
}

.map-background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  opacity: 1;
  pointer-events: none;
}

/* ========== "COMING SOON" Label ========== */
.label {
  font-family: 'PPPangramSansRounded Condensed', 'Formale Grotesque', sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: normal;
  color: var(--color-label);
  margin: 0;
  white-space: nowrap;
  letter-spacing: 0.08em;
}

/* ========== Hauptüberschrift ========== */
.headline-wrapper {
  font-family: 'Formale Grotesque', sans-serif;
  font-size: 48px;
  font-weight: 600;
  line-height: 1.1;
  color: var(--color-headline);
  margin: 0;
  max-width: none;
}

.headline {
  margin: 0 0 0.1em 0;
}

.headline-accent {
  font-weight: 700;
}

/* ========== Pills (Tags) ========== */
.pills {
  display: flex;
  flex-wrap: wrap;
  column-gap: 8px;
  row-gap: 6px;
  align-items: flex-start;
  padding: var(--space-xs) 0 2px 0;
  width: 460px;
  max-width: 100%;
  margin-bottom: 64px;
}

.pill-break {
  flex-basis: 100%;
  height: 0;
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 10px var(--space-sm);
  border: 1.5px solid var(--color-pill-border);
  border-radius: var(--radius-pill);
  background-color: #E3F1F2;
  font-family: 'Formale Grotesque', sans-serif;
  font-size: 11px;
  font-weight: 500;
  color: var(--color-headline);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  white-space: nowrap;
  line-height: 1;
}

/* ========== Unterüberschrift ========== */
.subheading {
  font-family: 'Formale Grotesque', sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: normal;
  color: var(--color-text);
  margin-top: 0;
  margin-bottom: 12px;
  white-space: nowrap;
}

@media (max-width: 600px) {
  .subheading {
    white-space: normal;
  }
}

/* ========== Button ========== */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md) 14px;
  background-color: #c4706a;
  background-image: linear-gradient(90deg, #c4706a 0%, #a85550 100%);
  color: var(--color-button-text);
  border-radius: 6px;
  text-decoration: none;
  font-family: 'Formale Grotesque', sans-serif;
  font-size: 14px;
  font-weight: 300;
  line-height: normal;
  white-space: nowrap;
  transition: filter 0.2s ease, transform 0.1s ease;
  cursor: pointer;
}

.button:hover {
  filter: brightness(0.93);
}

.button:active {
  transform: scale(0.98);
}

.button-text {
  margin-left: 0.25em;
}

/* ========== Kontakt: Überschrift (Typo wie Pills) ========== */
.contact-section-label {
  font-family: 'Formale Grotesque', sans-serif;
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
  color: #9a9e9f;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: 0 0 12px 0;
  padding: 0;
  width: 100%;
  box-sizing: border-box;
  white-space: nowrap;
}

/* ========== Kontakt: Container um die Karten ========== */
.contact-cards-shell {
  width: 100%;
  max-width: 100%;
  padding: 16px 12px 12px 12px; /* oben 16px; seitlich/unten wie Karten-Gap */
  background-color: #ffffff;
  border-radius: 16px; /* doppelter .contact-card border-radius (8px) */
  box-sizing: border-box;
}

/* ========== Kontaktkarten ========== */
.contact-cards {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  justify-content: flex-start;
  gap: 12px;
  width: 100%;
  max-width: 100%;
  margin-top: 0;
}

.contact-card {
  flex: 0 1 268px;
  max-width: 268px;
  min-width: 0;
  width: 100%;
  padding: var(--space-md) var(--space-lg);
  background-color: #efefef;
  border: none;
  border-radius: 8px;
  outline: none;
  font-family: 'Formale Grotesque', sans-serif;
  color: var(--color-headline);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: var(--space-sm);
}

.contact-card__name {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.25;
}

.contact-card__company {
  margin: 0;
  font-size: 9px;
  font-weight: 300;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text);
  white-space: nowrap;
}

/* Abstand + unten ausrichten: Wrapper mit margin-top auto, min. 24px oberhalb des Buttons */
.contact-card__actions {
  margin-top: auto;
  padding-top: 24px;
  width: 100%;
}

/* Kontakt-Buttons in Karten (gleicher Stil wie Haupt-Button) */
.button--card {
  width: 100%;
  max-width: 100%;
  justify-content: center;
  box-sizing: border-box;
}

.button--card.button--disabled {
  background-color: #b5b9bd;
  background-image: linear-gradient(90deg, #b5b9bd 0%, #9a9e9f 100%);
  cursor: default;
  pointer-events: none;
  filter: none;
}

.button--card.button--disabled:hover {
  background-color: #b5b9bd;
  background-image: linear-gradient(90deg, #b5b9bd 0%, #9a9e9f 100%);
  filter: none;
}

.button--card.button--disabled:active {
  transform: none;
}

.contact-card__links {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
}

.contact-card__links li {
  margin: 0 0 2px 0;
}

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

.contact-card__links a {
  color: var(--color-headline);
  text-decoration: none;
  word-break: break-word;
}

.contact-card__links a[href^='tel:'] {
  cursor: pointer;
}

.contact-card__links a:hover {
  text-decoration: underline;
}

.contact-card__links a.contact-card__link--website {
  color: #c4706a;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.contact-card__links a.contact-card__link--website:hover {
  color: #b3625c;
}

/* ========== Responsive ========== */
@media (max-width: 900px) {
  .content {
    left: 50%;
    transform: translateX(-50%);
    top: 60px;
    padding: var(--space-lg) var(--space-md);
  }

  .contact-cards {
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 12px;
    align-items: stretch;
  }

  .contact-card {
    flex: 1 1 100%;
    max-width: 100%;
    min-width: 100%;
  }

  .contact-card__company {
    white-space: normal;
  }
}

@media (max-width: 600px) {
  .page {
    min-height: 100vh;
  }

  .pill-break {
    display: none; /* Zeilenumbruch auf Mobile aufheben */
  }

  .headline-wrapper {
    font-size: 32px;
  }

  .headline {
    white-space: nowrap; /* nur Breaks via <br>, kein automatisches Umbruch-Wrapping */
  }

  .pills {
    width: 100%;
    column-gap: 8px;
    row-gap: 6px; /* gleiche Abstände zwischen allen Pill-Reihen */
  }

  .pill {
    font-size: 10px;
    padding: 8px 10px;
    height: 32px;
  }

  .contact-section-label {
    white-space: normal;
  }
}
