/* Pension Elisabeth – style.css
   Regeln in bestehender Reihenfolge belassen, um die Darstellung zu erhalten. */

* {
  box-sizing:border-box
}

html {
  scroll-behavior:smooth
}

body {
  margin:0;
  background:#faf9f0;
  color:#333;
  font:16px/1.5 Arial,Helvetica,sans-serif
}

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

.header {
  height:78px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 4.5%;
  background:#fffdf8;
  position:relative;
  z-index:10
}

.brand {
  width:160px;
  align-self:flex-start
}

.brand img {
  display:block;
  width:100%;
  border-radius:5px
}

.nav {
  display:flex;
  align-items:center;
  gap:29px;
  font-size:14px
}

.nav>a:not(.btn) {
  padding:12px 0
}

.nav .active {
  color:#861d24;
  font-weight:700;
  border-bottom:2px solid #861d24
}

.btn {
  display:inline-block;
  background:#861d24;
  color:#fff;
  border-radius:5px;
  padding:11px 19px;
  font-weight:700
}

.menu-toggle {
  display:none
}

.hero {
  position:relative;
  width:100%;
  height:min(42vw,540px);
  min-height:280px;
  overflow:hidden
}

.slides,.slide {
  position:absolute;
  inset:0;
  width:100%;
  height:100%
}

.slide {
  object-fit:cover;
  object-position:center;
  opacity:0;
  transition:opacity 1s ease
}

.slide.is-active {
  opacity:1
}

.slide-arrow {
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  border:0;
  background:#761c26b9;
  color:#fff;
  font-size:35px;
  width:45px;
  height:55px;
  cursor:pointer
}

.prev {
  left:0
}

.next {
  right:0
}

.dots {
  position:absolute;
  bottom:14px;
  left:0;
  right:0;
  display:flex;
  justify-content:center;
  gap:8px
}

.dots button {
  height:9px;
  width:9px;
  border-radius:50%;
  border:1px solid white;
  background:#ffffff80;
  cursor:pointer;
  padding:0
}

.dots button.active {
  background:#fff
}

.welcome {
  text-align:center;
  padding:12px 16px 22px;
  position:relative
}

.welcome h1 {
  font:700 clamp(36px,5vw,62px)/1.15 Georgia,serif;
  color:#871c25;
  margin:0 0 6px
}

.welcome h2 {
  font:italic clamp(24px,3vw,39px) Georgia,serif;
  color:#68843b;
  margin:0 0 15px
}

.welcome p {
  max-width:770px;
  margin:0 auto 10px;
  line-height:1.55
}

.signature {
  font:italic 20px Georgia,serif;
  color:#557334
}

.signature strong {
  font-size:27px;
  font-weight:400
}

.accommodations {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
  padding:0 16px
}

.stay {
  display:grid;
  grid-template-columns:62% 38%;
  min-height:218px;
  border-radius:12px;
  overflow:hidden;
  background:#f5f0e5
}

