/* Stadtpunkt Apartments – Coming Soon
   Kompakte Landingpage-Version
   Datei als /styles.css speichern
*/

:root {
  --green-950: #022b13;
  --green-900: #053f1d;
  --green-800: #075528;
  --green-700: #087033;
  --green-100: #eaf3e7;
  --cream: #faf7ef;
  --cream-2: #f2eee3;
  --white: #ffffff;
  --text: #073718;
  --muted: #647064;
  --border: rgba(6, 69, 31, 0.18);
  --shadow: 0 26px 70px rgba(2, 43, 19, 0.18);
  --shadow-soft: 0 18px 50px rgba(2, 43, 19, 0.12);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --max: 1220px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background: var(--cream);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 9999;
  transform: translateY(-160%);
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--white);
  color: var(--green-900);
  font-weight: 800;
  box-shadow: var(--shadow-soft);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 4vw, 64px);
  color: var(--white);
  background: linear-gradient(180deg, rgba(2, 28, 13, 0.72), rgba(2, 28, 13, 0));
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
}

.brand strong {
  display: block;
  color: var(--white);
  font-size: clamp(1rem, 1.4vw, 1.35rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.28);
}

.brand small {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 900;
}

.top-nav a {
  color: var(--white);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.28);
}

.top-nav .nav-cta {
  color: var(--green-900);
  background: rgba(255, 255, 255, 0.95);
  padding: 12px 18px;
  border-radius: 999px;
  text-shadow: none;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.12);
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  min-height: 74svh;
  padding: 108px 24px 66px;
  overflow: hidden;
}

.hero-bg,
.hero-bg img,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-bg {
  z-index: -3;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.8) contrast(0.95);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(2, 37, 17, 0.78) 0%, rgba(2, 37, 17, 0.46) 38%, rgba(250, 247, 239, 0.94) 100%),
    radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0) 48%);
}

.hero-overlay {
  z-index: -1;
  background: rgba(2, 43, 19, 0.1);
  backdrop-filter: blur(1px);
}

.hero-content {
  width: min(100%, 920px);
  margin-inline: auto;
  padding: clamp(42px, 5.2vw, 68px) clamp(28px, 5vw, 72px);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(248, 249, 245, 0.86));
  box-shadow: var(--shadow);
  text-align: center;
  backdrop-filter: blur(10px);
}

.eyebrow {
  margin: 0 0 26px;
  color: var(--green-900);
  font-size: clamp(0.78rem, 1vw, 0.95rem);
  font-weight: 950;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

.hero-logo {
  width: clamp(76px, 8vw, 104px);
  height: clamp(76px, 8vw, 104px);
  margin: 0 auto 20px;
  border-radius: 999px;
  filter: drop-shadow(0 12px 24px rgba(2, 43, 19, 0.22));
}

.hero h1 {
  margin: 0 0 18px;
  color: var(--green-900);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.2rem, 6.5vw, 5.6rem);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: 0.035em;
  text-transform: uppercase;
  text-wrap: balance;
}

.subtitle {
  margin: 0 0 8px;
  color: var(--green-900);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.65rem, 2.8vw, 2.75rem);
  font-style: italic;
  line-height: 1.18;
  text-wrap: balance;
}

.claim {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.28rem);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 950;
  letter-spacing: -0.01em;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.btn-primary {
  color: var(--white);
  background: linear-gradient(180deg, var(--green-700), var(--green-900));
  box-shadow: 0 16px 34px rgba(6, 69, 31, 0.24);
}

.btn-secondary {
  color: var(--green-900);
  background: rgba(255, 255, 255, 0.72);
  border-color: var(--border);
}

.btn-light {
  color: var(--green-900);
  background: var(--white);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.14);
}

.notice-card {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  width: min(var(--max), calc(100% - 48px));
  margin: -34px auto 72px;
}

.notice-card article {
  min-height: 168px;
  padding: 34px 36px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(10px);
}

