/* ==========================================================================
   Weidenbach Real Estate — Minimal Stylesheet
   ========================================================================== */

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

html {
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 1rem;
  line-height: 1.6;
  color: #111;
  background-color: #f7f6f3;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ==========================================================================
   Layout
   ========================================================================== */

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 4rem 1.5rem;
}

footer {
  padding: 2rem 1.5rem;
  text-align: center;
}

/* ==========================================================================
   Typography
   ========================================================================== */

h1 {
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  margin-bottom: 2rem;
}

.brand-name {
  font-size: 1.25rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

/* ==========================================================================
   Links
   ========================================================================== */

a {
  color: #111;
  text-decoration: none;
  border-bottom: 1px solid #111;
  transition: opacity 0.2s ease;
}

a:hover {
  opacity: 0.6;
}

a:focus {
  outline: 2px solid #111;
  outline-offset: 2px;
}

a:focus:not(:focus-visible) {
  outline: none;
}

a:focus-visible {
  outline: 2px solid #111;
  outline-offset: 2px;
}

.cta-link {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.footer-link {
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  opacity: 0.7;
}

.footer-link:hover {
  opacity: 0.5;
}

.back-link {
  display: inline-block;
  font-size: 0.875rem;
}

/* ==========================================================================
   Impressum Page
   ========================================================================== */

.impressum-page {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 3rem 1.5rem 5rem;
}

.impressum-nav {
  width: 100%;
  max-width: 28rem;
  text-align: center;
  margin-bottom: 2rem;
}

.impressum-container {
  width: 100%;
  max-width: 28rem;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.impressum-container h1,
.impressum-container p,
.impressum-container div {
  margin-left: 0;
  padding-left: 0;
}

.impressum-container h1 {
  margin-bottom: 2rem;
}

.impressum-primary {
  margin-bottom: 1.75rem;
  line-height: 1.7;
}

.impressum-section {
  margin-bottom: 1.25rem;
}

.impressum-section p {
  line-height: 1.55;
}

.impressum-label {
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #777;
  margin-bottom: 0.2rem;
}

.impressum-disclaimer {
  margin-top: 2.25rem;
  font-size: 0.75rem;
  color: #999;
  line-height: 1.5;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (min-width: 48rem) {
  main {
    padding: 6rem 2rem;
  }

  .brand-name {
    font-size: 1.5rem;
  }

  h1 {
    font-size: 1.75rem;
  }
}