.stay-photo {
  background:linear-gradient(135deg,#e7ddca,#cfc6b5);
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  color:#675f56;
  padding:20px;
  font-size:13px
}

.stay-info {
  padding:15px 10px;
  text-align:center;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center
}

.line-icon {
  font-size:31px;
  color:#8b1c24;
  line-height:1
}

.stay-info h3 {
  font:700 23px/1.05 Georgia,serif;
  color:#871c25;
  margin:8px 0
}

.stay-info p {
  margin:0 0 13px;
  line-height:1.3;
  font-size:14px
}

.btn.small {
  font-size:12px;
  padding:8px 10px
}

.features {
  max-width:950px;
  margin:20px auto 25px;
  display:grid;
  grid-template-columns:repeat(3,1fr)
}

.features>div {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:16px;
  line-height:1.25;
  border-right:1px solid #d6cfbb
}

.features>div:last-child {
  border:0
}

.features span {
  font-size:42px;
  color:#87a137
}

.holiday {
  padding:0 3% 52px
}

.holiday>h2 {
  text-align:center;
  font:italic clamp(27px,3.5vw,42px) Georgia,serif;
  color:#617d35;
  margin:12px 0 24px
}

.holiday-content {
  display:grid;
  grid-template-columns:3.3fr 1fr;
  gap:24px;
  max-width:1250px;
  margin:auto
}

.tiles {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:12px
}

.tile {
  height:190px;
  position:relative;
  border-radius:6px;
  overflow:hidden;
  background:linear-gradient(#b5d3e8,#d9e2e9);
  display:flex;
  align-items:flex-end;
  justify-content:center
}

.tile img {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover
}

.tile span {
  position:relative;
  background:#414141a3;
  color:white;
  text-align:center;
  width:100%;
  font:22px Georgia,serif;
  padding:7px
}

.tile small {
  position:absolute;
  top:12px;
  color:#344;
  padding:10px
}

.hochschwarzwald {
  text-align:center;
  border-left:1px solid #d5d0c4;
  padding:0 10px
}

.card-mark {
  display:inline-block;
  background:#b71d24;
  color:white;
  transform:rotate(-7deg);
  font:bold italic 43px Georgia,serif;
  padding:8px 12px;
  margin:10px 0 18px;
  border-radius:5px
}

.hochschwarzwald h3 {
  font:700 20px Georgia,serif;
  color:#8b1c24;
  margin:0 0 8px
}

.hochschwarzwald p {
  font-size:14px;
  margin:0 0 12px
}

.hochschwarzwald a {
  border:1px solid #68843b;
  border-radius:20px;
  padding:6px 15px;
  color:#56762d;
  font-size:13px
}

.footer {
  background:#801d26;
  color:white;
  padding:37px 4% 28px;
  position:relative
}

.footer:before {
  content:"";
  position:absolute;
  left:0;
  right:0;
  top:-20px;
  height:25px;
  background:#a95459;
  clip-path:polygon(0 85%,8% 70%,15% 0,25% 65%,39% 20%,51% 75%,64% 45%,78% 20%,90% 70%,100% 55%,100% 100%,0 100%)
}

.footer-inner {
  display:grid;
  grid-template-columns:190px 1.1fr 1.6fr .8fr;
  gap:22px;
  align-items:center;
  max-width:1250px;
  margin:auto;
  font-size:13px
}

.footer img {
  width:150px
}

.footer-links {
  display:flex;
  flex-direction:column;
  gap:3px;
  border-left:1px solid #ffffff7d;
  padding-left:20px
}

.footer a {
  overflow-wrap:anywhere
}

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

  .nav {
    gap:12px;
    font-size:12px
  }

  .brand {
    width:135px
  }

  .stay {
    grid-template-columns:1fr
  }

  .stay-photo {
    min-height:170px
  }

  .holiday-content {
    grid-template-columns:1fr
  }

  .hochschwarzwald {
    border-left:0;
    border-top:1px solid #ddd;
    padding:20px
  }

  .footer-inner {
    grid-template-columns:1fr 1fr
  }

}

@media(max-width:650px) {
  .header {
    height:74px
  }

  .brand {
    width:115px
  }

  .menu-toggle {
    display:block;
    border:0;
    background:#801d26;
    color:white;
    border-radius:5px;
    padding:9px
  }

  .nav {
    display:none;
    position:absolute;
    top:74px;
    left:0;
    right:0;
    background:#fffdf8;
    padding:15px;
    box-shadow:0 10px 20px #0002;
    flex-direction:column;
    align-items:stretch
  }

  .nav.open {
    display:flex
  }

  .hero {
    height:58vw;
    min-height:230px
  }

  .welcome {
    padding-top:24px
  }

  .desktop {
    display:none
  }

  .accommodations {
    grid-template-columns:1fr
  }

  .stay {
    grid-template-columns:58% 42%
  }

  .stay-photo {
    min-height:190px
  }

  .features {
    gap:4px
  }

  .features>div {
    flex-direction:column;
    text-align:center;
    gap:4px;
    font-size:12px
  }

  .features span {
    font-size:30px
  }

  .tiles {
    grid-template-columns:1fr 1fr
  }

  .tile {
    height:160px
  }

  .tile:last-child {
    grid-column:span 2
  }

  .footer-inner {
    grid-template-columns:1fr;
    gap:16px
  }

  .footer-links {
    border:0;
    padding:0
  }

}

@media(prefers-reduced-motion:reduce) {
  .slide {
    transition:none
  }

  html {
    scroll-behavior:auto
  }

}

/* Originalschriften der Pension Elisabeth – lokal eingebunden */ @font-face {
  font-family:Oswald;
  src:url('assets/fonts/oswald-200.woff2') format('woff2');
  font-weight:200;
  font-display:swap
}

@font-face {
  font-family:Oswald;
  src:url('assets/fonts/oswald-300.woff2') format('woff2');
  font-weight:300;
  font-display:swap
}

@font-face {
  font-family:Oswald;
  src:url('assets/fonts/oswald-400.woff2') format('woff2');
  font-weight:400;
  font-display:swap
}

@font-face {
  font-family:'PT Sans Narrow';
  src:url('assets/fonts/pt-sans-narrow.woff2') format('woff2');
  font-weight:400;
  font-display:swap
}

@font-face {
  font-family:'Amatic SC';
  src:url('assets/fonts/amatic-400.ttf') format('truetype');
  font-weight:400;
  font-display:swap
}

@font-face {
  font-family:'Amatic SC';
  src:url('assets/fonts/amatic-700.ttf') format('truetype');
  font-weight:700;
  font-display:swap
}

@font-face {
  font-family:'Bad Script';
  src:url('assets/fonts/bad-script.ttf') format('truetype');
  font-weight:400;
  font-display:swap
}

@font-face {
  font-family:'Caveat Brush';
  src:url('assets/fonts/caveat-brush.ttf') format('truetype');
  font-weight:400;
  font-display:swap
}

body {
  font-family:Oswald,'PT Sans Narrow',sans-serif;
  font-weight:300;
  font-size:17px
}

.nav {
  font-family:Oswald,sans-serif;
  font-weight:400;
  letter-spacing:.35px
}

.welcome h1 {
  font-family:Oswald,sans-serif;
  font-weight:400;
  font-style:normal;
  letter-spacing:1px
}

.welcome h2 {
  font-family:'Amatic SC',sans-serif;
  font-weight:700;
  font-style:normal;
  font-size:clamp(36px,4.4vw,59px);
  color:#86a66b
}

.welcome p {
  font-family:Oswald,sans-serif;
  font-weight:300;
  font-size:18px
}

.welcome .signature {
  font-family:'Bad Script',cursive;
  font-weight:400;
  font-style:normal;
  color:#72955c;
  font-size:21px
}

.welcome .signature strong {
  font-family:'Bad Script',cursive;
  font-weight:400;
  font-size:26px
}

.stay-info h3 {
  font-family:Oswald,sans-serif;
  font-weight:400;
  font-style:normal;
  letter-spacing:.3px
}

.stay-info p,.features,.hochschwarzwald p {
  font-family:Oswald,sans-serif;
  font-weight:300
}

.holiday>h2 {
  font-family:'Amatic SC',sans-serif;
  font-weight:700;
  font-style:normal;
  font-size:clamp(38px,5vw,59px);
  color:#86a66b
}

.tile span {
  font-family:'Caveat Brush',cursive;
  font-size:28px
}

.hochschwarzwald h3 {
  font-family:Oswald,sans-serif;
  font-weight:400
}

.hochschwarzwald a,.btn {
  font-family:Oswald,sans-serif;
  font-weight:400
}

.footer-inner {
  font-family:'PT Sans Narrow',sans-serif;
  font-size:16px
}

/* Begrüßungszeile in der ursprünglichen klaren Oswald-Schrift */ .welcome .signature .signature-intro {
  font-family:Oswald,sans-serif;
  font-style:normal;
  font-weight:300;
  font-size:21px;
  letter-spacing:.4px
}

/* Begruessungszeile: exakt wie der unmittelbar davorstehende Fliesstext */ .welcome .signature .signature-intro {
  font-family:Oswald,sans-serif;
  font-size:18px;
  font-weight:300;
  font-style:normal;
  letter-spacing:normal;
  line-height:1.55;
  color:#333
}

/* Fixierte, beim Scrollen kompakter werdende Navigation */ html {
  scroll-padding-top:95px
}

.header {
  position:sticky;
  top:0;
  z-index:1000;
  height:92px;
  box-shadow:0 3px 9px rgba(32,28,24,.13);
  transition:height .3s ease,box-shadow .3s ease;
  isolation:isolate
}

.header.is-scrolled {
  height:60px;
  box-shadow:0 4px 13px rgba(32,28,24,.19)
}

.header .brand {
  position:relative;
  align-self:center;
  width:170px;
  height:75px;
  flex-shrink:0;
  transition:width .3s ease,height .3s ease
}

.header .brand img {
  position:absolute;
  top:50%;
  left:0;
  transform:translateY(-50%);
  max-height:100%;
  width:100%;
  object-fit:contain;
  object-position:left center;
  transition:opacity .22s ease
}

.header .brand .brand-large {
  opacity:1
}

.header .brand .brand-small {
  opacity:0
}

.header.is-scrolled .brand {
  width:142px;
  height:47px
}

.header.is-scrolled .brand .brand-large {
  opacity:0
}

.header.is-scrolled .brand .brand-small {
  opacity:1
}

@media(max-width:900px) {
  .header .brand {
    width:145px;
    height:68px
  }

  .header.is-scrolled .brand {
    width:125px;
    height:43px
  }

}

@media(max-width:650px) {
  .header {
    height:76px
  }

  .header.is-scrolled {
    height:58px
  }

  .header .brand {
    width:122px;
    height:61px
  }

  .header.is-scrolled .brand {
    width:107px;
    height:38px
  }

  .header .nav {
    top:100%;
  }

  .header.is-scrolled .nav {
    top:100%
  }

}

@media(prefers-reduced-motion:reduce) {
  .header,.header .brand,.header .brand img {
    transition:none
  }

}

.stay-photo {
  padding:0!important
}

.stay-photo img {
  width:100%;
  height:100%;
  object-fit:cover;
  display:block
}

/* Einheitliche Oswald-Strichstaerke wie auf Unterkuenfte */ .welcome h1 {
  font-weight:300
}

/* Anchor offset for fixed navigation */ #ferienwohnungen  {
  scroll-margin-top: 110px;
}

