/* =========================================================
   BLOG · Smooth Holiday Living
   Verwendet identisches Design-System wie die Haupt-Seite
   ========================================================= */
:root {
  --lago:        #1F4F5C;
  --lago-deep:   #163844;
  --lago-mist:   #5A8FA0;
  --cream:       #F5EFE4;
  --cream-warm:  #EBE2D0;
  --cream-line:  #D7CAB0;
  --terracotta:  #C46945;
  --terracotta-deep: #A65431;
  --terracotta-soft: #E08F6F;
  --olive:       #7A8064;
  --olive-deep:  #555C45;
  --sand:        #D9C9AE;
  --stone:       #8E8779;
  --ink:         #1F2024;
  --maxw:        1240px;
  --pad-x:       clamp(20px, 4vw, 60px);
  --font-display: 'Cormorant Garamond', 'Garamond', 'Times New Roman', serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --easing:      cubic-bezier(0.22, 0.61, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
/* scroll-behavior:smooth global entfernt — verursacht Scroll-Hänger auf iOS Safari */
html, body { overflow-x: hidden; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
/* Verhindere dass lange Wörter (z.B. Toscolano-Maderno-Strings, lange Italian-Words)
   auf Mobile aus dem Viewport laufen */
h1, h2, h3, h4, p { overflow-wrap: break-word; word-wrap: break-word; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--terracotta);
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.eyebrow::before {
  content: '';
  width: 28px; height: 1px;
  background: var(--terracotta);
}
.italian {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  color: var(--olive);
  letter-spacing: 0.01em;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.005em;
  line-height: 1.1;
  color: var(--ink);
}

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 30px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.35s var(--easing);
}
.btn-primary {
  background: var(--terracotta);
  color: var(--cream);
}
.btn-primary:hover {
  background: var(--terracotta-deep);
  transform: translateY(-1px);
}
.btn-outline-dark {
  background: transparent;
  color: var(--ink);
  border-color: var(--cream-line);
}
.btn-outline-dark:hover {
  border-color: var(--terracotta);
  color: var(--terracotta);
}

/* Navigation */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--lago);
  padding: 18px 0;
  border-bottom: 1px solid rgba(155, 126, 71, 0.18);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.brand {
  color: var(--cream);
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  line-height: 1;
  text-decoration: none;
}
.brand-logo {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--cream);
}
.brand-logo svg { width: 100%; height: 100%; display: block; }
.brand-text { display: flex; flex-direction: column; }
.brand-mark {
  font-family: var(--font-display);
  font-size: 24px;
  font-style: italic;
  font-weight: 400;
}
.brand-sub {
  font-family: var(--font-body);
  font-size: 9px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--terracotta-soft);
  margin-top: 4px;
}
@media (max-width: 540px) {
  .brand { gap: 10px; }
  .brand-logo { width: 28px; height: 28px; }
}
.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  align-items: center;
}
.nav-links a {
  color: var(--cream);
  font-size: 13px;
  letter-spacing: 0.08em;
  padding: 6px 0;
  transition: color 0.3s var(--easing);
}
.nav-links a.active, .nav-links a:hover { color: var(--terracotta-soft); }
.lang-switch {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-left: 8px;
  padding-left: 18px;
  border-left: 1px solid rgba(245, 239, 228, 0.18);
}
.lang-switch a, .lang-switch span {
  color: rgba(245, 239, 228, 0.45);
  transition: color 0.3s var(--easing);
}
.lang-switch a:hover, .lang-switch .lang-current { color: var(--terracotta-soft); }

@media (max-width: 760px) {
  .nav-links li:not(.lang-switch) { display: none; }
  .lang-switch { margin: 0; padding: 0; border: 0; }
}

/* Blog Index — Hero + Grid */
.blog-hero {
  background: linear-gradient(180deg, var(--cream-warm) 0%, var(--cream) 100%);
  padding: clamp(70px, 10vw, 120px) 0 clamp(50px, 7vw, 80px);
  text-align: center;
  border-bottom: 1px solid var(--cream-line);
}
.blog-hero .eyebrow {
  justify-content: center;
  margin-bottom: 22px;
}
.blog-hero h1 {
  font-size: clamp(40px, 6vw, 76px);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.05;
  max-width: 16ch;
  margin: 0 auto;
}
.blog-hero .lead {
  font-size: clamp(17px, 1.5vw, 20px);
  color: var(--stone);
  max-width: 56ch;
  margin: 28px auto 0;
  line-height: 1.6;
}

.blog-grid {
  padding: clamp(60px, 8vw, 100px) 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 36px);
}
@media (max-width: 900px) { .blog-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .blog-grid { grid-template-columns: 1fr; } }

