/*
Theme Name: CorpNews Child - Pier 48
Theme URI: https://pier48-bad-salzuflen.de
Description: Child-Theme für die Ferienwohnung Pier 48, Bad Salzuflen. HINWEIS: CorpNews ist selbst ein Child-Theme von MoreNews, deshalb muss unser Theme direkt auf "morenews" aufsetzen (WordPress erlaubt keine doppelt verschachtelten Child-Themes). Die CorpNews-spezifischen CSS-Anpassungen sind unten mit übernommen.
Author: Pier 48
Template: morenews
Version: 1.0
*/

/* ==========================================================
   0. Übernommene CorpNews-Anpassungen (da CorpNews selbst
   nicht mehr aktiv geladen wird, jetzt hier direkt gepflegt)
   ========================================================== */
div#main-navigation-bar {background: #F04901;}
.exclusive-posts .exclusive-now ,
.main-navigation .menu-description,
.read-img .trending-no,
.trending-posts-vertical .trending-no {
    background-color: #E44233;
}
.main-navigation .menu-description:after {border-top: 5px solid #E44233;}
.morenews-header div.custom-menu-link>a {background: #E44233;}
.aft-default-mode .entry-content>.wp-block-heading a:not(.has-link-color) {border-color: #F04901;}
.aft-default-mode .entry-content .wp-block-heading:not(.has-link-color):not(.wp-block-post-title) a,
.entry-content > p:not(.has-link-color) :is(a, a:visited){
    color: #F04901;
}
.af-cat-widget-carousel a.morenews-categories.category-color-1 {background-color: #E44233;}
a.morenews-categories.category-color-1 {color: #E44233;}
.af-cat-widget-carousel a.morenews-categories.category-color-2 {background-color: #FF7903;}
a.morenews-categories.category-color-2 {color: #FF7903;}
.af-cat-widget-carousel a.morenews-categories.category-color-3 {background-color: #F04901;}
a.morenews-categories.category-color-3 {color: #F04901;}
.aft-image-caption p {opacity: 1;}
footer.site-footer {background-color: #101010;}

/* ==========================================================
   1. Grundvariablen (aus dem index.html Mockup übernommen)
   ========================================================== */
:root{
  --petrol:#1F3A3D;
  --ink:#101B1D;
  --salt:#ECE8DE;
  --salt-2:#F5F3EC;
  --driftwood:#A9906F;
  --rope:#B5502E;
  --mist:#C9D6D3;
  --maxw:1120px;
}

/* ==========================================================
   2. Basis-Typografie
   Fraunces      -> Überschriften
   Work Sans     -> Fließtext
   IBM Plex Mono -> Eyebrows, Labels, technische Details
   (Die eigentlichen Google-Fonts werden in functions.php geladen)
   ========================================================== */
body{
  font-family:'Work Sans', sans-serif;
  background:var(--salt-2);
  color:var(--ink);
  line-height:1.55;
}
h1, h2, h3{
  font-family:'Fraunces', serif;
  font-weight:600;
  color:var(--petrol);
}
.mono{
  font-family:'IBM Plex Mono', monospace;
  letter-spacing:.08em;
}

/* ==========================================================
   3. Grundlegendes Reset & Wrapper
   ========================================================== */
*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
.pier48 .wrap{ max-width:var(--maxw); margin:0 auto; padding:0 28px; }
.pier48 a{ color:inherit; text-decoration:none; }
.pier48 section{ padding:96px 0; }

/* Pegelmarke: Signatur-Element (Strichraster) */
.pier48 .pegelmarke{ display:flex; align-items:flex-end; gap:8px; height:24px; margin:6px 0 0; }
.pier48 .pegelmarke span{ display:block; width:2px; background:var(--driftwood); }

/* ---------- Header ---------- */
.pier48 header.p48-header{
  position:sticky; top:0; z-index:50;
  background:rgba(245,243,236,.92); backdrop-filter:blur(6px);
  border-bottom:1px solid rgba(31,58,61,.12);
}
.pier48 .nav{ display:flex; align-items:center; justify-content:space-between; padding:16px 28px; max-width:var(--maxw); margin:0 auto; }
.pier48 .logo-lockup{ display:flex; align-items:center; gap:10px; }
.pier48 .logo-lockup img{ height:40px; width:auto; display:block; }
.pier48 .logo-lockup .name{ font-family:'Fraunces', serif; font-weight:600; font-size:20px; color:var(--petrol); }
.pier48 nav ul{ list-style:none; display:flex; gap:32px; margin:0; padding:0; }
.pier48 nav ul a{ font-size:14px; text-transform:uppercase; letter-spacing:.06em; color:var(--petrol); }
.pier48 nav ul a:hover{ color:var(--rope); }
.pier48 .btn{
  display:inline-block; padding:11px 22px; border-radius:2px;
  font-family:'IBM Plex Mono', monospace; font-size:13px; letter-spacing:.06em;
  text-transform:uppercase; border:1px solid var(--petrol); transition:.2s;
}
.pier48 .btn-solid{ background:var(--petrol); color:var(--salt); }
.pier48 .btn-solid:hover{ background:var(--rope); border-color:var(--rope); }
.pier48 .btn-line{ border-color:var(--salt); color:var(--salt); }
.pier48 .btn-line:hover{ border-color:var(--rope); color:var(--rope); }
.pier48 .menu-toggle{ display:none; background:none; border:none; font-size:22px; color:var(--petrol); cursor:pointer; }

/* ---------- Hero ---------- */
.pier48 .hero{
  position:relative; background:var(--petrol); color:var(--salt);
  padding:96px 28px 0; overflow:hidden;
}
.pier48 .hero-inner{ max-width:var(--maxw); margin:0 auto; position:relative; z-index:2; }
.pier48 .eyebrow{ font-family:'IBM Plex Mono', monospace; font-size:13px; letter-spacing:.18em; color:var(--mist); text-transform:uppercase; }
.pier48 .hero h1{ color:var(--salt); font-size:clamp(42px,7vw,84px); line-height:1.02; margin:18px 0 22px; }
.pier48 .hero h1 em{ font-style:normal; color:var(--rope); }
.pier48 .hero p.lead{ max-width:520px; font-size:18px; color:var(--mist); margin-bottom:34px; }
.pier48 .hero-ctas{ display:flex; gap:16px; margin-bottom:70px; flex-wrap:wrap; }
.pier48 .pier-illustration{ position:relative; height:150px; }
.pier48 .pier-illustration svg{ position:absolute; bottom:0; left:0; width:100%; height:100%; }

/* ---------- Section shell ---------- */
.pier48 .section-head{ max-width:640px; margin-bottom:52px; }
.pier48 .section-head .eyebrow{ color:var(--rope); }
.pier48 .section-head h2{ font-size:clamp(30px,4vw,44px); margin:14px 0 16px; }
.pier48 .section-head p{ color:#3d4f50; font-size:16px; }

/* ---------- Ankommen ---------- */
.pier48 .ankommen{ display:grid; grid-template-columns:1.1fr .9fr; gap:64px; align-items:start; }
.pier48 .log-entry{ display:flex; gap:18px; padding:18px 0; border-top:1px solid rgba(31,58,61,.15); }
.pier48 .log-entry:last-child{ border-bottom:1px solid rgba(31,58,61,.15); }
.pier48 .log-entry .time{ font-family:'IBM Plex Mono', monospace; font-size:13px; color:var(--rope); min-width:78px; padding-top:2px;}
.pier48 .log-entry .desc h4{ font-family:'Work Sans'; font-weight:600; font-size:15px; margin-bottom:4px; }
.pier48 .log-entry .desc p{ font-size:14px; color:#3d4f50; }

.pier48 .pegelkarte{ background:var(--petrol); color:var(--salt); padding:36px 30px; border-radius:2px; }
.pier48 .pegelkarte h3{ color:var(--salt); font-size:22px; margin-bottom:10px; }
.pier48 .pegelkarte p{ color:var(--mist); font-size:14px; margin-bottom:22px; }
.pier48 .pegelkarte .pegelmarke span{ background:var(--rope); }

/* ---------- Ausstattung: manifest list ---------- */
.pier48 .manifest{ background:var(--salt); padding:96px 0; }
.pier48 .manifest-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:0 60px; }
.pier48 .manifest-item{ display:flex; gap:14px; padding:14px 0; border-bottom:1px dashed rgba(31,58,61,.25); }
.pier48 .manifest-item .ck{ font-family:'IBM Plex Mono', monospace; color:var(--rope); font-size:14px; }
.pier48 .manifest-item span.label{ font-size:15px; }

/* ---------- Lage ---------- */
.pier48 .ruhe-banner{
  display:flex; align-items:center; gap:22px; background:var(--salt);
  border:1px solid rgba(31,58,61,.15); border-radius:2px; padding:24px 28px; margin-bottom:36px;
}
.pier48 .tempo-badge{
  flex:none; width:58px; height:58px; border-radius:50%; border:3px solid var(--rope);
  display:flex; align-items:center; justify-content:center; font-size:20px; font-weight:500; color:var(--petrol);
  background:#fff;
}
.pier48 .ruhe-banner h4{ font-family:'Work Sans'; font-weight:600; font-size:15px; margin-bottom:4px; color:var(--petrol); }
.pier48 .ruhe-banner p{ font-size:13px; color:#3d4f50; max-width:520px; }

.pier48 .lage-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }
.pier48 .lage-card{ border:1px solid rgba(31,58,61,.18); padding:24px 22px; border-radius:2px; background:#fff; }
.pier48 .lage-card .dist{ font-family:'IBM Plex Mono', monospace; font-size:26px; color:var(--petrol); font-weight:500; }
.pier48 .lage-card .unit{ font-family:'IBM Plex Mono', monospace; font-size:11px; color:var(--rope); letter-spacing:.06em; }
.pier48 .lage-card h4{ font-family:'Work Sans'; font-weight:600; margin:10px 0 6px; font-size:15px; }
.pier48 .lage-card p{ font-size:13px; color:#3d4f50; }

/* ---------- Galerie ---------- */
.pier48 .galerie{ background:var(--salt); }
.pier48 .galerie-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:14px; }
.pier48 .galerie-item{
  aspect-ratio:3/4; border-radius:2px; position:relative; overflow:hidden;
  display:flex; align-items:flex-end; padding:16px; color:var(--salt);
}
.pier48 .galerie-item span{ font-family:'IBM Plex Mono', monospace; font-size:12px; letter-spacing:.06em; position:relative; z-index:2; }
.pier48 .galerie-item::after{ content:""; position:absolute; inset:0; background:linear-gradient(180deg, transparent 40%, rgba(16,27,29,.65) 100%); }
.pier48 .g1{ background:linear-gradient(160deg,#2c4d50,#1F3A3D); }
.pier48 .g2{ background:linear-gradient(160deg,#c9b896,#A9906F); }
.pier48 .g3{ background:linear-gradient(160deg,#3d5f62,#1F3A3D); }
.pier48 .g4{ background:linear-gradient(160deg,#c46943,#B5502E); }

/* ---------- Booking CTA ---------- */
.pier48 .buchen{ background:var(--petrol); color:var(--salt); text-align:center; }
.pier48 .buchen h2{ color:var(--salt); font-size:clamp(30px,5vw,52px); max-width:640px; margin:0 auto 16px; }
.pier48 .buchen p{ color:var(--mist); max-width:480px; margin:0 auto 34px; }
.pier48 .buchen .btn-solid{ background:var(--rope); border-color:var(--rope); }
.pier48 .buchen .btn-solid:hover{ background:var(--salt); color:var(--petrol); border-color:var(--salt); }

/* ---------- Footer ---------- */
.pier48 footer.p48-footer{ padding:56px 0 40px; background:var(--ink); color:var(--mist); }
.pier48 .footer-logo{ height:32px; width:auto; margin-bottom:14px; }
.pier48 .footer-grid{ display:flex; justify-content:space-between; flex-wrap:wrap; gap:32px; margin-bottom:36px; }
.pier48 .footer-col h5{ font-family:'IBM Plex Mono', monospace; font-size:12px; letter-spacing:.1em; text-transform:uppercase; color:var(--driftwood); margin-bottom:12px; }
.pier48 .footer-col p, .pier48 .footer-col a{ font-size:14px; display:block; margin-bottom:6px; color:var(--mist); }
.pier48 .footer-bottom{ border-top:1px solid rgba(236,232,222,.15); padding-top:22px; font-size:12px; color:#7d8e8e; font-family:'IBM Plex Mono', monospace; }

/* ---------- Responsive ---------- */
@media (max-width:860px){
  .pier48 nav ul, .pier48 .hero-ctas .btn-line{ display:none; }
  .pier48 .menu-toggle{ display:block; }
  .pier48 .ankommen{ grid-template-columns:1fr; }
  .pier48 .manifest-grid{ grid-template-columns:1fr; }
  .pier48 .lage-grid{ grid-template-columns:1fr 1fr; }
  .pier48 .ruhe-banner{ flex-direction:column; align-items:flex-start; text-align:left; }
  .pier48 .galerie-grid{ grid-template-columns:repeat(2,1fr); }
}