@media (max-width: 700px)  {
  #ferienwohnungen  {
    scroll-margin-top: 80px;
  }

}

/* Stabile Navigation: kein Breitenwechsel durch aktive Links oder Scrollbalken. */ html  {
  scrollbar-gutter: stable;
}

@media (min-width: 651px)  {
  .header .nav  {
    flex-wrap: nowrap;
    white-space: nowrap;
  }

  .header .nav > a  {
    flex-shrink: 0;
  }

}

.header .nav > a:not(.btn)  {
  border-bottom: 2px solid transparent;
}

.header .nav > a.active:not(.btn)  {
  font-weight: 400;
  border-bottom-color: #861d24;
}

/* Einheitliche Menueabstaende auf Startseite und allen Unterseiten */ @media (min-width: 901px)  {
  .header .nav  {
    gap: 22px;
  }

}

@media (min-width: 651px) and (max-width: 900px)  {
  .header .nav  {
    gap: 12px;
  }

}

.header .nav > a  {
  letter-spacing: .35px;
}

/* Einheitliche, etwas groessere Navigationsschrift und mobiles Menue */ @media (min-width: 901px)  {
  .header .nav  {
    display:flex;
    font-size:16px;
    gap:20px;
  }

  .header .menu-toggle  {
    display:none;
  }

}