.card-label {
  display: block;
  margin-bottom: 12px;
  color: var(--green-700);
  font-size: 0.95rem;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.notice-card h2 {
  margin: 0 0 8px;
  color: var(--green-900);
  font-size: clamp(1.45rem, 2.4vw, 2.05rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.notice-card p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.content-section {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto 86px;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 34px;
}

.eyebrow.dark {
  margin-bottom: 12px;
  color: var(--green-700);
}

.section-heading h2,
.launch-section h2 {
  margin: 0 0 14px;
  color: var(--green-900);
  font-size: clamp(2rem, 4vw, 3.45rem);
  line-height: 1.04;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.section-heading p,
.launch-section p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.4vw, 1.22rem);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.feature {
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 12px 40px rgba(2, 43, 19, 0.08);
}

.icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border-radius: 999px;
  color: var(--white);
  background: var(--green-800);
  font-weight: 950;
}

.feature h3 {
  margin: 0 0 8px;
  color: var(--green-900);
  font-size: 1.25rem;
}

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

.launch-section {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 28px;
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto 72px;
  padding: clamp(34px, 5vw, 54px);
  border-radius: var(--radius-xl);
  color: var(--white);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0) 35%),
    linear-gradient(135deg, var(--green-900), var(--green-700));
  box-shadow: var(--shadow-soft);
}

.eyebrow.light {
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.82);
}

.launch-section h2,
.launch-section p {
  color: var(--white);
}

.launch-section p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.84);
}

.site-footer {
  padding: 34px 24px 42px;
  color: rgba(255, 255, 255, 0.84);
  background: linear-gradient(180deg, var(--green-900), var(--green-950));
  text-align: center;
}

.site-footer p {
  margin: 6px 0;
}

.site-footer strong {
  color: var(--white);
  font-size: 1.15rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--white);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-height: 900px) and (min-width: 900px) {
  .hero {
    min-height: 70svh;
    padding-top: 92px;
    padding-bottom: 52px;
  }

  .hero-content {
    width: min(100%, 820px);
    padding: 38px 56px 46px;
  }

  .eyebrow {
    margin-bottom: 18px;
  }

  .hero-logo {
    width: 76px;
    height: 76px;
    margin-bottom: 16px;
  }

  .hero h1 {
    font-size: clamp(3.6rem, 7.3vw, 5.9rem);
    margin-bottom: 14px;
  }

  .subtitle {
    font-size: clamp(1.45rem, 2.25vw, 2.1rem);
  }

  .claim {
    font-size: 1.05rem;
  }

  .hero-actions {
    margin-top: 24px;
  }

  .notice-card {
    margin-top: -30px;
  }
}

@media (max-width: 900px) {
  .site-header {
    padding: 16px 20px;
  }

  .brand img {
    width: 38px;
    height: 38px;
  }

  .brand strong {
    font-size: 0.98rem;
  }

  .brand small {
    font-size: 0.68rem;
  }

  .top-nav a:not(.nav-cta) {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 104px 18px 56px;
  }

  .hero-content {
    padding: 38px 24px 42px;
    border-radius: 28px;
  }

  .hero h1 {
    font-size: clamp(3.15rem, 14vw, 5rem);
  }

  .notice-card,
  .feature-grid,
  .launch-section {
    grid-template-columns: 1fr;
  }

  .notice-card {
    width: min(100% - 32px, 680px);
    margin-top: -22px;
    margin-bottom: 56px;
  }

  .launch-section {
    justify-items: start;
  }
}

@media (max-width: 560px) {
  .site-header {
    gap: 12px;
  }

  .brand {
    gap: 10px;
  }

  .brand strong {
    max-width: 190px;
    white-space: normal;
  }

  .top-nav .nav-cta {
    padding: 10px 14px;
    font-size: 0.9rem;
  }

  .hero {
    padding: 94px 14px 42px;
  }

  .hero-content {
    padding: 30px 18px 34px;
    border-radius: 24px;
  }

  .eyebrow {
    margin-bottom: 16px;
    font-size: 0.72rem;
    letter-spacing: 0.22em;
  }

  .hero-logo {
    width: 68px;
    height: 68px;
    margin-bottom: 14px;
  }

  .hero h1 {
    margin-bottom: 14px;
    font-size: clamp(2.65rem, 17vw, 4.1rem);
  }

  .subtitle {
    font-size: 1.42rem;
  }

  .claim {
    font-size: 0.98rem;
  }

  .hero-actions {
    gap: 10px;
    margin-top: 24px;
  }

  .btn {
    width: 100%;
    min-height: 50px;
  }

  .notice-card {
    width: calc(100% - 28px);
    gap: 14px;
    margin-top: -12px;
  }

  .notice-card article,
  .feature,
  .launch-section {
    padding: 24px;
    border-radius: 22px;
  }

  .notice-card h2 {
    overflow-wrap: anywhere;
  }

  .content-section,
  .launch-section {
    width: calc(100% - 28px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
