@font-face{
    font-family: 'Archivo';
    src: url('../fonts/Archivo-ExtraLight.woff2') format('woff2');
    font-weight: 200; font-style: normal; font-display: swap;
}
@font-face{
    font-family: 'Archivo';
    src: url('../fonts/Archivo-Regular.woff2') format('woff2');
    font-weight: 400; font-style: normal; font-display: swap;
}
@font-face{
    font-family: 'Archivo';
    src: url('../fonts/Archivo-Medium.woff2') format('woff2');
    font-weight: 500; font-style: normal; font-display: swap;
}
@font-face{
    font-family: 'Archivo';
    src: url('../fonts/Archivo-SemiBold.woff2') format('woff2');
    font-weight: 600; font-style: normal; font-display: swap;
}
@font-face{
    font-family: 'Archivo';
    src: url('../fonts/Archivo-Bold.woff2') format('woff2');
    font-weight: 700; font-style: normal; font-display: swap;
}

/* ===== Custom Cursor (dunkel, für hellen Hintergrund) ===== */
#cursor-dot{
    position: fixed;
    top: -6px; left: -6px;
    width: 12px; height: 12px;
    background: #fff;
    border-radius: 50%;
    pointer-events: none;
    z-index: 99999;
    will-change: transform;
    transition: opacity 0.3s;
    opacity: 0;
}
#cursor-dot.visible{ opacity: 1; }

/* ===== Splash Screen (identisch zur Architektur-Seite) ===== */
#splash{
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: #000;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
}
#splash-logo{
    position: fixed;
    z-index: 100001;
    display: inline-block;
    font-family: 'Archivo', Helvetica, Arial, sans-serif;
    font-weight: 600;
    font-size: 29px;
    line-height: 1.1;
    color: #fff;
}
#splash-logo .splash-subtitle{
    display: block;
    line-height: 0.8;
    margin-top: -4px;
    font-weight: 400;
    font-size: 29px;
}
/* Mobil: Splash-Logo exakt so groß wie das finale Header-Logo (22px) */
@media (max-width: 768px){
    #splash-logo{ font-size: 22px; }
    #splash-logo .splash-subtitle{ font-size: 22px; }
}

html, body{
    margin:0; padding:0;
    font-family: 'Archivo', Helvetica, Arial, Sans-serif;
    color:#000;
    font-size:15px;
    font-weight:400;
    width:100%;
    min-height:100%;
    background:#fff;
    position: relative;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    -webkit-touch-callout: none;
    text-rendering: optimizeLegibility !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
}

*{
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    outline: none;
}

.onehalf{ display:inline-block; vertical-align: top; position: relative; width:50%; }

#wrapper{ display:block; width:100%; margin:0 auto; opacity: 1; }

.wrapper{ position: relative; display: block; width:100%; margin:0 auto; padding:0 20px; }

/* ===== Header (identisch zur Architektur-Seite) ===== */
header{
    position: fixed;
    top:0px; left:0px;
    width:100%; height:60px;
    padding:18px 0 30px 0;
    z-index: 100;
    pointer-events: none;
    background: none;
    -webkit-transition:top 200ms ease-in-out;
    transition:top 200ms ease-in-out;
}

header nav{
    display: inline-block;
    position: absolute;
    top: 0px; right: 20px;
    text-align: right;
    pointer-events: all;
    opacity: 1;
    transition: opacity 400ms ease-in-out;
}

header nav a, header nav a:visited{
    display: inline-block;
    vertical-align: top;
    margin-left:40px;
    color: #000;
    transition: color 0.3s ease;
}

header nav a:first-child{ margin-left:0px !important; }

header nav a:hover{
    color: #000;
    text-decoration: underline;
    text-decoration-thickness: 2.5px;
    text-underline-offset: 3px;
}

header .logo{ position: absolute; left: 20px; top: 0px; pointer-events: all; }

header .logo a.hover, header .logo a.hover:hover, header .logo a.hover:visited{
    color: #000; cursor: pointer; transition: color 0.3s ease;
}

header .logo .title{
    font-family: 'Archivo', Helvetica, Arial, sans-serif;
    font-weight: 600; font-size: 29px; line-height: 1.1;
}

