/* ============================================================
   Paul & Partner — Web Stylesheet
   Designed nach Vorbild der bestehenden Justimmo-Site.
   CI-konform laut Brand Manual (Stand April 2020).
   Schriften lokal gehostet (PT Sans, OFL-lizenziert).
   ============================================================ */

@font-face {
  font-family: 'PT Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/ptsans-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'PT Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/ptsans-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'PT Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/ptsans-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'PT Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/ptsans-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* CI-Farben aus Brand Manual */
:root {
  --pp-seewind: #64AFC3;
  --pp-nacht:   #00233C;
  --pp-licht:   #D5E2E9;
  --pp-azurro:  #005A7D;
  --pp-weiss:   #FFFFFF;
  --footer-bg:  #00233C;
  --footer-fg:  #FFFFFF;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; height: 100%; }
body {
  font-family: 'PT Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  font-weight: 400;
  color: var(--pp-nacht);
  background: var(--pp-weiss);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
}

/* ============================================================
   Topnav — wie Justimmo: weißer Header, Logo links, Menü rechts
   ============================================================ */
.topnav {
  background: var(--pp-weiss);
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  position: relative;
  z-index: 10;
}
.topnav .brand-link { display: block; line-height: 0; }
.topnav .brand-link img { height: 56px; width: auto; display: block; }
.topnav .nav-links { display: flex; gap: 2rem; align-items: center; }
.topnav .nav-links > a,
.topnav .nav-links > .dropdown > button {
  color: var(--pp-nacht);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem 0;
  font-family: inherit;
  transition: color 0.2s ease;
}
.topnav .nav-links > a:hover,
.topnav .nav-links > a:focus,
.topnav .nav-links > a.active,
.topnav .nav-links > .dropdown > button:hover,
.topnav .nav-links > .dropdown > button:focus {
  color: var(--pp-seewind);
}
.topnav .dropdown { position: relative; }
.topnav .dropdown > button .caret {
  display: inline-block;
  margin-left: 0.35rem;
  font-size: 0.7em;
  transform: translateY(-1px);
}
.topnav .dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 0.5rem;
  background: var(--pp-weiss);
  border: 1px solid rgba(0, 35, 60, 0.1);
  min-width: 200px;
  box-shadow: 0 4px 12px rgba(0, 35, 60, 0.08);
  list-style: none;
  padding: 0.5rem 0;
  margin-left: 0;
  margin-right: 0;
  display: none;
  z-index: 100;
}
.topnav .dropdown.open > .dropdown-menu,
.topnav .dropdown:hover > .dropdown-menu,
.topnav .dropdown:focus-within > .dropdown-menu {
  display: block;
}
.topnav .dropdown-menu li { margin: 0; }
.topnav .dropdown-menu a {
  display: block;
  padding: 0.6rem 1.25rem;
  color: var(--pp-nacht);
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  transition: background 0.15s ease, color 0.15s ease;
}
.topnav .dropdown-menu a:hover,
.topnav .dropdown-menu a:focus {
  background: var(--pp-licht);
  color: var(--pp-nacht);
}

@media (max-width: 600px) {
  .topnav { padding: 0.85rem 1.25rem; }
  .topnav .brand-link img { height: 42px; }
  .topnav .nav-links { gap: 1rem; }
  .topnav .nav-links > a,
  .topnav .nav-links > .dropdown > button { font-size: 0.78rem; letter-spacing: 0.06em; }
  .topnav .dropdown-menu { right: -1rem; }
}

/* ============================================================
   Startseite — Hero mit Wien-Bild, zentriertem Emblem & Text
   ============================================================ */
.page-home .hero {
  flex: 1 0 auto;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 88px - 280px);
  background-image: url('../img/hero-wien.webp');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  padding: 4rem 1.5rem;
  text-align: center;
  overflow: hidden;
}
.page-home .hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.10) 0%, rgba(255,255,255,0.50) 100%);
  pointer-events: none;
}
.page-home .hero-content { position: relative; z-index: 1; max-width: 900px; }
.page-home .hero-emblem {
  width: 160px;
  height: 160px;
  color: var(--pp-nacht);
  margin: 0 auto 2rem;
}
.page-home .hero-emblem svg { width: 100%; height: 100%; display: block; }
.page-home .hero h1 {
  font-size: clamp(1.6rem, 3.8vw, 2.5rem);
  font-weight: 400;
  color: var(--pp-nacht);
  letter-spacing: 0.01em;
  margin: 0 0 1.5rem;
  line-height: 1.25;
}
.page-home .hero-sub {
  font-size: clamp(0.95rem, 1.6vw, 1.1rem);
  color: var(--pp-nacht);
  line-height: 1.7;
  margin: 0;
  font-weight: 400;
}
.page-home .hero-sub strong {
  display: block;
  font-weight: 700;
}

@media (max-width: 600px) {
  .page-home .hero { min-height: calc(100vh - 72px - 360px); padding: 3rem 1.25rem; }
  .page-home .hero-emblem { width: 110px; height: 110px; margin-bottom: 1.5rem; }
}

/* ============================================================
   Pflicht-Seiten (Impressum / Datenschutz)
   ============================================================ */
.page-legal main {
  flex: 1 0 auto;
  max-width: 760px;
  width: 100%;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}
.page-legal h1 {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin: 0 0 2rem;
  color: var(--pp-nacht);
}
.page-legal h2 {
  font-size: 1rem;
  font-weight: 700;
  margin: 2rem 0 0.5rem;
  color: var(--pp-nacht);
  letter-spacing: 0.02em;
}
.page-legal p,
.page-legal address {
  font-size: 0.95rem;
  line-height: 1.7;
  font-style: normal;
  margin: 0 0 0.75rem;
  font-weight: 400;
}
.page-legal ul {
  font-size: 0.95rem;
  line-height: 1.7;
  padding-left: 1.25rem;
  margin: 0.5rem 0 1rem;
}
.page-legal li { margin-bottom: 0.4rem; }
.page-legal a {
  color: var(--pp-nacht);
  text-decoration: underline;
  text-decoration-color: var(--pp-seewind);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}
.page-legal a:hover,
.page-legal a:focus { text-decoration-color: var(--pp-nacht); }

/* ============================================================
   Footer — 4-Spaltig wie Justimmo, in PP Nacht
   ============================================================ */
footer.site {
  flex-shrink: 0;
  background: var(--footer-bg);
  color: var(--footer-fg);
  padding: 2.5rem 2rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.02em;
}
footer.site .footer-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
footer.site h2 {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin: 0 0 1rem;
  color: var(--footer-fg);
}
footer.site ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
footer.site li {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}
footer.site li::before {
  content: '\203A';   /* › */
  margin-right: 0.5rem;
  color: var(--footer-fg);
  opacity: 0.6;
}
footer.site a {
  color: var(--footer-fg);
  text-decoration: none;
  transition: opacity 0.2s ease;
}
footer.site a:hover,
footer.site a:focus { opacity: 0.75; }
footer.site .address-block {
  font-style: normal;
  line-height: 1.65;
  font-size: 0.9rem;
}
footer.site .address-block strong { display: block; margin-bottom: 0.5rem; }
footer.site .contact-block { line-height: 1.65; font-size: 0.9rem; }
footer.site .contact-block .row { margin-bottom: 0.35rem; }

@media (max-width: 900px) {
  footer.site .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 1.5rem;
  }
}
@media (max-width: 480px) {
  footer.site { padding: 2rem 1.25rem 1.25rem; }
  footer.site .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
}
