/*
Theme Name: Haus & Löwe
Theme URI: https://hausloewe.dk/
Author: Haus & Löwe
Description: Et eksklusivt, responsivt WordPress-tema til Haus & Löwe ApS med projektkategorier og referenceprojekter.
Version: 1.6.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: haus-lowe
*/
:root{--ink:#171715;--ink-2:#24231f;--paper:#f4f0e8;--white:#fffdf8;--copper:#bd7446;--muted:#77736b;--line:rgba(23,23,21,.15);--serif:Georgia,'Times New Roman',serif;--sans:Arial,Helvetica,sans-serif;--max:1240px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--sans);font-size:16px;line-height:1.65}img{max-width:100%;height:auto;display:block}a{color:inherit;text-decoration:none}a:hover{color:var(--copper)}.container{width:min(var(--max),calc(100% - 48px));margin-inline:auto}.site-header{position:relative;z-index:10;background:var(--ink);color:var(--white);border-bottom:1px solid rgba(255,255,255,.12)}.header-inner{min-height:94px;display:flex;align-items:center;justify-content:space-between;gap:30px}.brand{display:flex;align-items:center;gap:14px;min-width:200px}.brand img{width:58px;height:58px;object-fit:contain;border-radius:50%;background:#fff}.brand-name{font-family:var(--serif);font-size:21px;line-height:1.1;letter-spacing:.04em}.brand-name small{display:block;font:10px var(--sans);letter-spacing:.28em;margin-top:6px;color:#d7b08d}.main-nav ul{display:flex;align-items:center;gap:27px;list-style:none;margin:0;padding:0}.main-nav a{font-size:12px;letter-spacing:.12em;text-transform:uppercase}.nav-toggle{display:none;background:none;border:1px solid #777;color:white;padding:9px 12px}.hero{position:relative;min-height:610px;background:linear-gradient(90deg,rgba(15,15,13,.88),rgba(15,15,13,.28)),linear-gradient(0deg,rgba(15,15,13,.3),rgba(15,15,13,.1)),radial-gradient(ellipse at 72% 35%,rgba(189,116,70,.13),transparent 42%),#171715;display:flex;align-items:center;color:#fff}.hero-content{padding:90px 0;max-width:760px}.eyebrow{font-size:11px;letter-spacing:.24em;text-transform:uppercase;color:var(--copper);font-weight:bold}.hero h1{font:clamp(44px,6vw,82px)/1.02 var(--serif);font-weight:normal;max-width:800px;margin:20px 0}.hero p{font-size:18px;max-width:590px;color:#eee9e1}.button{display:inline-flex;align-items:center;justify-content:center;gap:10px;background:var(--copper);color:#fff;padding:14px 22px;font-size:11px;letter-spacing:.14em;text-transform:uppercase;border:1px solid var(--copper);transition:.2s}.button:hover{background:transparent;color:var(--white)}.button.outline{background:transparent;border-color:rgba(255,255,255,.55);margin-left:10px}.button.outline:hover{background:#fff;color:var(--ink)}.section{padding:88px 0}.section.dark{background:var(--ink);color:var(--white)}.section-heading{display:flex;justify-content:space-between;align-items:end;gap:30px;margin-bottom:38px}.section-heading h2,.content-title{font:normal clamp(34px,4vw,54px)/1.1 var(--serif);margin:10px 0}.section-heading p{max-width:460px;color:var(--muted);margin:0}.dark .section-heading p{color:#c1bcb3}.intro-grid{display:grid;grid-template-columns:1fr 1fr;gap:70px;align-items:center}.intro-mark{border:1px solid var(--line);padding:44px;min-height:290px;display:flex;flex-direction:column;justify-content:center}.intro-mark strong{font:normal 38px var(--serif)}.intro-mark span{color:var(--copper);letter-spacing:.18em;text-transform:uppercase;font-size:10px;margin-top:12px}.category-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:16px}.category-card{grid-column:span 2;min-height:300px;position:relative;overflow:hidden;background:#333;color:white;display:flex;align-items:end}.category-card:nth-child(4),.category-card:nth-child(5){grid-column:span 3}.category-card .category-bg{position:absolute;inset:0;background:linear-gradient(0deg,rgba(0,0,0,.82),rgba(0,0,0,.02));transition:transform .5s}.category-card:hover .category-bg{transform:scale(1.04)}.category-card .category-copy{position:relative;padding:27px;z-index:1}.category-card h3{font:normal 28px/1.1 var(--serif);margin:8px 0}.category-card p{margin:0;color:#e4dfd7;font-size:13px}.category-card .number{font-size:10px;letter-spacing:.2em;color:#e2a77b}.project-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.project-card{background:var(--white);border:1px solid var(--line)}.project-card img{width:100%;height:245px;object-fit:cover;background:#ddd}.project-card-copy{padding:22px}.project-card .tag{font-size:10px;letter-spacing:.15em;text-transform:uppercase;color:var(--copper)}.project-card h3{font:normal 27px var(--serif);margin:8px 0}.project-card p{font-size:14px;color:var(--muted);margin:0 0 18px}.text-link{font-size:11px;letter-spacing:.12em;text-transform:uppercase;border-bottom:1px solid var(--copper);padding-bottom:5px}.split-feature{display:grid;grid-template-columns:1.05fr .95fr;min-height:430px;background:#e8e1d6}.split-feature img{width:100%;height:100%;min-height:430px;object-fit:cover}.split-copy{padding:58px;align-self:center}.split-copy h2{font:normal clamp(34px,4vw,52px)/1.08 var(--serif);margin:14px 0}.split-copy p{color:#625e57}.steps{display:grid;grid-template-columns:repeat(4,1fr);gap:25px}.step{border-top:1px solid #5b5952;padding-top:20px}.step b{color:var(--copper);font-size:11px;letter-spacing:.15em}.step h3{font:normal 25px var(--serif);margin:12px 0}.partner{display:grid;grid-template-columns:1fr 1fr;gap:50px;align-items:center}.partner-placeholder{min-height:180px;border:1px dashed #777;display:flex;align-items:center;justify-content:center;text-align:center;padding:25px;color:#c8c1b6;letter-spacing:.08em;font-size:12px}.contact-band{background:var(--copper);color:#fff;padding:55px 0}.contact-band-inner{display:flex;align-items:center;justify-content:space-between;gap:30px}.contact-band h2{font:normal clamp(32px,4vw,48px) var(--serif);margin:0}.site-footer{background:#11110f;color:#e8e2d8;padding:55px 0 25px}.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:40px}.site-footer h3{font:normal 22px var(--serif)}.site-footer p,.site-footer li{font-size:13px;color:#b8b1a7}.site-footer ul{list-style:none;padding:0;margin:0}.site-footer li{margin:8px 0}.footer-bottom{border-top:1px solid #383731;margin-top:38px;padding-top:18px;font-size:11px;color:#999187;display:flex;justify-content:space-between;gap:20px}.page-hero{background:var(--ink);color:#fff;padding:78px 0}.page-hero h1{font:normal clamp(42px,5vw,66px)/1.05 var(--serif);margin:12px 0}.page-hero p{max-width:720px;color:#d2ccc2}.content-area{padding:65px 0;min-height:300px}.content-area h2{font:normal 34px var(--serif)}.project-filter{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:30px}.project-filter a{padding:9px 14px;border:1px solid var(--line);font-size:11px;text-transform:uppercase;letter-spacing:.08em}.project-filter a.active,.project-filter a:hover{background:var(--ink);color:#fff}.contact-layout{display:grid;grid-template-columns:.8fr 1.2fr;gap:55px}.contact-details p{margin:0 0 16px}.contact-form label{display:block;font-size:12px;margin-bottom:5px}.contact-form input,.contact-form textarea{width:100%;padding:13px;border:1px solid #ccc5b9;background:#fffdf8;margin-bottom:15px;font:inherit}.contact-form textarea{min-height:140px}.notice{padding:14px;background:#e7dfd3;margin-bottom:20px}.small-note{font-size:12px;color:var(--muted)}@media(max-width:850px){.header-inner{min-height:78px}.nav-toggle{display:block}.main-nav{display:none;position:absolute;top:78px;left:0;right:0;background:var(--ink);padding:20px 24px}.main-nav.is-open{display:block}.main-nav ul{display:flex;flex-direction:column;align-items:flex-start;gap:18px}.intro-grid,.split-feature,.partner,.contact-layout{grid-template-columns:1fr}.category-card{grid-column:span 3;min-height:260px}.category-card:nth-child(4),.category-card:nth-child(5){grid-column:span 3}.project-grid{grid-template-columns:repeat(2,1fr)}.steps{grid-template-columns:repeat(2,1fr)}.split-copy{padding:35px}.footer-grid{grid-template-columns:1fr 1fr}.contact-band-inner{align-items:flex-start;flex-direction:column}}@media(max-width:560px){.container{width:calc(100% - 32px)}.hero{min-height:570px}.hero-content{padding:65px 0}.hero p{font-size:16px}.button.outline{margin:12px 0 0}.section{padding:60px 0}.section-heading{display:block}.section-heading p{margin-top:15px}.category-grid,.project-grid,.steps,.footer-grid{grid-template-columns:1fr}.category-card,.category-card:nth-child(4),.category-card:nth-child(5){grid-column:span 1;min-height:250px}.project-card img{height:220px}.footer-bottom{display:block}.footer-bottom span{display:block;margin-top:8px}.brand img{width:48px;height:48px}.brand-name{font-size:18px}}

/* Statusversion 2: tydeligere demomærke, mobiltilpasning og roligere reference */
.reference-secondary .split-feature{grid-template-columns:minmax(180px,.38fr) 1fr;min-height:0;background:#ebe5dc}
.reference-secondary .split-feature img{height:220px;min-height:220px;max-height:220px;object-fit:cover}
.reference-secondary .split-copy{padding:32px 38px}
.reference-secondary .split-copy h2{font-size:clamp(28px,3vw,38px)}
.reference-secondary .split-copy p{font-size:14px}
.hero h1{max-width:100%;font-size:clamp(42px,5.3vw,72px);overflow-wrap:break-word}
.hero-content{width:100%}
.partner-placeholder{background:rgba(23,23,21,.035)}
@media(max-width:850px){
  .header-inner{gap:14px}
  .brand{min-width:0;gap:10px}
  .brand-name{font-size:17px}
  .brand-name small{font-size:8px;letter-spacing:.18em}
  .hero{min-height:520px}
  .hero-content{padding:56px 0}
  .hero h1{font-size:clamp(38px,8vw,58px);line-height:1.04;letter-spacing:-.025em}
  .reference-secondary .split-feature{grid-template-columns:190px 1fr}
  .reference-secondary .split-feature img{height:190px;min-height:190px;max-height:190px}
  .reference-secondary .split-copy{padding:24px}
}
@media(max-width:560px){
  .container{width:calc(100% - 32px)}
  .site-header{z-index:10000}
  .header-inner{min-height:74px}
  .brand img{width:43px;height:43px;flex:0 0 auto}
  .brand-name{font-size:16px;letter-spacing:.015em}
  .brand-name small{font-size:7px;letter-spacing:.14em}
  .nav-toggle{flex:0 0 auto;padding:8px 10px;font-size:12px}
  .hero{min-height:500px;background-position:center}
  .hero-content{padding:48px 0}
  .hero .eyebrow{font-size:10px;letter-spacing:.13em}
  .hero h1{font-size:clamp(35px,9.3vw,46px);line-height:1.06;margin:18px 0}
  .hero p{font-size:15px;line-height:1.65;max-width:100%}
  .button{display:inline-flex;align-items:center;justify-content:center;margin:8px 8px 0 0;padding:13px 15px;font-size:10px;max-width:100%;white-space:normal}
  .button.outline{margin:8px 0 0}
  .reference-secondary .split-feature{display:grid;grid-template-columns:1fr;gap:0}
  .reference-secondary .split-feature img{height:150px;min-height:150px;max-height:150px}
  .reference-secondary .split-copy{padding:22px}
  .reference-secondary .split-copy h2{font-size:30px}
  .section-heading h2,.content-title{overflow-wrap:anywhere}
  .project-card h3{font-size:24px;overflow-wrap:anywhere}
  .footer-grid{gap:26px}
}

/* Statusversion 3: opdaterede logoer */
.brand{gap:16px;min-width:250px}
.brand img{width:82px;height:82px;object-fit:contain;border-radius:0;background:transparent;flex:0 0 auto}
.brand-name{font-size:22px}
.partner-logo-panel{min-height:210px;background:#084d7f;border:1px solid rgba(255,255,255,.08);display:flex;align-items:center;justify-content:center;padding:18px;overflow:hidden}
.partner-logo-panel img{width:100%;max-width:760px;height:auto;max-height:220px;object-fit:contain}
@media(max-width:850px){
  .brand{min-width:0;gap:10px}
  .brand img{width:68px;height:68px}
  .brand-name{font-size:18px}
}
@media(max-width:560px){
  .brand img{width:56px;height:56px}
  .brand-name{font-size:15px}
  .brand-name small{font-size:7px;letter-spacing:.11em}
  .partner-logo-panel{min-height:0;padding:12px}
  .partner-logo-panel img{max-height:none}
}

/* Logo visibility fix: ivory artwork on dark header, slightly larger */
.brand img{width:104px;height:104px;object-fit:contain;background:transparent;border-radius:0;filter:none}
.brand{gap:18px}
@media(max-width:850px){
  .brand img{width:78px;height:78px}
}
@media(max-width:560px){
  .brand img{width:64px;height:64px}
  .brand{gap:9px}
}

/* Final logo fix: extracted from high-contrast source, ivory artwork with transparent background */
.brand img{width:116px;height:116px;filter:none;object-fit:contain;background:transparent;border-radius:0}
@media(max-width:850px){.brand img{width:82px;height:82px}}
@media(max-width:560px){.brand img{width:68px;height:68px}}

/* Definitive logo fix: force theme asset rather than stale WordPress Custom Logo */
.site-header .brand img{
  width:124px;height:124px;min-width:124px;
  object-fit:contain;opacity:1;visibility:visible;
  filter:none;background:transparent;border:0;border-radius:0;
}
@media(max-width:850px){
  .site-header .brand img{width:86px;height:86px;min-width:86px}
}
@media(max-width:560px){
  .site-header .brand img{width:70px;height:70px;min-width:70px}
}

/* Version 1.3.0: contact form styling */
.contact-form{max-width:760px;margin:34px 0 20px;padding:clamp(22px,4vw,42px);background:var(--white);border:1px solid var(--line)}
.contact-form p{margin:0 0 18px}
.contact-form label{display:block;margin-bottom:7px;font-size:12px;letter-spacing:.06em;font-weight:700}
.contact-form input,.contact-form textarea{display:block;width:100%;max-width:100%;padding:13px 14px;border:1px solid #c9c1b5;background:#fffdf9;color:var(--ink);font:inherit;border-radius:0}
.contact-form textarea{min-height:150px;resize:vertical}
.contact-form input:focus,.contact-form textarea:focus{outline:2px solid var(--copper);outline-offset:1px}
.contact-form .small-note{font-size:12px;color:var(--muted);margin:16px 0 0}
.notice{max-width:760px;margin:24px 0;padding:16px 20px;background:#eee6da;border-left:4px solid var(--copper)}
@media(max-width:560px){.contact-form{padding:20px 16px}.contact-form input,.contact-form textarea{font-size:16px}}

/* Opdatering 7: projekter, Om os og samarbejde */
.temporary-page-copy{max-width:900px;font-size:17px;line-height:1.8}.temporary-page-copy h2{margin-top:0}.projects-coming{max-width:1100px;margin:0 auto;text-align:center}.projects-coming img{display:block;width:100%;max-height:560px;object-fit:cover;margin:0 auto 24px}.projects-coming p{font:normal clamp(20px,2.5vw,28px)/1.45 var(--serif);max-width:780px;margin:0 auto 24px}.projects-coming .button{margin:0 auto}@media(max-width:560px){.projects-coming img{max-height:320px}.projects-coming p{font-size:21px}.temporary-page-copy{font-size:16px}}


/* Opdatering 9: sikre tydelig visning af midlertidige informationssider */
.temporary-page-copy { display:block !important; visibility:visible !important; opacity:1 !important; max-width:900px; margin:0 auto; padding:24px 0 44px; color:inherit; }
.temporary-page-copy h2 { margin:0 0 22px; }
.temporary-page-copy p { display:block; margin:0 0 18px; line-height:1.8; }
.projects-coming { display:block; max-width:1100px; margin:0 auto; padding:20px 0 48px; text-align:center; }
.projects-coming img { display:block; width:100%; height:auto; max-height:620px; object-fit:cover; margin:0 auto 20px; }
.projects-coming p { max-width:760px; margin:0 auto 22px; line-height:1.7; }

/* Project gallery: Lejlighed i gågaden i Hørsholm */
.project-feature-intro{max-width:850px;margin:0 auto 36px}.project-feature-intro h2{font:normal clamp(32px,4vw,48px)/1.12 var(--serif);margin:10px 0 14px}.project-feature-intro p{max-width:760px}.project-feature-intro .project-lead{font:italic 23px var(--serif);color:var(--copper);margin-bottom:22px}.project-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.project-gallery figure{margin:0;background:var(--white);border:1px solid var(--line);padding:0;overflow:hidden}.project-gallery img{width:100%;height:360px;object-fit:cover;background:#ddd}.project-gallery figcaption{padding:12px 15px;color:var(--muted);font-size:12px;letter-spacing:.03em}.project-gallery .gallery-wide{grid-column:1/-1}.project-gallery .gallery-wide img{height:auto;max-height:720px;object-fit:contain;background:#171715}.project-gallery .gallery-wide figcaption{background:var(--ink);color:var(--white)}@media(max-width:700px){.project-gallery{grid-template-columns:1fr;gap:14px}.project-gallery img{height:auto;max-height:520px;object-fit:contain;background:#171715}.project-gallery .gallery-wide{grid-column:auto}.project-feature-intro{margin-bottom:24px}}

/* First-visit construction notice */
.hl-notice-overlay[hidden]{display:none!important}.hl-notice-overlay{position:fixed;inset:0;z-index:10000;background:rgba(0,0,0,.72);display:flex;align-items:center;justify-content:center;padding:22px}.hl-notice-dialog{position:relative;width:min(100%,520px);padding:48px 42px 40px;background:#211f1c;color:#f4eee5;border:1px solid rgba(189,116,70,.65);box-shadow:0 25px 80px rgba(0,0,0,.45);text-align:center}.hl-notice-dialog:before{content:"";display:block;width:58px;height:2px;background:var(--copper);margin:0 auto 22px}.hl-notice-dialog h2{font:normal clamp(30px,4vw,40px)/1.15 var(--serif);margin:14px 0}.hl-notice-dialog p{color:#d8d0c5;margin:0 0 25px}.hl-notice-close{position:absolute;right:14px;top:10px;border:0;background:transparent;color:#d8d0c5;font-size:30px;line-height:1;cursor:pointer}.hl-notice-close:hover{color:#fff}.hl-notice-continue{cursor:pointer}.hl-notice-open{overflow:hidden}@media(max-width:560px){.hl-notice-dialog{padding:42px 24px 28px}}


/* Opdatering 13: skjul misvisende billedtekster i lejlighedsprojektets billedgalleri */
.project-gallery figcaption{display:none!important}