header .logo .title .subtitle{
    display: block; font-weight: 400; font-size: 29px; line-height: 0.8; margin-top: -4px;
}

header .logo .hover{ position: relative; display: inline-block; vertical-align: top; max-width: 100%; }

header .close{
    position: absolute; top: 0px; right: 20px;
    width: 30px; height: 30px;
    cursor: pointer; opacity: 0; pointer-events: none;
    transition: opacity 400ms ease-in-out;
}

/* ===== Nav-Dropdown „Leistungen" (gleiche Font/Größe wie die Menüpunkte) ===== */
header nav .nav-group{
    position: relative;
    display: inline-block;
    vertical-align: top;
    margin-left: 40px;
}
header nav .nav-group .nav-trigger{ margin-left: 0; cursor: pointer; }
header nav .nav-dropdown{
    position: absolute;
    top: 100%; right: 0;
    display: flex; flex-direction: column; align-items: flex-end;
    white-space: nowrap;
    opacity: 0; visibility: hidden; pointer-events: none;
    transform: translateY(6px);
    transition: opacity 200ms ease-in-out, transform 200ms ease-in-out;
    padding-top: 16px; /* überbrückt die Lücke zum Trigger → durchgehendes Hover */
}
header nav .nav-group.is-open .nav-dropdown{
    opacity: 1; visibility: visible; pointer-events: auto;
    transform: translateY(0);
}
header nav .nav-dropdown a{ display: block; margin-left: 0 !important; padding: 7px 0; }
/* Beim Öffnen werden die übrigen Punkte grau (= Footer-Hover-Grau); Leistungen + Dropdown bleiben schwarz */
header nav.dropdown-open a{ color: #8d8d8d; }
header nav.dropdown-open .nav-group .nav-trigger,
header nav.dropdown-open .nav-dropdown a{ color: #000; }

/* ===== Mobile Burger ===== */
#mobile{
    position: absolute; top:17px; right:12px;
    width:42px; height:50px;
    cursor:pointer; z-index: 101; display: none;
    pointer-events: all;
    -webkit-user-select: none; -moz-user-select: none; user-select: none;
}
#mobile .line{
    position: absolute; left:0px; height:2px; width:30px;
    background: #000; box-shadow:0px 0px 2px rgba(0,0,0,0.1);
    display: block; transition: 400ms; transform-origin: right;
}
#mobile .line:nth-child(1) { top: 12px; }
#mobile .line:nth-child(2) { top: 19px; }
#mobile .line:nth-child(3) { top: 26px; }
header.open #mobile .line:nth-child(1){ transform: translateY(-3.5px) rotate(-45deg); }
header.open #mobile .line:nth-child(2){ opacity:0; width:0px; left:17px; }
header.open #mobile .line:nth-child(3){ transform: translateY(3.5px) rotate(45deg); }

/* ===== 3D-Tiefen-Carousel (Framer-Stil) — scroll-getrieben & gepinnt ===== */
body#immo-home{ background: #fff; }