.blog-card {
  background: var(--cream-warm);
  border: 1px solid var(--cream-line);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.5s var(--easing), box-shadow 0.5s var(--easing);
}
.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 60px -25px rgba(31, 79, 92, 0.35);
}
.blog-card-image {
  aspect-ratio: 16 / 10;
  background: var(--sand);
  position: relative;
  overflow: hidden;
}
.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--easing);
}
.blog-card:hover .blog-card-image img {
  transform: scale(1.04);
}
.blog-card-body {
  padding: clamp(22px, 2.6vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}
.blog-card-cat {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--terracotta);
}
.blog-card h3 {
  font-size: clamp(20px, 1.9vw, 26px);
  font-weight: 500;
  letter-spacing: -0.005em;
  line-height: 1.2;
}
.blog-card-desc {
  font-size: 14px;
  color: var(--stone);
  line-height: 1.7;
  flex: 1;
}
.blog-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terracotta);
  font-weight: 500;
  margin-top: 6px;
}
.blog-card:hover .blog-card-cta .arrow { transform: translateX(4px); }
.blog-card-cta .arrow { transition: transform 0.35s var(--easing); }

/* Article Page */
.article-hero {
  position: relative;
  height: 65vh;
  min-height: 460px;
  background: var(--lago);
  color: var(--cream);
  overflow: hidden;
}
.article-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.75;
}
.article-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,28,36,0.4) 0%, rgba(15,28,36,0.8) 100%);
}
.article-hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: clamp(40px, 6vw, 70px);
}
.article-hero-content .eyebrow {
  color: var(--terracotta-soft);
  margin-bottom: 24px;
}
.article-hero-content .eyebrow::before { background: var(--terracotta-soft); }
.article-hero h1 {
  color: var(--cream);
  font-size: clamp(34px, 5.4vw, 64px);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.05;
  max-width: 22ch;
}
.article-meta {
  display: flex;
  gap: 24px;
  margin-top: 24px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(245, 239, 228, 0.7);
  flex-wrap: wrap;
}
.article-meta span::before {
  content: '·';
  margin-right: 24px;
  color: var(--terracotta-soft);
}
.article-meta span:first-child::before { content: none; }

.article-body {
  padding: clamp(60px, 8vw, 100px) 0;
  max-width: 760px;
  margin: 0 auto;
}
.article-body p,
.article-body ul,
.article-body ol {
  font-size: 17px;
  line-height: 1.8;
  color: var(--ink);
  margin-bottom: 24px;
}
.article-body p.lead {
  font-size: clamp(19px, 1.6vw, 22px);
  font-weight: 300;
  line-height: 1.55;
  color: var(--stone);
  margin-bottom: 40px;
  border-left: 2px solid var(--terracotta);
  padding-left: 22px;
}
.article-body h2 {
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 400;
  margin: 56px 0 20px;
  letter-spacing: -0.015em;
}
.article-body h2 .italian {
  color: var(--terracotta);
}
.article-body h3 {
  font-size: clamp(22px, 2.2vw, 26px);
  font-weight: 500;
  margin: 36px 0 12px;
}
.article-body ul, .article-body ol {
  padding-left: 24px;
}
.article-body li {
  margin-bottom: 10px;
}
.article-body strong {
  color: var(--ink);
  font-weight: 600;
}
.article-body em {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--olive-deep);
}
.article-body a {
  color: var(--terracotta);
  border-bottom: 1px solid currentColor;
  transition: color 0.3s var(--easing);
}
.article-body a:hover { color: var(--terracotta-deep); }
.article-body figure {
  margin: 40px -40px;
  text-align: center;
}
.article-body figcaption {
  font-size: 13px;
  color: var(--stone);
  margin-top: 10px;
  font-style: italic;
}
@media (max-width: 760px) {
  .article-body figure { margin: 40px 0; }
}

/* Article footer CTA — back to apartments */
.article-cta {
  background: var(--lago);
  color: var(--cream);
  padding: clamp(60px, 8vw, 100px) 0;
  text-align: center;
}
.article-cta .eyebrow {
  color: var(--terracotta-soft);
  margin-bottom: 22px;
  justify-content: center;
}
.article-cta .eyebrow::before { background: var(--terracotta-soft); }
.article-cta h2 {
  color: var(--cream);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 400;
  max-width: 24ch;
  margin: 0 auto 32px;
  line-height: 1.15;
}
.article-cta .italian { color: var(--terracotta-soft); }
.article-cta .btn-primary {
  background: var(--terracotta);
  border-color: var(--terracotta);
}
.article-cta .btn-primary:hover {
  background: var(--terracotta-deep);
}

/* Footer */
.footer {
  background: var(--lago-deep);
  color: rgba(245, 239, 228, 0.6);
  padding: 60px 0 28px;
  border-top: 1px solid rgba(196, 105, 69, 0.15);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  font-size: 13px;
}
.footer a { color: rgba(245, 239, 228, 0.7); transition: color 0.3s var(--easing); }
.footer a:hover { color: var(--terracotta-soft); }
.footer .brand-mark { color: var(--cream); font-size: 22px; }
.footer .brand-sub { color: var(--terracotta-soft); }
.footer-bottom {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid rgba(245, 239, 228, 0.08);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 11px;
  color: rgba(245, 239, 228, 0.45);
  letter-spacing: 0.04em;
}