@media (max-width: 900px)  {
  .header .menu-toggle  {
    display:block;
    flex-shrink:0;
    border:0;
    background:#801d26;
    color:white;
    border-radius:5px;
    padding:10px 14px;
    font:500 16px Oswald,sans-serif;
    cursor:pointer;
  }

  .header .nav  {
    display:none;
    position:absolute;
    top:100%;
    left:0;
    right:0;
    background:#fffdf8;
    padding:12px 22px 18px;
    box-shadow:0 10px 20px #0002;
    flex-direction:column;
    align-items:stretch;
    gap:0;
    white-space:normal;
    font-size:17px;
    z-index:30;
  }

  .header .nav.open  {
    display:flex;
  }

  .header .nav > a  {
    padding:10px 6px;
  }

  .header .nav > a.btn  {
    text-align:center;
    margin-top:8px;
  }

}

/* Navigation: einheitliches Hover- und Tastatur-Feedback */ .header .nav > a:not(.btn)  {
  transition: color .18s ease, border-color .18s ease;
}

.header .nav > a:not(.btn):hover, .header .nav > a:not(.btn):focus-visible  {
  color:#861d24;
  border-bottom-color:#861d24;
}

.header .nav > a.btn  {
  transition: background-color .18s ease;
}

.header .nav > a.btn:hover, .header .nav > a.btn:focus-visible  {
  background-color:#a83a43;
}

.header .menu-toggle:hover, .header .menu-toggle:focus-visible  {
  background-color:#a83a43;
}

/* Originalgrafik der Hochschwarzwald Card auf der Startseite */
.hochschwarzwald .card-mark { display:block; background:transparent; transform:none; padding:0; margin:0 0 14px; border-radius:0; }
.hochschwarzwald .card-mark img { display:block; width:100%; max-width:290px; height:auto; object-fit:contain; }

/* Sanfte Schwarzwald-Hoehen statt alpinem Bergsymbol */
.features .huegel-icon{display:inline-flex;align-items:center;justify-content:center;width:48px;height:42px;color:#87a137;flex-shrink:0}
.features .huegel-icon svg{width:100%;height:100%;display:block}
@media(max-width:700px){.features .huegel-icon{width:37px;height:33px}}

/* Startseite: ruhige, gerade Beschriftung der drei Vorschaubilder */
.holiday .tiles .tile span {
  font-family: 'Oswald', sans-serif;
  font-weight: 300;
  font-size: 23px;
  line-height: 1.35;
  letter-spacing: .025em;
  text-transform: none;
  text-shadow: 0 1px 3px rgba(0,0,0,.45);
}

/* Sanfter Mouseover-Effekt auf den drei Vorschaukacheln der Startseite */
.holiday .tiles .tile { transition: box-shadow .28s ease, transform .28s ease; }
.holiday .tiles .tile img { transition: transform .42s ease, filter .42s ease; }
@media (hover:hover) and (pointer:fine) {
  .holiday .tiles .tile:hover { box-shadow: 0 7px 18px rgba(30,40,25,.17); transform: translateY(-2px); }
  .holiday .tiles .tile:hover img { transform: scale(1.045); filter: brightness(1.045); }
}
@media (prefers-reduced-motion:reduce) {
  .holiday .tiles .tile, .holiday .tiles .tile img { transition: none; }
}