/* Hohe Scrollbahn: gibt dem Rad Drehweg. Höhe setzt JS anhand der Objektzahl. */
section.feed{ position: relative; width: 100%; background: #fff; }

/* Pin: bleibt 100vh stehen, während man durch .feed scrollt; danach folgt der Footer. */
.feed-pin{
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

/* Bühne: Vollbild-Perspektive, füllt den Pin */
.stack{
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    background: #fff;
    perspective: 1700px;
    perspective-origin: 50% 50%;
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
    z-index: 5;
    overflow: hidden;
    -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none;
}

/* Karten: Querformat, eckig (kein Radius). Transform/Opacity/Blur kommen per JS. */
.card{
    position: absolute;
    left: 50%; top: 50%;
    width: 46vw; height: 29vw;
    transform-origin: 50% 50%;
    -webkit-backface-visibility: hidden; backface-visibility: hidden;
    will-change: transform, opacity, filter;
    pointer-events: none; /* aktive Karte bekommt per JS pointer-events:auto */
    cursor: pointer;      /* aktive Karte ist anklickbar => Objektseite */
}

/* Bildträger – Video später: <img> einfach durch <video> ersetzen */
.card-img{ position: absolute; inset: 0; overflow: hidden; background:#e9e9e9; }
.card-img img,
.card-img video{
    width: 100%; height: 100%;
    object-fit: cover; display: block;
    -webkit-backface-visibility: hidden; backface-visibility: hidden;
    -webkit-user-drag: none; user-select: none; pointer-events: none;
}

/* ===== HUD — feste Beschriftung, wechselt mit aktivem Objekt ===== */
.hud{ position: absolute; inset: 0; z-index: 40; pointer-events: none; color: #000; }

.hud > div{
    position: absolute;
    transition: opacity 350ms ease;
}
.hud.swapping > div{ opacity: 0; }
.hud.hud-noanim > div{ transition: none; }

.hud-ort{
    left: 20px; top: 50%;
    transform: translateY(-50%);
    max-width: 40vw;
    font-size: 27px;       /* = Architektur .p1 */
    font-weight: 400;
    line-height: 1.2;
}

/* Objektname ausgeblendet (auf Wunsch). m²-Zeile rechts mittig = gleiche Höhe wie Ort links. */
.hud-name{ display: none; }

.hud-meta{
    right: 20px; top: 50%;
    transform: translateY(-50%);
    text-align: right;
    max-width: 40vw;
    font-size: 17px;       /* Größe/Font unverändert (= Architektur-Footer .p3) */
    font-weight: 400;
    line-height: 1.2;
}

.hud-count{
    display: none;
}
.hud-count .sep{ margin: 0 5px; opacity: 0.5; }
.hud-count .total{ opacity: 0.55; }

/* ===== Blender (Mobile-Menü Hintergrund) ===== */
#blender{
    position: fixed; inset: 0;
    background: rgba(255,255,255,0.4);
    cursor: pointer; display: none; z-index: 99;
}

/* ===== Preloader ===== */
#preloader{
    position: fixed; inset: 0; margin: auto;
    pointer-events: none; opacity: 0;
    transition: 200ms ease-in-out;
}
#preloader.visible{ opacity: 1; }
.loadingspinner{
    pointer-events: none;
    width: 50px; height: 50px;
    border: 2.5px solid transparent;
    border-color: #000; border-top-color: #ccc;
    border-radius: 50%;
    animation: loadingspin 1s linear infinite;
}
@keyframes loadingspin{ 100% { transform: rotate(360deg); } }

/* ===== Typo-Helfer ===== */
.zfs{ font-size:0px; }
.p1{ font-size:27px; line-height: 1.2em; }
.p3{ font-size:17px; line-height: 1.2em; }

a, a:focus, a:visited, img{ outline:none; border:none; }
a{ position: relative; display:inline-block; }
a, a:visited{ text-decoration: none; color:#000; }

.desktop-only{ display: inline; }
.mobile-only{ display: none; }

/* ===== Footer (1:1 wie Architektur-Seite, Inhalt: immobilien) ===== */
.onefourth{ display: inline-block; vertical-align: top; position: relative; width: 25%; }

footer{
    padding: 20px 0 20px 0;
    margin-top: 0;
}
footer .row{ display: block; }
footer .row.first .text{ max-width: 50%; }
footer .row.second{ margin-top: 50px; }
footer a:hover{ color: #8d8d8d; }

/* Dezenter Einblend-Effekt beim Reinscrollen (nur wenn JS aktiv; sonst sichtbar) */
footer.js-reveal .wrapper{
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 700ms cubic-bezier(0.25,0.1,0.25,1), transform 700ms cubic-bezier(0.25,0.1,0.25,1);
}
footer.js-reveal.is-visible .wrapper{
    opacity: 1;
    transform: translateY(0);
}
@media (prefers-reduced-motion: reduce){
    footer.js-reveal .wrapper{ opacity: 1; transform: none; transition: none; }
}

/* ===== FAQ (Startseite, unter dem Karussell) — mittig zentriert, schmal ===== */
/* ===== Objektkarten-Stapel (aufgefächert, oberhalb des Karussells) ===== *
 * Aktive Karte mittig/aufrecht/vorne; Rest gefächert dahinter. Hover = minimal näher
 * (skaliert leicht, bleibt hinten), Klick -> aktiv (mittig). Menü liegt per z-index drüber.
 * GRÖSSE FLUID: Kartenbreite via clamp(vw); JS rechnet Fächer-Radius + Höhe proportional. */
section.showcase-stack{ background: #fff; padding: clamp(115px, 12.5vw, 215px) 0 clamp(34px, 5vw, 80px) 0; overflow: hidden; position: relative; z-index: 1; }
.showcase-stack .ss-wrap{ --ay: clamp(10px, 1.4vw, 22px); position: relative; width: 100%; margin: 0 auto; visibility: hidden; }   /* height von JS gesetzt */
.showcase-stack .ss-wrap.ss-ready{ visibility: visible; }
.showcase-stack .ss-card{
    --cw: clamp(150px, 20.5vw, 340px);                       /* fluide Kartenbreite */
    position: absolute; top: calc(var(--cw) * 0.1); left: 50%;
    width: var(--cw); height: calc(var(--cw) * 1.4); margin-left: calc(var(--cw) / -2);   /* 5:7 */
    border-radius: 0; overflow: hidden; background: #ececec;   /* eckig */
    cursor: pointer; text-decoration: none; color: #fff;
    transform: translateX(var(--tx, 0)) translateY(var(--ty, 0)) rotate(var(--rot, 0deg));
    z-index: var(--z, 1);
    box-shadow: 0 20px 44px rgba(0,0,0,0.16);
    /* organisch + smooth; sanfter Stagger je nach Abstand zur aktiven Karte */
    transition: transform .66s cubic-bezier(.16, 1, .3, 1) var(--tdelay, 0s),
                box-shadow .5s ease;
    will-change: transform;
}
.showcase-stack .ss-card:hover{ transition-delay: 0s; }          /* Hover sofort, ohne Stagger */
.showcase-stack .ss-wrap.ss-init .ss-card{ transition: none; }   /* erste Positionierung ohne Animation */
.showcase-stack .ss-card .ss-img{ position: absolute; inset: 0; }
.showcase-stack .ss-card .ss-img img{ width: 100%; height: 100%; object-fit: cover; display: block; }
.showcase-stack .ss-card .ss-facts{
    position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
    padding: clamp(20px, 2.4vw, 30px) clamp(15px, 1.5vw, 22px) clamp(13px, 1.3vw, 18px);
    background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0));
    opacity: 0; transition: opacity .4s ease;
}
.showcase-stack .ss-card.active .ss-facts{ opacity: 1; }
.showcase-stack .ss-name{ font-size: clamp(16px, 1.5vw, 22px); font-weight: 500; line-height: 1.12; }
.showcase-stack .ss-ort{ font-size: clamp(12px, 1vw, 14px); opacity: .85; margin-top: 4px; }
.showcase-stack .ss-meta{ font-size: clamp(11px, .95vw, 13px); opacity: .85; margin-top: clamp(6px, .8vw, 9px); }
/* Aktive Karte: mittig (tx=0), aufrecht, größer, ganz vorne (etwas tiefer via --ay) */
.showcase-stack .ss-card.active{
    transform: translateX(var(--tx, 0)) translateY(calc(var(--ty, 0) + var(--ay))) rotate(0deg) scale(1.14);
    z-index: 1000;
    box-shadow: 0 44px 88px rgba(0,0,0,0.32);
}
@media (hover: hover) and (pointer: fine){
    /* Hover über inaktive Karte: nur MINIMAL näher (leicht skalieren, an Ort und Stelle),
       KEIN Hochrutschen, KEIN z-Sprung -> bleibt hinter den anderen. */
    .showcase-stack .ss-card:not(.active):hover{
        transform: translateX(var(--tx, 0)) translateY(var(--ty, 0)) rotate(var(--rot, 0deg)) scale(1.045);
        box-shadow: 0 24px 52px rgba(0,0,0,0.20);
    }
    /* Hover über die aktive Karte: kommt etwas näher (skaliert leicht mehr). */
    .showcase-stack .ss-card.active:hover{
        transform: translateX(var(--tx, 0)) translateY(calc(var(--ty, 0) + var(--ay))) rotate(0deg) scale(1.185);
        box-shadow: 0 48px 92px rgba(0,0,0,0.34);
    }
}

section.immo-faq{ position: relative; z-index: 6; background: #fff; padding: 16px 0 60px 0; margin-top: -200px; }
.immo-faq .wrapper{ max-width: 900px; margin: 0 auto; text-align: center; }
.immo-faq .faq-title{                 /* Font & Größe wie das Menü (p1 = 27px) */
    font-family: 'Archivo', Helvetica, Arial, sans-serif;
    font-weight: 400; font-size: 27px; line-height: 1.2;
    margin: 0 0 44px 0;
}
.immo-faq .faq-item{ border-top: 1px solid #e6e6e6; transition: border-color .35s ease; }
.immo-faq .faq-item:last-child{ border-bottom: 1px solid #e6e6e6; }
.immo-faq .faq-q{                      /* kleinere Standardgröße (p3 = 17px), zentriert */
    position: relative; display: block; width: 100%; margin: 0; padding: 22px 38px;
    background: none; border: 0; cursor: pointer; text-align: center; color: #000;
    font-family: 'Archivo', Helvetica, Arial, sans-serif;
    font-size: 17px; font-weight: 400; line-height: 1.3;
}
.immo-faq .faq-icon{ position: absolute; right: 8px; top: 50%; margin-top: -7px; width: 14px; height: 14px; transition: transform .35s ease; }
.immo-faq .faq-icon::before,
.immo-faq .faq-icon::after{ content: ''; position: absolute; background: #000; transition: opacity .3s ease, transform .3s ease; }
.immo-faq .faq-icon::before{ left: 0; top: 6px; width: 14px; height: 1.5px; }
.immo-faq .faq-icon::after{ left: 6px; top: 0; width: 1.5px; height: 14px; }
.immo-faq .faq-item.open .faq-icon::after{ opacity: 0; transform: rotate(90deg); }
/* Hover über einer Frage: Linien ober-/unterhalb werden schwarz; Kreuz dreht sich
   und bleibt gedreht, solange gehovert wird – beim Verlassen dreht es zurück. */
@media (hover: hover) and (pointer: fine){
    .immo-faq .faq-item:hover{ border-top-color: #000; }
    .immo-faq .faq-item:hover + .faq-item{ border-top-color: #000; }
    .immo-faq .faq-item:last-child:hover{ border-bottom-color: #000; }
    .immo-faq .faq-q:hover .faq-icon{ transform: rotate(45deg); }
}
.immo-faq .faq-a{ max-height: 0; overflow: hidden; transition: max-height .45s ease; }
.immo-faq .faq-a-inner{ text-align: left; padding: 2px 6px 30px 6px; font-size: 17px; line-height: 1.6; color: #1a1a1a; }
.immo-faq .faq-a-inner p{ margin: 0 0 14px 0; }
.immo-faq .faq-a-inner p:last-child{ margin-bottom: 0; }
.immo-faq .faq-a-inner b{ font-weight: 600; }
.immo-faq .faq-a-inner .faq-note{ color: #8d8d8d; font-size: 15px; }
.immo-faq .faq-ul{ list-style: none; margin: 4px 0 14px 0; padding: 0; }
.immo-faq .faq-ul li{ position: relative; padding: 4px 0 4px 22px; }
.immo-faq .faq-ul li:before{ content: '–'; position: absolute; left: 0; color: #8d8d8d; }
.immo-faq .faq-more{ margin-top: 40px; font-size: 17px; color: #8d8d8d; }
.immo-faq .faq-more a{ color: #000; }
.immo-faq .faq-more a:hover{ color: #8d8d8d; }
@media (max-width:768px){
    section.immo-faq{ padding: 16px 0 36px 0; margin-top: -90px; }
    .immo-faq .wrapper{ max-width: 100%; }
    .immo-faq .faq-title{ font-size: 20px; margin-bottom: 32px; }
    .immo-faq .faq-q{ font-size: 15px; padding: 18px 30px; }
    .immo-faq .faq-a-inner{ font-size: 15px; padding-bottom: 24px; }
    .immo-faq .faq-a-inner .faq-note{ font-size: 13px; }
    .immo-faq .faq-more{ font-size: 15px; }
}

/* ===== Tablet ===== */
@media (min-width: 768px) and (max-width: 1000px){
    header nav a{ margin-left:40px; }
    .card{ width: 64vw; height: 41vw; }
    .hud-name{ font-size: 38px; }
    .hud-ort{ font-size: 32px; }
}

/* ===== Mobile ===== */
@media (max-width:768px){
    .desktop-only{ display:none !important; }
    .mobile-only{ display: inline-block !important; }
    .wrapper{ padding: 0 12px; }

    header{
        padding: 0px; height: 50px;
        backdrop-filter: blur(0px); -webkit-backdrop-filter: blur(0px);
        pointer-events: all;
        transition: backdrop-filter 400ms ease-in-out;
    }
    header.open{
        height: 100vh; height: 100dvh;
        backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
        background: rgba(255,255,255,0.55);
    }
    header.open .wrapper{ height: 100%; }
    header .logo{ top: 17px; left: 12px; }
    header .logo .title{ font-size: 22px; }
    header .logo .title .subtitle{ font-size: 22px; }

    header:not(.open) nav{ display: none; }
    header.open nav{
        position: absolute; top: 0px; left: 0px; right: auto;
        width: 100%; height: 100%; text-align: center;
    }
    header.open .mobile-table{ display:table; width:100%; height:100%; }
    header.open .mobile-table-cell{ display:table-cell; width:100%; height:100%; vertical-align: middle; text-align:center; }
    header.open nav a.p1{ display: block; margin-left: 0px; padding: 25px 0; font-size: 28px; color: #000 !important; }

    /* Leistungen-Dropdown im Mobile-Overlay: antippen klappt die Unterpunkte auf */
    header.open nav .nav-group{ display: block; margin-left: 0; }
    header.open nav .nav-group .nav-trigger{ display: block; margin-left: 0; padding: 25px 0; font-size: 28px; color: #000 !important; cursor: pointer; }
    header.open nav .nav-dropdown{
        position: static; align-items: center; padding-top: 0;
        transform: none; opacity: 1; visibility: visible; pointer-events: auto; white-space: normal;
        max-height: 0; overflow: hidden;
        transition: max-height 320ms ease;
    }
    header.open nav .nav-group.is-open .nav-dropdown{ max-height: 60vh; }
    header.open nav .nav-dropdown a{ display: block; margin-left: 0 !important; padding: 14px 0; font-size: 28px; color: #000 !important; }
    /* Mobile: bei offenem Dropdown die übrigen Menüpunkte grau (wie Web) */
    header.open nav.dropdown-open a.p1{ color: #8d8d8d !important; }

    #mobile{ display: inline-block; }

    /* Karten kompakter, damit oben/unten Platz für Ort & Fakten bleibt */
    .card{ width: 72vw; height: 46vw; }

    /* Mobile: Ort ÜBER, Fakten UNTER dem Karussell (statt links/rechts), mittig */
    .hud-ort{
        left: 0; right: 0; top: 9%;
        transform: none; text-align: center;
        max-width: 100%; padding: 0 14px;
        font-size: 20px;
    }
    .hud-meta{
        left: 0; right: 0; top: auto; bottom: 8%;
        transform: none; text-align: center;
        max-width: 100%; padding: 0 14px; white-space: normal;
        font-size: 15px;
    }

    .p1{ font-size: 20px; }
    .p3{ font-size: 15px; }

    /* Footer: Spalten untereinander (1:1 wie Architektur) */
    footer{ padding: 20px 0 20px 0; }
    footer .row.first .text{ max-width: 100%; }
    footer .row.second{ margin-top: 30px; }
    footer .row.second .onefourth.first,
    footer .row.second .onefourth.second{ display: block; width: auto; }
    footer .row.second .onefourth.third,
    footer .row.second .onefourth.fourth{ display: block; width: auto; margin-top: 20px; }
    footer .contact a{ white-space: nowrap; }
}
